/* Home-only 2026 Octavos palette. Does not affect /vote/round2 or Admin. */
body.mc-r2-home-theme {
  --pink: #d9a85e;
  --pink-2: #e9c989;
  --accent: #d9a85e;
  --primary: #d9a85e;
  --surface: #0d1b2a;
  --background: #06111f;
  background: radial-gradient(ellipse at 50% 0%, #15243a 0%, #081421 43%, #050d17 95%) !important;
  color: #f2f2ee;
}
body.mc-r2-home-theme :is(header, .site-header, .topbar, .navbar, .site-nav) {
  border-color: rgba(213,169,91,.25);
}
body.mc-r2-home-theme :is(.panel,.feature-card,.show-card,.arena-card,.stat-card,.card) {
  border-color: rgba(214,170,96,.24);
}
body.mc-r2-home-theme :is(footer,.site-footer) { border-color: rgba(214,170,96,.22); }

.mc-r2-home-hero {
  --r2-gold: #eac27c;
  --r2-cream: #f6f1e7;
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(22px, 4vw, 58px);
  min-height: 430px;
  max-width: 1350px;
  margin: clamp(18px, 2vw, 28px) auto;
  padding: clamp(22px, 4vw, 54px);
  overflow: hidden;
  border: 1px solid rgba(232,186,105,.67);
  border-radius: 24px;
  box-sizing: border-box;
  background:
    linear-gradient(95deg,rgba(5,14,26,.93) 0%,rgba(7,21,37,.88) 51%,rgba(6,17,31,.60) 100%),
    url('/round2-media/assets/stadium.webp') center 36% / cover no-repeat,
    #06131f;
  box-shadow: 0 16px 65px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,215,148,.05);
  color: var(--r2-cream);
}
.mc-r2-home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 30% 115%,rgba(231,166,79,.13),transparent 57%);
  z-index: -1;
}
.mc-r2-home-hero * { box-sizing: border-box; }
.mc-r2-hero-copy { min-width: 0; align-self: center; }
.mc-r2-kicker {
  display: inline-block;
  font: 800 11px/1.4 system-ui, sans-serif;
  letter-spacing: .21em;
  color: var(--r2-gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.mc-r2-hero-title {
  font-family: "Inter", system-ui, sans-serif !important;
  color: #f9f8f5 !important;
  font-size: clamp(36px, 4.1vw, 66px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 700;
  margin: 0 0 22px;
  text-shadow: 0 2px 22px rgba(0,0,0,.30);
}
.mc-r2-hero-title em {
  color: #edc279;
  font-style: normal;
  background: linear-gradient(160deg,#fff0c8 2%,#f1bf6b 47%,#b97e38 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mc-r2-hero-subtitle { font: 400 clamp(14px,1.2vw,16px)/1.7 system-ui,sans-serif; max-width: 580px; color: #e2e8ed; margin: 0 0 22px; }
.mc-r2-hero-subtitle strong { color: #fff1cf; font-weight: 700; }
.mc-r2-hero-stats { display:flex; flex-wrap:wrap; gap: 10px; margin-bottom: 25px; }
.mc-r2-hero-stats > span { display:flex; align-items:center; gap:8px; padding:10px 14px; border:1px solid rgba(238,191,105,.55); border-radius:11px; background:rgba(5,15,27,.62); white-space:nowrap; }
.mc-r2-hero-stats strong { font:700 22px/1 system-ui,sans-serif; color:var(--r2-gold); }
.mc-r2-hero-stats small { color:#e1e5ea; font:500 12px/1.2 system-ui,sans-serif; }
.mc-r2-hero-actions { display:flex; align-items:center; flex-wrap:wrap; gap: 14px; }
.mc-r2-home-hero .mc-r2-hero-cta,
.mc-r2-home-hero .mc-r2-hero-cta:visited {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:14px 22px; min-height:47px; border-radius:999px;
  background:linear-gradient(115deg,#f3d393,#dba958);
  border:1px solid #f3d393; color:#061420 !important;
  text-decoration:none; font:800 14px/1.3 system-ui,sans-serif;
  box-shadow:0 6px 25px rgba(210,153,71,.23);
}
.mc-r2-home-hero .mc-r2-hero-cta:hover { filter:brightness(1.10); transform:translateY(-1px); }
.mc-r2-timer-label { font:700 12px/1.6 system-ui,sans-serif; color:#eec984; font-variant-numeric:tabular-nums; }
.mc-r2-hero-note { color: #b8c8d7; font: 500 11px/1.6 system-ui,sans-serif; margin: 14px 0 0; }
.mc-r2-hero-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); gap:10px; min-height:390px; }
.mc-r2-portrait { position:relative; isolation:isolate; min-width:0; overflow:hidden; min-height:170px; border:1px solid rgba(240,190,111,.72); border-radius:13px; background:radial-gradient(circle at 45% 43%,#563923 0%,#122138 50%,#07111e 100%); }
.mc-r2-photo-bg { position:absolute; inset:0; z-index:-1; background:url('/round2-media/assets/cardbackground.webp') center 40% / cover no-repeat; opacity:.92; }
.mc-r2-portrait img { display:block; position:absolute; inset:auto 0 0; width:100%; height:111%; object-fit:contain; object-position:bottom center; filter:drop-shadow(0 2px 10px rgba(0,0,0,.22)); }
.mc-r2-portrait-caption { position:absolute; bottom:0; left:0; right:0; padding:15px 8px 7px; background:linear-gradient(transparent,rgba(3,11,21,.9)); color:#fff3d7; font:700 12px/1.3 system-ui,sans-serif; text-align:center; text-shadow:0 1px 4px #000; }
@media (max-width: 920px) {
  .mc-r2-home-hero { grid-template-columns:1fr; margin:12px 14px; padding:25px 22px; }
  .mc-r2-hero-gallery { min-height:370px; }
}
@media (max-width: 480px) {
  .mc-r2-home-hero { border-radius:16px; margin:10px 9px; padding:22px 16px; gap:20px; }
  .mc-r2-kicker { font-size:9px; }
  .mc-r2-hero-title { font-size: clamp(32px,9vw,45px); }
  .mc-r2-hero-stats > span { padding:8px 10px; }
  .mc-r2-hero-stats small { font-size:10px; }
  .mc-r2-hero-gallery { min-height:300px; gap:7px; }
  .mc-r2-portrait { min-height:140px; }
  .mc-r2-portrait-caption { font-size:10px; }
}
@media (prefers-reduced-motion: reduce) { .mc-r2-hero-cta { transition: none !important; } }

/* V14: Direct template banner + carousel, no runtime DOM replacement. */
body.mc-r2-home-theme .mc26-world {
  background: linear-gradient(115deg, #071321 0%, #0d1e31 74%, #08111b 100%) !important;
  border-color: rgba(224,180,102,.45) !important;
}
body.mc-r2-home-theme .mc26-world::before,
body.mc-r2-home-theme .mc26-world::after {
  background-color: transparent !important;
}
body.mc-r2-home-theme .mc26-world .mc26-backdrop {
  filter: saturate(.92) brightness(.65) !important;
  opacity: .85 !important;
}
body.mc-r2-home-theme .mc26-world .mc26-copy,
body.mc-r2-home-theme .mc26-world .mc26-copy :is(h1,p) {
  color: #f6f1e7 !important;
}
body.mc-r2-home-theme .mc26-world .mc26-copy h1 em,
body.mc-r2-home-theme .mc26-world .mc24-eyebrow { color: #edc279 !important; }
body.mc-r2-home-theme .mc26-world a,
body.mc-r2-home-theme .mc26-world .mc24-actions a {
  border-color: #e3b773 !important;
}
body.mc-r2-home-theme .mc26-world .mc24-actions a:first-child {
  background: linear-gradient(110deg,#f5d599,#dba85d) !important;
  color: #061522 !important;
}
body.mc-r2-home-theme .mc-r2-home-hero { width: 100%; }
body.mc-r2-home-theme :is(.mc27-titlebar,.mc24-community,.mc27-release-section) {
  border-color: rgba(218,171,96,.26);
}
body.mc-r2-home-theme a:focus-visible {
  outline: 2px solid #f3d393;
  outline-offset: 3px;
}

/* MCH_ROUND2_HOME_V15_LAYOUT — only the already installed Octavos homepage banner.
   Intent: restore a navy stadium backdrop, consistent inset spacing, balanced text/portraits.
   All images remain the original installed WebPs; voting logic is unchanged. */
html body #mcfa-home-battle-v4.mc-r2-home-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, .96fr) !important;
  align-items: center !important;
  gap: clamp(22px, 2.8vw, 44px) !important;
  width: 100% !important;
  max-width: 1350px !important;
  min-height: 440px !important;
  height: auto !important;
  padding: clamp(28px, 3.1vw, 46px) !important;
  margin: clamp(16px, 2vw, 28px) auto !important;
  border-radius: 22px !important;
  border: 1px solid rgba(230, 185, 108, .66) !important;
  overflow: hidden !important;
  background:
    linear-gradient(105deg, rgba(4, 14, 27, .96) 0%, rgba(7, 22, 38, .92) 48%, rgba(5, 17, 30, .78) 100%),
    url('/round2-media/assets/stadium.webp') center 42% / cover no-repeat,
    #071522 !important;
  box-shadow: 0 16px 55px rgba(0, 0, 0, .31) !important;
  box-sizing: border-box !important;
}
html body #mcfa-home-battle-v4.mc-r2-home-hero::before {
  background: radial-gradient(ellipse at 9% 98%, rgba(215, 161, 76, .10), transparent 57%) !important;
}
html body #mcfa-home-battle-v4 > .mc-r2-hero-copy {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  align-self: center !important;
}
html body #mcfa-home-battle-v4 .mc-r2-kicker {
  display: block !important;
  margin: 0 0 14px !important;
  letter-spacing: .16em !important;
  font-size: 10px !important;
  line-height: 1.5 !important;
}
html body #mcfa-home-battle-v4 .mc-r2-hero-title {
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: clamp(36px, 3.55vw, 55px) !important;
  line-height: 1.10 !important;
  letter-spacing: -.028em !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  max-width: 100% !important;
  overflow-wrap: normal !important;
}
html body #mcfa-home-battle-v4 .mc-r2-hero-subtitle {
  max-width: 540px !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  margin: 0 0 21px !important;
}
html body #mcfa-home-battle-v4 .mc-r2-hero-stats {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 20px !important;
}
html body #mcfa-home-battle-v4 .mc-r2-hero-stats > span {
  padding: 10px 12px !important;
  min-width: 0 !important;
}
html body #mcfa-home-battle-v4 .mc-r2-hero-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin: 0 !important;
}
html body #mcfa-home-battle-v4 .mc-r2-hero-note {
  margin: 15px 0 0 !important;
  max-width: 540px !important;
}
html body #mcfa-home-battle-v4 > .mc-r2-hero-gallery {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 405px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: center !important;
}
html body #mcfa-home-battle-v4 .mc-r2-portrait {
  min-width: 0 !important;
  min-height: 0 !important;
  border-radius: 12px !important;
}
@media (max-width: 1030px) {
  html body #mcfa-home-battle-v4.mc-r2-home-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: clamp(22px, 4vw, 34px) !important;
    gap: 24px !important;
  }
  html body #mcfa-home-battle-v4 > .mc-r2-hero-gallery {
    height: clamp(300px, 50vw, 460px) !important;
  }
}
@media (max-width: 530px) {
  html body #mcfa-home-battle-v4.mc-r2-home-hero {
    padding: 22px 17px !important;
    margin: 12px 8px !important;
    border-radius: 16px !important;
    gap: 19px !important;
  }
  html body #mcfa-home-battle-v4 .mc-r2-hero-title {
    font-size: clamp(31px, 8vw, 43px) !important;
    letter-spacing: -.04em !important;
  }
  html body #mcfa-home-battle-v4 .mc-r2-hero-subtitle {
    font-size: 13px !important;
  }
  html body #mcfa-home-battle-v4 .mc-r2-hero-stats > span {
    padding: 8px 10px !important;
  }
  html body #mcfa-home-battle-v4 > .mc-r2-hero-gallery {
    height: clamp(255px, 71vw, 360px) !important;
    gap: 7px !important;
  }
  html body #mcfa-home-battle-v4 .mc-r2-portrait-caption {
    font-size: 10px !important;
  }
}
/* END MCH_ROUND2_HOME_V15_LAYOUT */


/* MCH_ROUND2_HOME_V16_FACE_CROP */
html body #mcfa-home-battle-v4 .mc-r2-portrait {
    overflow: hidden !important;
}

html body #mcfa-home-battle-v4 .mc-r2-portrait > img {
    position: absolute !important;
    display: block !important;
    top: auto !important;
    bottom: -28% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 130% !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    z-index: 1 !important;
}

html body #mcfa-home-battle-v4 .mc-r2-portrait-caption {
    z-index: 2 !important;
}
/* END MCH_ROUND2_HOME_V16_FACE_CROP */
