/* NYX RPG · player-facing passive skills dashboard · PC / mobile */
#nyxPassiveV630{--np-bg:#101a2d;--np-panel:#182941;--np-card:#1c304c;--np-line:#344c6e;--np-fg:#eff5ff;--np-muted:#b3c9e6;--np-accent:#7db9ff;--np-gold:#ffe0a3;--np-positive:#a5f0ca;position:fixed;inset:0;z-index:30000;display:grid;place-items:center;padding:16px;background:rgba(4,9,20,.83);color:var(--np-fg);font:14px/1.5 system-ui,-apple-system,"Microsoft JhengHei",sans-serif;box-sizing:border-box}
#nyxPassiveV630[hidden]{display:none!important}
#nyxPassiveV630 *{box-sizing:border-box}
body.np-overlay-open{overflow:hidden}
#nyxPassiveV630 button,#nyxPassiveV630 input{font:inherit}
#nyxPassiveV630 button{cursor:pointer;min-height:40px;border:1px solid #5476a4;background:#27476d;border-radius:10px;color:var(--np-fg);font-weight:650;transition:background .15s ease,border-color .15s ease}
#nyxPassiveV630 button:hover:not(:disabled){background:#365c8c;border-color:#95bff2}
#nyxPassiveV630 button:focus-visible,#nyxPassiveV630 input:focus-visible{outline:2px solid #a7d7ff;outline-offset:2px}
#nyxPassiveV630 button:disabled{opacity:.45;cursor:not-allowed;filter:saturate(.45)}
#nyxPassiveV630 .np-modal{display:flex;flex-direction:column;width:min(1160px,100%);height:min(780px,calc(100dvh - 32px));min-height:0;overflow:hidden;background:var(--np-bg);border:1px solid #47638b;border-radius:18px;box-shadow:0 24px 90px #000b}
#nyxPassiveV630 .np-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 20px;background:linear-gradient(110deg,#1f3454,#17273f);border-bottom:1px solid var(--np-line)}
#nyxPassiveV630 .np-header h2{font-size:20px;font-weight:800;margin:0;line-height:1.3}
#nyxPassiveV630 .np-header p{margin:4px 0 0;font-size:12px;color:var(--np-muted)}
#nyxPassiveV630 .np-header-actions{display:flex;align-items:center;gap:14px;flex:none}
#nyxPassiveV630 .np-header-actions>button{width:43px;height:43px;font-size:18px}
#nyxPassiveV630 .np-tickets{display:grid;gap:0;min-width:104px;text-align:right}
#nyxPassiveV630 .np-tickets small{font-size:11px;color:var(--np-muted)}
#nyxPassiveV630 .np-tickets b{font-size:18px;color:var(--np-gold);font-variant-numeric:tabular-nums}
#nyxPassiveV630 .np-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:10px 16px;background:#15243a;border-bottom:1px solid #324765}
#nyxPassiveV630 .np-tabs button{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px;min-width:0;min-height:45px;background:#1c304d;border-color:#334c6c;color:#aec6e4}
#nyxPassiveV630 .np-tabs button.is-selected{background:#345a89;border-color:#95c3f5;color:#fff;box-shadow:inset 0 -3px 0 #8abfff}
#nyxPassiveV630 .np-tabs button small{font-size:10px;white-space:nowrap;color:#a1b5cd;font-weight:400}
#nyxPassiveV630 .np-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;color:var(--np-muted)}
#nyxPassiveV630 .np-tally{font-weight:700;font-size:13px}
#nyxPassiveV630 .np-search-wrap{flex:0 1 280px;display:block}
#nyxPassiveV630 .np-search-wrap input{width:100%;height:39px;padding:8px 12px;border:1px solid #4c698d;border-radius:9px;background:#101c30;color:#eff5ff}
#nyxPassiveV630 .np-search-wrap input::placeholder{color:#8ba8c9}
#nyxPassiveV630 .np-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#nyxPassiveV630 .np-columns{display:grid;grid-template-columns:minmax(260px,35%) minmax(0,1fr);gap:14px;padding:0 16px 14px;min-height:0;flex:1}
#nyxPassiveV630 .np-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;border:1px solid #304967;border-radius:13px;background:#132138;padding:11px;scrollbar-color:#56759e #16263d}
#nyxPassiveV630 .np-list-section{display:grid;gap:8px;margin-bottom:15px}
#nyxPassiveV630 .np-list-section h3{display:flex;align-items:center;justify-content:space-between;margin:3px 3px 0;color:#bad6f6;font-size:12px;letter-spacing:.02em}
#nyxPassiveV630 .np-list-section h3 small{color:#9db6d6;font-weight:500}
#nyxPassiveV630 .np-skill-card{width:100%;text-align:left;padding:13px!important;display:grid;gap:8px;background:#1c2c46!important;border-color:#344c6e!important;line-height:1.35}
#nyxPassiveV630 .np-skill-card.is-active{background:#294a72!important;border-color:#88b7eb!important;box-shadow:inset 3px 0 0 #88bfff}
#nyxPassiveV630 .np-skill-line{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}
#nyxPassiveV630 .np-skill-line strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
#nyxPassiveV630 .np-skill-meta{display:flex;justify-content:space-between;gap:8px;color:#b5cce9;font-size:11px}
#nyxPassiveV630 .np-skill-meta b{white-space:nowrap;color:#e4f2ff;font-variant-numeric:tabular-nums}
#nyxPassiveV630 .np-skill-summary{font-size:12px;color:#b2c9e8;overflow-wrap:anywhere}
#nyxPassiveV630 .np-state{font-style:normal;white-space:nowrap;font-weight:700;font-size:10px;padding:3px 7px;border-radius:99px;background:#493b34;color:#f3c09d}
#nyxPassiveV630 .np-state.is-max{background:#4c442a;color:#ffe0a3}
#nyxPassiveV630 .np-state.is-ready{background:#1f5045;color:#a9eed2}
#nyxPassiveV630 .np-detail{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 20px;background:linear-gradient(145deg,#1c2f4c,#16253e);border:1px solid #354c6e;border-radius:13px;scrollbar-color:#56759e #192b46}
#nyxPassiveV630 .np-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;border-bottom:1px solid #3a5374;padding-bottom:13px}
#nyxPassiveV630 .np-kicker{font-size:12px;color:#a9c7ef}
#nyxPassiveV630 .np-detail-head h2{margin:4px 0 0;font-size:23px;line-height:1.25;overflow-wrap:anywhere}
#nyxPassiveV630 .np-level{font-weight:750;font-variant-numeric:tabular-nums;color:var(--np-gold);white-space:nowrap;padding:6px 9px;border:1px solid #5c5870;background:#303451;border-radius:8px}
#nyxPassiveV630 .np-description{margin:13px 0 15px;color:#c5d8f0;line-height:1.7;overflow-wrap:anywhere}
#nyxPassiveV630 .np-effects{display:grid;gap:7px}
#nyxPassiveV630 .np-effects h3{margin:0 0 3px;font-size:13px;color:#b6d1ee}
#nyxPassiveV630 .np-effect{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:11px 13px;border:1px solid #354d6b;border-radius:10px;background:#1b304d}
#nyxPassiveV630 .np-effect>div{display:grid;gap:1px}
#nyxPassiveV630 .np-effect span{font-size:13px}
#nyxPassiveV630 .np-effect small{font-size:11px;color:#adc5e3}
#nyxPassiveV630 .np-effect strong{font-size:19px;color:var(--np-positive);white-space:nowrap;font-variant-numeric:tabular-nums}
#nyxPassiveV630 .np-effect strong.is-negative{color:#ffb5ad}
#nyxPassiveV630 .np-rule{padding:12px 13px;border-left:3px solid #82ade0;background:#182940;border-radius:8px;margin:14px 0;color:#b9cee8;line-height:1.65}
#nyxPassiveV630 .np-next{padding:13px;border:1px solid #435d7d;border-radius:11px;background:#203650;margin-top:14px}
#nyxPassiveV630 .np-next h4{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#f3e0ab;margin:0 0 6px}
#nyxPassiveV630 .np-next h4 small{color:#d0e2f7;font-size:11px}
#nyxPassiveV630 .np-next-row{display:flex;justify-content:space-between;gap:10px;padding:6px 0;font-size:12px;color:#bfd1e8;border-bottom:1px solid #344f70}
#nyxPassiveV630 .np-next-row:last-child{border:0}
#nyxPassiveV630 .np-next-row b{color:#e5f3ff;white-space:nowrap}
#nyxPassiveV630 .np-upgrade{margin-top:15px}
#nyxPassiveV630 .np-costs{display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap;font-size:12px;color:#b9cee7}
#nyxPassiveV630 .np-costs strong{color:#f2daa5}
#nyxPassiveV630 .np-cost-note{font-size:12px;color:#b2d8c5;margin:10px 0}
#nyxPassiveV630 .np-cost-note.is-short{color:#ffbd9e}
#nyxPassiveV630 .np-actions{display:flex;gap:10px}
#nyxPassiveV630 .np-actions button{flex:1;min-width:0;min-height:44px}
#nyxPassiveV630 .np-toggle-status{display:flex;align-items:center;flex-wrap:wrap;gap:10px;border:1px solid #4e6380;background:#21314c;border-radius:11px;padding:12px;margin-top:14px}
#nyxPassiveV630 .np-toggle-status span{color:#bfd0e7}
#nyxPassiveV630 .np-toggle-status strong{color:var(--np-gold);margin-right:auto}
#nyxPassiveV630 .np-toggle-status button{min-width:120px}
#nyxPassiveV630 .np-message{min-height:19px;padding:0 17px 10px;font-size:12px;color:#bed1e9}
#nyxPassiveV630 .np-message[data-kind=error]{color:#ffbba9}
#nyxPassiveV630 .np-message[data-kind=success]{color:#aef1c9}
#nyxPassiveV630 .np-empty{min-height:210px;display:grid;place-content:center;text-align:center;gap:7px;padding:20px;color:#b9cbe4}
#nyxPassiveV630 .np-empty h3{margin:0;color:#e1eeff}
#nyxPassiveV630 .np-empty p{margin:0}
#nyxPassiveV630 .np-mobile-back{display:none}
#nyxPassiveV630 .np-mobile-actions{display:none}
@media(max-width:700px){
  #nyxPassiveV630{padding:0;align-items:stretch}
  #nyxPassiveV630 .np-modal{height:100dvh;max-height:none;width:100%;border:0;border-radius:0}
  #nyxPassiveV630 .np-header{padding:12px 14px}
  #nyxPassiveV630 .np-header h2{font-size:18px}
  #nyxPassiveV630 .np-header-actions{gap:9px}
  #nyxPassiveV630 .np-tickets{min-width:82px}
  #nyxPassiveV630 .np-tickets b{font-size:15px}
  #nyxPassiveV630 .np-header-actions>button{min-width:44px;width:44px;height:44px}
  #nyxPassiveV630 .np-tabs{display:flex;overflow-x:auto;gap:6px;padding:9px 12px;scroll-snap-type:x proximity;scrollbar-width:thin}
  #nyxPassiveV630 .np-tabs button{flex:0 0 77px;min-height:45px;scroll-snap-align:start}
  #nyxPassiveV630 .np-tabs button small{font-size:9px}
  #nyxPassiveV630 .np-toolbar{padding:10px 12px;gap:8px}
  #nyxPassiveV630 .np-search-wrap{flex:0 1 52%}
  #nyxPassiveV630 .np-columns{display:block;overflow:hidden;padding:0 10px 9px}
  #nyxPassiveV630 .np-list{height:100%;max-height:none}
  #nyxPassiveV630 .np-detail{display:none;height:100%;padding:14px}
  #nyxPassiveV630.np-mobile-detail .np-list{display:none}
  #nyxPassiveV630.np-mobile-detail .np-detail{display:block}
  #nyxPassiveV630 .np-mobile-back{display:inline-flex;align-items:center;padding:6px 12px;margin:0 0 12px;min-height:42px}
  #nyxPassiveV630 .np-detail-head h2{font-size:21px}
  #nyxPassiveV630 .np-effect strong{font-size:17px}
  #nyxPassiveV630 .np-next-row{flex-wrap:wrap}
  #nyxPassiveV630 .np-skill-card{min-height:85px}
  #nyxPassiveV630 .np-message{padding-bottom:calc(8px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){#nyxPassiveV630 button{transition:none}}

/* S3: only effect information scrolls; upgrade controls stay visible on PC and mobile. */
#nyxPassiveV630 .np-detail{display:flex;flex-direction:column;overflow:hidden;padding:0;min-height:0}
#nyxPassiveV630 .np-detail-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 20px;scrollbar-color:#56759e #192b46}
#nyxPassiveV630 .np-detail-footer{flex:none;padding:14px 20px;background:linear-gradient(180deg,#203958,#1b304d);border-top:1px solid #58739a;box-shadow:0 -7px 20px #06101c77}
#nyxPassiveV630 .np-detail-head h2{margin:0}
#nyxPassiveV630 .np-skill-subtitle{display:inline-block;color:#a9c7e9;font-size:12px;margin-top:7px}
#nyxPassiveV630 .np-skill-meta{justify-content:flex-end}
#nyxPassiveV630 .np-detail-footer .np-cost-note{margin:6px 0 9px}
#nyxPassiveV630 .np-detail-footer .np-actions button{min-height:48px}
#nyxPassiveV630 .np-list{display:flex;flex-direction:column;gap:8px}
@media(max-width:700px){
 #nyxPassiveV630 .np-detail{display:none;height:100%;padding:0}
 #nyxPassiveV630.np-mobile-detail .np-detail{display:flex}
 #nyxPassiveV630 .np-detail-body{padding:14px 14px 18px}
 #nyxPassiveV630 .np-detail-footer{padding:10px 14px calc(10px + env(safe-area-inset-bottom));}
 #nyxPassiveV630 .np-detail-footer .np-costs{font-size:11px}
 #nyxPassiveV630 .np-detail-footer .np-actions button{min-height:46px}
 #nyxPassiveV630 .np-detail-footer .np-cost-note{font-size:11px;line-height:1.4}
}

/* V6.9.2 passive/support taxonomy. Display-only: all eligibility and effect
 * values originate from the server PLAY projection. */
#nyxPassiveV630 .np-type-pill{display:inline-flex;padding:3px 9px;border-radius:99px;border:1px solid #41876f;background:#164b3e;color:#b5f3dc;font-size:12px;font-weight:750}
#nyxPassiveV630 .np-type-pill.np-type-support{border-color:#8b7bc3;background:#3e345f;color:#e2d7ff}
#nyxPassiveV630 .np-card-type{font-size:11px;color:#8ce1c2;text-align:left;align-self:start}
#nyxPassiveV630 .np-card-type.np-card-support{color:#d6c4ff}
#nyxPassiveV630 .np-prerequisite{font-size:12px;color:#f2ca90;margin:0 0 9px}
#nyxPassiveV630 .np-activation{font-size:12px;color:#9ee0c6;margin:0 0 14px}
#nyxPassiveV630 .np-effect-condition{display:block;font-size:11px;color:#9dbbdc;font-weight:400;margin-top:3px}
/* V7.1.4 Passive/support: reuse server effects; improved two-level visual grammar. */
#nyxPassiveV630 .np714-hero{display:flex;align-items:flex-start;gap:13px;padding:16px;border-radius:14px;background:linear-gradient(120deg,#284565,#203655);border:1px solid #5478a0}
#nyxPassiveV630 .np714-hero.np714-support{background:linear-gradient(120deg,#294858,#20364d);border-color:#588d8c}
#nyxPassiveV630 .np714-symbol{flex:none;width:54px;height:54px;display:grid;place-items:center;font-size:30px;color:#dfd0ff;background:radial-gradient(circle at 35% 20%,#816abb,#35335f);border:1px solid #a79bdd;border-radius:14px}
#nyxPassiveV630 .np714-support .np714-symbol{color:#c0ffeb;background:radial-gradient(circle at 35% 20%,#4ca69a,#264d68);border-color:#7dc6b7}
#nyxPassiveV630 .np714-hero-info{flex:1;min-width:0}
#nyxPassiveV630 .np714-hero-info h2{font-size:22px;margin:7px 0 5px;color:#f2f6ff;line-height:1.3;overflow-wrap:anywhere}
#nyxPassiveV630 .np714-hero-info p{color:#bdd0e8;margin:0;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
#nyxPassiveV630 .np714-level-cap{display:grid;min-width:87px;gap:2px;text-align:center;padding:8px;border:1px solid #748dad;border-radius:11px;background:#12283f;flex:none}
#nyxPassiveV630 .np714-level-cap small{font-size:11px;color:#b1cae8}#nyxPassiveV630 .np714-level-cap b{font-size:23px;line-height:1.25;color:#f9dfad}#nyxPassiveV630 .np714-level-cap span{font-size:11px;color:#bdcff0}
#nyxPassiveV630 .np714-prereq{border-left:3px solid #dfa66d;background:#302f43;padding:10px 12px;border-radius:7px;margin:13px 0 8px;color:#ebd3b6}
#nyxPassiveV630 .np714-activation{font-size:12px;color:#b4cce8;margin:9px 0 14px}
#nyxPassiveV630 .np714-level-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#nyxPassiveV630 .np714-level-grid .np-effects,#nyxPassiveV630 .np714-level-grid .np-next{padding:14px;margin:0;border:1px solid #3f5e83;border-radius:12px;background:#1b3250;min-width:0;align-content:start}
#nyxPassiveV630 .np714-level-grid .np-next{background:#26334d;border-color:#6c6580}
#nyxPassiveV630 .np714-level-grid h3,#nyxPassiveV630 .np714-level-grid h4{font-size:14px;margin:0 0 11px;color:#d8e9ff;border-bottom:1px solid #405a77;padding-bottom:9px}
#nyxPassiveV630 .np714-level-grid h4{color:#f6dda7}
#nyxPassiveV630 .np714-effect-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #344e6d;font-size:12px;align-items:baseline}
#nyxPassiveV630 .np714-effect-row:last-child{border-bottom:0}#nyxPassiveV630 .np714-effect-row small{display:block;color:#9ebfe3}
#nyxPassiveV630 .np714-effect-row b{font-variant-numeric:tabular-nums;color:#eaf5ff;font-size:13px;text-align:right;white-space:normal}
#nyxPassiveV630 .np714-effect-row b.np714-changed{color:#8fefbf}
#nyxPassiveV630 .np714-hint{margin:0;padding:9px 0;font-size:12px;color:#adc3df;line-height:1.65}
#nyxPassiveV630 .np-skill-card.is-active{box-shadow:inset 4px 0 #c3a0ff;border-color:#9f98d6!important;background:#30436c!important}
@media(max-width:780px){#nyxPassiveV630 .np714-level-grid{grid-template-columns:1fr}#nyxPassiveV630 .np714-hero{padding:11px;gap:8px}#nyxPassiveV630 .np714-symbol{width:44px;height:44px;font-size:24px}#nyxPassiveV630 .np714-hero-info h2{font-size:18px}#nyxPassiveV630 .np714-level-cap{min-width:70px}}

/* V7.1.4 prose hotfix: full-sentence passive/support effects. */
#nyxPassiveV630 .np714-prose-levels{display:flex;flex-direction:column;gap:12px}
#nyxPassiveV630 .np714-prose-levels .np-effects,#nyxPassiveV630 .np714-prose-levels .np-next{width:100%;border-left:3px solid #7bbdba;padding:16px 19px}
#nyxPassiveV630 .np714-prose-levels .np-next{border-left-color:#d7bc8c}
#nyxPassiveV630 .np714-prose-levels h3,#nyxPassiveV630 .np714-prose-levels h4{font-size:15px}
#nyxPassiveV630 .np714-prose-levels .np714-story-line{display:block;border-bottom:0;margin:8px 0 0;padding:0;color:#e1edf9;font-size:14px;line-height:1.9}
#nyxPassiveV630 .np714-prose-levels .np714-story-line b{font-size:14px;font-weight:850;color:#eff7ff;display:inline}
#nyxPassiveV630 .np714-prose-levels .np714-story-line b.np714-changed{color:#80ebaf}
#nyxPassiveV630 .np714-prose-levels .np714-story-line small{display:block;font-size:12px;color:#a9c4e7}

/* R4 display-only semantic tones. Shared by PLAY badges and skill effects. */
.tone-counter{--nyx-effect:#c4a1ff}.tone-trigger{--nyx-effect:#f6ce78}.tone-attack{--nyx-effect:#ffa591}.tone-recovery{--nyx-effect:#87e6ad}.tone-defense{--nyx-effect:#8bd5ff}.tone-neutral{--nyx-effect:#d4dfef}
#nyxPassiveV630 .nyx-effect-type{color:var(--nyx-effect);font-size:11px;font-weight:700}
#nyxPassiveV630 .np714-prose-levels .np714-story-line b.nyx-effect-value{color:var(--nyx-effect);font-variant-numeric:tabular-nums}
#nyxPassiveV630 .np714-prose-levels .np714-story-line b.nyx-effect-value.np714-changed{text-decoration:underline;text-underline-offset:3px}
#nyxPassiveV630 .np714-prose-levels .np714-story-line b.nyx-effect-value.is-penalty{color:#ff8d96}
.nyx-core-traits:not([hidden]){display:grid;gap:5px;padding:6px 0}
.nyx-core-trait{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;border:1px solid #394e69;border-left:3px solid var(--nyx-effect);background:#17263a;border-radius:6px;padding:6px 8px;font-size:12px;line-height:1.5;min-width:0}
.nyx-core-trait strong,.nyx-core-trait small{color:var(--nyx-effect);font-size:12px}
.nyx-core-trait small{font-size:10px;margin-left:auto}
.nyx-core-trait span{color:#c5d6e9;flex-basis:100%;overflow-wrap:anywhere}
.nyx-core-trait.is-off{border-left-color:#7e8999}.nyx-core-trait.is-off strong,.nyx-core-trait.is-off small{color:#a5b1c2}
#m3CoreTraits:not([hidden]){padding:6px 10px;border-bottom:1px solid #283b54}
#m3CoreTraits .nyx-core-trait{padding:4px 6px}

#nyxPassiveV630 .np-actions{flex-wrap:wrap;align-items:center}
#nyxPassiveV630 .np-actions>span{flex:1 0 100%}
