/* 캐릭터 페이지 전용 스타일입니다. */
.sf-guide-document {
  overflow-x: hidden;
}

.sf-guide-page {
  overflow-x: clip;
  background: #ffffff;
  color: #111111;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sf-guide-header,
.sf-guide-footer,
.sf-guide-hero,
.sf-guide-primary-tabs,
.sf-character-stage {
  --guide-shell: min(1720px, calc(100vw - 80px));
}

.sf-guide-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #10131a;
}

.sf-guide-header__inner,
.sf-guide-footer__inner,
.sf-guide-primary-tabs,
.sf-guide-hero,
.sf-character-stage {
  width: var(--guide-shell);
  margin: 0 auto;
}

.sf-guide-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 92px;
}

.sf-guide-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sf-guide-header #site-navigation {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
}

.sf-guide-header #site-navigation a {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.sf-guide-header #site-navigation a[aria-current="page"] {
  color: #f1bb1d;
}

.sf-guide-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 12px;
  background: linear-gradient(110deg, #ffc000 0%, #ffa600 100%);
  box-shadow: inset 0 4px 2px rgba(255, 255, 255, 0.4);
  color: #111111;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.sf-guide-header .site-menu-button {
  display: none;
  justify-self: end;
  background: transparent;
  color: #ffffff;
}

.sf-guide-main {
  padding: 40px 0 120px;
}

.sf-guide-hero {
  position: relative;
  min-height: 400px;
  margin-bottom: 68px;
  overflow: visible;
  border-radius: 30px;
  background: #111111;
}

.sf-guide-hero__media {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.sf-guide-hero__bg,
.sf-guide-hero__vehicle,
.sf-guide-hero__bottom {
  position: absolute;
  pointer-events: none;
}

.sf-guide-hero__bg--base,
.sf-guide-hero__bg--overlay {
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.sf-guide-hero__bg--overlay {
  mix-blend-mode: screen;
  opacity: 0.68;
}

.sf-guide-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.38) 48%, rgba(0, 0, 0, 0.75) 100%);
}

.sf-guide-hero__vehicle--truck {
  top: -320px;
  right: 195px;
  z-index: 3;
  width: min(80vw, 1350px);
  transform: rotate(9deg);
}

.sf-guide-hero__vehicle--heli {
  right: 110px;
  top: -35px;
  z-index: 2;
  width: min(46vw, 720px);
  transform: rotate(-11deg);
}

.sf-guide-hero__bottom {
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  border-radius: inherit;
}

.sf-guide-hero__copy {
  position: absolute;
  top: 205px;
  left: 65px;
  z-index: 4;
  max-width: 540px;
  color: #ffffff;
}

.sf-guide-hero h1 {
  margin: 0 0 26px;
  font-size: 40px;
  line-height: 1.2;
}

.sf-guide-hero p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.5;
}

.sf-guide-primary-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 58px;
  overflow: hidden;
  border: 1px solid #eeeff3;
  background: #f6f6f6;
}

.sf-guide-primary-tabs a {
  display: grid;
  min-height: 68px;
  place-items: center;
  color: #3b3d45;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.sf-guide-primary-tabs a[aria-current="page"] {
  background: #f1bb1d;
  color: #000000;
  font-weight: 800;
  /* 게임정보 탭의 선택 표시와 같은 하단 강조선을 사용합니다. */
  box-shadow: inset 0 -2px #30333d;
}

.sf-character-stage__panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 76% 28%, rgba(233, 183, 39, 0.24), transparent 28%),
    linear-gradient(135deg, #12161d 0%, #090b10 50%, #0c0d11 100%);
  box-shadow: 0 34px 90px rgba(10, 11, 15, 0.16);
}

.sf-character-stage__hero {
  position: absolute;
  inset: 0;
  opacity: 0.18;
}

.sf-character-stage__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-character-stage__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr) minmax(320px, 520px);
  gap: 28px;
  align-items: end;
  padding: 54px 54px 42px;
}

.sf-character-stage__intro {
  grid-column: 1 / 3;
  max-width: 820px;
  color: #ffffff;
}

.sf-character-stage__eyebrow {
  margin: 0 0 12px;
  color: #f1bb1d;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.sf-character-stage__intro h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1.12;
}

.sf-character-stage__lead {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.7;
}

.sf-character-stage__grid-shell {
  align-self: stretch;
}

.sf-character-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sf-character-card {
  position: relative;
  min-height: 220px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  text-align: left;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.sf-character-card:hover {
  transform: translateY(-4px);
}

.sf-character-card[aria-pressed="true"] {
  border-color: rgba(241, 187, 29, 0.92);
  background: linear-gradient(180deg, rgba(241, 187, 29, 0.15), rgba(255, 255, 255, 0.05));
}

.sf-character-card__mark {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(9, 11, 16, 0.78);
  color: #f6f2d0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.sf-character-card__figure {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 72%;
  max-width: 250px;
  max-height: 210px;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.38));
}

.sf-character-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  align-content: end;
  min-height: 170px;
}

.sf-character-card__country {
  align-self: end;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  font-weight: 600;
}

.sf-character-card__name {
  margin: 0;
  max-width: 140px;
  font-size: 21px;
  line-height: 1.25;
}

.sf-character-card__role {
  max-width: 180px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.sf-character-stage__detail {
  align-self: stretch;
  padding: 34px 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.sf-character-stage__country {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  font-weight: 700;
}

.sf-character-stage__unit {
  margin: 0 0 14px;
  font-size: clamp(28px, 2vw, 38px);
}

.sf-character-stage__tagline {
  margin: 0 0 22px;
  color: #f1bb1d;
  font-size: 15px;
  font-weight: 700;
}

.sf-character-stage__copy {
  display: grid;
  gap: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.75;
}

.sf-character-stage__copy p {
  margin: 0;
}

.sf-character-stage__figure-wrap {
  position: relative;
  align-self: stretch;
  min-height: 620px;
}

.sf-character-stage__figure-glow {
  position: absolute;
  right: 42px;
  bottom: 46px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 187, 29, 0.34), rgba(241, 187, 29, 0.04) 62%, transparent 72%);
  filter: blur(16px);
}

.sf-character-stage__figure {
  position: absolute;
  right: 0;
  bottom: -8px;
  width: min(100%, 520px);
  height: min(100%, 760px);
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.4));
}

@media (max-width: 1399px) {
  .sf-character-stage__content {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  }

  .sf-character-stage__intro,
  .sf-character-stage__grid-shell,
  .sf-character-stage__detail {
    grid-column: 1;
  }

  .sf-character-stage__figure-wrap {
    grid-column: 2;
    grid-row: 1 / span 3;
    min-height: 860px;
  }
}

@media (max-width: 1023px) {
  .sf-guide-main {
    padding-bottom: 88px;
  }

  .sf-guide-header__inner {
    grid-template-columns: auto auto;
    gap: 14px;
    min-height: 82px;
  }

  .sf-guide-header #site-navigation {
    display: none;
  }

  .sf-guide-header .site-menu-button {
    display: inline-flex;
  }

  .sf-guide-start {
    grid-column: 1 / -1;
    width: 100%;
  }

  .sf-guide-hero {
    min-height: 300px;
    margin-bottom: 34px;
  }

  .sf-guide-hero__copy {
    top: auto;
    bottom: 34px;
    left: 30px;
    right: 30px;
    max-width: none;
  }

  .sf-guide-hero__vehicle--truck {
    top: -120px;
    right: 24px;
    width: min(108vw, 780px);
  }

  .sf-guide-hero__vehicle--heli {
    top: 10px;
    right: -20px;
    width: min(56vw, 420px);
  }

  .sf-guide-primary-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 34px;
  }

  /* 3열로 접히는 시점부터 게임정보 탭과 같은 항목 높이·글자 크기를 씁니다. */
  .sf-guide-primary-tabs a {
    min-height: 56px;
    font-size: 15px;
  }

  .sf-character-stage__content {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 36px 24px 30px;
  }

  .sf-character-stage__intro,
  .sf-character-stage__grid-shell,
  .sf-character-stage__detail,
  .sf-character-stage__figure-wrap {
    grid-column: auto;
    grid-row: auto;
  }

  .sf-character-stage__figure-wrap {
    min-height: 420px;
  }

  .sf-character-stage__figure {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

@media (max-width: 720px) {
  .sf-guide-header,
  .sf-guide-footer,
  .sf-guide-hero,
  .sf-guide-primary-tabs,
  .sf-character-stage {
    --guide-shell: min(100vw - 24px, 100%);
  }

  .sf-guide-hero__copy {
    left: 22px;
    right: 22px;
  }

  .sf-guide-hero__copy p:last-child {
    font-size: 16px;
  }

  .sf-character-grid {
    grid-template-columns: 1fr;
  }

  .sf-character-card {
    min-height: 190px;
  }

  .sf-character-stage__detail {
    padding: 28px 22px;
  }

  .sf-character-stage__unit {
    font-size: 24px;
  }

  .sf-character-stage__copy {
    font-size: 15px;
  }
}

/* 피그마 기준 캐릭터 3단 레이아웃: 좌측 선택 목록, 중앙 설명, 우측 상반신 이미지 */
.sf-character-stage__panel {
  min-height: 1040px;
  border: 1px solid rgba(241, 187, 29, 0.6);
  border-radius: 0;
  background: #101214;
  box-shadow: none;
}

.sf-character-stage__hero {
  opacity: 1;
}

.sf-character-stage__hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(7, 8, 10, 0.5) 54%, rgba(0, 0, 0, 0.42)), linear-gradient(0deg, rgba(0, 0, 0, 0.52), transparent 58%);
  content: "";
}

.sf-character-stage__hero img {
  filter: brightness(0.54) saturate(0.62);
}

.sf-character-stage__content {
  display: grid;
  min-height: 1038px;
  grid-template-columns: minmax(300px, 390px) minmax(360px, 510px) minmax(410px, 1fr);
  grid-template-rows: 220px minmax(720px, 1fr);
  column-gap: 22px;
  row-gap: 0;
  align-items: stretch;
  padding: 72px 54px 0;
}

.sf-character-stage__intro {
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: start;
  max-width: none;
  color: #ffffff;
  text-align: center;
}

.sf-character-stage__intro h2 {
  margin: 0;
  font-size: clamp(40px, 3.5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.sf-character-stage__eyebrow,
.sf-character-stage__lead {
  display: none;
}

.sf-character-stage__grid-shell {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

.sf-character-grid {
  grid-auto-rows: 238px;
  gap: 3px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: #050505;
}

.sf-character-card {
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: #050505;
}

.sf-character-card:hover {
  transform: none;
}

.sf-character-card[aria-pressed="true"] {
  border-color: #f1bb1d;
  background: linear-gradient(0deg, rgba(241, 187, 29, 0.72), transparent 48%);
}

.sf-character-card__mark {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 48px;
  min-height: 28px;
  font-size: 11px;
}

.sf-character-card__body {
  display: none;
}

.sf-character-card__figure {
  right: 0;
  bottom: auto;
  left: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.22);
  transform-origin: center top;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.52));
}

.sf-character-stage__grid-guide {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
}

.sf-character-stage__detail {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  min-height: 560px;
  margin-top: 0;
  padding: 38px 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(8, 10, 13, 0.78);
  backdrop-filter: blur(4px);
}

.sf-character-stage__country {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.sf-character-stage__unit {
  margin-bottom: 22px;
  font-size: clamp(28px, 2.3vw, 40px);
}

.sf-character-stage__tagline {
  margin-bottom: 24px;
  color: #f1bb1d;
  font-size: 16px;
}

.sf-character-stage__copy {
  gap: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.9;
}

.sf-character-stage__figure-wrap {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: stretch;
  min-height: 0;
  overflow: hidden;
}

.sf-character-stage__figure-glow {
  display: none;
}

.sf-character-stage__figure {
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.28);
  transform-origin: center top;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.48));
}

.sf-character-stage__zoom {
  position: absolute;
  right: 26px;
  bottom: 90px;
  z-index: 3;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  background: rgba(16, 18, 22, 0.68);
  transition: 180ms ease;
}

.sf-character-stage__zoom img {
  width: 38px;
  height: 38px;
}

.sf-character-stage__zoom:hover,
.sf-character-stage__zoom:focus-visible {
  border-color: #f1bb1d;
  background: #f1bb1d;
}

.sf-character-video {
  width: min(460px, calc(100vw - 32px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  background: #060708;
  color: #ffffff;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7);
}

.sf-character-video::backdrop {
  background: rgba(0, 0, 0, 0.64);
}

.sf-character-video__frame {
  position: relative;
  min-height: 640px;
  padding: 32px 30px 24px;
}

.sf-character-video__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
}

.sf-character-video__heading {
  position: relative;
  z-index: 2;
}

.sf-character-video__heading p {
  margin: 0 0 8px;
  color: #f1bb1d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.sf-character-video__heading h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.sf-character-video__player {
  position: absolute;
  inset: 88px 28px 62px;
  display: grid;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(241, 187, 29, 0.6);
  background: radial-gradient(circle at 50% 35%, #321414, #08090b 58%);
}

.sf-character-video__player::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.1));
  content: "";
}

.sf-character-video__player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.7;
  transform: scale(1.26);
  transform-origin: center top;
  transition: 180ms ease;
}

.sf-character-video__player:hover img,
.sf-character-video__player:focus-visible img {
  opacity: 0.95;
  transform: scale(1.32);
}

.sf-character-video__play {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 64px;
  text-shadow: 0 0 24px rgba(0, 0, 0, 0.8);
}

.sf-character-video__caption {
  position: absolute;
  right: 30px;
  bottom: 22px;
  left: 30px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 1399px) {
  .sf-character-stage__panel {
    min-height: 940px;
  }

  .sf-character-stage__content {
    min-height: 938px;
    grid-template-columns: minmax(270px, 340px) minmax(340px, 1fr) minmax(330px, 0.9fr);
    grid-template-rows: 180px minmax(660px, 1fr);
    padding: 56px 38px 0;
  }

  .sf-character-grid {
    grid-auto-rows: 206px;
  }

  .sf-character-stage__detail {
    min-height: 490px;
  }
}

@media (max-width: 1023px) {
  .sf-character-stage__panel {
    min-height: 0;
  }

  .sf-character-stage__content {
    display: grid;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 22px;
    padding: 42px 24px 30px;
  }

  .sf-character-stage__intro,
  .sf-character-stage__grid-shell,
  .sf-character-stage__detail,
  .sf-character-stage__figure-wrap {
    grid-column: auto;
    grid-row: auto;
  }

  .sf-character-stage__intro h2 {
    font-size: 38px;
  }

  .sf-character-stage__grid-shell {
    order: 2;
  }

  .sf-character-stage__detail {
    order: 3;
    min-height: 0;
  }

  .sf-character-stage__figure-wrap {
    order: 4;
    min-height: 480px;
  }

  .sf-character-stage__figure {
    left: auto;
    right: 0;
    transform: scale(1.2);
  }
}

@media (max-width: 720px) {
  .sf-character-stage__content {
    padding: 34px 16px 20px;
  }

  .sf-character-stage__intro h2 {
    font-size: 30px;
  }

  .sf-character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
  }

  .sf-character-stage__detail {
    padding: 28px 22px;
  }

  .sf-character-stage__copy {
    font-size: 15px;
  }

  .sf-character-stage__figure-wrap {
    min-height: 390px;
  }

  .sf-character-stage__zoom {
    right: 14px;
    bottom: 28px;
    width: 58px;
    height: 58px;
  }

  .sf-character-stage__zoom img {
    width: 30px;
    height: 30px;
  }

  .sf-character-video__frame {
    min-height: 570px;
    padding: 28px 20px 22px;
  }

  .sf-character-video__player {
    inset: 78px 18px 58px;
  }

  .sf-character-video__caption {
    right: 20px;
    bottom: 20px;
    left: 20px;
    font-size: 13px;
  }
}

/* 제공된 Figma 캐릭터 자산을 기준으로 한 최종 3단 배치입니다. */
.sf-character-stage__panel {
  min-height: 1060px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #111318;
}

.sf-character-stage__hero {
  opacity: 1;
}

.sf-character-stage__hero::after {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.22), rgba(5, 7, 10, 0.04) 50%, rgba(5, 7, 10, 0.15)),
    linear-gradient(0deg, rgba(4, 6, 9, 0.16), transparent 48%);
}

.sf-character-stage__hero img {
  filter: none;
  object-position: center center;
}

.sf-character-stage__content {
  min-height: 1060px;
  grid-template-columns: minmax(360px, 0.92fr) minmax(390px, 1fr) minmax(440px, 1.18fr);
  grid-template-rows: 170px minmax(760px, 1fr);
  column-gap: 22px;
  padding: 70px 58px 0;
}

.sf-character-stage__intro {
  align-self: start;
}

.sf-character-stage__intro h2 {
  font-size: clamp(40px, 3vw, 56px);
  line-height: 1.15;
}

.sf-character-stage__grid-shell {
  width: 100%;
  align-self: start;
}

.sf-character-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #000000;
}

.sf-character-card {
  aspect-ratio: 1;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #000000;
}

.sf-character-card::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 36%;
  background: linear-gradient(0deg, rgba(241, 187, 29, 0.8), rgba(241, 187, 29, 0));
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

/* 인물 이미지의 밝기나 색에 묻히지 않고 선택 위치를 즉시 구분할 수 있어야 합니다. */
.sf-character-card::before {
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 4px solid transparent;
  content: "";
  pointer-events: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}



.sf-character-card[aria-pressed="true"],
.sf-character-card.is-selected {
  z-index: 3;
  border-color: transparent;
  background: #000000;
  box-shadow: none;
}

.sf-character-card[aria-pressed="true"]::before,
.sf-character-card.is-selected::before {
  border-color: #ffc000;
  box-shadow: inset 0 0 0 1px #f1bb1d, inset 0 0 18px rgba(241, 187, 29, 0.42);
}

.sf-character-card[aria-pressed="true"]::after,
.sf-character-card.is-selected::after {
  opacity: 1;
}

.sf-character-card__mark,
.sf-character-card__body {
  display: none;
}

.sf-character-card__figure {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  transform: none;
  filter: saturate(0.62) brightness(0.76);
  transition: filter 180ms ease;
}

.sf-character-card[data-character-id="spetsnaz"] .sf-character-card__figure {
  object-fit: cover;
  object-position: center;
  transform: none;
}

.sf-character-card[aria-pressed="true"] .sf-character-card__figure,
.sf-character-card.is-selected .sf-character-card__figure {
  filter: none;
}

.sf-character-stage__grid-guide {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
}

.sf-character-stage__detail {
  min-height: 560px;
  padding: 34px 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(5, 7, 10, 0.76);
  backdrop-filter: blur(3px);
}

.sf-character-stage__detail-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.sf-character-stage__emblem {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  object-fit: contain;
}

.sf-character-stage__country {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.sf-character-stage__unit {
  margin: 0;
  font-size: clamp(27px, 2vw, 36px);
  line-height: 1.2;
}

.sf-character-stage__tagline {
  display: none;
}

.sf-character-stage__copy {
  gap: 13px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.86;
}

.sf-character-stage__figure-wrap {
  min-height: 0;
  overflow: hidden;
}

.sf-character-stage__figure {
  right: -4%;
  bottom: -2%;
  width: 112%;
  height: 84%;
  object-fit: contain;
  object-position: right bottom;
  transform: none;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.42));
  transition: opacity 160ms ease;
}

.sf-character-stage__zoom {
  right: 34px;
  bottom: 50px;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: rgba(12, 15, 20, 0.62);
}

.sf-character-video {
  width: min(419px, calc(100vw - 28px));
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sf-character-video::backdrop {
  background: rgba(0, 0, 0, 0.52);
}

.sf-character-video__frame {
  min-height: 0;
  padding: 0;
}

.sf-character-video__close {
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(0, 0, 0, 0.65);
  font-size: 24px;
}

.sf-character-video__player {
  position: static;
  display: block;
  overflow: visible;
  border: 0;
  background: transparent;
}

.sf-character-video__player::after {
  display: none;
}

.sf-character-video__player img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1;
  transform: none;
}

.sf-character-video__player:hover img,
.sf-character-video__player:focus-visible img {
  opacity: 1;
  transform: none;
}

@media (max-width: 1399px) {
  .sf-character-stage__panel,
  .sf-character-stage__content {
    min-height: 930px;
  }

  .sf-character-stage__content {
    grid-template-columns: minmax(300px, 0.9fr) minmax(330px, 1fr) minmax(360px, 1.15fr);
    grid-template-rows: 140px minmax(690px, 1fr);
    padding: 50px 38px 0;
  }

  .sf-character-stage__detail {
    min-height: 500px;
    padding: 30px 27px;
  }

  .sf-character-stage__copy {
    font-size: 15px;
  }

  .sf-character-stage__figure {
    height: 82%;
  }
}

@media (max-width: 1023px) {
  .sf-character-stage__panel,
  .sf-character-stage__content {
    min-height: 0;
  }

  .sf-character-stage__content {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 24px;
    padding: 42px 28px 24px;
  }

  .sf-character-stage__intro,
  .sf-character-stage__grid-shell,
  .sf-character-stage__detail,
  .sf-character-stage__figure-wrap {
    grid-column: 1;
    grid-row: auto;
  }

  .sf-character-stage__intro h2 {
    font-size: 38px;
  }

  .sf-character-stage__grid-shell {
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .sf-character-stage__detail {
    width: min(100%, 620px);
    min-height: 0;
    margin: 0 auto;
  }

  .sf-character-stage__figure-wrap {
    min-height: 620px;
  }

  .sf-character-stage__figure {
    left: 50%;
    right: auto;
    bottom: -4%;
    width: min(100%, 650px);
    height: 100%;
    transform: translateX(-50%);
  }
}

@media (max-width: 720px) {
  .sf-character-stage__content {
    padding: 32px 14px 18px;
  }

  .sf-character-stage__intro h2 {
    font-size: 28px;
  }

  .sf-character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .sf-character-stage__detail {
    padding: 24px 20px;
  }

  .sf-character-stage__detail-heading {
    gap: 14px;
  }

  .sf-character-stage__emblem {
    width: 52px;
    height: 52px;
  }

  .sf-character-stage__figure-wrap {
    min-height: 430px;
  }

  .sf-character-stage__zoom {
    right: 14px;
    bottom: 22px;
  }
}

/* 오른쪽 캐릭터는 설명 카드보다 앞에서 살짝 겹치며 패널 하단에 맞춥니다. */
@media (min-width: 1024px) {
  .sf-character-stage__detail {
    position: relative;
    z-index: 2;
  }

  .sf-character-stage__figure-wrap {
    z-index: 4;
    grid-column: 3;
    grid-row: 2;
    min-height: 100%;
    margin-left: -24px;
    overflow: visible;
    align-self: stretch;
    pointer-events: none;
  }

  .sf-character-stage__figure {
    z-index: 5;
    right: -20px;
    bottom: 0;
    width: calc(100% + 36px);
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
    transform: none;
  }

  .sf-character-stage__zoom {
    z-index: 6;
    right: 16px;
    bottom: 22px;
    pointer-events: auto;
  }
}

@media (max-width: 1023px) {
  .sf-character-stage__figure-wrap {
    z-index: 2;
    margin-left: 0;
    overflow: hidden;
  }

  .sf-character-stage__figure {
    bottom: 0;
    object-fit: contain;
    object-position: center bottom;
  }
}

/*
 * 데스크톱 캐릭터 무대는 중앙 설명 카드의 하단을 시각 기준선으로 사용합니다.
 * 오른쪽 캐릭터는 설명 카드보다 앞에 놓되 같은 행 안에서 끝나도록 높이를 제한합니다.
 */
@media (min-width: 1400px) {
  .sf-character-stage__panel,
  .sf-character-stage__content {
    min-height: 740px;
  }

  .sf-character-stage__content {
    grid-template-rows: 120px 560px;
    padding: 36px 48px 24px;
  }

  .sf-character-stage__detail,
  .sf-character-stage__figure-wrap {
    height: 560px;
    min-height: 560px;
  }
}

@media (min-width: 1024px) and (max-width: 1399px) {
  .sf-character-stage__panel,
  .sf-character-stage__content {
    min-height: 680px;
  }

  .sf-character-stage__content {
    grid-template-rows: 108px 500px;
    padding: 34px 34px 24px;
    column-gap: 18px;
  }

  .sf-character-stage__detail,
  .sf-character-stage__figure-wrap {
    height: 500px;
    min-height: 500px;
  }

  .sf-character-stage__detail {
    padding: 26px 24px;
  }
}

@media (min-width: 1024px) {
  .sf-character-stage__figure-wrap {
    align-self: start;
    margin-left: -30px;
  }

  .sf-character-stage__figure {
    right: -12px;
    bottom: 0;
    width: calc(100% + 48px);
    height: calc(100% + 34px);
    object-position: right bottom;
  }

  .sf-character-stage__zoom {
    right: 12px;
    bottom: 12px;
    width: 52px;
    height: 52px;
    border-radius: 8px;
  }

  .sf-character-stage__zoom img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 1023px) {
  .sf-character-stage__zoom {
    width: 50px;
    height: 50px;
  }

  .sf-character-stage__zoom img {
    width: 27px;
    height: 27px;
  }
}

/*
 * 넓은 화면에서는 캐릭터 카드 목록만 내부 스크롤되도록 하여
 * 전체 무대 높이를 유지하면서 모든 캐릭터에 접근할 수 있게 합니다.
 */
@media (min-width: 1024px) {
  .sf-character-stage__grid-shell {
    min-height: 0;
    overflow: hidden;
  }

  .sf-character-grid {
    max-height: calc(100% - 34px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 4px;
    scrollbar-color: #f1bb1d rgba(255, 255, 255, 0.14);
    scrollbar-width: thin;
  }

  .sf-character-grid::-webkit-scrollbar {
    width: 7px;
  }

  .sf-character-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
  }

  .sf-character-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #f1bb1d;
  }
}

@media (min-width: 1400px) {
  .sf-character-stage__panel,
  .sf-character-stage__content {
    min-height: 840px;
  }

  .sf-character-stage__content {
    grid-template-rows: 130px 620px;
    padding: 44px 48px 46px;
  }

  .sf-character-stage__grid-shell,
  .sf-character-stage__detail,
  .sf-character-stage__figure-wrap {
    height: 620px;
    min-height: 620px;
  }
}

@media (min-width: 1024px) and (max-width: 1399px) {
  .sf-character-stage__panel,
  .sf-character-stage__content {
    min-height: 760px;
  }

  .sf-character-stage__content {
    grid-template-rows: 120px 560px;
    padding: 40px 34px;
  }

  .sf-character-stage__grid-shell,
  .sf-character-stage__detail,
  .sf-character-stage__figure-wrap {
    height: 560px;
    min-height: 560px;
  }
}

/*
 * 캐릭터 무대 최종 배치:
 * 선택 목록 / 상시 노출 영상 / 선택 부대원을 나란히 두고 상세 설명은 하단에 배치합니다.
 */
.sf-character-stage__panel,
.sf-character-stage__content {
  min-height: 0;
}

.sf-character-stage__panel {
  background: #0b0e14;
}

.sf-character-stage__hero::after {
  background:
    linear-gradient(90deg, rgba(4, 6, 9, 0.48), rgba(4, 6, 9, 0.12) 52%, rgba(4, 6, 9, 0.34)),
    linear-gradient(0deg, rgba(4, 6, 9, 0.72), rgba(4, 6, 9, 0.02) 58%);
}

.sf-character-stage__content {
  grid-template-columns: minmax(280px, 0.86fr) minmax(300px, 0.92fr) minmax(320px, 1.08fr);
  grid-template-rows: auto minmax(560px, auto) auto;
  align-items: stretch;
  gap: 26px 28px;
  padding: 42px 48px 48px;
}

.sf-character-stage__intro {
  grid-column: 1 / -1;
  grid-row: 1;
}

.sf-character-stage__intro h2 {
  margin-bottom: 0;
}

.sf-character-stage__grid-shell {
  display: flex;
  grid-column: 1;
  grid-row: 2 / 4;
  width: 100%;
  height: auto;
  min-height: 0;
  flex-direction: column;
  align-self: stretch;
  overflow: visible;
}

.sf-character-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: none;
  flex: 0 0 auto;
  overflow: hidden;
  padding-right: 0;
}

.sf-character-card {
  aspect-ratio: 1;
}

.sf-character-stage__grid-guide {
  margin-top: 16px;
}

.sf-character-stage__video {
  display: grid;
  grid-column: 2;
  grid-row: 2;
  width: min(100%, 330px);
  min-width: 0;
  align-self: start;
  align-content: start;
  justify-self: start;
  justify-items: center;
  padding: 16px;
  border: 0;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 28%, rgba(241, 187, 29, 0.13), transparent 42%),
    rgba(5, 7, 11, 0.88);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.26);
}

.sf-character-stage__video-frame {
  position: relative;
  width: min(100%, 286px);
  max-height: none;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #000000;
}

.sf-character-stage__video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.sf-character-stage__video-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 286px);
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sf-character-stage__video-fallback:hover,
.sf-character-stage__video-fallback:focus-visible {
  color: var(--site-yellow);
}

.sf-character-stage__figure-wrap {
  position: relative;
  z-index: 1;
  grid-column: 3;
  grid-row: 2;
  min-height: 560px;
  margin-left: 0;
  align-self: stretch;
  overflow: visible;
  pointer-events: none;
}

.sf-character-stage__figure-glow {
  right: 8%;
  bottom: 4%;
  width: 76%;
  height: 58%;
}

.sf-character-stage__figure {
  right: 0;
  bottom: 0;
  width: 100%;
  height: 104%;
  object-fit: contain;
  object-position: center bottom;
  transform: scale(1.15);
  transform-origin: center bottom;
}

.sf-character-stage__zoom {
  display: none;
}

.sf-character-stage__detail {
  position: relative;
  z-index: 4;
  display: grid;
  grid-column: 2 / 4;
  grid-row: 3;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  grid-template-rows: auto auto 1fr;
  gap: 12px 34px;
  width: 100%;
  height: auto;
  min-height: 0;
  margin-top: calc(
    -54px
    - var(--sf-character-video-rise, 0px)
    - var(--sf-character-detail-gap-rise, 0px)
  );
  padding: 28px 30px;
  border-radius: 12px;
  background: rgba(5, 7, 10, 0.84);
}

.sf-character-stage__detail-heading {
  grid-column: 1;
  grid-row: 1;
  display: block;
  margin-bottom: 0;
}

.sf-character-stage__emblem {
  grid-column: 1;
  grid-row: 2;
  width: 56px;
  height: 56px;
  margin-top: 14px;
}

.sf-character-stage__country {
  margin-bottom: 4px;
  font-size: 14px;
}

.sf-character-stage__unit {
  font-size: clamp(24px, 2vw, 32px);
}

.sf-character-stage__tagline {
  display: block;
  grid-column: 1;
  grid-row: 3;
  margin: 0;
  color: #f1bb1d;
  font-size: 14px;
  line-height: 1.6;
}

.sf-character-stage__copy {
  grid-column: 2;
  grid-row: 1 / 4;
  align-content: start;
  gap: 8px;
  font-size: 15px;
  line-height: 1.72;
}

@media (min-width: 1400px) {
  .sf-character-stage__panel,
  .sf-character-stage__content {
    min-height: 0;
  }

  .sf-character-stage__content {
    --sf-character-video-rise: 70px;
    --sf-character-detail-gap-rise: 78px;

    grid-template-rows: auto minmax(610px, auto) auto;
    padding: 48px 54px 54px;
  }

  .sf-character-stage__grid-shell,
  .sf-character-stage__detail,
  .sf-character-stage__figure-wrap {
    height: auto;
  }

  .sf-character-stage__figure-wrap {
    min-height: 610px;
  }
}

@media (min-width: 1024px) and (max-width: 1399px) {
  .sf-character-stage__panel,
  .sf-character-stage__content {
    min-height: 0;
  }

  .sf-character-stage__content {
    --sf-character-video-rise: 18px;
    --sf-character-detail-gap-rise: 33px;

    grid-template-columns: minmax(250px, 0.82fr) minmax(270px, 0.9fr) minmax(290px, 1fr);
    grid-template-rows: auto minmax(510px, auto) auto;
    gap: 22px 18px;
    padding: 38px 30px 40px;
  }

  .sf-character-stage__grid-shell,
  .sf-character-stage__detail,
  .sf-character-stage__figure-wrap {
    height: auto;
    min-height: 0;
  }

  .sf-character-stage__figure-wrap {
    min-height: 510px;
    margin-left: 0;
  }

  .sf-character-stage__video {
    padding: 16px;
  }

  .sf-character-stage__video-frame {
    max-height: none;
  }

  .sf-character-stage__detail {
    padding: 24px;
  }
}

@media (max-width: 1023px) {
  .sf-character-stage__content {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 24px;
    padding: 40px 28px 30px;
  }

  .sf-character-stage__intro,
  .sf-character-stage__grid-shell,
  .sf-character-stage__video,
  .sf-character-stage__figure-wrap,
  .sf-character-stage__detail {
    grid-column: 1;
    grid-row: auto;
  }

  .sf-character-stage__intro {
    order: 0;
  }

  .sf-character-stage__grid-shell {
    order: 1;
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .sf-character-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sf-character-stage__video {
    order: 2;
    width: min(66.666%, 287px);
    margin: 0 auto;
  }

  .sf-character-stage__figure-wrap {
    order: 3;
    width: min(100%, 680px);
    min-height: 600px;
    margin: 0 auto;
  }

  .sf-character-stage__figure {
    left: 50%;
    right: auto;
    width: min(100%, 620px);
    height: 100%;
    transform: translateX(-50%) scale(1.15);
    transform-origin: center bottom;
  }

  .sf-character-stage__detail {
    order: 4;
    grid-template-columns: minmax(200px, 0.68fr) minmax(0, 1.32fr);
    width: min(100%, 760px);
    margin: -54px auto 0;
  }
}

@media (max-width: 720px) {
  .sf-character-stage__content {
    padding: 30px 14px 20px;
  }

  .sf-character-stage__intro h2 {
    font-size: 28px;
  }

  .sf-character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sf-character-stage__video {
    padding: 14px;
  }

  .sf-character-stage__video-frame {
    width: min(100%, 194px);
  }

  .sf-character-stage__figure-wrap {
    min-height: 430px;
  }

  .sf-character-stage__detail {
    display: block;
    padding: 22px 20px;
  }

  .sf-character-stage__detail-heading {
    margin-bottom: 12px;
  }

  .sf-character-stage__emblem {
    margin: 0 0 14px;
  }

  .sf-character-stage__tagline {
    margin-bottom: 18px;
  }

  .sf-character-stage__copy {
    font-size: 14px;
  }
}

/* 데스크톱에서는 선택 캐릭터와 영상을 좌우 반대 위치로 배치합니다. */
@media (min-width: 1024px) {
  .sf-character-stage__video {
    grid-column: 3;
    justify-self: end;
    z-index: 6;
  }

  .sf-character-stage__figure-wrap {
    grid-column: 2;
    transform: translateX(clamp(28px, 3vw, 48px));
  }

  .sf-character-stage__figure {
    transform: scale(1.22);
  }

  .sf-character-stage__country {
    font-size: clamp(12px, 0.95vw, 14px);
  }

  .sf-character-stage__unit {
    font-size: clamp(20px, 1.8vw, 30px);
  }

  .sf-character-stage__tagline,
  .sf-character-stage__copy {
    font-size: clamp(12px, 1vw, 15px);
  }

  .sf-character-stage__detail {
    grid-column: 2;
    min-width: 0;
    width: 40.5vw;
    grid-template-columns: minmax(52px, 64px) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 12px 16px;
    justify-self: start;
  }

  .sf-character-stage__detail-heading {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
  }

  .sf-character-stage__emblem {
    grid-column: 1;
    grid-row: 1;
    width: clamp(52px, 4vw, 64px);
    height: clamp(52px, 4vw, 64px);
    margin: 0;
  }

  .sf-character-stage__tagline {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
  }

  .sf-character-stage__copy {
    grid-column: 1 / -1;
    grid-row: 3;
    align-content: start;
    gap: 10px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .sf-character-stage__detail {
    width: min(calc(100% + 32px), 29vw);
  }
}

/* 기획서 최종안: 타이틀/부대 정보/목록·캐릭터·영상을 명확한 3열로 나눕니다. */
.sf-character-card__emblem {
  position: absolute;
  z-index: 5;
  bottom: 10px;
  left: 50%;
  width: clamp(38px, 4vw, 54px);
  height: clamp(38px, 4vw, 54px);
  object-fit: contain;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.76));
  pointer-events: none;
  transform: translateX(-50%);
}

.sf-character-stage__unit-banner {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #ffffff;
}

.sf-character-stage__unit-banner .sf-character-stage__emblem {
  position: static;
  width: clamp(50px, 4vw, 64px);
  height: clamp(50px, 4vw, 64px);
  margin: 0;
}

.sf-character-stage__unit-banner .sf-character-stage__detail-heading {
  display: block;
  margin: 0;
}

@media (min-width: 1200px) {
  .sf-character-stage__content {
    grid-template-columns: minmax(290px, 0.86fr) minmax(390px, 1.18fr) minmax(290px, 0.82fr);
    grid-template-rows: auto var(--sf-character-list-height, 717px);
    gap: 22px 32px;
    padding: 36px 48px 62px;
  }

  .sf-character-stage__intro {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .sf-character-stage__intro h2 {
    max-width: none;
    font-size: clamp(24px, 1.75vw, 28px);
    line-height: 1.2;
    white-space: nowrap;
  }

  .sf-character-stage__unit {
    font-size: clamp(18px, 1.25vw, 20px);
  }

  .sf-character-stage__unit-banner {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
  }

  .sf-character-stage__grid-shell {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    height: var(--sf-character-list-height, 717px);
    align-self: start;
  }

  .sf-character-stage__grid-guide {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    margin: 0;
  }

  .sf-character-stage__figure-wrap {
    grid-column: 2;
    grid-row: 2;
    height: var(--sf-character-list-height, 717px);
    min-height: 0;
    transform: translateX(clamp(16px, 1.8vw, 30px));
  }

  .sf-character-stage__figure {
    object-fit: contain;
    object-position: center bottom;
    transform: scale(1.08);
  }

  .sf-character-stage__video {
    grid-column: 3;
    grid-row: 2;
    width: 100%;
    height: var(--sf-character-list-height, 717px);
    min-height: 0;
    align-self: stretch;
    justify-self: stretch;
    padding: 0;
    border-radius: 0;
    background: #05070b;
  }

  .sf-character-stage__video-frame {
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    border-radius: 0;
  }

  .sf-character-stage__detail {
    grid-column: 2;
    grid-row: 2;
    display: block;
    width: 100%;
    align-self: end;
    z-index: 4;
    margin: 0;
    padding: 24px 26px;
  }

  .sf-character-stage__tagline {
    margin-bottom: 12px;
  }

  .sf-character-stage__copy {
    display: grid;
    gap: 8px;
  }
}

@media (max-width: 1199px) {
  .sf-character-stage__unit-banner {
    grid-column: 1;
    grid-row: auto;
    margin: 0 auto;
  }
}

@media (max-width: 1023px) {
  .sf-character-stage__video {
    order: 3;
  }

  .sf-character-stage__figure-wrap {
    order: 2;
  }
}
