[hidden] { display: none !important; }
/* public upload page */
.send { max-width: 560px; margin: 0 auto; padding: clamp(36px, 7vw, 72px) 16px 60px; }
.send h1 { font-size: clamp(34px, 6vw, 52px); }
.send .lead { margin-bottom: 26px; }
.send-form { display: grid; gap: 14px; }
.send-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.send-form input:not([type=checkbox]):not([type=file]) { width: 100%; background: var(--bg2); border: 1px solid var(--line); border-radius: 7px; color: var(--text); font: 400 16px/1.4 var(--sans); padding: 11px 12px; }
.send-form input:focus { outline: none; border-color: var(--gold); }
.send-form .chk { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); }
.send-form .chk input { accent-color: var(--gold); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.send-form .go { justify-content: center; font-size: 16px; padding: 15px; }
.send-form .go:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.drop { position: relative; border: 1px dashed #3a414c; border-radius: 10px; min-height: 170px; display: grid; place-items: center; text-align: center; cursor: pointer; background: var(--bg2); overflow: hidden; }
.drop.over { border-color: var(--gold); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop img { max-height: 340px; width: auto; margin: 0 auto; }
.drop span { padding: 26px; color: var(--muted); font-size: 15px; }
.drop.has span { position: absolute; bottom: 0; left: 0; right: 0; padding: 8px; background: rgba(0, 0, 0, .7); font-size: 12px; }
.err { color: var(--bad); margin: 0; min-height: 1.2em; font-size: 14px; }
.sent { border: 1px solid var(--gold); border-radius: 10px; padding: 22px; text-align: center; }
.sent .big { font: 600 28px/1.2 var(--serif); margin: 0 0 14px; color: var(--gold2); }
.btn-line { background: transparent; border: 1px solid var(--line); color: var(--text); border-radius: 7px; padding: 10px 16px; cursor: pointer; }
.btn-line:hover { border-color: var(--gold); }
.fine { margin-top: 28px; color: var(--dim); font-size: 13px; }

/* host panel */
.lv { max-width: 1500px; margin: 0 auto; padding: 22px clamp(16px, 3vw, 36px) 60px; }
.lv-bar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.lv-sp { flex: 1; }
.lv-link { font-size: 13px; color: var(--muted); }
.lv-link b { color: var(--text); font-family: var(--mono); font-weight: 400; }
.switch { display: inline-flex; align-items: center; gap: 10px; background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 14px; cursor: pointer; }
.switch .dot { width: 10px; height: 10px; border-radius: 50%; background: #5c5f66; }
.switch[aria-pressed="true"] { border-color: #6fbf73; }
.switch[aria-pressed="true"] .dot { background: #6fbf73; box-shadow: 0 0 8px #6fbf73; }
.lv-help { margin: 14px 0 18px; }
.lv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.lv-item { position: relative; margin: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--bg2); }
.lv-item.new { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.lv-item.gone { opacity: .4; }
.lv-show { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; background: #000; cursor: zoom-in; }
.lv-show img { width: 100%; height: 100%; object-fit: contain; }
.lv-item figcaption { padding: 9px 11px 11px; display: grid; gap: 2px; }
.lv-item figcaption b { font: 600 19px/1.15 var(--serif); }
.lv-item figcaption span { font-size: 13px; color: var(--gold2); }
.lv-item figcaption small { font-size: 11px; color: var(--dim); font-family: var(--mono); }
.lv-del { position: absolute; top: 6px; right: 6px; background: rgba(0, 0, 0, .65) !important; }

/* full-window show (captured in OBS) */
.stage { position: fixed; inset: 0; z-index: 100; background: #000; display: flex; align-items: center; justify-content: center; }
.stage.nocur { cursor: none; }
.stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.st-cap { position: absolute; left: 3vw; bottom: 3.5vh; display: grid; gap: .3em; padding: .8em 1.1em; background: rgba(8, 9, 12, .72); border-left: 3px solid var(--gold); border-radius: 4px; max-width: 60vw; }
.st-cap b { font: 600 clamp(22px, 2.6vw, 44px)/1.1 var(--serif); color: #f3ecdc; }
.st-cap span { font: 500 clamp(13px, 1.3vw, 22px)/1.2 var(--sans); color: var(--gold2); }
.st-cta { position: absolute; right: 3vw; bottom: 3.5vh; padding: .7em 1em; background: rgba(8, 9, 12, .72); border-radius: 4px; font: 500 clamp(13px, 1.2vw, 20px)/1.2 var(--sans); color: #d9d2c3; }
.st-cta b { color: var(--gold2); font-family: var(--mono); font-weight: 500; }
