/* ═══════════════════════════════════════════════════════════════════
   MI CÍRCULO · Apple Wallet style v2 (v7.99.0)
   Tarjeta protagonista con flip 3D + tilt + shimmer + glow + specular
   Borde curvo, mínima información, profesional
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --carbon:        #050505;
  --carbon-2:      #0A0A0A;
  --carbon-3:      #141414;
  --steel:         #1F1F1F;
  --line:          rgba(237, 230, 214, 0.10);
  --line-soft:     rgba(237, 230, 214, 0.06);
  --bone:          #EDE6D6;
  --bone-dim:      #B8B0A0;
  --bone-faint:    rgba(237, 230, 214, 0.45);
  --burgundy:      #5B0E16;
  --burgundy-glow: #7A1620;
  --gold:          #D9C788;
  --gold-soft:     #B89B5F;
  --gold-deep:     #806535;

  --serif: "Bodoni Moda", "Times New Roman", serif;
  --sans:  "Inter Tight", system-ui, -apple-system, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --max-w: 540px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--bone);
  background: var(--carbon);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  z-index: 0;
}
::selection { background: var(--burgundy); color: var(--bone); }

/* ════════ BACKGROUND TEXTURE ════════ */
/* Patrón de puntos sutil tipo cuero perforado · viñeta radial */
.mc-bg-texture {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(237, 230, 214, 0.04) 1px, transparent 0);
  background-size: 22px 22px;
  background-position: center;
  opacity: 0.55;
}
.mc-bg-vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(91, 14, 22, 0.16) 0%, transparent 70%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(0, 0, 0, 0.65) 0%, transparent 65%);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; font-size: inherit; color: inherit; cursor: pointer; border: none; background: transparent; -webkit-tap-highlight-color: transparent; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ════════ NAV MINIMAL ════════ */
.mc-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  padding: 14px 20px;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--line);
}
.mc-nav-back {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--bone-dim);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.mc-nav-back:hover { color: var(--bone); border-color: var(--bone-dim); transform: translateX(-2px); }
.mc-nav-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  justify-self: center;
  line-height: 1;
}
.mc-nav-brand-pre {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--bone-dim);
  text-transform: uppercase;
}
.mc-nav-brand-main {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--bone);
}
.mc-nav-spacer { width: 36px; }

/* ════════ MAIN ════════ */
.mc-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px 60px;
  min-height: calc(100vh - 70px);
}

/* ════════ LOGIN ════════ */
.mc-view-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
}
.mc-login-stack {
  width: 100%;
  max-width: 420px;
  text-align: center;
}
.mc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 28px;
}
.mc-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--burgundy);
  border-radius: 50%;
  animation: mcDotPulse 2.6s ease-in-out infinite;
}
@keyframes mcDotPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.18); }
}
.mc-login-title {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--bone);
}
.mc-login-title em { font-style: italic; color: var(--bone-dim); }
.mc-login-sub {
  margin: 0 0 40px;
  font-size: 14px;
  color: var(--bone-dim);
}
.mc-form { display: flex; flex-direction: column; gap: 18px; }
.mc-field-wrap { position: relative; }
.mc-field {
  width: 100%;
  height: 60px;
  padding: 0 22px;
  background: rgba(237, 230, 214, 0.04);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--bone);
  outline: none;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
}
.mc-field::placeholder { color: var(--bone-faint); letter-spacing: 0.12em; font-weight: 400; }
.mc-field:focus {
  border-color: var(--burgundy-glow);
  background: rgba(91, 14, 22, 0.08);
}
.mc-err {
  padding: 12px;
  border-radius: 12px;
  background: rgba(122, 22, 32, 0.10);
  border: 1px solid rgba(122, 22, 32, 0.30);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy-glow);
  text-align: center;
}
.mc-cta {
  width: 100%;
  height: 60px;
  background: var(--bone);
  color: var(--carbon);
  border-radius: 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: transform 0.18s var(--ease), background 0.22s var(--ease);
}
.mc-cta:hover { background: #FFFFFF; }
.mc-cta:active { transform: scale(0.98); }
.mc-cta-arrow { font-size: 14px; }
.mc-ghost {
  height: 50px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.mc-ghost:hover { color: var(--bone); border-color: var(--bone-dim); }
.mc-form-help {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--bone-dim);
  text-align: center;
}
.mc-form-help a {
  color: var(--bone);
  border-bottom: 1px solid var(--burgundy);
}
.mc-form-help a:hover { color: var(--burgundy-glow); }

/* ════════ CARD VIEW · APPLE WALLET STYLE ════════ */
.mc-view-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  animation: mcFadeIn 0.5s var(--ease);
}
@keyframes mcFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Stage 3D — la perspectiva vive aqui */
.mc-card-stage {
  width: 100%;
  max-width: 420px;
  perspective: 1600px;
  perspective-origin: 50% 30%;
  margin-top: 20px;
}

/* Frame controla el tilt 3D */
.mc-card-frame {
  width: 100%;
  aspect-ratio: 1.586 / 1;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.5s var(--spring);
}
.mc-card-frame.is-tilting { transition: none; }

/* La tarjeta — Apple Wallet aesthetic */
.mc-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  transform-style: preserve-3d;
  transition: transform 0.85s var(--ease);
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(237, 230, 214, 0.04) inset,
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 16px 40px rgba(0, 0, 0, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.20);
}
.mc-card.is-flipped { transform: rotateY(180deg); }

.mc-card-face {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  /* clip-path GPU-friendly · fix iOS Safari donde overflow:hidden
     no clipea correctamente durante animaciones de elementos hijos
     (como el shimmer con inset:-50%). clip-path opera en compositing,
     no en paint, así que sobrevive el GPU layer caching. */
  -webkit-clip-path: inset(0 round 24px);
  clip-path: inset(0 round 24px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  /* Forzar GPU layer separado · fix iOS backface-visibility bug
     cuando hay overflow:hidden en el mismo elemento */
  -webkit-transform: translateZ(0.001px);
  transform: translateZ(0.001px);
  isolation: isolate;
}
.mc-card-front {
  -webkit-transform: rotateY(0deg) translateZ(0.001px);
  transform: rotateY(0deg) translateZ(0.001px);
}
.mc-card-back {
  -webkit-transform: rotateY(180deg) translateZ(0.001px);
  transform: rotateY(180deg) translateZ(0.001px);
}
.mc-card-back .mc-card-content {
  padding: clamp(16px, 3vw, 22px);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0;
}
.mc-card-back-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
  min-height: 0;
  /* Fade en el bottom para indicar más contenido */
  mask-image: linear-gradient(to bottom, #000 0%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 92%, transparent 100%);
}
.mc-card-back-scroll::-webkit-scrollbar { display: none; }

/* Capa base color */
.mc-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Holographic shimmer · gradient diagonal animado
   inset:0 (no -50%) para que no extienda más allá del face — el clip-path
   del face lo contendría igual, pero más explícito = menos bugs iOS. */
.mc-card-shimmer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 25%,
    rgba(237, 230, 214, 0.08) 42%,
    rgba(237, 230, 214, 0.14) 50%,
    rgba(237, 230, 214, 0.08) 58%,
    transparent 75%
  );
  background-size: 250% 250%;
  background-position: 0% 0%;
  mix-blend-mode: screen;
  transition: background-position 0.5s var(--ease);
  opacity: 0.6;
}

/* Specular highlight · sigue al mouse */
.mc-card-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    circle 220px at var(--shine-x, 50%) var(--shine-y, 50%),
    rgba(237, 230, 214, 0.18) 0%,
    rgba(237, 230, 214, 0.08) 25%,
    transparent 60%
  );
  mix-blend-mode: screen;
  opacity: var(--shine-opacity, 0);
  transition: opacity 0.4s var(--ease);
}
.mc-card-frame.is-tilting .mc-card-shine { opacity: 1; }

/* Watermark ★ */
.mc-card-watermark {
  position: absolute;
  bottom: -14%;
  right: -8%;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 320px;
  line-height: 1;
  color: rgba(217, 199, 136, 0.06);
  z-index: 1;
  user-select: none;
  display: none;
  pointer-events: none;
  text-shadow: 0 0 80px rgba(217, 199, 136, 0.18);
}

/* Contenido sobre todos los efectos */
.mc-card-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  padding: clamp(22px, 4vw, 30px);
  display: flex;
  flex-direction: column;
  color: var(--bone);
}

.mc-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.mc-card-eyebrow { font-family: var(--mono); }
.mc-card-num { letter-spacing: 0.18em; }

.mc-card-level-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(8px, 1.5vw, 12px) 0;
}
.mc-card-level {
  font-family: var(--serif);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(44px, 9vw, 68px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--bone);
}

.mc-card-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.mc-card-name {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(15px, 2vw, 18px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--bone);
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
}
.mc-card-points-row {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-align: right;
}
.mc-card-points-val {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 32px);
  letter-spacing: -0.025em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
  color: var(--bone);
}
.mc-card-points-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* ─── BACK (detalles) ─── */
.mc-card-back-close {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--bone-dim);
}
.mc-card-back-block {
  margin-top: 12px;
}
.mc-card-back-block:first-of-type { margin-top: 14px; }
.mc-card-back-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 6px;
}

/* Progress en back */
.mc-progress-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12.5px;
  line-height: 1.25;
  color: var(--bone);
  margin-bottom: 6px;
}
.mc-progress-text strong { font-weight: 700; font-style: normal; }
.mc-progress-bar {
  position: relative;
  width: 100%;
  height: 3px;
  background: rgba(237, 230, 214, 0.10);
  border-radius: 2px;
  overflow: hidden;
}
.mc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--burgundy) 0%, var(--burgundy-glow) 100%);
  width: 0%;
  border-radius: 2px;
  transition: width 1.2s var(--ease);
}

.mc-back-actives {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mc-back-active {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 8px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--bone);
  align-items: baseline;
  margin-bottom: 4px;
}
.mc-back-active-mark {
  color: var(--burgundy-glow);
  font-family: var(--mono);
  font-size: 9px;
  text-align: center;
}
.mc-back-active-text strong { font-style: italic; }
.mc-back-active-text small {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-top: 2px;
}

.mc-back-bens {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mc-back-bens li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 11px;
  line-height: 1.3;
  color: var(--bone-dim);
}
.mc-back-bens li strong { color: var(--bone); font-weight: 500; font-style: normal; }
.mc-back-bens-mark {
  color: var(--burgundy-glow);
  font-family: var(--mono);
  font-size: 8.5px;
  text-align: center;
  font-style: normal;
}

.mc-card-back-foot {
  padding-top: 10px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.mc-card-back-valid { color: var(--bone); letter-spacing: 0.12em; }

/* ════════ TRATAMIENTOS POR NIVEL ════════ */

/* SELECTO — sobrio */
.mc-card[data-nivel="selecto"] .mc-card-bg {
  background:
    linear-gradient(140deg, #1F1F1F 0%, #141414 60%, #0A0A0A 100%),
    radial-gradient(ellipse at 30% 0%, rgba(237, 230, 214, 0.06) 0%, transparent 50%);
  background-blend-mode: screen, normal;
}

/* PRIVADO — borgoña */
.mc-card[data-nivel="privado"] .mc-card-bg {
  background:
    linear-gradient(135deg, #3A1419 0%, #1F0C10 50%, #0E0608 100%),
    radial-gradient(ellipse 60% 80% at 30% 0%, rgba(122, 22, 32, 0.32) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 90% 100%, rgba(91, 14, 22, 0.42) 0%, transparent 60%);
  background-blend-mode: screen, screen, normal;
}
.mc-card[data-nivel="privado"] .mc-card-shimmer {
  background: linear-gradient(
    115deg,
    transparent 25%,
    rgba(237, 230, 214, 0.05) 42%,
    rgba(255, 200, 160, 0.18) 50%,
    rgba(237, 230, 214, 0.05) 58%,
    transparent 75%
  );
  background-size: 250% 250%;
  background-position: 0% 0%;
}

/* LEGADO — gold */
.mc-card[data-nivel="legado"] .mc-card-bg {
  background:
    linear-gradient(140deg, #251A0F 0%, #1A140E 50%, #0A0806 100%),
    radial-gradient(ellipse 70% 80% at 25% 5%, rgba(217, 199, 136, 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 60% 60% at 85% 90%, rgba(184, 155, 95, 0.20) 0%, transparent 60%);
  background-blend-mode: screen, screen, normal;
}
.mc-card[data-nivel="legado"] .mc-card-shimmer {
  background: linear-gradient(
    115deg,
    transparent 22%,
    rgba(217, 199, 136, 0.10) 40%,
    rgba(255, 230, 160, 0.32) 50%,
    rgba(217, 199, 136, 0.10) 60%,
    transparent 78%
  );
  background-size: 250% 250%;
  animation: mcLegadoShimmer 7s ease-in-out infinite;
}
/* Animar background-position en lugar de transform para evitar
   que el shimmer salga de los bordes redondeados en iOS Safari. */
@keyframes mcLegadoShimmer {
  0%, 100% { background-position: 0% 0%; }
  50%      { background-position: 100% 100%; }
}
.mc-card[data-nivel="legado"] .mc-card-level {
  background: linear-gradient(160deg, #D9C788 0%, #EDE6D6 45%, #D9C788 60%, #B89B5F 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: mcGoldShift 8s ease-in-out infinite;
  text-shadow: none;
}
@keyframes mcGoldShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.mc-card[data-nivel="legado"] .mc-card-watermark {
  display: block;
  color: rgba(217, 199, 136, 0.08);
}
.mc-card[data-nivel="legado"] {
  box-shadow:
    0 1px 0 rgba(217, 199, 136, 0.16) inset,
    0 0 0 1px rgba(217, 199, 136, 0.08),
    0 0 80px rgba(217, 199, 136, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 16px 40px rgba(0, 0, 0, 0.35);
  animation: mcLegadoGlow 5s ease-in-out infinite;
}
@keyframes mcLegadoGlow {
  0%, 100% { box-shadow: 0 1px 0 rgba(217, 199, 136, 0.16) inset, 0 0 0 1px rgba(217, 199, 136, 0.08), 0 0 80px rgba(217, 199, 136, 0.08), 0 30px 80px rgba(0, 0, 0, 0.55), 0 16px 40px rgba(0, 0, 0, 0.35); }
  50%      { box-shadow: 0 1px 0 rgba(217, 199, 136, 0.22) inset, 0 0 0 1px rgba(217, 199, 136, 0.16), 0 0 110px rgba(217, 199, 136, 0.14), 0 30px 80px rgba(0, 0, 0, 0.55), 0 16px 40px rgba(0, 0, 0, 0.35); }
}

/* ════════ INFO STRIP (debajo de la tarjeta) ════════ */
.mc-info-strip {
  width: 100%;
  max-width: 420px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(237, 230, 214, 0.025);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}
.mc-info-pill {
  flex: 1;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.mc-info-sep {
  width: 1px;
  background: var(--line);
  margin: 8px 0;
}
.mc-info-label {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.mc-info-value {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--bone);
}

/* ════════ HINT + LOGOUT ════════ */
.mc-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}
.mc-hint-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
  animation: mcHintPulse 3s ease-in-out infinite;
}
.mc-hint-btn:hover {
  color: var(--bone);
  border-color: var(--line);
}
@keyframes mcHintPulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}
.mc-logout {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-faint);
  padding: 8px 16px;
  transition: color 0.2s var(--ease);
}
.mc-logout:hover { color: var(--bone-dim); }

/* ════════ NOT FOUND ════════ */
.mc-view-notfound {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
}
.mc-notfound {
  width: 100%;
  max-width: 420px;
  text-align: center;
}
.mc-notfound-mark {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 80px;
  color: var(--burgundy-glow);
  margin-bottom: 16px;
  line-height: 1;
}
.mc-notfound-title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--bone);
}
.mc-notfound-title em { font-style: italic; color: var(--bone-dim); }
.mc-notfound-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin: 0 0 4px;
}
.mc-notfound-sub strong { color: var(--bone); }
.mc-notfound-help {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--bone-dim);
}
.mc-notfound-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ════════ RESPONSIVE ════════ */
@media (max-width: 480px) {
  .mc-main { padding: 24px 20px 40px; }
  .mc-card-stage { max-width: 100%; }
  .mc-info-strip { max-width: 100%; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
