.manyue-portal-body .banner-gallery {
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: #f3e8ff;
}

/* 서브페이지 최상단 배너: 마녀서버 만월 비술 성채 배경 + 아케인 오로라 별빛 캔버스 */
.manyue-portal-body .subpage-header-banner.banner-subpage-hero {
  position: relative !important;
  overflow: hidden !important;
  background-color: #080512 !important;
  background-image:
    linear-gradient(180deg, rgba(12, 7, 24, 0.36) 0%, rgba(16, 9, 32, 0.72) 68%, rgba(8, 5, 18, 0.96) 100%) !important,
    radial-gradient(ellipse 75% 65% at 62% 35%, rgba(192, 132, 252, 0.28) 0%, transparent 72%) !important,
    url('/images/site/manyue_hero_bg.png?v=20261114_manyue_v2') !important;
  background-position: center 26% !important;
  background-size: auto, auto, cover !important;
  border-bottom-color: rgba(192, 132, 252, 0.45) !important;
}

.banner-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.banner-subpage-hero .subpage-banner-content {
  position: relative;
  z-index: 2;
}

/* =========================================================================
   상단 인트로 쇼케이스 헤더 (마녀서버 2.0 다층 아케인 시네마틱 구도)
   ========================================================================= */
.manyue-portal-body .banner-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 275px;
  align-items: center;
  gap: 24px;
  padding: 28px 30px;
  background: #080512;
  border: 1px solid rgba(192, 132, 252, .52);
  border-radius: 10px;
  box-shadow:
    0 20px 46px rgba(0, 0, 0, .78),
    inset 0 0 36px rgba(168, 85, 247, .16);
  overflow: hidden;
}

.manyue-portal-body .banner-intro-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(95deg, rgba(8, 5, 18, .96) 0%, rgba(16, 9, 32, .86) 50%, rgba(16, 9, 32, .45) 100%),
    url('/images/site/manyue_banner_purple_clouds.jpg?v=20261114_manyue_v2') center center / cover no-repeat;
  filter: brightness(1.02) saturate(1.16);
  pointer-events: none;
}

.manyue-portal-body .banner-intro-godrays {
  position: absolute;
  inset: -15%;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    -38deg,
    transparent 0px,
    transparent 42px,
    rgba(233, 213, 255, 0.05) 46px,
    rgba(168, 85, 247, 0.11) 52px,
    transparent 58px,
    transparent 108px
  );
  mix-blend-mode: screen;
}

.banner-intro-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.manyue-portal-body .banner-eyebrow,
.manyue-portal-body .banner-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c084fc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  margin: 0;
}

.manyue-portal-body .banner-live-dot {
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, #ffffff, #c084fc);
  transform: rotate(45deg);
  box-shadow: 0 0 9px rgba(192, 132, 252, .95);
}

.manyue-portal-body .banner-intro h1 {
  font-size: clamp(23px, 2.8vw, 31px);
  line-height: 1.26;
  letter-spacing: -.035em;
  margin: 10px 0 12px;
  font-weight: 900;
  color: #faf5ff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, .92);
  word-break: keep-all;
}

.manyue-portal-body .banner-intro h1 span {
  background: linear-gradient(180deg, #ffffff 0%, #fef08a 48%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #fde047;
  -webkit-text-fill-color: transparent;
}

.manyue-portal-body .banner-lead {
  color: #ddd6fe;
  line-height: 1.65;
  margin: 0 0 14px;
  font-size: 13.5px;
  word-break: keep-all;
}

.manyue-portal-body .banner-lead strong {
  color: #fde047;
  font-weight: 800;
}

.banner-intro-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.manyue-portal-body .banner-intro-specs span {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 800;
  color: #f3e8ff;
  background: rgba(20, 11, 40, .9);
  border: 1px solid rgba(192, 132, 252, .48);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .65);
}

.banner-intro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.manyue-portal-body .banner-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #9333ea 0%, #581c87 65%, #2e1065 100%);
  color: #fffef5;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(253, 224, 71, .86);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .75), 0 0 18px rgba(168, 85, 247, .5);
  text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.manyue-portal-body .banner-cta-primary:hover {
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .88), 0 0 24px rgba(192, 132, 252, .65);
  transform: translateY(-1px);
}

.manyue-portal-body .banner-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(18, 10, 36, .9);
  border: 1px solid rgba(192, 132, 252, .45);
  color: #e9d5ff;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}

.manyue-portal-body .banner-cta-secondary:hover {
  background: rgba(42, 20, 74, .95);
  border-color: #fde047;
  color: #ffffff;
  transform: translateY(-1px);
}

/* =========================================================================
   우측 마녀 아케인 미니 디오라마 (대형 고대 마도서 + 자수정 봉인 마도서 + 회전 마법진)
   ========================================================================= */
.manyue-portal-body .banner-hero-emblem {
  position: relative;
  z-index: 3;
  width: 275px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manyue-portal-body .banner-hero-glow {
  position: absolute;
  width: 236px;
  height: 192px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 132, 252, .4) 0%, rgba(126, 34, 206, .18) 55%, transparent 76%);
  pointer-events: none;
}

.manyue-portal-body .banner-hero-ring {
  position: absolute;
  width: 192px;
  height: 192px;
  border-radius: 50%;
  border: 1px dashed rgba(192, 132, 252, .46);
  pointer-events: none;
  animation: dioramaRingSpin 26s linear infinite;
}

.manyue-portal-body .diorama-magic-ring {
  position: absolute;
  width: 210px;
  height: 210px;
  right: -4px;
  top: 0;
  z-index: 1;
  opacity: .62;
  pointer-events: none;
  filter: drop-shadow(0 0 14px rgba(192, 132, 252, .58));
  animation: dioramaRingSpin 28s linear infinite reverse;
}

@keyframes dioramaRingSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.manyue-portal-body .diorama-grimoire-aura {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 12px;
  width: 176px;
  height: 142px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 55%,
    rgba(192, 132, 252, .58) 0%,
    rgba(253, 224, 71, .3) 44%,
    rgba(126, 34, 206, .22) 66%,
    transparent 82%
  );
  filter: blur(11px);
  animation: dioramaAuraPulse 1.5s ease-in-out infinite alternate;
}

@keyframes dioramaAuraPulse {
  0% { transform: scale(0.94); opacity: 0.78; }
  100% { transform: scale(1.1); opacity: 1; }
}

.manyue-portal-body .diorama-logo-stack {
  position: absolute;
  z-index: 7;
  left: 8px;
  top: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
}

.manyue-portal-body .diorama-logo-kor {
  width: 112px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .94)) drop-shadow(0 0 18px rgba(192, 132, 252, .5));
}

.manyue-portal-body .diorama-chest-supply {
  position: absolute;
  z-index: 5;
  right: -4px;
  bottom: 4px;
  width: 156px;
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .92)) drop-shadow(0 0 18px rgba(192, 132, 252, .58));
  animation: dioramaChestFloat 2.4s ease-in-out infinite alternate-reverse;
}

.manyue-portal-body .diorama-chest-royal {
  position: absolute;
  z-index: 6;
  left: 22px;
  bottom: 0px;
  width: 104px;
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .94)) drop-shadow(0 0 18px rgba(253, 224, 71, .52));
  animation: dioramaChestFloat 2.1s ease-in-out infinite alternate;
}

@keyframes dioramaChestFloat {
  0% { transform: translateY(0px) rotate(-2deg); }
  100% { transform: translateY(-6px) rotate(2deg); }
}

/* 규격 바로가기 바 */
.manyue-portal-body .banner-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 18px 0 14px;
}

.manyue-portal-body .banner-sizes > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  color: #c4b5fd;
  margin-right: auto;
}

.manyue-portal-body .banner-sizes a {
  border: 1px solid rgba(192, 132, 252, .42);
  border-radius: 5px;
  background: rgba(18, 10, 36, .9);
  padding: 8px 12px;
  color: #ede9fe;
  font: 700 11.5px Consolas, monospace;
  text-decoration: none;
  transition: border-color .2s, transform .2s, background .2s;
}

.manyue-portal-body .banner-sizes a b {
  color: #fde047;
  margin-right: 4px;
}

.manyue-portal-body .banner-sizes a:hover {
  border-color: #fde047;
  background: rgba(42, 22, 74, .95);
  transform: translateY(-1px);
}

.manyue-portal-body .banner-note {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: rgba(18, 10, 36, 0.9);
  border: 1px solid rgba(192, 132, 252, 0.44);
  border-radius: 8px;
  color: #ddd6fe;
  font-size: 12.5px;
  line-height: 1.65;
  margin: 4px 0 22px;
}

.manyue-portal-body .banner-note > span {
  white-space: nowrap;
  color: #fde047;
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: .1em;
}

.banner-note p { max-width: 720px; margin: 0; }

/* 배너 그리드 & 카드 */
.banner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.manyue-portal-body .banner-card {
  min-width: 0;
  background: linear-gradient(180deg, #130b26 0%, #090514 100%);
  border: 1px solid rgba(192, 132, 252, .4);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .7);
  scroll-margin-top: 110px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}

.manyue-portal-body .banner-card:hover {
  border-color: rgba(253, 224, 71, .78);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .86), 0 0 26px rgba(168, 85, 247, .22);
}

.banner-card-wide { grid-column: 1 / -1; }
.banner-card:has(.banner-preview[data-width="450"]) { grid-column: 1 / -1; }
.banner-card:has(.banner-preview[data-width="450"]) .banner-stage { min-height: 180px; padding: 20px; }

.banner-card-heading {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.manyue-portal-body .banner-card-heading h2 { margin: 4px 0 0; font-size: 18px; color: #faf5ff; }

.manyue-portal-body .banner-dimension {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(12, 7, 24, .92);
  border: 1px solid rgba(192, 132, 252, .45);
  color: #ede9fe;
  font: 700 11.5px Consolas, monospace;
  white-space: nowrap;
}

.manyue-portal-body .banner-dimension small { color: #fde047; }

.manyue-portal-body .banner-stage {
  position: relative;
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 20px;
  border-top: 1px solid rgba(192, 132, 252, .24);
  background:
    radial-gradient(ellipse at center, rgba(76, 29, 149, .38) 0%, #080512 76%),
    repeating-linear-gradient(-45deg, rgba(192, 132, 252, .018) 0 2px, transparent 2px 10px);
}

.banner-card-wide .banner-stage { min-height: 150px; padding: 22px 18px; }

.banner-player-shell {
  position: relative;
  width: 100%;
  max-width: var(--banner-width, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manyue-portal-body .banner-preview {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .9), 0 0 26px rgba(168, 85, 247, .24);
  background: #080512;
  border-radius: 4px;
}

.banner-preview hyperframes-player { display: block; width: 100%; height: 100%; position: absolute; inset: 0; }
.banner-preview iframe { border: 0; position: absolute; left: 0; top: 0; transform-origin: top left; }
.manyue-portal-body .banner-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #e9d5ff;
  font-size: 12px;
  font-weight: 700;
}

/* 배너 타임라인 컨트롤 바 */
.manyue-portal-body .banner-hf-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 20px;
  background: #0a0616;
  border-block: 1px solid rgba(192, 132, 252, .24);
}

.manyue-portal-body .hf-badge {
  font: 800 10px/1 Consolas, monospace;
  letter-spacing: .14em;
  color: #fde047;
  padding: 4px 7px;
  border-radius: 3px;
  background: rgba(147, 51, 234, .22);
  border: 1px solid rgba(192, 132, 252, .52);
}

.manyue-portal-body .hf-scrubber {
  flex: 1;
  height: 6px;
  background: #1e1338;
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.manyue-portal-body .hf-scrubber-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #9333ea, #c084fc, #fde047);
  box-shadow: 0 0 10px rgba(192, 132, 252, .85);
  transition: width .05s linear;
}

.manyue-portal-body .hf-timecode {
  font: 11px Consolas, monospace;
  color: #c4b5fd;
  min-width: 82px;
  text-align: right;
}

.banner-card-bottom { padding: 16px 20px; }
.manyue-portal-body .banner-card-bottom p { color: #d8cef0; font-size: 13px; line-height: 1.6; margin: 0 0 14px; }

.banner-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.manyue-portal-body .banner-actions button,
.manyue-portal-body .banner-actions a {
  font: inherit;
  font-size: 11.5px;
  font-weight: 700;
  color: #f3e8ff;
  border: 1px solid rgba(192, 132, 252, .45);
  border-radius: 5px;
  background: rgba(20, 12, 38, .92);
  padding: 8px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}

.manyue-portal-body .banner-actions button[data-play]:not(:disabled) {
  background: linear-gradient(135deg, rgba(147, 51, 234, .34), rgba(88, 28, 135, .24));
  border-color: #c084fc;
  color: #faf5ff;
}

.banner-actions button:disabled { opacity: .5; cursor: default; }

.manyue-portal-body .banner-actions a:hover,
.manyue-portal-body .banner-actions button:not(:disabled):hover {
  color: #ffffff;
  border-color: #fde047;
  background: rgba(46, 23, 82, .96);
  transform: translateY(-1px);
}

.manyue-portal-body .banner-gallery :focus-visible { outline: 2px solid #c084fc; outline-offset: 4px; }
.manyue-portal-body .banner-status { color: #fde047; font-size: 12px; font-weight: 700; margin: 0 20px 14px; }
.banner-status:empty { display: none; }

.manyue-portal-body .banner-usage {
  margin-top: 36px;
  padding: 24px 28px;
  border-radius: 8px;
  background: rgba(16, 9, 32, .88);
  border: 1px solid rgba(192, 132, 252, .38);
}

.manyue-portal-body .banner-usage h2 { font-size: 16px; color: #fde047; margin-top: 0; margin-bottom: 12px; }
.manyue-portal-body .banner-usage p { color: #ddd6fe; font-size: 13px; line-height: 1.8; max-width: 880px; margin-bottom: 8px; }

@media (max-width: 820px) {
  .manyue-portal-body .banner-intro {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 24px 18px;
    gap: 18px;
  }
  .banner-intro-specs,
  .banner-intro-links { justify-content: center; }
  .manyue-portal-body .banner-hero-emblem { width: 245px; height: 185px; order: -1; }
}

@media (max-width: 700px) {
  .banner-gallery { padding: 0; }
  .subpage-quick-tabs { gap: 6px; margin-bottom: 16px; }
  .quick-tab-link { padding: 7px 11px; font-size: 12px; gap: 6px; }
  .banner-grid { grid-template-columns: 1fr; gap: 16px; }
  .banner-note { flex-direction: column; align-items: flex-start; gap: 8px; }
  .banner-sizes > span { width: 100%; }
  .banner-card-heading { flex-direction: column; align-items: flex-start; padding: 14px 16px; }
  .banner-stage { min-height: 0; padding: 16px 10px; }
  .banner-card-wide .banner-stage { padding: 18px 10px; min-height: 0; }
  .banner-hf-bar { padding: 8px 14px; gap: 8px; }
  .banner-card-bottom { padding: 14px 16px; }
  .banner-usage { padding: 18px 14px; }
}
