:root{color-scheme:dark;font-family:system-ui,sans-serif;background:#0b1d1c;color:#f4f8fe;--muted:#b1d3d2;--line:#36605f;--surface:#173534}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#243854,transparent 47%)}[hidden]{display:none!important}
header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:12px max(16px,calc((100vw - 1040px)/2));background:#102b2af2;border-bottom:1px solid var(--line)}
.logo{font-size:1.65rem;letter-spacing:-.05em;color:#afcef9;animation:hue 12s linear infinite}.logo span+span{color:#76eeea}
button,a{font:inherit}button{cursor:pointer}button,footer a,.action{border:1px solid var(--line);border-radius:12px;padding:10px 14px;color:inherit;background:#244948;text-decoration:none;font-weight:650}button:hover,a:hover{filter:brightness(1.18)}:focus-visible{outline:2px solid #92f6f3;outline-offset:3px}
nav{position:fixed;top:65px;left:12px;z-index:3;display:grid;gap:5px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:10px;max-height:80vh;overflow:auto}nav button,nav a{text-align:left;color:inherit;padding:9px 12px}
main{max-width:1072px;margin:auto;padding:16px 16px 104px}.notice{padding:11px 13px;color:#faeac1;background:#372e33;border:1px solid #6e644c;border-radius:12px;font-size:.88rem}.toolbar{margin-top:14px;display:flex;align-items:center;justify-content:space-between;gap:6px}.text-button{padding-left:0;background:none;border:0;text-decoration:underline;color:#a5f5f2}.hero{text-align:center;padding:23px 0 14px}.hero h1{font-size:clamp(1.3rem,4vw,2rem);margin:9px 0 0;letter-spacing:-.035em}.status{font-size:.78rem;color:#9df4f1;display:inline-flex;align-items:center;gap:6px}.status i{width:7px;height:7px;background:#7df4f1;border-radius:50%;animation:pulse 1.8s infinite}
.wallet{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:12px}.wallet small,.meta{color:var(--muted)}.wallet strong{display:block;font-size:clamp(.82rem,3vw,1.18rem);margin-top:4px}.wallet button{font-size:.8rem;padding:8px}
.register{width:100%;margin:12px 0;background:#1b2e49;border-color:#5079b3}.register span{display:inline-block;color:#c9defb;animation:hue 15s linear infinite,zoom 2.6s ease-in-out infinite}
h2{font-size:1rem;margin:16px 0 12px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:10px}.card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:13px;display:grid;gap:8px}.profile-head{display:flex;align-items:center;gap:9px}.avatar{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:13px;background:hsl(var(--tone) 48% 34%);font-weight:800}.meta{font-size:.78rem;margin-top:4px}.typing{min-height:1em;font-size:.74rem;color:#bed7fa}select,input{width:100%;padding:9px;border:1px solid var(--line);border-radius:9px;background:#0e2726;color:inherit;font:inherit}select{font-size:.78rem}.primary{background:#4279c6;border-color:#83afed;color:white}
footer{position:fixed;bottom:0;left:0;right:0;z-index:2;display:flex;justify-content:space-between;gap:7px;padding:12px max(12px,calc((100vw - 1040px)/2));padding-bottom:max(12px,env(safe-area-inset-bottom));background:#102b2af2}footer a,footer button{font-size:clamp(.7rem,3.2vw,.95rem);background:#32598f;animation:hue 18s steps(10) infinite,hop 5s infinite}footer button{background:#236e6c;animation-delay:.35s}
dialog{width:min(94vw,540px);max-height:88dvh;background:#153231;color:inherit;border:1px solid #548d8b;border-radius:20px;padding:16px}dialog::backdrop{background:#061716cc}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.dialog-head h2{margin:0}.dialog-head button{padding:5px 11px;font-size:1.25rem}.thread{display:grid;gap:8px;max-height:38dvh;overflow:auto;margin:12px 0}.bubble{padding:10px;background:#244948;border-radius:12px;max-width:90%;overflow-wrap:anywhere}.mine{justify-self:end;background:#34598e}.compose{display:flex;gap:6px}.actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.wa{background:#14605d}.sms{background:#268683}
@keyframes hue{to{filter:hue-rotate(360deg)}}@keyframes zoom{50%{transform:scale(1.045)}}@keyframes hop{8%,17%,100%{transform:translateY(0)}12%{transform:translateY(-5px)}}@keyframes pulse{60%{box-shadow:0 0 0 5px #7df4f100}0%{box-shadow:0 0 0 0 #7df4f180}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important}}

body{background:radial-gradient(ellipse 700px 460px at 50% 35px,#253750 0%,transparent 100%)}
header{min-height:62px}
.logo{animation-timing-function:steps(15,end)}
.notice{display:flex;align-items:center;gap:9px;background:#234241;border-color:#46576e;color:#e5effd}
.notice strong{flex:none;padding:4px 7px;border-radius:6px;background:#e7ca80;color:#1a2432;font-size:.71rem;letter-spacing:.08em}
.hero{margin:12px 0;padding:25px 12px;background:linear-gradient(145deg,#21324a,#143736);border:1px solid #3d4e67;border-radius:20px}
.wallet{padding:14px}
.register{background:linear-gradient(100deg,#203654,#304d76,#1c2e47);padding:13px}
.register span{animation-timing-function:steps(24,end),ease-in-out}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}
.section-head h2{margin:0;font-size:.9rem;letter-spacing:.015em}
.section-head span{flex:none;color:var(--muted);font-size:.75rem}
.grid{gap:12px}
.card{background:linear-gradient(145deg,#1d4241,#142f2e);padding:14px;gap:9px}
.avatar{flex-basis:44px;height:44px;border:1px solid #ffffff30}
.card .primary{min-height:42px}
button:disabled{opacity:.55;cursor:default}
.dialog-head{padding-bottom:10px;border-bottom:1px solid var(--line)}
.thread{min-height:105px}
#chat-form{margin-top:12px;padding:10px 12px;background:#212e40;border-radius:12px;font-size:.88rem}
#chat-form p{margin:5px 0 9px}
@media(min-width:650px){main{padding-top:24px}.hero{padding-block:34px}}

@property --light-angle{syntax:"<angle>";initial-value:0deg;inherits:false}
.lit{position:relative;isolation:isolate}
.lit::before{content:"";position:absolute;inset:-1px;padding:2px;border-radius:inherit;pointer-events:none;background:conic-gradient(from var(--light-angle),transparent 0% 69%,#7badf4 79%,#e0ecfd 83%,#6af2ed 85%,transparent 91%);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;animation:orbit 5s linear infinite}
.register.lit::before{animation-duration:3.8s}
@keyframes orbit{to{--light-angle:360deg}}
.portrait{display:block;width:44px;object-fit:cover;background:#212e40}
.typing-notices{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.typing-notice{display:flex;align-items:center;gap:7px;min-width:0;padding:7px 9px;background:#23354e;border:1px solid #5578aa;border-radius:10px;color:#ecf3fd;font-size:.75rem}
.typing-notice small{color:#f8e3ad;font-size:.64rem}
.typing-dots{color:#8cf6f2;letter-spacing:1px;animation:blink 1.6s ease-in-out infinite}
@keyframes blink{50%{opacity:.38}}
.section-head{flex-wrap:wrap;gap:5px 12px}
#datetime{color:var(--muted);font-size:.75rem;font-variant-numeric:tabular-nums}
footer .footer-sms{background:#32598f}
footer .footer-channel{background:#236e6c}
footer button span{display:inline-block;margin-right:3px}
.contact-card{margin-top:14px;padding:15px;border:1px solid #546d8f;border-radius:14px;background:#244847}
.contact-card p{color:#d0efee}
.contact-card .action{display:inline-block}
.channel-card{background:#153b3a;border-color:#287270}

.typing em,.typing-notice em{color:#f5d482;font-style:italic}
.typing-notice{cursor:pointer;text-align:left}
.support-button{background:linear-gradient(110deg,#218380,#426daa);border-color:#95baef;box-shadow:0 3px 14px #0b1b31aa}
.support-button span{color:#9df6f3;margin-right:4px}
.sound-toggle{font-size:.78rem;padding-block:6px}
.transaction-notice{position:fixed;z-index:4;top:70px;left:50%;width:min(92vw,440px);transform:translateX(-50%);display:flex;align-items:flex-start;gap:8px;justify-content:space-between;background:#204b4a;border:1px solid #80a6dc;border-radius:15px;padding:12px;box-shadow:0 12px 35px #0008;animation:notice-drop .35s ease-out}
.transaction-notice strong{color:#f8e2ab;font-size:.8rem}
.transaction-notice p{line-height:1.45;margin:5px 0 0;font-size:.92rem}
.transaction-notice button{padding:3px 9px}
@keyframes notice-drop{from{transform:translate(-50%,-24px);opacity:0}}

.country-flag{display:inline-block;width:22px;height:16px;object-fit:contain;vertical-align:middle;margin-right:3px}

.chat-online{display:flex;margin-top:5px;font-weight:600}
.send-message{flex:0 0 44px;min-height:44px;display:grid;place-items:center;padding:0;border-radius:50%}
.compose input{min-width:0}
.finish-practice{margin-top:10px;font-size:.82rem}
#chat-notice{position:fixed;inset:0;margin:auto;width:min(90vw,400px);max-height:88dvh;text-align:center;background:#f9fffe;color:#173d3c;border:1px solid #e0f4f3;border-radius:22px;padding:24px;box-shadow:0 22px 65px #06313077}
#chat-notice::backdrop{background:#0c272686}
#chat-notice .notice-close{position:absolute;top:10px;right:10px;background:transparent;border:0;font-size:1.25rem;padding:6px 10px}
.notice-symbol{display:grid;place-items:center;margin:auto;width:48px;height:48px;border-radius:15px;background:#0a7774;color:#fff;font-size:1.5rem;font-weight:800}
#chat-notice h2{font-size:1.2rem;margin:12px 0 8px}
#chat-notice .notice-label{background:#fbeece;color:#684d08;border-radius:10px;padding:8px;font-weight:700}
#chat-notice p{font-size:.9rem;line-height:1.5;margin:10px 0}
#chat-notice .action,#resume-chat{display:block;width:100%;margin-top:9px}
#chat-notice .action{background:#0a7774;border-color:#0a7774}
#resume-chat{background:#edf9f9;color:#244b4a;border-color:#cfebea}

.wallet{background:#10302f;border-color:#3b7371;gap:8px;padding:8px}
.wallet-income,.wallet-balance{min-width:0;border-radius:11px;padding:9px 8px;background:#205957;color:#dcfcfb}
.wallet-balance{background:#153b3a;color:#bff8f6}
.wallet-income small,.wallet-balance small{color:inherit}
.wallet-withdraw,.gold-action,footer .footer-sms,footer .footer-channel{background:linear-gradient(110deg,#58471c,#352b10);border-color:#a88b43;color:#f8e3ac}
footer .footer-sms,footer .footer-channel{animation:hop 5s infinite}
.card .start-chat{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#f8e3ac;background:#2d281b;border-color:#9e833f}
.start-icon{display:inline-grid;place-items:center;width:25px;height:23px;border-radius:7px;background:linear-gradient(90deg,#26918d,#456ea7,#446aa0,#317c7a,#91701e,#26918d);background-size:240% 100%;animation:chat-colors 4s linear infinite}
@keyframes chat-colors{from{background-position:100% 0}to{background-position:0 0}}
.chat-locked{margin-top:12px;padding:12px;border:1px solid #927d48;border-radius:12px;background:#342b30;color:#fae9bd;font-size:.88rem}
.chat-locked p{margin:0 0 10px}
.chat-locked .action{display:inline-block}

.practice-note{margin:8px 0 0;color:var(--muted);font-size:.81rem}
.withdraw-notice{position:fixed;inset:0;margin:auto;width:min(88vw,440px);max-height:88dvh;box-sizing:border-box;text-align:center;background:#fff;color:#183534;border:1px solid #e1eeee;border-radius:26px;padding:28px 22px;box-shadow:0 22px 65px #07363470}
.withdraw-notice::backdrop{background:#254342a8;backdrop-filter:blur(4px)}
.withdraw-notice .notice-close{position:absolute;right:12px;top:10px;background:transparent;color:#537675;border:0;font-size:1.25rem}
.withdraw-notice .notice-symbol{background:#ccf5f4;color:#0a7774}
.withdraw-notice h2{font-size:1.25rem;margin:18px 0 14px}
.withdraw-summary{display:grid;gap:5px;background:#f4fafa;border:1px solid #e0eeee;border-radius:15px;padding:12px}
.withdraw-summary small{color:#527473;font-weight:700}
.withdraw-summary strong{color:#0a7774;font-size:1.55rem}
.withdraw-notice p{color:#496a69;font-size:.9rem;line-height:1.5;margin:15px 0}
.withdraw-notice .action,.withdraw-notice #withdraw-home{display:block;width:100%;margin-top:10px}
.withdraw-notice .withdraw-register{background:#0a7774;color:#fff;border-color:#0a7774}
.withdraw-notice #withdraw-home{background:#edf8f8;color:#264a49;border-color:#cfe8e7}

/* Webchati: palette from the supplied video; original Luganochat geometry. */
:root{background:#0a1729;color:#f4f9ff;--surface:#142840;--muted:#bacddd;--line:#304b65}
body{background:radial-gradient(ellipse 700px 460px at 50% 35px,#183c55 0%,transparent 100%);font-weight:600}
header,footer{background:#0c1d32f5}.logo{color:#ecf5ff;animation:none;font-weight:850!important}.logo span+span{color:#39d5ca}
.hero{background:linear-gradient(145deg,#142f4b,#0d2138);border-color:#31536d}.hero h1{font-weight:850}
button,.action{font-weight:750}.register{background:linear-gradient(100deg,#173953,#124644,#142d49);border-color:#46c9bd}.register span{color:#f5d688;animation:none}
.card{background:linear-gradient(145deg,#172f49,#10243c)}.profile-head strong{font-weight:800}.primary{background:linear-gradient(110deg,#126d78,#147d78);border-color:#43cbbb;color:#fff}
select,input{background:#0b1c30;font-weight:650}select{appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath d='m2 2 5 5 5-5' stroke='%239dcacb' fill='none' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}
footer button,footer a{animation:none!important}footer .footer-channel{background:#115f60;border-color:#3cc7ba}footer .footer-sms{background:#193a61;border-color:#4d7398}
.support-button{background:linear-gradient(110deg,#173e68,#125959);border-color:#4ea4b1}.wallet-withdraw{background:#164d61;border-color:#54b9bd;color:#fff}
.example-badge{display:inline-block;padding:5px 9px;border:1px solid #a98b47;border-radius:6px;color:#f8dea2;font-size:12px;font-weight:800;margin-top:12px}
.account-notification{text-align:left;padding-right:50px}.owner-greeting{font-weight:850;color:#eef8ff}.active-account{background:#124944;color:#c4fff2}.active-account small{font-weight:850}
@media(max-width:480px){.section-head h2{font-size:.88rem}.hero h1{font-size:1.4rem}}
