.chat-contact{width:40px;height:36px;display:inline-grid;place-items:center;border:1px solid #3bcaab;border-radius:9px;background:#0c302d;color:#8af0d5;cursor:pointer}.chat-contact:hover{background:#125447}.chat-contact svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.chat-popup{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:16px}.chat-shade{position:absolute;inset:0;border:0;background:#020812bb}.chat-window{position:relative;width:min(520px,100%);height:min(650px,calc(100dvh - 32px));display:grid;grid-template-rows:auto auto 1fr auto auto;overflow:hidden;border:1px solid #27415d;border-radius:17px;background:#081523;box-shadow:0 25px 90px #000a;color:#eaf3ff}.chat-window>header{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #1e3954}.chat-window header small{color:#80a1c2;font-size:10px;letter-spacing:.1em}.chat-window h2{margin:3px 0 0;font-size:18px}.chat-close{width:35px;height:35px;border:0;border-radius:9px;background:#152a40;color:white;font-size:25px;cursor:pointer}.chat-retention{margin:0;padding:9px 16px;background:#12243a;color:#a9bdd5;font-size:11px;text-align:center}.chat-messages{display:flex;flex-direction:column;gap:9px;overflow:auto;padding:16px}.chat-message{align-self:flex-start;max-width:80%;padding:9px 12px;border-radius:12px 12px 12px 3px;background:#142b40;overflow-wrap:anywhere}.chat-message.mine{align-self:flex-end;border-radius:12px 12px 3px 12px;background:linear-gradient(130deg,#126dae,#5a32b5)}.chat-message p{margin:0;white-space:pre-wrap;font-size:13px;line-height:1.45}.chat-message small{display:block;margin-top:5px;color:#b7c9df;font-size:9px;text-align:right}.chat-message audio{width:min(260px,65vw);height:38px}.chat-placeholder{margin:auto;color:#849bb8;font-size:13px;text-align:center}.chat-compose{display:grid;grid-template-columns:42px 1fr auto;gap:8px;padding:12px;border-top:1px solid #1e3954}.chat-compose input{min-width:0;height:42px;padding:0 12px;border:1px solid #29445f;border-radius:9px;outline:0;background:#0b1a2a;color:white}.chat-compose button{border:0;border-radius:9px;cursor:pointer}.chat-record{background:#163044;color:#75dbd2;font-size:20px}.chat-record.recording{background:#8d2638;color:white}.chat-send{padding:0 17px;background:linear-gradient(105deg,#079cff,#7b24f5);color:white;font-weight:700}.chat-feedback{min-height:16px;margin:0;padding:0 13px 8px;color:#ff9da7;font-size:11px}.chat-launch{position:relative;width:40px;height:40px;display:grid;place-items:center;border:1px solid #28445f;border-radius:11px;background:#0b1b2c;color:#a8c9e9;text-decoration:none}.chat-launch svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.chat-launch [data-chat-badge]{position:absolute;top:-6px;right:-6px;min-width:17px;padding:2px 4px;border-radius:12px;background:#8a2cf0;color:white;font-size:9px;text-align:center}.chat-open{overflow:hidden}
.chat-inbox{width:min(850px,calc(100% - 28px));margin:28px auto;padding:25px;border:1px solid #1e3954;border-radius:16px;background:#081523;color:#eaf3ff}.chat-inbox h1{margin:0 0 6px}.chat-inbox>p{margin:0 0 18px;color:#9bb0ca;font-size:13px}.chat-inbox-list{display:grid;gap:8px}.chat-inbox-list button{display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:12px;padding:12px;border:1px solid #1b334b;border-radius:11px;background:#0b1b2c;color:#eaf3ff;text-align:left;cursor:pointer}.chat-inbox-list button:hover{border-color:#3bcaab}.chat-inbox-avatar{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#173854;color:#9fdcff;font-weight:700}.chat-inbox-list small{display:block;margin-top:4px;color:#91a7c3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-inbox-list b{min-width:20px;padding:3px 6px;border-radius:12px;background:#8534dc;text-align:center;font-size:10px}.chat-empty{padding:30px;color:#879db8;text-align:center}
@media(max-width:600px){.chat-popup{padding:0}.chat-window{width:100%;height:100dvh;max-height:none;border-radius:0}.chat-inbox{margin:16px auto;padding:18px}.chat-inbox-list button{grid-template-columns:40px 1fr auto;padding:10px}.chat-inbox-avatar{width:38px;height:38px}}
.chat-launch[hidden]{display:none!important}.live-contact-actions{display:flex;align-items:center;justify-content:center;gap:7px}.listing-actions:has(.chat-contact),.matches-game-actions:has(.chat-contact){display:flex;align-items:center;justify-content:center;gap:7px}
.chat-launch{width:36px;height:36px;flex:0 0 36px}.chat-launch svg{width:18px;height:18px}
.chat-inbox{width:min(1100px,calc(100% - 32px));min-height:calc(100dvh - 115px);display:grid;grid-template-columns:270px minmax(0,1fr);grid-template-rows:auto minmax(440px,1fr);gap:0;margin:22px auto;padding:0;overflow:hidden}.chat-inbox-heading{grid-column:1/-1;padding:22px 25px 16px;border-bottom:1px solid #1e3954}.chat-inbox-heading .back-link{margin:0 0 14px}.chat-inbox-heading h1{margin:0 0 5px}.chat-inbox-heading p{margin:0;color:#9bb0ca;font-size:13px}.chat-sidebar{min-width:0;display:flex;flex-direction:column;padding:16px 10px;border-right:1px solid #1e3954}.chat-sidebar h2{margin:0 8px 12px;color:#9bb0ca;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.chat-inbox-list{min-height:0;display:flex;flex-direction:column;gap:5px;overflow-y:auto}.chat-inbox-list button{display:block;width:100%;padding:12px 10px;border-color:transparent;border-radius:8px;background:transparent}.chat-inbox-list button.active{border-color:#255e63;background:#0c262c}.chat-inbox-list button>span:first-child{display:none}.chat-inbox-list button>span:nth-child(2){display:block;min-width:0}.chat-inbox-list button strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#eaf3ff;font-size:13px}.chat-inbox-list button small{max-width:100%;font-size:10px}.chat-current{min-width:0;min-height:0;padding:12px}.chat-current>.chat-empty{height:100%;display:grid;place-items:center}.chat-inline{height:100%;min-height:0}.chat-inline .chat-window{width:100%;height:100%;max-height:none;border:0;border-radius:10px;box-shadow:none}.chat-inline .chat-retention{display:none}.chat-inline .chat-close{display:none}
@media(max-width:700px){.chat-inbox{width:calc(100% - 20px);min-height:calc(100dvh - 95px);grid-template-columns:1fr;grid-template-rows:auto auto minmax(55vh,1fr);margin:12px auto}.chat-inbox-heading{padding:17px 16px 13px}.chat-sidebar{max-height:200px;padding:10px;border-right:0;border-bottom:1px solid #1e3954}.chat-sidebar h2{margin-bottom:6px}.chat-inbox-list{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(140px,1fr);grid-template-rows:1fr;overflow-x:auto;overflow-y:hidden}.chat-inbox-list button{min-width:140px}.chat-current{padding:8px}.chat-inline .chat-window{height:100%;border-radius:10px}}

.chat-inbox{width:min(1180px,calc(100% - 40px));height:min(820px,calc(100dvh - 120px));min-height:560px;grid-template-columns:290px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);margin:24px auto;border-color:#213b55;box-shadow:0 24px 70px #0005}.chat-inbox-heading{padding:22px 28px 18px;background:linear-gradient(120deg,#0d2033,#091624)}.chat-inbox-heading h1{font-size:26px}.chat-inbox-heading p{max-width:760px;line-height:1.5}.chat-sidebar{min-height:0;background:#071320}.chat-sidebar h2{margin:2px 8px 13px;font-size:11px;letter-spacing:.12em}.chat-inbox-list button{position:relative;min-height:62px;padding:10px 12px;transition:background .15s,border-color .15s}.chat-inbox-list button:hover{background:#0d2030}.chat-inbox-list button.active{border-color:#255e63;background:#0d292c}.chat-inbox-list button>span:first-child{width:34px;height:34px;display:grid;place-items:center;float:left;margin:2px 10px 0 0;border:1px solid #29445c;border-radius:9px;background:#10243a;color:#9ec6e6;font-size:9px;font-weight:800}.chat-inbox-list button[data-chat-kind="match"]>span:first-child{border-color:#1c6a58;background:#0c2c27;color:#80e4c2}.chat-inbox-list button>span:nth-child(2){display:block}.chat-inbox-list button strong{font-size:12px}.chat-inbox-list button small{margin-top:5px;color:#8298b3}.chat-inbox-list button b{position:absolute;top:9px;right:9px}.chat-current{padding:14px;background:radial-gradient(ellipse at top,#0b1c2c,#07111d 72%)}.chat-inline .chat-window{border:1px solid #203a52;border-radius:12px}.chat-inline .chat-window>header{padding:18px 20px}.chat-inline .chat-retention{display:block;text-align:left}.matches-chat{width:27px;height:27px;display:grid;place-items:center;padding:0;border:1px solid #24604f;border-radius:7px;background:#09251f;color:#72e8c1;cursor:pointer}.matches-chat svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.matches-chat:hover{border-color:#51d9ad;background:#103a30;color:#b0ffe5}
@media(max-width:700px){.chat-inbox{width:calc(100% - 20px);height:auto;min-height:calc(100dvh - 100px);grid-template-columns:1fr;grid-template-rows:auto auto minmax(55vh,1fr);margin:12px auto}.chat-inbox-heading{padding:17px 16px 13px}.chat-sidebar{max-height:190px}.chat-current{padding:8px}.chat-inline .chat-window{height:100%;border-radius:10px}}

.chat-message .chat-message-author{margin:0 0 5px;color:#75dfbd;font-size:10px;font-weight:700;text-align:left}

/* Inbox layout: title spans the page; conversations and active chat sit below. */
.chat-inbox{width:min(1500px,calc(100% - 40px));height:min(920px,calc(100dvh - 105px));min-height:600px;grid-template-columns:320px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);grid-template-areas:"heading heading" "sidebar current";margin:20px auto;padding:0;overflow:hidden}
.chat-inbox-heading{grid-area:heading;min-width:0;padding:22px 28px 18px;border-bottom:1px solid #1e3954}
.chat-sidebar{grid-area:sidebar;min-width:0;min-height:0;overflow:hidden}
.chat-current{grid-area:current;min-width:0;min-height:0;overflow:hidden}
.chat-inbox-list button>span:nth-child(2){min-width:0}
.chat-inbox-list button small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-match-meta{margin:6px 0 0;color:#9db6d1;font-size:12px;letter-spacing:0}
.chat-inline .chat-window>header{min-height:78px}
@media(max-width:700px){.chat-inbox{width:calc(100% - 20px);height:auto;min-height:calc(100dvh - 95px);grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(55vh,1fr);grid-template-areas:"heading" "sidebar" "current";margin:12px auto}.chat-inbox-heading{padding:17px 16px 13px}.chat-sidebar{max-height:200px;padding:10px;border-right:0;border-bottom:1px solid #1e3954}.chat-inbox-list{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr);grid-template-rows:1fr;overflow-x:auto;overflow-y:hidden}.chat-inbox-list button{min-width:150px}.chat-current{padding:8px}.chat-inline .chat-window{height:100%;border-radius:10px}}
/* Final explicit placement overrides all legacy inbox rules. */
main.chat-inbox{display:grid!important;grid-template-columns:310px minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;grid-template-areas:"heading heading" "sidebar current"!important;align-items:stretch!important}
main.chat-inbox>.chat-inbox-heading{grid-area:heading!important;grid-column:1 / -1!important;grid-row:1!important;width:auto!important;height:auto!important;min-height:0!important;max-width:none!important;position:relative!important;z-index:1!important;padding:24px 30px 20px!important}
main.chat-inbox>.chat-sidebar{grid-area:sidebar!important;grid-column:1!important;grid-row:2!important;width:auto!important;position:relative!important;z-index:0!important}
main.chat-inbox>.chat-current{grid-area:current!important;grid-column:2!important;grid-row:2!important;width:auto!important;position:relative!important;z-index:0!important}
main.chat-inbox>.chat-inbox-heading>p{max-width:900px!important}
@media(max-width:700px){main.chat-inbox{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto minmax(55vh,1fr)!important;grid-template-areas:"heading" "sidebar" "current"!important}main.chat-inbox>.chat-inbox-heading{grid-area:heading!important;grid-column:1 / -1!important;grid-row:1!important;padding:18px 18px 14px!important}main.chat-inbox>.chat-sidebar{grid-area:sidebar!important;grid-column:1!important;grid-row:2!important}main.chat-inbox>.chat-current{grid-area:current!important;grid-column:1!important;grid-row:3!important}}
.chat-inbox-list button>span.chat-match-logos{width:82px!important;height:38px!important;display:flex!important;float:left;align-items:center;justify-content:flex-start;gap:4px;margin:0 10px 0 0;padding:0;border:0;background:transparent;overflow:visible}
.chat-match-logos img,.chat-match-logos .chat-team-placeholder{width:25px;height:25px;flex:0 0 25px;display:grid;place-items:center;object-fit:cover;border:1px solid #31516a;border-radius:7px;background:#10243a;color:#b9cee5;font-size:8px;font-weight:800}
.chat-match-logos em{color:#83dfca;font-size:8px;font-style:normal;font-weight:800;letter-spacing:-.04em}
@media(max-width:700px){.chat-inbox-list button>span.chat-match-logos{width:77px!important;height:36px!important;gap:3px;margin-right:7px}.chat-match-logos img,.chat-match-logos .chat-team-placeholder{width:23px;height:23px;flex-basis:23px}}

.chat-leave{height:35px;padding:0 11px;border:1px solid #36536f;border-radius:8px;background:#102137;color:#bdd4ed;font:600 11px Inter,system-ui,sans-serif;cursor:pointer}.chat-leave:disabled{opacity:.5}.chat-leave[hidden]{display:none}.chat-live-group{background:#17413e;color:#91f0d4}

.chat-launch.has-unread{border-color:#ee536b;color:#fff;box-shadow:0 0 0 2px #ee536b30,0 0 15px #ee536b45}.chat-launch.has-unread [data-chat-badge]{background:#e94360;color:#fff}

/* Compact, aligned chat popup controls and messages. */
.chat-window>header{gap:12px;align-items:flex-start;padding:14px 16px}
.chat-window>header>div{flex:1;min-width:0}
.chat-header-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}
.chat-window .chat-close{width:34px;height:34px;display:grid;place-items:center;font-size:22px;line-height:1}
.chat-window .chat-leave{height:32px;padding:0 10px;font-size:11px}
.chat-retention{padding:7px 12px;font-size:10px}
.chat-messages{padding:13px;scrollbar-width:thin;scrollbar-color:#36536d #0a1724}
.chat-messages::-webkit-scrollbar{width:8px}
.chat-messages::-webkit-scrollbar-track{background:#0a1724}
.chat-messages::-webkit-scrollbar-thumb{border:2px solid #0a1724;border-radius:8px;background:#36536d}
.chat-message{max-width:min(76%,420px);padding:8px 10px}
.chat-message audio{width:min(225px,65vw);height:34px;max-width:100%;color-scheme:dark}
.chat-message small{font-size:9px;opacity:.82}
.chat-window>header.chat-live-header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title actions" "meta meta";align-items:center;column-gap:16px;row-gap:9px}
.chat-live-header>div{grid-area:title}
.chat-live-header .chat-header-actions{grid-area:actions;justify-self:end}
.chat-live-header .chat-match-meta{grid-area:meta;width:100%;box-sizing:border-box;margin:0;padding-top:8px;border-top:1px solid #1e3954;line-height:1.4}
@media(max-width:600px){.chat-window>header{padding:13px 14px}.chat-header-actions{gap:6px}.chat-message{max-width:88%}.chat-message audio{width:min(225px,67vw)}}

.chat-record{display:grid;place-items:center}.chat-record svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.chat-record.recording svg{display:none}.chat-record.recording::after{content:"";width:12px;height:12px;border-radius:3px;background:currentColor}

.chat-window>header.chat-match-header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title actions" "meta meta";align-items:center;column-gap:16px;row-gap:9px}
.chat-match-header>div{grid-area:title}.chat-match-header .chat-header-actions{grid-area:actions;justify-self:end}.chat-match-header .chat-match-meta{grid-area:meta;width:100%;box-sizing:border-box;margin:0;padding-top:8px;border-top:1px solid #1e3954;line-height:1.4}

.chat-inbox-list button strong{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;line-height:1.25}
.chat-window{grid-template-rows:auto auto minmax(0,1fr) auto auto auto}
.chat-audio-preview{display:flex;align-items:center;gap:10px;padding:10px 12px;border-top:1px solid #1e3954;background:#0b1a2a}
.chat-audio-preview[hidden]{display:none}
.chat-audio-preview audio{width:min(360px,70%);height:36px;max-width:100%;color-scheme:dark}
.chat-audio-discard{min-height:34px;margin-left:auto;padding:0 12px;border:1px solid #a5384b;border-radius:8px;background:#35151d;color:#ff8798;font-weight:700;cursor:pointer}
.chat-audio-discard:hover{border-color:#ff697e;background:#511b28;color:#ffd0d7}
@media(max-width:500px){.chat-audio-preview{flex-wrap:wrap}.chat-audio-preview audio{width:100%}.chat-audio-discard{margin-left:0}}
.chat-window{grid-template-rows:auto auto minmax(0,1fr) auto auto auto}.chat-window.has-match-meta{grid-template-rows:auto auto auto minmax(0,1fr) auto auto auto}
.chat-window>.chat-match-meta{grid-column:1/-1;box-sizing:border-box;width:100%;margin:0;padding:8px 16px;border-bottom:1px solid #1e3954;background:#12243a;color:#9db6d1;font-size:12px;line-height:1.4;letter-spacing:0}

.chat-window>header>.chat-header-actions{flex:0 0 auto;margin-left:auto;justify-self:end}


.chat-retention{box-sizing:border-box;width:100%;text-align:left;line-height:1.45}

.chat-inline .chat-leave{display:none!important}
.chat-inbox-row{position:relative;display:flex;align-items:stretch;gap:4px;min-width:0}
.chat-inbox-row .chat-inbox-open{position:relative;flex:1 1 auto;width:auto;min-width:0;padding-right:12px}
.chat-inbox-row .chat-inbox-open.active{border-color:#255e63;background:#0d292c}
.chat-inbox-row .chat-inbox-remove{position:static;order:-1;flex:0 0 25px;width:25px;min-width:25px;height:25px;display:grid;place-items:center;align-self:center;padding:0;border:1px solid transparent;border-radius:7px;background:transparent;color:#8298b3;font:500 19px/1 Inter,system-ui,sans-serif;cursor:pointer}
.chat-inbox-row .chat-inbox-remove:hover{border-color:#8d4050;background:#351923;color:#ff9cab}
.chat-inbox-row .chat-inbox-remove:disabled{opacity:.5;cursor:wait}
.chat-inbox-list>.chat-empty{width:100%}
.chat-inbox-row .chat-inbox-open{padding-right:42px!important}
.chat-inbox-row .chat-inbox-remove{position:absolute!important;z-index:2;top:50%;right:9px;order:0;transform:translateY(-50%);flex:0 0 25px;width:25px;min-width:25px;height:25px;border:0!important;border-radius:6px;background:transparent!important;color:#f05b6b!important;font-size:20px}
.chat-inbox-row .chat-inbox-remove:hover{border-color:transparent!important;background:transparent!important;color:#ff7c89!important;transform:translateY(-50%)}
.chat-inbox-row .chat-inbox-remove:focus-visible{outline:2px solid #ff7c89;outline-offset:1px}
.chat-inbox-avatar img{width:100%;height:100%;border-radius:inherit;object-fit:cover}

/* Redesigned conversations view */
body.chat-page{background:#050d19;color:#eef4ff}
main.chat-inbox{width:min(1600px,calc(100% - 40px));height:calc(100dvh - 100px);min-height:620px;margin:18px auto 22px;padding:0;display:grid!important;grid-template-columns:minmax(320px,430px) minmax(0,1fr)!important;grid-template-rows:140px minmax(0,1fr)!important;grid-template-areas:"heading heading" "sidebar current"!important;gap:14px;overflow:visible;border:0;background:transparent;box-shadow:none}
main.chat-inbox>.chat-inbox-heading{grid-area:heading!important;grid-column:1/-1!important;grid-row:1!important;position:relative!important;isolation:isolate;display:flex;align-items:center;min-height:140px;padding:18px 34px!important;overflow:hidden;border:1px solid #213b5d;border-radius:18px;background:radial-gradient(ellipse at 68% 110%,#23306b 0,transparent 42%),linear-gradient(110deg,#111d39,#081524 60%,#07111f)!important}
.chat-hero-copy{position:relative;z-index:2;max-width:720px}.chat-hero-copy .back-link{display:inline-block;margin-bottom:8px;color:#91a8ca;font-size:12px;text-decoration:none}.chat-eyebrow{display:block;color:#9c80ff;font-size:9px;font-weight:800;letter-spacing:.18em}.chat-hero-copy h1{margin:3px 0 5px!important;color:#f6f8ff;font-size:30px!important;letter-spacing:-.04em}.chat-hero-copy p{max-width:680px;margin:0!important;color:#b7c5dd!important;font-size:13px!important;line-height:1.5}
.chat-hero-art{position:absolute;inset:0 0 0 auto;width:45%;overflow:hidden;pointer-events:none}.chat-hero-glow{position:absolute;width:370px;height:210px;right:8%;top:-35px;border-radius:50%;background:radial-gradient(ellipse,#2a61ff8a 0,transparent 68%);filter:blur(12px)}.chat-orbit{position:absolute;right:9%;top:-80px;width:370px;height:300px;border:1px solid #734dff62;border-radius:50%;transform:rotate(-21deg)}.chat-orbit-two{right:-2%;top:-114px;width:460px;height:360px;border-color:#168ef64a;transform:rotate(24deg)}.chat-hero-controller{position:absolute;right:12%;top:22px;width:230px;height:105px;border:2px solid #658fff8c;border-radius:43px 43px 55px 55px;background:linear-gradient(145deg,#172c67,#071528 60%,#111e47);box-shadow:0 18px 40px #030817aa,inset 0 0 22px #658aff33;transform:rotate(-12deg)}.chat-hero-controller:before,.chat-hero-controller:after{content:"";position:absolute;top:35px;width:18px;height:18px;border:2px solid #6aa5ff;border-radius:50%;background:#142552;box-shadow:0 0 14px #317dff}.chat-hero-controller:before{left:49px}.chat-hero-controller:after{right:42px;top:50px}.chat-hero-controller i,.chat-hero-controller b{position:absolute;display:block;background:#a8bfff;box-shadow:0 0 8px #8bb0ff}.chat-hero-controller i{left:26px;top:40px;width:42px;height:8px;border-radius:8px}.chat-hero-controller b{left:43px;top:24px;width:8px;height:40px;border-radius:8px}
main.chat-inbox>.chat-sidebar,main.chat-inbox>.chat-current{position:relative!important;z-index:0!important;grid-row:2!important;min-width:0;min-height:0;overflow:hidden;border:1px solid #1b3551;border-radius:15px;background:linear-gradient(160deg,#091727,#06111e 65%);box-shadow:0 12px 35px #0004}
main.chat-inbox>.chat-sidebar{grid-area:sidebar!important;grid-column:1!important;display:flex;flex-direction:column;padding:18px 16px 10px!important;border-right:1px solid #1b3551}
.chat-sidebar-heading{display:flex;align-items:center;justify-content:space-between;margin:0 1px 14px}.chat-sidebar-heading h2{margin:4px 0 0!important;color:#eff4ff;font-size:16px!important;letter-spacing:0!important;text-transform:none!important}.chat-toolbar-menu{position:relative}.chat-icon-button{width:34px;height:36px;border:1px solid #1c3854;border-radius:10px;background:#0d1d30;color:#b8c9e4;font-size:22px;cursor:pointer}.chat-icon-button:hover{border-color:#7565ff;color:#fff}.chat-popover{position:absolute;z-index:8;top:42px;right:0;min-width:190px;padding:6px;border:1px solid #2b4361;border-radius:11px;background:#0c1929;box-shadow:0 12px 30px #0009}.chat-popover a,.chat-popover button{width:100%;display:block;padding:10px;border:0;border-radius:7px;background:transparent;color:#dce7fa;text-align:left;text-decoration:none;font:500 12px Inter,system-ui,sans-serif;cursor:pointer}.chat-popover a:hover,.chat-popover button:hover{background:#172942;color:#fff}.chat-popover button.danger{color:#ff8798}
.chat-search{height:42px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid #213b59;border-radius:10px;background:#071321;color:#8fa8c7}.chat-search span{font-size:24px;line-height:1}.chat-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#eef4ff;font:12px Inter,system-ui,sans-serif}.chat-search input::placeholder{color:#6f83a0}
.chat-filters{display:flex;gap:7px;margin:10px 0 9px}.chat-filters button{min-width:72px;height:33px;padding:0 14px;border:1px solid #233c59;border-radius:9px;background:#0a192a;color:#b4c5df;font:600 11px Inter,system-ui,sans-serif;cursor:pointer}.chat-filters button:hover{border-color:#7057ee}.chat-filters button.active{border-color:#7141ed;background:linear-gradient(110deg,#6328f3,#8d24ed);color:white;box-shadow:0 5px 16px #7028e838}
.chat-inbox-list{flex:1;min-height:0;display:flex;flex-direction:column;gap:2px;overflow:auto;padding:2px 0 4px;scrollbar-width:thin;scrollbar-color:#263c58 transparent}.chat-inbox-row{position:relative;display:flex;min-width:0;min-height:72px;align-items:stretch;gap:0;padding:0 2px}.chat-inbox-row .chat-inbox-open{width:100%;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:11px;padding:10px 12px;border:1px solid transparent;border-radius:12px;background:transparent;color:#eef4ff;text-align:left;cursor:pointer}.chat-inbox-row .chat-inbox-open:hover{background:#0d1c2c}.chat-inbox-row .chat-inbox-open.active{border-color:#5c3de0;background:linear-gradient(105deg,#153a9b,#4822a2);box-shadow:0 8px 23px #111c5b55}.chat-inbox-avatar,.chat-inbox-list button>span:first-child{float:none!important;width:46px!important;height:46px!important;display:grid!important;place-items:center;margin:0!important;border:1px solid #2c496a!important;border-radius:13px!important;background:#12243a!important;color:#bfd7f5!important;font-size:12px!important;font-weight:700}.chat-inbox-avatar img{width:100%;height:100%;border-radius:inherit;object-fit:cover}.chat-inbox-list button>span.chat-match-logos{width:48px!important;height:46px!important;display:flex!important;align-items:center;justify-content:center;gap:2px;margin:0!important}.chat-match-logos img,.chat-match-logos .chat-team-placeholder{width:21px;height:23px;flex:0 0 21px;border-radius:7px}.chat-match-logos em{font-size:7px}.chat-inbox-list button>span:nth-child(2){display:block;min-width:0}.chat-inbox-list button strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal;color:#f0f4ff;font-size:12px;line-height:1.35}.chat-inbox-list button small{display:block;max-width:100%;margin-top:5px;overflow:hidden;color:#91a8c7;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.chat-inbox-row .chat-inbox-open>b{position:static;min-width:20px;padding:4px 6px;border-radius:50%;background:linear-gradient(135deg,#9b36ff,#6435ff);color:white;text-align:center;font-size:10px}.chat-inbox-row .chat-inbox-remove{display:none!important}.chat-empty{margin:auto;padding:28px 15px;color:#7890af;font-size:12px;text-align:center}
main.chat-inbox>.chat-current{grid-area:current!important;grid-column:2!important;display:flex;padding:0!important;background:radial-gradient(ellipse at 65% 0,#0b1c32,#06111d 66%)}.chat-welcome{margin:auto;text-align:center;color:#8299b6}.chat-welcome-icon{width:54px;height:54px;display:grid;place-items:center;margin:0 auto 15px;border:1px solid #3d3982;border-radius:17px;background:linear-gradient(145deg,#162a55,#26104b);color:#aa84ff;font-size:27px}.chat-welcome h2{margin:0 0 7px;color:#e5edfa;font-size:18px}.chat-welcome p{margin:0;font-size:13px}
.chat-inline{width:100%;height:100%;min-height:0;display:flex}.chat-inline .chat-window{width:100%;height:100%;min-height:0;max-height:none;grid-template-rows:auto auto minmax(0,1fr) auto auto!important;border:0;border-radius:0;background:transparent;box-shadow:none}.chat-inline .chat-window>header{min-height:78px;display:flex;align-items:center;gap:14px;padding:12px 20px!important;border-bottom:1px solid #1c3148;background:#091626}.chat-avatar{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;overflow:hidden;border:1px solid #38557b;border-radius:14px;background:#132c49;color:#c5dcff;font-weight:800}.chat-avatar img{width:100%;height:100%;object-fit:cover}.chat-title-wrap{min-width:0;flex:1}.chat-window header .chat-title-wrap small{color:#5ed998;font-size:10px;letter-spacing:0}.chat-window header .chat-title-wrap small:before{content:"";width:7px;height:7px;display:inline-block;margin-right:7px;border-radius:50%;background:#2be487;box-shadow:0 0 10px #29e482}.chat-window h2{overflow:hidden;color:#f3f6ff;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.chat-header-actions{display:flex;align-items:center;gap:7px}.chat-back{display:none}.chat-more{width:38px;height:40px;border:1px solid #233e5a;border-radius:10px;background:#0d1e31;color:#bdcce2;font-size:22px;cursor:pointer}.chat-more:hover{border-color:#6e5af2;color:white}.chat-user-menu{position:absolute;z-index:12;top:60px;right:16px;width:205px;padding:6px;border:1px solid #2b4463;border-radius:12px;background:#0b1828;box-shadow:0 14px 35px #0009}.chat-user-menu[hidden]{display:none}.chat-user-menu button{width:100%;display:flex;align-items:center;gap:10px;padding:10px;border:0;border-radius:8px;background:transparent;color:#dfe9f8;text-align:left;font:500 12px Inter,system-ui,sans-serif;cursor:pointer}.chat-user-menu button:hover{background:#172942}.chat-user-menu button.danger{color:#ff8797}.chat-user-menu button span{width:18px;text-align:center;color:#a994ff;font-size:15px}
.chat-window .chat-retention{margin:0;padding:8px 20px;border-bottom:1px solid #13283e;background:#091522;color:#7f97b6;font-size:10px;text-align:left}.chat-window .chat-messages{gap:12px;padding:18px 22px}.chat-message{max-width:min(72%,500px);padding:10px 14px;border:1px solid #203850;border-radius:14px 14px 14px 4px;background:linear-gradient(145deg,#162b41,#122438);box-shadow:0 3px 9px #0002}.chat-message.mine{border-color:#3942bd;border-radius:14px 14px 4px 14px;background:linear-gradient(115deg,#1453d7,#5522bf)}.chat-message p{color:#f2f5ff;font-size:13px;line-height:1.5}.chat-message small{color:#b3c2d7;font-size:9px}.chat-message .chat-message-author{color:#8fb8ff;font-size:10px}.chat-message-time{display:inline-block;margin-left:9px!important;font-size:9px!important}.chat-day-divider{display:flex;align-items:center;gap:14px;margin:4px auto 10px;color:#90a5c1;font-size:10px}.chat-day-divider:before,.chat-day-divider:after{content:"";width:50px;height:1px;background:#1c334a}.chat-message audio{width:min(300px,65vw);height:38px;filter:saturate(.8)}
.chat-window .chat-compose{grid-template-columns:minmax(0,1fr) 44px 44px 90px;gap:8px;margin:0 12px 12px;padding:10px;border:1px solid #1d354e;border-radius:13px;background:#081522}.chat-compose input{height:48px;padding:0 15px;border-color:#203a56;border-radius:10px;background:#081725;color:#f0f4ff;font-size:13px}.chat-compose input::placeholder{color:#8299b5}.chat-compose button{height:44px;border:1px solid #243d5a;border-radius:10px}.chat-record{background:#0d2033;color:#bad0ee}.chat-send{background:linear-gradient(105deg,#1263ed,#7b27f4);font-size:12px;box-shadow:0 6px 16px #5825d244}.chat-window .chat-feedback{padding:0 20px 6px}
.chat-audio-preview{margin:0 12px 9px;border:1px solid #203850;border-radius:10px;background:#0a1928}.chat-launch.has-unread{box-shadow:0 0 0 2px #ee536b30,0 0 15px #ee536b45}
@media(max-width:900px){main.chat-inbox{width:calc(100% - 24px);height:calc(100dvh - 88px);min-height:580px;grid-template-columns:minmax(285px,36%) minmax(0,1fr)!important;gap:10px}.chat-hero-art{width:38%;opacity:.75}.chat-window .chat-compose{grid-template-columns:minmax(0,1fr) 42px 42px 74px}.chat-send{padding:0 10px}}
@media(max-width:700px){main.chat-inbox:not(.has-active-chat)>.chat-current{display:none!important}main.chat-inbox.has-active-chat>.chat-current{display:flex!important}main.chat-inbox{width:100%;height:calc(100dvh - 68px);min-height:0;margin:8px auto 0;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:112px minmax(0,1fr)!important;grid-template-areas:"heading" "sidebar"!important;gap:8px;padding:0 8px!important;border-radius:0}main.chat-inbox.has-active-chat{grid-template-rows:minmax(0,1fr)!important;grid-template-areas:"current"!important}main.chat-inbox>.chat-inbox-heading{grid-area:heading!important;grid-column:1!important;grid-row:1!important;min-height:112px;padding:13px 17px!important;border-radius:13px}.chat-hero-copy .back-link{margin-bottom:4px;font-size:10px}.chat-hero-copy h1{font-size:23px!important}.chat-hero-copy p{max-width:70%;font-size:10px!important}.chat-hero-art{right:-38px;width:45%;opacity:.65;transform:scale(.75);transform-origin:right center}main.chat-inbox>.chat-sidebar{grid-area:sidebar!important;grid-column:1!important;grid-row:2!important;padding:12px!important;border-radius:13px}main.chat-inbox.has-active-chat>.chat-sidebar,main.chat-inbox.has-active-chat>.chat-inbox-heading{display:none}main.chat-inbox>.chat-current{grid-area:current!important;grid-column:1!important;grid-row:2!important;border-radius:13px}main.chat-inbox.has-active-chat>.chat-current{grid-row:1!important}.chat-sidebar-heading{margin-bottom:10px}.chat-sidebar-heading h2{font-size:14px!important}.chat-search{height:39px}.chat-filters{margin:8px 0}.chat-filters button{height:30px}.chat-inbox-list{gap:2px}.chat-inbox-row{min-height:65px}.chat-inbox-row .chat-inbox-open{grid-template-columns:42px minmax(0,1fr) auto;gap:9px;padding:8px}.chat-inbox-avatar,.chat-inbox-list button>span:first-child{width:40px!important;height:40px!important;border-radius:11px!important}.chat-inbox-list button strong{font-size:12px}.chat-inbox-list button small{font-size:10px}.chat-inline .chat-window{border-radius:13px}.chat-inline .chat-window>header{min-height:68px;padding:9px 10px!important;gap:8px}.chat-avatar{width:41px;height:41px;flex-basis:41px;border-radius:12px}.chat-window h2{font-size:15px}.chat-window .chat-retention{padding:6px 11px;font-size:9px}.chat-window .chat-messages{padding:13px 11px;gap:9px}.chat-message{max-width:88%;padding:9px 11px}.chat-message p{font-size:12px}.chat-window .chat-compose{grid-template-columns:minmax(0,1fr) 39px 39px 66px;gap:5px;margin:0 7px 8px;padding:7px}.chat-compose input{height:43px;padding:0 10px;font-size:12px}.chat-compose button{height:40px}.chat-send{font-size:11px}.chat-back{width:30px;height:34px;display:grid;place-items:center;border:1px solid #203954;border-radius:9px;background:#0c1a2b;color:#d6e4fa;font-size:18px}.chat-header-actions{gap:4px}.chat-more,.chat-close{width:32px!important;height:34px!important}.chat-header-actions .chat-leave{display:none!important}.chat-user-menu{top:52px;right:7px}.chat-window .chat-feedback{padding-bottom:4px}.chat-launch{width:34px;height:34px;flex-basis:34px}}
.chat-emoji{background:#0c1d30;color:#9bb9df;font-size:19px}.chat-emoji:hover{border-color:#7861f3!important;color:white}.chat-emoji-menu{position:absolute;z-index:5;right:140px;bottom:70px;display:flex;gap:3px;padding:7px;border:1px solid #2a4260;border-radius:10px;background:#0b1928;box-shadow:0 12px 30px #0009}.chat-emoji-menu[hidden]{display:none}.chat-emoji-menu button{width:34px;height:34px;border:0;border-radius:7px;background:transparent;font-size:19px;cursor:pointer}.chat-emoji-menu button:hover{background:#1b2d46}.chat-muted-indicator{grid-column:3;grid-row:1;color:#aa91ff;font-size:12px;font-style:normal}.chat-user-menu[hidden],.chat-popover[hidden]{display:none}.chat-user-menu[hidden],.chat-popover[hidden],.chat-emoji-menu[hidden]{display:none!important}
.chat-close,.chat-inbox-remove{display:none!important}
.chat-peer-link{min-width:0;display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}
.chat-peer-link:hover .chat-title-wrap h2{text-decoration:underline;text-decoration-color:#6378ff;text-underline-offset:3px}
.chat-title-wrap h2{display:flex;align-items:center;gap:9px;margin:3px 0 0}
.chat-window header .chat-title-wrap .chat-header-presence{font-size:11px;letter-spacing:0;text-transform:none}
.chat-window header .chat-title-wrap .chat-header-presence:before{display:none}
.chat-header-presence.online{color:#4be293!important}.chat-header-presence.offline{color:#a9bdd5!important}
.chat-header-presence.unavailable{color:#8294ad!important}
.chat-header-presence.online:after{content:"";width:7px;height:7px;display:inline-block;margin-left:6px;border-radius:50%;background:#2be487;box-shadow:0 0 9px #29e482}
.chat-header-presence.offline:after{content:"";width:7px;height:7px;display:inline-block;margin-left:6px;border-radius:50%;background:#f15b68;box-shadow:0 0 8px #f15b68}
.chat-inbox-row .chat-inbox-open{grid-template-columns:48px minmax(0,1fr) auto auto auto}
.chat-inbox-row .chat-inbox-copy{display:block;min-width:0;grid-column:2;grid-row:1}
.chat-inbox-row .chat-inbox-copy strong{display:flex!important;align-items:center;gap:7px}
.chat-inbox-time{grid-column:4;grid-row:1;color:#91a8c7;font-size:10px;white-space:nowrap}
.chat-muted-indicator{grid-column:3;grid-row:1;display:grid;place-items:center;color:#f05b68!important}
.chat-muted-indicator svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.chat-presence-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%}
.chat-presence-dot.online{background:#2be487;box-shadow:0 0 8px #29e482}.chat-presence-dot.offline{background:#f15b68}
.chat-inbox-row .chat-inbox-copy .chat-last-seen{margin-top:2px;color:#a9bdd5;font-size:9px}
.chat-header-actions .chat-more{width:42px;height:42px;display:grid;place-items:center;padding:0}
.chat-confirm-modal{z-index:1100}.chat-confirm-card{width:min(490px,100%);text-align:left}.chat-confirm-card h2{margin:0 0 10px;text-align:left}.chat-confirm-copy{margin:0;color:#a9bfd9;font-size:14px;line-height:1.65}.chat-confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.chat-confirm-actions button{min-width:120px;height:43px;padding:0 16px;border-radius:10px;font:700 13px Inter,system-ui,sans-serif;cursor:pointer}.chat-confirm-cancel{border:1px solid #34546f;background:#091827;color:#bbcee2}.chat-confirm-submit{border:0;color:#fff;background:linear-gradient(105deg,#079cff,#7627ed);box-shadow:0 8px 22px #4534ff35}@media(max-width:520px){.chat-confirm-card{padding:26px 22px}.chat-confirm-actions button{min-width:0;flex:1;padding:0 10px}}
.profile-chat-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.profile-unblock-chat{padding:9px 13px;border:1px solid #b64057;border-radius:9px;background:#351722;color:#ffb3bd;font-weight:700;cursor:pointer}
.profile-unblock-chat:hover{background:#4a1d2b}
.profile-chat-blocked-note{color:#ff9cab;font-size:12px}
@media(max-width:700px){.chat-inbox-row .chat-inbox-open{grid-template-columns:42px minmax(0,1fr) auto auto auto}.chat-peer-link{gap:8px}.chat-header-actions .chat-more{width:38px;height:38px}}

.chat-search>span{width:20px;height:20px;flex:0 0 20px;display:grid;place-items:center;font-size:0;line-height:0}.chat-search>span svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.chat-read-mark{display:inline-block;margin-left:5px;font-size:12px;font-weight:800;line-height:1}.chat-read-mark.sent{color:#b9c9de}.chat-read-mark.read{color:#4ade80}
.chat-popup-close{width:35px;height:35px;display:grid;place-items:center;padding:0;border:1px solid #29445f;border-radius:9px;background:#102137;color:#b8c9df;font:400 25px/1 Inter,sans-serif;cursor:pointer}.chat-popup-close:hover{border-color:#6488b2;background:#18304b;color:#fff}.chat-inline .chat-popup-close{display:none}

.chat-window:not(.has-retention):not(.has-match-meta){grid-template-rows:auto minmax(0,1fr) auto auto auto}
.chat-inline .chat-window:not(.has-retention){grid-template-rows:auto minmax(0,1fr) auto auto!important}

@media(max-width:700px){main.chat-inbox:not(.has-active-chat){height:auto;min-height:0;grid-template-rows:112px auto!important;grid-template-areas:'heading' 'sidebar'!important;overflow:visible}main.chat-inbox:not(.has-active-chat)>.chat-sidebar{max-height:none;min-height:0;overflow:hidden}.chat-inbox:not(.has-active-chat) .chat-inbox-list{display:flex!important;flex:0 1 auto;flex-direction:column;grid-auto-flow:initial;grid-auto-columns:initial;grid-template-rows:none;max-height:48vh;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.chat-inbox:not(.has-active-chat) .chat-inbox-list .chat-inbox-row{flex:0 0 auto}.chat-inbox:not(.has-active-chat) .chat-inbox-list .chat-inbox-open{width:100%;min-width:0;grid-template-columns:42px minmax(0,1fr) auto auto auto}.chat-inbox:not(.has-active-chat) .chat-inbox-list button>span:first-child{display:grid!important;float:none;margin:0}.chat-inbox:not(.has-active-chat) .chat-inbox-list button>span:nth-child(2){min-width:0}.chat-inbox:not(.has-active-chat) .chat-inbox-list button strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
