/* 제로팔콘 RP 소개 사이트 — 블랙/퍼플 · 보라매 컨셉 */
:root {
  --bg: #060509;
  --bg-2: #0c0914;
  --surface: rgba(22, 15, 36, .72);
  --surface-solid: #130e1f;
  --line: rgba(167, 139, 250, .18);
  --line-strong: rgba(167, 139, 250, .45);
  --text: #ebe6f6;
  --muted: #a49cb8;
  --dim: #6f6785;
  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --violet-3: #c4b5fd;
  --violet-deep: #3b1c78;
  --blood: #b4324a;
  --glow: 0 0 24px rgba(139, 92, 246, .35);
  --serif: "Noto Serif KR", serif;
  --sans: "Noto Sans KR", system-ui, sans-serif;
  --latin: "Cinzel", "Noto Serif KR", serif;
  --w: 1160px;
}
body[data-eye="first"] { --violet: #9d6bff; --glow: 0 0 34px rgba(157, 107, 255, .55); }
body[data-eye="final"] { --violet: #b388ff; --glow: 0 0 48px rgba(179, 136, 255, .75); --line: rgba(196, 181, 253, .3); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.8 var(--sans); letter-spacing: -.01em; word-break: keep-all;
  overflow-x: hidden;
  background-image:
    radial-gradient(1200px 700px at 80% -10%, rgba(91, 33, 182, .28), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(76, 29, 149, .18), transparent 60%);
  background-attachment: fixed;
  transition: background-color .6s;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--violet-3); }
h1, h2, h3, h4 { font-family: var(--serif); margin: 0; line-height: 1.35; font-weight: 600; }
p { margin: 0 0 .8em; }
ul { margin: 0; padding: 0; list-style: none; }
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
::selection { background: var(--violet); color: #fff; }

/* ---------- 버튼 / 공통 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .4em; padding: .75em 1.4em;
  border: 1px solid var(--line-strong); border-radius: 2px; color: var(--text); text-decoration: none;
  background: rgba(139, 92, 246, .06); font: 500 14px var(--sans); letter-spacing: .04em; cursor: pointer;
  transition: .25s;
}
.btn:hover { background: rgba(139, 92, 246, .18); box-shadow: var(--glow); border-color: var(--violet-2); }
.btn--solid { background: linear-gradient(135deg, var(--violet), var(--violet-deep)); border-color: transparent; color: #fff; }
.tag { display: inline-block; font: 500 11px var(--sans); letter-spacing: .12em; color: var(--violet-3); border: 1px solid var(--line-strong); padding: .15em .7em; margin-bottom: .8em; }
.tag--red { color: #f0a6b3; border-color: rgba(180, 50, 74, .55); }
.eyebrow { font: 500 12px var(--latin); letter-spacing: .32em; color: var(--violet-2); margin-bottom: 1.4em; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- 내비게이션 ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 64px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.nav.scrolled, .nav.open { background: rgba(6, 5, 9, .86); backdrop-filter: blur(12px); border-color: var(--line); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 700 14px var(--latin); letter-spacing: .2em; }
.nav__brand img { width: 30px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(139, 92, 246, .6)); }
.nav__links { display: flex; gap: clamp(10px, 1.6vw, 24px); }
.nav__links a { color: var(--muted); text-decoration: none; font-size: 14px; position: relative; padding: 4px 0; transition: color .2s; }
.nav__links a:hover, .nav__links a.active { color: var(--text); }
.nav__links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--violet-2); box-shadow: var(--glow); }
.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--text); transition: .3s; }
.nav__toggle span:first-child { top: 15px; } .nav__toggle span:last-child { top: 24px; }
.nav.open .nav__toggle span:first-child { top: 20px; transform: rotate(45deg); }
.nav.open .nav__toggle span:last-child { top: 20px; transform: rotate(-45deg); }
@media (max-width: 1180px) {
  .nav__toggle { display: block; }
  .nav__links { position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(6, 5, 9, .96); border-bottom: 1px solid var(--line); padding: 8px 0 16px; transform: translateY(-120%); opacity: 0; pointer-events: none; transition: .35s; }
  .nav.open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 12px 24px; font-size: 16px; }
  .nav__links a.active::after { display: none; }
}

/* ---------- 히어로 ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 96px clamp(16px, 4vw, 40px) 64px; }
.hero__emblem {
  position: absolute; width: min(900px, 120vw); aspect-ratio: 1; right: -10%; top: 50%; transform: translateY(-50%);
  background: center/contain no-repeat; mix-blend-mode: screen; opacity: .35;
  filter: hue-rotate(215deg) saturate(1.5) brightness(.9);
  -webkit-mask: radial-gradient(circle, #000 35%, transparent 68%); mask: radial-gradient(circle, #000 35%, transparent 68%);
  animation: breathe 8s ease-in-out infinite;
}
body[data-eye="final"] .hero__emblem { opacity: .55; }
@keyframes breathe { 50% { opacity: .22; } }
.hero__clock { position: absolute; width: min(760px, 110vw); aspect-ratio: 1; right: 2%; top: 50%; transform: translateY(-50%); opacity: .55; pointer-events: none; }
.hero__clock svg { width: 100%; height: 100%; fill: none; stroke: var(--line-strong); stroke-width: 1; }
.hero__clock .thin { stroke: var(--line); stroke-dasharray: 2 6; }
.hero__clock .roman text { fill: rgba(196, 181, 253, .45); stroke: none; font: 14px var(--latin); text-anchor: middle; }
.hero__clock .hand { transform-origin: 200px 200px; transition: transform 1s cubic-bezier(.4, 2, .5, 1); }
.hero__clock .hand line { stroke: var(--violet-2); stroke-linecap: round; }
.hero__clock .hand--h line { stroke-width: 3; } .hero__clock .hand--m line { stroke-width: 1.5; }
.hero__clock .pin { fill: var(--violet-2); stroke: none; }
.hero__inner { position: relative; z-index: 1; width: 100%; max-width: var(--w); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center; }
.hero h1 { display: flex; flex-direction: column; margin-bottom: .5em; }
.hero__ko { font: 900 clamp(56px, 9vw, 120px)/1 var(--serif); letter-spacing: -.02em; background: linear-gradient(180deg, #fff 10%, var(--violet-3) 55%, var(--violet) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(139, 92, 246, .35)); }
.hero__en { font: 500 clamp(14px, 1.6vw, 20px) var(--latin); letter-spacing: .6em; color: var(--violet-2); margin-top: .7em; }
.hero__tag { font: 400 clamp(16px, 1.7vw, 20px)/1.7 var(--serif); color: var(--text); margin-bottom: 1.4em; }
.hero__greet { color: var(--muted); font-family: var(--serif); border-left: 2px solid var(--violet); padding-left: 1em; margin-bottom: 2em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__art { margin: 0; position: relative; justify-self: center; max-width: 480px; }
.hero__art img { width: 100%; -webkit-mask: radial-gradient(ellipse 50% 52% at 50% 46%, #000 62%, transparent 100%); mask: radial-gradient(ellipse 50% 52% at 50% 46%, #000 62%, transparent 100%); filter: saturate(.9) contrast(1.05); }
.hero__scroll { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); font: 11px var(--latin); letter-spacing: .4em; color: var(--dim); text-decoration: none; padding-bottom: 30px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 24px; background: linear-gradient(var(--violet-2), transparent); animation: drop 2s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__art { order: -1; max-width: 300px; margin-bottom: -40px; }
  .hero__greet { border: 0; padding: 0; }
  .hero__cta { justify-content: center; }
  .hero__clock, .hero__emblem { right: 50%; transform: translate(50%, -50%); top: 34%; }
}

/* ---------- 섹션 공통 ---------- */
.sec { position: relative; max-width: var(--w); margin: 0 auto; padding: clamp(80px, 12vw, 140px) clamp(16px, 4vw, 40px) 0; }
.sec-head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head__no { display: block; font: 700 12px var(--latin); color: var(--violet); letter-spacing: .3em; }
.sec-head__en { display: block; font: 500 12px var(--latin); letter-spacing: .4em; color: var(--dim); margin: .4em 0 .8em; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 600; }
.sec-head h2::after { content: ""; display: block; width: 56px; height: 1px; margin: .55em auto 0; background: linear-gradient(90deg, transparent, var(--violet-2), transparent); }
.sec-head__sub { color: var(--muted); margin-top: 1em; font-family: var(--serif); }
.sub-title { font-size: clamp(19px, 2.2vw, 23px); margin: 56px 0 20px; color: var(--violet-3); }
.sub-title small { display: block; font: 400 13px var(--sans); color: var(--dim); margin-top: .3em; }
.prose p { font-family: var(--serif); line-height: 2; }
.prose h4 { font-size: 15px; color: var(--violet-2); letter-spacing: .08em; margin: 2em 0 .6em; font-family: var(--sans); font-weight: 700; }
.prose h4::before { content: "— "; }
.prose--center { text-align: center; }
.card { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); position: relative; backdrop-filter: blur(4px); transition: border-color .3s, box-shadow .3s; }
.card:hover { border-color: var(--line-strong); box-shadow: var(--glow); }
.card::before { content: ""; position: absolute; top: -1px; left: -1px; width: 18px; height: 18px; border-top: 1px solid var(--violet-2); border-left: 1px solid var(--violet-2); }
.card h3 { font-size: 20px; margin-bottom: .7em; }
.card li, .member li, .skill li { position: relative; padding-left: 1.1em; margin-bottom: .45em; color: #d5cfe3; font-size: 15px; }
.card li::before, .member li::before, .skill li::before { content: ""; position: absolute; left: 0; top: .78em; width: 5px; height: 5px; background: var(--violet); transform: rotate(45deg); }
.card__quote { margin: 1.2em 0 0; padding-top: 1em; border-top: 1px dashed var(--line); color: var(--violet-3); font-family: var(--serif); font-size: 15px; }
.card--wide p { color: #d5cfe3; margin-top: 1em; }
.cards2, .cards3 { display: grid; gap: 18px; }
.cards2 { grid-template-columns: repeat(2, 1fr); }
.cards3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .cards2 { grid-template-columns: 1fr; } }
.checks li { position: relative; padding-left: 1.6em; margin-bottom: .4em; }
.checks li::before { content: "✦"; position: absolute; left: 0; color: var(--violet-2); font-size: .85em; top: .1em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips span { border: 1px solid var(--line); padding: .4em 1em; font-size: 14px; color: #d5cfe3; background: rgba(139, 92, 246, .05); }

/* ---------- 소개 ---------- */
.intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.big-quote { margin: 0 0 1.6em; font: 600 clamp(20px, 2.5vw, 27px)/1.75 var(--serif); color: #fff; border-left: 2px solid var(--violet); padding-left: 1em; }
.sign { color: var(--violet-3); font-family: var(--serif); margin-top: 1.5em; }
.intro__art { margin: 0; position: relative; }
.intro__art img { border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(91, 33, 182, .6); }
.intro__art figcaption { margin-top: 18px; text-align: center; font-family: var(--serif); color: var(--muted); font-size: 15px; line-height: 1.9; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } .intro__art { max-width: 380px; margin: 0 auto; } }

/* ---------- 프로필 ---------- */
.profile { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.profile__table { margin: 0; border-top: 1px solid var(--line-strong); }
.profile__table div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.profile__table dt { color: var(--violet-2); font-size: 14px; font-weight: 500; }
.profile__table dd { margin: 0; font-weight: 500; }
.profile__table small { display: block; color: var(--dim); font-weight: 400; font-size: 13px; }
.name-card { border: 1px solid var(--line-strong); padding: 28px; text-align: center; background: linear-gradient(160deg, rgba(91, 33, 182, .22), rgba(10, 8, 18, .8)); position: relative; overflow: hidden; }
.name-card__en { font: 700 clamp(17px, 2vw, 21px) var(--latin); letter-spacing: .12em; color: var(--violet-3); margin: 0; }
.name-card__ko { font-family: var(--serif); color: var(--muted); }
.name-card__parts { display: grid; gap: 10px; margin: 20px 0; text-align: left; }
.name-card__parts div { display: grid; grid-template-columns: 96px 1fr; column-gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.name-card__parts b { font: 700 14px var(--latin); color: var(--violet-2); grid-row: span 2; align-self: center; }
.name-card__parts span { font-size: 12px; color: var(--dim); }
.name-card__parts em { font-style: normal; font-size: 14px; }
.name-card__sum { font: 600 17px var(--serif); margin: 0; }
.trivia { margin-top: 20px; }
.trivia li { font-size: 14px; color: var(--muted); padding: 8px 0 8px 1.4em; position: relative; border-bottom: 1px dashed var(--line); }
.trivia li::before { content: "※"; position: absolute; left: 0; color: var(--violet); }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } .profile__table div { grid-template-columns: 96px 1fr; } }

/* ---------- 컨셉 ---------- */
.concept-base { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; border: 1px solid var(--line); padding: 28px; margin-bottom: 18px; background: linear-gradient(90deg, rgba(91, 33, 182, .16), transparent); }
.concept-base h3 { font-size: 22px; } .concept-base p { color: var(--muted); margin: .4em 0 0; }
.concept-foot { margin-top: 28px; display: grid; gap: 20px; }
.outfit { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.outfit div { background: var(--bg-2); padding: 18px; text-align: center; }
.outfit b { display: block; font-family: var(--serif); font-size: 18px; } .outfit span { color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .concept-base { grid-template-columns: 1fr; } }

/* ---------- 개안 ---------- */
.eyes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.eyes__visual { position: relative; display: grid; place-items: center; }
.eyes__visual::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .28), transparent 68%); transition: .6s; }
body[data-eye="first"] .eyes__visual::before { background: radial-gradient(circle, rgba(217, 160, 60, .28), rgba(139, 92, 246, .2) 45%, transparent 70%); }
body[data-eye="final"] .eyes__visual::before { width: 92%; background: radial-gradient(circle, rgba(196, 160, 255, .5), rgba(91, 33, 182, .25) 50%, transparent 72%); }
#eyeFace { position: relative; width: min(100%, 420px); transition: opacity .18s, filter .6s; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }
#eyeFace.swap { opacity: 0; }
body[data-eye="final"] #eyeFace { filter: drop-shadow(0 0 28px rgba(179, 136, 255, .6)); }
.eyes__tabs { display: flex; gap: 0; border: 1px solid var(--line-strong); margin-bottom: 24px; }
.eyes__tabs button { flex: 1; background: none; border: 0; color: var(--muted); padding: 14px 8px; font: 500 15px var(--sans); cursor: pointer; transition: .25s; }
.eyes__tabs button + button { border-left: 1px solid var(--line-strong); }
.eyes__tabs button[aria-selected="true"] { background: linear-gradient(135deg, var(--violet), var(--violet-deep)); color: #fff; box-shadow: var(--glow); }
.eyes__mode { font: 500 12px var(--latin); letter-spacing: .3em; color: var(--violet-2); margin-bottom: .4em; text-transform: uppercase; }
#eyeInfo h3 { font-size: 24px; margin-bottom: .6em; }
.eyes__trigger { font: 900 clamp(20px, 2.6vw, 28px) var(--serif); color: #fff; text-shadow: var(--glow); margin-bottom: .4em; }
.eyes__trigger--none { font: 400 15px var(--sans); color: var(--dim); text-shadow: none; }
.eyes__alt { color: var(--violet-3); font-family: var(--serif); font-size: 15px; }
#eyeInfo > p:not([class]) { color: #d5cfe3; }
@media (max-width: 860px) { .eyes { grid-template-columns: 1fr; } .eyes__visual { max-width: 420px; margin: 0 auto; width: 100%; } }

/* ---------- 권능 ---------- */
.chips--rules { margin-bottom: 8px; }
.skills { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.skill { position: relative; border: 1px solid var(--line); padding: 28px; background: var(--surface); overflow: hidden; }
.skill__no { position: absolute; right: 16px; top: 4px; font: 700 64px var(--latin); color: rgba(139, 92, 246, .1); }
.skill__en { font: 700 clamp(19px, 2.2vw, 24px) var(--latin); color: var(--violet-3); margin: 0; letter-spacing: .04em; }
.skill h4 { font-size: 16px; color: var(--muted); margin: .2em 0 1em; font-weight: 400; }
.skill h4 em { font-style: normal; font-size: 12px; color: #fff; background: var(--violet); padding: .15em .6em; margin-left: .4em; vertical-align: middle; }
.skill--ult { grid-column: 1 / -1; border-color: var(--line-strong); background: radial-gradient(800px 300px at 90% 0%, rgba(139, 92, 246, .3), transparent 70%), var(--surface-solid); }
.skill--ult .skill__en { font-size: clamp(26px, 3.6vw, 40px); text-shadow: var(--glow); }
.skill__quote { margin: 1.2em 0 0; font: 900 clamp(18px, 2.2vw, 22px) var(--serif); color: #fff; text-align: right; }
@media (max-width: 720px) { .skills { grid-template-columns: 1fr; } }
.elements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.element { border: 1px solid var(--line); padding: 20px; background: rgba(12, 9, 20, .7); }
.element span { font-size: 26px; } .element b { display: block; font-family: var(--serif); font-size: 18px; margin: .3em 0; }
.element p { font-size: 14px; color: var(--muted); margin: 0; }
.element--main { border-color: var(--violet); box-shadow: inset 0 0 40px rgba(139, 92, 246, .2); }
.element--main b::after { content: "MAIN"; font: 700 10px var(--latin); letter-spacing: .2em; color: var(--violet-2); margin-left: .6em; vertical-align: middle; }
@media (max-width: 860px) { .elements { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .elements { grid-template-columns: 1fr; } }
.transforms { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.transforms div { background: var(--bg-2); padding: 14px 16px; }
.transforms b { display: block; font-family: var(--serif); } .transforms span { font-size: 13px; color: var(--muted); }

/* ---------- 세계관 ---------- */
.person__title { font-family: var(--serif); color: var(--violet-3); margin-top: -.3em; }
.enemy { margin-top: 64px; border: 1px solid rgba(180, 50, 74, .4); padding: clamp(24px, 4vw, 44px); background: radial-gradient(700px 300px at 0% 0%, rgba(180, 50, 74, .18), transparent 70%), rgba(14, 8, 12, .85); }
.enemy__head { display: flex; gap: 20px; align-items: center; }
.enemy__sigil { width: 72px; flex: none; }
.enemy__sigil svg, .sealed__seal svg { width: 100%; }
.enemy__sigil .moon { fill: var(--blood); } .enemy__sigil .cross { stroke: #e9c2c9; stroke-width: 4; } .enemy__sigil .cross-tip { fill: #e9c2c9; }
.enemy__en { font: 700 13px var(--latin); letter-spacing: .25em; color: #e48b9c; margin: 0; }
.enemy h3 { font-size: clamp(24px, 3vw, 32px); }
.enemy__sub { color: var(--muted); margin: 0; font-size: 14px; }
.enemy__motto { margin: 28px 0; font: 600 clamp(18px, 2.3vw, 24px) var(--serif); text-align: center; color: #f3d6dc; }
.enemy__grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 24px; padding: 24px 0; border-top: 1px solid rgba(180, 50, 74, .3); border-bottom: 1px solid rgba(180, 50, 74, .3); }
.enemy__grid h4 { font: 700 13px var(--sans); color: #e48b9c; letter-spacing: .1em; margin-bottom: .6em; }
.enemy__grid li, .enemy__grid p { font-size: 14px; color: #d8cdd2; margin-bottom: .4em; }
.members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.member { border: 1px solid rgba(180, 50, 74, .3); padding: 22px; background: rgba(0, 0, 0, .35); }
.member h4 { font-size: 21px; }
.member__title { font-size: 13px; color: var(--muted); }
.member li::before { background: var(--blood); }
.member .card__quote { color: #f0b6c1; border-color: rgba(180, 50, 74, .3); }
.member--dead h4 { text-decoration: line-through; text-decoration-color: var(--blood); text-decoration-thickness: 2px; }
@media (max-width: 900px) { .enemy__grid, .members { grid-template-columns: 1fr; } }
.rivalry { margin-top: 40px; border-left: 2px solid var(--violet); padding: 8px 0 8px clamp(18px, 3vw, 32px); }
.rivalry h3 { font-size: 22px; margin-bottom: .8em; }
.position { margin-top: 24px; text-align: center; }
.position .prose p { font-size: clamp(16px, 1.8vw, 19px); }
.themes { text-align: center; margin-top: 24px; }
.themes__row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.themes__row div { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); padding: 16px 24px; font: 600 18px var(--serif); }
.themes__row i { font-style: normal; color: var(--violet-2); font-size: 24px; text-shadow: var(--glow); }
.themes__last { margin-top: 24px; font-family: var(--serif); color: var(--violet-3); }

/* ---------- 추가 설정 ---------- */
.sealed { text-align: center; border: 1px dashed var(--line-strong); padding: 56px 24px; color: var(--muted); background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(139, 92, 246, .04) 14px 28px); }
.sealed__seal { display: block; width: 64px; margin: 0 auto 16px; opacity: .8; }
.sealed__seal .moon { fill: var(--violet); } .sealed__seal .cross { stroke: var(--violet-3); stroke-width: 4; } .sealed__seal .cross-tip { fill: var(--violet-3); }
.sealed__title { font: 600 20px var(--serif); color: var(--text); }

/* ---------- 삭제된 기록 ---------- */
.sec--archive { max-width: none; overflow: hidden; padding-bottom: 100px; margin-top: 60px; }
.sec--archive > * { max-width: var(--w); margin-left: auto; margin-right: auto; position: relative; }
.archive-bg { position: absolute !important; inset: 0; max-width: none !important; background: center 30%/cover no-repeat; opacity: .16; filter: grayscale(.6) sepia(.4) hue-rotate(220deg) saturate(1.6); -webkit-mask: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.files { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.file {
  text-align: left; cursor: pointer; font: inherit; color: var(--text); background: rgba(10, 7, 16, .85); border: 1px solid var(--line);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; position: relative; transition: .3s; min-height: 260px;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}
.file::after { content: ""; position: absolute; top: 0; right: 0; width: 26px; height: 26px; background: linear-gradient(225deg, transparent 50%, var(--line-strong) 50%); }
.file:hover { border-color: var(--violet-2); box-shadow: var(--glow); transform: translateY(-4px); }
.file__code { font: 700 12px var(--latin); letter-spacing: .3em; color: var(--violet-2); }
.file__title { font: 600 21px var(--serif); }
.file__sum { color: var(--muted); font-size: 14px; flex: 1; }
.file__open { font-size: 13px; color: var(--violet-3); letter-spacing: .05em; }
@media (max-width: 900px) { .files { grid-template-columns: 1fr; } .file { min-height: 0; } }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(3, 2, 6, .85); backdrop-filter: blur(6px); }
.modal__panel { position: relative; width: min(760px, 100%); max-height: 88vh; overflow-y: auto; background: var(--surface-solid); border: 1px solid var(--line-strong); padding: clamp(28px, 5vw, 56px); box-shadow: 0 0 80px rgba(91, 33, 182, .45); animation: rise .35s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.modal__panel h2 { font-size: clamp(24px, 3.4vw, 32px); margin: .3em 0 1em; }
.modal__close { position: sticky; top: 0; float: right; margin: -20px -20px 0 0; background: none; border: 1px solid var(--line); color: var(--text); width: 38px; height: 38px; cursor: pointer; }
.modal__close:hover { border-color: var(--violet-2); }

/* ---------- 연대기 ---------- */
.eras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 64px; }
.era { background: var(--bg-2); padding: 28px; }
.era__name { font: 900 30px var(--serif); margin: 0; background: linear-gradient(180deg, #fff, var(--violet-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.era__sub { color: var(--violet-2); font-size: 13px; letter-spacing: .1em; }
.era p:not([class]) { color: #d5cfe3; font-size: 15px; }
.era__quote { font-family: var(--serif); color: var(--violet-3); margin: 0; }
@media (max-width: 860px) { .eras { grid-template-columns: 1fr; } }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 140px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--violet), var(--line), var(--violet)); }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 36px; padding-bottom: 36px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 136px; top: 9px; width: 9px; height: 9px; background: var(--violet-2); transform: rotate(45deg); box-shadow: var(--glow); }
.timeline__era { text-align: right; font: 700 15px var(--latin); color: var(--violet-3); padding-top: 2px; }
.timeline h4 { font-size: 19px; margin-bottom: .3em; }
.timeline p { color: var(--muted); font-size: 15px; margin: 0; }
.timeline a { font-size: 14px; }
@media (max-width: 620px) {
  .timeline::before { left: 4px; } .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 28px; } .timeline li::before { left: 0; }
  .timeline__era { text-align: left; }
}

/* ---------- 대사 ---------- */
.oracle { text-align: center; padding: 48px 20px; margin-bottom: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.oracle p { font: 900 clamp(22px, 3.4vw, 36px)/1.5 var(--serif); margin-bottom: 1em; text-shadow: var(--glow); }
.oracle p.flash { animation: flash .6s ease; }
@keyframes flash { from { opacity: 0; filter: blur(6px); } }
.quotes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.quotes li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); }
.quotes span { font: 700 12px var(--latin); color: var(--violet); padding-top: 5px; }
@media (max-width: 720px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- 에필로그 ---------- */
.awaken { max-width: 680px; margin: 0 auto; }
.ending { margin: 96px auto 0; max-width: 720px; text-align: center; }
.ending__label { font-size: 13px; letter-spacing: .2em; color: var(--violet-2); }
.ending h3 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 1.2em; }
.coffin { width: 90px; height: 150px; margin: 48px auto; border: 1px solid var(--line-strong); clip-path: polygon(30% 0, 70% 0, 100% 22%, 80% 100%, 20% 100%, 0 22%); background: linear-gradient(180deg, rgba(139, 92, 246, .25), transparent); position: relative; }
.ending__outro { font: 600 clamp(18px, 2.2vw, 22px) var(--serif); }
.ending__last { color: var(--violet-3); font-family: var(--serif); }
.footer { text-align: center; padding: 140px 16px 48px; margin-top: 80px; background: linear-gradient(transparent, rgba(59, 28, 120, .25)); }
.closing { max-width: 600px; margin: 0 auto 64px; }
.closing p { font-size: 17px; }
.footer__logo { width: 48px; margin: 0 auto 12px; filter: drop-shadow(0 0 14px rgba(139, 92, 246, .7)); }
.footer__name { font: 500 12px var(--latin); letter-spacing: .2em; color: var(--muted); }
.footer__small { font-size: 12px; color: var(--dim); }

/* ---------- 캐릭터 디자인 ---------- */
.design { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.design__stage { position: relative; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 40%, rgba(91, 33, 182, .3), transparent 70%), rgba(10, 7, 16, .6); padding: 20px; }
.design__tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 8px; }
.design__tabs button { background: none; border: 1px solid var(--line); color: var(--muted); padding: .5em 1.2em; font: 500 14px var(--sans); cursor: pointer; transition: .25s; }
.design__tabs button[aria-selected="true"] { color: #fff; border-color: var(--violet-2); background: rgba(139, 92, 246, .2); box-shadow: var(--glow); }
.design__body { margin: 0; position: relative; aspect-ratio: 1100 / 1134; }
.design__body img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.97); transition: opacity .5s, transform .5s; }
.design__body img.on { opacity: 1; transform: none; }
.design__note { text-align: center; color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.design__points { margin: 0 0 28px; border-top: 1px solid var(--line-strong); }
.design__points div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.design__points dt { color: var(--violet-2); font-size: 14px; }
.design__points dd { margin: 0; font-size: 15px; }
.design__faces-title { font-size: 17px; color: var(--violet-3); margin-bottom: 12px; }
.faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.faces figure { margin: 0; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(91, 33, 182, .18), rgba(10, 7, 16, .7)); padding: 8px 8px 0; transition: .25s; }
.faces figure:hover { border-color: var(--violet-2); box-shadow: var(--glow); }
.faces img { width: 100%; }
.faces figcaption { text-align: center; font-size: 13px; color: var(--muted); padding: 6px 0 8px; }
@media (max-width: 860px) { .design { grid-template-columns: 1fr; } }
