/* Gospel Trivia Night */
.tn { max-width: 72rem; margin: 0 auto; }
.tn [hidden] { display: none !important; }
.tn:fullscreen { background: var(--bg, #fffaf2); padding: 2rem; overflow: auto; max-width: none; }

.tn-setup { max-width: 40rem; margin: 0 auto; }
.tn-setup fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; }
.tn-setup legend { font-weight: 800; margin-bottom: .5rem; }
.tn-team { display: flex; gap: .5rem; margin-bottom: .5rem; }
.tn-team input {
    flex: 1; min-height: var(--tap); padding: 0 .75rem; font: inherit;
    border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink);
}
.tn-remove { width: var(--tap); border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-size: 1.4rem; cursor: pointer; color: var(--ink-soft); }
.tn-cat-list { display: grid; gap: .4rem; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }
.tn-check { display: flex; align-items: center; gap: .5rem; min-height: var(--tap); padding: 0 .75rem; border: 2px solid var(--line); border-radius: 10px; font-weight: 600; cursor: pointer; }
.tn-check input { width: 1.25rem; height: 1.25rem; accent-color: var(--accent); }

.tn-scores { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1rem; }
.tn-score {
    display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 0 .75rem;
    min-width: 9rem; padding: .5rem .9rem; background: var(--surface); border: 2px solid var(--line); border-radius: 12px;
}
.tn-score.is-lead { border-color: var(--accent); background: var(--accent-soft); }
.tn-score__name { font-weight: 700; }
.tn-score__pts { grid-row: span 2; font-size: 2rem; font-weight: 800; color: var(--accent); }
.tn-score__adj { display: flex; gap: .25rem; }
.tn-score__adj button { width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 800; color: var(--ink-soft); }

.tn-board { --cols: 6; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: .5rem; }
.tn-col { display: grid; gap: .5rem; grid-template-rows: minmax(3.5rem, auto) repeat(5, 1fr); }
.tn-cat {
    display: grid; place-items: center; text-align: center; padding: .4rem; border-radius: 10px;
    background: var(--ink); color: #fff; font-weight: 800; font-size: clamp(.7rem, 1.6vw, 1.05rem); line-height: 1.15;
}
.tn-tile {
    min-height: clamp(3rem, 9vw, 5.5rem); border-radius: 50% / 40%; border: 3px solid var(--accent);
    background: var(--surface); color: var(--accent); font: inherit; font-size: clamp(1.3rem, 4vw, 2.4rem); font-weight: 800; cursor: pointer;
}
.tn-tile:hover:not(:disabled) { background: var(--accent); color: #fff; }
.tn-tile:disabled { border-style: dashed; border-color: var(--line); background: transparent; cursor: default; }
.tn-tile.is-empty { border: 0; }

.tn-question { max-width: 52rem; margin: 0 auto; text-align: center; padding: 2rem 1rem; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.tn-q { font-size: clamp(1.5rem, 4.5vw, 2.6rem); line-height: 1.25; outline: none; margin-bottom: 1.25rem; }
.tn-a { font-size: clamp(1.4rem, 4vw, 2.2rem); font-weight: 800; color: var(--accent); margin: 0 0 .25rem; }
.tn-who { margin: 1.25rem 0 0; font-weight: 700; }
.tn-final-list { list-style: none; padding: 0; max-width: 24rem; margin: 0 auto; }
.tn-final-list li { display: flex; justify-content: space-between; padding: .6rem 1rem; border-bottom: 2px solid var(--line); font-size: 1.2rem; }
.tn-final-list li:first-child { font-weight: 800; color: var(--accent); }
