/* w-combat: the damage you take, the health bar's hit chip and the level-up card (brand: navy, vermilion, parchment) */
:root{--gc-navy:#16233a;--gc-red:#b8432f;--gc-paper:#f4ecd8}
/* health bar: it sat under the event banner (phone) and the minimap (computer), so a hit was invisible —
   now it sits beside the level badge on a computer and below the boss bar on a phone */
.g-hp{z-index:6;left:180px;top:80px}
@media(max-width:720px){.g-hp{top:226px;left:12px}}
/* health bar: a pale chip lingers behind the bar for a moment so you can see what a hit took */
.g-hp i{position:relative}
.g-hp i .gc-chip{position:absolute;left:0;top:0;bottom:0;display:block;width:100%;background:#f0b8a8;transition:width .5s ease-out}
.g-hp i b{position:relative}
/* the red number over you when a villain lands a hit */
.jc-pop.dmg{font-size:22px;color:#ffd9cf;-webkit-text-stroke:4px #5a120a}

/* 레벨 업 */
.jc-lvup{position:absolute;left:50%;top:24%;display:flex;align-items:center;gap:14px;padding:14px 22px 14px 14px;background:var(--gc-paper);color:var(--gc-navy);border-radius:6px;box-shadow:0 18px 44px rgba(22,35,58,.28),inset 0 0 0 1px rgba(22,35,58,.55),inset 0 0 0 4px var(--gc-paper),inset 0 0 0 5px rgba(22,35,58,.25);transform:translate(-50%,0);opacity:0;animation:gc-in .32s cubic-bezier(.2,.8,.2,1) forwards,gc-out .35s ease-in 2.25s forwards}
.jc-lvup-seal{position:relative;display:grid;place-items:center;width:52px;height:52px;border-radius:5px;background:var(--gc-red);color:var(--gc-paper);transform:rotate(-4deg) scale(1.5);opacity:0;animation:gc-stamp .24s cubic-bezier(.3,1.4,.5,1) .2s forwards;box-shadow:inset 0 0 0 2px rgba(244,236,216,.55)}
.jc-lvup-seal b{font:700 24px/1 "Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;letter-spacing:-.02em}
.jc-lvup-txt{display:grid;gap:3px;min-width:84px}
.jc-lvup-txt small{font:700 10px/1 system-ui,-apple-system,sans-serif;letter-spacing:.32em;color:var(--gc-red)}
.jc-lvup-txt strong{font:700 26px/1.05 "Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;color:var(--gc-navy);white-space:nowrap}
.jc-lvup-txt i{display:block;height:3px;border-radius:2px;background:linear-gradient(90deg,var(--gc-red),rgba(184,67,47,.35));transform-origin:left;transform:scaleX(0);animation:gc-brush .45s cubic-bezier(.4,0,.2,1) .38s forwards}
@keyframes gc-in{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes gc-out{to{opacity:0;transform:translate(-50%,-6px)}}
@keyframes gc-stamp{to{opacity:1;transform:rotate(-4deg) scale(1)}}
@keyframes gc-brush{to{transform:scaleX(1)}}
@media(max-width:720px){.jc-lvup{top:20%;padding:11px 18px 11px 11px;gap:11px}.jc-lvup-seal{width:44px;height:44px}.jc-lvup-seal b{font-size:20px}.jc-lvup-txt strong{font-size:22px}}
@media(prefers-reduced-motion:reduce){
  .jc-lvup{animation:gc-fade .2s linear forwards,gc-out .3s linear 2.25s forwards;transform:translate(-50%,0)}
  .jc-lvup-seal{animation:none;opacity:1;transform:rotate(-4deg)}
  .jc-lvup-txt i{animation:none;transform:none}
}
@keyframes gc-fade{to{opacity:1}}
