/* 그림자 영웅 - sumi-e look for the story scenes only. Menu, pop-ups, the status screen and the title keep the original design
   (css/style.css, menu.css, interface.css); battle skill strokes and the boss dialogue are drawn on the canvas (js/inkfx.js, js/dialogue.js). */
:root{--brush:"Noto Serif KR","Nanum Myeongjo","AppleMyungjo","Batang",serif}
#scr-title,#title-depth .title-stage{background:#1a1816}
#scr-title .game-title{filter:drop-shadow(0 6px 14px #000a)}
.story-dialogue{background:#14110ff0;color:#efe6d2;border-color:#51463a;border-radius:3px;box-shadow:0 12px 36px #0007}
#story-heading{display:inline-block;padding:3px 12px;border-radius:2px;background:#14110fcc;color:#efe6d2;font-family:var(--brush);letter-spacing:.1em}
#story-line{font-family:var(--brush)}
.story-controls button{border-color:#51463a;background:#2a231c;color:#efe6d2}
#story-next{background:#b3261e;border-color:#b3261e;color:#fff6e4}
/* second shortcut group, under the status button: A = next throwable; the two guardian skills (↓→ + A, ↓← + A) can also be tapped here */
#skill-shortcuts{display:none;position:absolute;right:calc(var(--u)*10);top:max(calc(var(--u)*62),58px);gap:6px;z-index:6}
.in-stage #skill-shortcuts{display:flex}
.in-stage:has(.modal.on) #skill-shortcuts{visibility:hidden}
#skill-shortcuts .potion-shortcut{width:clamp(40px,calc(var(--u)*34),52px);height:clamp(40px,calc(var(--u)*40),60px)}
.quick-next-mark{display:block;font:800 clamp(15px,calc(var(--u)*16),24px)/1.1 var(--sans);color:#ffd45a}
.potion-shortcut.quick-next .potion-count{font-size:clamp(10px,calc(var(--u)*10),13px);color:#e6edf1}
.potion-shortcut.boss-skill{border-color:#c79a4a}
.potion-shortcut.boss-skill .potion-image{width:clamp(20px,calc(var(--u)*20),30px);height:clamp(20px,calc(var(--u)*20),30px)}
.potion-shortcut.boss-skill .potion-count{font-size:clamp(8px,calc(var(--u)*8),11px);white-space:nowrap;max-width:100%;overflow:hidden}
.skill-art.supply-art{display:grid;place-items:center;background:#111a25}
.skill-art.supply-art img{width:74%;height:74%;object-fit:contain}

/* status window: the detailed-status cards opened by a worn item stay put (js/itemui.js fitPin) */
.status-detail-pin.pinned{position:sticky;top:-2px;z-index:2;margin:-2px -4px 0 -2px;padding:2px 4px 8px 2px;background:var(--ui-surface);box-shadow:0 8px 8px -8px #000c}

/* boss relics (수호자의 유품): a banner colour of their own and one line that says what the skill does */
:root{--relic:#e0b057;--relic-bg:#33260f}
.equipment-choice.relic,.worn-item.relic,.eq-row.relic,.catalog-item.relic{border-color:var(--relic);background:linear-gradient(100deg,var(--relic-bg),#1f1a12 78%)}
.worn-item.relic{border-inline-start:3px solid var(--relic)}
.equipment-choice.relic.selected{border-color:#ffd98a;background:linear-gradient(100deg,#4a3713,#2a2114 78%)}
.equipment-choice.relic .choice-name,.worn-item.relic b,.eq-row.relic .et>b,.catalog-item.relic>span{color:#ffe2a6}
.relic-brief{display:block;color:var(--relic);font:600 .86em/1.3 var(--sans);font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.skill-guide-row p .relic-brief{display:inline;color:var(--relic)}
/* in the narrow all-items cards the line wraps inside the card instead of running into the next one */
.catalog-item .relic-brief{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;width:100%;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;text-align:center;font-size:10px;line-height:1.25}
