:root{color-scheme:dark;font-family:system-ui,sans-serif;background:#091b37;color:#f0f7ff;--muted:#a6c4ff;--line:#253b5c;--surface:#091b37}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#16243d,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:#091b37f2;border-bottom:1px solid var(--line)}
.logo{font-size:1.65rem;letter-spacing:-.05em;color:#a6c4ff;animation:hue 12s linear infinite}.logo span+span{color:#c2d9fc}
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:#16243d;text-decoration:none;font-weight:650}button:hover,a:hover{filter:brightness(1.18)}:focus-visible{outline:2px solid #d5e6ff;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:#f0f7ff;background:#253b5c;border:1px solid #426397;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:#d5e6ff}.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:#d5e6ff;display:inline-flex;align-items:center;gap:6px}.status i{width:7px;height:7px;background:#c2d9fc;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:#16243d;border-color:#426397}.register span{display:inline-block;color:#c2d9fc;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:#253b5c;font-weight:800}.meta{font-size:.78rem;margin-top:4px}.typing{min-height:1em;font-size:.74rem;color:#a6c4ff}select,input{width:100%;padding:9px;border:1px solid var(--line);border-radius:9px;background:#091b37;color:inherit;font:inherit}select{font-size:.78rem}.primary{background:#354c74;border-color:#7894fa;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:#091b37f2}footer a,footer button{font-size:clamp(.7rem,3.2vw,.95rem);background:#253b5c;animation:hue 18s steps(10) infinite,hop 5s infinite}footer button{background:#426397;animation-delay:.35s}
dialog{width:min(94vw,540px);max-height:88dvh;background:#091b37;color:inherit;border:1px solid #426397;border-radius:20px;padding:16px}dialog::backdrop{background:#091b37cc}.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:#16243d;border-radius:12px;max-width:90%;overflow-wrap:anywhere}.mine{justify-self:end;background:#253b5c}.compose{display:flex;gap:6px}.actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.wa{background:#354c74}.sms{background:#253b5c}
@keyframes hue{to{filter:none}}@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 #c2d9fc00}0%{box-shadow:0 0 0 0 #c2d9fc80}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important}}

body{background:radial-gradient(ellipse 700px 460px at 50% 35px,#16243d 0%,transparent 100%)}
header{min-height:62px}
.logo{animation-timing-function:steps(15,end)}
.notice{display:flex;align-items:center;gap:9px;background:#16243d;border-color:#354c74;color:#d5e6ff}
.notice strong{flex:none;padding:4px 7px;border-radius:6px;background:#a6c4ff;color:#16243d;font-size:.71rem;letter-spacing:.08em}
.hero{margin:12px 0;padding:25px 12px;background:linear-gradient(145deg,#16243d,#091b37);border:1px solid #253b5c;border-radius:20px}
.wallet{padding:14px}
.register{background:linear-gradient(100deg,#16243d,#253b5c,#16243d);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,#16243d,#091b37);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:#16243d;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%,#618afc 79%,#d5e6ff 83%,#c2d9fc 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:#16243d}
.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:#16243d;border:1px solid #426397;border-radius:10px;color:#f0f7ff;font-size:.75rem}
.typing-notice small{color:#d5e6ff;font-size:.64rem}
.typing-dots{color:#d5e6ff;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:#253b5c}
footer .footer-channel{background:#426397}
footer button span{display:inline-block;margin-right:3px}
.contact-card{margin-top:14px;padding:15px;border:1px solid #426397;border-radius:14px;background:#16243d}
.contact-card p{color:#c2d9fc}
.contact-card .action{display:inline-block}
.channel-card{background:#253b5c;border-color:#426397}

.typing em,.typing-notice em{color:#c2d9fc;font-style:italic}
.typing-notice{cursor:pointer;text-align:left}
.support-button{background:linear-gradient(110deg,#354c74,#354c74);border-color:#7894fa;box-shadow:0 3px 14px #091b37aa}
.support-button span{color:#d5e6ff;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:#16243d;border:1px solid #618afc;border-radius:15px;padding:12px;box-shadow:0 12px 35px #0008;animation:notice-drop .35s ease-out}
.transaction-notice strong{color:#d5e6ff;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:#f0f7ff;color:#16243d;border:1px solid #d5e6ff;border-radius:22px;padding:24px;box-shadow:0 22px 65px #091b3777}
#chat-notice::backdrop{background:#091b3786}
#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:#426397;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:#f0f7ff;color:#354c74;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:#426397;border-color:#426397}
#resume-chat{background:#f0f7ff;color:#253b5c;border-color:#c2d9fc}

.wallet{background:#091b37;border-color:#354c74;gap:8px;padding:8px}
.wallet-income,.wallet-balance{min-width:0;border-radius:11px;padding:9px 8px;background:#253b5c;color:#d5e6ff}
.wallet-balance{background:#253b5c;color:#d5e6ff}
.wallet-income small,.wallet-balance small{color:inherit}
.wallet-withdraw,.gold-action,footer .footer-sms,footer .footer-channel{background:linear-gradient(110deg,#354c74,#16243d);border-color:#618afc;color:#d5e6ff}
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:#d5e6ff;background:#16243d;border-color:#618afc}
.start-icon{display:inline-grid;place-items:center;width:25px;height:23px;border-radius:7px;background:linear-gradient(90deg,#354c74,#354c74,#426397,#4f71b1,#4f71b1,#354c74);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 #4f71b1;border-radius:12px;background:#16243d;color:#d5e6ff;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:#16243d;border:1px solid #d5e6ff;border-radius:26px;padding:28px 22px;box-shadow:0 22px 65px #091b3770}
.withdraw-notice::backdrop{background:#253b5ca8;backdrop-filter:blur(4px)}
.withdraw-notice .notice-close{position:absolute;right:12px;top:10px;background:transparent;color:#426397;border:0;font-size:1.25rem}
.withdraw-notice .notice-symbol{background:#d5e6ff;color:#426397}
.withdraw-notice h2{font-size:1.25rem;margin:18px 0 14px}
.withdraw-summary{display:grid;gap:5px;background:#f0f7ff;border:1px solid #d5e6ff;border-radius:15px;padding:12px}
.withdraw-summary small{color:#426397;font-weight:700}
.withdraw-summary strong{color:#426397;font-size:1.55rem}
.withdraw-notice p{color:#354c74;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:#426397;color:#fff;border-color:#426397}
.withdraw-notice #withdraw-home{background:#f0f7ff;color:#253b5c;border-color:#c2d9fc}
