/* The on-air picture (1920 × 1080). Used by the stream itself (/broadcast.html), the buyer's live preview,
   the home-page monitor and the review desk, so every preview looks exactly like the stream.
   Previews draw the same 1920 × 1080 picture and scale it down (see onair.js → fitStage). */
.oa{position:relative;width:1920px;height:1080px;overflow:hidden;box-sizing:border-box;direction:ltr;color:#fff;background:#1d2233;
  font-family:"Readex Pro",system-ui,"Segoe UI",Tahoma,sans-serif;font-weight:400;line-height:1.25;text-align:start}
.oa *,.oa *::before,.oa *::after{box-sizing:border-box}
.oa[hidden],.oa [hidden]{display:none!important}

/* Photo area: a soft blurred copy fills the space, the whole photo sits on top (never cut). */
.oa-ph{position:absolute;display:none;overflow:hidden;background:#0b0d14}
.oa-ph-bg{position:absolute;inset:-60px;background-size:cover;background-position:center;filter:blur(48px) brightness(.6) saturate(1.1)}
.oa-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.oa-shade{position:absolute;inset:0;display:none;pointer-events:none;
  background:linear-gradient(0deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.55) 26%,rgba(0,0,0,0) 58%)}

/* Text */
.oa-text{position:absolute;left:160px;right:160px;top:0;bottom:110px;display:flex;flex-direction:column;justify-content:center}
.oa-kicker{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:28px;letter-spacing:.12em;text-transform:uppercase;opacity:.82}
.oa-who{font-family:"Archivo","Readex Pro",system-ui,sans-serif;font-stretch:110%;font-weight:900;font-size:140px;line-height:1;
  margin-top:16px;max-width:1500px;overflow-wrap:anywhere;unicode-bidi:plaintext}
.oa-msg{font-size:48px;line-height:1.3;margin-top:28px;max-width:1400px;white-space:pre-line;overflow-wrap:anywhere;opacity:.95;unicode-bidi:plaintext}
.oa-url{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:32px;margin-top:28px;opacity:.82;direction:ltr;unicode-bidi:isolate;overflow-wrap:anywhere}
.oa.oa-ar .oa-who{line-height:1.45;font-family:"Readex Pro",system-ui,sans-serif;font-weight:700}
.oa.oa-ar .oa-msg{margin-top:20px}
.oa-who:empty,.oa-msg:empty,.oa-url:empty,.oa-kicker:empty{display:none}

/* Bottom bar and site address (same in every layout) */
.oa-bar{position:absolute;left:0;right:0;bottom:0;height:110px;z-index:3;display:flex;align-items:center;gap:56px;padding:0 60px;
  background:rgba(0,0,0,.6);font-family:"JetBrains Mono",ui-monospace,monospace;font-size:30px;direction:ltr;white-space:nowrap}
.oa-brand{display:flex;align-items:center;gap:16px;font-family:"Archivo",system-ui,sans-serif;font-stretch:125%;font-weight:900;font-size:32px;letter-spacing:.02em;flex:none}
.oa-brand svg{width:40px;height:40px;flex:none}
/* "Photo only": the buyer's name as a small label just above the bar */
.oa-by{display:none;position:absolute;left:60px;bottom:134px;z-index:3;max-width:1300px;padding:10px 24px;border-radius:14px;background:rgba(0,0,0,.6);
  font-family:"Readex Pro",system-ui,sans-serif;font-weight:600;font-size:36px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;unicode-bidi:plaintext}
.oa-by:empty{display:none!important}
.oa-num,.oa-tc{font-variant-numeric:tabular-nums}
.oa-site{position:absolute;top:56px;right:60px;z-index:3;max-width:900px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-family:"JetBrains Mono",ui-monospace,monospace;font-size:28px;opacity:.85;direction:ltr;text-shadow:0 2px 12px rgba(0,0,0,.5)}

/* Layout: photo and text side by side (photo on the right half) */
.oa[data-layout="side"] .oa-ph{display:block;top:0;right:0;bottom:110px;width:900px}
.oa[data-layout="side"] .oa-text{left:130px;right:1000px}
.oa[data-layout="side"] .oa-who{font-size:112px}
.oa[data-layout="side"] .oa-msg{font-size:42px}
.oa[data-layout="side"] .oa-site{right:auto;left:130px}

/* Layout: full-screen photo with the text over a dark fade at the bottom */
.oa[data-layout="full"] .oa-ph,.oa[data-layout="photo"] .oa-ph,.oa[data-layout="bare"] .oa-ph{display:block;inset:0}
.oa[data-layout="full"] .oa-shade{display:block}
.oa[data-layout="full"] .oa-text{justify-content:flex-end;padding-bottom:64px;text-shadow:0 3px 24px rgba(0,0,0,.55)}
.oa[data-layout="full"] .oa-who{font-size:108px}
.oa[data-layout="full"] .oa-msg{font-size:44px;margin-top:18px}
.oa[data-layout="full"] .oa-url{margin-top:16px}

/* Layout: photo only (the buyer's name is shown small in the bottom bar) */
.oa[data-layout="photo"] .oa-text,.oa[data-layout="bare"] .oa-text{display:none}
.oa[data-layout="photo"] .oa-by{display:block}

/* Scaled preview frame: holds a full-size picture and shrinks it to fit (onair.js sets the scale). */
.oa-fit{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#000}
.oa-fit>.oa{position:absolute;left:0;top:0;transform-origin:0 0}

/* Logos with see-through parts: no blurred fill, a little space around them */
.oa.oa-logo .oa-ph{background:transparent}
.oa.oa-logo .oa-ph-bg{display:none}
.oa.oa-logo .oa-ph img{inset:80px;width:calc(100% - 160px);height:calc(100% - 160px)}
.oa.oa-logo[data-layout="full"] .oa-ph img{bottom:330px;height:calc(100% - 410px)}
.oa.oa-ar .oa-kicker{font-family:"Readex Pro",system-ui,sans-serif;letter-spacing:0;font-weight:600}
