/* Estrazione Babbo Natale segreto: nomi, esclusioni, link per persona e scheda di chi apre il link */
.cq-tool .cq-grid .cq-bn-nomi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
.cq-bn-p { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cq-tool .cq-bn-p .cq-input { width: 100%; min-width: 0; }
.cq-tool .cq-bn-piu { margin: -4px 0 0; }
.cq-bn-add, .cq-bn-chip button { margin: 0; border: 0; background: none; color: var(--cq-primary); font: inherit; font-weight: 600; cursor: pointer; box-shadow: none; }
.cq-bn-add { min-height: 40px; padding: 0 2px; }
.cq-bn-box { margin-top: 14px; }
.cq-bn-escl { margin-top: 0; }
.cq-bn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cq-bn-chip { display: inline-flex; align-items: center; gap: 2px; min-height: 40px; padding: 0 4px 0 14px; border: 1px solid var(--cq-line-strong); border-radius: 999px; background: var(--cq-surface); color: var(--cq-text); font-weight: 600; font-size: .95rem; }
.cq-bn-chip.is-off { opacity: .55; text-decoration: line-through; }
.cq-bn-chip button { width: 34px; height: 36px; color: var(--cq-muted); }
.cq-bn-vuoto { color: var(--cq-muted); font-size: .95rem; }
.cq-bn-nuova-escl { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; margin-top: 12px; }
.cq-bn-nuova-escl span { color: var(--cq-muted); font-weight: 700; }
.cq-tool .cq-bn-nuova-escl .cq-select { width: 100%; min-width: 0; }
.cq-tool .cq-bn-nuova-escl .cq-btn { grid-column: 1 / -1; }
.cq-tool .cq-bn-box .cq-btn.cq-bn-estrai { width: 100%; margin-top: 14px; min-height: 52px; background: var(--cq-primary); border-color: var(--cq-primary); color: var(--cq-on-primary); font-size: 1.05rem; }
.cq-bn-msg { min-height: 1.2em; margin: 8px 0 0; color: var(--cq-down); font-size: .9rem; font-weight: 600; }
.cq-bn-links { margin-top: 14px; border: 1px solid var(--cq-line); border-radius: 14px; background: var(--cq-surface); overflow: hidden; }
.cq-bn-riga { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 8px 10px 8px 14px; border-top: 1px solid var(--cq-line); }
.cq-bn-riga:first-child { border-top: 0; }
.cq-bn-riga span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cq-text); font-weight: 600; }
.cq-tool a.cq-bn-wa { display: inline-flex; align-items: center; min-height: 42px; padding: 0 12px; border-radius: 10px; background: #1a8d4a; color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.cq-tool a.cq-bn-wa:hover { background: #157a3f; color: #fff; }
.cq-bn-copia { min-height: 42px; margin: 0; padding: 0 10px; border: 1px solid var(--cq-line-strong); border-radius: 10px; background: var(--cq-surface); color: var(--cq-primary); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; box-shadow: none; }
.cq-bn-card { max-width: 560px; margin: 16px auto 28px; padding: 28px 20px 22px; border-radius: 22px; background: #8b1a2b; color: #fff; text-align: center; box-shadow: 0 10px 30px rgba(139, 26, 43, .25); }
.cq-bn-card p { margin: 0; color: #fff; }
.cq-bn-ciao { font-size: 1.15rem; }
.cq-bn-quest { margin-top: 6px !important; font-size: 1.05rem; opacity: .9; }
.cq-bn-nome { margin: 10px 0 6px !important; font-size: clamp(2.2rem, 11vw, 3.4rem); font-weight: 800; line-height: 1.1; overflow-wrap: anywhere; }
.cq-bn-extra { font-size: 1rem; opacity: .9; }
.cq-bn-segreto { margin-top: 14px !important; font-size: .95rem; opacity: .8; }
.cq-bn-nuova { margin-top: 18px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 12px; background: transparent; color: #fff; font: inherit; font-weight: 600; cursor: pointer; box-shadow: none; }

