:root{color-scheme:dark;font-family:system-ui,sans-serif;background:#0b0d1d;color:#f3f3ff;--muted:#b1b6d3;--line:#363b60;--surface:#171b35}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#2a2454,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:#10132bf2;border-bottom:1px solid var(--line)}
.logo{font-size:1.65rem;letter-spacing:-.05em;color:#e2a9ff;animation:hue 12s linear infinite}.logo span+span{color:#76eeed}
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:#242949;text-decoration:none;font-weight:650}button:hover,a:hover{filter:brightness(1.18)}:focus-visible{outline:2px solid #89ffed;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:#ffedbc;background:#372e33;border:1px solid #6e5a4c;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:#a5f5ec}.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:#9df4ce;display:inline-flex;align-items:center;gap:6px}.status i{width:7px;height:7px;background:#73ffba;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:#271b49;border-color:#7150b3}.register span{display:inline-block;color:#fbc5ff;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:#d6b9ff}select,input{width:100%;padding:9px;border:1px solid var(--line);border-radius:9px;background:#0e1227;color:inherit;font:inherit}select{font-size:.78rem}.primary{background:#6742c6;border-color:#a183ed;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:#10132bf2}footer a,footer button{font-size:clamp(.7rem,3.2vw,.95rem);background:#49328f;animation:hue 18s steps(10) infinite,hop 5s infinite}footer button{background:#236e63;animation-delay:.35s}
dialog{width:min(94vw,540px);max-height:88dvh;background:#151a32;color:inherit;border:1px solid #545d8d;border-radius:20px;padding:16px}dialog::backdrop{background:#060817cc}.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:#242949;border-radius:12px;max-width:90%;overflow-wrap:anywhere}.mine{justify-self:end;background:#4c348e}.compose{display:flex;gap:6px}.actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.wa{background:#146042}.sms{background:#263f86}
@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 #73ffba00}0%{box-shadow:0 0 0 0 #73ffba80}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important}}

body{background:radial-gradient(ellipse 700px 460px at 50% 35px,#292550 0%,transparent 100%)}
header{min-height:62px}
.logo{animation-timing-function:steps(15,end)}
.notice{display:flex;align-items:center;gap:9px;background:#232642;border-color:#46496e;color:#e3e4ff}
.notice strong{flex:none;padding:4px 7px;border-radius:6px;background:#e7c980;color:#251a32;font-size:.71rem;letter-spacing:.08em}
.hero{margin:12px 0;padding:25px 12px;background:linear-gradient(145deg,#26214a,#141b37);border:1px solid #403d67;border-radius:20px}
.wallet{padding:14px}
.register{background:linear-gradient(100deg,#302054,#463076,#251c47);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,#1d2242,#14182f);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:#272140;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%,#9770ff 79%,#e8deff 83%,#6af2dc 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:#272140}
.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:#33234e;border:1px solid #7955aa;border-radius:10px;color:#f5eaff;font-size:.75rem}
.typing-notice small{color:#ffe6a6;font-size:.64rem}
.typing-dots{color:#83ffe8;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:#49328f}
footer .footer-channel{background:#236e63}
footer button span{display:inline-block;margin-right:3px}
.contact-card{margin-top:14px;padding:15px;border:1px solid #65548f;border-radius:14px;background:#242948}
.contact-card p{color:#d0d3ef}
.contact-card .action{display:inline-block}
.channel-card{background:#153b3a;border-color:#287267}

.typing em,.typing-notice em{color:#ffd078;font-style:italic}
.typing-notice{cursor:pointer;text-align:left}
.support-button{background:linear-gradient(110deg,#214d83,#6242aa);border-color:#a195ef;box-shadow:0 3px 14px #120b31aa}
.support-button span{color:#9df6e4;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:#20254b;border:1px solid #8e80dc;border-radius:15px;padding:12px;box-shadow:0 12px 35px #0008;animation:notice-drop .35s ease-out}
.transaction-notice strong{color:#ffe0a4;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:#f9fbff;color:#17233d;border:1px solid #e0e9f4;border-radius:22px;padding:24px;box-shadow:0 22px 65px #060e3177}
#chat-notice::backdrop{background:#0c142786}
#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:#087957;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:#fff1ca;color:#704700;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:#087957;border-color:#087957}
#resume-chat{background:#edf2f9;color:#24324b;border-color:#cfdaeb}

.wallet{background:#101d30;border-color:#3b5573;gap:8px;padding:8px}
.wallet-income,.wallet-balance{min-width:0;border-radius:11px;padding:9px 8px;background:#203559;color:#d9eaff}
.wallet-balance{background:#153b38;color:#bff8e1}
.wallet-income small,.wallet-balance small{color:inherit}
.wallet-withdraw,.gold-action,footer .footer-sms,footer .footer-channel{background:linear-gradient(110deg,#58401c,#352710);border-color:#a88343;color:#ffe4a5}
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:#ffe4a5;background:#2d231b;border-color:#9e783f}
.start-icon{display:inline-grid;place-items:center;width:25px;height:23px;border-radius:7px;background:linear-gradient(90deg,#265a91,#6e45a7,#a04477,#317c60,#91621e,#265a91);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 #927048;border-radius:12px;background:#342b30;color:#ffe6b8;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:#182235;border:1px solid #e1e7ee;border-radius:26px;padding:28px 22px;box-shadow:0 22px 65px #071a3670}
.withdraw-notice::backdrop{background:#253043a8;backdrop-filter:blur(4px)}
.withdraw-notice .notice-close{position:absolute;right:12px;top:10px;background:transparent;color:#536176;border:0;font-size:1.25rem}
.withdraw-notice .notice-symbol{background:#ccf5e5;color:#087957}
.withdraw-notice h2{font-size:1.25rem;margin:18px 0 14px}
.withdraw-summary{display:grid;gap:5px;background:#f4f7fa;border:1px solid #e0e7ee;border-radius:15px;padding:12px}
.withdraw-summary small{color:#526074;font-weight:700}
.withdraw-summary strong{color:#087957;font-size:1.55rem}
.withdraw-notice p{color:#49566a;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:#087957;color:#fff;border-color:#087957}
.withdraw-notice #withdraw-home{background:#edf2f8;color:#26354a;border-color:#cfdbe8}
