:root {
  --mm-bg: #f7fbff;
  --mm-bg-soft: #eef6ff;
  --mm-surface: rgba(255, 255, 255, 0.88);
  --mm-surface-strong: #ffffff;
  --mm-line: rgba(30, 64, 175, 0.14);
  --mm-line-strong: rgba(37, 99, 235, 0.24);
  --mm-text: #0f172a;
  --mm-muted: #475569;
  --mm-blue: #2563eb;
  --mm-sky: #0ea5e9;
  --mm-violet: #7c3aed;
  --mm-gold: #d97706;
  --mm-amber: #f59e0b;
  --mm-rose: #e11d48;
  --mm-green: #059669;
  --mm-radius: 8px;
  --mm-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
  --mm-soft-shadow: 0 16px 42px rgba(15, 23, 42, 0.11);
}

html {
  scroll-behavior: smooth;
}

.mm-landing-body,
.dashboard-body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--mm-text);
  background:
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 46%, #ffffff 100%),
    linear-gradient(120deg, rgba(37, 99, 235, 0.08), transparent 46%, rgba(245, 158, 11, 0.08));
  color-scheme: light;
  font-family: Inter, Montserrat, "Open Sans", Arial, sans-serif;
}

.mm-landing-body *,
.mm-landing-body *::before,
.mm-landing-body *::after,
.dashboard-body *,
.dashboard-body *::before,
.dashboard-body *::after {
  box-sizing: border-box;
}

.mm-landing-body a,
.dashboard-body a {
  color: inherit;
  text-decoration: none;
}

.mm-landing-body img,
.dashboard-body img {
  max-width: 100%;
}

.mm-landing-body button,
.mm-landing-body input,
.mm-landing-body select,
.mm-landing-body textarea,
.dashboard-body button,
.dashboard-body input,
.dashboard-body select,
.dashboard-body textarea {
  font-family: inherit;
}

.mm-landing-body button,
.mm-landing-body a,
.dashboard-body button,
.dashboard-body a {
  cursor: pointer;
}

.mm-landing-body .loading,
.dashboard-body .loading,
.mm-legacy-header-hidden,
.dashboard-body .ck-dashboard-legacy-shell {
  display: none !important;
}

.mm-page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Keep the footer directly after the compact news board on the guest page. */
.mm-landing-body .mm-page-shell {
  min-height: 0;
}

.mm-hero,
.mm-section,
.mm-final-cta {
  scroll-margin-top: 108px;
}

.mm-page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(14, 165, 233, 0.08), transparent 30%, rgba(124, 58, 237, 0.08) 66%, transparent),
    linear-gradient(240deg, transparent 0%, rgba(245, 158, 11, 0.08) 52%, transparent 84%);
}

.mm-page-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
}

.mm-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 18px;
  background: rgba(248, 251, 255, 0.78);
  border-bottom: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(20px);
}

.mm-header-inner {
  width: min(1240px, 100%);
  min-height: 64px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.mm-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mm-brand__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--mm-radius);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.14);
}

.mm-brand__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.mm-brand__copy strong {
  color: var(--mm-text);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.1;
}

.mm-brand__copy small {
  color: var(--mm-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.mm-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.mm-nav::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.mm-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border-radius: var(--mm-radius);
  color: var(--mm-muted);
  font-size: 0.9rem;
  font-weight: 850;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.mm-nav a:hover {
  color: var(--mm-blue);
  background: #eaf2ff;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.mm-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-width: 0;
}

.mm-countdown {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: #ffffff;
  color: var(--mm-muted);
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.event-badge {
  color: var(--mm-blue);
  font-weight: 950;
  text-transform: uppercase;
}

.mm-header-login,
.mm-header-register,
.mm-header-zalo,
.mm-header-cta,
.mm-btn,
.ck-action-btn,
.ck-quick-card {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--mm-radius);
  border: 1px solid var(--mm-line);
  padding: 11px 16px;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.mm-header-login,
.mm-header-register,
.mm-header-zalo,
.mm-header-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  background-size: 220% 220%;
  animation: mmHeaderGradient 6.8s ease-in-out infinite, mmHeaderGlow 3.8s ease-in-out infinite;
}

.mm-header-login > *,
.mm-header-register > *,
.mm-header-zalo > *,
.mm-header-cta > * {
  position: relative;
  z-index: 1;
}

.mm-header-login::before,
.mm-header-register::before,
.mm-header-zalo::before,
.mm-header-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 0%, transparent 30%, rgba(255, 255, 255, 0.56) 48%, transparent 68%, transparent 100%);
  opacity: 0.55;
  transform: translateX(-130%);
  animation: mmHeaderSweep 4s ease-in-out infinite;
}

.mm-header-login {
  --mm-header-glow: rgba(20, 184, 166, 0.3);
  border-color: transparent;
  color: #ffffff;
  background-image: linear-gradient(135deg, #0f766e 0%, #14b8a6 52%, #38bdf8 100%);
}

.mm-header-register {
  --mm-header-glow: rgba(244, 63, 94, 0.3);
  border-color: transparent;
  color: #ffffff;
  background-image: linear-gradient(135deg, #be123c 0%, #f43f5e 48%, #fb923c 100%);
  animation-delay: -0.8s, -1.1s;
}

.mm-header-zalo {
  --mm-header-glow: rgba(2, 132, 199, 0.3);
  border-color: transparent;
  color: #ffffff;
  background-image: linear-gradient(135deg, #0369a1 0%, #0ea5e9 48%, #14b8a6 100%);
  box-shadow: 0 16px 38px rgba(2, 132, 199, 0.22);
  animation-delay: -1.6s, -0.4s;
}

.mm-landing-body .mm-header-zalo,
.mm-landing-body .mm-header-cta {
  color: #ffffff;
}

.mm-header-login:hover,
.mm-header-register:hover,
.mm-header-zalo:hover,
.mm-btn--secondary:hover,
.mm-btn--ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px var(--mm-header-glow, rgba(37, 99, 235, 0.14));
}

.mm-header-cta,
.mm-btn--primary,
.ck-action-btn--primary {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, #312e81 0%, #7c3aed 54%, #f59e0b 100%);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.2);
}

.mm-header-cta {
  --mm-header-glow: rgba(37, 99, 235, 0.28);
  background-size: 220% 220%;
  animation-delay: -2.2s, -1.8s;
}

.mm-header-cta:hover,
.mm-btn--primary:hover,
.ck-action-btn--primary:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.28);
}

@keyframes mmHeaderGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes mmHeaderGlow {
  0%,
  100% {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07), 0 0 0 rgba(255, 255, 255, 0);
  }

  50% {
    box-shadow: 0 18px 42px var(--mm-header-glow, rgba(37, 99, 235, 0.18)), 0 0 0 4px rgba(255, 255, 255, 0.58);
  }
}

@keyframes mmHeaderSweep {
  0%,
  42% {
    transform: translateX(-130%);
  }

  72%,
  100% {
    transform: translateX(130%);
  }
}

.mm-btn--secondary,
.mm-btn--ghost,
.ck-action-btn {
  background: #ffffff;
  color: var(--mm-text);
}

.mm-hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #dbeafe;
}

.mm-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mm-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.mm-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.mm-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 700ms ease, transform 5200ms ease;
}

.mm-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.mm-hero__shade {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
}

.mm-hero__content {
  position: relative;
  z-index: 2;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 118px 18px 92px;
  display: grid;
  gap: 22px;
}

.mm-kicker,
.mm-panel-label,
.ck-kicker,
.ck-sidebar-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mm-blue);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.mm-kicker__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mm-green);
  box-shadow: 0 0 0 5px rgba(5, 150, 105, 0.12);
}

.mm-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--mm-text);
  font-size: 4.3rem;
  line-height: 1.02;
  font-weight: 950;
}

.mm-hero__lead {
  max-width: 680px;
  margin: 0;
  color: var(--mm-muted);
  font-size: 1.12rem;
  line-height: 1.75;
  font-weight: 600;
}

.mm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mm-hero__stats {
  width: min(780px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.mm-hero__stats div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: var(--mm-radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--mm-soft-shadow);
  backdrop-filter: blur(16px);
}

.mm-hero__stats strong {
  color: var(--mm-text);
  font-size: 1.05rem;
  font-weight: 950;
}

.mm-hero__stats span {
  color: var(--mm-muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.mm-hero__pager {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.mm-hero__pager button {
  width: 34px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.18);
  transition: width 180ms ease, background 180ms ease;
}

.mm-hero__pager button.is-active {
  width: 52px;
  background: linear-gradient(90deg, var(--mm-blue), var(--mm-violet));
}

.mm-section {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 84px 0 0;
}

.mm-news-section {
  padding-top: 52px;
}

.mm-news-section .mm-section__head {
  display: none;
}

.mm-section__head {
  max-width: 780px;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.mm-section__head h2,
.mm-quick-card h2,
.mm-final-cta h2,
.ck-section-heading h2 {
  margin: 0;
  color: var(--mm-text);
  font-size: 2.3rem;
  line-height: 1.15;
  font-weight: 950;
}

.mm-section__head p,
.mm-quick-card p,
.mm-final-cta p,
.ck-section-heading p,
.ck-welcome-copy p {
  margin: 0;
  color: var(--mm-muted);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 600;
}

.mm-server-board,
.mm-server-widget,
.mm-quick-card,
.mm-final-cta__inner,
.mm-auth-modal__dialog,
.ck-welcome-panel,
.ck-stat-card,
.ck-quick-card,
.ck-server-panel,
.profile-box {
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: var(--mm-surface);
  box-shadow: var(--mm-soft-shadow);
  backdrop-filter: blur(18px);
}

.mm-server-board {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.mm-server-widget {
  padding: 18px;
  background: #ffffff;
}

.mm-server-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.mm-server-tab {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: #f8fbff;
  color: var(--mm-muted);
  font-size: 0.9rem;
  font-weight: 850;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.mm-server-tab:hover,
.mm-server-tab.active {
  color: var(--mm-blue);
  border-color: rgba(37, 99, 235, 0.28);
  background: #eef6ff;
}

.mm-server-grid,
.mm-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mm-server-card,
.mm-feature-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.mm-server-card {
  padding: 18px;
}

.mm-server-card:hover,
.mm-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 24px 58px rgba(37, 99, 235, 0.13);
}

.mm-server-card__top,
.mm-server-card__meta,
.mm-server-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mm-server-status,
.mm-server-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
}

.mm-server-status {
  color: var(--mm-green);
  background: rgba(5, 150, 105, 0.1);
}

.mm-server-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.mm-server-status.is-hot {
  color: var(--mm-rose);
  background: rgba(225, 29, 72, 0.1);
}

.mm-server-tag {
  color: var(--mm-blue);
  background: #eef6ff;
}

.mm-server-card h3 {
  margin: 0;
  color: var(--mm-text);
  font-size: 1.1rem;
  line-height: 1.35;
  font-weight: 950;
}

.mm-server-card p {
  margin: 0;
  color: var(--mm-muted);
  line-height: 1.62;
  font-weight: 600;
}

.mm-server-card__meta {
  justify-content: flex-start;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 750;
}

.mm-server-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mm-server-card__action {
  justify-content: flex-start;
  color: var(--mm-blue);
  font-weight: 900;
}

.mm-pagination-wrap {
  margin-top: 16px;
}

.mm-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.mm-pagination .page-link {
  border-radius: var(--mm-radius) !important;
  border-color: var(--mm-line) !important;
  color: var(--mm-blue) !important;
}

.mm-pagination .active .page-link {
  color: #ffffff !important;
  background: var(--mm-blue) !important;
}

.mm-empty-state {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 240px;
  padding: 28px;
  border: 1px dashed rgba(37, 99, 235, 0.24);
  border-radius: var(--mm-radius);
  background: #f8fbff;
  text-align: center;
}

.mm-empty-state__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mm-radius);
  color: var(--mm-blue);
  background: #eaf2ff;
  font-size: 1.55rem;
}

.mm-empty-state strong {
  color: var(--mm-text);
  font-size: 1.05rem;
  font-weight: 950;
}

.mm-empty-state p {
  max-width: 480px;
  margin: 0;
  color: var(--mm-muted);
  line-height: 1.65;
}

.mm-feature-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.mm-feature-card div {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.mm-feature-card i,
.ck-quick-card i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mm-radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--mm-blue), var(--mm-violet));
  font-size: 1.22rem;
}

.mm-feature-card h3 {
  margin: 0;
  color: var(--mm-text);
  font-size: 1.12rem;
  font-weight: 950;
}

.mm-feature-card p {
  margin: 0;
  color: var(--mm-muted);
  line-height: 1.62;
  font-weight: 600;
}

.mm-quick-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  padding: 28px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(238, 246, 255, 0.92)),
    url("../../images/slide4.png") center / cover;
}

.mm-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mm-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: rgba(255, 255, 255, 0.88);
}

.mm-steps span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mm-radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--mm-blue), var(--mm-violet));
  font-weight: 950;
}

.mm-steps strong {
  color: var(--mm-text);
  font-weight: 950;
}

.mm-steps small {
  color: var(--mm-muted);
  font-weight: 650;
}

.mm-final-cta {
  width: min(1240px, calc(100% - 36px));
  margin: 84px auto;
}

.mm-final-cta__inner {
  display: grid;
  gap: 14px;
  padding: 32px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(239, 246, 255, 0.9)),
    url("../../images/aphatest.jpg") center / cover;
}

.mm-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mm-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 28px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.mm-modal-open {
  overflow: hidden;
}

.mm-auth-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.mm-auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 16%, rgba(20, 184, 166, 0.24), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(245, 158, 11, 0.2), transparent 28%),
    rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(10px) saturate(120%);
}

.mm-auth-modal__dialog {
  position: relative;
  width: min(940px, 100%);
  max-height: min(92vh, 860px);
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(203, 213, 225, 0.86);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94)),
    rgba(255, 255, 255, 0.94);
  box-shadow:
    0 30px 90px rgba(15, 23, 42, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.mm-auth-modal__dialog::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #14b8a6, #2563eb, #c026d3, #f59e0b);
  z-index: 2;
}

.mm-auth-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  min-height: 560px;
}

.mm-auth-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  min-height: 560px;
  padding: 34px;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.78)),
    linear-gradient(135deg, rgba(20, 184, 166, 0.92), rgba(37, 99, 235, 0.86) 50%, rgba(245, 158, 11, 0.82)),
    url("../../images/bg/section1-bg.jpg") center / cover;
}

.mm-auth-aside::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -120px;
  top: -110px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.mm-auth-aside::after {
  content: "";
  position: absolute;
  inset: auto 28px 28px 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
}

.mm-auth-kicker {
  position: relative;
  width: max-content;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mm-auth-aside h2 {
  position: relative;
  margin: 0;
  max-width: 330px;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.02;
  font-weight: 950;
}

.mm-auth-aside p {
  position: relative;
  margin: 0;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
  font-weight: 750;
}

.mm-auth-badges {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mm-auth-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.mm-auth-main {
  max-height: min(92vh, 860px);
  overflow: auto;
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 251, 255, 0.94)),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 34%);
}

.mm-auth-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: #475569;
  font-size: 1.2rem;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.mm-auth-close:hover {
  border-color: rgba(37, 99, 235, 0.36);
  color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.14);
}

.mm-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  padding: 6px;
  margin-right: 54px;
  border: 1px solid rgba(203, 213, 225, 0.86);
  border-radius: 18px;
  background: rgba(241, 245, 249, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.mm-auth-tabs button {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #475569;
  font-weight: 900;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.mm-auth-tabs button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #14b8a6, #2563eb 55%, #7c3aed);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.mm-auth-panel {
  display: none;
  padding-top: 24px;
}

.mm-auth-panel.is-active {
  display: block;
}

.mm-auth-head {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
}

.mm-auth-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.85rem, 2.6vw, 2.35rem);
  line-height: 1.08;
  font-weight: 950;
}

.mm-auth-head p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
  font-weight: 700;
}

.mm-auth-form {
  display: grid;
  gap: 14px;
}

.mm-auth-panel[data-mm-auth-panel="register"] .mm-auth-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mm-auth-panel[data-mm-auth-panel="register"] .mm-login-message,
.mm-auth-panel[data-mm-auth-panel="register"] .mm-auth-submit,
.mm-auth-panel[data-mm-auth-panel="register"] .mm-auth-switch {
  grid-column: 1 / -1;
}

.mm-field {
  display: grid;
  gap: 7px;
}

.mm-field span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0f172a;
  font-size: 0.86rem;
  font-weight: 900;
}

.mm-field input,
.mm-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
  outline: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.mm-field input:focus,
.mm-field select:focus {
  border-color: rgba(37, 99, 235, 0.58);
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, 0.12),
    0 14px 32px rgba(37, 99, 235, 0.1);
}

.mm-pass-type {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.92);
}

.mm-pass-type strong {
  color: #0f172a;
  font-size: 0.9rem;
}

.mm-pass-type label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mm-muted);
  font-weight: 800;
}

.mm-auth-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 2px;
  border-radius: 16px;
  background: linear-gradient(135deg, #14b8a6, #2563eb 46%, #7c3aed 72%, #f59e0b);
  background-size: 170% 170%;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.22), 0 10px 26px rgba(20, 184, 166, 0.14);
  animation: mmAuthGlow 4.8s ease-in-out infinite;
}

.mm-auth-switch {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: #2563eb;
  font-weight: 900;
  cursor: pointer;
}

.mm-login-message {
  min-height: 0;
  color: #475569;
  font-weight: 750;
}

@keyframes mmAuthGlow {
  0%, 100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (max-width: 980px) {
  .mm-auth-modal__dialog {
    width: min(620px, 100%);
  }

  .mm-auth-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mm-auth-aside {
    display: none;
  }

  .mm-auth-main {
    max-height: min(92vh, 860px);
    padding: 28px;
  }
}

.color-green {
  color: var(--mm-green) !important;
}

.color-primary {
  color: var(--mm-rose) !important;
}

.mm-news-modal .modal-content {
  border: 1px solid var(--mm-line);
  border-radius: 14px;
  color: var(--mm-text);
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.mm-news-modal .modal-dialog {
  width: min(980px, calc(100% - 24px));
  max-width: 980px;
  margin: 18px auto;
}

.mm-news-modal .modal-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px 10px 18px;
  border-color: var(--mm-line);
  background: #ffffff;
}

.mm-news-modal__heading {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.mm-news-modal__heading > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--mm-blue);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mm-news-modal .modal-title {
  overflow: hidden;
  margin: 0;
  color: var(--mm-text);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mm-news-modal__close {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  color: var(--mm-muted);
  background: #ffffff;
  font-size: 1.08rem;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.mm-news-modal__close:hover {
  border-color: rgba(37, 99, 235, 0.28);
  color: var(--mm-blue);
  background: #eef6ff;
}

.mm-news-modal__close:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.38);
  outline-offset: 2px;
}

.mm-news-modal .modal-body {
  padding: 0;
  background: #f8fbff;
}

.mm-news-article-frame {
  width: 100%;
  height: min(76vh, 720px);
  background: #f8fbff;
}

.mm-news-article-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f8fbff;
}

@media (max-width: 600px) {
  .mm-news-modal .modal-dialog {
    width: calc(100% - 16px);
    margin: 8px auto;
  }

  .mm-news-modal .modal-header {
    min-height: 56px;
    padding: 8px 10px 8px 13px;
  }

  .mm-news-modal__heading > span {
    display: none;
  }

  .mm-news-modal .modal-title {
    font-size: 0.88rem;
  }

  .mm-news-article-frame {
    height: min(82vh, 720px);
  }
}

.mm-modal-loading,
.mm-modal-error {
  padding: 24px;
  border-radius: var(--mm-radius);
  background: #f8fbff;
  color: var(--mm-muted);
  text-align: center;
}

.mm-site-footer {
  position: relative;
  overflow: hidden;
  padding: 46px 18px 28px;
  border-top: 1px solid rgba(203, 213, 225, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.94)),
    linear-gradient(135deg, rgba(20, 184, 166, 0.08), transparent 36%, rgba(245, 158, 11, 0.1));
}

.mm-site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 82%);
}

.mm-site-footer--dashboard {
  margin-top: 0;
  border-top-color: rgba(37, 99, 235, 0.12);
}

.mm-footer-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.mm-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.mm-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: inherit;
}

.mm-footer-brand:hover {
  color: inherit;
}

.mm-footer-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #eef6ff);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.12);
}

.mm-footer-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 14px;
}

.mm-footer-brand-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.mm-footer-brand-copy em {
  color: #2563eb;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.mm-footer-brand-copy strong {
  overflow: hidden;
  color: #0f172a;
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  font-weight: 950;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mm-footer-brand-copy small,
.mm-footer-cta span,
.mm-footer-bottom,
.mm-footer-bottom p {
  color: #475569;
  font-size: 0.86rem;
  font-weight: 700;
}

.mm-footer-cta {
  display: grid;
  justify-items: end;
  gap: 12px;
  max-width: 430px;
}

.mm-footer-cta > span {
  text-align: right;
  line-height: 1.55;
}

.mm-footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.mm-footer-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.mm-footer-btn--primary {
  color: #ffffff;
  background: linear-gradient(135deg, #14b8a6, #2563eb 55%, #7c3aed);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.18);
}

.mm-footer-btn--ghost {
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.mm-footer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(37, 99, 235, 0.18);
}

.mm-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mm-footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.mm-footer-col strong {
  margin-bottom: 4px;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 950;
}

.mm-footer-col a,
.mm-footer-col span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  border-radius: 12px;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.25;
  transition: color 180ms ease, background 180ms ease, padding 180ms ease;
}

.mm-footer-col i {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #2563eb;
  background: #eaf2ff;
  font-size: 1rem;
}

.mm-footer-col a:hover {
  padding-left: 8px;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.06);
}

.mm-footer-contact span {
  color: #64748b;
}

.mm-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding-top: 2px;
}

.mm-footer-bottom p {
  margin: 0;
}

.mm-footer-bottom > span {
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

/* Dashboard */
.dashboard-body {
  background:
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 48%, #ffffff 100%),
    linear-gradient(120deg, rgba(37, 99, 235, 0.08), transparent 46%, rgba(124, 58, 237, 0.08));
}

.dashboard-body .ck-topbar {
  position: sticky;
  top: 0;
  z-index: 1200;
  min-height: 76px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 28px;
  border: 0;
  border-bottom: 1px solid var(--mm-line);
  background: rgba(248, 251, 255, 0.84);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(20px);
}

.dashboard-body .ck-topbar-left,
.dashboard-body .ck-topbar-right {
  display: flex;
  align-items: center;
  min-width: 0;
}

.dashboard-body .ck-topbar-left {
  gap: 18px;
}

.dashboard-body .ck-topbar-right {
  gap: 14px;
}

.dashboard-body .ck-topbar-menu {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: #ffffff;
  color: var(--mm-blue);
  font-size: 1.35rem;
}

.dashboard-body .ck-logo-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dashboard-body .ck-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: var(--mm-radius);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.14);
}

.dashboard-body .ck-slogan-group {
  display: grid;
  gap: 2px;
}

.dashboard-body .ck-slogan {
  color: var(--mm-text);
  font-size: 1rem;
  font-weight: 950;
}

.dashboard-body .ck-sub-slogan {
  color: var(--mm-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.dashboard-body .ck-topbar-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: #ffffff;
}

.dashboard-body .ck-topbar-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: var(--mm-radius);
  color: var(--mm-muted);
  font-size: 0.88rem;
  font-weight: 900;
}

.dashboard-body .ck-topbar-nav a:hover {
  color: var(--mm-blue);
  background: #eef6ff;
}

.dashboard-body .ck-money-group {
  display: flex;
  align-items: center;
  gap: 9px;
}

.dashboard-body .ck-money-group .money,
.dashboard-body .ck-topbar-user {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: #ffffff;
  color: var(--mm-text);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.dashboard-body .ck-money-group .icon-money {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--mm-gold);
  font-weight: 950;
}

.dashboard-body .ck-money-group .wcoin .icon-money {
  background: var(--mm-blue);
}

.dashboard-body .ck-topbar-user {
  position: relative;
  padding-left: 7px;
}

.dashboard-body .user-avatar {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: var(--mm-radius);
}

.dashboard-body .ck-user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  display: none;
  padding: 8px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: #ffffff;
  box-shadow: var(--mm-shadow);
}

.dashboard-body .ck-topbar-user.active .ck-user-dropdown,
.dashboard-body #userBtn:hover .ck-user-dropdown {
  display: grid;
  gap: 6px;
}

.dashboard-body .ck-user-dropdown a,
.dashboard-body .mu-logout-btn {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 0;
  border-radius: var(--mm-radius);
  background: transparent;
  color: var(--mm-muted);
  font: inherit;
  font-weight: 850;
  text-align: left;
}

.dashboard-body .ck-user-dropdown a:hover,
.dashboard-body .mu-logout-btn:hover {
  color: var(--mm-blue);
  background: #eef6ff;
}

.dashboard-body .dashboard {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
}

.dashboard-body .ck-sidebar {
  position: sticky;
  top: 76px;
  width: 300px;
  height: calc(100vh - 76px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 16px;
  border: 0;
  border-right: 1px solid var(--mm-line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 18px 0 60px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
  overflow-y: auto;
}

.dashboard-body .ck-sidebar::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.dashboard-body .ck-sidebar-brand {
  display: grid;
  gap: 4px;
  padding: 0 6px;
}

.dashboard-body .ck-sidebar-brand strong {
  color: var(--mm-text);
  font-size: 1.1rem;
  font-weight: 950;
}

.dashboard-body .sidebar-social {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dashboard-body .sidebar-social a {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: #ffffff;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.dashboard-body .sidebar-social a:hover {
  transform: translateY(-2px);
  border-color: var(--mm-line-strong);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.1);
}

.dashboard-body .sidebar-social img {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  object-fit: cover;
}

.dashboard-body .profile-box {
  padding: 14px;
  background: #ffffff;
}

.dashboard-body .profile-empty {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-body .profile-avatar {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  padding: 3px;
  border-radius: var(--mm-radius);
  background: linear-gradient(135deg, var(--mm-blue), var(--mm-violet), var(--mm-gold));
}

.dashboard-body .profile-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 7px;
  object-fit: cover;
}

.dashboard-body .profile-meta {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.dashboard-body .profile-meta > span {
  color: var(--mm-muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.dashboard-body .profile-select-container {
  position: relative;
}

.dashboard-body .profile-select-box {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: #f8fbff;
  color: var(--mm-text);
  font-weight: 900;
}

.dashboard-body .profile-select-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  display: none;
  list-style: none;
  margin: 0;
  padding: 7px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: #ffffff;
  box-shadow: var(--mm-shadow);
}

.dashboard-body .profile-select-list.show {
  display: grid;
  gap: 5px;
}

.dashboard-body .profile-select-list li {
  padding: 8px 10px;
  border-radius: var(--mm-radius);
  color: var(--mm-muted);
  font-size: 0.88rem;
  font-weight: 850;
}

.dashboard-body .profile-select-list li:hover,
.dashboard-body .profile-select-list li.active {
  color: var(--mm-blue);
  background: #eef6ff;
}

.dashboard-body .ck-sidebar-nav {
  display: grid;
  gap: 8px;
}

.dashboard-body .ck-sidebar-section-title {
  padding: 16px 6px 3px;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.dashboard-body .ck-sidebar-menu {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dashboard-body .ck-sidebar-menu li a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: var(--mm-radius);
  color: var(--mm-muted);
  font-size: 0.92rem;
  font-weight: 850;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.dashboard-body .ck-sidebar-menu li a:hover,
.dashboard-body .ck-sidebar-menu li.active a {
  color: var(--mm-blue);
  border-color: rgba(37, 99, 235, 0.2);
  background: #eef6ff;
}

.dashboard-body .ck-sidebar-menu li a:hover {
  transform: translateX(3px);
}

.dashboard-body .ck-sidebar-menu .icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: var(--mm-radius);
  color: var(--mm-blue);
  background: #eaf2ff;
  font-size: 1.05rem;
}

.dashboard-body .dashboard-main {
  min-width: 0;
  width: 100%;
  padding: 28px;
}

.dashboard-body .dashboard-content {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 0;
  color: var(--mm-text);
}

.dashboard-body .ck-dashboard-home,
.dashboard-body #hienthi {
  width: 100%;
}

.dashboard-body .ck-dashboard-home {
  display: grid;
  gap: 22px;
}

.dashboard-body .ck-welcome-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  padding: 28px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(238, 246, 255, 0.92)),
    url("../../images/slide4.png") center / cover;
}

.dashboard-body .ck-welcome-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.dashboard-body .ck-welcome-copy h1 {
  margin: 0;
  color: var(--mm-text);
  font-size: 2.2rem;
  line-height: 1.12;
  font-weight: 950;
}

.dashboard-body .ck-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.dashboard-body .ck-character-card {
  display: grid;
  align-content: center;
  gap: 13px;
  padding: 22px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: rgba(255, 255, 255, 0.86);
}

.dashboard-body .ck-character-card > span,
.dashboard-body .ck-stat-card span {
  color: var(--mm-muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-body .ck-character-card > strong {
  color: var(--mm-text);
  font-size: 1.65rem;
  font-weight: 950;
}

.dashboard-body .ck-character-stats,
.dashboard-body .ck-stat-grid {
  display: grid;
  gap: 12px;
}

.dashboard-body .ck-character-stats {
  grid-template-columns: repeat(3, 1fr);
}

.dashboard-body .ck-character-stats div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: var(--mm-radius);
  background: #eef6ff;
}

.dashboard-body .ck-character-stats small {
  color: var(--mm-muted);
  font-weight: 800;
}

.dashboard-body .ck-character-stats b {
  color: var(--mm-blue);
}

.dashboard-body .ck-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-body .ck-stat-card {
  display: grid;
  gap: 9px;
  padding: 18px;
  background: #ffffff;
}

.dashboard-body .ck-stat-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mm-radius);
  color: #ffffff;
  font-size: 1.2rem;
}

.dashboard-body .ck-stat-icon--gold {
  background: var(--mm-gold);
}

.dashboard-body .ck-stat-icon--blue {
  background: var(--mm-blue);
}

.dashboard-body .ck-stat-icon--violet {
  background: var(--mm-violet);
}

.dashboard-body .ck-stat-icon--rose {
  background: var(--mm-rose);
}

.dashboard-body .ck-stat-card strong {
  color: var(--mm-text);
  font-size: 1.3rem;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.dashboard-body .ck-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-body .ck-quick-card {
  min-height: 116px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 18px;
  background: #ffffff;
}

.dashboard-body .ck-quick-card span {
  color: var(--mm-text);
  font-size: 1rem;
  font-weight: 950;
}

.dashboard-body .ck-quick-card small {
  color: var(--mm-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.dashboard-body .ck-server-panel {
  display: grid;
  gap: 18px;
  padding: 20px;
  background: #ffffff;
}

.dashboard-body .ck-section-heading {
  display: grid;
  gap: 7px;
}

.dashboard-body .mm-server-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-body .section,
.dashboard-body .primary-block,
.dashboard-body .priority-block,
.dashboard-body .bank-wrap-block,
.dashboard-body .character-wrap-block {
  border: 1px solid var(--mm-line) !important;
  border-radius: var(--mm-radius) !important;
  background: #ffffff !important;
  color: var(--mm-text) !important;
  box-shadow: var(--mm-soft-shadow) !important;
}

.dashboard-body .section .section-title,
.dashboard-body .section h1,
.dashboard-body .section h2,
.dashboard-body .head-block .title-head,
.dashboard-body .title-head {
  color: var(--mm-text) !important;
  font-weight: 950;
}

.dashboard-body .section .section-head,
.dashboard-body .section .section-content,
.dashboard-body .list-form > li,
.dashboard-body .character-manage .cm-list li {
  border-color: var(--mm-line) !important;
  color: var(--mm-text) !important;
}

.dashboard-body .form-control,
.dashboard-body input[type="text"],
.dashboard-body input[type="password"],
.dashboard-body input[type="number"],
.dashboard-body select,
.dashboard-body textarea {
  min-height: 44px;
  border: 1px solid var(--mm-line) !important;
  border-radius: var(--mm-radius) !important;
  background: #ffffff !important;
  color: var(--mm-text) !important;
  box-shadow: none !important;
}

.dashboard-body .form-control:focus,
.dashboard-body input:focus,
.dashboard-body select:focus,
.dashboard-body textarea:focus {
  border-color: rgba(37, 99, 235, 0.55) !important;
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11) !important;
}

.dashboard-body .btn,
.dashboard-body input[type="submit"],
.dashboard-body button[type="submit"] {
  border-radius: var(--mm-radius) !important;
  font-weight: 900 !important;
}

.dashboard-body table {
  color: var(--mm-text);
}

.dashboard-body th,
.dashboard-body td {
  border-color: var(--mm-line) !important;
}

@media (max-width: 1180px) {
  .mm-header-inner {
    grid-template-columns: auto 1fr;
  }

  .mm-header-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mm-header-actions::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .mm-hero h1 {
    font-size: 3.35rem;
  }

  .mm-server-grid,
  .mm-feature-grid,
  .dashboard-body .ck-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-body .ck-topbar-nav {
    display: none;
  }

  .dashboard-body .dashboard {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .dashboard-body .ck-sidebar {
    width: 280px;
  }

  .dashboard-body .ck-welcome-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .mm-site-header {
    padding: 10px 14px;
  }

  .mm-header-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .mm-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .mm-countdown {
    display: none;
  }

  .mm-hero {
    min-height: 650px;
  }

  .mm-hero h1 {
    font-size: 2.55rem;
  }

  .mm-hero__stats,
  .mm-quick-card,
  .mm-footer-inner {
    grid-template-columns: 1fr;
  }

  .mm-footer-main {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .mm-footer-cta {
    max-width: none;
    justify-items: start;
  }

  .mm-footer-cta > span {
    text-align: left;
  }

  .mm-footer-actions {
    justify-content: flex-start;
  }

  .mm-footer-grid {
    grid-template-columns: 1fr;
  }

  .mm-site-footer p {
    text-align: left;
  }

  .dashboard-body .ck-topbar {
    min-height: 68px;
    padding: 10px 14px;
  }

  .dashboard-body .ck-topbar-menu {
    display: inline-flex;
  }

  .dashboard-body .ck-slogan-group {
    display: none;
  }

  .dashboard-body .dashboard {
    min-height: calc(100vh - 68px);
    display: block;
  }

  .dashboard-body .ck-sidebar {
    position: fixed;
    top: 68px;
    left: 0;
    z-index: 1100;
    height: calc(100vh - 68px);
    transform: translateX(-104%);
    transition: transform 220ms ease;
  }

  .dashboard-body .ck-sidebar.open {
    transform: translateX(0);
  }

  .dashboard-body .dashboard-main {
    padding: 18px;
  }

  .dashboard-body .ck-quick-grid,
  .dashboard-body .mm-server-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .mm-site-header {
    padding: 8px 10px;
  }

  .mm-header-inner {
    min-height: 46px;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .mm-brand {
    flex: 0 0 auto;
    gap: 8px;
  }

  .mm-brand__logo {
    width: 40px;
    height: 40px;
  }

  .mm-brand__copy strong {
    font-size: 0.92rem;
  }

  .mm-brand__copy small {
    display: none;
  }

  .mm-header-actions {
    flex: 1 1 auto;
    grid-column: auto;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
    overflow: visible;
  }

  .mm-header-login,
  .mm-header-register,
  .mm-header-zalo {
    min-height: 38px;
    padding: 8px 7px;
    gap: 5px;
    border-radius: 7px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .mm-header-zalo {
    min-width: 0;
  }

  .mm-header-cta {
    display: none;
  }

  .mm-hero {
    min-height: 620px;
  }

  .mm-hero__content {
    padding: 78px 18px 76px;
  }

  .mm-hero h1 {
    font-size: 2.05rem;
  }

  .mm-hero__lead {
    font-size: 1rem;
  }

  .mm-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mm-server-grid,
  .mm-feature-grid,
  .dashboard-body .ck-stat-grid,
  .dashboard-body .ck-character-stats {
    grid-template-columns: 1fr;
  }

  .mm-section,
  .mm-final-cta {
    width: min(100% - 28px, 1240px);
  }

  .mm-section__head h2,
  .mm-quick-card h2,
  .mm-final-cta h2 {
    font-size: 1.75rem;
  }

  .mm-site-footer {
    padding: 30px 12px 22px;
  }

  .mm-footer-main,
  .mm-footer-col {
    border-radius: 18px;
    padding: 16px;
  }

  .mm-footer-brand {
    align-items: flex-start;
  }

  .mm-footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .mm-footer-logo img {
    width: 42px;
    height: 42px;
  }

  .mm-footer-actions,
  .mm-footer-btn {
    width: 100%;
  }

  .mm-footer-bottom {
    display: grid;
    justify-items: start;
  }

  .mm-auth-modal {
    padding: 10px;
  }

  .mm-auth-modal__dialog {
    width: min(100%, 560px);
    max-height: calc(100vh - 20px);
    padding: 0;
    border-radius: 22px;
  }

  .mm-auth-main {
    padding: 22px 18px 20px;
  }

  .mm-auth-tabs {
    margin-right: 48px;
  }

  .mm-auth-panel[data-mm-auth-panel="register"] .mm-auth-form {
    grid-template-columns: 1fr;
  }

  .dashboard-body .ck-logo {
    width: 40px;
    height: 40px;
  }

  .dashboard-body .ck-money-group .money {
    min-height: 38px;
    padding: 6px 8px;
  }

  .dashboard-body .ck-money-group .number {
    max-width: 54px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dashboard-body .ck-topbar-user {
    min-height: 40px;
    padding: 5px;
  }

  .dashboard-body .ck-topbar-user .username,
  .dashboard-body .ck-topbar-user > .ri-arrow-down-s-line {
    display: none;
  }

  .dashboard-body .dashboard-main {
    padding: 14px;
  }

  .dashboard-body .ck-welcome-panel,
  .dashboard-body .ck-server-panel {
    padding: 18px;
  }

  .dashboard-body .ck-welcome-copy h1 {
    font-size: 1.7rem;
  }

  .dashboard-body .ck-sidebar {
    width: min(86vw, 300px);
  }
}

@media (max-width: 420px) {
  .mm-brand__copy {
    display: none;
  }

  .mm-brand__logo {
    width: 34px;
    height: 34px;
  }

  .mm-header-inner {
    gap: 6px;
  }

  .mm-header-login,
  .mm-header-register,
  .mm-header-zalo {
    min-height: 36px;
    padding: 8px 6px;
    font-size: 0.74rem;
  }
}

/* News hub redesign */
.mm-news-board {
  position: relative;
  overflow: visible;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mm-news-board::before {
  display: none;
}

.mm-news-shell {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: var(--mm-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 248, 255, 0.92) 52%, rgba(255, 251, 235, 0.92) 100%),
    linear-gradient(120deg, rgba(37, 99, 235, 0.08), rgba(245, 158, 11, 0.09));
  box-shadow: 0 26px 72px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
}

.mm-news-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.55;
}

.mm-news-head,
.mm-news-layout,
.mm-news-more,
.mm-news-empty {
  position: relative;
  z-index: 1;
}

.mm-news-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.mm-news-head > div:first-child {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.mm-news-kicker {
  color: var(--mm-blue);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.mm-news-head h2 {
  margin: 0;
  color: var(--mm-text);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1.12;
}

.mm-news-head p {
  max-width: 620px;
  margin: 0;
  color: var(--mm-muted);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.65;
}

.mm-news-tabs {
  min-height: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.mm-news-tab,
.mm-news-tab[data-category],
.mm-news-tab[data-category="guide"],
.mm-news-tab[data-category="event"],
.mm-news-tab[data-category="update"] {
  min-width: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  clip-path: none;
  background: rgba(255, 255, 255, 0.86);
  color: var(--mm-muted);
  font-family: Inter, Montserrat, "Open Sans", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: none;
  text-transform: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.mm-news-tab i {
  font-size: 0.95rem;
}

.mm-news-tab.is-blue,
.mm-news-tab.is-red {
  background: rgba(255, 255, 255, 0.86);
}

.mm-news-tab:hover,
.mm-news-tab.active {
  color: #ffffff;
  border-color: rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, var(--mm-blue) 0%, var(--mm-violet) 100%);
  filter: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.22);
}

.mm-news-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  align-items: stretch;
}

.mm-news-feature {
  min-width: 0;
}

.mm-news-feature a {
  position: relative;
  min-height: 386px;
  height: 100%;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: var(--mm-radius);
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 24px 58px rgba(37, 99, 235, 0.22);
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mm-news-feature a::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, rgba(4, 16, 38, 0.04) 0%, rgba(4, 16, 38, 0.02) 52%, rgba(4, 16, 38, 0.12) 100%);
}

.mm-news-feature a:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 68px rgba(37, 99, 235, 0.28);
}

.mm-news-feature__slider,
.mm-news-feature__track,
.mm-news-feature__slide {
  position: absolute;
  inset: 0;
}

.mm-news-feature__slider {
  z-index: 0;
  overflow: hidden;
}

.mm-news-feature__slide {
  opacity: 0;
  transition: opacity 420ms ease;
}

.mm-news-feature__slide.active {
  opacity: 1;
}

.mm-news-feature__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
}

.mm-news-feature__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.26);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.mm-news-feature__dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.1);
  transition: width 220ms ease, background 220ms ease;
}

.mm-news-feature__dots span.active {
  width: 28px;
  background: #ffffff;
}

.mm-news-feed {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.mm-news-card {
  min-width: 0;
}

.mm-news-card a {
  min-width: 0;
  min-height: 86px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: var(--mm-radius);
  background: rgba(255, 255, 255, 0.88);
  color: var(--mm-text);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.mm-news-card a:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.28);
  background: #ffffff;
  box-shadow: 0 22px 46px rgba(37, 99, 235, 0.13);
}

.mm-news-card__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mm-radius);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.11), rgba(245, 158, 11, 0.12));
  color: var(--mm-blue);
  font-size: 1.25rem;
}

.mm-news-card__body {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.mm-news-card__type {
  color: var(--mm-blue);
  font-size: 0.73rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.mm-news-card strong {
  min-width: 0;
  overflow: hidden;
  color: var(--mm-text);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mm-news-card time {
  color: var(--mm-muted);
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
}

.mm-news-more {
  justify-content: flex-end;
  margin-top: 14px;
}

.mm-news-more__btn {
  min-height: 40px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  padding: 10px 16px;
  background: #ffffff;
  color: var(--mm-blue);
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.mm-news-more__btn:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--mm-blue), var(--mm-violet));
  filter: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.2);
}

.mm-news-empty {
  min-height: 260px;
  border: 1px dashed rgba(37, 99, 235, 0.24);
  background: rgba(255, 255, 255, 0.72);
  color: var(--mm-text);
}

.mm-news-empty__icon {
  background: #eaf2ff;
  color: var(--mm-blue);
}

.mm-news-empty strong {
  color: var(--mm-text);
}

.mm-news-empty p {
  color: var(--mm-muted);
}

@media (max-width: 1180px) {
  .mm-news-head {
    grid-template-columns: 1fr;
  }

  .mm-news-tabs {
    justify-content: flex-start;
  }

  .mm-news-layout {
    grid-template-columns: 1fr;
  }

  .mm-news-feature a {
    min-height: 320px;
  }
}

@media (max-width: 620px) {
  .mm-news-shell {
    padding: 14px;
  }

  .mm-news-head h2 {
    font-size: 1.55rem;
  }

  .mm-news-head p {
    font-size: 0.92rem;
  }

  .mm-news-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mm-news-tab,
  .mm-news-tab[data-category] {
    width: 100%;
    min-height: 38px;
    padding: 9px 8px;
    font-size: 0.76rem;
  }

  .mm-news-tab i {
    display: none;
  }

  .mm-news-feature a {
    min-height: 290px;
    padding: 0;
  }

  .mm-news-feature a::after {
    background: linear-gradient(180deg, rgba(4, 16, 38, 0.04) 0%, rgba(4, 16, 38, 0.02) 52%, rgba(4, 16, 38, 0.14) 100%);
  }

  .mm-news-feature__dots {
    bottom: 14px;
  }

  .mm-news-card a {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    min-height: 82px;
  }

  .mm-news-card__icon {
    width: 42px;
    height: 42px;
  }

  .mm-news-card strong {
    white-space: normal;
  }

  .mm-news-card time {
    grid-column: 2;
    justify-self: start;
    margin-top: -4px;
  }

  .mm-news-article-frame {
    height: 72vh;
  }

  .mm-news-more {
    justify-content: stretch;
  }

  .mm-news-more__btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mm-hero__slide,
  .mm-btn,
  .mm-server-card,
  .mm-news-tab,
  .mm-news-feature a,
  .mm-news-feature__slide,
  .mm-news-feature__dots span,
  .mm-news-card a,
  .mm-news-more__btn,
  .mm-feature-card,
  .mm-header-cta,
  .mm-header-login,
  .mm-header-register,
  .mm-header-zalo,
  .mm-nav a,
  .mm-field input,
  .mm-field select,
  .mm-auth-submit,
  .mm-footer-btn,
  .mm-footer-col a,
  .dashboard-body .ck-sidebar,
  .dashboard-body .ck-action-btn,
  .dashboard-body .ck-quick-card,
  .dashboard-body .ck-sidebar-menu li a {
    transition: none;
  }

  .mm-btn:hover,
  .mm-server-card:hover,
  .mm-news-tab:hover,
  .mm-news-tab.active,
  .mm-news-feature a:hover,
  .mm-news-card a:hover,
  .mm-news-more__btn:hover,
  .mm-feature-card:hover,
  .mm-header-cta:hover,
  .mm-header-zalo:hover,
  .mm-header-login:hover,
  .mm-header-register:hover,
  .mm-footer-btn:hover,
  .dashboard-body .ck-action-btn:hover,
  .dashboard-body .ck-quick-card:hover,
  .dashboard-body .ck-sidebar-menu li a:hover {
    transform: none;
  }

  .mm-header-login,
  .mm-header-register,
  .mm-header-zalo,
  .mm-header-cta,
  .mm-auth-submit,
  .mm-header-login::before,
  .mm-header-register::before,
  .mm-header-zalo::before,
  .mm-header-cta::before {
    animation: none;
  }

}

/* Leaderboard */
.dashboard-body .mm-rank-navigation,
.dashboard-body .mm-leaderboard {
  width: min(1120px, calc(100% - 36px));
  margin-right: auto;
  margin-left: auto;
}

.dashboard-body .mm-rank-navigation {
  margin-top: 28px;
  margin-bottom: 16px;
}

.dashboard-body .mm-rank-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 64px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid rgba(30, 64, 175, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  scrollbar-width: none;
  backdrop-filter: blur(14px);
}

.dashboard-body .mm-rank-nav::-webkit-scrollbar {
  display: none;
}

.dashboard-body .mm-rank-nav > a,
.dashboard-body .mm-rank-class-filter > summary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.dashboard-body .mm-rank-nav > a:hover,
.dashboard-body .mm-rank-class-filter > summary:hover {
  border-color: rgba(37, 99, 235, 0.14);
  background: #f4f8ff;
  color: #1d4ed8;
}

.dashboard-body .mm-rank-nav > a.active {
  border-color: rgba(37, 99, 235, 0.18);
  background: linear-gradient(135deg, #1d4ed8, #2563eb 62%, #7c3aed);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.dashboard-body .mm-rank-nav > a i,
.dashboard-body .mm-rank-class-filter > summary i:first-child {
  font-size: 1.1rem;
}

.dashboard-body .mm-rank-class-filter {
  position: relative;
  flex: 0 0 auto;
}

.dashboard-body .mm-rank-class-filter > summary {
  list-style: none;
  cursor: pointer;
}

.dashboard-body .mm-rank-class-filter > summary::-webkit-details-marker {
  display: none;
}

.dashboard-body .mm-rank-class-filter > summary i:last-child {
  transition: transform 180ms ease;
}

.dashboard-body .mm-rank-class-filter[open] > summary {
  border-color: rgba(37, 99, 235, 0.18);
  background: #eef4ff;
  color: #1d4ed8;
}

.dashboard-body .mm-rank-class-filter[open] > summary i:last-child {
  transform: rotate(180deg);
}

.dashboard-body .mm-rank-class-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  width: 248px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(30, 64, 175, 0.14);
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.16);
}

.dashboard-body .mm-rank-class-menu a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 850;
}

.dashboard-body .mm-rank-class-menu a:hover,
.dashboard-body .mm-rank-class-menu a.active {
  background: #eaf2ff;
  color: #1d4ed8;
}

.dashboard-body .mm-rank-nav a:focus-visible,
.dashboard-body .mm-rank-class-filter > summary:focus-visible,
.dashboard-body .mm-rank-class-menu a:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.42);
  outline-offset: 2px;
}

.dashboard-body .mm-leaderboard {
  margin-bottom: 36px;
  overflow: hidden;
  border: 1px solid rgba(30, 64, 175, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.1);
}

.dashboard-body .mm-leaderboard__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 32px 26px;
  border-bottom: 1px solid rgba(30, 64, 175, 0.11);
  background:
    radial-gradient(circle at 88% 12%, rgba(124, 58, 237, 0.16), transparent 26%),
    linear-gradient(120deg, #f8fbff 0%, #edf5ff 56%, #f8f5ff 100%);
}

.dashboard-body .mm-leaderboard__heading {
  max-width: 670px;
}

.dashboard-body .mm-leaderboard__eyebrow,
.dashboard-body .mm-leaderboard__live,
.dashboard-body .mm-leaderboard__context {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-body .mm-leaderboard__eyebrow {
  color: #2563eb;
}

.dashboard-body .mm-leaderboard__eyebrow i {
  font-size: 1rem;
}

.dashboard-body .mm-leaderboard h1 {
  margin: 9px 0 8px;
  color: #0f172a;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.dashboard-body .mm-leaderboard__heading p {
  margin: 0;
  color: #475569;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.65;
}

.dashboard-body .mm-leaderboard__status {
  display: grid;
  justify-items: end;
  gap: 10px;
  flex: 0 0 auto;
}

.dashboard-body .mm-leaderboard__live {
  padding: 8px 10px;
  border: 1px solid rgba(5, 150, 105, 0.16);
  border-radius: 999px;
  color: #047857;
  background: rgba(236, 253, 245, 0.9);
  letter-spacing: 0.02em;
  text-transform: none;
}

.dashboard-body .mm-leaderboard__live i {
  color: #10b981;
}

.dashboard-body .mm-leaderboard__status time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 750;
  white-space: nowrap;
}

.dashboard-body .mm-leaderboard__context {
  margin: 18px 24px 6px;
  padding: 8px 11px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 8px;
  color: #1e40af;
  background: #f5f8ff;
  letter-spacing: 0.02em;
  text-transform: none;
}

.dashboard-body .mm-leaderboard__table {
  padding: 14px 18px 18px;
}

.dashboard-body .mm-leaderboard__row {
  display: grid;
  grid-template-columns: 74px minmax(220px, 1.65fr) minmax(150px, 1fr) minmax(130px, 0.8fr);
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #334155;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.dashboard-body .mm-leaderboard__row:not(.mm-leaderboard__row--head):hover {
  border-color: rgba(37, 99, 235, 0.15);
  background: #f8fbff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.dashboard-body .mm-leaderboard__row--head {
  min-height: 42px;
  padding-top: 0;
  padding-bottom: 0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-body .mm-leaderboard__row.is-top-1,
.dashboard-body .mm-leaderboard__row.is-top-2,
.dashboard-body .mm-leaderboard__row.is-top-3 {
  border-color: rgba(30, 64, 175, 0.12);
}

.dashboard-body .mm-leaderboard__row.is-top-1 {
  background: linear-gradient(90deg, rgba(255, 248, 218, 0.82), rgba(255, 255, 255, 0));
}

.dashboard-body .mm-leaderboard__row.is-top-2 {
  background: linear-gradient(90deg, rgba(231, 240, 255, 0.82), rgba(255, 255, 255, 0));
}

.dashboard-body .mm-leaderboard__row.is-top-3 {
  background: linear-gradient(90deg, rgba(255, 237, 222, 0.82), rgba(255, 255, 255, 0));
}

.dashboard-body .mm-leaderboard__place span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(30, 64, 175, 0.12);
  border-radius: 10px;
  color: #475569;
  background: #f8fafc;
  font-size: 0.9rem;
  font-weight: 900;
}

.dashboard-body .mm-leaderboard__place i {
  font-size: 1.35rem;
}

.dashboard-body .mm-leaderboard__row.is-top-1 .mm-leaderboard__place span {
  border-color: rgba(217, 119, 6, 0.22);
  color: #b45309;
  background: #fff8dc;
}

.dashboard-body .mm-leaderboard__row.is-top-2 .mm-leaderboard__place span {
  border-color: rgba(71, 85, 105, 0.19);
  color: #475569;
  background: #f1f5f9;
}

.dashboard-body .mm-leaderboard__row.is-top-3 .mm-leaderboard__place span {
  border-color: rgba(194, 65, 12, 0.18);
  color: #c2410c;
  background: #fff1e7;
}

.dashboard-body .mm-leaderboard__player {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-body .mm-leaderboard__player strong {
  overflow: hidden;
  color: #172554;
  font-size: 0.98rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-body .mm-leaderboard__player small {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 6px;
  color: #475569;
  background: #eef2ff;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-body .mm-leaderboard__avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(30, 64, 175, 0.14);
  border-radius: 50%;
  background: #ffffff;
  object-fit: cover;
}

.dashboard-body .mm-leaderboard__meta {
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 650;
}

.dashboard-body .mm-leaderboard__score {
  justify-self: end;
  min-width: 88px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #1d4ed8;
  background: #edf4ff;
  font-size: 0.9rem;
  font-weight: 900;
  text-align: right;
}

.dashboard-body .mm-leaderboard__row.is-top-1 .mm-leaderboard__score {
  color: #a16207;
  background: #fff7d6;
}

.dashboard-body .mm-leaderboard__empty {
  min-height: 220px;
  display: grid;
  place-content: center;
  gap: 10px;
  color: #64748b;
  font-weight: 750;
  text-align: center;
}

.dashboard-body .mm-leaderboard__empty i {
  color: #94a3b8;
  font-size: 2.3rem;
}

@media (max-width: 760px) {
  .dashboard-body .mm-rank-navigation,
  .dashboard-body .mm-leaderboard {
    width: min(100% - 24px, 1120px);
  }

  .dashboard-body .mm-rank-navigation {
    margin-top: 16px;
  }

  .dashboard-body .mm-rank-nav {
    min-height: 58px;
    padding: 6px;
    border-radius: 13px;
  }

  .dashboard-body .mm-rank-nav > a,
  .dashboard-body .mm-rank-class-filter > summary {
    min-height: 42px;
    padding: 9px 11px;
    font-size: 0.8rem;
  }

  .dashboard-body .mm-leaderboard {
    border-radius: 16px;
  }

  .dashboard-body .mm-leaderboard__header {
    display: grid;
    gap: 18px;
    padding: 24px 20px 21px;
  }

  .dashboard-body .mm-leaderboard__status {
    width: 100%;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
  }

  .dashboard-body .mm-leaderboard__status time {
    justify-self: end;
  }

  .dashboard-body .mm-leaderboard__context {
    margin: 14px 14px 2px;
    font-size: 0.72rem;
  }

  .dashboard-body .mm-leaderboard__table {
    padding: 10px 10px 12px;
  }

  .dashboard-body .mm-leaderboard__row--head {
    display: none;
  }

  .dashboard-body .mm-leaderboard__row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 4px 10px;
    min-height: 0;
    margin-top: 7px;
    padding: 12px 10px;
  }

  .dashboard-body .mm-leaderboard__place {
    grid-row: span 2;
    align-self: center;
  }

  .dashboard-body .mm-leaderboard__place span {
    width: 34px;
    height: 34px;
  }

  .dashboard-body .mm-leaderboard__player strong {
    font-size: 0.91rem;
  }

  .dashboard-body .mm-leaderboard__meta,
  .dashboard-body .mm-leaderboard__score {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.77rem;
  }

  .dashboard-body .mm-leaderboard__meta::before,
  .dashboard-body .mm-leaderboard__score::before {
    content: attr(data-label) ":";
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 850;
    text-transform: uppercase;
  }

  .dashboard-body .mm-leaderboard__score {
    justify-self: start;
    width: fit-content;
    margin-top: 1px;
    padding: 4px 7px;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .dashboard-body .mm-rank-class-menu {
    right: -1px;
  }

  .dashboard-body .mm-leaderboard__status {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dashboard-body .mm-leaderboard__status time {
    justify-self: start;
  }
}

/* Banking top-up */
.mm-banking {
  --banking-ink: #0f172a;
  --banking-muted: #64748b;
  --banking-line: #dbe5f3;
  --banking-surface: #ffffff;
  --banking-primary: #6d28d9;
  --banking-primary-dark: #4c1d95;
  --banking-accent: #f43f5e;
  --banking-success: #047857;
  width: min(1180px, calc(100% - 36px));
  margin: 28px auto 42px;
  color: var(--banking-ink);
  font-family: Inter, Montserrat, "Open Sans", Arial, sans-serif;
}

.mm-banking *,
.mm-banking *::before,
.mm-banking *::after {
  box-sizing: border-box;
}

.mm-banking__hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  padding: 36px 40px;
  border-radius: 22px 22px 0 0;
  color: #f8fafc;
  background:
    radial-gradient(circle at 90% 10%, rgba(244, 63, 94, 0.62), transparent 28%),
    radial-gradient(circle at 54% 130%, rgba(109, 40, 217, 0.8), transparent 46%),
    #0f172a;
}

.mm-banking__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.17) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(100deg, #000, transparent 83%);
}

.mm-banking__hero > * {
  position: relative;
  z-index: 1;
}

.mm-banking__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c4b5fd;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mm-banking__eyebrow i {
  font-size: 1rem;
}

.mm-banking__hero h1 {
  max-width: 670px;
  margin: 10px 0 9px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.mm-banking__hero p {
  max-width: 650px;
  margin: 0;
  color: #dbeafe;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.65;
}

.mm-banking__trust {
  min-width: 210px;
  display: grid;
  gap: 10px;
}

.mm-banking__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.mm-banking__trust i {
  color: #fda4af;
  font-size: 1rem;
}

.mm-banking__workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--banking-line);
  border-top: 0;
  background: #f8fbff;
}

.mm-banking__side {
  min-width: 0;
}

.mm-banking__card {
  min-width: 0;
  border: 1px solid var(--banking-line);
  border-radius: 16px;
  background: var(--banking-surface);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.mm-banking__card--amount {
  padding: 28px;
}

.mm-banking__card--qr {
  position: sticky;
  top: 18px;
  padding: 24px;
}

.mm-banking__card-head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 22px;
}

.mm-banking__step {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--banking-primary), #8b5cf6);
  font-size: 0.78rem;
  font-weight: 950;
  box-shadow: 0 6px 14px rgba(109, 40, 217, 0.22);
}

.mm-banking__card-head h2,
.mm-banking__guide h2 {
  margin: 0;
  color: var(--banking-ink);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.mm-banking__card-head p {
  margin: 5px 0 0;
  color: var(--banking-muted);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.55;
}

.mm-banking__amount-field {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 850;
}

.mm-banking__amount-input {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 18px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #f8fbff;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.mm-banking__amount-input:focus-within {
  border-color: #8b5cf6;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}

.mm-banking__amount-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--banking-ink);
  background: transparent;
  font: inherit;
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.mm-banking__amount-input input::placeholder {
  color: #94a3b8;
}

.mm-banking__amount-input strong {
  flex: 0 0 auto;
  color: var(--banking-primary);
  font-size: 0.82rem;
  font-weight: 950;
}

.mm-banking__field-note,
.mm-banking__amount-words {
  min-height: 18px;
  margin: 6px 0 0;
  color: var(--banking-muted);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.45;
}

.mm-banking__field-note.is-error {
  color: #e11d48;
}

.mm-banking__amount-words {
  margin-top: 2px;
  color: #475569;
  font-style: italic;
}

.mm-banking__quick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 22px 0 10px;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 850;
}

.mm-banking__last-amount {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  color: var(--banking-primary);
  background: transparent;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 850;
  cursor: pointer;
}

.mm-banking__last-amount:hover {
  color: var(--banking-accent);
}

.mm-banking__amount-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.mm-banking__amount-options button {
  min-height: 40px;
  padding: 7px;
  border: 1px solid #d7e2f2;
  border-radius: 8px;
  color: #475569;
  background: #ffffff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.mm-banking__amount-options button:hover {
  border-color: #a78bfa;
  color: var(--banking-primary);
  background: #faf8ff;
}

.mm-banking__amount-options button.is-selected {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, var(--banking-primary), #8b5cf6);
  box-shadow: 0 6px 13px rgba(109, 40, 217, 0.2);
}

.mm-banking__estimate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 22px;
}

.mm-banking__estimate > div {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.mm-banking__estimate span,
.mm-banking__estimate small {
  color: var(--banking-muted);
  font-size: 0.71rem;
  font-weight: 750;
}

.mm-banking__estimate strong {
  color: #334155;
  font-size: 1.03rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.mm-banking__estimate-total {
  grid-column: span 2;
  grid-template-columns: 1fr auto;
  align-items: end;
  border-color: rgba(109, 40, 217, 0.18) !important;
  background: linear-gradient(105deg, #f5f3ff, #fdf4ff) !important;
}

.mm-banking__estimate-total span {
  grid-column: 1;
}

.mm-banking__estimate-total strong {
  grid-row: span 2;
  grid-column: 2;
  align-self: center;
  color: var(--banking-primary);
  font-size: 1.42rem;
}

.mm-banking__estimate-total small {
  grid-column: 1;
}

.mm-banking__create-qr,
.mm-banking__copy-all {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
  border: 0;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--banking-primary-dark), var(--banking-primary) 55%, #db2777);
  box-shadow: 0 12px 22px rgba(109, 40, 217, 0.23);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.mm-banking__create-qr:hover:not(:disabled) {
  background: linear-gradient(135deg, #4c1d95, #7c3aed 55%, #f43f5e);
  box-shadow: 0 15px 28px rgba(109, 40, 217, 0.3);
}

.mm-banking__create-qr:disabled,
.mm-banking__copy-all:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
}

.mm-banking__create-qr i {
  font-size: 1.16rem;
}

.mm-banking__security-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 13px 0 0;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.55;
}

.mm-banking__security-note i {
  margin-top: 1px;
  color: var(--banking-primary);
  font-size: 1rem;
}

.mm-banking__qr-stage {
  min-height: 254px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 22px;
  border: 1px dashed #cbd5e1;
  border-radius: 13px;
  color: #64748b;
  background: #f8fafc;
  text-align: center;
}

.mm-banking__qr-stage > i {
  color: #a78bfa;
  font-size: 2.5rem;
}

.mm-banking__qr-stage strong {
  color: #334155;
  font-size: 0.93rem;
  font-weight: 900;
}

.mm-banking__qr-stage p {
  max-width: 270px;
  margin: 0;
  color: var(--banking-muted);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.55;
}

.mm-banking__qr-image {
  width: 178px;
  height: 178px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid #ddd6fe;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(109, 40, 217, 0.1);
}

.mm-banking__qr-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mm-banking__qr-status {
  color: var(--banking-success) !important;
  font-size: 0.82rem !important;
}

.mm-banking__qr-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--banking-primary);
  font-size: 0.82rem;
  font-weight: 850;
}

.mm-banking__qr-loading i {
  animation: mmBankingSpin 1s linear infinite;
  font-size: 1.15rem;
}

@keyframes mmBankingSpin {
  to { transform: rotate(360deg); }
}

.mm-banking__transfer-details {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
}

.mm-banking__detail {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  min-height: 57px;
  padding: 10px 42px 10px 13px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}

.mm-banking__detail:last-child {
  border-bottom: 0;
}

.mm-banking__detail span {
  grid-column: 1;
  color: var(--banking-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mm-banking__detail strong {
  grid-column: 1;
  overflow: hidden;
  color: #1e293b;
  font-size: 0.8rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mm-banking__detail--content {
  background: #fffafc;
}

.mm-banking__detail--content strong {
  color: #be123c;
}

.mm-banking__copy {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 27px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8b4fe;
  border-radius: 7px;
  color: var(--banking-primary);
  background: #faf5ff;
  font: inherit;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.mm-banking__copy:hover:not(:disabled) {
  border-color: var(--banking-primary);
  color: #ffffff;
  background: var(--banking-primary);
}

.mm-banking__copy:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.mm-banking__copy-all {
  min-height: 42px;
  margin-top: 12px;
  border: 1px solid #d8b4fe;
  color: var(--banking-primary);
  background: #faf5ff;
  box-shadow: none;
  font-size: 0.8rem;
}

.mm-banking__copy-all:hover:not(:disabled) {
  color: #ffffff;
  background: var(--banking-primary);
}

.mm-banking__copy-feedback {
  min-height: 17px;
  margin: 7px 0 0;
  color: var(--banking-success);
  font-size: 0.74rem;
  font-weight: 750;
  text-align: center;
}

.mm-banking__guide {
  padding: 30px 32px;
  border: 1px solid var(--banking-line);
  border-top: 0;
  background: #ffffff;
}

.mm-banking__guide-head h2 {
  max-width: 580px;
  margin-top: 8px;
  font-size: 1.45rem;
}

.mm-banking__guide ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.mm-banking__guide li {
  display: flex;
  gap: 11px;
}

.mm-banking__guide li > span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: #334155;
  font-size: 0.74rem;
  font-weight: 950;
}

.mm-banking__guide li strong {
  display: block;
  color: #1e293b;
  font-size: 0.86rem;
  font-weight: 900;
}

.mm-banking__guide li p {
  margin: 5px 0 0;
  color: var(--banking-muted);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.55;
}

.mm-banking__faq {
  display: grid;
  gap: 8px;
  padding: 16px 18px 20px;
  border: 1px solid var(--banking-line);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  background: #f8fbff;
}

.mm-banking__faq details {
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #ffffff;
}

.mm-banking__faq summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 14px;
  color: #334155;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  list-style: none;
}

.mm-banking__faq summary::-webkit-details-marker {
  display: none;
}

.mm-banking__faq summary i:first-child {
  color: var(--banking-primary);
  font-size: 1rem;
}

.mm-banking__faq summary i:last-child {
  margin-left: auto;
  color: #94a3b8;
  font-size: 1rem;
  transition: transform 180ms ease;
}

.mm-banking__faq details[open] summary i:last-child {
  transform: rotate(180deg);
}

.mm-banking__faq p {
  margin: -1px 14px 13px 38px;
  color: var(--banking-muted);
  font-size: 0.77rem;
  font-weight: 600;
  line-height: 1.6;
}

.mm-banking button:focus-visible,
.mm-banking input:focus-visible,
.mm-banking summary:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.46);
  outline-offset: 2px;
}

@media (max-width: 920px) {
  .mm-banking__workspace {
    grid-template-columns: 1fr;
  }

  .mm-banking__card--qr {
    position: static;
  }

  .mm-banking__qr-stage {
    min-height: 210px;
  }
}

@media (max-width: 640px) {
  .mm-banking {
    width: min(100% - 20px, 1180px);
    margin-top: 14px;
    margin-bottom: 28px;
  }

  .mm-banking__hero {
    display: grid;
    gap: 20px;
    padding: 26px 20px;
    border-radius: 16px 16px 0 0;
  }

  .mm-banking__hero h1 {
    font-size: 2rem;
  }

  .mm-banking__trust {
    grid-template-columns: 1fr 1fr;
    min-width: 0;
  }

  .mm-banking__trust span {
    min-width: 0;
    padding: 9px;
    font-size: 0.71rem;
    white-space: normal;
  }

  .mm-banking__workspace {
    gap: 12px;
    padding: 12px;
  }

  .mm-banking__card--amount,
  .mm-banking__card--qr {
    padding: 19px;
  }

  .mm-banking__amount-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mm-banking__estimate {
    gap: 7px;
  }

  .mm-banking__estimate > div {
    padding: 10px;
  }

  .mm-banking__guide {
    padding: 24px 19px;
  }

  .mm-banking__guide ol {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 20px;
  }

  .mm-banking__faq {
    padding: 12px;
    border-radius: 0 0 16px 16px;
  }
}

@media (max-width: 390px) {
  .mm-banking__quick-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .mm-banking__amount-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mm-banking__estimate-total strong {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mm-banking *,
  .mm-banking *::before,
  .mm-banking *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Banking top-up: simplified neutral theme */
.mm-banking {
  --banking-ink: #171717;
  --banking-muted: #6b7280;
  --banking-line: #e5e7eb;
  --banking-surface: #ffffff;
  --banking-primary: #171717;
  --banking-primary-dark: #000000;
  --banking-accent: #404040;
  --banking-success: #166534;
}

.mm-banking__hero {
  padding: 30px 34px;
  border: 1px solid var(--banking-line);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  color: var(--banking-ink);
  background: #ffffff;
}

.mm-banking__hero::after {
  display: none;
}

.mm-banking__eyebrow,
.mm-banking__hero h1,
.mm-banking__hero p {
  color: var(--banking-ink);
}

.mm-banking__eyebrow {
  color: #525252;
}

.mm-banking__hero p {
  color: var(--banking-muted);
}

.mm-banking__trust span {
  border-color: var(--banking-line);
  color: #404040;
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
}

.mm-banking__trust i,
.mm-banking__security-note i,
.mm-banking__faq summary i:first-child,
.mm-banking__qr-stage > i,
.mm-banking__qr-loading,
.mm-banking__qr-loading i {
  color: #525252;
}

.mm-banking__workspace,
.mm-banking__guide,
.mm-banking__faq {
  background: #ffffff;
}

.mm-banking__workspace {
  gap: 14px;
  padding: 14px;
}

.mm-banking__card,
.mm-banking__card--qr {
  border-color: var(--banking-line);
  box-shadow: none;
}

.mm-banking__step,
.mm-banking__amount-options button.is-selected,
.mm-banking__create-qr {
  background: #171717;
  box-shadow: none;
}

.mm-banking__amount-input {
  border-color: #d4d4d4;
  background: #ffffff;
}

.mm-banking__amount-input:focus-within {
  border-color: #171717;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.1);
}

.mm-banking__amount-input strong,
.mm-banking__last-amount,
.mm-banking__last-amount:hover,
.mm-banking__copy,
.mm-banking__copy-feedback,
.mm-banking__estimate-total strong,
.mm-banking__detail--content strong {
  color: #171717;
}

.mm-banking__amount-options button {
  border-color: #e5e7eb;
  color: #404040;
  background: #ffffff;
}

.mm-banking__amount-options button:hover {
  border-color: #737373;
  color: #171717;
  background: #fafafa;
}

.mm-banking__estimate > div,
.mm-banking__estimate-total {
  border-color: #e5e7eb !important;
  background: #fafafa !important;
}

.mm-banking__reference-field {
  display: grid;
  gap: 8px;
  margin-top: 19px;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 850;
}

.mm-banking__reference-field input {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid #d4d4d4;
  border-radius: 9px;
  outline: 0;
  color: #171717;
  background: #ffffff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.mm-banking__reference-field input:focus {
  border-color: #171717;
  box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.1);
}

.mm-banking__reference-field input::placeholder {
  color: #a3a3a3;
  font-weight: 500;
}

.mm-banking__create-qr:hover:not(:disabled) {
  background: #404040;
  box-shadow: none;
}

.mm-banking__qr-stage {
  min-height: 350px;
  border-color: #d4d4d4;
  background: #fafafa;
}

.mm-banking__qr-image {
  width: 260px;
  height: 260px;
  padding: 10px;
  border-color: #d4d4d4;
  background: #ffffff;
  box-shadow: none;
}

.mm-banking__qr-status {
  color: #166534 !important;
}

.mm-banking__transfer-details,
.mm-banking__detail,
.mm-banking__faq details {
  border-color: #e5e7eb;
}

.mm-banking__detail,
.mm-banking__detail--content,
.mm-banking__faq {
  background: #ffffff;
}

.mm-banking__copy {
  border-color: #d4d4d4;
  color: #404040;
  background: #ffffff;
}

.mm-banking__copy:hover:not(:disabled),
.mm-banking__copy-all:hover:not(:disabled) {
  border-color: #171717;
  color: #ffffff;
  background: #171717;
}

.mm-banking__copy-all {
  border-color: #d4d4d4;
  color: #171717;
  background: #ffffff;
}

.mm-banking__guide li > span {
  background: #171717;
}

.mm-banking__faq summary i:last-child {
  color: #737373;
}

.mm-banking button:focus-visible,
.mm-banking input:focus-visible,
.mm-banking summary:focus-visible {
  outline-color: rgba(23, 23, 23, 0.42);
}

@media (max-width: 920px) {
  .mm-banking__qr-stage {
    min-height: 310px;
  }
}

@media (max-width: 640px) {
  .mm-banking__hero {
    padding: 24px 20px;
  }

  .mm-banking__qr-stage {
    min-height: 282px;
  }

  .mm-banking__qr-image {
    width: 220px;
    height: 220px;
  }
}

/* Dashboard-aligned Banking page */
.ck-bank {
  width: 100%;
  display: grid;
  gap: 16px;
  color: var(--mm-text);
  font-family: Inter, Montserrat, "Open Sans", Arial, sans-serif;
}

.ck-bank *,
.ck-bank *::before,
.ck-bank *::after {
  box-sizing: border-box;
}

.ck-bank__header,
.ck-bank__panel {
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: #ffffff;
  box-shadow: var(--mm-soft-shadow);
}

.ck-bank__header {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
}

.ck-bank__header-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mm-radius);
  color: #ffffff;
  background: var(--mm-blue);
  font-size: 1.35rem;
}

.ck-bank__header h1 {
  margin: 0;
  color: var(--mm-text);
  font-size: 1.38rem;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.ck-bank__header p,
.ck-bank__panel-head p {
  margin: 4px 0 0;
  color: var(--mm-muted);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.55;
}

.ck-bank__status {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 7px 10px;
  border: 1px solid rgba(5, 150, 105, 0.18);
  border-radius: var(--mm-radius);
  color: #047857;
  background: #ecfdf5;
  font-size: 0.76rem;
  font-weight: 850;
  white-space: nowrap;
}

.ck-bank__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
  gap: 16px;
  align-items: start;
}

.ck-bank__panel {
  min-width: 0;
  padding: 22px;
}

.ck-bank__panel--payment {
  position: sticky;
  top: 20px;
}

.ck-bank__panel-head {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--mm-line);
}

.ck-bank__panel-head h2 {
  margin: 0;
  color: var(--mm-text);
  font-size: 1rem;
  font-weight: 950;
}

.ck-bank__form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.ck-bank__field {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 850;
}

.ck-bank__field > input,
.ck-bank__amount-box {
  min-height: 46px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: #ffffff;
}

.ck-bank__field > input {
  width: 100%;
  padding: 10px 12px;
  outline: 0;
  color: var(--mm-text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
}

.ck-bank__amount-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 11px 5px 13px;
}

.ck-bank__amount-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--mm-text);
  background: transparent;
  font: inherit;
  font-size: 1.24rem;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.ck-bank__amount-box b {
  flex: 0 0 auto;
  color: var(--mm-blue);
  font-size: 0.72rem;
  font-weight: 950;
}

.ck-bank__field > input:focus,
.ck-bank__amount-box:focus-within {
  border-color: rgba(37, 99, 235, 0.62);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.ck-bank__field small {
  min-height: 16px;
  color: var(--mm-muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.ck-bank__field small.is-error {
  color: var(--mm-rose);
}

.ck-bank__quick {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.ck-bank__quick > span {
  color: #334155;
  font-size: 0.8rem;
  font-weight: 850;
}

.ck-bank__quick > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ck-bank__quick button {
  min-height: 38px;
  padding: 7px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  color: var(--mm-muted);
  background: #ffffff;
  font: inherit;
  font-size: 0.77rem;
  font-weight: 850;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.ck-bank__quick button:hover,
.ck-bank__quick button.is-selected {
  border-color: rgba(37, 99, 235, 0.28);
  color: var(--mm-blue);
  background: #eef6ff;
}

.ck-bank__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.ck-bank__summary > div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: #f8fbff;
}

.ck-bank__summary span,
.ck-bank__summary small {
  color: var(--mm-muted);
  font-size: 0.7rem;
  font-weight: 750;
}

.ck-bank__summary strong {
  overflow: hidden;
  color: var(--mm-text);
  font-size: 0.94rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ck-bank__summary-total {
  border-color: rgba(37, 99, 235, 0.24) !important;
  background: #eef6ff !important;
}

.ck-bank__summary-total strong {
  color: var(--mm-blue);
  font-size: 1.08rem;
}

.ck-bank__submit {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  border: 1px solid transparent;
  border-radius: var(--mm-radius);
  color: #ffffff;
  background: var(--mm-blue);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
  transition: background-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.ck-bank__submit:hover:not(:disabled) {
  background: #1d4ed8;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.24);
}

.ck-bank__submit:disabled,
.ck-bank__copy-all:disabled,
.ck-bank__copy:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.ck-bank__qr-stage {
  min-height: 348px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  margin: 17px 0;
  padding: 18px;
  border: 1px dashed rgba(37, 99, 235, 0.24);
  border-radius: var(--mm-radius);
  background: #f8fbff;
  color: var(--mm-muted);
  text-align: center;
}

.ck-bank__qr-stage > i {
  color: #93c5fd;
  font-size: 2.3rem;
}

.ck-bank__qr-stage strong {
  color: var(--mm-text);
  font-size: 0.9rem;
  font-weight: 900;
}

.ck-bank__qr-stage p {
  max-width: 265px;
  margin: 0;
  color: var(--mm-muted);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.5;
}

.ck-bank__qr-image {
  width: 272px;
  height: 272px;
  padding: 8px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: #ffffff;
}

.ck-bank__qr-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.ck-bank__loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mm-blue);
  font-size: 0.82rem;
  font-weight: 850;
}

.ck-bank__loading i {
  animation: ckBankSpin 1s linear infinite;
  font-size: 1.1rem;
}

@keyframes ckBankSpin {
  to { transform: rotate(360deg); }
}

.ck-bank__details {
  display: grid;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
}

.ck-bank__details > div {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 55px;
  padding: 10px 43px 10px 12px;
  border-bottom: 1px solid var(--mm-line);
}

.ck-bank__details > div:last-child {
  border-bottom: 0;
}

.ck-bank__details dt {
  color: var(--mm-muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ck-bank__details dd {
  overflow: hidden;
  margin: 0;
  color: var(--mm-text);
  font-size: 0.81rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ck-bank__details-content {
  background: #fffdf4;
}

.ck-bank__details-content dd {
  color: #b45309;
}

.ck-bank__copy {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  color: var(--mm-blue);
  background: #ffffff;
  font: inherit;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.ck-bank__copy:hover:not(:disabled) {
  border-color: var(--mm-blue);
  color: #ffffff;
  background: var(--mm-blue);
}

.ck-bank__copy-all {
  width: 100%;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 11px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  color: var(--mm-text);
  background: #ffffff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.ck-bank__copy-all:hover:not(:disabled) {
  border-color: rgba(37, 99, 235, 0.3);
  color: var(--mm-blue);
  background: #eef6ff;
}

.ck-bank__feedback {
  min-height: 17px;
  margin: 6px 0 0;
  color: var(--mm-green);
  font-size: 0.72rem;
  font-weight: 750;
  text-align: center;
}

.ck-bank__notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(245, 158, 11, 0.23);
  border-radius: var(--mm-radius);
  color: #92400e;
  background: #fffbeb;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.5;
}

.ck-bank__notice i {
  margin-top: 1px;
  color: #d97706;
  font-size: 1rem;
}

.ck-bank button:focus-visible,
.ck-bank input:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.38);
  outline-offset: 2px;
}

@media (max-width: 920px) {
  .ck-bank__layout {
    grid-template-columns: 1fr;
  }

  .ck-bank__panel--payment {
    position: static;
  }
}

@media (max-width: 620px) {
  .ck-bank {
    gap: 12px;
  }

  .ck-bank__header {
    align-items: flex-start;
    min-height: 0;
    padding: 17px;
  }

  .ck-bank__header h1 {
    font-size: 1.18rem;
  }

  .ck-bank__header p {
    font-size: 0.78rem;
  }

  .ck-bank__status {
    display: none;
  }

  .ck-bank__panel {
    padding: 17px;
  }

  .ck-bank__form-grid,
  .ck-bank__summary {
    grid-template-columns: 1fr;
  }

  .ck-bank__quick > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ck-bank__summary-total {
    grid-row: auto;
  }

  .ck-bank__qr-stage {
    min-height: 280px;
  }

  .ck-bank__qr-image {
    width: 222px;
    height: 222px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ck-bank *,
  .ck-bank *::before,
  .ck-bank *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Compact news board */
.mm-news-board {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.mm-news-board .mm-news-shell {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.17);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  backdrop-filter: none;
}

.mm-news-board .mm-news-shell::before {
  display: none;
}

.mm-news-board .mm-news-head {
  display: grid;
  gap: 3px;
  padding: 12px 18px 11px;
  border-bottom: 1px solid rgba(37, 99, 235, 0.16);
  background: #f3faff;
}

.mm-news-head__label {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 4px;
  color: #9a6700;
  background: #fff4d6;
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mm-news-board .mm-news-head h2 {
  margin: 0;
  color: var(--mm-text);
  font-size: 1.48rem;
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.mm-news-board .mm-news-feed {
  display: grid;
  gap: 0;
}

.mm-news-board .mm-news-card {
  min-width: 0;
  border-bottom: 1px solid var(--mm-line);
  border-left: 4px solid var(--news-row-color, #0ea5e9);
}

.mm-news-board .mm-news-card:last-child {
  border-bottom: 0;
}

.mm-news-board .mm-news-card a {
  min-height: 52px;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto 42px;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 12px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.mm-news-board .mm-news-card a:hover {
  border-color: transparent;
  background: #f8fbff;
  box-shadow: none;
  transform: none;
}

.mm-news-board .mm-news-card__type {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border: 1px solid var(--news-tag-line, rgba(14, 165, 233, 0.28));
  border-radius: 5px;
  color: var(--news-tag-text, #0369a1);
  background: var(--news-tag-bg, #ecfeff);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
}

.mm-news-board .mm-news-card strong {
  min-width: 0;
  overflow: hidden;
  color: var(--mm-text);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mm-news-board .mm-news-card time {
  color: #334155;
  font-size: 0.71rem;
  font-weight: 850;
  white-space: nowrap;
}

.mm-news-card__action {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 7px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 5px;
  color: var(--mm-blue);
  background: #f8fbff;
  font-size: 0.66rem;
  font-weight: 900;
}

.mm-news-board .mm-news-card a:hover .mm-news-card__action {
  color: #ffffff;
  background: var(--mm-blue);
}

.mm-news-card--update {
  --news-row-color: #f59e0b;
  --news-tag-bg: #fff7e8;
  --news-tag-line: rgba(217, 119, 6, 0.25);
  --news-tag-text: #a16207;
}

.mm-news-card--event {
  --news-row-color: #0ea5e9;
  --news-tag-bg: #ecfeff;
  --news-tag-line: rgba(14, 165, 233, 0.25);
  --news-tag-text: #0369a1;
}

.mm-news-card--guide {
  --news-row-color: #8b5cf6;
  --news-tag-bg: #f5f3ff;
  --news-tag-line: rgba(124, 58, 237, 0.22);
  --news-tag-text: #6d28d9;
}

.mm-news-card--news {
  --news-row-color: #10b981;
  --news-tag-bg: #ecfdf5;
  --news-tag-line: rgba(5, 150, 105, 0.22);
  --news-tag-text: #047857;
}

.mm-news-board .mm-news-more {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 11px;
  border-top: 1px solid var(--mm-line);
  background: #f8fbff;
}

.mm-news-board .mm-news-more__btn {
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 6px;
  color: var(--mm-blue);
  background: #ffffff;
  box-shadow: none;
  font-size: 0.74rem;
  font-weight: 850;
}

.mm-news-board .mm-news-more__btn:hover {
  color: #ffffff;
  background: var(--mm-blue);
  box-shadow: none;
  transform: none;
}

@media (max-width: 620px) {
  .mm-news-board .mm-news-head {
    padding: 11px 13px;
  }

  .mm-news-board .mm-news-head h2 {
    font-size: 1.24rem;
  }

  .mm-news-board .mm-news-card a {
    grid-template-columns: 78px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 64px;
    padding: 8px;
  }

  .mm-news-board .mm-news-card__type {
    min-height: 26px;
    padding: 4px 5px;
    font-size: 0.59rem;
  }

  .mm-news-board .mm-news-card strong {
    font-size: 0.8rem;
    white-space: normal;
  }

  .mm-news-board .mm-news-card time {
    display: none;
  }

  .mm-news-card__action {
    min-height: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mm-news-board .mm-news-card a,
  .mm-news-board .mm-news-more__btn {
    transition: none;
  }
}

/* Direct game download modal */
.mm-download-modal {
  position: fixed;
  inset: 0;
  z-index: 3050;
  display: grid;
  place-items: center;
  padding: 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.mm-download-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.mm-download-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(9px);
}

.mm-download-modal__dialog {
  position: relative;
  width: min(100%, 500px);
  display: grid;
  justify-items: center;
  gap: 13px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 22px;
  color: #334155;
  background: #ffffff;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.32);
  text-align: center;
}

.mm-download-modal__dialog::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: #f59e0b;
}

.mm-download-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #475569;
  background: #ffffff;
  font-size: 1.1rem;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.mm-download-modal__close:hover {
  border-color: #fbbf24;
  color: #92400e;
  background: #fffbeb;
}

.mm-download-modal__icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  border-radius: 18px;
  color: #92400e;
  background: #fef3c7;
  font-size: 1.85rem;
}

.mm-download-modal__eyebrow {
  color: #a16207;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mm-download-modal h2 {
  margin: -5px 0 0;
  color: #0f172a;
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.mm-download-modal__dialog > p:not(.mm-download-modal__note) {
  max-width: 360px;
  margin: 0;
  color: #64748b;
  font-size: 0.91rem;
  font-weight: 600;
  line-height: 1.62;
}

.mm-download-modal__details {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 3px;
}

.mm-download-modal__details span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 7px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #475569;
  background: #f8fafc;
  font-size: 0.69rem;
  font-weight: 800;
  line-height: 1.35;
}

.mm-download-modal__details i {
  flex: 0 0 auto;
  color: #d97706;
  font-size: 0.92rem;
}

.mm-download-modal__action {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 3px;
  border-radius: 12px;
  color: #ffffff !important;
  background: #111827;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.17);
  font-size: 0.91rem;
  font-weight: 900;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.mm-download-modal__action:hover {
  color: #ffffff !important;
  background: #374151;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.23);
}

.mm-download-modal__action i {
  color: #fcd34d;
  font-size: 1.08rem;
}

.mm-download-modal__note {
  margin: -2px 0 0;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 650;
}

.mm-download-modal__close:focus-visible,
.mm-download-modal__action:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.44);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .mm-download-modal {
    padding: 10px;
  }

  .mm-download-modal__dialog {
    gap: 11px;
    padding: 30px 20px 24px;
    border-radius: 18px;
  }

  .mm-download-modal__details {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mm-download-modal,
  .mm-download-modal__close,
  .mm-download-modal__action {
    transition: none;
  }
}

/* News board v2: a balanced editorial layout for the landing page. */
.mm-news-board .mm-news-shell {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 20px;
  background: #f8fafc;
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.12);
}

.mm-news-board .mm-news-head {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 24px 28px;
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(circle at 88% 24%, rgba(245, 158, 11, 0.28), transparent 25%),
    linear-gradient(125deg, #111827, #1f2937);
}

.mm-news-board .mm-news-head::before,
.mm-news-board .mm-news-head::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.mm-news-board .mm-news-head::before {
  width: 168px;
  height: 168px;
  right: 13%;
  bottom: -116px;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.mm-news-board .mm-news-head::after {
  width: 82px;
  height: 82px;
  right: -22px;
  top: -30px;
  background: rgba(255, 255, 255, 0.08);
}

.mm-news-board .mm-news-head__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.mm-news-board .mm-news-head__label {
  width: fit-content;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid rgba(251, 191, 36, 0.36);
  border-radius: 999px;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.13);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mm-news-board .mm-news-head__label i {
  font-size: 0.85rem;
}

.mm-news-board .mm-news-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.mm-news-board .mm-news-head p {
  max-width: 600px;
  margin: 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
}

.mm-news-board .mm-news-head__meta {
  position: relative;
  z-index: 1;
  min-width: 96px;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.mm-news-board .mm-news-head__meta strong {
  color: #fcd34d;
  font-size: 1.34rem;
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 1;
}

.mm-news-board .mm-news-head__meta span {
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mm-news-board .mm-news-feed {
  display: grid;
  gap: 9px;
  padding: 12px;
  background: #f8fafc;
}

.mm-news-board .mm-news-card,
.mm-news-board .mm-news-card:last-child {
  border: 0;
}

.mm-news-board .mm-news-card a {
  min-height: 78px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 58px auto;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.035);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.mm-news-board .mm-news-card a:hover {
  border-color: rgba(245, 158, 11, 0.52);
  background: #fffdf7;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
  transform: none;
}

.mm-news-board .mm-news-card.is-featured a {
  border-color: rgba(245, 158, 11, 0.38);
  background: linear-gradient(90deg, #fff9eb, #ffffff 54%);
}

.mm-news-board .mm-news-card__order {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: var(--news-tag-text, #0369a1);
  background: var(--news-tag-bg, #ecfeff);
  font-size: 0.71rem;
  font-weight: 950;
  letter-spacing: 0.03em;
}

.mm-news-board .mm-news-card.is-featured .mm-news-card__order {
  color: #92400e;
  background: #fde68a;
}

.mm-news-board .mm-news-card__body {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.mm-news-board .mm-news-card__type {
  width: fit-content;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--news-tag-text, #0369a1);
  background: transparent;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

.mm-news-board .mm-news-card__type i {
  font-size: 0.85rem;
}

.mm-news-board .mm-news-card strong {
  overflow: hidden;
  color: #172033;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mm-news-board .mm-news-card__date {
  display: grid;
  justify-items: center;
  gap: 1px;
  color: #64748b;
  text-align: center;
  white-space: nowrap;
}

.mm-news-board .mm-news-card__date b {
  color: #1e293b;
  font-size: 1.08rem;
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 1;
}

.mm-news-board .mm-news-card__date small {
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mm-news-board .mm-news-card__action {
  min-width: 86px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  color: #334155;
  background: #f8fafc;
  font-size: 0.7rem;
  font-weight: 900;
  white-space: nowrap;
}

.mm-news-board .mm-news-card__action i {
  color: #d97706;
  font-size: 0.92rem;
}

.mm-news-board .mm-news-card a:hover .mm-news-card__action {
  border-color: #f59e0b;
  color: #7c2d12;
  background: #fef3c7;
}

.mm-news-board .mm-news-more {
  display: none;
  margin: 0;
  padding: 0 12px 12px;
  border: 0;
  background: #f8fafc;
}

.mm-news-board .mm-news-more__btn {
  width: 100%;
  min-height: 42px;
  border-color: #dbe4ef;
  border-radius: 11px;
  color: #475569;
  background: #ffffff;
  font-size: 0.76rem;
}

.mm-news-board .mm-news-more__btn:hover {
  border-color: #f59e0b;
  color: #7c2d12;
  background: #fffbeb;
}

.mm-news-board .mm-news-card a:focus-visible,
.mm-news-board .mm-news-more__btn:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.34);
  outline-offset: 2px;
}

@media (max-width: 620px) {
  .mm-news-board .mm-news-shell {
    border-radius: 16px;
  }

  .mm-news-board .mm-news-head {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 17px;
  }

  .mm-news-board .mm-news-head__meta {
    justify-self: start;
    grid-auto-flow: column;
    align-items: center;
    justify-items: start;
    gap: 7px;
    min-width: 0;
    padding: 7px 10px;
  }

  .mm-news-board .mm-news-head__meta strong {
    font-size: 1rem;
  }

  .mm-news-board .mm-news-feed {
    gap: 8px;
    padding: 9px;
  }

  .mm-news-board .mm-news-card a {
    grid-template-columns: 38px minmax(0, 1fr) 36px;
    gap: 10px;
    min-height: 72px;
    padding: 10px;
  }

  .mm-news-board .mm-news-card__order {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .mm-news-board .mm-news-card strong {
    font-size: 0.82rem;
    white-space: normal;
  }

  .mm-news-board .mm-news-card__date {
    display: none;
  }

  .mm-news-board .mm-news-card__action {
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
  }

  .mm-news-board .mm-news-card__action > span {
    display: none;
  }

  .mm-news-board .mm-news-card__action i {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mm-news-board .mm-news-card a,
  .mm-news-board .mm-news-more__btn {
    transition: none;
  }
}
