/* ===== title ===== */
.title { position: absolute; inset: 0; overflow: hidden; }
.title-bg { position: absolute; inset: -20px; background: url(../assets/bg/bg_title.webp) center/cover; animation: titlebg 30s ease-in-out infinite alternate; }
.title-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 40%, rgba(20, 14, 50, .15), rgba(10, 8, 30, .75)); }
@keyframes titlebg { to { transform: scale(1.08) translate(-10px, 10px); } }
.title-mel { position: absolute; right: 290px; bottom: -40px; height: 760px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .6)); animation: titlechar 4s ease-in-out infinite; }
.title-lilia { position: absolute; right: 20px; bottom: -60px; height: 720px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .6)); animation: titlechar 4s ease-in-out infinite reverse; }
@keyframes titlechar { 50% { transform: translateY(-10px); } }
.title-logo { position: absolute; left: 90px; top: 110px; }
.title-sub { font-size: 24px; font-weight: 800; color: #ffd5ea; letter-spacing: .1em; text-shadow: 0 2px 6px #000; }
.title-logo h1 { margin: 10px 0; font-family: var(--font-t); font-weight: 900; line-height: 1.05; }
.title-logo .t1 { font-size: 64px; color: #fff; text-shadow: 0 5px 0 #6b5bd6, 0 0 30px rgba(140, 120, 255, .8); }
.title-logo .t2 { font-size: 104px; color: #ffcf4a; text-shadow: 0 6px 0 #b0561c, 0 0 30px rgba(255, 180, 60, .8); }
.title-catch { font-size: 24px; font-weight: 700; color: #fff; text-shadow: 0 2px 6px #000; }
.title-menu { position: absolute; left: 100px; top: 560px; display: flex; flex-direction: column; gap: 22px; width: 380px; }
.title-menu .btn { font-size: 28px; padding: 18px; }
.title-note { position: absolute; left: 100px; bottom: 30px; font-size: 16px; color: #ddd; text-shadow: 0 1px 3px #000; }

/* ===== explore ===== */
.ex { position: absolute; inset: 0; overflow: clip; }
.ex-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: background-image .4s; }
.ex-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 30, .55), rgba(10, 8, 30, .05) 22%, rgba(10, 8, 30, .1) 60%, rgba(10, 8, 30, .75)); }
.ex-top { position: absolute; left: 0; right: 0; top: 0; height: 64px; display: flex; align-items: center; gap: 30px; padding: 0 24px; background: linear-gradient(180deg, rgba(14, 10, 36, .92), rgba(14, 10, 36, .6)); }
.ex-floor { font-size: 22px; font-weight: 900; font-family: var(--font-t); }
.ex-lv { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.ex-lv b { font-size: 24px; color: var(--gold); }
.ex-lv .bar { width: 200px; height: 12px; border-radius: 999px; background: rgba(0, 0, 0, .5); overflow: hidden; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.ex-lv .bar div { height: 100%; background: linear-gradient(90deg, #7dffb0, #22b866); }
.ex-lv span { color: #c9c0ff; font-weight: 700; }
.ex-items { margin-left: auto; display: flex; gap: 18px; font-weight: 800; font-size: 17px; }
.ex-title { position: absolute; left: 40px; top: 90px; display: flex; flex-direction: column; gap: 4px; text-shadow: 0 2px 8px #000; }
.ex-title .tp { font-size: 18px; font-weight: 800; color: #ffd5ea; }
.ex-title b { font-size: 44px; font-family: var(--font-t); }
.ex-center { position: absolute; left: 380px; right: 480px; top: 170px; bottom: 120px; display: flex; align-items: center; justify-content: center; }
.ex-room { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ex-room .msg { font-size: 22px; font-weight: 700; text-align: center; padding: 14px 24px; background: rgba(14, 10, 36, .75); border-radius: 16px; max-width: 680px; line-height: 1.6; }
.ex-room .note { font-size: 14px; color: #ccc; }
.ex-room .row { display: flex; gap: 16px; }
.ex-enemies { display: flex; gap: 24px; align-items: flex-end; }
.ex-en { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 800; text-shadow: 0 2px 4px #000; position: relative; }
.ex-en img { height: 220px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .55)); animation: idle 2.6s ease-in-out infinite; }
.ex-en.big img { height: 340px; }
.ex-en.adv img.sil { filter: brightness(0) drop-shadow(0 0 12px rgba(255, 255, 255, .5)); }
.aura-glow { position: absolute; inset: 10% 10% 15%; border-radius: 50%; filter: blur(30px); opacity: .6; animation: aura 2s ease-in-out infinite; }
.ex-en.adv.r-N .aura-glow { opacity: .25; }
.chest { font-size: 140px; animation: idle 2s infinite; }
.ex-map { position: absolute; right: 24px; top: 90px; width: 440px; height: 350px; padding: 10px; }
.ex-map-ttl { font-weight: 900; font-size: 18px; margin: 2px 6px; }
.ex-map-ttl small { font-size: 12px; color: #c9c0ff; margin-left: 10px; font-weight: 700; }
.ex-map-svg { position: absolute; left: 10px; right: 10px; top: 40px; bottom: 10px; width: calc(100% - 20px); height: calc(100% - 50px); }
.ex-map-svg .ln { stroke: rgba(255, 255, 255, .45); stroke-width: 4; stroke-linecap: round; }
.ex-map-svg .ln.locked { stroke: rgba(255, 255, 255, .12); stroke-dasharray: 6 8; }
.ex-map .node { position: absolute; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: #3b3768; color: #fff; font-size: 18px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); transition: transform .12s; }
.ex-map .node.adj { background: #6b5bd6; box-shadow: 0 0 0 3px #fff, 0 0 12px rgba(160, 140, 255, .9); cursor: pointer; }
.ex-map .node.adj:hover { transform: translate(-50%, -50%) scale(1.15); }
.ex-map .node.here { background: #ff7aa8; box-shadow: 0 0 0 3px #fff, 0 0 18px #ff7aa8; transform: translate(-50%, -50%) scale(1.2); }
.ex-map .node.locked { opacity: .35; }
.ex-map .node.done { filter: grayscale(.8); }
.ex-map .node.aura.r-R { box-shadow: 0 0 0 3px #5ab0ff, 0 0 14px #5ab0ff; }
.ex-map .node.aura.r-SR { box-shadow: 0 0 0 3px #ffcf4a, 0 0 18px #ffcf4a; }
.ex-party { position: absolute; left: 24px; bottom: 24px; display: flex; gap: 14px; }
.ex-pm { display: flex; gap: 10px; align-items: center; padding: 8px 16px 8px 8px; border-radius: 16px; background: rgba(20, 16, 44, .85); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15); }
.ex-pm img { width: 80px; height: 90px; object-fit: cover; object-position: 50% 4%; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.ex-pm b { font-size: 20px; } .ex-pm small { display: block; color: #c9c0ff; font-size: 13px; }
.ex-pm .hp { width: 180px; height: 10px; margin-top: 6px; border-radius: 999px; background: rgba(0, 0, 0, .5); overflow: hidden; }
.ex-pm .hp div { height: 100%; background: linear-gradient(90deg, #7dffb0, #22b866); }
.ex-pm .hpt { font-size: 13px; font-weight: 700; }
.ex-menu { position: absolute; right: 24px; bottom: 24px; display: flex; gap: 12px; }
.ex-menu .btn { font-size: 20px; padding: 12px 26px; }
.ex-formget, .ex-end { position: absolute; inset: 0; z-index: 58; background: rgba(10, 8, 26, .8); display: flex; align-items: center; justify-content: center; gap: 30px; }
.ex-formget .ttl { position: absolute; top: 60px; font-size: 48px; font-weight: 900; color: #ffb0d8; text-shadow: 0 4px 0 #8a2a5a; }
.ex-formget img { height: 640px; filter: drop-shadow(0 0 30px rgba(160, 140, 255, .8)); animation: fadein .6s both; }
.ex-formget .body { width: 560px; padding: 28px; font-size: 19px; line-height: 1.6; }
.ex-formget .body b { font-size: 30px; color: var(--gold); }
.ex-end { flex-direction: column; gap: 16px; }
.ex-end h2 { font-size: 60px; font-family: var(--font-t); color: var(--gold); margin: 0; text-shadow: 0 5px 0 #b26d00; }
.ex-end p { font-size: 22px; margin: 0; } .ex-end .sub { color: #c9c0ff; font-size: 18px; }
