/* The guest page. Plain and light. */
/* The colours are CSS variables from /look.css (the backend's Appearance page; Requests.Core/Look.cs). */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 17px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-text-size-adjust: 100%; }
main { max-width: 640px; margin: 0 auto; padding: 16px 16px 80px; }
#logo { display: block; max-width: 100%; max-height: 120px; margin: 4px auto 8px; }
#logo[hidden] { display: none; }
h1 { font-size: 1.5rem; margin: 8px 0 4px; color: var(--title); }
h2 { font-size: 1.15rem; margin: 24px 0 8px; }
.welcome, .hi { margin: 4px 0 12px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.box { background: var(--box); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 12px 0; }
label { display: block; font-weight: 600; margin-bottom: 8px; }
input { display: block; width: 100%; font: inherit; color: inherit; background: var(--bg); border: 1px solid var(--line);
        border-radius: 10px; padding: 11px 12px; margin: 0 0 8px; }
input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.row { display: flex; gap: 8px; align-items: center; }
.row input { margin: 0; flex: 1; }
.row p { flex: 1; margin: 0; font-size: .9rem; }
button { font: inherit; font-weight: 600; border: 0; border-radius: 10px; padding: 11px 18px; cursor: pointer;
         background: var(--accent); color: var(--accent-text); }
button:disabled { opacity: .5; cursor: default; }
form.full button[type=submit] { opacity: .5; }
ul#list { list-style: none; margin: 0; padding: 0; }
#list li { display: flex; gap: 10px; align-items: center; background: var(--box); border: 1px solid var(--line);
           border-radius: 14px; padding: 12px 14px; margin: 0 0 8px; }
#list li.off { opacity: .6; }
#list li.empty { display: block; text-align: center; }
.song { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.shout { font-style: italic; margin-top: 2px; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; vertical-align: 2px;
         background: var(--good); color: #fff; }
.badge.grey { background: var(--muted); }
.votes { display: flex; flex-direction: column; gap: 6px; }
.thumb { background: transparent; color: var(--text); border: 1px solid var(--line); padding: 6px 10px; min-width: 64px; font-weight: 600; }
.thumb.on { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.thumb.down.on { background: var(--muted); border-color: var(--muted); }
.box.blocked { border-color: var(--bad); }
.box.blocked strong { color: var(--bad); }
.box.blocked p { margin: 8px 0 0; }
.offline { text-align: center; font-size: 1.4rem; margin-top: 30vh; color: var(--muted); }
#toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 40px); opacity: 0; transition: .25s;
         background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 12px; max-width: calc(100% - 32px);
         pointer-events: none; text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { background: var(--bad); color: #fff; }
