.ptg-demand{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:20px 0;padding:20px;border:1px solid #ff751b38;border-radius:16px;background:linear-gradient(120deg,#fff8f1,#fff);color:#262c36}.ptg-demand h3{font-size:17px!important;margin:0 0 7px!important;border:0!important;padding:0!important}.ptg-demand h3 i{color:#ff6500;margin-right:7px}.ptg-demand p{margin:0;font-size:13px}.ptg-demand small{display:block;color:#88909d;font-size:11px;margin-top:6px}.ptg-demand-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.ptg-demand button{font:inherit;border:0;cursor:pointer}.ptg-demand-toggle{background:#ff6000;color:#fff;border-radius:11px;padding:10px 16px;font-weight:700!important;font-size:14px!important}.ptg-demand-toggle[aria-pressed=true]{background:#ffeadb;color:#dc5800}.ptg-demand button:disabled{opacity:.6;cursor:wait}.ptg-demand-people{display:flex;align-items:center;gap:8px;background:transparent;color:inherit;padding:0;font-size:12px!important}.ptg-demand-avatars{display:flex;padding-left:6px}.ptg-demand-avatars img{width:25px;height:25px;border-radius:50%;margin-left:-6px;border:2px solid #fff;object-fit:cover}.ptg-demand .ptg-demand-status{width:100%;font-size:12px;color:#b54b13;margin:0}.ptg-demand-status:empty{display:none}.ptg-demand-dialog{width:min(440px,90vw);max-height:75vh;overflow:auto;border:1px solid #e7e9ed;border-radius:16px;padding:20px;background:#fff;color:#242830}.ptg-demand-dialog::backdrop{background:#0007;backdrop-filter:blur(3px)}.ptg-demand-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.ptg-demand-dialog h3{margin:0;font-size:18px}.ptg-demand-dialog button{border:1px solid #e3e5eb;background:transparent;color:inherit;border-radius:8px;padding:7px 12px}.ptg-demand-userlist{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}.ptg-demand-userlist div{display:flex;align-items:center;gap:8px;font-size:13px;min-width:0}.ptg-demand-userlist img{width:28px;height:28px;border-radius:50%;object-fit:cover}.ptg-demand-userlist span{overflow-wrap:anywhere}.rollbar .ptg-support-link i{color:#ff6000}
html[data-bs-theme=dark] .ptg-demand,body.dark-open .ptg-demand{background:linear-gradient(120deg,#251b16,#191a1c);color:#e7e9ed;border-color:#684224}.dark-open .ptg-demand-dialog,html[data-bs-theme=dark] .ptg-demand-dialog{background:#1c1d20;color:#e7e9ed;border-color:#36383d}.dark-open .ptg-demand-avatars img{border-color:#24201c}.dark-open .ptg-demand-toggle[aria-pressed=true]{background:#493022;color:#ffb179}
@media(max-width:650px){.ptg-demand{padding:16px;gap:14px}.ptg-demand-actions{width:100%;justify-content:space-between}}
.ptg-demand{scroll-margin-top:120px}
.ptg-support-panel{position:fixed;z-index:99990;left:50%;top:50%;transform:translate(-50%,-50%);width:min(760px,calc(100vw - 32px));height:min(800px,calc(100dvh - 48px));display:flex;flex-direction:column;background:#fff;border:1px solid #e5e7ed;border-radius:16px;box-shadow:0 12px 48px #0004;overflow:hidden}.ptg-support-panel[hidden]{display:none!important}.ptg-support-panel>header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;color:#242833;background:#fff;border-bottom:1px solid #e8e8ec}.ptg-support-panel>header button{border:0;background:transparent;color:#6d7480;font-size:24px;line-height:1;cursor:pointer}.ptg-support-panel iframe{border:0;width:100%;flex:1;min-height:0;background:#f6f7fa}html[data-bs-theme=dark] .ptg-support-panel>header,body.dark-open .ptg-support-panel>header{background:#191b1e;color:#eee;border-color:#333}@media(max-width:600px){.ptg-support-panel{width:calc(100vw - 20px);height:calc(100dvh - 24px)}}
.ptg-support-panel>header{cursor:move;touch-action:none;user-select:none;flex-shrink:0}.ptg-support-panel>header button{cursor:pointer}.ptg-support-panel.is-dragging iframe{pointer-events:none}.ptg-demand .ptg-demand-avatars{display:flex;align-items:center;flex-shrink:0}.ptg-demand .ptg-demand-avatars img{display:block;width:25px!important;height:25px!important;min-width:25px!important;max-width:25px!important;max-height:25px!important;flex:0 0 25px!important;aspect-ratio:1;object-fit:cover!important}.ptg-demand-dialog .ptg-demand-userlist img{display:block;width:28px!important;height:28px!important;min-width:28px!important;max-width:none!important;flex:0 0 28px;object-fit:cover!important;aspect-ratio:1}.ptg-home-dynamic .ptg-home-dynamic-avatar{width:28px!important;height:28px!important;min-width:28px!important;flex:0 0 28px!important;aspect-ratio:1;object-fit:cover!important}
.ptg-support-panel{width:min(1100px,calc(100vw - 48px));height:min(900px,calc(100dvh - 64px));min-width:0;min-height:0;box-sizing:border-box}.ptg-support-panel>header{position:relative!important;inset:auto!important;width:100%!important;height:52px!important;min-height:52px!important;margin:0!important;padding:10px 18px!important;box-sizing:border-box;z-index:2;pointer-events:auto!important;cursor:grab}.ptg-support-panel>header strong{pointer-events:auto;cursor:grab}.ptg-support-panel.is-dragging>header{cursor:grabbing}.ptg-support-panel iframe{position:relative;z-index:0;display:block;max-width:none!important}.ptg-support-resize{position:absolute;display:block;z-index:4;touch-action:none}.ptg-support-resize.n,.ptg-support-resize.s{left:12px;right:12px;height:8px;cursor:ns-resize}.ptg-support-resize.n{top:0}.ptg-support-resize.s{bottom:0}.ptg-support-resize.w,.ptg-support-resize.e{top:12px;bottom:12px;width:8px;cursor:ew-resize}.ptg-support-resize.w{left:0}.ptg-support-resize.e{right:0}.ptg-support-resize.nw,.ptg-support-resize.ne,.ptg-support-resize.sw,.ptg-support-resize.se{width:16px;height:16px}.ptg-support-resize.nw{top:0;left:0;cursor:nwse-resize}.ptg-support-resize.ne{top:0;right:0;cursor:nesw-resize}.ptg-support-resize.sw{bottom:0;left:0;cursor:nesw-resize}.ptg-support-resize.se{bottom:0;right:0;cursor:nwse-resize}.ptg-support-resize.se::after{content:'';position:absolute;bottom:4px;right:4px;width:8px;height:8px;border-bottom:2px solid #9ca1aa;border-right:2px solid #9ca1aa}@media(max-width:600px){.ptg-support-panel{width:calc(100vw - 16px);height:calc(100dvh - 24px)}}

.ptg-sidebar-nav .ptg-chat-nav-unread{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;margin-left:6px;border-radius:10px;background:#ff6000;color:#fff;font-size:10px;font-weight:600;line-height:18px;white-space:nowrap;flex-shrink:0}.ptg-sidebar-nav .ptg-chat-nav-unread[hidden]{display:none!important}.ptg-sidebar-nav .ptg-chat-nav-unread.is-empty{background:rgba(145,152,164,.15);color:#8c95a3}

/* 未读角标使用独立的第三列，避免两列菜单网格把数字排到下一行。 */
.ptg-sidebar-nav .ptg-sidebar-nav-group a:has(> .ptg-chat-nav-unread){grid-template-columns:16px minmax(0,1fr) auto;grid-template-rows:auto;white-space:nowrap;column-gap:6px;row-gap:0}
.ptg-sidebar-nav .ptg-sidebar-nav-group a>.ptg-chat-nav-unread{grid-column:3;grid-row:1;justify-self:end;align-self:center;margin:0;min-width:17px;height:17px;padding:0 5px;line-height:17px;font-size:10px;border-radius:9px}
.ptg-sidebar-nav .ptg-sidebar-nav-group a:has(> .ptg-chat-nav-unread)>.ptg-sidebar-nav-title{grid-column:2;grid-row:1;white-space:nowrap}

/* Published Chinese counterparts replace the request action on original mods. */
.ptg-demand-available{align-items:flex-start}
.ptg-demand-available .ptg-demand-copy{flex:0 0 auto;padding-top:4px}
.ptg-demand-translation-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;flex:1 1 380px;min-width:0;max-width:760px}
.ptg-demand-translation-card{display:flex;align-items:center;text-align:left;gap:12px;min-width:0;padding:9px;border:1px solid #f3dccb;border-radius:12px;background:#fff;color:inherit!important;text-decoration:none!important;transition:border-color .18s,box-shadow .18s}
.ptg-demand-translation-card:hover{border-color:#ff8c42;box-shadow:0 4px 14px #ff65000d}
.ptg-demand-translation-card:focus-visible{outline:2px solid #ff6500;outline-offset:3px}
.ptg-demand-translation-card>img,.ptg-demand-translation-cover{display:block!important;width:96px!important;height:60px!important;min-width:96px;max-width:96px!important;max-height:60px!important;flex:0 0 96px;object-fit:cover!important;border-radius:7px;margin:0!important}
.ptg-demand-translation-cover{display:grid!important;place-items:center;background:#fff0e4;color:#ff6500;font-size:22px}
.ptg-demand-translation-text{display:block;text-align:left;min-width:0;flex:1}
.ptg-demand-translation-text strong{display:block;font-size:13px;line-height:1.6;font-weight:600;overflow-wrap:anywhere}
.ptg-demand-translation-text small{font-size:11px;line-height:1.5;margin-top:5px;color:#a56734}
.ptg-demand-translation-card>i{flex:none;color:#e7833b;font-size:15px;margin-left:2px}
html[data-bs-theme=dark] .ptg-demand-translation-card,body.dark-open .ptg-demand-translation-card{background:#222326;border-color:#584130}
html[data-bs-theme=dark] .ptg-demand-translation-card:hover,body.dark-open .ptg-demand-translation-card:hover{border-color:#b86a34}
html[data-bs-theme=dark] .ptg-demand-translation-cover,body.dark-open .ptg-demand-translation-cover{background:#39271d}
html[data-bs-theme=dark] .ptg-demand-translation-text small,body.dark-open .ptg-demand-translation-text small{color:#c3926d}
@media(max-width:650px){.ptg-demand-available{gap:12px}.ptg-demand-available .ptg-demand-copy{padding-top:0}.ptg-demand-translation-list{flex-basis:100%;grid-template-columns:minmax(0,1fr)}.ptg-demand-translation-card{gap:10px}.ptg-demand-translation-card>img,.ptg-demand-translation-cover{width:80px!important;height:54px!important;min-width:80px;max-width:80px!important;max-height:54px!important;flex-basis:80px}}
