:root{--navy:#0d1b2a;--navy2:#1b2a3d;--gold:#d4a017;--green:#16a34a;--green-l:#dcfce7;--green-d:#14532d;--teal:#0f766e;--teal-l:#ccfbf1;--purple:#6d28d9;--purple-l:#ede9fe;--red:#dc2626;--red-l:#fee2e2;--amber:#b45309;--amber-l:#fef3c7;--bg:#f4f6f8;--card:#fff;--text:#0f172a;--muted:#64748b;--border:#e2e8f0}*{box-sizing:border-box}html,body{height:100%;margin:0;padding:0}body{background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.5}button{font:inherit;cursor:pointer}input,textarea,select{font:inherit}.chat-page{background:#f8fafc;flex-direction:column;max-width:640px;height:100dvh;margin:0 auto;display:flex}.chat-top{background:var(--navy);color:#fff;flex-shrink:0;align-items:center;gap:12px;padding:12px 16px;display:flex}.chat-logo{background:var(--gold);width:40px;height:40px;color:var(--navy);border-radius:50%;justify-content:center;align-items:center;font-size:14px;font-weight:800;display:flex}.chat-top b{font-size:16px;display:block}.chat-top small{color:#94a3b8;align-items:center;gap:6px;font-size:12px;display:flex}.dot{background:#22c55e;border-radius:50%;width:8px;height:8px;display:inline-block}.msgs{flex-direction:column;flex:1;gap:8px;padding:14px;display:flex;overflow-y:auto}.m{white-space:pre-wrap;word-wrap:break-word;border-radius:14px;max-width:85%;padding:9px 12px;font-size:14.5px}.m.bot{border:1px solid var(--border);background:#fff;border-bottom-left-radius:4px;align-self:flex-start}.m.me{background:var(--green);color:#fff;border-bottom-right-radius:4px;align-self:flex-end}.m.me a{color:#fff}.m a{color:var(--teal);word-break:break-all}.m img.shot{border-radius:8px;max-width:200px;display:block}.m video{background:#000;border-radius:10px;width:100%;max-width:280px;display:block}.vid-cap{margin-top:8px}.tut-img{border-radius:10px;width:100%;max-width:280px;display:block}.typing{color:var(--muted);margin-left:6px;font-size:13px;font-style:italic}.typing-head{color:#4ade80;font-style:italic}.typing-bubble{align-items:center;gap:4px;padding:12px 14px;display:flex}.tdot{background:#94a3b8;border-radius:50%;width:8px;height:8px;animation:1.2s ease-in-out infinite tblink;display:inline-block}.tdot:nth-child(2){animation-delay:.2s}.tdot:nth-child(3){animation-delay:.4s}@keyframes tblink{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.welcome-hint{text-align:center;color:var(--muted);margin:20px 10px;font-size:13px}.inp{border-top:1px solid var(--border);padding:10px;padding-bottom:max(10px, env(safe-area-inset-bottom));background:#fff;flex-shrink:0}.row{gap:6px;display:flex}.row input[type=text],.row textarea{border:1px solid var(--border);resize:none;border-radius:22px;outline:none;flex:1;min-width:0;padding:10px 12px;font-size:16px}.clip{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;font-size:18px;display:flex}.clip input{display:none}.send{background:var(--green);color:#fff;border:none;border-radius:22px;flex-shrink:0;padding:0 18px;font-weight:600}.send:disabled{opacity:.5}.err{color:var(--red);margin-top:5px;font-size:12px}.preview{color:var(--muted);align-items:center;gap:8px;margin-bottom:8px;font-size:13px;display:flex}.preview img{object-fit:cover;border-radius:8px;width:48px;height:48px}.preview button{background:var(--red-l);color:var(--red);border:none;border-radius:12px;padding:2px 10px}.admin{max-width:760px;margin:0 auto;padding-bottom:40px}.a-top{background:var(--navy);color:#fff;z-index:5;padding:14px 16px 0;position:sticky;top:0}.a-top .t{justify-content:space-between;align-items:center;font-size:17px;font-weight:700;display:flex}.a-top .t button{color:#fff;background:#334155;border:none;border-radius:16px;padding:4px 12px;font-size:12px}.tabs{margin-top:10px;display:flex}.tab{color:#94a3b8;background:0 0;border:none;border-bottom:3px solid #0000;flex:1;padding:10px 4px;font-weight:600}.tab.on{color:#fff;border-bottom-color:var(--gold)}.badge{background:var(--red);color:#fff;border-radius:9px;min-width:18px;margin-left:4px;padding:0 5px;font-size:11px;line-height:18px;display:inline-block}.wrap{padding:14px}.card{background:var(--card);border:1px solid var(--border);border-radius:14px;margin-bottom:10px;padding:14px}.filters{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.fbtn{border:1px solid var(--border);background:#fff;border-radius:20px;padding:6px 12px;font-size:13px}.fbtn.on{background:var(--navy);color:#fff;border-color:var(--navy)}.pill{border-radius:20px;padding:3px 9px;font-size:11px;font-weight:700;display:inline-block}.p-IB{background:var(--teal-l);color:var(--teal)}.p-Paid{background:var(--purple-l);color:var(--purple)}.p-Support,.p-pending{background:var(--amber-l);color:var(--amber)}.p-approved{background:var(--green-l);color:var(--green-d)}.p-rejected{background:var(--red-l);color:var(--red)}.req-top{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.time{color:var(--muted);margin-left:auto;font-size:12px}dl.grid{grid-template-columns:auto 1fr;gap:3px 12px;margin:10px 0;font-size:14px;display:grid}dl.grid dt{color:var(--muted)}dl.grid dd{word-break:break-word;margin:0;font-weight:600}.thumb{object-fit:cover;border:1px solid var(--border);cursor:pointer;border-radius:8px;width:90px;height:90px}.acts{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.btn{border:1.5px solid var(--border);background:#fff;border-radius:10px;padding:9px 14px;font-weight:600}.btn.ok{background:var(--green);color:#fff;border-color:var(--green)}.btn.no{color:var(--red);border-color:var(--red)}.btn.dark{background:var(--navy);color:#fff;border-color:var(--navy)}.empty{text-align:center;color:var(--muted);padding:30px 10px}.conv{text-align:left;border:1px solid var(--border);background:#fff;border-radius:12px;width:100%;margin-bottom:8px;padding:12px;display:block}.conv .l1{justify-content:space-between;gap:8px;font-weight:600;display:flex}.conv .l2{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.thread{border:1px solid var(--border);background:#f8fafc;border-radius:12px;flex-direction:column;gap:6px;max-height:60vh;padding:10px;display:flex;overflow-y:auto}.m.admin-msg{background:var(--amber-l);border:1px solid #fcd34d;border-bottom-left-radius:4px;align-self:flex-start}.m .who{color:var(--muted);margin-bottom:2px;font-size:11px;display:block}.m.me .who{color:#dcfce7}textarea.prompt{border:1px solid var(--border);border-radius:10px;width:100%;min-height:60vh;padding:10px;font-family:ui-monospace,Menlo,monospace;font-size:12.5px}.login{max-width:360px;margin:15vh auto;padding:20px}.login input{border:1px solid var(--border);border-radius:10px;width:100%;margin:10px 0;padding:12px;font-size:16px}.note{color:var(--muted);font-size:13px}.viewer{z-index:50;background:#000000e0;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.viewer img{border-radius:8px;max-width:100%;max-height:88vh}.toast{background:var(--navy);color:#fff;z-index:60;border-radius:20px;padding:8px 16px;font-size:14px;position:fixed;bottom:20px;left:50%;transform:translate(-50%)}body.chat-body{background:radial-gradient(circle at 15% 0,#1e3a5fe6 0,#0000 45%),radial-gradient(circle at 85% 100%,#785a148c 0,#0000 50%),#0b1422}.chat-page{background-color:#f1ebdd;background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22180%22%20height%3D%22180%22%20viewBox%3D%220%200%20180%20180%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23a8842c%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.28%22%3E%3Cline%20x1%3D%2222%22%20y1%3D%2218%22%20x2%3D%2222%22%20y2%3D%2258%22/%3E%3Crect%20x%3D%2216%22%20y%3D%2226%22%20width%3D%2212%22%20height%3D%2220%22%20rx%3D%222%22%20fill%3D%22%23a8842c%22%20fill-opacity%3D%220.35%22/%3E%3Cline%20x1%3D%2244%22%20y1%3D%2230%22%20x2%3D%2244%22%20y2%3D%2270%22/%3E%3Crect%20x%3D%2238%22%20y%3D%2238%22%20width%3D%2212%22%20height%3D%2224%22%20rx%3D%222%22/%3E%3Cline%20x1%3D%2266%22%20y1%3D%2212%22%20x2%3D%2266%22%20y2%3D%2248%22/%3E%3Crect%20x%3D%2260%22%20y%3D%2218%22%20width%3D%2212%22%20height%3D%2218%22%20rx%3D%222%22%20fill%3D%22%23a8842c%22%20fill-opacity%3D%220.35%22/%3E%3Cpath%20d%3D%22M100%2070%20L118%2052%20L134%2060%20L156%2030%22/%3E%3Cpath%20d%3D%22M150%2030%20L156%2030%20L156%2036%22/%3E%3Ccircle%20cx%3D%22130%22%20cy%3D%22130%22%20r%3D%2214%22/%3E%3Ctext%20x%3D%22124.5%22%20y%3D%22136%22%20font-family%3D%22Arial%22%20font-size%3D%2216%22%20fill%3D%22%23a8842c%22%20stroke%3D%22none%22%3E%24%3C/text%3E%3Cline%20x1%3D%2230%22%20y1%3D%22120%22%20x2%3D%2230%22%20y2%3D%22160%22/%3E%3Crect%20x%3D%2224%22%20y%3D%22128%22%20width%3D%2212%22%20height%3D%2222%22%20rx%3D%222%22/%3E%3Cline%20x1%3D%2252%22%20y1%3D%22110%22%20x2%3D%2252%22%20y2%3D%22146%22/%3E%3Crect%20x%3D%2246%22%20y%3D%22116%22%20width%3D%2212%22%20height%3D%2218%22%20rx%3D%222%22%20fill%3D%22%23a8842c%22%20fill-opacity%3D%220.35%22/%3E%3Cpath%20d%3D%22M80%20160%20L96%20146%20L110%20152%22/%3E%3Ccircle%20cx%3D%22160%22%20cy%3D%2296%22%20r%3D%222.5%22%20fill%3D%22%23a8842c%22/%3E%3Ccircle%20cx%3D%2296%22%20cy%3D%22104%22%20r%3D%222%22%20fill%3D%22%23a8842c%22/%3E%3C/g%3E%3C/svg%3E);background-size:180px 180px;box-shadow:0 0 60px #00000073}.chat-top{border-bottom:2px solid var(--gold);background:linear-gradient(135deg,#0d1b2a 0%,#15294a 100%)}.chat-logo{background:linear-gradient(145deg,#f4cf5d,#c8960f);box-shadow:0 0 0 2px #ffffff26,0 2px 8px #d4a01773}.chat-page .m.bot{border:none;box-shadow:0 1px 2px #0000001f}.chat-page .m.me{background:linear-gradient(135deg,#16a34a,#15803d);box-shadow:0 1px 2px #00000026}.chat-page .inp{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#fffffff0}.welcome-card{text-align:center;color:#334155;background:#ffffffe0;border-radius:16px;align-self:center;max-width:320px;margin:24px 12px;padding:18px 20px;font-size:14px;box-shadow:0 2px 10px #00000014}.welcome-card b{color:#0f172a;margin-bottom:4px;font-size:17px;display:block}.welcome-card .gold{color:#a8842c;font-weight:600}.chat-page .typing-bubble{background:#fff}.chat-page.t-luxury{background-color:#0f1a2b;background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22400%22%20height%3D%22800%22%20viewBox%3D%220%200%20400%20800%22%3E%3Cdefs%3E%3Cpattern%20id%3D%22g%22%20width%3D%2240%22%20height%3D%2240%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20d%3D%22M40%200H0V40%22%20fill%3D%22none%22%20stroke%3D%22%23d4a017%22%20stroke-opacity%3D%220.06%22/%3E%3C/pattern%3E%3C/defs%3E%3Crect%20width%3D%22400%22%20height%3D%22800%22%20fill%3D%22url%28%23g%29%22/%3E%3Cpath%20d%3D%22M0%20620%20L50%20590%20L90%20610%20L140%20540%20L190%20560%20L240%20470%20L290%20500%20L340%20400%20L400%20420%22%20fill%3D%22none%22%20stroke%3D%22%23d4a017%22%20stroke-opacity%3D%220.22%22%20stroke-width%3D%222.5%22/%3E%3Cpath%20d%3D%22M0%20620%20L50%20590%20L90%20610%20L140%20540%20L190%20560%20L240%20470%20L290%20500%20L340%20400%20L400%20420%20L400%20800%20L0%20800Z%22%20fill%3D%22%23d4a017%22%20fill-opacity%3D%220.05%22/%3E%3Cg%20fill%3D%22%23d4a017%22%20fill-opacity%3D%220.13%22%3E%3Crect%20x%3D%2230%22%20y%3D%22200%22%20width%3D%2210%22%20height%3D%2240%22/%3E%3Crect%20x%3D%2260%22%20y%3D%22180%22%20width%3D%2210%22%20height%3D%2255%22/%3E%3Crect%20x%3D%2290%22%20y%3D%22210%22%20width%3D%2210%22%20height%3D%2230%22/%3E%3Crect%20x%3D%22300%22%20y%3D%22120%22%20width%3D%2210%22%20height%3D%2245%22/%3E%3Crect%20x%3D%22330%22%20y%3D%22100%22%20width%3D%2210%22%20height%3D%2260%22/%3E%3Crect%20x%3D%22360%22%20y%3D%22130%22%20width%3D%2210%22%20height%3D%2235%22/%3E%3C/g%3E%3C/svg%3E),radial-gradient(circle at 80% 10%,#d4a0172e,#0000 45%);background-position:bottom,50%;background-repeat:no-repeat;background-size:100%,cover}.chat-page.t-luxury .welcome-card{color:#cbd5e1;background:#ffffff14}.chat-page.t-luxury .welcome-card b{color:#fff}.chat-page.t-luxury .m.bot{background:#fff}.chat-page.t-soft{background-color:#fbf4e2;background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22400%22%20height%3D%22800%22%20viewBox%3D%220%200%20400%20800%22%3E%3Cg%20stroke%3D%22%23b8902a%22%20stroke-opacity%3D%220.25%22%20fill%3D%22none%22%20stroke-width%3D%221.5%22%3E%3Cpath%20d%3D%22M0%20700%20C60%20680%2090%20640%20140%20650%20S230%20560%20280%20580%20S360%20480%20400%20470%22/%3E%3C/g%3E%3Cg%20stroke%3D%22%23b8902a%22%20stroke-opacity%3D%220.2%22%20stroke-width%3D%221.5%22%3E%3Cline%20x1%3D%2240%22%20y1%3D%22600%22%20x2%3D%2240%22%20y2%3D%22660%22/%3E%3Cline%20x1%3D%2280%22%20y1%3D%22590%22%20x2%3D%2280%22%20y2%3D%22640%22/%3E%3Cline%20x1%3D%22120%22%20y1%3D%22610%22%20x2%3D%22120%22%20y2%3D%22670%22/%3E%3Cline%20x1%3D%22160%22%20y1%3D%22560%22%20x2%3D%22160%22%20y2%3D%22620%22/%3E%3Cline%20x1%3D%22200%22%20y1%3D%22540%22%20x2%3D%22200%22%20y2%3D%22600%22/%3E%3Cline%20x1%3D%22240%22%20y1%3D%22500%22%20x2%3D%22240%22%20y2%3D%22570%22/%3E%3Cline%20x1%3D%22280%22%20y1%3D%22520%22%20x2%3D%22280%22%20y2%3D%22575%22/%3E%3Cline%20x1%3D%22320%22%20y1%3D%22460%22%20x2%3D%22320%22%20y2%3D%22530%22/%3E%3Cline%20x1%3D%22360%22%20y1%3D%22430%22%20x2%3D%22360%22%20y2%3D%22500%22/%3E%3C/g%3E%3Cg%20fill%3D%22%23b8902a%22%20fill-opacity%3D%220.16%22%3E%3Crect%20x%3D%2235%22%20y%3D%22615%22%20width%3D%2210%22%20height%3D%2230%22/%3E%3Crect%20x%3D%2275%22%20y%3D%22600%22%20width%3D%2210%22%20height%3D%2228%22/%3E%3Crect%20x%3D%22115%22%20y%3D%22625%22%20width%3D%2210%22%20height%3D%2230%22/%3E%3Crect%20x%3D%22155%22%20y%3D%22575%22%20width%3D%2210%22%20height%3D%2230%22/%3E%3Crect%20x%3D%22195%22%20y%3D%22552%22%20width%3D%2210%22%20height%3D%2234%22/%3E%3Crect%20x%3D%22235%22%20y%3D%22515%22%20width%3D%2210%22%20height%3D%2238%22/%3E%3Crect%20x%3D%22275%22%20y%3D%22530%22%20width%3D%2210%22%20height%3D%2230%22/%3E%3Crect%20x%3D%22315%22%20y%3D%22475%22%20width%3D%2210%22%20height%3D%2240%22/%3E%3Crect%20x%3D%22355%22%20y%3D%22445%22%20width%3D%2210%22%20height%3D%2240%22/%3E%3C/g%3E%3Ccircle%20cx%3D%22330%22%20cy%3D%22120%22%20r%3D%2270%22%20fill%3D%22%23e9c46a%22%20fill-opacity%3D%220.18%22/%3E%3C/svg%3E),linear-gradient(165deg,#fffaf0 0%,#f6e7c1 100%);background-position:bottom,50%;background-repeat:no-repeat;background-size:100%,cover}.chat-page.t-night{background-color:#07110d;background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cpath%20d%3D%22M0%2050H200M0%20100H200M0%20150H200M50%200V200M100%200V200M150%200V200%22%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%220.035%22/%3E%3Cg%20stroke-width%3D%221.4%22%3E%3Cg%20stroke%3D%22%2322c55e%22%20stroke-opacity%3D%220.22%22%20fill%3D%22%2322c55e%22%20fill-opacity%3D%220.12%22%3E%3Cline%20x1%3D%2220%22%20y1%3D%2240%22%20x2%3D%2220%22%20y2%3D%2290%22/%3E%3Crect%20x%3D%2215%22%20y%3D%2250%22%20width%3D%2210%22%20height%3D%2228%22/%3E%3Cline%20x1%3D%2270%22%20y1%3D%2220%22%20x2%3D%2270%22%20y2%3D%2270%22/%3E%3Crect%20x%3D%2265%22%20y%3D%2228%22%20width%3D%2210%22%20height%3D%2230%22/%3E%3Cline%20x1%3D%22140%22%20y1%3D%22110%22%20x2%3D%22140%22%20y2%3D%22160%22/%3E%3Crect%20x%3D%22135%22%20y%3D%22118%22%20width%3D%2210%22%20height%3D%2230%22/%3E%3C/g%3E%3Cg%20stroke%3D%22%23ef4444%22%20stroke-opacity%3D%220.2%22%20fill%3D%22%23ef4444%22%20fill-opacity%3D%220.1%22%3E%3Cline%20x1%3D%2245%22%20y1%3D%2230%22%20x2%3D%2245%22%20y2%3D%2285%22/%3E%3Crect%20x%3D%2240%22%20y%3D%2240%22%20width%3D%2210%22%20height%3D%2232%22/%3E%3Cline%20x1%3D%22115%22%20y1%3D%22120%22%20x2%3D%22115%22%20y2%3D%22175%22/%3E%3Crect%20x%3D%22110%22%20y%3D%22130%22%20width%3D%2210%22%20height%3D%2230%22/%3E%3Cline%20x1%3D%22170%22%20y1%3D%22100%22%20x2%3D%22170%22%20y2%3D%22150%22/%3E%3Crect%20x%3D%22165%22%20y%3D%22108%22%20width%3D%2210%22%20height%3D%2228%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E),radial-gradient(circle at 50% 0,#22c55e1a,#0000 55%);background-size:200px 200px,cover}.chat-page.t-night .welcome-card{color:#cbd5e1;background:#ffffff14}.chat-page.t-night .welcome-card b{color:#fff}
