:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#edf3ff;background:#0b1120;color-scheme:dark}*{box-sizing:border-box}body{margin:0}.shell{max-width:850px;margin:auto;padding:20px 16px 40px}header,.toolbar,.subhead{display:flex;align-items:center;justify-content:space-between;gap:12px}header{margin-bottom:22px}.eyebrow{letter-spacing:2px;color:#93a9d8;font-size:10px}h1{margin:4px 0;font-size:24px}h2{font-size:17px;margin:0}.muted,footer,#section-subtitle{color:#95a3b9;font-size:12px}#section-subtitle{margin:4px 0}.toolbar{font-weight:600;margin:12px 0}.accounts{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:20px}.account{border:1px solid #29344b;background:#151e30;border-radius:15px;padding:17px 12px;color:#eef4ff;text-align:left;cursor:pointer;min-height:86px}.account.active{border-color:#51a6ff;background:#1b2d47}.account .name{font-weight:700;display:block;overflow-wrap:anywhere}.count{display:inline-block;margin-top:10px;border-radius:10px;padding:4px 9px;background:#31435f;font-size:11px}.count.new{background:#247bd5;color:white}.panel{background:#121a2a;border:1px solid #283449;border-radius:18px;min-height:350px;overflow:hidden}.subhead{padding:17px;border-bottom:1px solid #2a3650;justify-content:flex-start}.subhead button{margin-right:8px}.chats{max-height:65vh;overflow-y:auto}.chat{width:100%;text-align:left;background:transparent;color:#f0f5ff;border:0;border-bottom:1px solid #283449;padding:16px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:15px}.chat .preview{font-size:13px;color:#aab8d0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70vw}.chat .user{font-weight:700;font-size:14px;margin-bottom:5px}.chat .badge{background:#2c8af0;border-radius:10px;font-size:11px;padding:3px 7px}.conversation{display:flex;flex-direction:column}.messages{height:52vh;min-height:280px;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px}.message{max-width:86%;padding:12px;border-radius:15px;background:#233048;align-self:flex-start;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.message.out{background:#1b695d;align-self:flex-end}.time{color:#a8bdd6;font-size:10px;margin-top:6px;text-align:right}.reply{display:flex;gap:7px;padding:12px;border-top:1px solid #29354b}.reply textarea{resize:none;flex:1;min-width:0;border:1px solid #384962;border-radius:10px;background:#0d1423;color:white;font:inherit;padding:11px}.reply button{background:#2c8af0;border:0;border-radius:10px;color:white;padding:0 14px;font-weight:700}.reply button:disabled{opacity:.5}.ghost{color:#a7c8f1;border:0;background:transparent;padding:8px;cursor:pointer}.error{padding:12px;border-radius:9px;background:#5a2432;color:#fff;margin-bottom:15px}.hidden{display:none!important}footer{margin-top:18px;line-height:1.6}a{color:#8ac9ff}@media(min-width:600px){.accounts{grid-template-columns:repeat(4,1fr)}.chat .preview{max-width:500px}}

/* FUNPAY_UX_SEARCH_V1 */
.global-search{margin:0 0 18px;padding:14px;border:1px solid #29344b;background:#131d30;border-radius:15px}
.global-search label{font-size:14px;font-weight:700;display:block;margin-bottom:8px}
.global-search input{width:100%;color:#eef4ff;background:#0d1423;border:1px solid #3a506c;border-radius:10px;padding:12px;font:inherit;outline:none}
.global-search input:focus{border-color:#55a6ff}
.global-search #search-hint{margin:8px 0 0}
.search-results{margin-top:8px;max-height:34vh;overflow:auto}
.search-result{display:flex;flex-direction:column;gap:4px;width:100%;background:#19263b;color:#eef4ff;border:1px solid #304059;border-radius:10px;text-align:left;margin-top:7px;padding:11px;cursor:pointer}
.search-preview{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#bac7d9}

/* FUNPAY_PHOTO_V1 */
.fp-photo-link{display:block;max-width:100%;margin-top:6px}
.fp-photo{display:block;max-width:100%;max-height:450px;width:auto;height:auto;border-radius:10px;object-fit:contain}

.filters,.chat-actions{display:flex;gap:8px;padding:10px;flex-wrap:wrap}.filters button,.chat-actions button{background:#263951;border:1px solid #405571;color:#eaf2ff;border-radius:10px;padding:8px 10px;cursor:pointer}.filters .selected{background:#23619e}.vip-chat{border-left:3px solid #f05a65;background:#281a2b}
