/* 🕰️ SEAN 크로노 여행단 꾸미기 */

:root { --금: #ffd36a; --하늘: #62e6ff; --초록: #7ef29b; --분홍: #ff5f7e; --보라: #b38cff; --잉크: #0e1230; --판: rgba(255,255,255,.08); --선: rgba(255,255,255,.18); }
* { box-sizing: border-box; }
body {
  margin: 0; padding: 0 16px 70px; min-height: 100vh; color: #fff;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: radial-gradient(circle at 15% 10%, rgba(98,230,255,.14), transparent 30%), radial-gradient(circle at 85% 40%, rgba(179,140,255,.14), transparent 30%), linear-gradient(180deg, #0e1230 0%, #141a3f 60%, #0b0f26 100%);
}
button { font: inherit; cursor: pointer; color: inherit; }
h1 { margin: 14px 0 4px; text-align: center; font-size: clamp(26px, 5vw, 36px); letter-spacing: -.02em; text-shadow: 3px 3px 0 rgba(0,0,0,.35); }
h1 small { display: block; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--하늘); letter-spacing: .08em; }
.설명 { max-width: 820px; margin: 0 auto 14px; text-align: center; font-size: 15px; line-height: 1.6; color: #dfe5ff; }
.설명 .한 { display: block; color: #9fb0e0; font-size: 15px; margin-top: 4px; }

/* 영어 + 한글 짝 — 영어가 주인공, 한글은 밑에 작게 */
.이중 { display: inline-block; vertical-align: top; }
.이중 .영 { display: block; }
.이중 .한 { display: block; font-size: .82em; font-weight: 700; color: rgba(255,255,255,.8); letter-spacing: .01em; margin-top: 2px; }
.영 + .한 { margin-top: 1px; }

/* 상태줄 */
.상태줄 { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 980px; margin: 0 auto 10px; }
.상태줄 > span { display: inline-flex; align-items: center; gap: 4px; padding: 6px 11px; background: var(--판); border: 1px solid var(--선); border-radius: 999px; font-size: 14px; font-weight: 800; }
.상태줄 small { font-weight: 600; opacity: .7; }
.상태줄 .등급 { background: linear-gradient(90deg, rgba(255,211,106,.3), rgba(255,95,126,.3)); border-color: var(--금); }
.상태줄 .이중 .한 { font-size: .72em; }

/* 탭 */
.탭줄 { display: flex; gap: 4px; max-width: 980px; margin: 0 auto 12px; padding: 4px; background: rgba(0,0,0,.28); border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
.탭줄::-webkit-scrollbar { display: none; }
.탭 { flex: 1 0 auto; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; color: #b8c3e8; font-size: 13px; font-weight: 800; white-space: nowrap; }
.탭 .한 { font-size: .72em; }
.탭.선택 { background: rgba(255,255,255,.16); color: #fff; }

.화면 { max-width: 980px; margin: 0 auto; }
.화면머리 { margin: 4px 0 14px; }
.화면머리 h2 { margin: 6px 0 4px; font-size: 26px; }
.화면머리 h2 .이중 .한 { font-size: .6em; }
.화면머리 p { margin: 0; color: #dfe5ff; font-size: 15px; line-height: 1.5; }
.나라표 { font-size: 14px; font-weight: 700; color: #c9d3f5; margin-left: 8px; }
.뒤로 { padding: 6px 12px; border: 1px solid var(--선); border-radius: 999px; background: var(--판); font-size: 13px; font-weight: 800; }
.뒤로 .한 { display: none; }
.빈말 { padding: 28px; text-align: center; color: #b8c3e8; background: var(--판); border: 1px dashed var(--선); border-radius: 16px; }

.균열알림 { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: rgba(179,140,255,.18); border: 1px solid var(--보라); font-weight: 800; font-size: 14px; animation: 반짝 2.4s infinite; }
.균열알림.큰 { font-size: 16px; text-align: center; }
@keyframes 반짝 { 0%,100% { box-shadow: 0 0 0 0 rgba(179,140,255,.35); } 50% { box-shadow: 0 0 18px 2px rgba(179,140,255,.35); } }

/* 세계 지도 */
.대륙판 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.대륙카드 { --색: var(--하늘); position: relative; display: grid; gap: 4px; min-height: 150px; padding: 16px; border: 2px solid var(--선); border-radius: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--색) 22%, transparent), rgba(255,255,255,.04)); text-align: left; transition: transform .18s, border-color .18s; }
.대륙카드:hover { transform: translateY(-3px); border-color: var(--색); }
.대륙카드.잠김, .대륙카드.준비중 { opacity: .55; filter: grayscale(.4); }
.대륙그림 { font-size: 40px; line-height: 1; }
.대륙카드 strong { font-size: 19px; }
.대륙카드 small { font-size: 13px; color: #dfe5ff; }
.진도바 { display: block; height: 8px; margin-top: 6px; background: rgba(0,0,0,.3); border-radius: 99px; overflow: hidden; }
.진도바 b { display: block; height: 100%; background: var(--색); }

/* 대륙 → 도시 */
.나라칸 { margin: 0 0 18px; }
.나라칸 { padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid var(--선); }
.나라칸 h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 20px; }
.깃발 { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 12px; background: #fff; color: #1a1f3d; font-size: 22px; line-height: 1; }
.깃발 small { font-size: 13px; font-weight: 900; letter-spacing: .06em; }
.인사 { font-size: 13px; font-style: normal; color: var(--금); margin-left: auto; padding: 4px 10px; border-radius: 999px; background: rgba(255,211,106,.12); border: 1px solid rgba(255,211,106,.35); }
.인사 .이중 { display: inline; } .인사 .영, .인사 .한 { display: inline; } .인사 .한::before { content: " · "; }
.도시판 { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.도시카드 { position: relative; display: grid; gap: 6px; min-height: 180px; padding: 16px; border: 2px solid var(--선); border-radius: 16px; background: var(--판); text-align: left; transition: transform .18s; }
.도시카드:hover { transform: translateY(-3px); border-color: var(--하늘); }
.도시카드.완주 { border-color: var(--초록); background: rgba(126,242,155,.12); }
.도시그림 { font-size: 34px; line-height: 1; }
.도시카드 strong { font-size: 18px; }
.도시카드 small { font-size: 13px; color: #dfe5ff; line-height: 1.45; }
.시대점 { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; font-weight: 800; color: #c9d3f5; }
.시대점 i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); }
.시대점 i.완 { background: var(--초록); }
.균열딱지 { position: absolute; top: 10px; right: 10px; padding: 3px 8px; border-radius: 999px; background: var(--보라); color: #1a0f33; font-size: 11px; font-weight: 900; }

/* 도시 → 시대 */
.타임라인줄 { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 13px; font-weight: 800; color: #c9d3f5; }
.타임라인줄 span { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--선); }
.타임라인줄 span.완 { background: var(--초록); color: #0e2a16; border-color: var(--초록); }
.타임라인줄 i { flex: 1; height: 2px; background: var(--선); }
.시대판 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.시대카드 { --배경: #333; position: relative; display: grid; gap: 4px; min-height: 190px; padding: 16px; border: 2px solid var(--선); border-radius: 18px; background: linear-gradient(170deg, var(--배경), rgba(0,0,0,.35)); text-align: left; transition: transform .18s; }
.시대카드:hover { transform: translateY(-3px); border-color: var(--금); }
.시대카드.잠김 { opacity: .5; }
.시대카드.완주 { border-color: var(--초록); }
.시대연도 { font-size: 12px; font-weight: 900; color: var(--금); letter-spacing: .06em; }
.시대인물 { font-size: 42px; line-height: 1; }
.시대카드 strong { font-size: 18px; }
.시대카드 small { font-size: 13px; color: #eef1ff; }
.완주딱지 { position: absolute; top: 12px; right: 12px; padding: 3px 8px; border-radius: 999px; background: var(--초록); color: #0e2a16; font-size: 11px; font-weight: 900; }
.완주딱지 .한 { display: none; }

/* 장면 */
.장면머리 { --배경: #333; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 0 0 12px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(90deg, var(--배경), rgba(0,0,0,.3)); border: 1px solid var(--선); }
.장면연도 { display: block; font-size: 12px; font-weight: 900; color: var(--금); }
.장면제목 h2 { margin: 2px 0 0; font-size: 20px; }
.장면제목 h2 .한 { font-size: .7em; }
.단계줄 { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 12px; font-weight: 800; }
.단계줄 li { padding: 4px 8px; border-radius: 999px; background: rgba(0,0,0,.3); color: #9fb0e0; }
.단계줄 li.지금 { background: var(--금); color: #3a2a00; }
.무대 { --배경: #333; padding: 20px; border-radius: 20px; background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.12), transparent 50%), linear-gradient(180deg, var(--배경), rgba(0,0,0,.45)); border: 1px solid var(--선); }
.인물판 { text-align: center; }
.인물그림 { display: block; font-size: 84px; line-height: 1; margin-bottom: 6px; animation: 둥실 3s ease-in-out infinite; }
@keyframes 둥실 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.인물판 strong { font-size: 20px; }
.말풍선 { position: relative; max-width: 680px; margin: 14px auto; padding: 16px 18px; border-radius: 18px; background: #fff; color: #1a1f3d; font-size: 18px; line-height: 1.55; font-weight: 700; }
.말풍선::before { content: ""; position: absolute; top: -10px; left: 50%; border: 10px solid transparent; border-top: 0; border-bottom-color: #fff; transform: translateX(-50%); }
.말풍선 .한 { color: #4a5a8a; font-size: .85em; font-weight: 600; }
.읽기 { display: inline-block; margin-top: 8px; padding: 5px 10px; border: 0; border-radius: 999px; background: rgba(98,230,255,.25); color: #0b3a44; font-size: 13px; font-weight: 800; }
.말풍선 .읽기 { background: #e6f7ff; }
.안내 { margin: 0 0 12px; text-align: center; font-size: 15px; color: #dfe5ff; }
.버튼줄 { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.주버튼, .보조버튼 { padding: 12px 22px; border: 0; border-radius: 14px; font-size: 17px; font-weight: 900; }
.주버튼 { background: var(--금); color: #3a2a00; box-shadow: 0 5px 0 #b8922e; }
.주버튼:active { transform: translateY(3px); box-shadow: 0 2px 0 #b8922e; }
.보조버튼 { background: rgba(255,255,255,.14); border: 1px solid var(--선); }
.주버튼 .한, .보조버튼 .한 { font-size: .72em; }
.보스버튼 { background: var(--분홍); color: #fff; box-shadow: 0 5px 0 #a8263f; animation: 반짝 1.6s infinite; }

.탐험판 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.탐험칸 { display: grid; gap: 4px; min-height: 130px; padding: 14px; border: 2px solid var(--선); border-radius: 16px; background: rgba(255,255,255,.1); text-align: center; transition: transform .18s; }
.탐험칸:hover { transform: translateY(-3px); border-color: var(--하늘); }
.탐험칸.봄 { background: rgba(126,242,155,.12); border-color: rgba(126,242,155,.5); }
.칸그림 { font-size: 40px; line-height: 1; }
.탐험칸 strong { font-size: 16px; }
.탐험칸 small { font-size: 12px; color: #c9d3f5; }
.상식카드 { margin-top: 14px; padding: 16px 18px; border-radius: 16px; background: #fff8e6; color: #3a2a00; border: 3px solid var(--금); animation: 올라옴 .3s ease; }
@keyframes 올라옴 { from { opacity: 0; transform: translateY(8px); } }
.카드딱지 { display: inline-block; margin-bottom: 6px; padding: 3px 8px; border-radius: 999px; background: var(--금); font-size: 12px; font-weight: 900; }
.카드딱지 .한 { display: none; }
.상식카드 strong { display: block; font-size: 18px; }
.상식카드 p { margin: 6px 0 0; font-size: 16px; line-height: 1.55; font-weight: 600; }
.상식카드 .한 { color: #7a5a10; }
.상식카드 .읽기 { background: #ffe9a8; color: #3a2a00; }

/* 유물 획득 */
.무대.축하 { text-align: center; }
.무대.축하 h3 { margin: 0 0 12px; font-size: 26px; }
.유물카드.큰 { max-width: 480px; margin: 0 auto 14px; padding: 18px; border-radius: 18px; background: #fff; color: #1a1f3d; border: 3px solid var(--금); }
.유물카드.큰 .유물그림 { display: block; font-size: 64px; line-height: 1; animation: 둥실 3s infinite; }
.유물카드.큰 strong { display: block; margin-top: 6px; font-size: 20px; }
.유물카드.큰 p { margin: 8px 0; font-size: 15px; line-height: 1.5; color: #1a1f3d; }
.유물카드.큰 .한 { color: #4a5a8a; }
.유물카드.큰 small { display: block; color: #888; font-size: 12px; }
.효과딱지 { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(98,230,255,.25); color: #0b3a44; font-size: 13px; font-weight: 900; }
.합류 { margin: 10px auto; max-width: 520px; padding: 12px; border-radius: 14px; background: rgba(126,242,155,.15); border: 1px solid var(--초록); font-size: 16px; font-weight: 800; line-height: 1.5; }
.합류 small { font-weight: 600; color: #dfe5ff; }
.보상 { font-size: 16px; font-weight: 800; color: var(--금); line-height: 1.6; }

/* 전투 */
#전투자리 .전투막 { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(8, 6, 24, .86); overflow-y: auto; }
.전투창 { --배경: #333; width: min(640px, 100%); max-height: 96vh; overflow-y: auto; padding: 18px; border-radius: 22px; border: 2px solid var(--선); background: linear-gradient(180deg, var(--배경), #0b0f26 70%); box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.전투창 h2 { margin: 0 0 6px; text-align: center; font-size: 22px; }
.전투창 h2 .한 { font-size: .65em; }
.적대사 { margin: 0 0 8px; text-align: center; font-size: 15px; color: #ffc2cf; font-style: italic; }
.적그림 { text-align: center; font-size: 72px; line-height: 1; margin: 4px 0 8px; animation: 둥실 2.2s infinite; }
.적그림.보스 { font-size: 96px; filter: drop-shadow(0 0 18px rgba(255,95,126,.6)); }
.적그림.맞음 { animation: 맞음 .4s; }
@keyframes 맞음 { 0% { transform: translateX(0); } 25% { transform: translateX(-10px) rotate(-8deg); filter: brightness(2); } 75% { transform: translateX(10px) rotate(8deg); } }
.체력줄 { display: grid; grid-template-columns: 110px 1fr 70px; align-items: center; gap: 8px; margin: 4px 0; font-size: 14px; font-weight: 800; }
.체력줄 b .한 { display: none; }
.체력줄 small { text-align: right; }
.체력바 { height: 14px; background: rgba(0,0,0,.4); border-radius: 99px; overflow: hidden; }
.체력바 span { display: block; height: 100%; background: linear-gradient(90deg, #ff5f7e, #ff9f5e); transition: width .35s; }
.체력바.나 span { background: linear-gradient(90deg, #7ef29b, #62e6ff); }
.버프줄 { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; min-height: 22px; margin: 6px 0; }
.딱지 { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.딱지 .한 { display: none; }
.딱지.좋음 { background: rgba(126,242,155,.25); color: var(--초록); }
.딱지.나쁨 { background: rgba(255,95,126,.25); color: #ffb3c2; }
.문제박스 { margin: 8px 0; padding: 14px; border-radius: 16px; background: #fff; color: #1a1f3d; }
.문제글 { margin: 0 0 10px; font-size: 18px; font-weight: 900; line-height: 1.45; }
.문제글 .한 { color: #4a5a8a; font-weight: 700; }
.보기줄 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.보기 { padding: 10px 12px; border: 2px solid #d8deee; border-radius: 12px; background: #f6f8ff; color: #1a1f3d; font-size: 15px; font-weight: 800; text-align: left; transition: .15s; }
.보기:hover:not(:disabled) { border-color: var(--하늘); background: #eef9ff; }
.보기 .한 { color: #5a6a9a; font-weight: 600; }
.보기.정답 { background: #e3f8ef; border-color: #48c390; }
.보기.오답 { background: #ffebed; border-color: #ef8690; }
.보기.지움 { opacity: .3; text-decoration: line-through; }
.보기:disabled { cursor: default; }
.기술줄 { margin: 8px 0; text-align: center; }
.기술버튼 { padding: 9px 16px; border: 2px solid var(--보라); border-radius: 999px; background: rgba(179,140,255,.2); font-size: 14px; font-weight: 900; }
.기술버튼:disabled { opacity: .5; cursor: default; }
.기술버튼 .한 { display: none; }
.기술없음 { font-size: 12px; color: #9fb0e0; }
.전투로그 { max-height: 130px; overflow-y: auto; padding: 10px 12px; border-radius: 12px; background: rgba(0,0,0,.3); font-size: 13px; line-height: 1.5; }
.전투로그 .이중 { display: inline; } .전투로그 .영 { display: inline; } .전투로그 .한 { display: block; color: #9fb0e0; font-size: .85em; }
.끝제목 { margin: 10px 0 6px; text-align: center; font-size: 28px; }
.끝글 { text-align: center; font-size: 16px; line-height: 1.5; }

/* 심층 질문 · 친절한 해설 */
.문제메타 { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: -4px 0 10px; color: #42527d; font-size: 12px; font-weight: 900; }
.문제메타 > span:first-child { padding: 4px 9px; border-radius: 999px; background: #edf1ff; }
.문제메타 .한 { color: #68759a; }
.난이도별 { color: #e6a900; letter-spacing: 1px; }
.사료조각 { margin: 0 0 10px; padding: 10px 12px; border: 0; border-left: 4px solid #906bd9; border-radius: 0 10px 10px 0; background: #f5f0ff; color: #332657; font-size: 13px; line-height: 1.45; }
.사료조각 b { display: block; margin-bottom: 5px; color: #6747ad; }
.사료조각 .한 { color: #665984; }
.해설패널 { margin-top: 12px; padding: 14px; border-radius: 14px; background: #eff8ff; border: 2px solid #75c8ea; animation: 올라옴 .25s ease; }
.해설패널.성공 { background: #ebfbf2; border-color: #48c390; }
.해설패널.실패 { background: #fff7e6; border-color: #efb94e; }
.해설패널 h4 { margin: 0 0 9px; color: #17395a; font-size: 18px; }
.해설패널 > div { margin: 7px 0; padding-top: 7px; border-top: 1px solid rgba(32,58,92,.12); }
.해설패널 b { color: #284d72; font-size: 13px; }
.해설패널 p { margin: 3px 0; color: #344566; font-size: 14px; line-height: 1.5; }
.해설패널 .한 { color: #667493; }
.정답공개 { padding: 7px 9px; border-radius: 9px; background: rgba(255,255,255,.75); font-weight: 900; }
.출처링크 { display: inline-block; margin-top: 7px; color: #5b44a7; font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.해설계속 { display: block; width: 100%; margin-top: 12px; font-size: 15px; }

/* 크로노 원정대 */
.절대딱지 { display: inline-block; padding: 4px 9px; border-radius: 999px; background: linear-gradient(90deg, #7048cb, #336dcc); color: #fff; font-size: 10px; font-weight: 1000; letter-spacing: .12em; }
.오늘의뢰 { display: grid; grid-template-columns: 240px 1fr; gap: 14px; align-items: center; margin: 0 0 14px; padding: 15px; border: 1px solid rgba(179,140,255,.45); border-radius: 18px; background: radial-gradient(circle at 0 0, rgba(179,140,255,.22), transparent 45%), rgba(255,255,255,.055); }
.오늘의뢰 h3, .퀘스트구역 h3 { margin: 5px 0 3px; }
.오늘의뢰 p { margin: 0; color: #cbd3ee; font-size: 13px; }
.의뢰판 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.의뢰카드 { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2px 7px; padding: 11px; border: 1px solid var(--선); border-radius: 13px; background: rgba(8,12,38,.55); overflow: hidden; }
.의뢰카드 > span { grid-row: span 2; align-self: center; font-size: 24px; }
.의뢰카드 strong { font-size: 12px; }
.의뢰카드 strong .한 { font-size: .76em; }
.의뢰카드 small { color: #b8c3e8; font-size: 11px; }
.의뢰카드 i { grid-column: 1 / -1; height: 4px; margin-top: 5px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; }
.의뢰카드 i b { display: block; height: 100%; background: linear-gradient(90deg, var(--보라), var(--하늘)); }
.의뢰카드 em { position: absolute; top: 4px; right: 6px; color: var(--초록); font-size: 9px; font-style: normal; font-weight: 900; }
.의뢰카드.완료 { border-color: var(--초록); background: rgba(126,242,155,.1); }
.판타지머리, .대서고머리 { padding: 18px; border: 1px solid rgba(179,140,255,.38); border-radius: 20px; background: radial-gradient(circle at 90% 0, rgba(98,230,255,.16), transparent 40%), linear-gradient(135deg, rgba(68,41,131,.48), rgba(20,26,63,.3)); }
.원정영웅 { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: center; margin-bottom: 14px; padding: 20px; border: 1px solid var(--선); border-radius: 20px; background: linear-gradient(135deg, rgba(255,211,106,.12), rgba(179,140,255,.12)); }
.시계탑그림 { text-align: center; font-size: 88px; filter: drop-shadow(0 0 22px rgba(255,211,106,.35)); animation: 둥실 3s infinite; }
.원정영웅 small, .균열서사 small { color: var(--하늘); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.원정영웅 h3, .균열서사 h3 { margin: 4px 0 8px; }
.원정영웅 p { margin: 8px 0 0; color: #dfe5ff; }
.큰진도 { display: flex; align-items: center; gap: 10px; }
.큰진도 i { flex: 1; height: 14px; border-radius: 99px; background: rgba(0,0,0,.35); overflow: hidden; }
.큰진도 i b { display: block; height: 100%; background: linear-gradient(90deg, var(--보라), var(--하늘), var(--금)); }
.퀘스트구역, .뱅크현황 { margin-bottom: 14px; padding: 16px; border: 1px solid var(--선); border-radius: 18px; background: var(--판); }
.균열서사 { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin-bottom: 14px; padding: 18px; border: 2px solid var(--보라); border-radius: 18px; background: radial-gradient(circle at 0 50%, rgba(179,140,255,.28), transparent 38%), rgba(47,30,92,.45); }
.균열서사 > span { font-size: 64px; animation: 반짝 2s infinite; }
.균열서사 p { color: #dfe5ff; line-height: 1.5; }
.균열서사 .주버튼 { margin-top: 4px; font-size: 14px; padding: 10px 16px; }
.뱅크현황 h3 { margin: 0 0 6px; }
.뱅크현황 p { color: #dfe5ff; }
.유형구름 { display: flex; flex-wrap: wrap; gap: 6px; }
.유형구름 span { padding: 5px 9px; border-radius: 999px; background: rgba(98,230,255,.1); border: 1px solid rgba(98,230,255,.25); color: #dffaff; font-size: 11px; font-weight: 800; }

/* 크로노 대서고 · 시대별 미니 백서 */
.대서고검색 { display: flex; align-items: center; gap: 7px; margin-top: 12px; padding: 9px 12px; border: 1px solid var(--선); border-radius: 12px; background: rgba(0,0,0,.24); }
.대서고검색 input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; }
.대서고검색 input::placeholder { color: #9fb0d5; }
.사고룬설명 { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.05); font-size: 12px; font-weight: 900; }
.사고룬설명 span { padding: 5px 8px; border-radius: 9px; background: rgba(98,230,255,.09); }
.사고룬설명 i { color: var(--금); font-style: normal; }
.대서고판 { display: grid; gap: 9px; }
.백서카드 { border: 1px solid var(--선); border-radius: 16px; background: rgba(255,255,255,.055); overflow: hidden; }
.백서카드[hidden] { display: none; }
.백서카드 summary { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 5px 10px; padding: 14px 16px; cursor: pointer; list-style: none; }
.백서카드 summary::-webkit-details-marker { display: none; }
.백서카드 summary::after { content: "＋"; grid-column: 4; grid-row: 1 / span 2; color: var(--금); font-size: 22px; font-weight: 900; }
.백서카드[open] summary::after { content: "−"; }
.백서시대 { grid-column: 1 / -1; color: var(--금); font-size: 11px; font-weight: 900; }
.백서인물 { font-size: 34px; }
.백서카드 summary strong { font-size: 17px; }
.백서카드 summary small { grid-column: 2 / 4; color: #c9d3f5; font-size: 12px; }
.백서본문 { padding: 0 16px 16px; }
.큰질문 { padding: 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(98,230,255,.12), rgba(179,140,255,.12)); }
.큰질문 b, .판타지임무 b { color: var(--하늘); font-size: 10px; letter-spacing: .12em; }
.큰질문 h3 { margin: 5px 0; font-size: 19px; }
.큰질문 p { margin: 7px 0 0; color: #dfe5ff; line-height: 1.55; }
.인과흐름 { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 8px; align-items: stretch; margin: 10px 0; }
.인과흐름 article { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.07); }
.인과흐름 article b { color: var(--금); font-size: 12px; }
.인과흐름 article p { margin: 5px 0 0; font-size: 13px; line-height: 1.5; color: #dfe5ff; }
.인과흐름 > i { align-self: center; color: var(--금); font-style: normal; }
.증거대결 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.증거대결 article { padding: 13px; border-left: 4px solid var(--하늘); border-radius: 10px; background: rgba(98,230,255,.08); }
.증거대결 article.왜곡 { border-color: var(--분홍); background: rgba(255,95,126,.08); }
.증거대결 b { display: block; margin-bottom: 6px; }
.증거대결 p, .증거대결 s { display: block; margin: 0 0 6px; color: #e8ecff; font-size: 13px; line-height: 1.5; }
.증거대결 small { display: block; color: #bfc9ec; font-size: 12px; line-height: 1.45; }
.판타지임무 { display: flex; gap: 10px; align-items: center; margin-top: 10px; padding: 13px; border: 1px solid rgba(179,140,255,.45); border-radius: 13px; background: rgba(83,49,151,.2); }
.판타지임무 > span { font-size: 34px; }
.판타지임무 p { margin: 4px 0 0; color: #e4dcff; font-size: 13px; line-height: 1.5; }
.검색없음 { text-align: center; color: #b8c3e8; }

/* 도감들 */
.여권판, .도감판 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.도장 { padding: 14px; border-radius: 16px; border: 2px dashed var(--금); background: rgba(255,211,106,.08); text-align: center; transform: rotate(-1.5deg); }
.도장:nth-child(even) { transform: rotate(1.5deg); }
.도장그림 { font-size: 36px; display: block; }
.도장 strong { display: block; font-size: 16px; }
.도장 small { display: block; font-size: 12px; color: #dfe5ff; }
.도장 em { display: block; margin-top: 4px; font-size: 11px; font-style: normal; color: var(--금); font-weight: 800; }
.장착줄 { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--판); border: 1px solid var(--선); font-size: 14px; font-weight: 700; }
.유물카드, .동료카드 { position: relative; display: grid; gap: 4px; padding: 14px; border: 2px solid var(--선); border-radius: 16px; background: var(--판); text-align: left; transition: transform .18s; }
.유물카드:hover:not(:disabled), .동료카드:hover:not(:disabled) { transform: translateY(-3px); border-color: var(--하늘); }
.유물카드.없음, .동료카드.없음 { opacity: .45; cursor: default; }
.유물카드.장착, .동료카드.동행 { border-color: var(--초록); background: rgba(126,242,155,.12); }
.유물카드 .유물그림, .동료카드 .인물그림 { font-size: 40px; line-height: 1; margin: 0; animation: none; }
.유물카드 strong, .동료카드 strong { font-size: 16px; }
.유물카드 small, .동료카드 small { font-size: 12px; color: #c9d3f5; }
.유물카드 p, .기술설명 { margin: 4px 0; font-size: 13px; line-height: 1.45; color: #dfe5ff; }
.장착딱지 { position: absolute; top: 10px; right: 10px; padding: 3px 8px; border-radius: 999px; background: var(--초록); color: #0e2a16; font-size: 11px; font-weight: 900; }
.장착딱지 .한 { display: none; }
.호감 { font-size: 13px; letter-spacing: 2px; }

.타임라인 { margin: 0; padding: 0; list-style: none; border-left: 3px solid var(--선); }
.타임라인 li { --색: var(--하늘); position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 8px 0 8px 20px; }
.타임라인 li::before { content: ""; position: absolute; left: -9px; top: 14px; width: 14px; height: 14px; border-radius: 50%; background: var(--색); box-shadow: 0 0 0 3px var(--잉크); }
.타임라인 .연도 { font-weight: 900; color: var(--금); font-size: 14px; }
.타임라인 strong { display: block; font-size: 16px; }
.타임라인 small { display: block; font-size: 12px; color: #c9d3f5; }

.복습판 { display: grid; gap: 8px; }
.복습카드 { padding: 12px 14px; border-radius: 14px; background: var(--판); border: 1px solid var(--선); }
.복습카드 summary { cursor: pointer; font-weight: 800; font-size: 15px; }
.복습카드 summary > span { display: block; font-size: 12px; color: var(--분홍); margin-bottom: 2px; }
.복습카드 .정답 { margin: 8px 0 4px; font-weight: 900; color: var(--초록); }
.복습카드 p { margin: 4px 0; font-size: 14px; line-height: 1.5; }

@media (max-width: 760px) {
  body { padding: 0 10px 60px; }
  .대륙판 { grid-template-columns: repeat(2, 1fr); }
  .시대판, .탐험판 { grid-template-columns: 1fr; }
  .시대카드 { min-height: auto; }
  .장면머리 { grid-template-columns: 1fr auto; }
  .장면머리 .단계줄 { grid-column: 1 / -1; }
  .보기줄 { grid-template-columns: 1fr; }
  .체력줄 { grid-template-columns: 80px 1fr 60px; font-size: 12px; }
  .타임라인 li { grid-template-columns: 1fr; gap: 2px; }
  .말풍선 { font-size: 16px; }
  .오늘의뢰 { grid-template-columns: 1fr; }
  .의뢰판 { grid-template-columns: 1fr; }
  .원정영웅 { grid-template-columns: 80px 1fr; }
  .시계탑그림 { font-size: 58px; }
  .인과흐름 { grid-template-columns: 1fr; }
  .인과흐름 > i { justify-self: center; transform: rotate(90deg); }
  .증거대결 { grid-template-columns: 1fr; }
}
