.menu-btn-story{border:1px solid #bc955d!important;background:linear-gradient(120deg,#382a25,#211b30)!important;color:#f4d7a0!important}
.hunter-book{width:min(1160px,96vw);max-width:96vw;max-height:94dvh;margin:auto;padding:0;border:1px solid #a58151;border-radius:12px;color:#ecdcc4;background:#191622;box-shadow:0 24px 90px #000b;font-family:Georgia,'Noto Serif KR',serif}
.hunter-book::backdrop{background:#090611de;backdrop-filter:blur(7px)}
.book-header{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;border-bottom:1px solid #71593b;gap:12px}.book-brand{font:11px sans-serif;letter-spacing:2.5px;color:#c6a778}.book-header>div{display:flex;gap:8px}
.hunter-book button{cursor:pointer;color:inherit;background:transparent;border:1px solid #796246;border-radius:6px;padding:8px 12px;min-height:44px;font:13px sans-serif}.hunter-book button:hover{background:#a5834426}.hunter-book button:focus-visible{outline:3px solid #dfb968;outline-offset:2px}.hunter-book button:disabled{opacity:.3;cursor:default}
.book-index{display:flex;gap:6px;padding:12px 20px;overflow-x:auto}.book-index button{white-space:nowrap;font-size:12px}.book-index [aria-current=page]{background:#aa814d;color:#160f15;border-color:#d4b275}
.book-spread{display:grid;grid-template-columns:1fr 1fr;min-height:510px}.book-spread figure{margin:0;position:relative;background:#0d111a;min-height:400px}.book-spread img{display:block;width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.book-spread figcaption{position:absolute;bottom:0;left:0;right:0;padding:45px 26px 22px;background:linear-gradient(transparent,#0a0915ed);font-size:14px;font-style:italic;color:#efdfbd}
.book-paper{padding:32px 38px;background:radial-gradient(ellipse at top right,#fcf0d1,#e2cda6);color:#382923;box-shadow:inset 15px 0 25px #32221528;max-height:67dvh;overflow-y:auto}.book-paper #bookChapter{font:11px sans-serif;letter-spacing:2px;color:#855d38;margin:0 0 12px}.book-paper h2{font-size:clamp(25px,3vw,36px);line-height:1.2;margin:0 0 24px;text-wrap:balance}.book-paper #bookText p{font-size:15px;line-height:1.95;margin:0 0 16px;word-break:keep-all}.book-paper #bookText p:first-child:first-letter{font-size:2.2em;float:left;padding:4px 7px 0 0;line-height:1;color:#925027}.book-pagination{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #af956f;padding-top:14px;margin-top:24px;font:12px sans-serif;letter-spacing:3px}
.stage-story-btn{margin-top:8px;background:#20182ddd;color:#e9c995;border:1px solid #927447;border-radius:6px;padding:8px 12px;min-height:44px;cursor:pointer}
.book-pagination,.book-pagination button{color:#63472d}.book-header{position:sticky;top:0;z-index:2;background:#191622}
.vamp-language-btn{position:fixed;bottom:calc(64px + env(safe-area-inset-bottom,0px));left:10px;z-index:60;min-width:44px;min-height:44px;border:1px solid #a98a57;border-radius:8px;background:#20182de8;color:#f5dfb2;cursor:pointer;font:13px sans-serif}
.boss-banner.hidden{display:none}
.book-boss{display:flex;align-items:center;gap:12px;border-top:1px solid #ac936c;padding-top:14px;margin-top:20px}.book-boss img{position:static;width:72px;height:86px;object-fit:contain;flex-shrink:0}.book-boss strong,.book-boss span{display:block;font:12px/1.7 sans-serif}.book-boss strong{color:#713324;margin-bottom:5px}
.boss-banner{position:absolute;top:110px;left:50%;transform:translateX(-50%);width:min(270px,65%);z-index:14;pointer-events:none;text-align:center;background:#140d1fdf;border:1px solid var(--boss-color,#d9b96a);border-radius:8px;padding:7px 10px;box-shadow:0 0 18px #0008}.boss-banner strong{display:block;color:#fff3d5;font:12px/1.5 sans-serif;text-shadow:0 1px 2px #000}.boss-life{height:5px;background:#352b40;margin-top:5px;border-radius:5px;overflow:hidden}#bossLifeFill{height:100%;width:100%;background:var(--boss-color,#d9b96a)}
@media(max-width:700px){.hunter-book{max-height:96dvh}.book-header{padding:10px 12px}.book-brand{font-size:9px;letter-spacing:1px}.book-index{padding:8px 10px}.book-spread{display:block}.book-spread figure{height:230px;min-height:0}.book-spread img{object-position:center 40%}.book-paper{padding:25px 23px;max-height:none;overflow:visible}.book-paper #bookText p{font-size:15px;line-height:1.9}.book-spread figcaption{font-size:12px;padding:35px 18px 14px}}
#playerStats{position:fixed;right:12px;top:150px;width:260px;max-height:calc(100dvh - 180px);overflow:auto;z-index:18;background:#15121eee;border:1px solid #8b7048;border-radius:10px;color:#efe5cd;font:12px/1.5 sans-serif;box-shadow:0 8px 30px #0005;overscroll-behavior:contain}#playerStats[hidden]{display:none}#playerStats summary{cursor:pointer;padding:12px;color:#f2ce88;position:sticky;top:0;background:#221c2c;min-height:20px}#playerStats>div{padding:0 12px 8px}.hunter-stat{display:grid;grid-template-columns:1fr auto;gap:3px;padding:8px 0;border-bottom:1px solid #b89c6430}.hunter-stat strong{font-variant-numeric:tabular-nums;color:#aee5ce}.hunter-stat small{grid-column:1/-1;color:#b7afc3;font-size:10px;line-height:1.65}.stage-story-btn:disabled{opacity:.45;cursor:not-allowed}@media(max-width:1099px){#playerStats{top:155px;right:6px;width:225px;max-height:48dvh}#playerStats:not([open]){width:auto}}
.book-clear-stamp{position:absolute;right:24px;top:28px;transform:rotate(12deg);border:4px double #ebc176;border-radius:9px;padding:10px 18px;color:#ffe6a7;background:#36251ee6;font:bold 24px/1.2 sans-serif;letter-spacing:3px;box-shadow:0 2px 14px #0008;text-shadow:0 1px 3px #000;pointer-events:none}.book-clear-stamp[hidden]{display:none}
