/* One Stix Lounge: QR gate, nickname form and conversation share one visual system. */
.osc-lounge{--lc-bg:#0b1927;--lc-border:#36627e;--lc-muted:#adc5da;--lc-gold:#efc85c;--lc-red:#df1724}
.osc-chat-card{padding:26px;border:1px solid var(--lc-border);border-radius:20px;background:radial-gradient(ellipse at 100% 0,#12344a55,transparent 65%),linear-gradient(145deg,#0d2333,#091621);color:#eff6fc;min-width:0;box-shadow:0 14px 32px #0002}
.osc-chat-card [hidden]{display:none!important}.osc-chat-card h3{font:700 32px/1.18 Inter,Arial,sans-serif;letter-spacing:-.8px;color:#f6f9fc;margin:20px 0 16px}.osc-chat-card button,.osc-chat-card input,.osc-chat-card textarea{font-family:Inter,Arial,sans-serif}
.osc-icon{display:block;width:22px;height:22px;flex-shrink:0}.osc-lounge-mark{display:grid;place-items:center;width:68px;height:68px;border:1px solid #1b5477;border-radius:15px;background:linear-gradient(135deg,#133d59,#0e2a40);color:#f5f8fc}.osc-lounge-mark>.osc-icon{width:44px;height:44px}
.osc-chat-lead{color:var(--lc-muted);font-size:15px;line-height:1.65;max-width:430px;margin:0 0 26px}.osc-chat-primary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:52px;border:1px solid #f1313c;border-radius:12px;background:linear-gradient(110deg,#ed1928,#d7111f);color:#fff;font-size:15px;font-weight:600;padding:12px 16px;cursor:pointer;width:100%;transition:background .18s,transform .18s}
.osc-chat-primary>.osc-icon{width:25px;height:25px}.osc-chat-primary:hover{background:#f02634;transform:translateY(-1px)}.osc-chat-primary:focus-visible,.osc-chat-card input:focus-visible,.osc-chat-card textarea:focus-visible,.osc-chat-prompts button:focus-visible{outline:2px solid #f0c767;outline-offset:4px}.osc-chat-card button:disabled{opacity:.5;cursor:not-allowed;transform:none}
.osc-chat-access{display:flex;align-items:center;gap:12px;color:var(--lc-muted);font-size:13px;line-height:1.6;margin:18px 0 25px}.osc-chat-access>.osc-icon{width:21px;height:21px;color:#f0f7fc}
.osc-chat-disclosure{border-top:1px solid #39546a;border-bottom:1px solid #39546a}.osc-chat-disclosure summary{display:flex;justify-content:space-between;gap:12px;align-items:center;list-style:none;cursor:pointer;min-height:56px;color:#edf5fc;font-size:14px;font-weight:600;padding:14px 0}.osc-chat-disclosure summary::-webkit-details-marker{display:none}.osc-chat-disclosure[open] summary>.osc-icon{transform:rotate(180deg)}.osc-chat-disclosure ol{padding-left:23px;margin:0 0 18px;color:var(--lc-gold);font-size:13px}.osc-chat-disclosure li{padding:7px 0 7px 6px}.osc-chat-disclosure li strong,.osc-chat-disclosure li span{display:block}.osc-chat-disclosure li strong{color:#eef5fc}.osc-chat-disclosure li span{color:var(--lc-muted);margin-top:3px;font-size:12px}.osc-chat-fineprint{color:var(--lc-muted);font-size:12px;line-height:1.7;margin:24px 0 0}
.osc-chat-card label:not(.osc-chat-sr){display:block;font-size:14px;font-weight:600;margin:0 0 9px;color:#edf6ff}.osc-chat-card input,.osc-chat-card textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid #83abc7;border-radius:11px;background:#19334880;padding:13px 14px;color:#fff;font-size:16px;line-height:1.5;resize:vertical}.osc-chat-card input::placeholder,.osc-chat-card textarea::placeholder{color:#b1c3d3;opacity:1}.osc-chat-card input:disabled,.osc-chat-card textarea:disabled{opacity:.55}.osc-chat-hint{font-size:12px;line-height:1.6;color:var(--lc-muted);margin:12px 0 28px}.osc-chat-feedback{padding:12px 14px;margin:0 0 18px;background:#3b2631;border:1px solid #a35662;border-radius:10px;color:#ffe5e8;font-size:13px;line-height:1.6}
.osc-chat-room-head{display:flex;gap:12px;align-items:center;min-width:0}.osc-lounge-mark-small{width:48px;height:48px;border-radius:12px;flex-shrink:0}.osc-lounge-mark-small>.osc-icon{width:34px;height:34px}.osc-chat-room-head>div:nth-child(2){flex:1;min-width:0}.osc-chat-room-head h3{font:600 25px/1.2 'Barlow Condensed',Arial,sans-serif;letter-spacing:0;margin:0 0 4px}.osc-chat-room-head p{font-size:12px;color:var(--lc-muted);line-height:1.5;overflow-wrap:anywhere}
#osc-chat-exit{min-height:44px;border:1px solid #8faec5;border-radius:9px;padding:7px 10px;color:#e6eff9;font-size:12px;background:transparent;cursor:pointer}#osc-chat-expiry{font-size:12px;line-height:1.6;color:var(--lc-gold);margin:15px 0 24px}
#osc-chat-messages{list-style:none;padding:0 3px 0 0;margin:0 0 24px;max-height:320px;min-height:120px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#335873 #101e2d}
#osc-chat-messages .osc-message{display:flex;align-items:flex-start;gap:10px;margin:0 0 16px;overflow-wrap:anywhere;min-width:0}.osc-message-avatar{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:#6c90ac;color:#fff;font-size:16px;font-weight:500;margin-top:7px}.osc-message-bubble{border:1px solid #416581;background:#274359;border-radius:12px;padding:11px 12px;max-width:calc(100% - 42px);min-width:0}.osc-message-head{display:flex;justify-content:space-between;gap:14px;align-items:baseline}.osc-message-head strong{font-size:13px;color:#f4f7fc}.osc-message-head time{font-size:11px;color:#adc9de;flex-shrink:0}.osc-message-bubble p{font-size:14px;line-height:1.55;white-space:pre-wrap;margin:5px 0 0}.osc-message.is-mine{justify-content:flex-end}.osc-message.is-mine .osc-message-avatar{display:none}.osc-message.is-mine .osc-message-bubble{background:#104570;border-color:#206a9c;max-width:88%}.osc-chat-empty{padding:24px 10px;text-align:center;color:var(--lc-muted);font-size:13px}.osc-chat-empty strong{display:block;font-size:16px;color:#ecf4fc;margin-bottom:6px}
.osc-chat-prompts{display:flex;gap:7px;margin:0 0 20px;flex-wrap:wrap}.osc-chat-prompts button{background:transparent;border:1px solid #8aabc4;border-radius:10px;min-height:44px;color:#edf5fc;font-size:12px;padding:8px 10px;cursor:pointer}.osc-chat-prompts button:hover,.osc-chat-prompts button.is-selected{background:#174e71;border-color:#5cc2ef}.osc-chat-composer-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:11px}#osc-chat-count{color:var(--lc-muted);font-size:13px}.osc-chat-composer-bar .osc-chat-primary{width:auto;min-height:44px;min-width:105px;padding:9px 13px;font-size:14px;gap:10px}.osc-chat-composer-bar .osc-icon{width:21px;height:21px}.osc-chat-privacy{border-bottom:0;margin-top:16px}.osc-chat-privacy summary{font-size:12px;font-weight:400;min-height:43px;color:var(--lc-muted);text-decoration:underline}.osc-chat-privacy summary>.osc-icon{width:16px;height:16px}.osc-chat-privacy p{color:var(--lc-muted);font-size:12px;line-height:1.6;margin:0 0 6px}.osc-chat-new{display:block;margin:-12px auto 18px;padding:8px 14px;min-height:44px;border:1px solid #54b9ec;border-radius:20px;background:#144465;color:#e1f4ff;font-size:12px;cursor:pointer}.osc-chat-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:480px){.osc-chat-card{padding:22px}.osc-chat-card h3{font-size:30px}.osc-chat-lead{font-size:14px}.osc-chat-primary{font-size:14px}.osc-chat-access{font-size:12px}.osc-chat-room-head h3{font-size:24px}.osc-chat-room-head p{font-size:11px}.osc-chat-prompts{gap:6px}.osc-chat-prompts button{font-size:11px;padding:8px 9px}.osc-message-bubble p{font-size:13px}.osc-message-head{gap:10px}.osc-lounge .os-section-title{gap:8px}.osc-lounge .os-section-title>span{font-size:8px;letter-spacing:.6px}}
@media(prefers-reduced-motion:reduce){.osc-chat-primary{transition:none}}

.osc-lounge-admin{margin:35px 0;padding:22px;border:1px solid #335476;border-radius:15px;background:#102038;color:#e1edfa}.osc-lounge-admin h2,.osc-lounge-admin h3{color:inherit}.osc-lounge-admin p{line-height:1.6;max-width:850px}.osc-lounge-admin button{min-height:42px;border:1px solid #5684ac;background:#183c5c;border-radius:7px;padding:8px 12px;color:#fff;cursor:pointer;margin:4px}.osc-lounge-actions{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}
#osc-chat-qr-print{background:#fff;color:#081421;max-width:360px;text-align:center;padding:20px;margin:20px 0;border-radius:12px}#osc-chat-qr svg{display:block;width:100%;height:auto}#osc-chat-qr-until{font-size:12px}#osc-chat-moderation article{padding:15px 0;border-top:1px solid #38516c;overflow-wrap:anywhere}#osc-chat-moderation small{display:block;color:#b0c8df;margin-top:4px}#osc-chat-moderation p{white-space:pre-wrap}
@media print{body:has(#osc-chat-qr-print) *{visibility:hidden}body:has(#osc-chat-qr-print) #osc-chat-qr-print,body:has(#osc-chat-qr-print) #osc-chat-qr-print *{visibility:visible}#osc-chat-qr-print{position:absolute;top:0;left:0;max-width:none;width:500px;border:0;margin:0}}

.osc-chat-new{display:flex;align-items:center;gap:8px}.osc-chat-new>.osc-icon{width:16px;height:16px;transform:rotate(90deg)}

.osc-chat-feedback.is-info{background:#14364b;border-color:#376b8c;color:#d5edff}
