/* Transparent center keeps the actual 3D fighters as the selection artwork. */
body.selecting #hud{visibility:hidden;pointer-events:none}
.nr-select-player{--role-color:#47f8ff}.nr-select-enemy{--role-color:#ff4275}
.nr-select{--select-acid:#dfff59;position:absolute;inset:0;z-index:8;isolation:isolate;color:#f2f1e6;overflow:hidden;font-family:Arial,'Noto Sans JP',sans-serif;background:linear-gradient(90deg,#05080dc9,transparent 31%,transparent 69%,#05080dc9),linear-gradient(0deg,#05080df0,transparent 28%,transparent 78%,#05080db3)}
.nr-select[hidden]{display:none!important}.nr-select::before{content:'';position:absolute;left:50%;top:28%;bottom:24%;width:1px;transform:rotate(12deg);background:linear-gradient(transparent,#eff2ce45,transparent);pointer-events:none;z-index:-1}
.nr-select-header{position:absolute;top:max(24px,env(safe-area-inset-top));left:max(4%,env(safe-area-inset-left));right:max(4%,env(safe-area-inset-right));display:flex;justify-content:space-between;align-items:flex-start;gap:20px;pointer-events:none}
.nr-select-eyebrow{display:block;font-size:9px;font-weight:900;letter-spacing:3px;color:var(--select-acid);margin-bottom:9px}.nr-select-header h1{font-size:clamp(24px,3.5vw,48px);font-style:italic;font-weight:1000;line-height:.96;letter-spacing:-2px;margin:0;text-shadow:0 3px 8px #0007}.nr-select-header h1 em{color:var(--select-acid)}
.nr-select-format{font-size:30px;line-height:1;font-weight:1000;font-style:italic;letter-spacing:-1px;padding-top:5px}.nr-select-format i{font-size:12px;color:var(--select-acid);margin:0 9px;vertical-align:middle}.nr-select-format small{display:block;font-size:8px;letter-spacing:3px;font-style:normal;text-align:right;margin-top:7px;color:#bfc5bf}
.nr-select-side{position:absolute;top:29%;width:clamp(160px,22vw,260px);animation:nr-select-enter .3s both}.nr-select-player{left:max(4%,env(safe-area-inset-left));--enter-x:-24px}.nr-select-enemy{right:max(4%,env(safe-area-inset-right));--enter-x:24px;text-align:right;animation-delay:.055s}
.nr-select-side-label{display:flex;align-items:center;gap:9px;margin-bottom:9px}.nr-select-enemy .nr-select-side-label{justify-content:flex-end}.nr-select-side-label b{background:var(--role-color,#47f8ff);color:#071018;clip-path:polygon(8% 0,100% 0,92% 100%,0 100%);font-size:11px;font-weight:1000;padding:5px 11px}.nr-select-side-label span{font-size:8px;font-weight:800;letter-spacing:1.4px;color:#ced7d4}
.nr-select-name{display:block;font-size:clamp(34px,5.4vw,72px);font-style:italic;font-weight:1000;line-height:.95;letter-spacing:-3px;text-shadow:3px 4px #070e18}.nr-select-subtitle{display:block;color:var(--side-color,#47f8ff);font-size:10px;font-weight:800;letter-spacing:1px;margin:10px 0 19px;text-shadow:0 2px 5px #000}
.nr-select-roster{display:flex;flex-direction:column;gap:7px}.nr-select-fighter{position:relative;display:flex;align-items:center;gap:13px;width:100%;min-height:61px;padding:9px 14px;background:#090e14dd;color:#dce4e1;border:1px solid #e2efe83d;border-left:4px solid #e2efe841;text-align:left;transition:background .12s,border-color .12s,transform .12s;touch-action:manipulation}
.nr-select-monogram{display:grid;place-items:center;width:32px;height:34px;flex:0 0 32px;background:#d9dedc0d;font-size:25px;font-weight:1000;font-style:italic;line-height:1;transform:skew(-9deg);color:var(--fighter-color)}.nr-select-card-title b{display:block;font-size:17px;font-weight:1000;font-style:italic;letter-spacing:.5px;line-height:1}.nr-select-card-title small{display:block;font-size:9px;margin-top:5px;color:#adb8b5;letter-spacing:1px}.nr-select-card-check{margin-left:auto;font-size:18px;font-weight:900;opacity:0;color:var(--fighter-color)}
.nr-select-fighter.is-selected{border-color:var(--fighter-color);border-left-color:var(--fighter-color);background:#17212be8;color:#fff}.nr-select-fighter.is-selected .nr-select-card-check{opacity:1}.nr-select-fighter.is-selected .nr-select-monogram{background:#ffffff13}.nr-select-fighter:hover:not(:disabled){background:#273039e8;transform:translateX(3px)}.nr-select-enemy .nr-select-fighter:hover:not(:disabled){transform:translateX(-3px)}
.nr-select button:focus-visible,.nr-select button.is-focused{outline:2px solid var(--select-acid);outline-offset:4px;box-shadow:0 0 0 1px #0a0f15,0 0 22px #dfff5926}.nr-select button:disabled{opacity:.44;cursor:wait}.nr-select button:active:not(:disabled){transform:scale(.97)}
.nr-select-footer{position:absolute;bottom:max(19px,env(safe-area-inset-bottom));left:max(4%,env(safe-area-inset-left));right:max(4%,env(safe-area-inset-right));display:grid;grid-template-columns:1fr minmax(240px,340px) 1fr;grid-template-areas:'back start status' 'hint hint hint' 'same same same';align-items:center;column-gap:25px;row-gap:12px}
.nr-select-back{grid-area:back;justify-self:start;background:#090e16d9;color:#f2f1e6;border:1px solid #e2efe841;padding:13px 17px;font-weight:900;font-size:12px;min-height:45px}.nr-select-back>span{font-size:16px;margin-right:8px;color:var(--select-acid)}.nr-select-back kbd{font-size:9px;color:#b8c4c0;margin-left:12px}
.nr-select-start{grid-area:start;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-height:68px;padding:12px 52px 13px 24px;background:var(--select-acid);color:#090e13;border:0;box-shadow:6px 6px 0 #070c11b3;transform:skew(-7deg);touch-action:manipulation}.nr-select-start>span{font-size:27px;font-weight:1000;font-style:italic;letter-spacing:-.5px;line-height:1}.nr-select-start small{font-size:9px;font-weight:800;letter-spacing:2px;margin-top:7px}.nr-select-start>b{position:absolute;right:20px;top:14px;font-size:28px;font-weight:900}.nr-select-start:hover:not(:disabled){background:#eeffad}.nr-select-start:focus-visible,.nr-select-start.is-focused{outline-color:#f2f1e6;outline-offset:5px}
.nr-select-status{grid-area:status;justify-self:end;max-width:180px;text-align:right;font-size:9px;font-weight:900;letter-spacing:1.8px;color:#c5d6cd}.nr-select-status::before{content:'';display:inline-block;width:5px;height:5px;margin-right:8px;vertical-align:2px;border-radius:50%;background:var(--select-acid)}.nr-select.is-busy .nr-select-status::before{animation:nr-select-sync .65s infinite alternate}.nr-select-controls{grid-area:hint;text-align:center;font-size:10px;font-weight:700;letter-spacing:1px;margin:0;color:#d5ded5;text-shadow:0 2px 4px #000}.nr-select-same{grid-area:same;text-align:center;font-size:8px;letter-spacing:1px;color:#a3b4ab}
@keyframes nr-select-enter{from{opacity:0;transform:translateX(var(--enter-x))}to{opacity:1;transform:none}}@keyframes nr-select-sync{to{opacity:.25}}
@media(max-height:520px){.nr-select-header{top:max(15px,env(safe-area-inset-top))}.nr-select-eyebrow{font-size:7px;margin-bottom:6px;letter-spacing:2px}.nr-select-header h1{font-size:27px;letter-spacing:-1px}.nr-select-format{font-size:22px}.nr-select-format small{font-size:6px;margin-top:5px;letter-spacing:2px}.nr-select-side{top:24%;width:clamp(154px,21vw,220px)}.nr-select-side-label{margin-bottom:6px;gap:6px}.nr-select-side-label b{font-size:9px;padding:4px 9px}.nr-select-side-label span{font-size:7px;letter-spacing:.8px}.nr-select-name{font-size:42px;letter-spacing:-2px}.nr-select-subtitle{font-size:8px;margin:6px 0 10px}.nr-select-roster{gap:5px}.nr-select-fighter{min-height:45px;padding:6px 10px;gap:8px}.nr-select-monogram{height:28px;width:26px;flex-basis:26px;font-size:22px}.nr-select-card-title b{font-size:14px}.nr-select-card-title small{font-size:7px;margin-top:3px}.nr-select-card-check{font-size:15px}.nr-select-footer{bottom:max(12px,env(safe-area-inset-bottom));grid-template-columns:1fr minmax(210px,270px) 1fr;column-gap:18px;row-gap:8px}.nr-select-start{min-height:52px;padding:8px 45px 8px 19px}.nr-select-start>span{font-size:23px}.nr-select-start small{font-size:7px;margin-top:5px}.nr-select-start>b{right:15px;top:10px;font-size:25px}.nr-select-back{font-size:10px;min-height:41px;padding:9px 12px}.nr-select-back kbd{margin-left:8px;font-size:8px}.nr-select-status{font-size:7px;letter-spacing:1px}.nr-select-controls{font-size:8px;letter-spacing:.3px}.nr-select-same{display:none}.nr-select button:focus-visible,.nr-select button.is-focused{outline-offset:2px}}
@media(max-width:700px){.nr-select-header,.nr-select-footer{left:max(3%,env(safe-area-inset-left));right:max(3%,env(safe-area-inset-right))}.nr-select-player{left:max(3%,env(safe-area-inset-left))}.nr-select-enemy{right:max(3%,env(safe-area-inset-right))}.nr-select-side{width:145px}.nr-select-side-label span{display:none}.nr-select-name{font-size:36px}.nr-select-subtitle{letter-spacing:0;font-size:7px}.nr-select-status{display:none}.nr-select-footer{grid-template-columns:1fr minmax(190px,240px) 1fr}.nr-select-back kbd{display:none}.nr-select-back{padding:9px}.nr-select-header h1{font-size:23px}.nr-select-format{font-size:19px}}
/* Short landscape screens reserve the centre/top for the raised blades.
   Keep the two-line title inside the P1 column instead of crossing the preview. */
@media(max-height:520px){.nr-select-header>div{width:clamp(145px,21vw,220px)}.nr-select-header h1{font-size:clamp(16px,2.3vw,20px);line-height:1.03;letter-spacing:-.5px}.nr-select-header h1 em{display:block}}
/* Keep all three choices in their existing side columns; the centre remains
   reserved for the models and the footer retains its full touch target. */
.nr-select-name.is-long{font-size:clamp(30px,4.5vw,60px)}
.nr-select-subtitle{line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-height:660px){
  .nr-select[data-roster-size="3"] .nr-select-side{top:22%}
  .nr-select[data-roster-size="3"] .nr-select-side-label{margin-bottom:5px}
  .nr-select[data-roster-size="3"] .nr-select-name{font-size:32px;line-height:.95;letter-spacing:-1.5px}
  .nr-select[data-roster-size="3"] .nr-select-subtitle{margin:4px 0 7px}
  .nr-select[data-roster-size="3"] .nr-select-roster{gap:4px}
  .nr-select[data-roster-size="3"] .nr-select-fighter{min-height:44px;padding-block:5px}
}
@media(max-height:420px){
  .nr-select[data-roster-size="3"] .nr-select-side{top:20%}
  .nr-select[data-roster-size="3"] .nr-select-side-label{margin-bottom:3px}
  .nr-select[data-roster-size="3"] .nr-select-name{font-size:28px;margin-bottom:5px}
  .nr-select[data-roster-size="3"] .nr-select-subtitle{display:none}
}
@media(max-height:350px){.nr-select[data-roster-size="3"] .nr-select-name{display:none}}
@media(prefers-reduced-motion:reduce){.nr-select *,.nr-select *::before{animation:none!important;transition:none!important;scroll-behavior:auto}.nr-select-fighter:hover:not(:disabled){transform:none}}
