:root{color-scheme:dark;--bg:#141218;--panel:#211e27;--muted:#cbc3d1;--accent:#d0bcff;--border:#45404d;--primary:#4f378b;font-family:Roboto,system-ui,-apple-system,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0;background:#0c0b10;color:#f2edf5;min-height:100dvh}button,input,textarea,select{font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;color:inherit;background:var(--panel);border:1px solid var(--border);border-radius:22px;padding:10px 16px;min-height:44px}button:hover{border-color:var(--accent)}button:disabled{opacity:.5;cursor:default}.primary{background:var(--accent);color:#381e72;font-weight:700;border-color:transparent}.danger{color:#ffb4ab}.icon{width:24px;height:24px;flex-shrink:0}.iconbutton{border:0;background:none;padding:8px;width:44px;border-radius:50%}input,textarea,select{width:100%;background:#1a1720;color:inherit;border:1px solid var(--border);padding:12px;border-radius:12px;margin:7px 0 16px}textarea{min-height:100px}label{display:block;color:var(--muted)}input[type=checkbox]{width:auto}a{color:var(--accent);overflow-wrap:anywhere}h1,h2,h3{line-height:1.2}p{line-height:1.5;color:var(--muted)}[hidden]{display:none!important}.full{width:100%}.loading{padding:30px}.login{max-width:440px;margin:auto;min-height:100dvh;display:flex;flex-direction:column;justify-content:center;padding:28px;text-align:center;background:var(--bg)}.login>img{width:180px;height:180px;object-fit:contain;margin:0 auto}.login h1{font-size:34px;color:var(--accent);font-weight:500}.login button{margin-top:14px}.legal{font-size:12px;line-height:1.8;margin:24px 0}.shell{max-width:960px;display:grid;grid-template-columns:220px minmax(0,1fr);margin:auto;min-height:100dvh;background:var(--bg)}.sidebar{position:sticky;top:0;height:100dvh;padding:30px 16px;border-right:1px solid #29242f;background:#1d1924}.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:17px}.brand img{width:44px;height:44px;object-fit:contain}.sidebar nav{display:grid;gap:12px;margin-top:40px}.sidebar nav button{justify-content:flex-start;border:0;padding:12px 18px;background:none}.sidebar nav .active{background:var(--primary);color:var(--accent)}.content{padding:0 20px 32px;min-width:0}.top{height:74px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 -20px 8px;padding:0 20px;background:var(--bg);position:sticky;top:0;z-index:5}.top h1{font-size:23px;font-weight:500;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.headeractions{display:flex;align-items:center;gap:3px}.balance{background:#28202f;border:0;padding:7px 10px;min-height:36px;font-size:12px;color:#f6d76a;max-width:150px}.coinvalue{display:inline-flex;gap:5px;align-items:center;white-space:nowrap}.coinvalue img{width:20px;height:20px;object-fit:contain}.sectionlabel{display:flex;justify-content:space-between;align-items:center;color:#a69bad;font-size:11px;letter-spacing:1.3px;min-height:36px}.live-dot{height:7px;width:7px;background:#6ed795;border-radius:50%;box-shadow:0 0 9px #6ed79566}.toolbar,.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.toolbar{justify-content:space-between;margin:12px 0}.toolbar button{font-size:12px;padding:8px 10px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.card{border:0;border-radius:16px;padding:18px;background:var(--panel)}.card h3{margin:0 0 10px}.small{font-size:12px;color:var(--muted)}.empty,.empty-state{padding:48px 16px;text-align:center;color:var(--muted);width:100%}.empty-state{min-height:58dvh;display:flex;flex-direction:column;align-items:center;justify-content:center}.empty-state h2{font-size:18px;font-weight:500;margin:22px 0 0}.empty-state p{font-size:13px;line-height:1.7;max-width:260px}.empty-icon{width:86px;height:86px;border-radius:50%;display:grid;place-items:center;background:#292233;color:#a18bbd}.empty-icon svg{width:38px;height:38px}.compact{min-height:130px;padding:24px}.fab{position:fixed;bottom:100px;margin-left:min(470px,calc(100vw - 100px));width:58px;height:58px;padding:0;border-radius:16px;background:var(--accent);color:#381e72;border:0;box-shadow:0 5px 16px #0005;z-index:6}.roomlist{display:grid;gap:10px;padding-bottom:80px}.roomcard{height:148px;position:relative;display:block;overflow:hidden;border:0;padding:0;border-radius:13px;background:var(--primary);text-align:left}.roomphotos{position:absolute;inset:0;display:flex}.roomphoto{width:0;min-width:0;flex:1;height:100%;object-fit:cover}.roomshade{position:absolute;inset:0;background:linear-gradient(0deg,#000c,transparent 80%)}.roominfo{position:absolute;left:16px;bottom:14px}.roominfo h3{font-size:18px;margin:0 0 6px}.roominfo span{font-size:12px;color:#eee}.roomlive{position:absolute;top:12px;right:12px;background:#131019b3;border-radius:20px;padding:5px 9px;font-size:10px;color:#b9edc6}.avatar{width:64px;height:64px;border-radius:50%;object-fit:cover;background:var(--primary)}.seats{display:flex;flex-wrap:wrap;justify-content:center;gap:18px 12px;margin:32px 0 22px;min-height:170px;align-items:center}.seat{border:0;background:none;display:flex;flex-direction:column;gap:5px;padding:0;max-width:100px;font-size:12px}.seat:hover{background:none}.seatportrait{position:relative;width:76px;height:76px;display:grid;place-items:center;border-radius:50%;background:#4f378b;border:2px solid #8871ad}.seatavatar{width:100%;height:100%;object-fit:cover;border-radius:50%}.seats[data-count='1'] .seatportrait{width:144px;height:144px}.seats[data-count='1'] .seat{max-width:160px}.seats[data-count='2'] .seatportrait{width:110px;height:110px}.seats[data-count='2'] .seat{max-width:118px}.seat strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-weight:500}.seat small{font-size:10px;color:#b5aac2}.vacant .seatportrait{border-style:dashed;background:#30243e;color:#d0bcff}.seatmic{position:absolute;bottom:-3px;right:-1px;background:#17141d;border:1px solid #817094;border-radius:50%;width:25px;height:25px;display:grid;place-items:center}.seatmic svg{height:14px;width:14px}.participant{display:flex;flex-direction:column;border:0;background:none;padding:4px;gap:3px;font-size:10px;max-width:62px}.participant .avatar{width:30px;height:30px}.participant span{max-width:58px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#participants{flex-wrap:nowrap;overflow:auto}.voicebar{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;background:#262032;border-radius:12px;padding:8px 10px}.voicebar p{font-size:11px;margin:0}.voicebar button{font-size:11px;min-height:32px;padding:4px 8px;border:0}.chat{max-height:40dvh;min-height:180px;overflow:auto;padding:12px 2px;margin:10px 0;scrollbar-width:thin}.msg{margin-bottom:14px;overflow-wrap:anywhere}.msg b{color:var(--accent);font-size:12px;font-weight:500}.msg .body{white-space:pre-wrap;margin:4px 0;font-size:14px}.compose{display:flex;gap:6px;align-items:center;background:#292333;border-radius:26px;padding:4px}.compose input{margin:0;min-width:0;border:0;background:none;padding:10px 14px}.compose button{border-radius:22px;padding:8px 14px;min-height:38px}.tabs{display:flex;margin:0 -20px 20px;border-bottom:1px solid #3a3442}.tabs button{flex:1;background:none;border:0;border-radius:0;color:var(--muted);font-size:14px;padding:16px 8px;position:relative}.tabs .active{color:var(--accent)}.tabs .active:after{content:'';position:absolute;bottom:0;left:25%;right:25%;height:3px;border-radius:4px;background:var(--accent)}.walletbalance{padding:26px 22px;background:#4f378b;border-radius:16px;min-height:150px}.walletbalance p{font-size:14px;margin:0;color:#eaddff}.walletbalance h2{font-size:34px;font-weight:600;margin:14px 0;color:#f1e8ff;overflow-wrap:anywhere}.walletbalance .coinvalue img{width:42px;height:42px}.walletbalance>span{font-size:11px;color:#d3c3eb}.beans{background:#553e49;margin-bottom:18px}.beans h2 span{font-size:16px}.walletactions{margin:20px 0;background:var(--panel);border-radius:16px;overflow:hidden}.walletactions button{width:100%;justify-content:flex-start;background:none;border:0;border-radius:0;padding:17px 18px;border-bottom:1px solid #ffffff08}.walletactions button>.icon{color:var(--accent);margin-right:10px}.walletactions button>span{text-align:left;flex:1}.walletactions small,.transaction small{display:block;margin-top:4px;color:#a79aae;font-size:11px}.walletactions b{font-size:22px;color:#b4a7c1}.sectionheading{font-size:16px;font-weight:500;margin-top:25px}.transaction{display:flex;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid #ffffff0c;font-size:12px}.transaction>span{flex:1;min-width:0}.transaction strong{font-weight:500;overflow-wrap:anywhere}.transaction>b{font-size:11px;color:#dec68b;text-align:right}.profilecover{height:180px;background:linear-gradient(100deg,#6750a4,#7d5260);position:relative;margin:0 -20px}.profilecover>img{width:100%;height:100%;object-fit:cover}.profilestats{position:absolute;bottom:0;right:0;padding:10px 18px;background:#0006;display:flex;gap:22px}.profilestats span{text-align:center;font-size:10px;color:#eee}.profilestats b{display:block;font-size:17px;margin-bottom:3px}.profileidentity{position:relative;padding:54px 0 12px}.profileidentity>.avatar{position:absolute;top:-38px;left:0;width:84px;height:84px;border:4px solid var(--bg)}.profileidentity h2{font-size:23px;margin:4px 0 6px}.profileidentity p{margin:5px 0;font-size:13px}.editbutton{position:absolute;top:14px;right:0;font-size:12px;min-height:32px;padding:6px 12px;color:var(--accent)}.profilelinks{display:grid;gap:8px;margin:18px 0}.profilelinks>button{justify-content:space-between;border:0;border-radius:12px;min-height:60px;font-size:13px;padding:14px 16px}.profilelinks>.coinvalue{color:#f8d977}.profilelinks .icon{color:var(--accent)}.profilehero{display:flex;align-items:center;gap:16px}.giftgrid,.giftselect{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.gift{text-align:center;padding:10px 4px;font-size:11px;min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px}.gift img,.giftchoice img{width:58px;height:58px;object-fit:contain}.gift strong{font-size:11px}.gift .amount{color:#f6d66c;font-size:10px}.gift .coinvalue img,.giftchoice .coinvalue img{width:13px;height:13px}.giftchoice{position:relative;min-width:0}.giftchoice input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.giftchoice>span{display:flex;flex-direction:column;align-items:center;padding:9px 3px;border:1px solid transparent;background:#25212d;border-radius:10px;gap:5px;font-size:10px;cursor:pointer}.giftchoice input:checked+span{border-color:#d0bcff;background:#4f378b55}.giftchoice input:focus-visible+span{outline:2px solid #fff}.giftchoice strong{text-overflow:ellipsis;overflow:hidden;max-width:100%;white-space:nowrap}.giftchoice .coinvalue{color:#f6d66c;font-size:10px}.giftselect{max-height:47dvh;overflow:auto}.giftfooter{display:flex;gap:14px;align-items:center;padding-top:18px}.giftfooter label{flex:1;font-size:12px}.giftfooter input{margin-bottom:0}.giftfooter button{min-width:120px}.luckytitle{font-size:clamp(25px,7vw,36px);text-align:center;letter-spacing:1px;font-weight:900;background:linear-gradient(90deg,#ffd700,#ff6b00,#ff1744,#d500f9,#2979ff,#00e676);background-clip:text;color:transparent;margin:24px 0 14px}.wheelstage{position:relative;margin:auto;width:min(100%,440px);aspect-ratio:1}.wheel{position:absolute;inset:0;border:3px solid #7b6c3a;border-radius:50%;background:repeating-conic-gradient(from -15deg,#454439 0deg 29deg,#24221f 29deg 30deg);overflow:hidden}.wheelgift{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;width:21%;gap:2px;z-index:2}.wheelgift>img{width:clamp(24px,10vw,43px);height:clamp(24px,10vw,43px);object-fit:contain}.wheelgift .coinvalue{font-size:clamp(8px,2.4vw,11px);color:#f4df8c;gap:2px}.wheelgift .coinvalue img,.wheelcenter-gift .coinvalue img{width:11px;height:11px}.wheel-inner{position:absolute;inset:20%;border:2px solid #181820;border-radius:50%;background:#393944;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:10px 0;z-index:1}.wheelcenter-gift{display:flex;flex-direction:column;align-items:center;font-size:10px;color:#f4df8c}.wheelcenter-gift>img{width:42px;height:42px;object-fit:contain}.wheelhub{position:absolute;inset:36%;border-radius:50%;background:#11111c;z-index:3;display:grid;place-items:center;font-size:10px;color:#9d8a43;letter-spacing:1.5px}.wheelpointer{position:absolute;top:-2px;left:calc(50% - 9px);border-left:9px solid transparent;border-right:9px solid transparent;border-top:18px solid #e4ca7d;z-index:4}.wheel.spinning{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.wheel-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:18px 0}.wheel-buttons button{min-width:0;padding:15px 3px;border:0;border-radius:22px;display:flex;flex-direction:column;gap:9px;background:#42360955;color:#ffe051}.wheel-buttons button:nth-child(2){background:#08366766;color:#4d9aff}.wheel-buttons button:nth-child(3){background:#55006466;color:#e941ff}.wheel-buttons b{font-size:26px}.wheel-buttons small{font-size:11px;color:#b4aabd;letter-spacing:1px}.wheel-buttons>button>span{font-size:clamp(10px,3vw,13px);white-space:nowrap;color:inherit}.wheel-buttons .coinvalue{gap:3px}.wheel-buttons .coinvalue img{width:15px;height:15px}body[data-page=wheel] #view{background:#060606;border-radius:22px;padding:16px;margin-top:8px}dialog{background:#211e27;color:inherit;border:0;border-radius:24px;padding:20px;width:min(94vw,560px);max-height:88dvh;overflow:auto}dialog::backdrop{background:#000b}.dialogtop{display:flex;justify-content:space-between;align-items:center;gap:10px}.dialogtop h2{font-size:20px;margin:0}.dialogtop button{width:36px;min-height:36px;padding:0;border:0;background:none;font-size:20px}#notice{position:fixed;bottom:96px;left:50%;transform:translateX(-50%);z-index:20;border-radius:12px;background:#493649;padding:13px 18px;max-width:90vw;display:none;font-size:13px;box-shadow:0 5px 20px #0007}.support .card{margin-bottom:12px}.error{background:#782f2c;padding:14px;border-radius:12px;overflow-wrap:anywhere}.warning{background:#fff3e0;color:#b56217;padding:12px 16px;border-radius:8px;font-size:13px}.pill{padding:8px 12px;border-radius:20px}.stack{display:grid;gap:12px}.check{display:flex;gap:8px;align-items:start}.check input{margin-top:6px}.check label{line-height:1.6}.muted{color:var(--muted)}@media(max-width:700px){body{background:var(--bg)}.shell{display:block}.sidebar{position:fixed;bottom:0;top:auto;height:auto;width:100%;z-index:10;border-right:0;border-top:0;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#211c2b}.sidebar .brand{display:none}.sidebar nav{display:flex;justify-content:space-around;margin:0;gap:8px}.sidebar nav button{width:33.33%;display:flex;flex-direction:column;gap:3px;text-align:center;padding:3px;border-radius:0;background:none;font-size:11px;min-height:52px}.sidebar nav button .icon{width:60px;height:30px;padding:3px 18px;border-radius:18px}.sidebar nav .active{background:none;color:var(--accent)}.sidebar nav .active .icon{background:var(--primary)}.content{padding:0 16px 100px}.top{padding:0 16px;margin:0 -16px 8px;height:64px}.top h1{font-size:21px}.balance{font-size:11px;padding:6px 8px;max-width:140px}.balance img{width:17px;height:17px}.tabs{margin:0 -16px 18px}.profilecover{margin:0 -16px}.fab{right:20px;bottom:98px;margin:0}.giftgrid{grid-template-columns:repeat(4,minmax(0,1fr))}.toolbar button{font-size:11px}.seats{gap:18px 10px}.seats[data-count='2'] .seatportrait{width:100px;height:100px}.seats[data-count='3'] .seatportrait{width:84px;height:84px}.seats[data-count='4'] .seatportrait{width:66px;height:66px}.seats[data-count='4'] .seat{max-width:70px}.seats[data-count='5'] .seat,.seats[data-count='6'] .seat,.seats[data-count='7'] .seat,.seats[data-count='8'] .seat{max-width:70px}.seats[data-count='5'] .seatportrait,.seats[data-count='6'] .seatportrait,.seats[data-count='7'] .seatportrait,.seats[data-count='8'] .seatportrait{width:62px;height:62px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}

.conversation{justify-content:flex-start;background:none;border:0;border-bottom:1px solid #ffffff0d;border-radius:0;text-align:left;padding:16px 0;gap:14px}.conversation .avatar{width:50px;height:50px}.conversation>span{flex:1;min-width:0}.conversation strong{display:block;font-size:14px;font-weight:500}.conversation small{display:block;margin-top:7px;color:#b9afc5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
/* Theme, sky and social features */
html[data-theme=light]{color-scheme:light;--bg:#fff8ff;--panel:#f0e9f5;--muted:#615866;--accent:#6750a4;--border:#d5cbdc;--primary:#eaddff}html[data-theme=light] body{color:#241c2b;background:#fff8ff}html[data-theme=light] .sidebar{background:#f0e9f5}html[data-theme=light] input,html[data-theme=light] textarea,html[data-theme=light] select{background:#fffaff}html[data-theme=light] .primary,html[data-theme=light] .fab{background:#6750a4;color:white}html[data-theme=light] .balance{background:#efe2c6;color:#5f4512}html[data-theme=light] .walletbalance{background:#eaddff}html[data-theme=light] .walletbalance h2,html[data-theme=light] .walletbalance p,html[data-theme=light] .walletbalance>span{color:#381e72}html[data-theme=light] .beans{background:#f4dce5}html[data-theme=light] .empty-icon{background:#eaddff;color:#6750a4}html[data-theme=light] .voicebar{background:#eaddff}html[data-theme=light] .seatportrait{background:#eaddff}html[data-theme=light] .compose,html[data-theme=light] .giftchoice>span{background:#f0e9f5}html[data-theme=light] dialog{background:#fff8ff}html[data-theme=light] .top{background:#fff8fff2}html[data-theme=light] .profileidentity>.avatar{border-color:#fff8ff}html[data-theme=light] .sectionlabel{color:#66576f}html[data-theme=light] .small,html[data-theme=light] .conversation small,html[data-theme=light] .transaction small,html[data-theme=light] .walletactions small{color:#615866}html[data-theme=light] .profilecover,html[data-theme=light] .roomcard{color:white}html[data-theme=light] body[data-page=wheel] #view{color:#f2edf5}html[data-theme=light] body[data-page=wheel] #view p{color:#cbc3d1}.shell{position:relative;z-index:1;background:transparent}.content{background:color-mix(in srgb,var(--bg) 84%,transparent)}.top{background:color-mix(in srgb,var(--bg) 94%,transparent)}.starfield{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:0}.starfield i{position:absolute;width:var(--size);height:var(--size);background:#e9defc;border-radius:50%;box-shadow:0 0 6px #d0bcff;animation:twinkle var(--time) ease-in-out var(--delay) infinite}.shootingstar{position:absolute;top:10%;left:85%;width:150px;height:5px;border-radius:8px;background:linear-gradient(90deg,transparent,#d0bcff,#fff);filter:drop-shadow(0 0 5px #d0bcff);transform:rotate(-35deg);opacity:0;animation:shooting 15s ease-in-out 5s infinite}@keyframes twinkle{0%,100%{opacity:.12;transform:scale(.65)}50%{opacity:.85;transform:scale(1.05)}}@keyframes shooting{0%{opacity:0;transform:translate(0,0) rotate(-35deg)}2%{opacity:.8}25%{opacity:.8}28%,100%{opacity:0;transform:translate(-115vw,70vh) rotate(-35deg)}}html[data-theme=light] .starfield i{background:#8d67c1;box-shadow:0 0 5px #ad8bdb}.socialchips{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.socialchips a{font-size:12px;padding:7px 12px;background:var(--panel);border-radius:18px;text-decoration:none}.profileidentity #profileform{margin:14px 0}.profilelinkinputs h3{font-size:15px}.profilestats button{border:0;background:none;color:white;min-height:44px;padding:0;display:block;font-size:10px;border-radius:0}.profilestats button b{display:block;font-size:17px;margin-bottom:3px}.personrow{display:flex;align-items:center;gap:7px;border-bottom:1px solid var(--border);padding:12px 0}.personrow>button{font-size:10px;padding:6px 8px;min-height:34px}.personrow .personopen{display:flex;gap:10px;justify-content:flex-start;flex:1;min-width:0;border:0;background:none;padding:0;text-align:left;font-size:12px}.personopen .avatar{width:42px;height:42px}.personopen span{min-width:0}.personopen strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.personopen small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.discovergrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.discovercard{display:flex;flex-direction:column;gap:8px;border:0;border-radius:16px;padding:24px 8px;background:var(--panel)}.discovercard .avatar{width:78px;height:78px}.discovercard h3{font-size:14px;margin:0}.discovercard small{font-size:10px;color:var(--muted)}.switchrow{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0}.switchrow input{width:20px;height:20px;margin:0;accent-color:var(--accent)}.settingsrow{justify-content:flex-start;text-align:left}.settingsrow>span{margin-left:auto}.admintabs{display:flex;gap:6px;overflow:auto;margin-bottom:20px;padding-bottom:7px}.admintabs button{white-space:nowrap;font-size:12px}.admintabs .active{background:var(--primary);color:var(--accent)}.jsoneditor{font-family:monospace;font-size:12px;min-height:280px}.headeractions{gap:0}.headeractions .iconbutton{width:35px;min-height:36px;padding:6px}#theme{font-size:22px}.sidebar nav button{width:auto}@media(max-width:700px){.sidebar nav button{width:25%;font-size:10px}.sidebar nav{gap:2px}.sidebar nav button .icon{width:55px;padding:3px 15px}.top h1{font-size:19px}.headeractions .balance{max-width:124px;font-size:10px}.headeractions .coinvalue img{width:16px;height:16px}.content{background:color-mix(in srgb,var(--bg) 82%,transparent)}}@media(prefers-reduced-motion:reduce){.starfield i{animation:none;opacity:.3}.shootingstar{display:none}}

body[data-page=messages] #view:has(.pmthread){height:calc(100dvh - 100px);min-height:280px}.pmthread{height:100%;display:flex;flex-direction:column;gap:12px;min-height:0}.pmthread #pmback{align-self:flex-start;flex-shrink:0}.pmthread #pmchat{flex:1;min-height:0;height:auto;max-height:none;overflow-y:auto;overscroll-behavior:contain}.pmthread #pmform{flex-shrink:0;margin:0}.pmthread .pmhint{flex-shrink:0;font-size:10px;margin:0;text-align:center;padding-bottom:8px}@media(max-width:700px){body[data-page=messages] #view:has(.pmthread){height:calc(100dvh - 144px - env(safe-area-inset-bottom));min-height:180px}.pmthread{gap:10px}.pmthread #pmform input{min-width:0}}

@media(max-width:700px){body[data-page=messages] .content:has(.pmthread){padding-bottom:72px}}
.gifteffect{position:fixed;inset:0;background:#09081938;pointer-events:none;z-index:50;overflow:hidden}.gifteffect canvas{position:absolute;inset:0}.gifteffectlabel{position:absolute;bottom:16%;left:6%;right:6%;text-align:center;padding:12px 16px;border-radius:22px;background:#171020bb;color:#fff;font-size:13px}.gifteffectclose{position:absolute;top:18px;right:18px;pointer-events:auto;font-size:24px;color:#fff;background:#17102088;border:0}.profilephotoedit{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}.profilephotoedit .avatar{width:72px;height:72px}.profilephotoedit .gallerybutton{cursor:pointer;background:var(--primary);color:var(--accent);padding:12px 16px;border-radius:22px;margin:0}.profilephotoedit #photostatus{width:100%;margin:0}.requestnotice{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;background:var(--panel);border-radius:16px;padding:12px;margin:12px 0;font-size:12px}.requestnotice button{font-size:11px;padding:6px 10px;min-height:34px}.requestcard{padding:14px;border:1px solid var(--border);border-radius:16px;display:flex;flex-direction:column;gap:10px}.requestcard span{color:var(--muted);font-size:12px}.roompromos{display:flex;justify-content:center;margin:8px 0}.roompromos button{font-size:12px;background:linear-gradient(120deg,#513a79,#312644);color:#f0e5ff}.translate-message{border:0;background:none;color:var(--accent);font-size:10px;min-height:24px;padding:2px 0}.toolbar{flex-wrap:wrap}.toolbar .row{gap:5px}.toolbar #roomsettings{padding:8px;min-width:40px}.toolbar #roomsettings .icon{width:20px}.toolbar #closeroom{font-size:10px}@media(max-width:700px){.toolbar{gap:8px}.toolbar>.row{flex-wrap:wrap;justify-content:flex-end}.toolbar #gift,.toolbar #spin{font-size:10px;padding:8px 10px}.toolbar #leave{font-size:11px;padding:8px 10px}.toolbar .icon{width:20px;height:20px}}
.giftrecipients{display:flex;gap:8px;overflow:auto;align-items:center;flex-wrap:wrap;margin-bottom:12px}.giftrecipients>strong{width:100%;font-size:12px}.giftrecipients>label{display:flex;gap:6px;align-items:center;min-width:90px;padding:6px 9px;background:var(--panel);border-radius:22px;margin:0;font-size:11px}.giftrecipients input{width:16px;height:16px;padding:0;margin:0;accent-color:var(--accent)}.giftrecipients .avatar{width:24px;height:24px}.giftrecipients>button{font-size:10px;padding:6px 10px;min-height:30px}.giftfooter{flex-wrap:wrap}.giftfooter #giftcost{max-width:160px}
.gifteffect{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0}.gifteffect::backdrop{background:transparent}
