:root { color-scheme: dark; font-family: system-ui, sans-serif; color: #fff; background: #090909; --red: #ff0000; --muted: #bdbdbd; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { border-bottom: 1px solid #333; background: #121212; }
header a, main { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: .8rem; min-height: 4rem; color: white; text-decoration: none; font-weight: 750; }
.brand img { width: 2.6rem; height: 2.6rem; object-fit: contain; }
main { padding-block: 1rem 3rem; }
h1, h2, p { margin: 0 0 .65rem; }
h1 { font-size: clamp(2rem, 8vw, 3.2rem); line-height: 1.1; }
h2 { font-size: 1.2rem; }
p { color: var(--muted); line-height: 1.45; }
.panel { background: #151515; border: 1px solid #363636; border-radius: 1rem; padding: clamp(.85rem, 3vw, 1.4rem); min-width: 0; }
.intro { margin: 2rem auto 0; max-width: 36rem; border-top: 3px solid var(--red); }
.room-header, .section-head, .controls { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.room-header { justify-content: space-between; margin-bottom: 1rem; }
.section-head { justify-content: space-between; }
.layout, .column { display: grid; gap: 1rem; align-content: start; }
@media (min-width: 760px) { .layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } }
button, input, select, summary { font: inherit; min-height: 44px; }
button, input, select { border: 1px solid #505050; border-radius: .6rem; padding: .55rem .75rem; }
button, select, summary { cursor: pointer; }
button { color: white; background: #262626; font-weight: 650; }
button:hover:not(:disabled) { border-color: var(--red); }
button:disabled { opacity: .55; cursor: default; }
.primary { background: var(--red); color: #000; border-color: var(--red); }
label { display: block; font-size: .9rem; font-weight: 650; margin: .65rem 0 .3rem; }
input, select { width: 100%; background: #0d0d0d; color: #fff; }
:focus-visible { outline: 2px solid white; outline-offset: 3px; }
input[type="range"], progress { width: 100%; accent-color: var(--red); }
form button, #copy, #end, #more { margin-top: .75rem; }
#status:empty { display: none; }
#status { margin-block: .8rem; }
#role, #lock-state, #time, #results-count { color: var(--muted); font-size: .88rem; }
#results-count { margin-top: .6rem; }
#results, #queue { padding: 0; margin: 0; list-style: none; }
.row, .now { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.row { padding: .65rem 0; border-top: 1px solid #393939; }
.now img { width: 4rem; height: 4rem; }
.row img { width: 2.75rem; height: 2.75rem; }
.row img, .now img { object-fit: contain; border-radius: .35rem; flex: none; }
.copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.copy small { display: block; color: var(--muted); margin-top: .15rem; }
.queue-tools { padding: 0 0 .45rem; }
#invite { margin-top: .75rem; }
summary { padding-top: .65rem; }
#qr { display: block; max-width: 100%; height: auto; border-radius: .25rem; }
#new-party { color: white; }
