/*==========================================================
  NexusRO — News (landing) & Server Info pages
  Prefix: nxp-   Uses the theme tokens from flux_theme.css
==========================================================*/

/* Offline pre-renewal Skill Simulator */
.nxp-skillsim { --ss-card: var(--bg-panel, #252525); line-height:1.4; }
.nxp-skillsim .nxp-banner { padding:3px; }
.nxp-skillsim .nxp-banner-top { padding:10px 12px; }
.nxp-skillsim .nxp-banner-title { font-size:1.65em; margin:3px 0; }
.nxp-skillsim .nxp-banner-sub { font-size:.8em; }
.nxp-skillsim .nxp-banner-sub::before,.nxp-skillsim .nxp-banner-sub::after { width:18px; margin:0 6px; }
.nxp-skillsim .nxp-panel-head { padding:7px 10px; font-size:.9em; }
.ss-picker>summary { cursor:pointer; }
.ss-picker:not([open])>summary { border-bottom:0; }
#ss-picked-job { float:right; font-weight:500; letter-spacing:0; text-transform:none; }
.ss-picker .ss-mobile-hint { padding:0 8px; }
[data-theme="light"] .nxp-skillsim { --ss-card: #fffdf6; }
.nxp-skillsim .nxp-panel { margin-bottom:10px; }
.ss-toolbar { display:flex; flex-wrap:wrap; align-items:flex-end; gap:8px; padding:8px 10px; }
.ss-toolbar label,.ss-code-label { display:flex; flex-direction:column; gap:3px; font-size:.85em; }
.ss-toolbar input[type="number"] { width:72px; }
.nxp-skillsim input,.nxp-skillsim select { min-height:30px; box-sizing:border-box; max-width:100%; border:1px solid var(--nxp-line); border-radius:4px; padding:4px 6px; background:var(--ss-card); color:var(--text-primary,var(--text-main,#ddd)); }
.nxp-skillsim button { min-height:30px; border:1px solid var(--nxp-line); border-radius:4px; padding:4px 8px; background:var(--ss-card); color:var(--text-primary,var(--text-main,#ddd)); cursor:pointer; font:inherit; }
[data-theme="light"] .nxp-skillsim input,[data-theme="light"] .nxp-skillsim select,[data-theme="light"] .nxp-skillsim button { color:#393427; }
.nxp-skillsim button:hover:not(:disabled),.nxp-skillsim button:focus-visible,.ss-skill:focus-visible { outline:2px solid var(--gold,#c9a227); outline-offset:2px; }
.nxp-skillsim button:disabled { opacity:.4; cursor:default; }
/* Directed job progression; arrows belong only to this selector. */
.ss-jobs { padding:0 10px 8px; max-height:300px; overflow-y:auto; }
.ss-job-section { margin-bottom:8px; }
.nxp-skillsim .ss-job-section h3 { margin:2px 0 5px; font-size:.8em; letter-spacing:.08em; color:var(--gold-light,#d7b64a); }
.ss-job-graph-scroll { overflow-x:auto; max-width:100%; border:1px solid var(--nxp-line); border-radius:6px; background:var(--nxp-fill); }
.ss-job-graph { position:relative; }
.ss-job-graph svg { position:absolute; inset:0; pointer-events:none; }
.ss-job-edge { fill:none; stroke:var(--nxp-line); stroke-width:1.7; }
.ss-job-edge.is-path { stroke:var(--gold,#c9a227); stroke-width:2.4; }
.ss-job-graph marker path { fill:var(--gold-dark,#8f7939); }
.nxp-skillsim .ss-job { position:absolute; z-index:1; display:flex; flex-direction:column; align-items:center; justify-content:center; box-sizing:border-box; width:80px; height:84px; min-height:84px; padding:2px 3px; font-size:.75em; line-height:1.15; }
.ss-job img { width:32px; height:54px; object-fit:contain; image-rendering:auto; }
.ss-job span { margin-top:2px; }
.nxp-skillsim .ss-job.is-selected { border-color:var(--gold,#c9a227); background:var(--gold-light,#e8c84a) !important; color:#241e0c !important; box-shadow:0 0 0 1px var(--gold,#c9a227); }
.nxp-skillsim .ss-job.is-ancestor { border-color:var(--gold-dark,#8f7939); }
.nxp-skillsim .ss-job.is-context { opacity:.7; }
.ss-status:empty { display:none; }
.ss-status { padding:6px 10px; border:1px solid var(--nxp-line); border-radius:4px; margin:8px 0; font-size:.85em; }
.ss-error { color:#ed927e; border-color:#b56f51; }
[data-theme="light"] .ss-error { color:#a03219; }
.ss-points { display:flex; flex-wrap:wrap; gap:6px; padding:0 10px; }
.ss-point { padding:4px 8px; border:1px solid var(--nxp-line); border-radius:4px; font-size:.85em; }
.ss-code-label { padding:0 10px 10px; }
.ss-code-label input { width:100%; font-family:monospace; font-size:.85em; }
.ss-stat-panel { padding:0 10px 8px; }
.nxp-skillsim .ss-stat-panel h3 { margin:0 0 6px; font-size:.9em; color:var(--gold-light,#d7b64a); }
.ss-stat-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:6px; }
.ss-stat-grid label { display:flex; flex-direction:column; gap:3px; font-size:.85em; }
.ss-stat-grid input { width:100%; }
.ss-stat-summary { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px; padding-top:6px; font-size:.85em; }
@media(max-width:600px) { .ss-stat-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
.ss-tree-scroll { max-width:100%; margin-bottom:10px; }
.ss-tree-note { color:var(--text-dim,#999); font-size:.82em; }
.ss-tree-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; margin-bottom:8px; }
.ss-tree-toolbar .ss-tree-note { margin:0; }
.ss-description-toggle { display:inline-flex; align-items:center; gap:6px; font-size:.85em; cursor:pointer; }
.nxp-skillsim .ss-description-toggle input { width:auto; min-height:0; margin:0; padding:0; accent-color:var(--gold,#c9a227); }
.ss-mobile-hint { display:none; }
.ss-tree { min-width:0; }
.ss-tier { padding:8px; border:1px solid var(--nxp-line); border-radius:6px; margin-bottom:8px; background:var(--nxp-fill); }
.ss-tier .ss-tier-title { margin:0 0 6px; font-size:.92em; color:var(--gold-light,#d7b64a); }
.ss-skill-forest { --ss-row-step:84px; display:flex; flex-wrap:wrap; align-items:flex-start; gap:8px; }
.ss-skill-branch { flex:none; max-width:calc(100% - 8px); overflow-x:auto; overflow-y:hidden; padding:4px; box-sizing:content-box; border-radius:6px; background:rgba(201,162,39,.035); }
.ss-skill-branch-tree { position:relative; }
.ss-skill { position:absolute; width:128px; height:68px; box-sizing:border-box; border:1px solid var(--nxp-line); border-radius:5px; padding:4px 6px; background:var(--ss-card); cursor:pointer; line-height:1.2; }
.ss-skill.is-locked .ss-skill-head { opacity:.5; }
.ss-skill.is-learned { border-color:var(--gold-dark,#8f7939); }
.ss-skill-head { display:flex; align-items:center; gap:5px; height:26px; font-size:.77em; }
.ss-skill-head strong { font-weight:500; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.ss-skill-head img { width:22px; height:22px; image-rendering:pixelated; flex:none; }
.ss-skill-controls { display:flex; align-items:center; justify-content:space-between; gap:4px; margin-top:3px; }
.nxp-skillsim .ss-skill-controls button { min-width:26px; min-height:26px; height:26px; padding:0; font-size:.87em; border-color:transparent; }
.ss-skill-level { font-size:.73em; font-weight:500; }
.nxp-skillsim .ss-skill.is-prerequisite { border-color:#c49340; background:rgba(196,147,64,.14); box-shadow:inset 0 0 0 1px rgba(196,147,64,.4); }
.nxp-skillsim .ss-skill.is-inspected { border-color:var(--gold,#c9a227); background:rgba(201,162,39,.22); box-shadow:0 0 0 2px var(--gold,#c9a227); }
.ss-skill.is-inspected .ss-skill-head,.ss-skill.is-prerequisite .ss-skill-head { opacity:1; }
.nxp-skillsim .ss-skill.is-quest { border:2px solid #f3c623; }
.skill-quest-legend { display:flex; align-items:center; gap:8px; margin:0 0 12px; font-size:.82em; color:var(--text-dim,#999); }
.skill-quest-legend::before { content:""; flex:none; width:16px; height:16px; box-sizing:border-box; border:2px solid #f3c623; border-radius:4px; }
.ss-tooltip { position:fixed; z-index:10000; box-sizing:border-box; width:360px; max-width:calc(100% - 20px); max-height:min(640px,calc(100vh - 20px)); overflow:auto; overscroll-behavior:contain; padding:12px 14px; border:1px solid var(--gold,#c9a227); border-radius:7px; background:var(--ss-card); color:var(--text-primary,var(--text-main,#ddd)); box-shadow:0 8px 28px rgba(0,0,0,.3); pointer-events:auto; font-size:.83em; line-height:1.4; }
.ss-tooltip[hidden] { display:none; }
[data-theme="light"] .ss-tooltip { color:#393427; }
.ss-tooltip-title { display:block; font-size:1.1em; }
.ss-tooltip-level { margin:3px 0 8px; color:var(--text-dim,#999); }
.ss-tooltip .ss-tooltip-heading { margin:8px 0 4px; font-weight:600; }
.ss-tooltip ul { list-style:none; margin:0; padding:0; }
.ss-tooltip li { padding:2px 0; }
.ss-tooltip .is-met { color:var(--gold-light,#d7b64a); }
.ss-tooltip .is-missing { color:#e5a488; }
[data-theme="light"] .ss-tooltip .is-met { color:#7b630c; }
[data-theme="light"] .ss-tooltip .is-missing { color:#a04825; }
.ss-tooltip p { margin:5px 0; }
.ss-tooltip-description { white-space:pre-line; overflow-wrap:anywhere; }
.ss-storage>p,.ss-storage #ss-saved { padding:8px 10px; }
.ss-saved-row { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; padding:6px 0; border-bottom:1px solid var(--nxp-line); }
.ss-saved-row strong { overflow-wrap:anywhere; max-width:100%; }
.ss-saved-actions { display:flex; flex-wrap:wrap; gap:6px; }
@media(max-width:600px) {
 .ss-mobile-hint { display:block; }
 .nxp-skillsim input,.nxp-skillsim select,.nxp-skillsim button { min-height:34px; }
 .ss-toolbar { gap:6px; padding:8px; }
 .ss-toolbar label { flex:1 1 90px; min-width:0; }
 .ss-toolbar input,.ss-toolbar select { width:100%; }
 .ss-jobs { padding:0 8px 8px; max-height:250px; }
 .ss-skill-forest { --ss-row-step:90px; gap:8px; }
 .ss-skill { height:74px; }
 .ss-skill-branch { max-width:calc(100% - 8px); }
 .ss-tier { padding:9px; }
 .ss-skill-head { font-size:.77em; }
 .nxp-skillsim .ss-skill-controls button { min-width:32px; min-height:32px; height:32px; }
 .ss-point { flex:1 1 120px; }
 .ss-saved-actions { width:100%; }
 .ss-saved-actions button { flex:1; }
}

.nxp {
	--nxp-line: rgba(201,162,39,0.22);
	--nxp-soft: rgba(255,255,255,0.06);
	--nxp-fill: rgba(255,255,255,0.025);
	line-height: 1.6;
}
[data-theme="light"] .nxp {
	--nxp-line: rgba(154,114,13,0.3);
	--nxp-soft: rgba(0,0,0,0.08);
	--nxp-fill: rgba(255,255,255,0.6);
}
.nxp p { margin: 0 0 10px; }
.nxp code {
	font-size: 0.9em;
	padding: 0 5px;
	border-radius: 3px;
	border: 1px solid var(--nxp-soft);
}
.nxp h3 { margin: 32px 0 12px; }

/* ── Launch hero (news): the ETA first, one action, joining the Discord ── */
.nxp-launch {
	margin-bottom: 14px;
	padding: 34px 26px 30px;
	text-align: center;
	border: 1px solid var(--gold-dark);
	border-radius: 8px;
	background:
		radial-gradient(ellipse 70% 130% at 50% -30%, rgba(232,200,74,0.22) 0%, transparent 62%),
		var(--nxp-fill);
}
.nxp-launch-eta {
	font-family: 'Cinzel', serif;
	font-size: 3.1em;
	font-weight: 700;
	line-height: 1.1;
	color: var(--gold-light);
}
.nxp-launch-eta span {
	font-size: 0.42em;
	letter-spacing: 0.3em;
	vertical-align: 0.35em;
	margin-right: 0.3em;
	color: var(--text-dim);
}
[data-theme="light"] .nxp-launch-eta { color: #7a5500; }
.nxp-launch-lead {
	max-width: 560px;
	margin: 12px auto 22px !important;
	font-size: 1.04em;
}
#nx-content a.nxp-cta-discord {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-height: 64px;
	padding: 14px 30px 14px 26px;
	border: 1px solid rgba(255,255,255,0.28);
	border-radius: 14px;
	background: linear-gradient(135deg, #7480ff 0%, #5865f2 48%, #4450e2 100%);
	color: #fff !important;
	text-align: left;
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(88,101,242,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
	animation: nxp-cta-breathe 2.6s ease-in-out infinite;
}
/* A ring that grows and fades around the button. It says "this is the action" without moving the button itself. */
#nx-content a.nxp-cta-discord::before {
	content: '';
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	pointer-events: none;
	animation: nxp-cta-ring 2.6s ease-out infinite;
}
.nxp-cta-logo { flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25)); }
.nxp-cta-text { font-size: 1.35em; font-weight: 600; line-height: 1.25; letter-spacing: 0.01em; }
.nxp-cta-arrow { flex-shrink: 0; margin-left: 4px; transition: transform .18s ease; }
#nx-content a.nxp-cta-discord:hover {
	transform: translateY(-2px) scale(1.03);
	filter: brightness(1.08);
	box-shadow: 0 16px 40px rgba(88,101,242,0.65), inset 0 1px 0 rgba(255,255,255,0.35);
}
#nx-content a.nxp-cta-discord:hover .nxp-cta-arrow { transform: translateX(5px); }
#nx-content a.nxp-cta-discord:active { transform: translateY(0) scale(0.99); }
#nx-content a.nxp-cta-discord:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
@keyframes nxp-cta-breathe {
	0%, 100% { box-shadow: 0 10px 30px rgba(88,101,242,0.5), inset 0 1px 0 rgba(255,255,255,0.3); }
	50%      { box-shadow: 0 10px 38px rgba(116,128,255,0.85), inset 0 1px 0 rgba(255,255,255,0.3); }
}
@keyframes nxp-cta-ring {
	0%   { box-shadow: 0 0 0 0 rgba(116,128,255,0.6); }
	70%  { box-shadow: 0 0 0 16px rgba(116,128,255,0); }
	100% { box-shadow: 0 0 0 16px rgba(116,128,255,0); }
}
@media (prefers-reduced-motion: reduce) {
	#nx-content a.nxp-cta-discord,
	#nx-content a.nxp-cta-discord::before { animation: none; }
	#nx-content a.nxp-cta-discord,
	.nxp-cta-arrow { transition: none; }
	#nx-content a.nxp-cta-discord:hover { transform: none; }
}

/* ── Intro (news) ────────────────────────────────────── */
.nxp-intro {
	padding: 28px 30px;
	border: 1px solid var(--nxp-line);
	border-radius: 8px;
	background:
		radial-gradient(ellipse 60% 120% at 100% 0%, rgba(201,162,39,0.14) 0%, transparent 65%),
		var(--nxp-fill);
}
.nxp-intro-title {
	font-family: 'Cinzel', serif;
	font-size: 1.9em;
	font-weight: 700;
	color: var(--gold-light);
	margin: 0 0 4px;
	line-height: 1.2;
}
[data-theme="light"] .nxp-intro-title { color: #7a5500; }
.nxp-intro-sub {
	font-size: 0.85em;
	color: var(--text-dim);
	margin-bottom: 16px !important;
}
.nxp-intro-text { max-width: 680px; }

/* Intro + "At a glance" panel. Stacked by default, side by side once the
   content area has room for both (sidebar and paddings take about 320px). */
.nxp-welcome { display: grid; gap: 14px; }
.nxp-welcome > * { min-width: 0; }
@media (min-width: 1600px) {
	.nxp-welcome { grid-template-columns: minmax(0, min(740px, 50%)) minmax(0, 1fr); }
	/* The taller card sets the row height: keep the intro buttons at the bottom. */
	.nxp-welcome .nxp-intro { display: flex; flex-direction: column; }
	.nxp-welcome .nxp-btns { margin-top: auto; }
}
.nxp-eta {
	display: inline-block;
	margin: 6px 0 18px;
	padding: 4px 12px;
	border-left: 3px solid var(--gold);
	background: rgba(201,162,39,0.08);
	font-size: 0.9em;
}

/* ── Buttons ─────────────────────────────────────────── */
.nxp-btns { display: flex; flex-wrap: wrap; gap: 8px; }
#nx-content a.nxp-btn {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.9em;
	border: 1px solid var(--gold);
	color: var(--gold-light) !important;
	transition: background .15s ease;
}
#nx-content a.nxp-btn:hover { background: rgba(201,162,39,0.14); }
#nx-content a.nxp-btn-primary {
	background: var(--gold);
	color: #1a1000 !important;
}
#nx-content a.nxp-btn-primary:hover { background: var(--gold-light); }
[data-theme="light"] #nx-content a.nxp-btn { color: #6a4a00 !important; }
#nx-content a.nxp-btn-download {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	border-color: var(--gold-light);
	background: linear-gradient(180deg, rgba(232,200,74,0.28) 0%, rgba(201,162,39,0.12) 100%);
	color: #f7e08a !important;
	box-shadow: 0 0 0 1px rgba(232,200,74,0.15), 0 2px 10px rgba(201,162,39,0.2);
}
#nx-content a.nxp-btn-download:hover {
	background: linear-gradient(180deg, rgba(232,200,74,0.42) 0%, rgba(201,162,39,0.2) 100%);
	box-shadow: 0 0 0 1px rgba(232,200,74,0.3), 0 4px 16px rgba(201,162,39,0.3);
}
#nx-content a.nxp-btn-download svg { transition: transform .15s ease; }
#nx-content a.nxp-btn-download:hover svg { transform: translateY(1px); }
[data-theme="light"] #nx-content a.nxp-btn-download {
	border-color: #b8880f;
	background: linear-gradient(180deg, #fff3c4 0%, #f5dc86 100%);
	color: #5a3e00 !important;
}
[data-theme="light"] #nx-content a.nxp-btn-download:hover { background: linear-gradient(180deg, #ffeeb0 0%, #efcf66 100%); }
#nx-content a.nxp-btn-discord {
	background: rgba(88,101,242,0.22);
	border-color: rgba(88,101,242,0.75);
	color: #dfe2ff !important;
}
#nx-content a.nxp-btn-discord:hover { background: rgba(88,101,242,0.4); }
[data-theme="light"] #nx-content a.nxp-btn-discord {
	background: rgba(88,101,242,0.14);
	border-color: #5865f2;
	color: #3b45b8 !important;
}
[data-theme="light"] #nx-content a.nxp-btn-discord:hover { background: rgba(88,101,242,0.26); }
[data-theme="light"] #nx-content a.nxp-btn-primary { background: #c9a227; color: #1a1000 !important; }

/* ── Quick links (news) ──────────────────────────────── */
.nxp-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 8px;
	margin: 14px 0 0;
}
#nx-content a.nxp-qlink {
	position: relative;
	display: block;
	padding: 11px 34px 11px 14px;
	border: 1px solid var(--gold-dark);
	border-radius: 5px;
	background: linear-gradient(180deg, rgba(201,162,39,0.12) 0%, rgba(201,162,39,0.04) 100%);
	box-shadow: 0 2px 0 rgba(0,0,0,0.25);
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, transform .15s ease, box-shadow .15s ease;
}
#nx-content a.nxp-qlink::after {
	content: '›';
	position: absolute;
	right: 14px; top: 50%;
	transform: translateY(-52%);
	font-size: 1.6em;
	line-height: 1;
	color: var(--gold);
	transition: transform .15s ease;
}
#nx-content a.nxp-qlink:hover {
	border-color: var(--gold);
	background: linear-gradient(180deg, rgba(201,162,39,0.22) 0%, rgba(201,162,39,0.08) 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(201,162,39,0.18);
}
#nx-content a.nxp-qlink:hover::after { transform: translate(3px, -52%); }
#nx-content a.nxp-qlink:active { transform: translateY(0); box-shadow: 0 1px 0 rgba(0,0,0,0.25); }
[data-theme="light"] #nx-content a.nxp-qlink {
	border-color: #c9a227;
	background: linear-gradient(180deg, #fff8e0 0%, #fbefc8 100%);
	box-shadow: 0 2px 0 rgba(154,114,13,0.18);
}
[data-theme="light"] #nx-content a.nxp-qlink:hover { background: linear-gradient(180deg, #fff3cc 0%, #f6e3a8 100%); }
.nxp-qlink strong { display: block; font-size: 0.95em; }
.nxp-qlink span { display: block; font-size: 0.78em; color: var(--text-dim); }

/* ── News list ───────────────────────────────────────── */
.nxp-news-item {
	padding: 14px 0;
	border-bottom: 1px solid var(--nxp-soft);
}
.nxp-news-item:last-child { border-bottom: 0; }
.nxp-news-title { font-weight: 700; font-size: 1.05em; color: var(--gold-light); }
[data-theme="light"] .nxp-news-title { color: #6a4a00; }
.nxp-news-meta { font-size: 0.78em; color: var(--text-dim); margin-bottom: 8px; }
.nxp-pinned {
	padding: 14px 16px;
	border: 0;
	border-left: 3px solid var(--gold);
	background: rgba(201,162,39,0.08);
	border-radius: 0 4px 4px 0;
	margin-bottom: 4px;
}
.nxp-pinned .nxp-news-title { margin-bottom: 6px; }
.nxp-empty { color: var(--text-dim); font-size: 0.9em; padding: 10px 0; }

/* ── Server info: banner ─────────────────────────────── */
.nxp-banner {
	position: relative;
	border: 1px solid var(--gold-dark);
	border-radius: 6px;
	padding: 6px;
	background:
		radial-gradient(ellipse 55% 140% at 50% -20%, rgba(232,200,74,0.22) 0%, transparent 60%),
		linear-gradient(180deg, #1d160a 0%, #110d06 100%);
	box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
[data-theme="light"] .nxp-banner {
	border-color: #c9a227;
	background:
		radial-gradient(ellipse 55% 140% at 50% -20%, rgba(232,200,74,0.35) 0%, transparent 60%),
		linear-gradient(180deg, #fffaf0 0%, #fbefd0 100%);
	box-shadow: 0 6px 22px rgba(154,114,13,0.14);
}
.nxp-banner-top {
	text-align: center;
	padding: 26px 20px 20px;
	border: 1px solid rgba(201,162,39,0.25);
	border-bottom: 0;
	border-radius: 3px 3px 0 0;
}
.nxp-banner-label {
	font-size: 0.72em;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--text-dim);
}
.nxp-banner-title {
	font-family: 'Cinzel', serif;
	font-size: 2.3em;
	font-weight: 700;
	line-height: 1.15;
	margin: 6px 0 4px;
	background: linear-gradient(180deg, #f7e08a 0%, #d4ac2c 55%, #a8841a 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: none;
}
[data-theme="light"] .nxp-banner-title {
	background: linear-gradient(180deg, #b8880f 0%, #8a6308 100%);
	-webkit-background-clip: text;
	background-clip: text;
}
.nxp-banner-sub { font-size: 0.9em; color: var(--text); }
.nxp-banner-sub::before, .nxp-banner-sub::after {
	content: '';
	display: inline-block;
	width: 34px; height: 1px;
	margin: 0 12px;
	vertical-align: middle;
	background: linear-gradient(90deg, transparent, var(--gold));
}
.nxp-banner-sub::after { background: linear-gradient(90deg, var(--gold), transparent); }

.nxp-summary {
	display: grid;
	grid-template-columns: minmax(210px, 1.55fr) repeat(4, minmax(92px, 1fr));
	border: 1px solid rgba(201,162,39,0.25);
	border-radius: 0 0 3px 3px;
	background: rgba(0,0,0,0.25);
}
[data-theme="light"] .nxp-summary { background: rgba(255,255,255,0.55); }
.nxp-summary > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	padding: 14px 8px 12px;
	border-right: 1px solid rgba(201,162,39,0.15);
}
.nxp-summary > div:last-child { border-right: 0; }
.nxp-summary b {
	display: block;
	font-family: 'Cinzel', serif;
	font-size: 1.6em;
	color: var(--gold-light);
	line-height: 1.1;
}
[data-theme="light"] .nxp-summary b { color: #7a5500; }
.nxp-summary > div > span {
	font-size: 0.7em;
	color: var(--text-dim);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.nxp-rate-bonuses {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	margin-top: 8px;
}
.nxp-rate-bonus {
	display: inline-flex;
	align-items: baseline;
	gap: 3px;
	padding: 3px 6px;
	border: 1px solid rgba(201,162,39,0.28);
	border-radius: 999px;
	background: rgba(201,162,39,0.08);
	color: var(--text-dim) !important;
	font-size: 0.64em;
	line-height: 1.25;
	text-decoration: none !important;
	white-space: nowrap;
}
.nxp-rate-bonus strong {
	color: var(--gold-light);
	font-size: 1.08em;
}
.nxp-rate-bonus:hover {
	border-color: rgba(232,200,74,0.6);
	background: rgba(201,162,39,0.16);
}
[data-theme="light"] .nxp-rate-bonus {
	border-color: rgba(138,99,8,0.28);
	background: rgba(201,162,39,0.12);
}
[data-theme="light"] .nxp-rate-bonus strong { color: #7a5500; }
.nxp-intro-line {
	text-align: center;
	font-size: 0.85em;
	color: var(--text-dim);
	margin: 10px 0 0 !important;
}

/* ── At a glance (news): key points from Server Info ─── */
.nxp-glance {
	display: flex;
	flex-direction: column;
	container-type: inline-size;
}
/* The layout follows the panel's own width, not the viewport: the panel is
   narrow on phones and beside the intro, wide when stacked on a laptop.
   Narrow: EXP on its own row, rates and facts two per row. */
.nxp-glance .nxp-summary {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border: 0;
	border-bottom: 1px solid var(--nxp-line);
	border-radius: 0;
	background: none;
}
.nxp-glance .nxp-summary > .nxp-summary-exp {
	grid-column: 1 / -1;
	border-right: 0;
	border-bottom: 1px solid rgba(201,162,39,0.15);
}
.nxp-facts {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 -1px 0 0; /* the last column's right border is clipped by the panel */
	font-size: 0.88em;
}
.nxp-facts > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 8px 14px;
	border-right: 1px solid var(--nxp-soft);
	border-bottom: 1px solid var(--nxp-soft);
}
.nxp-facts dt { font-size: 0.86em; color: var(--text-dim); }
.nxp-facts dd { margin: 2px 0 0; color: var(--text); }
/* Sixteen cells two per row would be a full phone screen: keep the first eight there. */
.nxp-facts > div:nth-child(n+9) { display: none; }
/* Wide: rates on one row as on Server Info, facts four per row. */
@container (min-width: 600px) {
	.nxp-facts > div:nth-child(n+9) { display: flex; }
	.nxp-glance .nxp-summary { grid-template-columns: minmax(210px, 1.55fr) repeat(4, minmax(92px, 1fr)); }
	.nxp-glance .nxp-summary > .nxp-summary-exp {
		grid-column: auto;
		border-right: 1px solid rgba(201,162,39,0.15);
		border-bottom: 0;
	}
	.nxp-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.nxp-glance-more {
	display: block;
	padding: 9px 16px;
	font-size: 0.85em;
	text-align: right;
}
.nxp-glance-more::after { content: ' \203A'; }
.nxp-glance-more:hover { background: rgba(201,162,39,0.06); }

/* ── Server info: section headings ───────────────────── */
.nxp-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 34px 0 14px;
}
.nxp-head span {
	font-family: 'Cinzel', serif;
	font-weight: 700;
	font-size: 1.2em;
	letter-spacing: 0.04em;
	color: var(--gold-light);
	white-space: nowrap;
}
[data-theme="light"] .nxp-head span { color: #7a5500; }
.nxp-head::before {
	content: '';
	width: 8px; height: 8px;
	transform: rotate(45deg);
	background: var(--gold);
	flex-shrink: 0;
}
.nxp-head::after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, var(--gold-dark), transparent);
}

/* ── Server info: panels & tables ────────────────────── */
.nxp-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 16px;
	align-items: start;
}
.nxp-panel {
	border: 1px solid var(--nxp-line);
	border-radius: 6px;
	overflow: hidden;
	background: var(--nxp-fill);
}
.nxp-panel-pad { padding: 16px 18px 10px; }
.nxp-panel .nxp-list {
	columns: 1;
	margin: 0;
	padding: 12px 16px 4px;
}
.nxp-panel-head {
	padding: 9px 16px;
	font-size: 0.75em;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
	background: linear-gradient(90deg, rgba(201,162,39,0.16) 0%, rgba(201,162,39,0.03) 100%);
	border-bottom: 1px solid var(--nxp-line);
}
[data-theme="light"] .nxp-panel-head { color: #7a5500; }
.nxp-panel-head a:hover { text-decoration: underline; }
.nxp-kv { width: 100%; border-collapse: collapse; font-size: 0.88em; }
.nxp-kv th, .nxp-kv td {
	padding: 8px 16px;
	border-bottom: 1px solid var(--nxp-soft);
	vertical-align: middle;
}
.nxp-kv tr:last-child th, .nxp-kv tr:last-child td { border-bottom: 0; }
.nxp-kv tr:nth-child(even) { background: rgba(255,255,255,0.015); }
[data-theme="light"] .nxp-kv tr:nth-child(even) { background: rgba(201,162,39,0.04); }
.nxp-kv tr:hover { background: rgba(201,162,39,0.06); }
.nxp-kv th { text-align: left; font-weight: 400; color: var(--text-dim); }
.nxp-kv td { text-align: right; color: var(--text); }

.nxp-tag {
	display: inline-block;
	padding: 0 8px;
	border-radius: 3px;
	font-size: 0.82em;
	font-weight: 600;
	line-height: 1.7;
	border: 1px solid currentColor;
}
.nxp-y { color: #6fcf7f; background: rgba(111,207,127,0.08); }
.nxp-n { color: #e07a6a; background: rgba(224,122,106,0.08); }
[data-theme="light"] .nxp-y { color: #2e8b42; }
[data-theme="light"] .nxp-n { color: #b5452f; }
.nxp-dim { color: var(--text-dim); font-size: 0.9em; margin-right: 4px; }

/* ── Server info: feature list ───────────────────────── */
.nxp-list {
	columns: 2 280px;
	column-gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9em;
}
.nxp-list li {
	position: relative;
	padding: 0 0 8px 18px;
	break-inside: avoid;
}
.nxp-list li::before {
	content: '';
	position: absolute;
	left: 2px; top: 0.6em;
	width: 5px; height: 5px;
	transform: rotate(45deg);
	background: var(--gold);
}
.nxp-more { font-size: 0.85em; margin-top: 10px !important; }
.nxp-small { font-size: 0.85em; color: var(--text-dim); }

@media (max-width: 720px) {
	.nxp-banner-title { font-size: 1.8em; }
	.nxp-banner-sub::before, .nxp-banner-sub::after { display: none; }
	.nxp-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nxp-summary > .nxp-summary-exp { grid-column: 1 / -1; }
	.nxp-intro { padding: 20px 18px; }
	.nxp-intro-title { font-size: 1.5em; }
	.nxp-launch { padding: 26px 16px 24px; }
	.nxp-launch-eta { font-size: 2.3em; }
	#nx-content a.nxp-cta-discord { display: flex; width: 100%; padding: 14px 16px; gap: 12px; }
}

/* ── WoE information ─────────────────────────────────── */
.nxp-woe .nxp-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nxp-woe .nxp-summary > div { min-width: 0; }
.nxp-woe .nxp-cols {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}
.nxp-woe .nxp-cols > * { min-width: 0; }
/* One panel keeps the same width as a panel in a pair, instead of stretching. */
@media (min-width: 721px) {
	.nxp-woe .nxp-cols-one { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nxp-woe .nxp-cols-one > :only-child { grid-column: 1; }
}
.nxp-woe .nxp-kv { table-layout: fixed; }
.nxp-woe .nxp-kv th { width: 46%; }
.nxp-woe .nxp-kv th,
.nxp-woe .nxp-kv td { white-space: normal; overflow-wrap: break-word; }
.nxp-woe .nxp-week-name {
	display: block;
	padding: 18px 16px 4px;
	text-align: center;
	font-family: 'Cinzel', serif;
	font-size: 1.35em;
	font-weight: 700;
	line-height: 1.25;
	color: var(--gold-light);
}
[data-theme="light"] .nxp-woe .nxp-week-name { color: #7a5500; }
.nxp-woe .nxp-week-meta {
	display: block;
	padding: 0 16px 16px;
	text-align: center;
	font-size: 0.82em;
	line-height: 1.45;
	color: var(--text-dim);
}
.nxp-woe .nxp-panel-note {
	display: block;
	margin: 0;
	padding: 10px 16px 8px;
	border-bottom: 1px solid var(--nxp-soft);
	font-size: 0.78em;
	color: var(--text-dim);
}
.nxp-woe .nxp-kv td { font-variant-numeric: tabular-nums; }
.nxp-woe .nxp-chance {
	color: var(--gold-light);
	font-weight: 600;
}
[data-theme="light"] .nxp-woe .nxp-chance { color: #7a5500; }
.nxp-woe .nxp-links { margin-top: 28px; }
@media (max-width: 720px) {
	.nxp-woe .nxp-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nxp-woe .nxp-summary b { font-size: 1.25em; }
	.nxp-woe .nxp-summary > div { padding: 12px 4px 10px; }
	.nxp-woe .nxp-summary > div:nth-child(2n) { border-right: 0; }
	.nxp-woe .nxp-summary > div:nth-child(-n+2) {
		border-bottom: 1px solid rgba(201,162,39,0.15);
	}
	/* Flex rows, not a table: a table's min-content width was wider than the card
	   and the right-hand values were clipped. Both cells can shrink and wrap. */
	.nxp-woe .nxp-kv,
	.nxp-woe .nxp-kv tbody { display: block; width: 100%; }
	.nxp-woe .nxp-kv tr {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		gap: 10px 14px;
		padding: 7px 14px;
		border-bottom: 1px solid var(--nxp-soft);
	}
	.nxp-woe .nxp-kv th,
	.nxp-woe .nxp-kv td {
		display: block;
		width: auto;
		min-width: 0;
		padding: 0;
		border: 0;
		overflow-wrap: break-word;
	}
	.nxp-woe .nxp-kv th { flex: 1 1 42%; text-align: left; }
	.nxp-woe .nxp-kv td { flex: 1 1 42%; text-align: right; }
	.nxp-woe .nxp-kv tr:last-child { border-bottom: 0; }
}

/* WoE: next-session countdown in the banner, underlined links in "Chest drops". */
.nxp-woe .nxp-woe-countdown b { font-size: 1.15em; font-variant-numeric: tabular-nums; }
.nxp-woe .nxp-woe-countdown.is-live b { color: #e8735f; }
[data-theme="light"] .nxp-woe .nxp-woe-countdown.is-live b { color: #b23a26; }
.nxp-woe .nxp-woe-drops a { text-decoration: underline; text-underline-offset: 2px; }

/* WoE: castle economy gauge (Rewards). */
.nxp-woe .nxp-eco-body { padding: 14px 16px 12px; }
.nxp-woe .nxp-eco-figures { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 14px; text-align: center; }
.nxp-woe .nxp-eco-figures > div { display: flex; flex-direction: column; }
.nxp-woe .nxp-eco-figures > div + div { border-left: 1px solid var(--nxp-soft); }
.nxp-woe .nxp-eco-figures b { font-family: 'Cinzel', serif; font-size: 1.6em; line-height: 1.1; color: var(--gold-light); }
[data-theme="light"] .nxp-woe .nxp-eco-figures b { color: #7a5500; }
.nxp-woe .nxp-eco-figures span { font-size: 0.7em; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.nxp-woe .nxp-eco-bar { position: relative; height: 14px; border: 1px solid var(--nxp-line); border-radius: 7px; background: rgba(0,0,0,0.25); overflow: hidden; }
[data-theme="light"] .nxp-woe .nxp-eco-bar { background: rgba(201,162,39,0.08); }
.nxp-woe .nxp-eco-fill { height: 100%; background: linear-gradient(90deg, #9a720d, #c9a227 60%, #f0d77a); transition: width 0.6s ease; }
.nxp-woe .nxp-eco-bar i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--nxp-line); }
.nxp-woe .nxp-eco-scale { position: relative; height: 34px; margin-top: 6px; font-size: 0.75em; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.nxp-woe .nxp-eco-scale span { position: absolute; top: 0; transform: translateX(-50%); text-align: center; line-height: 1.25; white-space: nowrap; }
.nxp-woe .nxp-eco-scale span:first-child { transform: none; text-align: left; }
.nxp-woe .nxp-eco-scale span:last-child { transform: translateX(-100%); text-align: right; }
.nxp-woe .nxp-eco-scale small { display: block; font-size: 0.9em; opacity: 0.8; }
.nxp-woe .nxp-eco-scale .is-reached { color: var(--gold-light); font-weight: 600; }
[data-theme="light"] .nxp-woe .nxp-eco-scale .is-reached { color: #7a5500; }
.nxp-woe .nxp-eco-note { margin: 8px 0 0; font-size: 0.78em; color: var(--text-dim); }

/* WoE: draggable button on the economy gauge. */
.nxp-woe .nxp-eco .nxp-panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.nxp-woe .nxp-eco-track { position: relative; padding-top: 18px; }
.nxp-woe .nxp-eco-fill { transition: none; }
.nxp-woe .nxp-eco-now { position: absolute; top: 0; bottom: 0; width: 0; z-index: 1; pointer-events: none; }
.nxp-woe .nxp-eco-now::after { content: ''; position: absolute; left: -1px; top: 13px; bottom: -3px; width: 2px; border-radius: 1px; background: #e8735f; }
.nxp-woe .nxp-eco-now span { position: absolute; top: 0; left: 0; transform: translateX(-50%); font-size: 0.65em; font-weight: 700; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; color: #e8735f; }
[data-theme="light"] .nxp-woe .nxp-eco-now::after { background: #b23a26; }
[data-theme="light"] .nxp-woe .nxp-eco-now span { color: #b23a26; }
.nxp-woe .nxp-eco-range { position: absolute; z-index: 2; left: -10px; top: 14px; width: calc(100% + 20px); height: 24px; margin: 0; padding: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.nxp-woe .nxp-eco-range:focus { outline: none; }
.nxp-woe .nxp-eco-range::-webkit-slider-runnable-track { height: 24px; background: transparent; border: 0; }
.nxp-woe .nxp-eco-range::-moz-range-track { height: 24px; background: transparent; border: 0; }
.nxp-woe .nxp-eco-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; border: 2px solid #fff6d6; background: radial-gradient(circle at 35% 35%, #f0d77a, #c9a227 55%, #9a720d); box-shadow: 0 1px 4px rgba(0,0,0,0.45); cursor: grab; }
.nxp-woe .nxp-eco-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff6d6; background: radial-gradient(circle at 35% 35%, #f0d77a, #c9a227 55%, #9a720d); box-shadow: 0 1px 4px rgba(0,0,0,0.45); cursor: grab; }
.nxp-woe .nxp-eco-range:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.12); }
.nxp-woe .nxp-eco-range:active::-moz-range-thumb { cursor: grabbing; }
.nxp-woe .nxp-eco-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(201,162,39,0.45), 0 1px 4px rgba(0,0,0,0.45); }
.nxp-woe .nxp-eco-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px rgba(201,162,39,0.45), 0 1px 4px rgba(0,0,0,0.45); }
.nxp-woe .nxp-eco-reset { margin-left: 6px; text-decoration: underline; white-space: nowrap; }
.nxp-woe .nxp-eco-reset[hidden] { display: none; }

/* WoE: castle and map links under "Announced" (underlined like the chest-drop links). */
.nxp-woe .nxp-woe-announced a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.nxp-woe .nxp-woe-announced a:hover { opacity: 0.8; }
/* NexusRoCalc shares the existing class, stat and skill build. */
.nc-calculator{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:14px;margin-top:6px;padding:10px 10px 8px;border-top:1px solid var(--nxp-line);font-size:12px}
.nxp-skillsim .nc-calculator h3{margin:0 0 6px;font-size:13px;color:var(--gold,#c9a227)}
.nc-calculator .ss-tree-note{font-size:11px;margin-bottom:4px}
.nc-equipment,.nc-results{min-width:0}
.nc-slot{padding:5px 0;border-bottom:1px solid var(--nxp-line)}
.nc-slot>label{display:grid;grid-template-columns:90px minmax(65px,.7fr) minmax(0,1.5fr);gap:6px;align-items:center}
.nc-calculator input,.nc-calculator select{width:100%;min-width:0;background:var(--ss-card);color:inherit;border:1px solid var(--nxp-line);border-radius:4px;padding:4px 5px;font:inherit}
.nc-item-settings{display:flex;gap:6px;flex-wrap:wrap;margin-top:5px}.nc-item-settings label{flex:1;min-width:110px;font-size:11px}.nc-item-settings label:first-child{flex:0 0 50px;min-width:50px}
.nc-slot details{font-size:11px;margin-top:4px}.nc-slot details p{margin:3px 0}.nc-slot summary{cursor:pointer;color:var(--gold,#c9a227)}.nc-slot pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:6px;background:var(--nxp-fill);color:inherit}
.nc-total-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.nc-total-stats>div{display:flex;flex-direction:column;background:var(--nxp-fill);padding:5px 6px;border-radius:4px}.nc-total-stats span,.nc-total-stats small{color:var(--text-dim,#999);font-size:11px}.nc-total-stats strong{font-size:14px;color:inherit;white-space:nowrap}
.nc-total-grid{display:grid;grid-template-columns:1fr auto 1fr auto;margin:8px 0;gap:0 6px}.nc-total-grid dt,.nc-total-grid dd{margin:0;padding:4px 0;border-bottom:1px solid var(--nxp-line)}.nc-total-grid dd{text-align:right;color:inherit;font-variant-numeric:tabular-nums;white-space:nowrap}
.nxp-skillsim #nc-status{font-size:11px;color:var(--text-dim,#999);margin:0 0 8px}
#nc-buffs{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px}#nc-buffs h3{grid-column:1/-1}#nc-buffs label{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:4px;align-items:center;font-size:11px}.nc-results{align-self:start;position:sticky;top:10px}
@media(max-width:900px){.nc-calculator{grid-template-columns:1fr}.nc-results{position:static}.nc-slot>label{grid-template-columns:100px minmax(80px,.7fr) minmax(0,1.5fr)}}
@media(max-width:540px){.nc-slot>label{grid-template-columns:76px 60px minmax(0,1fr);gap:5px}.nc-calculator{gap:10px;padding:8px}.nc-item-settings label{min-width:100px}}

/* Advanced options stay folded to preserve the compact build view. */
.nc-wide{grid-column:1/-1;min-width:0;border-top:1px solid var(--nxp-line);padding-top:6px}
.nc-calculator summary{cursor:pointer;color:var(--gold,#c9a227);padding:5px 0;font-size:12px}
#nc-buffs{display:block}
.nc-effect-group{border-bottom:1px solid var(--nxp-line);margin-bottom:3px}
.nc-effect-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;padding:4px 0 6px}
.nc-effect-grid>details,.nc-effect-grid>.nc-pet-label{grid-column:1/-1}
#nc-buffs .nc-foods{grid-template-columns:1fr}
#nc-buffs .nc-foods label,#nc-buffs .nc-pet-label{grid-template-columns:40px minmax(0,1fr)}
#nc-buffs input[type="checkbox"]{min-height:0;width:16px;justify-self:end}
.nc-combat-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 10px;padding:8px 0}
.nc-combat-controls label,#nc-opponent label{display:flex;flex-direction:column;gap:3px;min-width:0}
.nc-combat-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.nc-target-info{padding:6px 0;color:var(--gold,#c9a227)}
#nc-opponent{margin:6px 0}#nc-opponent button{margin:5px 0}
.nc-skill-table{width:100%;border-collapse:collapse;font-size:11px}
.nc-skill-table td,.nc-skill-table th{padding:5px 4px;border-bottom:1px solid var(--nxp-line);text-align:left}
.nc-skill-table td:not(:first-child),.nc-skill-table th:not(:first-child){white-space:nowrap}
.nc-timing>div,#nc-resistances{overflow-x:auto;padding-bottom:5px}
#nc-resistances .nc-skill-table{min-width:0;table-layout:fixed}
#nc-resistances .nc-skill-table th{white-space:normal;overflow-wrap:anywhere}
#nc-resistance-controls input:disabled{opacity:.6}
.nc-combat .nc-effect-grid label{display:grid;grid-template-columns:minmax(0,1fr) 58px;align-items:center;gap:5px}
@media(max-width:600px){.nc-combat-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.nc-combat-columns{grid-template-columns:1fr}.nc-skill-table{min-width:370px}}
