@charset "UTF-8";

.egg-characters-page { background: #121321; }
.egg-characters-page [id] { scroll-margin-top: 90px; }
.char-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 660px;
  align-items: center;
  overflow: hidden;
  background: #111629;
}
.char-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: url("../images/eggsign/bg_rooftop.jpg") center 43% / cover no-repeat;
  opacity: .48;
}
.char-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(9, 12, 29, .95) 0%, rgba(9, 12, 29, .72) 54%, rgba(9, 12, 29, .18) 100%), linear-gradient(0deg, #121321 0%, transparent 40%);
}
.char-hero__inner { width: min(100% - 80px, 1200px); margin: 110px auto 90px; }
.char-hero__eyebrow { margin: 0 0 34px; color: #ead7ba; font: 600 .78rem Georgia, serif; letter-spacing: .29em; }
.char-hero__eyebrow span { padding: 0 12px; color: #e1bf8c; }
.char-hero h1, .char-intro h2, .char-profiles h2, .char-secret h2 {
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  letter-spacing: .085em;
}
.char-hero h1 { max-width: 1100px; margin: 0; font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1.4; }
.char-hero__lead { margin: 30px 0 38px; color: #efe9e8; font: 1.1rem/2.1 Georgia, "Yu Mincho", serif; letter-spacing: .08em; }
.char-hero__link, .char-back a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 12px 18px;
  border: 1px solid #d9bf91;
  color: #f8eedf;
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .09em;
  transition: background .25s ease, color .25s ease;
}
.char-hero__link:hover, .char-back a:hover { background: #d9bf91; color: #181727; }
.char-hero__decoration {
  position: absolute;
  right: 38px;
  bottom: 32px;
  color: rgba(255,255,255,.7);
  font: .72rem Georgia, "Yu Mincho", serif;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
}
.char-intro { padding: 120px 30px 140px; background: #121321; }
.char-intro__heading, .char-profiles__heading { max-width: 900px; margin: 0 auto 65px; text-align: center; }
.char-intro__heading .egg-section-mark, .char-profiles__heading .egg-section-mark, .char-secret .egg-section-mark { justify-content: center; }
.char-intro h2, .char-profiles h2, .char-secret h2 { margin: 0; font-size: clamp(2.6rem, 4.5vw, 4.5rem); line-height: 1.5; }
.char-intro__heading > p:last-child, .char-profiles__heading > p:last-child { margin: 24px auto 0; color: #d0cbd4; font-size: .85rem; line-height: 2; letter-spacing: .04em; }
.char-index {
  display: grid;
  width: min(100%, 1200px);
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin: 0 auto;
}
.char-index a {
  display: grid;
  min-height: 105px;
  grid-template-columns: 35px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  gap: 0 15px;
  padding: 21px 24px;
  border: 1px solid rgba(217,191,145,.28);
  background: #1b1b2e;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.char-index a:hover { background: #262239; border-color: #d9bf91; transform: translateY(-3px); }
.char-index a span { grid-row: 1 / 3; color: #ddbf90; font: italic 1rem Georgia,serif; }
.char-index strong { align-self: end; color: #fff; font: 600 1.07rem Georgia,"Yu Mincho",serif; letter-spacing: .09em; }
.char-index small { align-self: start; margin-top: 5px; color: #c5bdcd; font-size: .72rem; }
.char-profiles {
  padding: 125px 30px 145px;
  background: radial-gradient(circle at 50% 0, rgba(111,84,123,.2), transparent 32%), #0e1122;
}
.char-grid {
  display: grid;
  width: min(100%, 1360px);
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
  align-items: stretch;
  margin: 0 auto;
}
.char-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(233,222,207,.24);
  border-top: 3px solid var(--char-accent);
  background: #181a2b;
}
.char-card__portrait {
  position: relative;
  display: flex;
  height: 375px;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--char-accent) 28%, #1b1b30) 0%, #19192c 60%, #111426 100%);
}
.char-card__portrait::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 105px;
  content: "";
  background: linear-gradient(0deg,#181a2b,transparent);
  pointer-events: none;
}
.char-card__portrait > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.char-card__number {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 22px;
  color: rgba(255,255,255,.77);
  font: italic 1.28rem Georgia,serif;
  letter-spacing: .05em;
}
.char-card__twins { display: flex; width: 100%; height: 100%; justify-content: center; }
.char-card__twins img { width: 50%; height: 100%; object-fit: cover; object-position: center top; }
.char-card__body { display: flex; min-height: 445px; flex-direction: column; padding: 28px 30px 31px; }
.char-card__sign, .char-card__effect-title { margin: 0; color: var(--char-accent); font: .74rem Georgia,"Yu Mincho",serif; letter-spacing: .14em; }
.char-card__sign span { color: #bfb9c9; }
.char-card h3 { margin: 12px 0 13px; color: #fff; font: 600 clamp(1.8rem,2.5vw,2.6rem)/1.3 Georgia,"Yu Mincho",serif; letter-spacing: .08em; }
.char-card__line { margin: 0 0 10px; color: #f2ece9; font-size: .83rem; line-height: 1.8; }
.char-card__quote { margin: 0 0 26px; color: #bfc0ce; font-size: .76rem; line-height: 1.85; }
.char-card__effects { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(217,191,145,.3); }
.char-card__effect-title { margin-bottom: 14px; color: #e3ca9f; }
.char-card__effects dl { margin: 0; }
.char-card__effects dl > div { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 10px; margin-top: 9px; }
.char-card__effects dt { width: 38px; padding-top: 2px; color: #111321; background: #d9bf91; font-size: .67rem; font-weight: 700; line-height: 1.6; text-align: center; }
.char-card__effects dd { min-width: 0; margin: 0; color: #e7e2e5; font-size: .74rem; line-height: 1.75; }
.char-secret { padding: 120px 30px 140px; border-top: 1px solid rgba(217,191,145,.18); background: #191727; text-align: center; }
.char-secret__inner { max-width: 950px; margin: auto; }
.char-secret__inner > p:not(.egg-section-mark) { margin: 22px 0 35px; color: #cbc6d1; font-size: .85rem; line-height: 1.9; }
.char-secret details { border: 1px solid rgba(217,191,145,.45); background: #222032; text-align: left; }
.char-secret summary { display: flex; min-height: 65px; align-items: center; justify-content: space-between; padding: 18px 25px; color: #f7e8d2; font-size: .85rem; cursor: pointer; list-style: none; }
.char-secret summary::-webkit-details-marker { display: none; }
.char-secret details[open] summary span { transform: rotate(45deg); }
.char-secret__reveal { display: grid; grid-template-columns: 240px 1fr; align-items: center; gap: 35px; padding: 10px 35px 30px; }
.char-secret__reveal img { width: 240px; max-height: 370px; object-fit: contain; object-position: center bottom; }
.char-secret__reveal h3 { margin: 10px 0 20px; font: 600 2.4rem Georgia,"Yu Mincho",serif; letter-spacing: .08em; }
.char-secret__reveal p:not(.char-card__sign) { color: #e3dfe8; font-size: .88rem; line-height: 1.9; }
.char-secret__note { color: #c9af8a !important; font-size: .75rem !important; }
.char-back { padding: 115px 20px 125px; background: #0d1020; text-align: center; }
.char-back p { margin: 0 0 25px; font: 600 clamp(1.3rem,2.5vw,2rem) Georgia,"Yu Mincho",serif; letter-spacing: .1em; }
@media (prefers-reduced-motion: no-preference) {
  .char-card__portrait img { transition: transform .5s ease; }
  .char-card:hover .char-card__portrait > img { transform: scale(1.03); }
}
@media (max-width: 1050px) {
  .char-index { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .char-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .char-hero { min-height: 620px; }
  .char-hero__inner { width: calc(100% - 40px); margin: 110px auto 75px; }
  .char-hero::after { background: linear-gradient(90deg,rgba(9,12,29,.93),rgba(9,12,29,.48)),linear-gradient(0deg,#121321,transparent 45%); }
  .char-hero h1 { font-size: clamp(2.5rem,8.5vw,4.3rem); }
  .char-hero__lead { font-size: .9rem; }
  .char-hero__decoration { display: none; }
  .char-intro, .char-profiles, .char-secret { padding: 90px 16px 100px; }
  .char-intro__heading, .char-profiles__heading { margin-bottom: 40px; }
  .char-intro h2, .char-profiles h2, .char-secret h2 { font-size: clamp(2.2rem,7vw,3.3rem); }
  .char-index { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .char-index a { min-height: 85px; grid-template-columns: 27px 1fr; gap: 0 7px; padding: 12px; }
  .char-index strong { font-size: .94rem; }
  .char-index small { font-size: .64rem; }
  .char-grid { grid-template-columns: 1fr; gap: 22px; max-width: 440px; }
  .char-card__portrait { height: min(100vw,390px); }
  .char-card__body { min-height: 0; padding: 26px 25px 30px; }
  .char-card__quote { margin-bottom: 24px; }
  .char-secret__reveal { grid-template-columns: 1fr; gap: 10px; padding: 12px 24px 30px; text-align: center; }
  .char-secret__reveal img { width: 180px; max-height: 250px; margin: auto; }
}
@media (max-width: 370px) {
  .char-index small { font-size: .59rem; }
  .char-card__effects dd { font-size: .71rem; }
}


