/* Karaoke sign-up and host pages. Loaded after styles.css. */
.kq-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.kq-status { border-left: 4px solid var(--gold); background: #fbf6e6; border-radius: 6px; padding: 16px 18px; margin-bottom: 18px; }
.kq-status b { color: var(--navy); font-family: var(--display); font-size: 1.5rem; display: block; }
.kq-status p { margin: 4px 0 0; color: var(--slate); }
.kq-status .btn { margin-top: 10px; }
.kq-list { list-style: none; margin: 0; padding: 0; }
.kq-list li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.kq-list li:first-child { border-top: 0; }
.kq-list .n { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--gold); text-align: center; }
.kq-list .who { font-weight: 700; color: var(--navy); }
.kq-list .what { color: var(--slate); font-size: .95rem; }
.kq-list li.now { background: var(--navy); color: var(--white); border-radius: 8px; padding: 14px; margin-bottom: 8px; border-top: 0; }
.kq-list li.now .who, .kq-list li.now .n { color: var(--gold-pale); }
.kq-list li.now .what { color: #d0d8e7; }
.kq-list li.mine .who::after { content: " (you)"; color: var(--gold); font-weight: 600; }
.kq-empty { color: var(--slate); padding: 16px 0; }
.kq-live { font-size: .85rem; color: var(--slate); }
.kq-live::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3a9d5d; margin-right: 6px; vertical-align: middle; }

/* host */
.kq-host .kq-list li { grid-template-columns: 2.2rem 1fr auto; }
.kq-host .acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: end; }
.kq-host .acts button, .kq-host .acts a { font: 600 .85rem var(--body); padding: 7px 11px; border-radius: 4px; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; text-decoration: none; }
.kq-host .acts .play { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.kq-host .acts .done { background: var(--navy); border-color: var(--navy); color: var(--white); }
.kq-host .acts .danger { color: #8a2a1f; }
.kq-host .acts button:disabled { opacity: .5; cursor: default; }
.kq-host .kq-list li.now .acts button, .kq-host .kq-list li.now .acts a { border-color: rgba(255,255,255,.3); }
.kq-host .when { font-size: .8rem; color: var(--slate); }
.kq-host li.now .when { color: #b9c3d8; }
.kq-host details { margin-top: 24px; }
.kq-host summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.kq-host .history li { opacity: .75; }
.kq-host .history .what s { color: var(--slate); }
.kq-pin { max-width: 360px; }
.kq-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0; }
.kq-tools .spacer { flex: 1; }
@media (max-width: 620px) {
  .kq-host .kq-list li { grid-template-columns: 2.2rem 1fr; }
  .kq-host .acts { grid-column: 1 / -1; justify-content: start; }
}

/* the site .form grid rule beats the UA [hidden] rule */
#kq-signup [hidden], #kq-host [hidden] { display: none !important; }
.kq-live.off::before { background: #9aa3b5; }
