/* Night Watch v77: achievement toasts on the stage, the boss card in "How to play" */
.nw-toasts{position:absolute;left:50%;top:66px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:6px;pointer-events:none;z-index:3;width:max-content;max-width:calc(100% - 24px)}
.nw-toast{display:flex;align-items:center;gap:9px;padding:8px 14px 8px 9px;border-radius:999px;background:rgba(18,22,52,.82);color:#fff;border:1px solid rgba(255,210,74,.55);box-shadow:0 10px 26px -12px rgba(0,0,0,.7),0 0 18px -6px rgba(255,210,74,.6);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:nwToastIn .35s cubic-bezier(.2,1.4,.4,1) both;transition:opacity .35s,transform .35s}
.nw-toast.out{opacity:0;transform:translateY(8px)}
.nw-toast i{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:800;color:#2A1D05;background:linear-gradient(135deg,#FFE07A,#E0A21A)}
.nw-toast b{display:block;font-size:13px;line-height:1.15}
.nw-toast small{display:block;font-size:11px;color:rgba(255,255,255,.75);font-family:var(--mono,ui-monospace,monospace);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:62vw}
@keyframes nwToastIn{from{opacity:0;transform:translateY(12px) scale(.9)}to{opacity:1;transform:none}}
.nw-stage.nw-over .nw-toasts{top:auto;bottom:10px}
.nw-hgrid{grid-template-columns:repeat(5,minmax(0,1fr))}
.nw-hi.r{background:#FDE3E0;color:#B3261E;font-family:var(--mono,ui-monospace,monospace);font-size:10.5px;width:38px}
.nw-hc-boss{background:linear-gradient(160deg,#FFF1EF,var(--surface-2))}
@media(max-width:1000px){.nw-hgrid{grid-template-columns:repeat(3,minmax(0,1fr))}.nw-hc-boss{grid-column:span 2}}
@media(max-width:800px){.nw-hgrid{grid-template-columns:1fr 1fr}.nw-hc-boss{grid-column:1/-1}}
@media(max-width:600px){.nw-toasts{top:108px;max-width:calc(100% - 70px)}.nw-toast{padding:6px 12px 6px 7px}.nw-toast b{font-size:12px}}
@media(prefers-reduced-motion:reduce){.nw-toast{animation:none}}
/* v79: pause button and "how to play" over the game */
.nw-pause{position:absolute;left:12px;bottom:12px;z-index:4;width:40px;height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.35);background:rgba(18,22,52,.55);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:none;align-items:center;justify-content:center;gap:4px;cursor:pointer;padding:0}
.nw-pause i{display:block;width:4px;height:14px;border-radius:2px;background:#fff}
.nw-stage.nw-playing .nw-pause{display:flex}
.nw-stage.nw-paused .nw-pause i:first-child{width:0;height:0;border-radius:0;background:none;border-style:solid;border-width:8px 0 8px 13px;border-color:transparent transparent transparent #fff}
.nw-stage.nw-paused .nw-pause i:last-child{display:none}
.nw-pop{position:absolute;inset:0;z-index:6;display:grid;place-items:center;padding:14px;background:rgba(14,16,40,.55);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);opacity:0;transition:opacity .2s;border-radius:inherit}
.nw-pop.on{opacity:1}.nw-pop[hidden]{display:none}
.nw-pop-box{width:min(760px,100%);max-height:100%;overflow:auto;background:#fff;border-radius:18px;padding:16px 18px 18px;box-shadow:0 30px 60px -20px rgba(0,0,0,.6);transform:translateY(8px) scale(.98);transition:transform .25s cubic-bezier(.2,1.3,.4,1);color:#121815}
.nw-pop.on .nw-pop-box{transform:none}
.nw-pop-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.nw-pop-h b{font-size:20px}
.nw-pop-x{width:34px;height:34px;border-radius:10px;border:1px solid #DCE7E0;background:#F2F7F4;font-size:20px;line-height:1;cursor:pointer;color:#121815}
.nw-pop .nw-hgrid{display:grid;gap:8px;margin:0 0 10px}
.nw-pop .nw-hc{padding:10px 12px}
.nw-pop-gold{display:flex;gap:10px;align-items:center;padding:9px 12px;border-radius:12px;background:linear-gradient(135deg,#FFF6D6,#FFE7A3);border:1px solid #F2C35B;margin:0 0 10px;font-size:13px;color:#4A3505}
.nw-pop-gold i{flex:none;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;font-style:normal;font-weight:800;background:linear-gradient(135deg,#FFE07A,#E0A21A);color:#2A1D05;box-shadow:0 0 14px rgba(255,200,60,.8)}
.nw-pop-keys{font:12px var(--mono,ui-monospace,monospace);color:#55605A;margin:8px 0 12px}
.nw-pop-go{display:block;width:100%;border:0;border-radius:12px;padding:13px;background:#0E8A4E;color:#fff;font:700 15px system-ui,sans-serif;cursor:pointer;box-shadow:0 10px 22px -12px rgba(14,138,78,.8)}
@media(max-width:600px){.nw-pop{padding:8px}.nw-pop-box{padding:12px 12px 14px;border-radius:14px}.nw-pop .nw-hgrid{grid-template-columns:1fr 1fr}.nw-pop .nw-hc p{font-size:12px}.nw-pop-h b{font-size:17px}.nw-pause{left:8px;bottom:8px;width:36px;height:36px}}
/* v79: a phone held sideways — the game fits the screen instead of running off the bottom */
@media (max-height:540px) and (orientation:landscape){.nw-stage:not(.nw-pseudo):not(:fullscreen) #nwGame{height:calc(100svh - 70px);min-height:250px}}
@media (max-width:600px){#nwGame{height:min(470px,calc(100svh - 150px))}}
/* v80: levels, new cards, events in "How to play" */
.nw-hgrid{grid-template-columns:repeat(4,minmax(0,1fr))}
.nw-hc-boss{grid-column:auto}
.nw-hc-lvl{background:linear-gradient(160deg,#EEF0FF,var(--surface-2,#F2F5F3))}
.nw-hc-new{background:linear-gradient(160deg,#F6EEFF,var(--surface-2,#F2F5F3))}
.nw-hc-ev{background:linear-gradient(160deg,#FFF6D6,var(--surface-2,#F2F5F3))}
.nw-k.z{background:#EDE6FF;color:#5B3FC4}.nw-k.h{background:#DDF5F8;color:#13707D}.nw-k.p{background:#FFE3F1;color:#A3326E}.nw-k.b{background:#FDE3E0;color:#B3261E}
@media(max-width:1000px){.nw-hgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.nw-hc-boss{grid-column:auto}}
@media(max-width:800px){.nw-hgrid{grid-template-columns:1fr 1fr}.nw-hc-boss{grid-column:auto}}
@media(max-width:520px){.nw-hgrid{grid-template-columns:1fr}}
.nw-pop .nw-hgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){.nw-pop .nw-hgrid{grid-template-columns:1fr 1fr}}
/* v81: the start card as HTML over the game — real type sizes, the game's own pieces as pictures */
.nw-start{position:absolute;inset:0;z-index:4;display:grid;place-items:center;padding:14px;pointer-events:none}
.nw-start[hidden]{display:none}
.nw-st-box{pointer-events:auto;width:min(640px,100%);max-height:100%;overflow:auto;background:rgba(255,255,255,.97);border-radius:20px;padding:20px 22px 16px;box-shadow:0 30px 60px -24px rgba(20,24,60,.6);color:#121815;font-family:inherit;scrollbar-width:thin}
.nw-st-h{text-align:center;margin-bottom:10px}.nw-st-h b{display:block;font-size:26px;font-weight:800;letter-spacing:-.02em}.nw-st-h span{font-size:14px;color:#55605A}
.nw-st-chal{text-align:center;font-size:14px;font-weight:700;color:#7A5600;background:#FFF6D6;border:1px solid #F2D27A;border-radius:999px;padding:7px 14px;margin:0 auto 14px;width:max-content;max-width:100%}
.nw-st-chal em{font-style:normal;background:#FFD24A;border-radius:6px;padding:0 6px;margin-left:4px}.nw-st-chal.done{background:#E3F4EA;border-color:#A9DDBF;color:#0E8A4E}
.nw-st-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.nw-st-col h4{margin:0 0 8px;font-size:12px;font-family:var(--mono,ui-monospace,monospace);text-transform:uppercase;letter-spacing:.08em}
.nw-st-col h4.ok{color:#0E8A4E}.nw-st-col h4.no{color:#C23A22;margin-top:14px}.nw-st-col h4.bo{color:#7A5BE0}
.nw-st-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.nw-st-c{display:flex;align-items:center;gap:9px;background:#F2F7F4;border-radius:12px;padding:6px 10px 6px 6px}
.nw-st-c img{width:40px;height:40px;flex:none}
.nw-st-c b{display:block;font-size:14px;line-height:1.15}.nw-st-c em{font-style:normal;font-weight:800;font-size:14px;color:#0E8A4E}
.nw-st-no{display:grid;gap:8px}.nw-st-no .nw-st-c{background:#FDEEEC}.nw-st-no em{color:#C23A22}
.nw-st-boosts{display:grid;grid-template-columns:1fr 1fr;gap:6px 8px}
.nw-st-boosts div{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:#2C3631}
.nw-st-boosts img{width:32px;height:32px;flex:none}
.nw-st-foot{display:flex;gap:10px;justify-content:center;margin-top:16px}
.nw-st-go{border:0;border-radius:12px;padding:13px 26px;background:#0E8A4E;color:#fff;font:800 16px system-ui,sans-serif;cursor:pointer;box-shadow:0 10px 22px -10px rgba(14,138,78,.8)}
.nw-st-go:hover{background:#0B7A44}
.nw-st-how{border:1px solid #C9DDD1;border-radius:12px;padding:12px 18px;background:#fff;color:#0E8A4E;font:700 15px system-ui,sans-serif;cursor:pointer}
.nw-st-small{text-align:center;font-size:12.5px;color:#6B756F;margin-top:10px}
.nw-start.narrow .nw-st-cols{grid-template-columns:1fr;gap:10px}
.nw-start.narrow .nw-st-box{padding:14px 14px 12px}
.nw-start.narrow .nw-st-boosts{grid-template-columns:repeat(3,1fr);gap:6px}
.nw-start.narrow .nw-st-boosts div{flex-direction:column;gap:2px;font-size:11.5px;text-align:center}
.nw-start.narrow .nw-st-h b{font-size:22px}.nw-start.narrow .nw-st-h span{font-size:12.5px}
.nw-start.narrow .nw-st-chal{font-size:12.5px;white-space:normal;width:auto}
.nw-start.short .nw-st-small{display:none}
.nw-start.short .nw-st-box{padding:12px 16px 10px}.nw-start.short .nw-st-h{margin-bottom:6px}.nw-start.short .nw-st-chal{margin-bottom:8px;padding:4px 12px}
.nw-start.short .nw-st-c img{width:32px;height:32px}.nw-start.short .nw-st-boosts img{width:26px;height:26px}.nw-start.short .nw-st-foot{margin-top:10px}
.nw-start.short:not(.narrow) .nw-st-cols{gap:14px}
.nw-start.tiny .nw-st-h span,.nw-start.tiny .nw-st-col h4.no,.nw-start.tiny .nw-st-no{display:none}
.nw-start.tiny .nw-st-go{padding:10px 20px;font-size:15px}.nw-start.tiny .nw-st-how{padding:9px 14px;font-size:14px}
.nw-stage.nw-isfs .nw-st-box{width:min(760px,100%);font-size:16px}
/* v81: How to play — pictures, short lines */
.nw-hwrap{padding:0 16px 16px}
.nw-hsec{display:grid;gap:10px}
.nw-ctl{grid-template-columns:repeat(4,minmax(0,1fr))}
.nw-ctl-i{display:flex;gap:10px;align-items:center;background:var(--surface-2,#F2F5F3);border-radius:12px;padding:10px 12px}
.nw-ctl-i b{display:block;font-size:14px;color:var(--ink,#121815)}.nw-ctl-i span{font-size:12.5px;color:var(--body,#3C4A43)}
.nw-h3{margin:18px 0 10px;font-size:16px;color:var(--ink,#121815);display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.nw-h3 small{font:500 12px var(--mono,ui-monospace,monospace);color:var(--muted,#6B7A72);text-transform:uppercase;letter-spacing:.06em}
.nw-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:8px}
.nw-cards figure{margin:0;display:grid;grid-template-columns:48px 1fr auto;grid-template-rows:auto auto;column-gap:10px;align-items:center;background:var(--surface-2,#F2F5F3);border-radius:12px;padding:8px 10px 8px 8px}
.nw-cards img{grid-row:1/3;width:48px;height:48px}
.nw-cards b{font-size:14px;color:var(--ink,#121815)}.nw-cards em{font-style:normal;font-weight:800;font-size:14px;color:#0E8A4E;justify-self:end}
.nw-cards span{grid-column:2/4;font-size:12px;color:var(--body,#3C4A43);line-height:1.35}
.nw-cards .gold{background:linear-gradient(135deg,#FFF8DC,#FFEDB0)}.nw-cards .gold em{color:#B7791F}
.nw-cards .bad{background:#FDEEEC}.nw-cards .bad em{color:#C23A22}.nw-cards .ghost{background:#EEF0F8}.nw-cards .ghost em{color:#C23A22}
.nw-hnote{margin:10px 0 0;font-size:13px;color:var(--body,#3C4A43);background:var(--surface-2,#F2F5F3);border-radius:10px;padding:8px 12px}
.nw-bgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px}
.nw-bgrid div{display:grid;grid-template-columns:40px 1fr;column-gap:10px;align-items:center;background:var(--surface-2,#F2F5F3);border-radius:12px;padding:7px 10px 7px 7px}
.nw-bgrid img{grid-row:1/3;width:40px;height:40px}.nw-bgrid b{font-size:14px;color:var(--ink,#121815)}.nw-bgrid span{font-size:12px;color:var(--body,#3C4A43)}
.nw-levels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.nw-levels figure{margin:0;border-radius:12px;overflow:hidden;background:#121633;color:#fff}
.nw-levels img{display:block;width:100%;aspect-ratio:320/176;object-fit:cover}
.nw-levels b{display:block;font-size:13px;padding:7px 9px 0}.nw-levels span{display:block;font-size:11.5px;color:rgba(255,255,255,.75);padding:0 9px 8px}
.nw-extra{grid-template-columns:1fr 1fr;margin-top:16px}
.nw-boss{display:flex;gap:10px;align-items:flex-start;background:var(--surface-2,#F2F5F3);border-radius:12px;padding:10px 12px}
.nw-boss b{font-size:14px;color:var(--ink,#121815)}.nw-boss ul{margin:4px 0 0;padding-left:16px;font-size:12.5px;color:var(--body,#3C4A43);line-height:1.5}
.nw-boss:first-child{background:linear-gradient(160deg,#FFF1EF,var(--surface-2,#F2F5F3))}
@media(max-width:900px){.nw-ctl{grid-template-columns:1fr 1fr}.nw-levels{grid-template-columns:repeat(3,minmax(0,1fr))}.nw-extra{grid-template-columns:1fr}}
@media(max-width:560px){.nw-hwrap{padding:0 10px 12px}.nw-levels{grid-template-columns:1fr 1fr}.nw-cards{grid-template-columns:1fr 1fr}.nw-cards figure{grid-template-columns:40px 1fr auto;padding:6px 8px 6px 6px}.nw-cards img{width:40px;height:40px}.nw-cards span{font-size:11.5px}.nw-bgrid{grid-template-columns:1fr 1fr}.nw-ctl-i{padding:8px 10px}}
.nw-pop .nw-hwrap{padding:0}.nw-pop .nw-ctl{grid-template-columns:1fr 1fr}.nw-pop .nw-levels{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:600px){.nw-pop .nw-levels{grid-template-columns:repeat(3,1fr)}}
/* v81: the pause button says what it is for the first seconds of a round */
.nw-pause{width:auto!important;min-width:40px;padding:0 11px!important;gap:4px}
.nw-pause .nw-pause-l{display:none;color:#fff;font:700 13px system-ui,sans-serif;margin-left:6px;white-space:nowrap}
.nw-pause.wide .nw-pause-l{display:inline}
.nw-pause.wide{background:rgba(14,138,78,.85)!important;border-color:rgba(255,255,255,.6)!important;animation:nwPausePulse 1.6s ease-in-out 2}
@keyframes nwPausePulse{50%{box-shadow:0 0 0 6px rgba(61,220,132,.35)}}
.nw-stage.nw-paused .nw-pause .nw-pause-l{display:inline}.nw-stage.nw-paused .nw-pause .nw-pause-l::before{content:attr(data-cont)}.nw-stage.nw-paused .nw-pause .nw-pause-l{font-size:0}.nw-stage.nw-paused .nw-pause .nw-pause-l::before{font-size:13px}
.nw-st-pause{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:10px;font-size:13.5px;color:#3C4A43}
.nw-st-pause kbd{font:700 12px var(--mono,ui-monospace,monospace);background:#F2F7F4;border:1px solid #C9DDD1;border-bottom-width:2px;border-radius:6px;padding:1px 7px}
.nw-st-pi{display:inline-flex;gap:3px;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:#1C2246}
.nw-st-pi i{display:block;width:3px;height:11px;border-radius:2px;background:#fff}
.nw-start.tiny .nw-st-pause{margin-top:6px;font-size:12px}
@media(prefers-reduced-motion:reduce){.nw-pause.wide{animation:none}}
/* start card v81b: the start button never scrolls away; shoot-these in one row; boosts 3×3 */
.nw-st-box{display:flex;flex-direction:column;overflow:hidden;padding:0!important;width:min(680px,100%)}
.nw-st-scroll{overflow:auto;padding:16px 20px 8px;min-height:0;scrollbar-width:thin}
.nw-st-foot{margin:0!important;padding:10px 16px 14px;border-top:1px solid #E3ECE7;background:#fff;align-items:center}
.nw-st-h{margin-bottom:8px}.nw-st-h b{font-size:24px}.nw-st-h span b{display:inline;font-size:inherit;letter-spacing:0}
.nw-st-h kbd{font:700 12px var(--mono,ui-monospace,monospace);background:#F2F7F4;border:1px solid #C9DDD1;border-bottom-width:2px;border-radius:6px;padding:0 6px}
.nw-st-chal{margin-bottom:10px}
.nw-st-scroll>h4{margin:0 0 7px;font-size:12px;font-family:var(--mono,ui-monospace,monospace);text-transform:uppercase;letter-spacing:.08em;color:#0E8A4E}
.nw-st-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
.nw-st-cols{grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr);margin-top:12px;gap:16px}
.nw-st-col h4.no{margin-top:0}
.nw-st-boosts{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 8px}
.nw-st-boosts div{font-size:13px}.nw-st-boosts img{width:30px;height:30px}
.nw-st-small{margin-top:10px}
.nw-start.narrow .nw-st-scroll{padding:12px 12px 6px}
.nw-start.narrow .nw-st-cards{grid-template-columns:1fr 1fr}
.nw-start.narrow .nw-st-cols{grid-template-columns:1fr;gap:10px;margin-top:10px}
.nw-start.narrow .nw-st-no{grid-template-columns:1fr 1fr}
.nw-start.narrow .nw-st-no .nw-st-c b{font-size:12.5px}
.nw-start.narrow .nw-st-boosts div{flex-direction:row;font-size:11.5px;text-align:left;gap:5px}.nw-start.narrow .nw-st-boosts img{width:24px;height:24px}
.nw-start.narrow .nw-st-foot{padding:8px 10px 10px}.nw-start.narrow .nw-st-go{padding:11px 16px;font-size:15px}.nw-start.narrow .nw-st-how{padding:10px 12px;font-size:14px}
.nw-start.short .nw-st-scroll{padding-top:10px}.nw-start.short .nw-st-h b{font-size:20px}
.nw-start.short .nw-st-c img{width:30px;height:30px}.nw-start.short .nw-st-c{padding:4px 8px 4px 4px}
.nw-start.tiny .nw-st-h b{font-size:18px}.nw-start.tiny .nw-st-cols{margin-top:8px}.nw-start.tiny .nw-st-col:first-child{display:none}.nw-start.tiny .nw-st-cols{grid-template-columns:1fr}
.nw-start.tiny .nw-st-boosts{grid-template-columns:repeat(5,minmax(0,1fr))}.nw-start.tiny .nw-st-boosts div{font-size:11px}
.nw-start.tiny .nw-st-foot{padding:6px 12px 8px}
.nw-st-h .nw-st-pi{width:20px;height:20px;border-radius:6px;vertical-align:-4px;gap:2px}.nw-st-h .nw-st-pi i{height:8px;width:2.5px}
@media(max-width:560px){.nw-cards,.nw-bgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.nw-cards figure,.nw-bgrid div{min-width:0}.nw-cards em{font-size:12.5px}}
/* v81: the board — products on a podium */
.nw .nw-top{display:block}
.nw .nw-top .nw-pd-n{padding:0;background:none;border-radius:0;display:block}.nw .nw-top .nw-step{padding:0;border-radius:0}.nw .nw-top .nw-step:not([class*=x]){}
.nw .nw-pod{display:grid!important;grid-template-columns:1fr 1.15fr 1fr;gap:8px;align-items:end;margin:4px 0 8px}
.nw .nw-pod.n1{grid-template-columns:minmax(0,260px);justify-content:center}.nw .nw-pod.n2{grid-template-columns:1fr 1fr}
.nw .nw-pd{position:relative;display:flex!important;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:12px 8px 0!important;border-radius:14px!important;background:var(--surface,#fff)!important;border:1px solid var(--line-soft,#E3ECE7);min-width:0;overflow:hidden}
.nw .nw-pd.gold{background:linear-gradient(180deg,#FFF8DC,#fff)!important;border-color:#F2D27A}.nw .nw-pd.silver{background:linear-gradient(180deg,#F1F4F8,#fff)!important}.nw .nw-pd.bronze{background:linear-gradient(180deg,#FBEDE2,#fff)!important}
.nw .nw-pd.me,.nw .nw-row.me{box-shadow:0 0 0 2px #16A35E}
.nw .nw-medal{position:absolute;top:8px;left:8px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font:800 11px ui-monospace,monospace;color:#fff}
.nw .gold .nw-medal{background:linear-gradient(135deg,#FFD24A,#E0A21A)}.nw .silver .nw-medal{background:linear-gradient(135deg,#D7DEE6,#9AA7B4)}.nw .bronze .nw-medal{background:linear-gradient(135deg,#F1B58A,#C2773F)}
.nw .nw-av{font-style:normal;width:40px;height:40px;border-radius:12px;background:#E3F4EA;display:grid!important;place-items:center;overflow:hidden;flex:none;border:1px solid var(--line-soft,#E3ECE7)}
.nw .nw-av.big{width:54px;height:54px;border-radius:15px}
.nw .nw-av img{width:100%;height:100%;object-fit:contain;background:#fff}.nw .nw-av span{font:800 16px system-ui,sans-serif;color:#0E8A4E}
.nw .nw-pd-n{display:block!important;min-width:0;max-width:100%}
.nw .nw-pd-n a,.nw .nw-pd-n b{display:block;font-size:13.5px;font-weight:700;color:var(--ink,#121815);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none}
.nw .nw-pd-n a:hover{color:#0E8A4E;text-decoration:underline}
.nw .nw-pd-n small{display:block;font-size:11.5px;color:var(--muted,#6B7A72);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nw .nw-pd em{font-style:normal;font:800 18px ui-monospace,monospace;color:#0E8A4E}
.nw .nw-step{display:block!important;width:calc(100% + 16px);height:10px;margin:6px -8px 0;background:var(--line-soft,#E3ECE7)}
.nw .gold .nw-step{height:22px;background:linear-gradient(180deg,#FFE07A,#E0A21A)}.nw .silver .nw-step{height:14px;background:linear-gradient(180deg,#E2E8EE,#AAB6C2)}.nw .bronze .nw-step{height:8px;background:linear-gradient(180deg,#F5C9A6,#C9834F)}
.nw .nw-rows{display:grid!important;gap:6px}
.nw .nw-row{display:grid!important;grid-template-columns:24px 34px minmax(0,1fr) auto;gap:10px;align-items:center;padding:6px 10px!important;border-radius:12px!important;background:var(--surface-2,#F2F5F3)!important}
.nw .nw-row .nw-av{width:34px;height:34px;border-radius:10px}.nw .nw-rk{font:700 12px ui-monospace,monospace;color:var(--muted,#6B7A72)}
.nw .nw-row em{font-style:normal;font:800 15px ui-monospace,monospace;color:#0E8A4E}
.nw .nw-pf{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#E3F4EA;border:1px solid #A9DDBF;border-radius:12px;padding:8px 10px;font-size:13px}
.nw .nw-pf img{width:28px;height:28px;border-radius:8px;object-fit:contain;background:#fff}
.nw .nw-pf-l{font:700 11px ui-monospace,monospace;text-transform:uppercase;letter-spacing:.06em;color:#0E8A4E}
.nw .nw-pf select{font:600 13.5px system-ui,sans-serif;padding:5px 8px;border-radius:8px;border:1px solid #A9DDBF;background:#fff;max-width:220px;margin:0}
.nw .nw-pf small{flex-basis:100%;font-size:11.5px;color:#3C6B50}
.nw .nw-y{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--body,#3C4A43)}.nw .nw-y .nw-av{width:24px;height:24px;border-radius:7px}
@media(max-width:520px){.nw .nw-pd-n a,.nw .nw-pd-n b{font-size:12.5px}.nw .nw-av.big{width:46px;height:46px}.nw .nw-pd em{font-size:16px}.nw .nw-pod{gap:6px}}
.nw .nw-top .nw-rows{grid-template-columns:minmax(0,1fr)!important;padding:0!important;background:none!important}.nw .nw-top .nw-pod{padding:0!important;background:none!important}.nw .nw-top .nw-pd-n,.nw .nw-top .nw-pd-n *{background:none!important;padding:0!important}
.nw-bosses{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.nw-bosses figure{margin:0;border-radius:12px;overflow:hidden;background:linear-gradient(180deg,#1B1F3A,#2A2F55);color:#fff;text-align:center;padding-bottom:8px}
.nw-bosses img{display:block;width:100%;aspect-ratio:320/200;object-fit:contain}
.nw-bosses b{display:block;font-size:12.5px;padding:0 6px}.nw-bosses span{display:block;font-size:11px;color:rgba(255,255,255,.75);padding:2px 8px 0;line-height:1.35}
.nw-bosses .final{background:linear-gradient(180deg,#2A1B4A,#3B2470)}
.nw-swarm{display:flex;gap:12px;align-items:center;margin-top:10px;background:linear-gradient(135deg,#141A33,#1F2A4A);color:#fff;border-radius:12px;padding:10px 14px}
.nw-swarm img{width:150px;flex:none}.nw-swarm b{font-size:14px}.nw-swarm ul{margin:4px 0 0;padding-left:16px;font-size:12.5px;color:rgba(255,255,255,.85);line-height:1.5}
@media(max-width:900px){.nw-bosses{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.nw-bosses{grid-template-columns:repeat(2,minmax(0,1fr))}.nw-swarm{flex-direction:column;align-items:flex-start}.nw-swarm img{width:130px}}
.nw-pop .nw-bosses{grid-template-columns:repeat(3,minmax(0,1fr))}

/* v83: the daily run — a secondary button on the start card, its own tab on the board */
.nw-st-foot{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px!important}
.nw-st-foot .nw-st-go{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nw-start.narrow .nw-st-foot .nw-st-go{padding:11px 10px;font-size:14.5px}.nw-start.narrow .nw-st-foot .nw-st-how{padding:10px 10px;font-size:13.5px}
.nw-st-daily{grid-column:1/-1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:2px;border:1px solid #CBBDF5;border-radius:12px;padding:9px 14px;background:linear-gradient(135deg,#F4F0FF,#ECE5FF);color:#4B2FB0;cursor:pointer;font:inherit}
.nw-st-daily b{font:800 14.5px system-ui,sans-serif}.nw-st-daily small{font:600 11.5px var(--mono,ui-monospace,monospace);color:#6B5AA8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.nw-st-daily:hover{border-color:#8B6CF0}
.nw-start.narrow .nw-st-daily{padding:7px 10px}.nw-start.narrow .nw-st-daily b{font-size:13.5px}
.nw-start.tiny .nw-st-daily small,.nw-start.short .nw-st-daily small{display:none}.nw-start.short .nw-st-daily{padding:6px 10px}
.nw .nw-tabs .nw-tab-d.on{background:#8B6CF0;border-color:#8B6CF0;color:#fff}
.nw .nw-dnote{margin:0 0 8px;font-size:12.5px;color:#6B5AA8}
.nw .nw-tabs{flex-wrap:wrap}

/* audit v81: on a landscape phone the sticky site header (64px) covered the game's top HUD during a round — let it scroll away while playing */
@media (max-height:500px) and (orientation:landscape){html:has(#nwStage.nw-playing) .site-head{position:relative}html:has(#nwStage.nw-playing) .statusbar{max-height:0;opacity:0;border-bottom-width:0;transition:none}}
/* v81: phone controls — FIRE button bottom right, a swipe hint that fades */
.nw-firebtn{position:absolute;right:14px;bottom:14px;z-index:5;display:none;width:84px;height:84px;border-radius:50%;border:3px solid rgba(255,255,255,.85);background:radial-gradient(circle at 35% 30%,#FF8A7A,#E5534B 55%,#A92E26);color:#fff;font:900 15px/1 system-ui,sans-serif;letter-spacing:.08em;box-shadow:0 6px 18px rgba(0,0,0,.45),inset 0 -5px 0 rgba(0,0,0,.18);touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;opacity:.92}
.nw-firebtn.on{transform:scale(.92);box-shadow:0 2px 8px rgba(0,0,0,.45),inset 0 4px 0 rgba(0,0,0,.2);background:radial-gradient(circle at 35% 30%,#FFB0A3,#FF6B5E 55%,#C2392F)}
.nw-stage.nw-playing .nw-firebtn{display:grid;place-items:center}
.nw-swipe{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);z-index:4;display:none;padding:7px 14px;border-radius:999px;background:rgba(18,22,52,.6);color:#fff;font:700 13px/1 system-ui,sans-serif;pointer-events:none;white-space:nowrap;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.nw-swipe i{font-style:normal;display:inline-block;animation:nwSw 1.2s ease-in-out infinite}
@keyframes nwSw{0%,100%{transform:translateX(-5px)}50%{transform:translateX(5px)}}
.nw-stage.nw-playing .nw-swipe{display:block;animation:nwSwOut 6s forwards}
@keyframes nwSwOut{0%,75%{opacity:1}100%{opacity:0}}
@media(orientation:landscape) and (max-height:500px){.nw-firebtn{width:72px;height:72px}}
/* v83 (owner feedback): FIRE in the right thumb zone, a third up the stage and clear of the ship lane; translucent so the cards
   behind it stay visible. nightwatch.js sets the exact place from the stage size and keeps the ship out from under it. */
.nw-firebtn{bottom:max(96px,33%);right:12px;width:74px;height:74px;opacity:.8;background:radial-gradient(circle at 35% 30%,rgba(255,138,122,.85),rgba(229,83,75,.78) 55%,rgba(169,46,38,.85));border-color:rgba(255,255,255,.75);box-shadow:0 6px 18px rgba(0,0,0,.35),inset 0 -5px 0 rgba(0,0,0,.14)}
.nw-firebtn.on{opacity:.95}
.nw-swipe{bottom:66px}
@media(orientation:landscape) and (max-height:500px){.nw-firebtn{bottom:max(96px,30%);width:66px;height:66px}}

/* ARCADE v120: in full screen the exit button sits over the sky where cards enter — small and see-through while playing;
   the first round makes FIRE pulse so a new player finds it */
.nw-stage.nw-isfs.nw-playing .nw-fs{opacity:.45;padding:5px;font-size:0;gap:0}.nw-stage.nw-isfs.nw-playing .nw-fs span{display:none}
.nw-stage.nw-fresh.nw-playing .nw-firebtn{animation:nwFirePulse 1.1s ease-in-out infinite}
@keyframes nwFirePulse{0%,100%{box-shadow:0 6px 18px rgba(0,0,0,.35),0 0 0 0 rgba(255,138,122,.7)}50%{box-shadow:0 6px 18px rgba(0,0,0,.35),0 0 0 14px rgba(255,138,122,0)}}
@media(prefers-reduced-motion:reduce){.nw-stage.nw-fresh.nw-playing .nw-firebtn{animation:none}}
@media(max-width:380px){.nw-firebtn{font-size:12.5px;letter-spacing:.02em}}   /* ARCADE v120: long words (PAĽBA, FUEGO) stayed inside the small button */
