/* 화면 틀 두 벌: 도시 = 헌터패스(앱), 게이트 안 = 잔향의 서(책). 같은 자리, 다른 옷 (04 §3-4) */
:root { --font: "Malgun Gothic", "Noto Sans KR", sans-serif; --serif: "Batang", "Nanum Myeongjo", serif; }
.theme-city { --bg: rgba(255,255,255,.93); --ink: #1d2433; --sub: #5d6685; --line: #d5dbe8; --acc: #2f6bff; --acc2: #2f6bff; --card: #f3f5fa; --rad: 14px; --head: var(--font); --shadow: 0 6px 22px rgba(20,30,60,.25); }
.theme-gate { --bg: rgba(243,233,208,.95); --ink: #3a2f1c; --sub: #7a6a4a; --line: #c9ab62; --acc: #b98a1c; --acc2: #1f8f8a; --card: #eadbb4; --rad: 6px; --head: var(--serif); --shadow: 0 6px 22px rgba(40,25,5,.4); }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #10131f; font-family: var(--font); color: var(--ink); user-select: none; }
#c { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
.hidden { display: none !important; }
button { font: inherit; cursor: pointer; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: calc(var(--rad) * .7); padding: 6px 10px; font-weight: 700; }
button:hover { filter: brightness(1.06); } button.primary, button.on { background: var(--acc); color: #fff; border-color: var(--acc); } button:disabled { opacity: .45; cursor: default; }
.screen { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 30%, #2a3b6a, #0d1124); z-index: 50; }
.screen .card { width: min(480px, 92vw); background: #fff; color: #1d2433; border-radius: 20px; padding: 28px 30px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.screen h1 { margin: 0 0 6px; font-size: 34px; letter-spacing: -1px; } .screen .sub { color: #5d6685; margin: 0 0 18px; line-height: 1.6; }
.screen label { display: block; font-weight: 700; margin-bottom: 12px; } .screen input#name { display: block; width: 100%; margin-top: 6px; padding: 12px; font: inherit; font-size: 18px; border: 2px solid #d5dbe8; border-radius: 12px; }
.screen .row { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; font-weight: 700; } .screen .primary { width: 100%; padding: 14px; font-size: 18px; border-radius: 12px; background: #2f6bff; color: #fff; border: 0; }
.tiny { font-size: 12.5px; color: #7a829c; line-height: 1.6; margin: 12px 0 0; }
#labels, #floats { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.lab { position: absolute; transform: translate(-50%, -100%); text-align: center; white-space: nowrap; font-size: 12.5px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px #000, 0 0 3px #000; line-height: 1.25; }
.lab .ai { display: inline-block; background: #12b3a6; color: #fff; border-radius: 6px; padding: 0 5px; font-size: 10px; margin-left: 3px; text-shadow: none; } .lab.echo { color: #7ff0e4; }
.lab .aibadge { display: block; margin: 0 auto 1px; width: max-content; background: #12b3a6; color: #fff; border-radius: 6px; padding: 0 6px; font-size: 10px; text-shadow: none; }
.lab .hpb { width: 54px; height: 5px; background: rgba(0,0,0,.55); border-radius: 3px; margin: 2px auto 0; overflow: hidden; } .lab .hpb i { display: block; height: 100%; background: #ff5a4a; } .lab.me .hpb i, .lab.ally .hpb i { background: #4ad06a; }
.lab .pob { width: 54px; height: 3px; background: rgba(0,0,0,.5); margin: 1px auto 0; } .lab .pob i { display: block; height: 100%; background: #ffd24a; }
.lab.elite { color: #ffd98a; } .lab.boss { color: #ff9a8a; font-size: 14px; } .lab.npc { color: #fff6c4; } .lab small { display: block; font-weight: 600; font-size: 10.5px; opacity: .9; }
.lab .say { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); background: #fff; color: #1d2433; text-shadow: none; border-radius: 10px; padding: 3px 8px; font-size: 12px; font-weight: 700; max-width: 240px; white-space: normal; width: max-content; }
.flt { position: absolute; transform: translate(-50%, -50%); font-weight: 900; font-size: 15px; color: #fff; text-shadow: 0 1px 0 #000, 0 0 4px #000; animation: flt .8s ease-out forwards; white-space: nowrap; }
.flt.mine { font-size: 24px; color: #fff3b0; } .flt.crit { font-size: 30px; color: #ffb02e; } .flt.hurt { color: #ff6a5a; font-size: 20px; } .flt.heal { color: #7dff9a; } .flt.other { opacity: .6; font-size: 12px; } .flt.txt { color: #cfe6ff; font-size: 14px; } .flt.lbl { color: #ffd76a; font-size: 17px; }
@keyframes flt { 0% { opacity: 0; margin-top: 6px; transform: translate(-50%,-50%) scale(1.5); } 15% { opacity: 1; transform: translate(-50%,-50%) scale(1); } 100% { opacity: 0; margin-top: -46px; } }
#hud > * { position: fixed; z-index: 5; }
#top { left: 12px; top: 10px; display: flex; flex-direction: column; gap: 6px; max-width: 420px; }
#zoneBox, #feedBox, #roomBox, #questBox, #party > div, #chat, #bars, #menu, #prompt, #castBar { background: var(--bg); border: 1px solid var(--line); border-radius: var(--rad); box-shadow: var(--shadow); }
#zoneBox { padding: 7px 12px; font-family: var(--head); } #zoneBox b { font-size: 16px; margin-right: 10px; } #online { font-size: 12px; color: var(--sub); }
#feedBox { padding: 5px 10px; font-size: 12px; color: var(--sub); max-height: 44px; overflow: hidden; } #feedBox div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#roomBox { padding: 6px 12px; font-weight: 800; font-family: var(--head); }
#bossBar { left: 50%; top: 14px; transform: translateX(-50%); width: min(620px, 56vw); } .bn { display: flex; justify-content: space-between; color: #fff; font-weight: 900; text-shadow: 0 1px 3px #000; font-size: 17px; font-family: var(--head); margin-bottom: 3px; }
.bar { position: relative; height: 16px; background: rgba(15,18,30,.75); border-radius: 8px; overflow: hidden; border: 1px solid rgba(0,0,0,.4); } .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; transition: width .15s; } .bar span { position: absolute; inset: 0; text-align: center; font-size: 11px; line-height: 15px; color: #fff; font-weight: 800; text-shadow: 0 1px 1px #000; }
.bar.hp i { background: linear-gradient(#ff6a5a, #d83a3a); } .bar.mp i { background: linear-gradient(#5aa8ff, #2f6bd8); } .bar.ga i { background: linear-gradient(#ffe27a, #e8a81c); } .bar.xp { height: 7px; margin-top: 5px; } .bar.xp i { background: #9be36a; } .bar.xp span { line-height: 7px; font-size: 9px; } .bar.po { height: 7px; margin-top: 3px; } .bar.po i { background: #ffd24a; }
#bars { padding: 6px; width: 250px; display: grid; gap: 4px; } #bars .ga { height: 9px; } #bars .ga span { line-height: 9px; font-size: 8.5px; }
#banner { left: 50%; top: 19%; transform: translateX(-50%); text-align: center; pointer-events: none; }
#banner div { background: rgba(15,18,35,.62); color: #fff; padding: 8px 26px; border-radius: 10px; font-size: 26px; font-weight: 900; font-family: var(--head); animation: ban .95s ease-out forwards; margin-bottom: 6px; } #banner div small { display: block; font-size: 13px; font-weight: 700; opacity: .9; } #banner .big { font-size: 40px; padding: 14px 40px; animation-duration: 2.4s; background: rgba(120,80,0,.7); } #banner .ult { background: rgba(20,60,50,.75); animation-duration: 1.4s; }
@keyframes ban { 0% { opacity: 0; transform: scale(1.4); } 12% { opacity: 1; transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; } }
#toasts { left: 50%; top: 31%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 5px; align-items: center; pointer-events: none; }
#toasts div { background: var(--bg); border: 1px solid var(--line); border-left: 6px solid var(--acc); border-radius: 8px; padding: 6px 14px; font-weight: 700; font-size: 14px; animation: tst 3.4s forwards; box-shadow: var(--shadow); } #toasts .good { border-left-color: #2f9e44; } #toasts .bad { border-left-color: #e5484d; } #toasts .warn { border-left-color: #f08c00; }
@keyframes tst { 0% { opacity: 0; transform: translateY(8px); } 6% { opacity: 1; transform: none; } 85% { opacity: 1; } 100% { opacity: 0; } }
#party { left: 12px; top: 150px; display: flex; flex-direction: column; gap: 5px; width: 190px; } #party > div { padding: 5px 8px; font-size: 12.5px; font-weight: 800; } #party .bar { height: 8px; margin-top: 3px; } #party .ai { background: #12b3a6; color: #fff; border-radius: 5px; padding: 0 4px; font-size: 10px; margin-left: 4px; }
#questBox { right: 12px; top: 196px; width: 250px; padding: 9px 12px; font-size: 12.5px; line-height: 1.5; } #questBox h4 { margin: 0 0 3px; font-size: 14px; font-family: var(--head); color: var(--acc); } #questBox .near { margin-top: 6px; border-top: 1px dashed var(--line); padding-top: 5px; color: var(--sub); } #questBox .near b { color: var(--acc2); } #questBox .d { color: var(--sub); } #questBox .d.done { color: #2f9e44; font-weight: 800; }
#questBox .pat { margin-top: 2px; } #questBox .pat.seen { color: var(--ink); } #questBox .pat.unseen { color: var(--sub); opacity: .6; }
#mini { right: 12px; top: 10px; border-radius: var(--rad); border: 1px solid var(--line); background: var(--bg); box-shadow: var(--shadow); }
#prompt { left: 50%; bottom: 190px; transform: translateX(-50%); padding: 8px 16px; font-weight: 800; font-size: 15px; } #prompt b { background: var(--acc); color: #fff; border-radius: 6px; padding: 1px 8px; margin-right: 8px; }
#castBar { left: 50%; bottom: 236px; transform: translateX(-50%); padding: 7px 12px; width: 260px; font-weight: 800; font-size: 13px; } #castBar .bar { height: 9px; margin-top: 4px; } #castBar i { background: var(--acc); transition: none; }
#chat { left: 12px; bottom: 12px; width: 370px; padding: 7px 9px; pointer-events: auto; } #chatHead { font-size: 11.5px; color: var(--sub); margin-bottom: 3px; } #chatLog { height: 132px; overflow-y: auto; font-size: 13px; line-height: 1.45; user-select: text; } #chatLog .ai b { color: #0f9c90; } #chatLog .sys { color: var(--sub); } #chatLog .pt b { color: #7a4bd8; } #chatLog .all b { color: #c26a00; }
#chatLog .aib { background: #12b3a6; color: #fff; border-radius: 5px; padding: 0 4px; font-size: 10px; margin-left: 3px; font-weight: 800; } #chatIn { width: 100%; margin-top: 5px; padding: 5px 8px; font: inherit; font-size: 13px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.7); }
#bottom { left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0; }
#bottom > #bars { margin-bottom: 6px; } #bottom .xp { width: 100%; }
#skillbar { display: flex; gap: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--rad); padding: 7px; box-shadow: var(--shadow); }
.sk { position: relative; width: 58px; height: 58px; border-radius: calc(var(--rad) * .7); background: var(--card); border: 2px solid var(--line); overflow: hidden; text-align: center; font-size: 10.5px; font-weight: 800; line-height: 1.15; display: flex; align-items: center; justify-content: center; padding: 2px; }
.sk .key { position: absolute; left: 2px; top: 1px; font-size: 10px; color: var(--sub); } .sk .cd { position: absolute; inset: 0; background: rgba(10,14,30,.72); color: #fff; font-size: 19px; display: flex; align-items: center; justify-content: center; } .sk .chg { position: absolute; right: 3px; bottom: 1px; font-size: 11px; color: var(--acc); }
.sk.empty { opacity: .45; } .sk.ult { border-color: #d8a81c; } .sk.sm { width: 44px; height: 58px; } .sk.lock { opacity: .3; } .sk.nomp { filter: grayscale(1); } .sk i.bar2 { position: absolute; left: 0; bottom: 0; height: 4px; }
#menu { right: 12px; bottom: 12px; padding: 5px; display: flex; gap: 4px; flex-wrap: wrap; max-width: 300px; justify-content: flex-end; } #menu button { font-size: 12px; padding: 5px 8px; }
#win { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; background: rgba(8,10,20,.35); }
#winCard { width: min(980px, 94vw); max-height: 88vh; background: var(--bg); border: 1px solid var(--line); border-radius: calc(var(--rad) * 1.3); box-shadow: 0 20px 70px rgba(0,0,0,.5); display: flex; flex-direction: column; }
.theme-gate #winCard { border: 2px solid var(--line); outline: 1px solid #a8893a; outline-offset: -7px; }
#winHead { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 19px; font-family: var(--head); } #winBody { padding: 14px 18px; overflow: auto; font-size: 13.5px; line-height: 1.55; user-select: text; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .grid3 { display: grid; grid-template-columns: 220px 1fr 260px; gap: 14px; } .boxc { background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); padding: 10px 12px; } .boxc h4 { margin: 0 0 6px; font-family: var(--head); }
table.t { width: 100%; border-collapse: collapse; } table.t td, table.t th { padding: 5px 7px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; } table.t th { color: var(--sub); font-size: 12px; }
.statrow { display: grid; grid-template-columns: 54px 44px 1fr 74px; gap: 8px; align-items: center; margin-bottom: 9px; } .track { position: relative; height: 12px; background: rgba(0,0,0,.12); border-radius: 6px; } .track i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--acc); border-radius: 6px; } .track em { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); opacity: .5; } .statrow small { grid-column: 3 / 5; color: var(--sub); margin-top: -6px; } .statrow small.hot { color: #e5484d; font-weight: 800; }
.items { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; } .it { position: relative; aspect-ratio: 1; border: 2px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.5); font-size: 10.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2px; cursor: pointer; line-height: 1.15; } .it.eq::after { content: '착용'; position: absolute; right: 2px; top: 1px; font-size: 9px; color: var(--acc); } .it .up { position: absolute; left: 3px; bottom: 1px; font-size: 10px; color: #c26a00; } .it.sel { outline: 3px solid var(--acc); }
.r0 { border-color: #9aa3ad; } .r1 { border-color: #3fbf5a; } .r2 { border-color: #3f8cff; } .r3 { border-color: #a55cff; } .r4 { border-color: #f2b632; background: #fff6d8; }
.skrow { display: grid; grid-template-columns: 150px 1fr auto; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); align-items: center; } .skrow.no { opacity: .5; } .skrow b { font-family: var(--head); } .tag { display: inline-block; background: var(--acc); color: #fff; border-radius: 6px; padding: 0 6px; font-size: 11px; font-weight: 800; margin-right: 4px; } .tag.g { background: #2f9e44; } .tag.o { background: #f08c00; } .tag.t { background: #12b3a6; } .tag.x { background: #8a90a2; }
.sch { display: block; width: 100%; text-align: left; margin-bottom: 5px; } .sch small { float: right; color: var(--sub); }
#scene { position: fixed; inset: 0; z-index: 30; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 150px; pointer-events: none; } #sceneCard { background: rgba(12,14,28,.86); color: #fff; border-radius: 14px; padding: 16px 26px; width: min(720px, 90vw); font-size: 17px; line-height: 1.7; } #sceneCard b { color: #ffd76a; margin-right: 10px; } #sceneCard .after { margin-top: 8px; color: #9fe0ff; font-weight: 800; font-size: 14px; } #scene.gold #sceneCard { background: rgba(60,45,5,.88); border: 1px solid #ffd76a; }
#decree { position: fixed; inset: 0; pointer-events: none; z-index: 3; display: none; } #decree.on { display: block; backdrop-filter: saturate(0.15); background: rgba(90,95,110,.18); } #decree.gold { display: block; backdrop-filter: saturate(0.25) sepia(.45); background: rgba(120,90,10,.12); }
body.hitstop #c { filter: brightness(1.12); } body.hurt::after { content: ''; position: fixed; inset: 0; pointer-events: none; box-shadow: inset 0 0 120px rgba(255,60,40,.55); z-index: 4; }
#tip { position: fixed; z-index: 60; pointer-events: none; background: rgba(15,18,35,.94); color: #fff; border-radius: 10px; padding: 9px 12px; font-size: 12.5px; line-height: 1.55; max-width: 300px; display: none; } #tip b { color: #ffd76a; font-size: 14px; } #tip .o { color: #9fe0ff; } #tip .p { color: #ffb86a; }
.map svg { width: 100%; height: auto; background: #fbfbf6; border-radius: 12px; } .theme-gate .map svg { background: #efe2bd; }
.result h2 { font-family: var(--head); margin: 0 0 8px; font-size: 26px; } .result .time { font-size: 44px; font-weight: 900; font-family: var(--head); } .result .near div { display: grid; grid-template-columns: 1fr 120px; gap: 10px; align-items: center; margin-bottom: 5px; }
kbd { background: var(--card); border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 6px; padding: 0 6px; font: inherit; font-weight: 800; }
/* 창 배치 고침(2부 마무리 점검): 칸이 내용에 밀려 넘치지 않게, 계승 창의 설명 칸을 넓게, 고른 유파 칸의 글자가 보이게 */
#winCard { width: min(1180px, 96vw); }
.grid2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.grid3 { grid-template-columns: 190px minmax(0, 1fr) 250px; }
.skrow { grid-template-columns: 112px minmax(0, 1fr) auto; }
.skrow button { padding: 4px 8px; min-width: 0; }
.sch.on small { color: rgba(255, 255, 255, .88); }

/* ===== HUD 2차: 구슬 · 아이콘 기술 바 · 큰 숫자 · 지도 카드 · 분위기 (2부 마무리) ===== */
#labels { background: radial-gradient(ellipse at 50% 46%, transparent 52%, rgba(12,14,34,.34) 100%); }
body[data-tone="dusk"] #labels { background: radial-gradient(ellipse at 50% 46%, transparent 42%, rgba(60,20,10,.5) 100%); }
body[data-tone="abbey"] #labels { background: radial-gradient(ellipse at 50% 46%, transparent 40%, rgba(4,10,30,.6) 100%); }
body[data-tone="crypt"] #labels { background: radial-gradient(ellipse at 50% 46%, transparent 34%, rgba(2,6,20,.72) 100%); }
#bottom { flex-direction: row; align-items: flex-end; gap: 10px; }
#mid { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
#mid .ga { height: 11px; } #mid .ga span { line-height: 10px; font-size: 9px; } #mid .xp { margin-top: 0; }
#skillbar { background: linear-gradient(#262b46, #14172b); border: 1px solid #5d6690; box-shadow: 0 6px 22px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.12); gap: 7px; padding: 8px; }
.theme-gate #skillbar { background: linear-gradient(#3a2c18, #1c150b); border-color: #c9ab62; }
.sk { width: 62px; height: 62px; background-color: #0e1122; background-size: cover; background-position: center; border: 2px solid var(--c, #4a5274); color: #fff; align-items: flex-end; box-shadow: inset 0 0 0 1px rgba(0,0,0,.6); }
.sk .key { left: 0; top: 0; background: rgba(8,10,24,.82); color: #ffe9a8; padding: 0 5px; border-radius: 0 0 6px 0; font-size: 10.5px; z-index: 2; }
.sk .nm { position: relative; z-index: 1; width: 100%; background: linear-gradient(transparent, rgba(6,8,20,.9) 45%); font-size: 9.5px; padding: 7px 1px 1px; line-height: 1.1; text-shadow: 0 1px 1px #000; white-space: nowrap; overflow: hidden; }
.sk .cd { background: conic-gradient(rgba(6,8,22,.84) calc(var(--p, 1) * 360deg), rgba(6,8,22,.38) 0); font-weight: 900; text-shadow: 0 1px 3px #000; z-index: 3; }
.sk .chg { color: #fff; background: rgba(8,10,24,.8); border-radius: 6px 0 0 0; padding: 0 4px; right: 0; bottom: 0; z-index: 4; }
.sk.empty { opacity: 1; background: repeating-linear-gradient(45deg, #161a30, #161a30 6px, #1b2038 6px, #1b2038 12px); border-style: dashed; }
.sk.lock { opacity: .55; color: #8f97b8; align-items: center; background: #12152a; }
.sk.ult { border-color: #f2c14a; box-shadow: 0 0 12px rgba(242,193,74,.55), inset 0 0 0 1px rgba(0,0,0,.6); }
.sk.sm { width: 48px; height: 62px; } .sk.nomp { filter: grayscale(.9) brightness(.7); }
.sk.ready::after { content: ''; position: absolute; inset: -2px; border-radius: inherit; animation: skready .45s ease-out forwards; pointer-events: none; z-index: 5; }
@keyframes skready { from { box-shadow: inset 0 0 0 40px rgba(255,255,255,.75); } to { box-shadow: inset 0 0 0 0 rgba(255,255,255,0); } }
.orb { position: relative; width: 104px; height: 104px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 40%, #1b1f38, #080a16); border: 3px solid #5d6690; box-shadow: 0 6px 20px rgba(0,0,0,.55), inset 0 0 18px rgba(0,0,0,.8); flex: none; }
.theme-gate .orb { border-color: #c9ab62; }
.orb i { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; transition: height .18s; }
.orb.hp i { background: linear-gradient(#ff6f5c, #b81f2c 70%, #7a0f1c); box-shadow: 0 -3px 10px rgba(255,120,100,.7); } .orb.mp i { background: linear-gradient(#63b6ff, #2360d0 70%, #153a8a); box-shadow: 0 -3px 10px rgba(120,180,255,.7); }
.orb u { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 34% 26%, rgba(255,255,255,.5), rgba(255,255,255,0) 34%), radial-gradient(circle at 50% 120%, rgba(0,0,0,.45), transparent 60%); }
.orb b { position: absolute; left: 0; right: 0; top: 30px; text-align: center; color: #fff; font-size: 22px; font-weight: 900; text-shadow: 0 2px 4px #000, 0 0 2px #000; line-height: 1; } .orb b small { display: block; font-size: 11px; font-weight: 800; opacity: .9; margin-top: 3px; }
.orb em { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-style: normal; font-size: 10px; font-weight: 800; color: rgba(255,255,255,.8); text-shadow: 0 1px 2px #000; }
body.lowhp .orb.hp { animation: lowhp .7s infinite; } @keyframes lowhp { 50% { box-shadow: 0 0 26px rgba(255,60,40,.95), inset 0 0 18px rgba(0,0,0,.8); border-color: #ff6a5a; } }
body.lowhp #labels { box-shadow: inset 0 0 160px rgba(200,30,20,.45); }
.flt { font-size: 16px; -webkit-text-stroke: .6px rgba(0,0,0,.75); letter-spacing: -.5px; }
.flt.mine { font-size: 28px; color: #fff6c8; text-shadow: 0 2px 0 #3a2a00, 0 0 8px rgba(0,0,0,.9); }
.flt.crit { font-size: 44px; color: #ffd22e; text-shadow: 0 3px 0 #7a2a00, 0 0 14px #ff7a00, 0 0 3px #000; animation: fltc .95s cubic-bezier(.2,1.4,.4,1) forwards; z-index: 2; }
.flt.dot { font-size: 17px; color: #ffb37a; } .flt.hurt { font-size: 26px; color: #ff5a4a; text-shadow: 0 2px 0 #4a0000, 0 0 8px #000; } .flt.heal { font-size: 22px; } .flt.lbl { font-size: 22px; }
@keyframes fltc { 0% { transform: translate(-50%, -50%) scale(.3); opacity: 0; } 14% { transform: translate(-50%, -70%) scale(1.35); opacity: 1; } 30% { transform: translate(-50%, -80%) scale(1); } 100% { transform: translate(-50%, -170%) scale(.95); opacity: 0; } }
#banner div { background: linear-gradient(90deg, transparent, rgba(10,12,30,.82) 18%, rgba(10,12,30,.82) 82%, transparent); border-radius: 0; padding: 8px 70px; font-size: 30px; letter-spacing: 1px; text-shadow: 0 2px 6px #000; border-top: 1px solid rgba(255,226,122,.5); border-bottom: 1px solid rgba(255,226,122,.5); }
#banner .big { background: linear-gradient(90deg, transparent, rgba(90,58,0,.9) 20%, rgba(90,58,0,.9) 80%, transparent); font-size: 52px; color: #ffe9a8; text-shadow: 0 3px 0 #5a3000, 0 0 22px #ffb02e; padding: 14px 110px; }
#banner .ult { background: linear-gradient(90deg, transparent, rgba(10,60,50,.9) 20%, rgba(10,60,50,.9) 80%, transparent); font-size: 40px; }
#bossBar { top: 12px; width: min(720px, 58vw); background: linear-gradient(rgba(10,12,28,.85), rgba(10,12,28,.55)); border: 1px solid rgba(255,90,70,.55); border-radius: 10px; padding: 7px 14px 9px; box-shadow: 0 6px 22px rgba(0,0,0,.5); }
#bossBar .bar.hp { height: 20px; border-radius: 5px; } #bossBar .bar.hp i { background: linear-gradient(#ff7a5c, #c0222c 60%, #7a0f1c); } #bossBar .bn { font-size: 19px; letter-spacing: 1px; }
#gateCard { position: fixed; left: 50%; bottom: 250px; transform: translateX(-50%); width: 430px; display: flex; background: linear-gradient(rgba(14,18,38,.96), rgba(8,10,24,.96)); border: 1px solid #6fd0ff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 30px rgba(111,208,255,.45), 0 10px 30px rgba(0,0,0,.6); color: #e8f0ff; animation: gcin .25s ease-out; z-index: 6; }
#gateCard img { width: 170px; height: 150px; object-fit: cover; flex: none; } #gateCard .gc { padding: 10px 14px; font-size: 12.5px; line-height: 1.5; min-width: 0; } #gateCard h3 { margin: 0 0 4px; font-size: 19px; color: #fff; } #gateCard small { color: #8fd8ff; font-weight: 800; } #gateCard p { margin: 0; } #gateCard b { color: #ffd76a; margin-right: 4px; }
#gateCard .go { margin-top: 6px; font-weight: 900; color: #fff; } #gateCard kbd { background: #2f6bff; color: #fff; border-radius: 6px; padding: 1px 9px; margin-right: 6px; font-family: inherit; }
@keyframes gcin { from { opacity: 0; transform: translateX(-50%) translateY(14px); } }
#prompt { bottom: 200px; }
#login { background: linear-gradient(rgba(8,10,26,.25), rgba(8,10,26,.72)), url(../assets/img/art/login.jpg) center / cover no-repeat #0a0c1c; }
#login .card { background: rgba(12,15,34,.86); color: #eef2ff; border: 1px solid rgba(111,208,255,.5); box-shadow: 0 0 40px rgba(111,208,255,.3), 0 20px 60px rgba(0,0,0,.6); backdrop-filter: blur(6px); }
#login .card h1 { color: #fff; text-shadow: 0 0 22px rgba(111,208,255,.8); letter-spacing: 2px; } #login .card .sub, #login .card .tiny { color: #b9c6ea; } #login .card label, #login .card .row { color: #dfe7ff; }
.it { background-size: cover; background-position: center; color: #fff; text-shadow: 0 1px 2px #000, 0 0 3px #000; align-items: flex-end; font-size: 10px; background-color: #151a30; }

.it .inm { width: 100%; background: linear-gradient(transparent, rgba(6,8,20,.88) 40%); padding: 8px 1px 1px; border-radius: 0 0 6px 6px; } .it { padding: 0; overflow: hidden; border-width: 2px; } .it.r4 { box-shadow: 0 0 10px rgba(242,182,50,.7); } .it.r3 { box-shadow: 0 0 8px rgba(165,92,255,.55); }
img.ico { width: 46px; height: 46px; border-radius: 8px; border: 1px solid var(--line); display: block; }

#combo { position: fixed; right: 26%; top: 38%; pointer-events: none; text-align: center; opacity: 0; transition: opacity .3s; font-family: var(--head); z-index: 5; }
#combo.on { opacity: 1; } #combo b { display: block; font-size: 64px; line-height: .9; font-weight: 900; color: #fff6c8; -webkit-text-stroke: 1.5px #3a2400; text-shadow: 0 4px 0 #3a2400, 0 0 18px rgba(255,180,40,.8); font-style: italic; }
#combo span { font-size: 19px; font-weight: 900; color: #ffd76a; text-shadow: 0 2px 3px #000; letter-spacing: 2px; }
#combo.c2 b { color: #ffd22e; font-size: 76px; } #combo.c3 b { color: #ff8a2e; font-size: 88px; text-shadow: 0 4px 0 #5a1400, 0 0 26px #ff5a00; }
#combo.pop b { animation: cpop .22s ease-out; } @keyframes cpop { from { transform: scale(1.5) rotate(-4deg); } to { transform: scale(1); } }
#celebrate { position: fixed; inset: 0; pointer-events: none; opacity: 0; z-index: 4; }
#celebrate.on { animation: celeb 1.9s ease-out forwards; }
#celebrate.gold { background: radial-gradient(circle at 50% 52%, rgba(255,236,160,.85) 0, rgba(255,200,80,.35) 16%, transparent 46%), repeating-conic-gradient(from 0deg at 50% 52%, rgba(255,226,122,.22) 0 6deg, transparent 6deg 18deg); }
#celebrate.forge { background: radial-gradient(circle at 50% 48%, rgba(255,150,60,.8) 0, rgba(255,90,20,.3) 14%, transparent 40%), repeating-conic-gradient(from 0deg at 50% 48%, rgba(255,170,80,.25) 0 3deg, transparent 3deg 14deg); }
@keyframes celeb { 0% { opacity: 0; transform: scale(.6); } 12% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35) rotate(8deg); } }
#banner .ico { padding-left: 150px; background-image: var(--ico), linear-gradient(90deg, transparent, rgba(90,58,0,.9) 20%, rgba(90,58,0,.9) 80%, transparent); background-repeat: no-repeat; background-size: 84px 84px, auto; background-position: 54px center, center; }

.skrow { grid-template-columns: 176px minmax(0, 1fr) auto; } .skn { padding-left: 56px; min-height: 48px; background: left center / 48px 48px no-repeat; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; } .skn br { display: none; } .skrow.no .skn { filter: grayscale(.8); }
#gateCard { left: calc(50% + 110px); bottom: 300px; transform: none; } @keyframes gcin { from { opacity: 0; transform: translateY(14px); } }
