/* NuffleZone — Creador de equipos */
#nz-builder { --nzb-red: #c8102e; --nzb-blue: #0b2a5b; --nzb-line: #d9dde5; --nzb-soft: #f4f6fa; font-size: 1rem; }
#nz-builder h3 { margin: 1.6em 0 .6em; color: var(--nzb-blue); }
.nzb-modes { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.nzb-modes button { border: 2px solid var(--nzb-blue); background: #fff; color: var(--nzb-blue); padding: .5rem 1rem; border-radius: 999px; font-weight: 700; cursor: pointer; }
.nzb-modes button.is-on { background: var(--nzb-blue); color: #fff; }
.nzb-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-end; margin: .6rem 0; }
.nzb-field { display: flex; flex-direction: column; gap: .25rem; min-width: 12rem; flex: 1 1 12rem; }
.nzb-field label { font-weight: 700; font-size: .85rem; color: var(--nzb-blue); }
#nz-builder select, #nz-builder input[type=text], #nz-builder input[type=number] { padding: .5rem .6rem; border: 1px solid var(--nzb-line); border-radius: 6px; font: inherit; background: #fff; max-width: 100%; }
.nzb-note { font-size: .9rem; color: #555; margin: .4rem 0; }
.nzb-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .5rem; margin: 1rem 0; position: sticky; top: 0; z-index: 5; background: #fff; padding: .4rem 0; }
.nzb-cell { background: var(--nzb-soft); border-left: 4px solid var(--nzb-blue); padding: .5rem .7rem; border-radius: 6px; }
.nzb-cell span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; color: #555; }
.nzb-cell strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.nzb-cell.is-bad { border-left-color: var(--nzb-red); background: #fff0f2; }
.nzb-cell.is-bad strong { color: var(--nzb-red); }
.nzb-scroll { overflow-x: auto; }
.nzb-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.nzb-table th { background: var(--nzb-blue); color: #fff; padding: .45rem; text-align: left; white-space: nowrap; }
.nzb-table td { border-bottom: 1px solid var(--nzb-line); padding: .4rem; vertical-align: middle; }
.nzb-table td:nth-child(n+3):nth-child(-n+8) { text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nzb-sk { font-size: .82rem; min-width: 12rem; }
.nzb-step { display: inline-flex; align-items: center; border: 1px solid var(--nzb-line); border-radius: 6px; overflow: hidden; }
.nzb-step button { width: 2rem; height: 2rem; border: 0; background: var(--nzb-soft); font-size: 1.1rem; cursor: pointer; color: var(--nzb-blue); }
.nzb-step button:disabled { opacity: .35; cursor: default; }
.nzb-step output { min-width: 1.8rem; text-align: center; font-weight: 700; }
.nzb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: .5rem 1.2rem; }
.nzb-line { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .3rem 0; border-bottom: 1px dashed var(--nzb-line); }
.nzb-players { padding-left: 1.4rem; }
.nzb-players li { padding: .35rem 0; border-bottom: 1px solid var(--nzb-line); display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.nzb-pn { font-weight: 700; min-width: 10rem; }
.nzb-cap { font-size: .85rem; }
.nzb-chip { background: var(--nzb-blue); color: #fff; border-radius: 999px; padding: .15rem .3rem .15rem .7rem; font-size: .82rem; display: inline-flex; align-items: center; gap: .3rem; }
.nzb-chip em { font-style: normal; opacity: .75; }
.nzb-chip button { border: 0; background: rgba(255,255,255,.2); color: #fff; border-radius: 50%; width: 1.3rem; height: 1.3rem; cursor: pointer; line-height: 1; }
.nzb-stars { list-style: none; padding: 0; }
.nzb-stars li { padding: .3rem 0; }
.nzb-btn { background: var(--nzb-red); color: #fff; border: 0; border-radius: 6px; padding: .55rem 1rem; font-weight: 700; cursor: pointer; }
.nzb-btn--ghost { background: #fff; color: var(--nzb-red); border: 2px solid var(--nzb-red); }
.nzb-stars button { background: none; border: 1px solid var(--nzb-red); color: var(--nzb-red); border-radius: 4px; cursor: pointer; font-size: .8rem; }
.nzb-check { margin: 1.4rem 0 1rem; padding: .8rem 1rem; border-radius: 8px; }
.nzb-check.is-ok { background: #eaf7ee; border-left: 5px solid #1d8a3a; }
.nzb-check.is-bad { background: #fff4f4; border-left: 5px solid var(--nzb-red); }
.nzb-check ul { margin: .4rem 0 0; }
.nzb-check li.w { color: #8a5a00; }
.nzb-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.nzb-sheet { display: none; }
@media print {
	html.nzb-printing body > *:not(.nzb-print-root) { display: none !important; }
	html:not(.nzb-printing) body * { visibility: hidden; }
	html:not(.nzb-printing) .nzb-sheet, html:not(.nzb-printing) .nzb-sheet * { visibility: visible; }
	.nzb-print-root { display: block !important; width: 100%; font-size: 10pt; color: #000; }
	html:not(.nzb-printing) .nzb-sheet { display: block; position: absolute; left: 0; top: 0; width: 100%; font-size: 10pt; color: #000; }
	.nzb-sheet h2 { margin: 0 0 .2em; }
	.nzb-sheet table { width: 100%; border-collapse: collapse; margin: .6em 0; }
	.nzb-sheet th, .nzb-sheet td { border: 1px solid #999; padding: 3px 5px; text-align: left; }
	.nzb-sheet tr.star td { background: #f2f2f2; }
	.nzb-sheet ul { columns: 2; padding-left: 1.2em; }
	.nzb-foot { font-size: 8pt; color: #555; }
}
