:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: #f2f3ef;
  background: #111312;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input, select { font: inherit; border-radius: 0; }
button { border: 1px solid #a9df71; background: #a9df71; color: #10140d; font-weight: 700; cursor: pointer; padding: 12px 17px; }
button:hover { background: #c1ef90; }
button:disabled { opacity: .5; cursor: wait; }
input, select { background: #151917; color: #f2f3ef; border: 1px solid #505850; padding: 12px 14px; min-width: 0; width: 100%; }
input:focus, select:focus, button:focus, summary:focus { outline: 2px solid #a9df71; outline-offset: 2px; }
input::placeholder { color: #7b847b; }
label { font-size: .8rem; font-weight: 650; letter-spacing: .04em; }
.site-header { min-height: 68px; padding: 0 clamp(20px, 4vw, 72px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #303731; }
.brand { font-size: .82rem; letter-spacing: .13em; font-weight: 800; }
.brand-mark { color: #a9df71; font-size: 1.3rem; margin-right: 8px; }
.header-note, .eyebrow { font-size: .72rem; letter-spacing: .13em; font-weight: 700; color: #a9df71; }
.header-note { color: #aeb7a9; }
main { max-width: 1600px; margin: 0 auto; padding: 32px clamp(20px, 4vw, 72px); }
.panel { border: 1px solid #303731; background: #191d1a; padding: 28px; }
.entry { max-width: 470px; margin: 8vh auto; padding: 38px; }
.entry h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.055em; margin: 18px 0 12px; }
.entry p { color: #aab4a7; margin: 0 0 30px; }
.entry form { display: grid; gap: 12px; }
.entry form button { margin-top: 8px; display: flex; justify-content: space-between; }
.code-input { text-transform: uppercase; letter-spacing: .2em; font-size: 1.4rem; font-weight: 700; }
.entry-host { border-top: 1px solid #303731; padding-top: 20px; margin-top: 32px; }
summary { cursor: pointer; color: #aab4a7; }
details form { margin-top: 20px; }
.host-topline { display: flex; justify-content: space-between; align-items: end; gap: 24px; border-bottom: 1px solid #303731; padding: 8px 0 26px; margin-bottom: 24px; }
.host-code { font-size: clamp(3.4rem, 9vw, 7.5rem); line-height: 1; letter-spacing: .12em; font-weight: 800; margin: 12px 0 0; font-variant-numeric: tabular-nums; }
.host-invite { display: flex; align-items: end; gap: 20px; flex-shrink: 0; }
.host-invite img { width: 160px; height: 160px; background: #f2f3ef; image-rendering: pixelated; }
.host-instruction { text-align: right; line-height: 1.6; font-size: .75rem; letter-spacing: .15em; font-weight: 750; color: #aeb7a9; }
.host-url { color: #f2f3ef; letter-spacing: 0; overflow-wrap: anywhere; }
.host-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .85fr); gap: 16px; align-items: stretch; min-height: 58vh; }
.host-player, .host-queue { min-width: 0; }
.host-player { display: flex; flex-direction: column; padding: clamp(26px, 4vw, 58px); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.heading-label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.section-heading h2 { margin: 0; }
.live-indicator { font-size: .72rem; letter-spacing: .12em; color: #a9df71; }
.host-player-content { margin: 32px 0; min-width: 0; }
.host-player-content img { width: min(100%, 440px); aspect-ratio: 1; object-fit: cover; display: block; margin: 28px auto 0; }
.host-player-content img[hidden] { display: none; }
.host-player h1 { font-size: clamp(2.3rem, 4.5vw, 5rem); line-height: 1.06; letter-spacing: -.05em; margin: 0 0 15px; overflow-wrap: anywhere; }
.host-player p { font-size: clamp(1.05rem, 1.8vw, 1.5rem); color: #aeb7a9; margin: 0; }
.connection { color: #e9b28e !important; font-size: .85rem !important; }
.host-queue { padding: 30px; overflow: hidden; }
.host-queue h2, .guest-columns h2 { font-size: 1.3rem; letter-spacing: -.025em; }
.queue-list { margin-top: 24px; }
.queue-row { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 15px 0; border-bottom: 1px solid #303731; align-items: start; }
.queue-number { color: #a9df71; font-weight: 750; font-size: .85rem; padding-top: 2px; }
.queue-copy { min-width: 0; }
.queue-copy strong, .queue-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue-copy strong { font-size: .95rem; }
.queue-copy small { color: #aab4a7; font-size: .78rem; margin-top: 5px; }
.queue-divider { font-size: .7rem; letter-spacing: .14em; color: #849084; font-weight: 750; margin-top: 32px; }
.host-settings { margin-top: 16px; padding: 20px 28px; }
.host-settings form { display: flex; align-items: end; gap: 12px; }
.host-settings select { max-width: 260px; }
.host-settings label { align-self: center; }
.guest-now { margin-bottom: 16px; }
.guest-now h1 { font-size: clamp(1.7rem, 4vw, 3rem); letter-spacing: -.04em; margin: 12px 0 4px; }
.guest-now p { color: #aeb7a9; margin: 0; }
.guest-now .media-badge { margin-left: 12px; }
.media-badge { display: inline-block; width: fit-content; border: 1px solid #566056; padding: 2px 5px; color: #aeb7a9; font-size: .62rem; font-weight: 750; letter-spacing: .08em; white-space: nowrap; }
.media-badge[hidden] { display: none; }
.media-video { border-color: #71a6b5; color: #9bd5e8; }
.explicit-badge { display: inline-block; border: 1px solid #90988e; padding: 2px 5px; color: #f2f3ef; font-size: .62rem; font-weight: 800; line-height: normal; }
.explicit-badge[hidden] { display: none; }
.media-badge + .explicit-badge { margin-left: 6px; }
.heading-label .media-badge + .explicit-badge { margin-left: 0; }
.item .media-badge, .item .explicit-badge, .queue-copy .media-badge, .queue-copy .explicit-badge { margin-top: 5px; }
.guest-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.guest-columns > .panel { min-width: 0; }
.search { display: flex; gap: 8px; margin: 18px 0 24px; }
.search input { flex: 1; }
.list { display: grid; gap: 0; }
.item { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #303731; padding: 12px 0; min-width: 0; }
.item img { width: 46px; height: 46px; object-fit: cover; }
.item .meta { flex: 1; min-width: 0; }
.item strong, .item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item small { color: #aab4a7; font-size: .78rem; margin-top: 4px; }
.item button { padding: 8px 12px; }
.empty { color: #aab4a7; font-size: .9rem; }
.guest-columns details { margin-top: 24px; }
.guest-columns details .list { margin-top: 10px; }
#message { color: #f0b197; min-height: 24px; margin: 20px 0; }
.toast { position: fixed; z-index: 10; right: 24px; bottom: 24px; max-width: min(420px, calc(100vw - 40px)); border: 1px solid #a9df71; background: #1d2a1b; color: #f2f3ef; padding: 16px 20px; box-shadow: 0 10px 30px #0008; animation: toast-in .2s ease-out; }
.toast[hidden] { display: none; }
.toast-error { border-color: #e9b28e; background: #30231e; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }
@media (max-width: 1100px) { .host-topline { align-items: start; } .host-invite { display: block; } .host-instruction { margin-top: 8px; } }
@media (max-width: 860px) { .host-layout, .guest-columns { grid-template-columns: 1fr; } .host-layout { min-height: 0; } .host-player { min-height: 400px; } .host-code { letter-spacing: .07em; } .host-settings form { flex-wrap: wrap; } }
@media (max-width: 520px) { .site-header { min-height: 58px; } .entry { margin: 3vh auto; padding: 25px; } .host-topline { display: block; } .host-invite { display: flex; align-items: center; margin-top: 22px; } .host-invite img { width: 128px; height: 128px; } .host-instruction { text-align: left; margin: 0; } .host-code { font-size: clamp(2.7rem, 12vw, 4.5rem); } .host-player, .host-queue { padding: 22px; } .host-player { min-height: 320px; } .host-player-content { margin: 32px 0; } .host-player-content img { width: min(100%, 280px); margin-top: 20px; } .search { flex-wrap: wrap; } .search input, .search button { width: 100%; } .host-settings form > * { width: 100%; } }
