.market-support{--ms-bg:var(--bg-app,#101014);--ms-panel:var(--bg-additional-1,#1b1b21);--ms-border:var(--border-1,#303038);--ms-text:var(--text-primary,#fafafa);--ms-muted:var(--text-secondary,#a2a2ad);color:var(--ms-text);background:var(--ms-bg);font-family:inherit;font-size:14px;line-height:1.5}.market-support-dialog{position:fixed;inset:auto 24px 52px auto;width:min(420px,calc(100vw - 24px));height:min(760px,calc(100dvh - 76px));max-height:calc(100dvh - 24px);max-width:none;margin:0;padding:0;border:1px solid var(--ms-border);border-radius:18px;box-shadow:0 16px 64px #0008;overflow:hidden;z-index:1500}.market-support-dialog::backdrop{background:#0005}.market-support-page{max-width:940px;margin:32px auto;border:1px solid var(--ms-border);border-radius:16px;min-height:560px}.market-support .ms-header{display:flex;justify-content:space-between;align-items:flex-start;padding:24px 24px 18px;border-bottom:1px solid var(--ms-border)}.market-support h1{font-size:28px;font-weight:600;margin:2px 0 4px;line-height:1.2}.market-support h2{font-size:18px;font-weight:600;margin:8px 0}.market-support .ms-header p{margin:0;color:var(--ms-muted)}.market-support .ms-eyebrow{font-size:10px;font-weight:600;letter-spacing:.09em;color:var(--ms-muted)}.market-support button{font:inherit;cursor:pointer;background:var(--ms-panel);color:var(--ms-text);border:1px solid var(--ms-border);border-radius:9px;padding:9px 13px;transition:background .15s,transform .1s}.market-support button:hover{background:color-mix(in srgb,var(--ms-panel),white 7%)}.market-support button:active{transform:scale(.98)}.market-support button:focus-visible,.market-support input:focus-visible,.market-support select:focus-visible,.market-support textarea:focus-visible{outline:2px solid #4a9aff;outline-offset:3px}.market-support button:disabled{opacity:.5;cursor:wait}.market-support .ms-primary{background:#2081e2;border-color:#2081e2;color:white;font-weight:600}.market-support .ms-primary:hover{background:#3291ee}.market-support [data-ms-close]{border:0;background:none;font-size:25px;line-height:1;padding:0 4px}.market-support .ms-content{padding:20px 24px;overflow:auto;overscroll-behavior:contain}.market-support-dialog .ms-content{height:calc(100% - 165px)}.market-support .ms-footer{font-size:11px;color:var(--ms-muted);padding:12px 24px;border-top:1px solid var(--ms-border)}.market-support .ms-list-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.market-support .ms-list-head h2{font-size:15px}.market-support .ms-list-head button{font-size:12px;padding:8px 11px}.market-support .ms-empty{text-align:center;padding:48px 12px;color:var(--ms-muted)}.market-support .ms-empty span{font-size:36px;display:block;margin-bottom:14px}.market-support .ms-empty h2{color:var(--ms-text)}.market-support .ms-empty.compact{padding:10px}.market-support .ms-tickets{display:grid;gap:10px}.market-support .ms-ticket{width:100%;text-align:left;padding:14px;display:grid;gap:6px}.market-support .ms-ticket span:not(.ms-ticket-top):not(.ms-unread),.market-support .ms-ticket time{color:var(--ms-muted);font-size:12px}.market-support .ms-ticket-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.market-support .ms-ticket strong{overflow-wrap:anywhere}.market-support .ms-unread{display:inline-flex;min-width:21px;height:21px;align-items:center;justify-content:center;border-radius:99px;background:#2081e2;color:#fff;font-size:11px;padding:0 5px}.market-support .ms-load{width:100%;margin-top:12px;background:none}.market-support .ms-compose{display:grid;gap:14px;margin-top:20px}.market-support label{display:grid;gap:6px;font-weight:500;font-size:13px}.market-support input,.market-support textarea,.market-support select{box-sizing:border-box;width:100%;color:var(--ms-text);background:var(--ms-panel);border:1px solid var(--ms-border);border-radius:9px;padding:11px;font:inherit;font-weight:400}.market-support textarea{resize:vertical;min-height:84px;max-height:260px}.market-support input::placeholder,.market-support textarea::placeholder{color:var(--ms-muted)}.market-support small{font-size:11px;color:var(--ms-muted)}.market-support .ms-actions{display:flex;justify-content:flex-end;gap:10px}.market-support .ms-back{border:0;padding:0;background:none;color:var(--ms-muted);font-size:12px;margin-bottom:16px}.market-support .ms-conversation-heading{display:flex;align-items:flex-start;gap:14px;justify-content:space-between}.market-support .ms-conversation-heading h2{overflow-wrap:anywhere}.market-support .ms-conversation-heading button{flex-shrink:0;font-size:11px;padding:6px 9px;margin-top:7px}.market-support .ms-status{font-size:12px;color:var(--ms-muted)}.market-support .ms-delivery{font-size:11px;color:var(--ms-muted);margin:14px 0 18px}.market-support .ms-messages{display:grid;gap:14px}.market-support .ms-message{padding:12px 14px;background:var(--ms-panel);border-radius:12px;border:1px solid var(--ms-border);min-width:0}.market-support .ms-message div{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--ms-muted)}.market-support .ms-message time{font-size:10px;white-space:nowrap}.market-support .ms-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0}.market-support .ms-user{margin-left:24px}.market-support .ms-operator{margin-right:24px;border-color:#2081e25c}.market-support .ms-system{background:none;text-align:center;color:var(--ms-muted);border:0;font-size:11px}.market-support .ms-error{padding:10px 12px;border:1px solid #e2575770;border-radius:9px;background:#e2575710;color:#ed8585;font-size:12px;overflow-wrap:anywhere}.market-support .ms-loading{color:var(--ms-muted);padding:24px 0}.market-support form[aria-busy=true]{opacity:.7}@media(max-width:560px){.market-support-dialog{inset:auto 8px 8px;width:calc(100vw - 16px);height:min(760px,calc(100dvh - 16px));max-height:calc(100dvh - 16px);border-radius:14px}.market-support .ms-header{padding:20px}.market-support .ms-content{padding:18px 20px}.market-support-page{margin:12px 8px}.market-support .ms-conversation-heading{gap:8px}.market-support .ms-conversation-heading h2{font-size:16px}.market-support .ms-message div{flex-wrap:wrap;gap:4px}}@media(prefers-reduced-motion:reduce){.market-support button{transition:none}}
.market-support .ms-market-back{display:block;margin-bottom:14px;font-size:12px;color:var(--ms-muted);text-decoration:none}.market-support .ms-market-back:hover{color:var(--ms-text)}.market-support .ms-market-back:focus-visible{outline:2px solid #4a9aff;outline-offset:3px}
:is(html.light,html.contrast) .market-support{--ms-bg:rgb(var(--color-bg-primary,255 255 255));--ms-panel:rgb(var(--color-bg-additional-1,242 242 242));--ms-border:rgb(var(--color-border-2,220 220 220));--ms-text:rgb(var(--color-text-primary,23 23 23));--ms-muted:rgb(var(--color-text-secondary,102 102 102))}

/* Sound stays separate from the close target, including inside the mobile header. */
.market-support .ms-header{gap:12px}.market-support .ms-header>div{margin-right:auto;min-width:0}
.market-support .ms-sound-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-height:32px;padding:6px 9px;font-size:11px;white-space:nowrap}
.market-support .ms-sound-toggle svg{display:block;flex:none;width:16px;height:16px}
/* Reference support drawer: the 64px gutter holds the desktop close button. */
.preview-dialog.market-dialog.market-support-dialog.market-support-chat{position:fixed;inset:0 0 0 auto;box-sizing:border-box;width:538px;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0 0 0 64px;border:0;border-radius:0;background:transparent;color:#f5f5f5;box-shadow:none;overflow:hidden;font:400 14px/1.45 "Segoe UI",Arial,sans-serif;color-scheme:dark;transform:none;animation:msc-enter .22s ease-out both}
.market-support-dialog.market-support-chat::backdrop{background:rgb(0 0 0 / 58%);backdrop-filter:none}
.market-support-chat .msc-panel{display:flex;flex-direction:column;box-sizing:border-box;width:100%;height:100%;min-height:0;background:#101010;padding:0 14px 0 0}
.market-support-chat .msc-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;box-sizing:border-box;height:76px;padding:0 23px;border-bottom:1px solid #252525}
.market-support-chat .msc-header h1{margin:0;font:600 20px/28px "Segoe UI",Arial,sans-serif;letter-spacing:0}
.market-support-chat .msc-history{font-size:11px;color:#999;text-decoration:none}
.market-support-chat .msc-history:hover{color:#fff}
.market-support-chat button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:0;border:0;border-radius:5px;background:transparent;color:#a4a4a4;padding:0;font:inherit;cursor:pointer;transition:color .15s,background .15s}
.market-support-chat button:hover{background:#242424;color:#fff}
.market-support-chat button:active{transform:none}
.market-support-chat button:disabled{opacity:1;cursor:default;color:#666}
.market-support-chat svg{display:block;width:24px;height:24px;flex:none}
.market-support-chat .msc-close{position:absolute;top:22px;left:11px;width:28px;height:28px;background:#111;color:#eee}
.market-support-chat .msc-close svg{width:22px;height:22px}
.market-support-chat .msc-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 23px 20px}
.market-support-chat .msc-empty{text-align:center;padding-top:101px;color:#aaa}
.market-support-chat .msc-empty svg{width:28px;height:28px;margin:0 auto 36px;color:#f5f5f5}
.market-support-chat .msc-empty p{margin:0 0 4px;font-size:14px;line-height:22px}
.market-support-chat .msc-empty small{font-size:13px;line-height:20px;color:#828282}
.market-support-chat .msc-footer{flex:none;border-top:1px solid #292929;padding:12px 17px 12px 23px}
.market-support-chat .msc-compose{display:flex;align-items:flex-end;gap:14px;margin:0;padding:0}
.market-support-chat .msc-compose textarea{display:block;box-sizing:border-box;flex:1;min-width:0;width:0;height:46px;min-height:46px;max-height:126px;resize:none;margin:0;padding:11px 12px;border:1px solid #29292b;border-radius:13px;background:#1b1c1e;color:#eee;font:400 15px/22px "Segoe UI",Arial,sans-serif;overflow-y:auto}
.market-support-chat .msc-compose textarea::placeholder{color:#aaa;opacity:1}
.market-support-chat .msc-attach,.market-support-chat .msc-send{width:22px;height:46px}
.market-support-chat .msc-attach svg{width:18px;height:22px;color:#aaa}
.market-support-chat .msc-send svg{width:23px;height:23px}
.market-support-chat .msc-send:not(:disabled){color:#eee}
.market-support-chat .msc-attach:disabled{cursor:not-allowed}
.market-support-chat .msc-log{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding-top:24px}
.market-support-chat .msc-log:empty{display:none}
.market-support-chat .msc-message{box-sizing:border-box;max-width:86%;padding:10px 13px;background:#1d1e20;border-radius:12px;overflow-wrap:anywhere;white-space:pre-wrap}
.market-support-chat .msc-message p{margin:0;font-size:14px;line-height:21px}
.market-support-chat .msc-message time{display:block;color:#858585;font-size:10px;text-align:right;margin-top:4px}
.market-support-chat .msc-user{align-self:flex-end;background:#292a2d}
.market-support-chat .msc-system{align-self:center;background:none;color:#8f8f8f;font-size:11px;text-align:center}
.market-support-chat .msc-system p{font-size:11px}
.market-support-chat .msc-author{display:block;color:#aaa;font-size:11px;margin-bottom:4px}
.market-support-chat .msc-more,.market-support-chat .msc-login,.market-support-chat .msc-reopen,.market-support-chat .msc-retry{padding:9px 12px;border:1px solid #303030;margin-top:10px;font-size:12px}
.market-support-chat .msc-more{width:100%}
.market-support-chat .msc-notice,.market-support-chat .msc-error{flex:none;margin:12px 23px 0;font-size:12px;line-height:18px;overflow-wrap:anywhere;color:#aaa}
.market-support-chat .msc-error{padding:10px;border:1px solid #603333;border-radius:8px;color:#ed9999}
.market-support-chat .msc-delivery{color:#8b8b8b;font-size:11px;margin-bottom:9px}
.market-support-chat [hidden]{display:none!important}
.market-support-chat :is(button,textarea,a):focus-visible{outline:2px solid #8bafff;outline-offset:3px}
.preview-dialog.market-support-chat.msc-closing{animation:msc-exit .18s ease-in both;pointer-events:none}
@keyframes msc-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}
@keyframes msc-exit{from{transform:translateX(0)}to{transform:translateX(100%)}}
@media(max-width:560px){.preview-dialog.market-dialog.market-support-dialog.market-support-chat{width:100vw;max-width:100vw;padding:0}.market-support-chat .msc-panel{padding-right:0}.market-support-chat .msc-close{left:auto;right:17px;top:24px}.market-support-chat .msc-header{padding:0 20px}.market-support-chat .msc-history{margin-right:36px}.market-support-chat .msc-scroll{padding-right:20px;padding-left:20px}.market-support-chat .msc-footer{padding-bottom:max(12px,env(safe-area-inset-bottom));padding-left:17px;padding-right:17px}.market-support-chat .msc-compose{gap:12px}.market-support-chat .msc-compose textarea{font-size:16px}}
@media(prefers-reduced-motion:reduce){.preview-dialog.market-dialog.market-support-dialog.market-support-chat,.preview-dialog.market-support-chat.msc-closing{animation:none}.market-support-chat button{transition:none}}
.market-support-chat .msc-header h1{flex:none;margin-right:auto}.market-support-chat .msc-history{flex:none;white-space:nowrap}
.market-support-chat .ms-sound-toggle{width:32px;height:32px;min-height:32px;padding:0;border:1px solid #303030}
.market-support-chat .ms-sound-toggle>span{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:560px){.market-support-chat .msc-header{padding-right:60px;gap:8px}.market-support-chat .msc-history{margin-right:0}}

/* Support file drafts and account-protected downloads. */
.market-support [data-ms-file-input][hidden]{display:none!important}
.market-support .ms-selected-files{display:flex;flex-direction:column;gap:6px;max-height:170px;overflow:auto;overscroll-behavior:contain;margin:0 0 10px;min-width:0}
.market-support .ms-selected-files[hidden]{display:none!important}
.market-support .ms-file-help,.market-support .ms-files-preparing{font-size:11px;line-height:16px;color:#999}
.market-support .ms-file-chip{display:flex;align-items:center;gap:8px;min-width:0;background:#242528;border:1px solid #35363a;border-radius:8px;padding:5px 8px;color:#ddd;font-size:12px}
.market-support .ms-file-chip>span{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.market-support .ms-file-chip>button{width:28px;height:28px;min-height:28px;padding:0;flex:none;border:0;font-size:20px;line-height:1;background:transparent;color:inherit}
.market-support .ms-message-files{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin-top:7px;min-width:0;max-width:100%}
.market-support .ms-message-files .ms-file-download{display:block;text-align:left;padding:8px 10px;min-height:36px;max-width:100%;border:1px solid #45464a;border-radius:7px;background:#ffffff08;color:#ddd;font-size:12px;line-height:18px;white-space:normal;overflow-wrap:anywhere}
.market-support .ms-file-delivery{font-size:10px;line-height:15px;color:#aaa;white-space:normal}
.market-support .ms-file-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.market-support .ms-file-controls small{font-size:11px;color:var(--ms-muted)}
@media(max-width:560px){.market-support .ms-file-chip>button{width:34px;height:34px}.market-support .ms-message-files .ms-file-download{min-height:42px}}

/* Keep the compact conversation focused on messages; reply audio stays active. */
.market-support-chat .msc-history,.market-support-chat .ms-sound-toggle,.market-support-chat .msc-delivery{display:none}
/* One right-side support panel, including the complete conversation history. */
.preview-dialog.market-dialog.market-support-history-view{box-sizing:border-box;inset:0 0 0 auto;width:min(474px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;margin:0;border:0;border-left:1px solid #333;border-radius:0;display:flex;flex-direction:column;background:#131313}
.market-support-history-view .ms-header{flex:none;padding-top:max(24px,env(safe-area-inset-top))}.market-support-history-view .ms-content{height:auto;flex:1;min-height:0;overflow:auto}.market-support-history-view .ms-footer{flex:none;padding-bottom:max(12px,env(safe-area-inset-bottom))}
.market-support-chat .msc-history{display:inline-flex;font-size:11px}.market-support-chat .msc-ticket-close{background:none;border:0;color:#aaa;font-size:11px;min-height:32px;margin-top:4px;padding:4px 0}.market-support-route-shell{min-height:65vh;display:grid;place-content:center;gap:16px;padding:24px}.market-support-route-shell h1{font:600 28px system-ui}.market-support-route-shell button{font:inherit;padding:12px 20px;border:1px solid #444;border-radius:9px;background:#222;color:inherit}
@media(max-width:640px){
 .market-support-route-shell{min-width:0;padding:16px 14px;overflow-wrap:anywhere}
 .market-support .ms-header{gap:12px}
 .market-support .ms-header>div{min-width:0;overflow-wrap:anywhere}
 .market-support :is(input,textarea,select){min-width:0;max-width:100%}
}
