/* SMILHY v5.6 · SMILE TEST points / premium Cosmic Glass */
.sm-nav{display:inline-flex!important;align-items:center;gap:5px}.sm-nav img{height:18px;width:18px;filter:drop-shadow(0 0 7px #f9b835aa)}
.wallet-icon-smile{background:linear-gradient(140deg,#ffe986,#efa82b)!important;color:#753800!important;box-shadow:0 0 16px #faba427c!important}
.wallet-icon-smile img{width:100%;height:100%;display:block}
.sm-screen{width:100%;padding:18px clamp(12px,2vw,28px) 30px;color:#eaf3ff;font-family:system-ui,-apple-system,Segoe UI,sans-serif;box-sizing:border-box}
.sm-screen[hidden]{display:none!important}.sm-screen *{box-sizing:border-box}
.sm-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;overflow:hidden;min-height:230px;margin:16px 0 18px;padding:clamp(22px,3vw,38px);border:1px solid #6567e3a6;border-radius:19px;background:radial-gradient(circle at 82% 55%,#6843bf78 0,#231c6a9f 32%,transparent 69%),linear-gradient(115deg,#0b1744,#14123c 64%,#261c63);box-shadow:inset 0 1px #f6faff38,0 0 33px #4238f820}
.sm-hero-copy{z-index:1;max-width:680px}.sm-kicker{color:#c5a7ff;font-size:11px;letter-spacing:.12em;font-weight:800}.sm-hero h1{font-size:clamp(35px,4.6vw,61px);letter-spacing:-.05em;line-height:1.02;margin:12px 0;color:white}.sm-hero h1 em{font-style:normal;background:linear-gradient(90deg,#51dffe,#39efaa);color:transparent;background-clip:text}.sm-hero p{max-width:550px;font-size:14px;line-height:1.65;color:#b9cee9}.sm-pills{display:flex;gap:9px;flex-wrap:wrap;margin-top:21px}.sm-pills span{font-size:11px;color:#c9e8f6;background:#10285b91;border:1px solid #6065d15e;padding:9px 12px;border-radius:9px}
.sm-art{width:190px;height:190px;position:relative;flex-shrink:0;display:grid;place-items:center}.sm-art:before{content:"";position:absolute;inset:5px;border-radius:50%;filter:blur(21px);background:radial-gradient(circle,#ffb82088,#6b43de55,transparent 78%)}.sm-art img{position:relative;width:143px;height:143px;filter:drop-shadow(0 0 22px #ffbd388a);animation:smFloat 5s ease-in-out infinite}.sm-ring{position:absolute;width:190px;height:75px;border:2px solid #7580ff7a;border-radius:50%;transform:rotate(-30deg);box-shadow:0 0 22px #8664ff88}.sm-ring-b{transform:rotate(34deg);border-color:#42f2d286}
@keyframes smFloat{0%,100%{transform:translateY(4px) rotate(-5deg)}50%{transform:translateY(-7px) rotate(7deg)}}
.sm-banner{display:flex;align-items:flex-start;gap:12px;background:linear-gradient(110deg,#102d4eaa,#132052dd);border:1px solid #4579be8f;border-radius:13px;padding:14px 17px;margin-bottom:17px}.sm-banner>span{display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:50%;background:#2b76a866;font-weight:900}.sm-banner p{margin:0;color:#bcd2e8;font-size:12px;line-height:1.5}.sm-banner strong{color:#efffff}
.sm-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.sm-card{min-width:0;border-radius:16px;border:1px solid #5672d285;background:linear-gradient(145deg,#182453df,#080f28ee);box-shadow:inset 0 1px #d2e6ff17,0 14px 33px #02091655;padding:18px}.sm-stats .sm-card{display:flex;flex-direction:column;gap:8px}.sm-card small{display:flex;align-items:center;gap:7px;color:#a5b9e2;font-size:11px;font-weight:750;letter-spacing:.04em}.sm-card small img{height:22px;width:22px}.sm-stats strong{font-size:clamp(20px,2.4vw,32px);color:white;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.sm-stats .sm-card:first-child strong{color:#ffd770;text-shadow:0 0 18px #ffad3150}.sm-card span{color:#9fb8d7;font-size:11px}
.sm-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:16px}.sm-grid h2{color:white;font-size:20px;margin:0 0 21px}.sm-step{display:flex;align-items:flex-start;gap:13px;padding:13px 0;border-bottom:1px solid #6e94e62d}.sm-step>span{font-size:12px;font-weight:900;color:#40efcc;background:#1249566e;border:1px solid #19dbbd55;border-radius:9px;padding:7px}.sm-step>div{display:grid;gap:6px}.sm-step b{color:white;font-size:13px}.sm-step small{color:#aabde0;font-size:12px;font-weight:500;line-height:1.55;letter-spacing:normal}.sm-button{display:inline-block;width:100%;margin-top:22px;padding:12px;border:1px solid #37f6c7aa;border-radius:11px;color:#062c35;background:linear-gradient(110deg,#51ebce,#32e8aa);font-weight:850;cursor:pointer;box-shadow:0 0 16px #37f1c735}.sm-button.sm-outline{background:#183873;color:#eaffff;border-color:#4c8ce1}.sm-prizes{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sm-prizes>div{display:flex;justify-content:space-between;gap:9px;align-items:center;padding:11px;border-radius:10px;border:1px solid #465ba978;background:#0d2045aa;font-size:12px;color:#d9e8fc}.sm-prizes b{color:#ffdc83}.sm-rewards p{color:#adc2e0;font-size:12px;line-height:1.6;margin-top:18px}.sm-status{color:#49dec7!important}
.sm-gw{padding:11px;margin:9px 9px 1px;flex:none;border-radius:12px;border:1px solid #d5a736b3;background:linear-gradient(145deg,#34291cdb,#162647 67%,#131b48f7);box-shadow:inset 0 1px #fff0c333,0 0 25px #f7b62d12}.sm-gw-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.sm-gw-head>span:first-child{display:flex;align-items:center;gap:6px;color:#fff0cc;font-size:12px}.sm-gw-head img{width:25px;height:25px}.sm-gw-live{color:#ffe18e;font-size:8px;font-weight:800;letter-spacing:.06em;border:1px solid #ffcd876e;border-radius:5px;padding:4px;white-space:nowrap}.sm-gw-counter{color:#bcd4f2;font-size:11px;margin:8px 0}.sm-gw-counter b{color:#ffde83;font-size:17px;font-variant-numeric:tabular-nums}.sm-gw-prizes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.sm-gw-prizes span{background:#122e53a8;color:#ffd888;font-size:9px;font-weight:850;border-radius:6px;padding:6px 1px;text-align:center}.sm-gw-info{color:#b4c9e0;font-size:10px;line-height:1.5;margin:8px 0}.sm-gw-confirm{display:block;width:100%;cursor:pointer;padding:10px 6px;font:900 11px system-ui;letter-spacing:.04em;border:1px solid #ffeaa555;border-radius:9px;color:#29210b;background:linear-gradient(100deg,#ffdf70,#fabb44);box-shadow:0 2px 14px #ffcb4d3c}.sm-gw-confirm:disabled{opacity:.7;cursor:default;filter:saturate(.65)}.sm-gw-status{margin:8px 0 0;text-align:center;font-size:10px;color:#bcd0eb;line-height:1.35}.sm-gw-status.sm-error{color:#ffaab1}.sm-gw-winners{font-size:10px;color:#d5deec;margin-top:8px;padding-top:6px;border-top:1px solid #fedb6544}.sm-gw-winners[hidden]{display:none!important}.sm-gw-winners>div{display:flex;justify-content:space-between;gap:7px;padding:3px 2px}.sm-gw-winners b{color:#ffd88a;font-variant-numeric:tabular-nums}
/* Keep chat message stream scrollable when giveaway is above it. */
#lc-dice-host.lc-host-active,#lc-home-host.lc-host-active{min-height:640px;height:700px;max-height:calc(100dvh - 40px)}
#lc-dice-host .lc-stats,#lc-home-host .lc-stats{padding-top:7px!important;padding-bottom:7px!important}
#lc-dice-host #lc-window .lc-head,#lc-home-host #lc-window .lc-head{padding-top:9px!important;padding-bottom:9px!important}
#lc-dice-host #lc-window .lc-toolbar,#lc-home-host #lc-window .lc-toolbar{padding:6px 10px!important}
@media(max-width:1200px){.sm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.sm-art{width:145px;height:145px}.sm-art img{width:110px;height:110px}.sm-ring{width:145px}}
@media(max-width:700px){.sm-hero{min-height:170px;padding:21px}.sm-art{width:95px;height:105px}.sm-art img{width:85px;height:85px}.sm-ring{width:95px;height:40px}.sm-grid{grid-template-columns:1fr}.sm-pills{gap:5px}.sm-pills span{font-size:10px;padding:5px 7px}.sm-screen{padding:10px 13px 28px}#lc-dice-host.lc-host-active,#lc-home-host.lc-host-active{height:660px;max-height:none}}
@media(max-width:410px){.sm-stats{gap:8px}.sm-card{padding:12px}.sm-hero h1{font-size:34px}.sm-hero p{font-size:12px}.sm-hero{gap:4px}.sm-art{width:70px}.sm-art img{width:65px;height:65px}.sm-ring{width:70px;height:34px}.sm-gw{padding:8px;margin:6px}.sm-gw-prizes span{font-size:8px}}
@media(prefers-reduced-motion:reduce){.sm-art img{animation:none}}
/* v5.7 | Giveaway progress: same cosmic glass palette as Dice */
.sm-gw-subbar{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:9px}
.sm-gw-phase{display:inline-flex;align-items:center;border:1px solid #4e8bca88;background:#0a2d46a8;color:#65ebd5;font-size:9px;font-weight:900;letter-spacing:.055em;padding:5px 7px;border-radius:7px}
.sm-gw-sound{border:1px solid #7064bb8a;background:#17234bd9;color:#c9d9f9;font-size:9px;font-weight:750;border-radius:7px;padding:5px 8px;cursor:pointer;transition:background .16s,border-color .16s}
.sm-gw-sound:hover,.sm-gw-sound[aria-pressed="true"]{border-color:#42eed0;background:#0c4259;color:#ddfffb}
.sm-gw-counter{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:10px 0;font-size:11px}
.sm-gw-counter b{font-size:20px;color:#ffe28f;text-shadow:0 0 11px #ffb52a50}
.sm-gw-progress-label{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px;margin:10px 0 6px}
.sm-gw-progress-label strong{color:#f5fbff;font-size:12px}
.sm-gw-progress-label small{color:#9fbeda;font-size:9px}
.sm-gw-progress-track{width:100%;height:9px;border:1px solid #5277b479;border-radius:100px;background:#08152ee9;overflow:hidden;box-shadow:inset 0 2px 4px #0005;margin:0 0 10px}
.sm-gw-progress-track span{height:100%;width:0;display:block;border-radius:100px;background:linear-gradient(90deg,#10d4f4,#1ef2b2,#83ffe5);box-shadow:0 0 14px #28f8d79a;transition:width .5s ease}
.sm-gw-confirm:not(:disabled):hover{filter:brightness(1.1);transform:translateY(-1px)}
.sm-gw-confirm:focus-visible,.sm-gw-sound:focus-visible{outline:2px solid #58f4ff;outline-offset:3px}
@media (prefers-reduced-motion:reduce){.sm-gw-progress-track span{transition:none}}


/* v6.3.17 compact giveaway header: removed earning window + sound row for cleaner live chat */
#lc-window .sm-gw-head{margin-bottom:8px}
#lc-window .sm-gw-counter{margin:6px 0 10px!important}
#lc-window .sm-gw-subbar,#lc-window .sm-gw-phase,#lc-window .sm-gw-sound{display:none!important}

/* v7.3: compact header icon restored; no oversized gift in the chat */
#lc-window .sm-gw-head .sm-gw-gift-ico{display:block!important;width:19px!important;height:19px!important;max-width:19px!important;max-height:19px!important;min-width:19px!important;min-height:19px!important;flex:0 0 19px!important;object-fit:contain!important;animation:none!important;filter:drop-shadow(0 0 5px #ffca6290)}
#lc-window .sm-gw-head>span:first-child{gap:6px;min-height:20px}
