/* v0.69 new battle screen (js/nb.js): one 1600x900 stage, scaled (and turned sideways on an upright phone) */
.nb-wrap { position: fixed; inset: 0; z-index: 900; background: #05090c; overflow: hidden; }
.nb { position: absolute; left: 0; top: 0; width: 1600px; height: 900px; transform-origin: 0 0; overflow: hidden; color: #eef6f4;
  font-family: 'Barlow Condensed', 'Bahnschrift', 'Segoe UI', sans-serif; --mint: #73DCC0; --ora: #F36B38; --ink: #0d1d25; }
.nb-bg { position: absolute; inset: -12px; background: center / cover no-repeat; filter: brightness(.62) saturate(1.1) blur(1.5px); }
.nb-bg.painted { filter: brightness(.9) saturate(1.05); inset: 0; }
.nb-vig { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 75% 70% at 50% 52%, transparent 55%, rgba(0,0,0,.55) 100%), linear-gradient(to top, rgba(0,0,0,.55), transparent 28%); }
.nb .sq { position: absolute; inset: 0; }
.nb .sq.mine { pointer-events: none; }
/* a unit: (left, top) = where its feet stand */
.nb .u { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.nb .u .mon { position: relative; display: block; }
.nb .u .mon img { position: absolute; image-rendering: pixelated; }
.nb .u .ring { position: absolute; left: 50%; bottom: -14px; width: 220px; height: 34px; transform: translateX(-50%); border-radius: 50%;
  border: 3px solid var(--mint); box-shadow: 0 0 18px var(--mint), inset 0 0 14px rgba(115,220,192,.5); background: rgba(0,0,0,.35); }
.nb .u.r-b .ring { width: 160px; height: 26px; opacity: .75; }
.nb .u.foes .ring { border-color: var(--ora); box-shadow: 0 0 18px var(--ora), inset 0 0 14px rgba(243,107,56,.45); }
.nb .u.boss .ring { width: 300px; height: 46px; }
.nb .u .hud { position: absolute; left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: auto 150px; gap: 0 6px; align-items: center; }
.nb .u .lv { grid-row: span 2; width: 38px; height: 38px; display: grid; place-items: center; font-size: 19px; font-weight: 700;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: var(--mint); color: var(--ink); }
.nb .u.foes .lv { background: var(--ora); color: #fff; }
.nb .u .bar.hp .track { height: 12px; background: rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.25); border-radius: 2px; overflow: hidden;
  background-image: repeating-linear-gradient(90deg, transparent 0 13px, rgba(0,0,0,.6) 13px 15px); }
.nb .u .bar.hp .fill { height: 100%; background: linear-gradient(#9ff0d6, #3fbf98); transition: width calc(.35s / var(--spd, 1)); }
.nb .u.foes .bar.hp .fill { background: linear-gradient(#ff9a6a, #d9421c); }
.nb .u .bar.hp .fill.low { filter: hue-rotate(-40deg) saturate(1.4); }
.nb .u .sts { display: flex; gap: 3px; min-height: 22px; margin-top: 3px; }
.nb .u .sts .status.ico { width: 22px; height: 22px; font-size: 13px; display: grid; place-items: center; border-radius: 4px; background: rgba(13,29,37,.85); border: 1px solid rgba(255,255,255,.3); }
.nb .u.down { opacity: .25; filter: grayscale(1); }
.nb .u.acting .mon { filter: drop-shadow(0 0 10px #fff3a8) drop-shadow(0 0 3px #fff); }
.nb .u.mine .mon.lunge { animation: nbLungeR calc(.3s / var(--spd, 1)) ease-out; }
.nb .u.foes .mon.lunge { animation: nbLungeL calc(.3s / var(--spd, 1)) ease-out; }
@keyframes nbLungeR { 50% { transform: translateX(60px); } }
@keyframes nbLungeL { 50% { transform: translateX(-60px); } }
.nb .u .mon.hit { animation: nbHit calc(.45s / var(--spd, 1)) steps(2) 1; }
@keyframes nbHit { 50% { filter: brightness(3) saturate(0); } }
.nb .u .mon.faint { animation: nbFaint calc(.6s / var(--spd, 1)) ease-in forwards; }
@keyframes nbFaint { to { transform: translateY(60px); opacity: 0; } }
.nb .u .mon.buff { animation: nbBuff calc(.5s / var(--spd, 1)) ease-out; }
@keyframes nbBuff { 50% { filter: drop-shadow(0 0 16px var(--mint)) brightness(1.4); } }
.nb .warnmark { position: absolute; top: -70px; right: -10px; font-size: 40px; color: #ff4b3a; text-shadow: 0 0 10px #000; animation: nbPulse 1s infinite; }
@keyframes nbPulse { 50% { transform: scale(1.2); } }
/* manual: enemies to tap */
.nb .sq.foes.tgt .u:not(.down) { cursor: pointer; }
.nb .sq.foes.tgt .u:not(.down) .ring { animation: nbPulse .8s infinite; border-width: 5px; }
/* the turn line */
.nb-rail { position: absolute; left: 0; top: 0; width: 124px; height: 100%; pointer-events: none; } /* owner 5 Nov: enemies on the outer side of the line, our team on the inner side */
.nb-rail .ln { position: absolute; left: 61px; top: 128px; bottom: 120px; width: 2px; background: linear-gradient(var(--mint), rgba(115,220,192,.15)); }
.nb-rail .gate { position: absolute; left: 14px; top: 151px; width: 96px; height: 2px; background: var(--ora); }
.nb-rail .pin { position: absolute; left: 13px; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%; border: 3px solid var(--mint); background: #0d1d25; overflow: hidden;
  transition: top calc(.55s / var(--spd, 1)) ease-out, margin-left .2s, opacity .2s; box-shadow: 0 0 8px rgba(0,0,0,.8); }
.nb-rail .pin img { position: absolute; image-rendering: pixelated; }
.nb-rail .pin.foe { border-color: var(--ora); left: 12px; }
.nb-rail .pin.ally { left: 68px; }
.nb-rail .pin.now { transform: scale(1.18); box-shadow: 0 0 14px #fff3a8; }
.nb-rail .pin.warn::after { content: '!'; position: absolute; right: -2px; top: -2px; width: 18px; height: 18px; border-radius: 50%; background: #e2342a; color: #fff; font: 700 14px/18px sans-serif; text-align: center; }
.nb-rail .pin.gone { opacity: 0; }
/* top: stage label, boss bar, controls */
.nb-tl { position: absolute; left: 84px; top: 20px; font-size: 26px; letter-spacing: .04em; text-shadow: 0 2px 4px #000; }
.nb .nb-tl .turn { position: static; font-size: 26px; font-weight: 600; color: #eef6f4; text-shadow: 0 2px 4px #000; }
.nb-boss { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); display: none; align-items: center; gap: 12px; }
.nb-boss.on { display: flex; }
.nb-boss .bi { position: relative; width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--ora); background: #1a0c08; overflow: hidden; }
.nb-boss .bi img { position: absolute; image-rendering: pixelated; }
.nb-boss .bt { display: flex; gap: 10px; align-items: baseline; font-size: 24px; text-shadow: 0 2px 4px #000; }
.nb-boss .bt small { font-size: 18px; opacity: .8; }
.nb-boss .bt .warn { font-style: normal; color: #ff5a3c; font-weight: 700; letter-spacing: .05em; animation: nbPulse 1s infinite; }
.nb-boss .bbar { width: 560px; height: 18px; background: rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.3); }
.nb-boss .bbar i { display: block; height: 100%; background: linear-gradient(#ff7a4a, #c62b12); background-image: repeating-linear-gradient(90deg, transparent 0 54px, rgba(0,0,0,.5) 54px 56px), linear-gradient(#ff7a4a, #c62b12); transition: width .3s; }
.nb-ctl { position: absolute; right: 24px; top: 18px; display: flex; gap: 14px; align-items: center; }
.nb-ctl > * { height: 64px; min-width: 64px; padding: 0 14px; border-radius: 32px; border: 2px solid var(--mint); background: rgba(13,29,37,.75); color: var(--mint);
  font: 700 22px 'Barlow Condensed', sans-serif; display: grid; place-items: center; }
.nb-ctl .nb-mode { cursor: pointer; }
.nb-ctl .nb-mode.man { background: var(--ora); border-color: var(--ora); color: #fff; }
/* the acting unit (portrait.md) */
.nb-act { position: absolute; bottom: 0; height: 400px; width: 760px; pointer-events: none; opacity: 0; }
.nb-act.mine { left: 0; }
.nb-act.foe { right: 0; }
.nb-act.on { opacity: 1; }
.nb-act.in.mine { animation: nbInL .2s ease-out; }
.nb-act.in.foe { animation: nbInR .2s ease-out; }
@keyframes nbInL { from { transform: translateX(-96px); opacity: 0; } }
@keyframes nbInR { from { transform: translateX(96px); opacity: 0; } }
.nb-act .pt { position: absolute; bottom: -30px; width: 380px; height: 400px; }
.nb-act.mine .pt { left: -40px; }
.nb-act.foe .pt { right: -40px; }
.nb-act .pt img { position: absolute; image-rendering: pixelated; filter: drop-shadow(0 0 20px rgba(0,0,0,.8)); }
.nb-act .card { position: absolute; bottom: 26px; width: 330px; padding: 10px 16px; background: linear-gradient(90deg, rgba(5,12,16,.9), rgba(5,12,16,.55)); }
.nb-act.mine .card { left: 300px; border-left: 4px solid var(--mint); }
.nb-act.foe .card { right: 300px; border-right: 4px solid var(--ora); text-align: right; background: linear-gradient(270deg, rgba(5,12,16,.9), rgba(5,12,16,.55)); }
.nb-act .cn { display: flex; gap: 10px; align-items: center; font-size: 36px; font-weight: 700; }
.nb-act.foe .cn { justify-content: flex-end; color: #ff8a5c; }
.nb-act .cn b { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* v0.74.10: shrinks to fit (fitName), ellipsis only as a last resort */
.nb-act .cn .ty, .nb-act .cn .ro { flex: none; }
.nb-act .ty { display: inline-flex; align-items: center; }
.nb-act .ty img { width: 34px; height: 34px; } /* v0.69: DMO attribute orb */
.nb-act .ro { font-size: 18px; padding: 0 8px; border: 2px solid var(--mint); border-radius: 12px; color: var(--mint); }
.nb-act .cl { font-size: 20px; opacity: .9; margin-top: 4px; }
.nb-act .cb { display: block; height: 10px; background: rgba(255,255,255,.12); margin-top: 3px; }
.nb-act .cb b { display: block; height: 100%; background: linear-gradient(90deg, #3fbf98, #9ff0d6); }
.nb-act.foe .cb b { background: linear-gradient(270deg, #d9421c, #ff9a6a); margin-left: auto; }
.nb-act .cb.sp b { background: linear-gradient(90deg, #2c7be5, #79b8ff); }
/* skills bottom-right */
.nb-sk { position: absolute; right: 24px; bottom: 24px; display: flex; gap: 10px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.nb-sk.on { opacity: 1; }
.nb-sk.wait { pointer-events: auto; }
.nb-sk.on { pointer-events: auto; } /* hover info works in AUTO too; picks only happen while waiting */
.nb-tip { position: absolute; right: 24px; bottom: 136px; width: 460px; padding: 12px 16px 14px; border-radius: 10px; background: #0b111b; border: 2px solid #b88a3c;
  box-shadow: 0 8px 24px rgba(0,0,0,.6); color: #dfe7f2; font: 500 19px/1.3 'Barlow', sans-serif; opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 2100; }
.nb-tip.on { opacity: 1; }
.nb-tip .tt { display: flex; align-items: baseline; gap: 10px; }
.nb-tip .tt b { font: 700 27px 'Barlow Condensed', sans-serif; color: #ffe08a; }
.nb-tip .tt em { font-style: normal; font-size: 16px; color: #9fd3ff; }
.nb-tip .tt span { margin-left: auto; font: 700 20px 'Barlow Condensed', sans-serif; color: #9fd3ff; }
.nb-tip .tg { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 8px; font-size: 15px; }
.nb-tip .tg .sktag, .nb-tip .tg .el, .nb-tip .tg .to { padding: 1px 8px; border-radius: 4px; background: #223047; color: #cfe0f5; }
.nb-tip .tg .to { background: #2d3a1f; color: #d8f0b0; }
.nb-tip .pl { color: #fff; }
.nb-tip .ds { margin-top: 6px; font-size: 16px; color: #93a3b8; }
.nb-sk .sk { position: relative; width: 112px; height: 112px; padding: 0; border: 3px solid #b88a3c; border-radius: 8px; background: #101a20; cursor: default; overflow: hidden;
  box-shadow: 0 0 0 2px #000, 0 0 14px rgba(243,107,56,.35); }
.nb-sk.wait .sk:not(.no) { cursor: pointer; border-color: var(--mint); box-shadow: 0 0 0 2px #000, 0 0 18px var(--mint); }
.nb-sk .sk.no { filter: grayscale(1) brightness(.5); }
.nb-sk .sk.pick { transform: translateY(-14px); border-color: #ffe08a; box-shadow: 0 0 0 2px #000, 0 0 26px #ffd25a; }
.nb-sk .sk small { position: absolute; right: 4px; bottom: 2px; font: 700 18px 'Barlow Condensed', sans-serif; color: #9fd3ff; text-shadow: 0 1px 2px #000; }
.nb-sk .ski { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; }
.nb-sk .ski img { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); object-fit: contain; image-rendering: pixelated; } /* 7.10.13: the pixel icons are square, the tile is not: never crop them */
.nb-sk .ski b { font-size: 46px; color: rgba(255,255,255,.85); text-shadow: 0 0 12px currentColor; }
.nb-sk .ski img + b { display: none; }
.el-Fire { background: radial-gradient(#ff9a3c, #8a1f08); } .el-Water { background: radial-gradient(#5ab4ff, #0b3a7a); } .el-Ice { background: radial-gradient(#d4f6ff, #3d8fb0); }
.el-Electric { background: radial-gradient(#fff07a, #8a6a00); } .el-Wind { background: radial-gradient(#d8ffe8, #2f8a5a); } .el-Earth { background: radial-gradient(#d9a46a, #5a3412); }
.el-Plant { background: radial-gradient(#9ef07a, #1f6a12); } .el-Steel { background: radial-gradient(#eef2f6, #59636e); } .el-Light { background: radial-gradient(#fffbe0, #c9a43a); }
.el-Dark { background: radial-gradient(#b48aff, #22093f); } .el-Neutral { background: radial-gradient(#ffffff, #6d7b84); }
.nb-hint { position: absolute; right: 24px; bottom: 160px; font-size: 26px; padding: 8px 16px; background: rgba(5,12,16,.85); border-left: 4px solid var(--ora); opacity: 0; transition: opacity .15s; }
.nb-hint.on { opacity: 1; }
/* one log line */
.nb .nb-log { border: 0; border-radius: 0; box-shadow: none; height: auto; min-height: 0; line-height: 1.3; font-family: inherit; }
.nb-log { position: absolute; left: 50%; bottom: 150px; transform: translateX(-50%); max-width: 760px; padding: 6px 18px; font-size: 24px; text-align: center;
  background: linear-gradient(90deg, transparent, rgba(5,12,16,.8) 15%, rgba(5,12,16,.8) 85%, transparent); color: #bff3e4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-log:empty { display: none; }
/* floating numbers / call-outs */
.nb-num, .nb-tag { position: absolute; transform: translateX(-50%); pointer-events: none; z-index: 2000; white-space: nowrap; line-height: 1;
  animation: nbFloat var(--life, 1.3s) ease-out forwards; }
/* v0.69: white numbers with a thick dark outline (stroke drawn under the fill) — readable on any background */
.nb-num { font: 800 50px 'Barlow Condensed', sans-serif; color: #fff; -webkit-text-stroke: 9px #0a0e16; paint-order: stroke fill; filter: drop-shadow(0 4px 0 rgba(0,0,0,.45)); }
.nb-num.crit { color: #ffd23f; font-size: 66px; }
.nb-num.blocked { color: #a9dcff; font-size: 42px; }
/* call-outs are solid pills, never loose text */
.nb-tag { font: 800 22px 'Barlow Condensed', sans-serif; letter-spacing: .08em; color: #fff; padding: 5px 14px 4px; border-radius: 6px;
  background: #2b3446; border: 2px solid rgba(255,255,255,.85); box-shadow: 0 3px 0 rgba(0,0,0,.5); }
.nb-tag.crit { background: #d9480f; border-color: #ffd23f; }
.nb-tag.block { background: #1c64b8; }
.nb-tag.dodge, .nb-tag.miss { background: #4a5263; color: #e8eef7; }
.nb-tag.deleted { background: #a3123a; border-color: #ff8fa8; font-size: 28px; }
@keyframes nbFloat { 0% { transform: translate(-50%, 14px) scale(.7); opacity: 0; } 12% { transform: translate(-50%, 0) scale(1.12); opacity: 1; }
  22% { transform: translate(-50%, 0) scale(1); } 75% { opacity: 1; } 100% { transform: translate(-50%, -34px); opacity: 0; } }
.nb .flash { position: absolute; inset: 0; pointer-events: none; background: #fff; opacity: 0; }
.nb .flash.go { animation: nbFlash .7s; }
@keyframes nbFlash { 20% { opacity: .7; } }
.nb.shake { animation: nbShake .4s; }
@keyframes nbShake { 25% { margin-left: -8px; } 75% { margin-left: 8px; } }
/* field: the top-right controls keep the round buttons (battle.css styles .speed for the old screen) */
.nb .nb-ctl.speed { position: absolute; right: 24px; top: 18px; display: flex; gap: 14px; z-index: 50; }
.nb .nb-ctl.speed > button { height: 64px; min-width: 64px; padding: 0 16px; border-radius: 32px; border: 2px solid var(--mint); background: rgba(13,29,37,.75); color: var(--mint);
  font: 700 22px 'Barlow Condensed', sans-serif; cursor: pointer; }
.nb .nb-ctl.speed > button.nb-mode.man { background: var(--ora); border-color: var(--ora); color: #fff; }
.nb .nb-ctl.speed > button.stop { border-color: #ffb08a; color: #ffd2bd; }
.nb .nb-ctl.speed > button.stop:disabled { opacity: .6; }
.nb .nb-ctl.speed .spdcur { font-size: 24px; }
/* offline (AFK) hunting moon next to STOP HUNT: grey while Auto Hunt learns your pace, green once closing the game pays (tooltip: js/offline.js) */
.nb .nb-ctl.speed .offbadge { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; padding: 0; border-radius: 32px; font-size: 30px;
  border: 2px solid var(--mint); background: rgba(13,29,37,.75); cursor: help; filter: grayscale(1) brightness(1.1); box-shadow: none; }
.nb .nb-ctl.speed .offbadge.ready { filter: none; background: #1f6a3a; border-color: #7cf0a4; }
.nb .nb-ctl.speed .spdmenu { position: absolute; right: 0; top: 76px; width: 340px; padding: 8px; gap: 6px; background: rgba(5,12,16,.94); border: 2px solid var(--mint); border-radius: 10px; }
.nb .nb-ctl.speed .spdmenu button { grid-template-columns: 64px 1fr; padding: 8px 10px; border: 1px solid rgba(115,220,192,.4); border-radius: 6px; background: rgba(13,29,37,.9); color: #eef6f4; }
.nb .nb-ctl.speed .spdmenu button.on { background: var(--mint); color: var(--ink); }
.nb .nb-ctl.speed .spdmenu button b { font-size: 24px; }
.nb .nb-ctl.speed .spdmenu button small { font-size: 15px; line-height: 1.2; }
/* field: one fighter a side, bigger */
.nb.field .u .ring { width: 260px; height: 40px; }
/* the controls stay above the fighters (a unit's z-index is its foot y x 10, up to ~900) */
.nb-rail, .nb-tl, .nb-boss, .nb-act, .nb-log, .nb-hint { z-index: 1000; }
.nb-sk, .nb .nb-ctl.speed, .nb-ctl { z-index: 1100; }
/* skill names on the tiles; SP cost in the top corner */
.nb-sk .sk .skn { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 4px 4px; font: 600 17px/1.05 'Barlow Condensed', sans-serif; color: #fff; text-align: center;
  background: linear-gradient(transparent, rgba(0,0,0,.85) 40%); text-shadow: 0 1px 2px #000; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-sk .sk small { top: 3px; bottom: auto; right: 5px; font-size: 16px; padding: 0 4px; border-radius: 4px; background: rgba(0,0,0,.6); }
.nb-sk .sk .ski { bottom: 22px; }
/* manual heal: tap one of ours */
.nb .sq.mine.tgt { pointer-events: auto; }
.nb .sq.mine.tgt .u:not(.down) { cursor: pointer; }
.nb .sq.mine.tgt .u:not(.down) .ring { animation: nbPulse .8s infinite; border-width: 5px; border-color: #9ff0d6; }
/* the Active Tank's kit (Provoke / Cleanse / Iron Wall): a row above its skills; Guard on its card */
.nb-kit { position: absolute; right: 24px; bottom: 150px; display: none; gap: 10px; z-index: 1100; pointer-events: none; }
.nb-kit.on { display: flex; }
.nb-kit.wait { pointer-events: auto; }
.nb-kit .kt { display: grid; grid-template-columns: 44px auto; grid-template-rows: auto auto; align-items: center; column-gap: 8px; height: 58px; padding: 4px 14px 4px 6px;
  border: 2px solid #6fa8ff; border-radius: 29px; background: rgba(10,24,44,.9); color: #eaf2ff; font-family: 'Barlow Condensed', sans-serif; text-align: left; }
.nb-kit .kt img { grid-row: span 2; width: 44px; height: 44px; }
.nb-kit .kt b { font-size: 20px; line-height: 1; }
.nb-kit .kt small { font-size: 14px; color: #9fd3ff; }
.nb-kit.wait .kt:not(.no) { cursor: pointer; box-shadow: 0 0 14px #6fa8ff; }
.nb-kit .kt.no { filter: grayscale(1) brightness(.55); }
.nb.kitOn .nb-hint { bottom: 222px; }
.nb.kitOn .nb-log { bottom: 222px; }
.nb-act .cb.gd b { background: linear-gradient(90deg, #3f6fd1, #8fb8ff); }
/* v0.68.28 the owner: "5 skills + Attack: make them a bit smaller" — tiles 112 -> 88 px, the names stay readable */
.nb-sk { gap: 8px; right: 20px; bottom: 20px; }
.nb-sk .sk { width: 88px; height: 88px; border-width: 2px; }
.nb-sk .sk .skn { font-size: 14px; padding: 10px 3px 3px; }
.nb-sk .sk small { font-size: 13px; }
.nb-sk .sk .ski { bottom: 18px; }
.nb-sk .ski b { font-size: 36px; }
.nb-sk .sk.pick { transform: translateY(-10px); }

.nb .nb-tip.on ~ .nb-hint { opacity: 0; }

/* v0.70.3: battle lines live in the chat's System tab; the box only flashes the important ones (boss arrival, a one-blow delete) */
.nb .nb-log { opacity: 0; transition: opacity .2s; pointer-events: none; }
.nb .nb-log.on { opacity: 1; }
/* v0.71 cooldowns: turns left on a skill tile */
.nb-sk .sk .skcd { position: absolute; inset: 0; display: grid; place-items: center; font: 800 38px 'Barlow Condensed', sans-serif; color: #fff; -webkit-text-stroke: 6px #0a0e16; paint-order: stroke fill; font-style: normal; z-index: 2; }

/* v0.77.1 approved impact stamps: large outlined type, punch-in, settle, lift. */
.nb-num.crit { font: italic 900 88px/1 'Barlow Condensed', sans-serif; color: #ffcf63; -webkit-text-stroke: 7px #321706; text-shadow: 3px 5px #7c310a; border-bottom: 4px solid #ffdc8f; padding: 0 16px 7px; animation: nbStamp var(--life,1s) both; }
.nb-num.crit small { display: block; font: italic 900 30px/1 'Barlow Condensed', sans-serif; letter-spacing: .13em; color: #fff1be; -webkit-text-stroke: 4px #321706; }
.nb-tag:is(.crit,.block,.dodge,.miss,.deleted,.status) { font: italic 900 50px/1 'Barlow Condensed', sans-serif; letter-spacing: .05em; border: 0; border-bottom: 4px solid currentColor; border-radius: 0; background: transparent; padding: 4px 18px 9px; -webkit-text-stroke: 6px #081721; paint-order: stroke fill; box-shadow: none; text-shadow: 2px 4px #07131f; animation: nbStamp var(--life,1s) both; }
.nb-tag.miss { color: #dce7f3; } .nb-tag.deleted { color: #ff8a9c; } .nb-tag.status { color: #e5cf83; font-size: 44px; }
.nb-tag.crit { color: #ffcf63; } .nb-tag.block { color: #9ce5ff; } .nb-tag.dodge { color: #8effcf; }
@keyframes nbStamp { 0% { opacity: 0; transform: translate(-50%,12px) rotate(-8deg) scale(1.65); filter: brightness(2); } 10% { opacity: 1; transform: translate(-50%,0) rotate(-8deg) scale(.94); filter: brightness(1.2); } 20%,65% { opacity: 1; transform: translate(-50%,0) rotate(-8deg) scale(1); filter: none; } 100% { opacity: 0; transform: translate(-50%,-45px) rotate(-8deg) scale(1); } }
.nb-impact { position: absolute; pointer-events: none; z-index: 1100; width: 180px; height: 180px; margin: -90px; border: 9px solid #ffe0a0; border-radius: 50%; box-shadow: 0 0 24px #ffb32a, inset 0 0 18px #ffb32a; animation: nbImpactRing .6s ease-out both; }
.nb-impact.block { border-color: #b9eeff; border-radius: 18% 18% 50% 50%; box-shadow: 0 0 28px #75d6ff; }
.nb-impact.dodge { width: 240px; height: 20px; border: 0; border-radius: 0; background: #b9ffe0; box-shadow: 0 0 22px #55e9a9; animation-name: nbDodgeSlash; }
@keyframes nbImpactRing { from { opacity: .95; transform: scale(.3); } to { opacity: 0; transform: scale(1.7); } }
@keyframes nbDodgeSlash { from { opacity: .95; transform: rotate(-30deg) scaleX(.2); } to { opacity: 0; transform: translateX(90px) rotate(-30deg) scaleX(1.5); } }
.nb.impact-hold .u .mon { animation-play-state: paused !important; }
.nb.shake { animation: nbImpactShake .3s; }
@keyframes nbImpactShake { 15%,55% { margin-left: -11px; margin-top: 3px; } 35%,75% { margin-left: 9px; margin-top: -3px; } 100% { margin-left: 0; margin-top: 0; } }
@media (prefers-reduced-motion: reduce) { .nb-num.crit,.nb-tag:is(.crit,.block,.dodge,.miss,.deleted,.status),.fx.stamp { animation: nbFloat var(--life,var(--d,1s)) both; } .nb.shake { animation: none; } .nb-impact { display: none; } }
/* v0.77.1: Tamer's pixel portrait and shouted skill, clear of the HP HUDs and controls. */
.nb-tamer-cutin{position:absolute;z-index:45;left:360px;top:378px;width:880px;height:132px;display:flex;align-items:center;gap:24px;padding:0 35px;border-top:3px solid #83cbd5;border-bottom:3px solid #e4d5a1;background:linear-gradient(90deg,#091a32f5 75%,#091a3200);pointer-events:none;animation:nbcutin .8s steps(8,end) both;clip-path:polygon(3% 0,100% 0,97% 100%,0 100%)}
.nb-tamer-cutin .tface{width:124px;height:124px;object-fit:contain;image-rendering:pixelated;flex:none;filter:drop-shadow(4px 3px 0 #040e20)}
.nb-tamer-cutin span{min-width:0}.nb-tamer-cutin small{display:block;color:#9fced9;font:700 18px monospace;letter-spacing:3px;text-transform:uppercase}.nb-tamer-cutin b{display:block;color:#fff0b8;font:italic 900 40px monospace;line-height:1.15;text-shadow:3px 3px #081325,-2px -2px #081325;overflow-wrap:anywhere}
@keyframes nbcutin{0%{opacity:0;transform:translateX(-160px)}20%,78%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(100px)}}
@media(prefers-reduced-motion:reduce){.nb-tamer-cutin{animation:nbcutinfade .8s both}@keyframes nbcutinfade{0%,100%{opacity:0}10%,85%{opacity:1}}}
.nb .nb-ctl.speed > button.nb-spd { cursor: pointer; } /* v0.77.6: 1x / 2x toggle */
/* 7.10.20 (owner: "this neon like base doesn't fit our game anymore"): pixel-art ground discs (img/ui/plat), no glow */
.nb .u .ring, .nb .u.foes .ring, .nb.field .u .ring { border: 0; box-shadow: none; background: url(../img/ui/plat/mine.png?v=71020) center / 100% 100% no-repeat; image-rendering: pixelated; filter: drop-shadow(0 3px 0 rgba(0,0,0,.35)); }
.nb .u.foes .ring { background-image: url(../img/ui/plat/foe.png?v=71020); }
.nb .u.boss .ring { background-image: url(../img/ui/plat/boss.png?v=71020); }
.nb .sq.foes.tgt .u:not(.down) .ring, .nb .sq.mine.tgt .u:not(.down) .ring { border: 0; animation: nbPlat .8s steps(2) infinite; }
@keyframes nbPlat { 50% { filter: brightness(1.6) drop-shadow(0 3px 0 rgba(0,0,0,.35)); } }
