:root{--accent:#3468ca;--muted:#7f838b;--line:#e8e9ec;color:#202329;background:#eff0f2;color-scheme:light}
body{background:#eff0f2}.app{background:#fff;box-shadow:none}.sidebar{background:#f6f7f8;border-color:#e5e7eb}.conversation{background:#fff}.chat-header{background:#fff;border-color:#eceef1}.messages{background:#fff;background-image:none}.bubble{background:#f0f2f5;border:0;box-shadow:none;color:#262b34;border-radius:18px 18px 18px 5px}.mine .bubble{background:#e6edf9;color:#243d64;border:0;border-radius:18px 18px 5px 18px}.message time{color:#969ba5}.message .sender{color:#697b96}.general{background:#e8edf5;border-radius:18px;color:#273e62;padding:18px 16px}.general:hover{background:#e1e8f3;transform:none}.general strong{font-size:16px;letter-spacing:0}.general small{color:#7c899e}.general-avatar,.chat-header .avatar{background:#dfe7f2;color:#4f6d99;border-radius:50%}.avatar{border-radius:50%;background:#e1e5eb;color:#64738a}.friend{border-radius:15px;padding:14px 9px}.friend strong{font-weight:550;font-size:16px;color:#2c3038}.friend:hover{background:#eceef1}.friend.active{background:#e7ebf1;box-shadow:none}.friend:nth-child(n) .avatar{background:#e1e6ec;color:#617186}.friends-heading{color:#979ca5;font-size:12px;letter-spacing:.4px}.sidebar input{background:#e9ebee;color:#414750;border-radius:12px}.sidebar input::placeholder{color:#969da6}.sidebar>.text-button{color:#6c7c94}.text-button{color:#5876a5}.badge{background:#567bb7}.composer{background:#fff;border-color:#f0f1f3}.composer textarea{background:#f0f2f5;border-radius:19px;color:#2f3743}.composer textarea:focus{background:#f5f6f8;border-color:#b9cbea}.composer textarea::placeholder{color:#9ba1aa}.composer .icon{color:#88919e}.send{background:#5479b9;color:white;box-shadow:none}.primary{background:#5479b9;color:white}.toast{background:#39475b;box-shadow:0 6px 24px #15203220}.profile-header{position:relative!important;display:block!important;height:102px;margin-bottom:25px!important;padding:0!important}.self-avatar{height:78px;width:78px;font-size:29px;background:#dce3ed}.profile-gear{position:absolute;left:89px;bottom:3px;min-width:37px!important;min-height:37px!important;border:0!important;border-radius:12px!important;background:#e8ebef!important;color:#737f91!important;font-size:22px}.group-icon{display:block;position:relative;width:25px;height:19px;border:2px solid currentColor;border-radius:6px;background:transparent}.group-icon:before{content:"";position:absolute;width:18px;height:14px;border:2px solid currentColor;border-radius:5px;left:-8px;top:-8px;background:#e8edf5}.group-icon:after{content:"";position:absolute;bottom:-5px;right:3px;width:6px;height:6px;background:inherit;border-right:2px solid currentColor;transform:skewY(-35deg)}.chat-header .group-icon:before{background:#dfe7f2}.receive-avatar{width:29px!important;height:29px!important;min-width:29px;border:0;font-size:12px;margin-right:1px;box-shadow:none}.chat-header{gap:9px}.chat-header .chat-heading{min-width:0}.chat-heading h2{font-size:17px;font-weight:600;letter-spacing:0}.chat-heading span{color:#91a08e}.throw-picker{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:48px!important;min-height:48px;color:#5274a9!important;background:#eaf0f8;border:0;border-radius:14px;font-size:26px;line-height:1}.throw-picker small{font-size:9px;font-weight:600;line-height:1.1;letter-spacing:0}.emoji-dock{background:#fff;border:1px solid #e1e5ec;box-shadow:0 14px 45px #1f30472a;border-radius:20px;padding:18px 14px;top:calc(90px + env(safe-area-inset-top))}.emoji-choice{position:relative;background:#f4f5f7;border:0;border-radius:14px;overflow:visible;transition:background .2s;transform-origin:center}.emoji-choice:hover{background:#e9edf4;transform:none}.emoji-choice.charging{background:#e1e9f6;box-shadow:0 0 0 2px #93abd140;transform:scale(1.2) rotate(var(--tilt,0deg));transition:transform .13s ease-in-out,background .2s}.hold-count{position:absolute;left:50%;bottom:calc(100% + 7px);transform:translateX(-50%);color:#fff;background:#4a6eaa;min-width:28px;padding:4px 8px;border-radius:12px;font-family:ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;font-size:20px;font-weight:850;line-height:1;box-shadow:0 3px 12px #23457820;pointer-events:none}.flying-emoji{left:0;top:0;font-size:65px;filter:drop-shadow(0 8px 10px #1d263124)}.flying-emoji.incoming-throw{font-size:145px}.sent-batch{position:absolute;transform:translate(-50%,-50%);font-family:ui-rounded,system-ui,sans-serif;font-size:18px;font-weight:750;background:#f0f4fc;color:#4e6d9c;padding:7px 12px;border-radius:16px;animation:batch-result 1.2s both}@keyframes batch-result{0%{opacity:0;transform:translate(-50%,-30%) scale(.8)}25%{opacity:1;transform:translate(-50%,-50%) scale(1)}75%{opacity:1}100%{opacity:0;transform:translate(-50%,-100%) scale(.95)}}dialog{background:#fff;color:#333943;border:1px solid #f8f9fa;box-shadow:0 20px 70px #1d263128;border-radius:23px}dialog::backdrop{background:#111c2e38;backdrop-filter:blur(8px)}dialog h2{font-size:23px;font-weight:650;letter-spacing:-.4px}dialog p{color:#8a93a0}.switch-row{color:#535e6e}.switch-row input{accent-color:#5479b9}.close{color:#929aa6}.profile-photo{display:block;position:relative;width:102px;height:102px;margin:0 auto 25px;padding:0;background:none;border:0;border-radius:50%}.profile-photo .avatar{width:102px;height:102px;font-size:35px;background:#e2e8f0}.photo-edit{position:absolute;right:0;bottom:0;background:#5479b9;border:3px solid #fff;color:#fff;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-size:18px}.profile-name-row{display:flex;align-items:center;gap:8px;margin:8px 0 18px}.profile-name-row input{width:100%;min-width:0;background:#f3f5f7;border:1px solid #e7ebf0;border-radius:12px;font-size:16px;padding:12px;color:#343e4c}.profile-name-row .primary{width:auto;margin:0;font-size:13px;min-height:45px;padding:12px}.profile-name-row+button{width:100%}#profileForm label{font-size:13px;color:#8b94a1}#settings #logout{display:block;color:#bf6666;margin:8px auto 0}#adminStats>div{border-color:#edf0f3}#adminStats span{color:#8a94a1}.danger-action{background:#fcf0ef;color:#bd5b56;border-radius:13px;padding:14px 18px;width:100%}.record-panel{background:#edf1f7;color:#58739b}.record-panel button{background:#fff;color:#667fa4}.message,.friend,.general{-webkit-touch-callout:none}.message.mine{-webkit-user-select:none;user-select:none}.auth{background:#f1f3f6}.auth-card{background:#fff;border:1px solid #fff;box-shadow:0 15px 50px #20304b09;border-radius:26px}.brand-mark{background:#e4ebf5;color:#6680aa}.auth h1{color:#33435b}.auth p{color:#919bac}.auth label{color:#7f8b9f}.auth input{background:#f3f5f8;border-color:#e7ebf0;color:#3d4e67}@media(max-width:700px){.profile-header{height:102px!important}.chat-header{padding-left:9px;padding-right:12px;gap:7px}.chat-header .avatar:not(.receive-avatar){width:40px;height:40px}.chat-heading h2{font-size:16px}.chat-header .back{min-width:27px}.emoji-dock{right:10px;top:calc(86px + env(safe-area-inset-top))}.receive-avatar{width:27px!important;height:27px!important;min-width:27px}.throw-picker{min-width:45px!important}.flying-emoji.incoming-throw{font-size:130px}}
