/* SmilhY Dice 5.5 — isolated floating public live chat / Ultra Glass. */
.lc-launch,.lc-window,.lc-window *{box-sizing:border-box}
.lc-launch{position:fixed;right:clamp(12px,2vw,30px);bottom:clamp(14px,2vw,27px);z-index:9900;display:flex;align-items:center;gap:9px;cursor:pointer;border:1px solid #37d7ee85;border-radius:18px;padding:13px 17px;color:#f6fcff;font:800 12px/1.1 system-ui,-apple-system,Segoe UI,sans-serif;background:linear-gradient(135deg,#162858ec,#05172dee);box-shadow:0 7px 32px #000b,0 0 26px #11eacc21,inset 0 1px #dff7ff30;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);transition:transform .2s,border-color .2s,box-shadow .2s}
.lc-launch:hover,.lc-launch:focus-visible{transform:translateY(-3px);border-color:#4fffe2;box-shadow:0 10px 34px #000c,0 0 30px #22eac057}
.lc-launch svg{width:22px;height:22px;stroke:#35f5da;stroke-width:1.9;fill:none}
.lc-live{display:inline-block;background:#10edac;width:7px;height:7px;border-radius:50%;box-shadow:0 0 9px #12fdb5;flex-shrink:0}
.lc-new{background:#ff4d90;padding:3px 6px;border-radius:20px;font-size:10px;color:white;min-width:21px;text-align:center}
.lc-window{position:fixed;z-index:9902;right:clamp(10px,2vw,28px);bottom:clamp(12px,2vw,27px);width:min(400px,calc(100vw - 20px));height:min(690px,calc(100dvh - 35px));display:flex;flex-direction:column;border-radius:22px;overflow:hidden;color:#edf8ff;font:500 13px/1.45 system-ui,-apple-system,Segoe UI,sans-serif;border:1px solid #3dcaf575;background:linear-gradient(166deg,#0f2634f9 0%,#071a2cfd 40%,#070e20fd 100%);box-shadow:0 22px 85px #000e,0 0 0 1px #c9e9ff09 inset,0 0 55px #1be1cc24;backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px)}
.lc-window[hidden],.lc-launch[hidden],.lc-compose[hidden],.lc-shade[hidden],.lc-emoji-list[hidden],.lc-error[hidden],.lc-login[hidden],.lc-new[hidden]{display:none!important}
.lc-shade{position:fixed;inset:0;background:#02051080;z-index:9901;backdrop-filter:blur(2px)}
.lc-head{flex-shrink:0;display:flex;gap:10px;justify-content:space-between;align-items:flex-start;padding:19px 19px 16px;border-bottom:1px solid #31c6c62c;background:linear-gradient(100deg,#0f303ad9,#0e1e33af)}
.lc-head h2{font-size:19px;letter-spacing:-.4px;line-height:1.15;margin:5px 0 4px;color:#f1f9ff}
.lc-head small{font-size:11px;color:#9ab4c8}
.lc-eyebrow{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:.8px;color:#45f1cb;font-weight:800}
.lc-close{display:grid;place-items:center;width:34px;height:34px;cursor:pointer;background:#173049a9;border:1px solid #547a965c;border-radius:10px;color:#b9d8e8;font-size:19px}
.lc-close:hover{color:#fff;background:#223d54}
.lc-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 13px;background:#0d2532a8}
.lc-stat{border-radius:13px;border:1px solid #244c6077;padding:10px 12px;background:linear-gradient(115deg,#0b2936aa,#091b2fdd);min-width:0}
.lc-stat-label{font-size:10px;font-weight:700;color:#7be7db;letter-spacing:.2px;text-transform:uppercase}
.lc-stat-value{display:block;font-size:17px;margin-top:4px;color:#f2f9ff;font-weight:850;font-variant-numeric:tabular-nums}
.lc-stat-sub{font-size:10px;color:#789db6}
.lc-toolbar{display:flex;justify-content:space-between;align-items:center;padding:10px 17px;border-top:1px solid #74c9d41c;border-bottom:1px solid #74c9d423;color:#96bacb;font-size:11px}
.lc-toolbar span{display:flex;align-items:center;gap:7px}.lc-refresh{font:inherit;color:#63f3d6;cursor:pointer;background:none;border:0;padding:2px 4px}
.lc-stream{min-height:0;overflow-y:auto;overscroll-behavior:contain;flex:1;padding:13px 12px 15px;scrollbar-color:#277d86 #081c2c;scrollbar-width:thin;display:flex;flex-direction:column;gap:12px}
.lc-load-more{align-self:center;border:1px solid #3b7893a6;background:#0d2637;color:#b1ddec;cursor:pointer;border-radius:12px;padding:8px 15px;font:700 11px system-ui}
.lc-empty{margin:auto 13px;color:#96b6ca;text-align:center;line-height:1.7;font-size:12px}
.lc-msg{display:flex;align-items:flex-start;gap:9px;min-width:0}
.lc-msg.lc-own .lc-bubble{border-color:#21e7bd35;background:linear-gradient(120deg,#103842d4,#0d2434e8)}
.lc-avatar{width:31px;height:31px;flex-shrink:0;display:grid;place-items:center;border:1px solid #6a92ff8a;border-radius:11px;background:linear-gradient(145deg,#3878cc,#5845b6);color:#fff;font-size:13px;font-weight:800;box-shadow:0 0 13px #6b6bff25}
.lc-msg.lc-admin .lc-avatar{background:linear-gradient(140deg,#207f80,#12e2a0);color:#002d32;border-color:#3cf7dd}
.lc-bubble{flex:1;min-width:0;padding:9px 11px;border:1px solid #24506d8a;border-radius:5px 13px 13px 13px;background:linear-gradient(118deg,#0c2434c9,#081827e3);box-shadow:inset 0 1px #fff0000a}
.lc-msg.lc-admin .lc-bubble{border-color:#2bd9ca56}
.lc-meta{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:11px;font-weight:750;color:#deedfa;margin-bottom:4px}
.lc-time{margin-left:auto;font-size:10px;font-weight:500;color:#85a5ba;font-variant-numeric:tabular-nums}
.lc-admin-label{font-size:9px;color:#031f24;font-weight:850;background:#3becda;border-radius:5px;padding:1px 5px}
.lc-msg-body{font-size:12px;color:#cde0eb;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}
.lc-removed .lc-msg-body{opacity:.55;font-style:italic}
.lc-mod-actions{margin-top:6px;display:flex;gap:10px}.lc-mod-actions button{font:700 10px system-ui;border:none;background:none;padding:2px 0;color:#fcb6c3;cursor:pointer}.lc-mod-actions button:last-child{color:#ffc776}
.lc-foot{flex-shrink:0;border-top:1px solid #3abfca34;padding:11px 12px 13px;background:linear-gradient(180deg,#0b2031,#071828)}
.lc-error{color:#ffc4cc;background:#4f1f3078;border:1px solid #e26a8966;font-size:11px;padding:8px 10px;margin-bottom:8px;border-radius:9px}
.lc-compose{display:flex;gap:8px;align-items:center}.lc-compose textarea{flex:1;min-width:0;height:42px;max-height:95px;resize:vertical;border:1px solid #256982a6;border-radius:12px;background:#041522;color:#ebf9ff;outline:none;font:500 12px/1.4 system-ui;padding:12px;scrollbar-width:thin}.lc-compose textarea:focus{border-color:#3bdfd6;box-shadow:0 0 0 2px #29e6dc14}.lc-compose textarea::placeholder{color:#7797ac}
.lc-emoji,.lc-send{height:42px;flex-shrink:0;cursor:pointer;border-radius:12px;border:1px solid #2f7d91a6;background:#102c3f;color:#bcfff1;padding:0 11px;font-size:19px}.lc-send{width:45px;border-color:#46fadd77;color:#002d34;background:linear-gradient(135deg,#4cf8d8,#11cfbf);font-size:20px;font-weight:800;box-shadow:0 3px 16px #13e6ba35}.lc-send:disabled{opacity:.45;cursor:wait}
.lc-emoji-list{display:flex;justify-content:space-evenly;gap:2px;margin:0 0 8px;flex-wrap:wrap}.lc-emoji-list button{font-size:19px;cursor:pointer;background:#162c45;border:1px solid #47608766;border-radius:8px;padding:4px 7px}
.lc-login{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:6px 0}.lc-login p{margin:0;font-size:11px;color:#b3c6d6}.lc-login button{flex-shrink:0;cursor:pointer;border:1px solid #49efcf7f;border-radius:9px;color:#042c31;background:#34ecc9;font:800 11px system-ui;padding:10px 12px}
.lc-disclaimer{font-size:10px;color:#69899e;text-align:center;margin:7px 0 0}.lc-note{color:#7ce7d6}
@media (max-width:600px){.lc-launch{bottom:max(13px,env(safe-area-inset-bottom));right:12px;border-radius:15px;padding:13px}.lc-launch-label{display:none}.lc-window{right:0;bottom:0;width:100vw;height:100dvh;max-height:none;border-radius:16px 16px 0 0;border-bottom:0}.lc-head{padding-top:max(18px,env(safe-area-inset-top))}.lc-foot{padding-bottom:max(13px,env(safe-area-inset-bottom))}}
@media (prefers-reduced-motion:reduce){.lc-launch{transition:none}}

/* v17: persistent Supabase photos, paperclip and 12-emoji picker. */
.lc-attach{height:42px;min-width:37px;flex:none;border-radius:12px;border:1px solid #2f7d91a6;background:#102c3f;color:#d7fff7;font-size:19px;cursor:pointer}
.lc-chat-photo{display:block;margin-top:8px;max-width:min(100%,265px);max-height:230px;object-fit:contain;border:1px solid #2c7390;border-radius:9px}
.lc-attachment-preview{display:flex;align-items:center;gap:9px;margin:0 0 8px;padding:6px 9px;border-radius:9px;border:1px solid #236b81;background:#0a2838;color:#c5e6f4;font-size:11px}
.lc-attachment-preview[hidden]{display:none!important}
.lc-photo-preview{width:43px;height:43px;border-radius:7px;object-fit:cover}
.lc-attachment-preview span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lc-attachment-preview button{border:0;background:transparent;color:#ffb1b9;font-size:16px;cursor:pointer}
.lc-emoji-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
.lc-emoji-list button{padding:5px 0;min-width:0}
#lc-dice-host #lc-window .lc-attach{min-width:33px;width:33px;padding:0}

/* v5.5.1 IN-PAGE CHAT: right-side panel (Dice) or Live Rolls card (Home).
   No fixed, floating launcher; no blocking overlay; no layout change to Dice engine. */
#lc-dice-host .lc-side-switch{display:flex;align-items:center;justify-content:space-between;gap:7px;background:linear-gradient(122deg,rgba(36,55,127,.83),rgba(7,21,62,.96));border:1px solid rgba(89,128,248,.68);border-radius:13px;padding:10px;box-shadow:inset 0 1px 0 rgba(245,249,255,.16),0 5px 20px rgba(15,45,155,.13)}
#lc-dice-host .lc-switch-heading{display:flex;align-items:center;gap:6px;color:#b9ccf1;font:750 10px/1.1 system-ui;letter-spacing:.06em;white-space:nowrap}
#lc-dice-host .lc-side-entry{min-height:36px;display:flex;align-items:center;justify-content:center;gap:5px;padding:7px 9px;cursor:pointer;background:linear-gradient(112deg,rgba(15,78,95,.74),rgba(17,60,110,.8));border:1px solid rgba(39,240,202,.68);border-radius:9px;color:#dffff8;font:800 11px/1.1 system-ui;box-shadow:0 0 19px rgba(17,226,204,.16);transition:background .18s,border-color .18s}
#lc-dice-host .lc-side-entry:hover,#lc-dice-host .lc-side-entry:focus-visible{background:#12526e;border-color:#79ffe5;outline-offset:2px}
#lc-dice-host .lc-side-entry svg{width:17px;height:17px;flex-shrink:0}
#lc-home-host .lc-home-entry{display:flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;width:100%;margin-top:9px;min-height:40px;border:1px solid rgba(46,231,214,.75);border-radius:9px;color:#e7fff9;background:linear-gradient(117deg,#074c56,#182e78);font:800 12px/1.3 system-ui;box-shadow:inset 0 1px rgba(255,255,255,.15),0 0 15px rgba(0,241,214,.09)}
#lc-home-host .lc-home-entry:hover,#lc-home-host .lc-home-entry:focus-visible{border-color:#a2ffed;background:#145b70}
#lc-dice-host.lc-host-active,
#lc-home-host.lc-host-active{display:flex!important;flex-direction:column!important;min-height:550px;min-width:0;gap:0!important}
#lc-dice-host.lc-host-active > :not(#lc-window),
#lc-home-host.lc-host-active > :not(#lc-window){display:none!important}
#lc-home-host.lc-host-active{height:640px;max-height:min(690px,calc(100dvh - 90px))}
#lc-dice-host.lc-host-active{height:auto;min-height:575px}
#lc-dice-host #lc-window,#lc-home-host #lc-window{position:relative!important;z-index:1!important;inset:auto!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;display:flex;width:100%!important;min-width:0!important;max-width:none!important;min-height:0!important;max-height:none!important;height:100%!important;flex:1 1 auto!important;box-sizing:border-box;border:1px solid rgba(118,110,255,.8);border-radius:15px;background:linear-gradient(148deg,rgba(35,51,123,.93),rgba(7,18,54,.98) 66%,rgba(14,25,76,.97));box-shadow:inset 0 1px rgba(255,255,255,.17),0 0 19px rgba(55,92,241,.15);backdrop-filter:blur(19px)}
#lc-dice-host #lc-window[hidden],#lc-home-host #lc-window[hidden]{display:none!important}
#lc-dice-host #lc-window .lc-head,#lc-home-host #lc-window .lc-head{background:linear-gradient(117deg,rgba(36,52,128,.75),rgba(6,21,63,.8));padding:15px 13px 12px}
#lc-dice-host #lc-window .lc-stats,#lc-home-host #lc-window .lc-stats{padding:9px;background:rgba(9,21,62,.45)}
#lc-dice-host #lc-window .lc-stat,#lc-home-host #lc-window .lc-stat{padding:9px 8px;background:rgba(4,21,62,.65);border-color:rgba(71,117,234,.47)}
#lc-dice-host #lc-window .lc-stream,#lc-home-host #lc-window .lc-stream{padding:11px 8px;min-height:100px;scrollbar-color:#39abd0 #0b1842}
#lc-dice-host #lc-window .lc-bubble,#lc-home-host #lc-window .lc-bubble{border-color:rgba(69,125,215,.4);background:linear-gradient(140deg,rgba(18,46,91,.8),rgba(6,22,57,.86))}
#lc-dice-host #lc-window .lc-foot,#lc-home-host #lc-window .lc-foot{padding:10px 8px;background:linear-gradient(180deg,rgba(12,25,65,.85),rgba(7,16,50,.94))}
#lc-dice-host #lc-window .lc-compose,#lc-home-host #lc-window .lc-compose{gap:5px}
#lc-dice-host #lc-window .lc-compose textarea{font-size:12px;padding:9px 7px}
#lc-dice-host #lc-window .lc-emoji,#lc-dice-host #lc-window .lc-send{padding:0 7px;min-width:33px;width:33px}
#lc-home-host #lc-window .lc-stream{flex:1}
@media(max-width:1199px){#lc-dice-host.lc-host-active{grid-column:1/-1;min-height:480px;height:550px}#lc-dice-host .lc-side-switch{grid-column:1/-1}}
@media(max-width:760px){#lc-dice-host.lc-host-active{grid-column:1;min-height:540px;height:540px}#lc-home-host.lc-host-active{height:540px;max-height:none}}
@media(max-width:400px){#lc-dice-host .lc-switch-heading{font-size:9px}#lc-dice-host .lc-side-entry{font-size:10px}#lc-dice-host.lc-host-active{height:520px;min-height:520px}#lc-dice-host #lc-window .lc-head{padding:11px}}


/* v6.3.18 — separator between giveaway and public chat */
.lc-section-divider{position:relative;flex:none;display:flex;align-items:center;justify-content:center;gap:12px;padding:6px 14px 2px;margin:0 12px;color:#f4f7ff;font-size:12px;font-weight:700;letter-spacing:.01em;text-align:center}
.lc-section-divider::before,.lc-section-divider::after{content:"";flex:1;min-width:28px;height:1px;background:linear-gradient(90deg,transparent,#355f9b80,#355f9b80,transparent)}
.lc-section-divider span{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;color:#f5f8ff;text-shadow:0 0 8px #122b5c5e}
.lc-window .lc-stream{padding-top:8px}
#lc-dice-host #lc-window .lc-stream,#lc-home-host #lc-window .lc-stream{padding-top:8px}
@media(max-width:480px){.lc-section-divider{font-size:11px;padding:6px 12px 0;gap:10px}}
