@import url('./panel.css?v=info1');
.pipMap{display:none;grid-column:1/-1;min-width:0;border:1px solid #335148;border-radius:13px;background:linear-gradient(120deg,#172e31,#152635);padding:11px 12px}.combined-pip .pipMap{display:block}.pipMapHeading{display:flex;gap:9px;align-items:center}.pipMapBadge{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#a1e8ce18;color:#a1efd3;font-size:22px}.pipMapHeading small{display:block;font-size:9px!important;color:#9ab9b7;letter-spacing:.08em}.pipMapHeading strong{margin:2px 0 0!important;font-size:14px!important;color:#def3e9!important}.pipMapCount{margin-left:auto;font-size:10px;color:#92b8ad}.pipMapMobs{display:flex;flex-wrap:wrap;gap:5px;max-height:88px;overflow:auto;margin-top:9px;font-size:11px;color:#94b5ba}.pipMapMob{display:flex;flex-direction:column;align-items:center;gap:3px;max-width:98px;min-width:56px;border:1px solid transparent;border-radius:9px;background:#10242b!important;padding:5px 7px!important;color:#d3e6e9!important;font-size:10px!important}.pipMapMob img{width:36px;height:36px;object-fit:contain;image-rendering:pixelated}.pipMapMob:hover,.pipMapMob:focus-visible{border-color:#96dfc2;background:#25453f!important}.pipMapDetail{position:fixed;right:8px;top:48px;bottom:8px;width:254px;z-index:20;border:1px solid #45645b;border-radius:14px;background:#142733;box-shadow:0 12px 28px #0005;overflow:hidden;display:flex;flex-direction:column}.pipMapDetail[hidden]{display:none}.pipMapDetailBar{display:flex;justify-content:space-between;gap:8px;padding:7px 9px;border-bottom:1px solid #304b51}.pipMapDetailBar button{font-size:11px!important;padding:5px 8px!important}.pipMapDetailBody{overflow:auto;padding:12px;font-size:12px}.pipMapDetailBody .mapInfoHero{gap:9px}.pipMapDetailBody .mapInfoHero h3{font-size:15px}.pipMapDetailBody .mapInfoHero p{font-size:10px}.pipMapDetailBody .mapEntityIcon{width:42px;height:42px;flex-basis:42px}.pipMapDetailBody .mapInfoStats{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.pipMapDetailBody .mapInfoStats dd{font-size:13px}.pipMapDetailBody .mapInfoGrid{grid-template-columns:1fr;gap:5px}.pipMapDetailBody .mapEntityButton{padding:7px;min-width:0;font-size:11px}.pipMapDetailBody .mapEntityText strong{font-size:11px;color:#d8e9e8}.pipMapDetailBody .mapEntityText small{font-size:9px}.pipMapDetailBody h4{font-size:12px}.pipMapAccuracy{padding:9px;border-radius:8px;background:#223b3b;color:#ade5cf;font-size:11px;line-height:1.5}.combined-pip #workspace{margin-right:270px}.combined-pip .chat-stream{height:170px!important;max-height:26vh!important}.combined-pip #feed.single-channel .chat-stream{height:290px!important;max-height:44vh!important}
.pipMapDetailBody .mapEntityButton{display:flex;align-items:center;gap:8px;text-align:left;width:100%;border:1px solid #314b59;border-radius:9px;background:#1b3341;color:#d6e7eb;font-weight:400}.pipMapDetailBody .mapEntityButton:hover{border-color:#93d8ba;background:#24443f}.pipMapDetailBody .mapEntityText{gap:3px}.pipMapDetailBody .mapEntityText strong{margin:0!important}.pipMapDetailBody .mapEntityIcon img{max-width:38px;max-height:38px}.pipMapDetailBody .mapEntityArrow{font-size:15px}

.pipMapEmpty{text-align:center;padding:32px 8px;color:#89adaf;font-size:12px;line-height:1.9}

/* One fixed toolbar row, with independent, aligned content scroll areas. */
body.combined-pip{height:100dvh;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr)}
.combined-pip .pip-toolbar{position:relative;top:auto;min-height:0}
.combined-pip #workspace{margin:0 270px 0 0;padding:10px;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;max-width:none}
.combined-pip .pipMapDetail{top:calc(var(--pip-toolbar-height,54px) + 10px);right:10px;bottom:10px;width:250px}
.pipMapDetailBody{flex:1;min-height:0;overflow-y:auto;scrollbar-gutter:stable}
.pipMapDetailBody .mapInfoHero{margin:6px 0 14px}
.pipMapDetailBody .mapInfoStats{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.pipMapDetailBody .mapInfoStats>div{min-height:62px;padding:9px 10px}
.pipMapDetailBody .mapInfoStats small{margin-top:5px;font-size:9px;color:#8eafbc;line-height:1.3}

/* Compact spacing: the side sheet sits six pixels from the content cards. */
.combined-pip #workspace{margin-right:260px;padding:6px;gap:8px;scrollbar-gutter:auto}
.combined-pip .pipMapDetail{top:calc(var(--pip-toolbar-height,54px) + 6px);right:6px;bottom:auto;width:254px;height:auto;max-height:calc(100dvh - var(--pip-toolbar-height,54px) - 12px)}
.pipMapDetailBar{flex-shrink:0}.pipMapDetailBody{scrollbar-gutter:auto}
.combined-pip .chat-stream{height:150px!important}
.combined-pip #feed.single-channel .chat-stream{height:210px!important;max-height:36vh!important}
.pipMapEmpty{margin:0;padding:22px 8px}

.pipMapMob[aria-pressed="true"]{border-color:#9df1d3;background:#25433f;box-shadow:0 0 0 1px #9df1d344}
.pipMapDetailBar [data-pip-unpin]{margin-left:auto;color:#a0f0d3}

/* Shared top and bottom edges; lists page instead of scrolling. */
.combined-pip #workspace{overflow:visible;align-content:start}
.combined-pip .pipMapDetail{bottom:6px;max-height:none;height:auto}
.pipMapDetailBody{overflow:visible;padding:10px}
.pipMapMobs{max-height:none;overflow:visible}
.pipMapDetailBody .mapInfoHero{margin:0 0 8px}
.pipMapDetailBody .mapInfoStats{margin:8px 0}
.pipMapDetailBody .mapInfoStats>div{min-height:46px;padding:6px 8px}
.pipMapDetailBody .mapInfoSection{margin-top:8px;padding-top:0;border:0}
.pipMapDetailBody [hidden]{display:none!important}
.pipMapDetailBody .mapEntityButton{padding:5px;min-height:48px}
.pipMapDetailBody .mapEntityText small{display:none}
.pipInfoTabs{display:flex;gap:4px;margin:8px 0}
.pipInfoTabs button{padding:6px!important;font-size:10px!important;flex:1}
.pipInfoTabs button[aria-pressed="true"]{color:#a0f0d3;border-color:#73c7af}
.pipInfoPager{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:8px;font-size:11px}
.pipInfoPager button{padding:4px 12px!important}

.combined-pip #workspace{display:flex;flex-direction:column;align-items:stretch;min-height:0}
.combined-pip #translation-outgoing-panel,.combined-pip #combinedMetrics{flex:0 0 auto}
.combined-pip #translation-feed-panel{flex:1 1 0;min-height:0;display:flex;flex-direction:column}
.combined-pip #feed{flex:1;min-height:0;grid-auto-rows:minmax(0,1fr)}
.combined-pip #feed .channel-section{min-height:0;height:100%;box-sizing:border-box}
.combined-pip #feed .chat-stream,.combined-pip #feed.single-channel .chat-stream{height:calc(100% - 34px)!important;max-height:none!important;min-height:0}

/* Both feeds share the available space, rather than each taking 100%. */
.combined-pip #feed{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;overflow:visible}
.combined-pip #feed.single-channel{grid-template-rows:minmax(0,1fr)}
.combined-pip #feed .channel-section{height:auto;margin:0!important;display:flex;flex-direction:column;min-height:0}
.combined-pip #feed .channel-section[hidden]{display:none!important}
.combined-pip #feed .channel-section h3{flex:0 0 auto;margin:0 0 6px;font-size:12px}
.combined-pip #feed .chat-stream,.combined-pip #feed.single-channel .chat-stream{flex:1 1 0;height:auto!important;min-height:0;max-height:none!important}
@media(max-height:900px){
 .combined-pip .pip-toolbar{padding:6px 10px}
 .combined-pip #workspace{gap:6px;margin-right:236px}
 .combined-pip .pipMapDetail{width:230px}
 .combined-pip .panel{padding:9px}
 .combined-pip h2{font-size:13px;margin-bottom:6px}
 .combined-pip #message{flex-basis:auto;padding:7px;font-size:13px}
 .combined-pip .sendrow{flex-wrap:nowrap;gap:5px}
 .combined-pip button{padding:6px 8px}
 .combined-pip .options{margin-top:6px;gap:8px}
 .combined-pip #outgoing-result{font-size:13px;margin:6px 0}
 .combined-pip #outgoing-meaning,.combined-pip #send-status{font-size:11px;margin:4px 0}
 .combined-pip .feed-view{margin:6px 0}
 .combined-pip .metrics>div{padding:7px}
 .combined-pip .metrics strong{margin-top:4px;font-size:16px}
 .combined-pip .pipMap{padding:8px}
 .combined-pip .pipMapMobs{margin-top:5px}
 .combined-pip .pipMapMob img{width:28px;height:28px}
 .combined-pip .pipMapDetailBody{padding:8px}
 .combined-pip .pipMapDetailBody .mapEntityButton{min-height:40px;padding:3px}
 .combined-pip .pipMapDetailBody .mapEntityIcon{width:32px;height:32px;flex-basis:32px}
 .combined-pip .pipMapDetailBody .mapEntityIcon img{max-width:30px;max-height:30px}
}

.combined-pip .chat-stream{padding:5px;box-sizing:border-box}
.combined-pip .chat-stream>p{margin:0;font-size:11px}
@media(max-height:700px){.combined-pip #feed:not(.single-channel){grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}}

.pipPresetButtons{display:flex;gap:4px;margin-left:auto}.pipPresetButtons button{font-size:10px;padding:4px 7px}.pipPresetButtons button[aria-pressed="true"]{color:#a1efd3;border-color:#8dd5ba}
.combined-pip.pip-split #workspace{margin-right:0}
.pip-detached{margin:0;background:#142733;color:#dcecf4;font:12px system-ui;height:100vh;overflow:hidden}
.pip-detached .pipMapDetail{position:static;width:100%;height:100%;max-height:none;box-sizing:border-box;border-radius:10px}
.pip-detached button{border:1px solid #385262;border-radius:7px;background:#203545;color:#dcecf4;cursor:pointer}
.pip-detached .pipMapDetailBody{display:grid;grid-template-columns:230px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:6px 12px;padding:6px 10px;min-height:0}
.pip-detached .mapInfoHero{grid-column:1;grid-row:1;margin:0!important}
.pip-detached .mapInfoHero .mapEntityIcon{height:30px;width:30px;flex-basis:30px}
.pip-detached .mapInfoHero p,.pip-detached .mapInfoHero small{display:none}
.pip-detached .mapInfoStats{grid-column:1;grid-row:2;margin:0!important;align-content:start}
.pip-detached .mapInfoStats>div{padding:5px;min-height:36px}
.pip-detached .pipInfoTabs{grid-column:2;grid-row:1;margin:0}
.pip-detached .mapInfoSection{grid-column:2;grid-row:2;margin:0!important;min-width:0}
.pip-detached .mapInfoGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px}
.pip-detached .mapEntityButton{min-height:35px;padding:3px!important}
.pip-detached .mapEntityIcon{width:26px;height:26px;flex-basis:26px}
.pip-detached .mapEntityIcon img{max-width:25px;max-height:25px}
.pip-detached .pipInfoPager{margin-top:4px;gap:12px}
.pip-detached .pipMapEmpty{grid-column:1/-1}

.combined-pip.pip-split .pipMapDetail{display:none}

/* Give the live feed priority over summary-card whitespace. */
.combined-pip #workspace{gap:6px}
.combined-pip #translation-outgoing-panel{padding:8px}
.combined-pip #translation-outgoing-panel h2{font-size:12px;margin:0 0 4px}
.combined-pip #translation-outgoing-panel .options{font-size:10px;margin-top:4px;gap:8px}
.combined-pip #outgoing-result{font-size:12px;line-height:1.4;margin:4px 0}
.combined-pip #outgoing-meaning{font-size:11px;line-height:1.4;margin:3px 0}
.combined-pip #send-status{font-size:10px;margin:3px 0}
.combined-pip .pipMap{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2fr);align-items:center;gap:8px;padding:7px 9px}
.combined-pip .pipMapMobs{margin:0;gap:4px}
.combined-pip .pipMapMob{padding:3px 5px!important}
.combined-pip .pipMapMob img{width:28px;height:28px}
.combined-pip .metrics>div{padding:7px}
.combined-pip .metrics small span{display:inline;margin:0 0 0 5px;font-size:9px}
.combined-pip .metrics strong{font-size:16px;margin-top:4px}
.combined-pip .metrics .metricActions{padding:5px 7px;gap:5px}
.combined-pip .metricActions button{padding:4px 5px}
.combined-pip #translation-feed-panel{padding:8px;min-height:0}
.combined-pip #translation-feed-panel .sectionhead{gap:6px}
.combined-pip #translation-feed-panel .sectionhead button{padding:5px 8px}
.combined-pip #translation-feed-panel .feed-view{margin:5px 0;gap:4px}
.combined-pip #translation-feed-panel .feed-view button{padding:4px 8px}
.combined-pip #feed:not(.single-channel){grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}
.combined-pip .chat-stream .card{padding:6px;margin-bottom:5px}
.combined-pip .chat-stream .card .text{font-size:13px;line-height:1.45;margin:4px 0}


/* A closed detail never reserves a sidebar. Expansion is controlled by clicks. */
.combined-pip #workspace{margin-right:0!important}
.combined-pip.pip-detail-open:not(.pip-split) #workspace{margin-right:250px!important}
.combined-pip.pip-detail-open:not(.pip-split) .pipMapDetail{width:240px!important}
.pip-detached{padding:6px;box-sizing:border-box}
.pip-detached .pipMapDetail{height:100%;border-radius:14px}
.pip-detached .pipMapDetailBody{overflow:hidden}

.pip-detached .pipMapDetailBar{padding:4px 7px}.pip-detached .pipMapDetailBar button{padding:3px 6px!important}.pip-detached .mapInfoStats{gap:4px}.pip-detached .mapInfoStats>div{min-height:28px;padding:3px}.pip-detached .mapInfoStats dt{font-size:9px}.pip-detached .mapInfoStats dd{font-size:12px}.pip-detached .mapInfoStats small{font-size:8px}

/* Dense readable drops, shared by sidebar and the FHD bottom sheet. */
.pipMapDetailBody{padding:7px!important}.pipMapDetailBody .mapInfoHero{margin:0 0 5px}.pipMapDetailBody .mapInfoHero p,.pipMapDetailBody .mapInfoHero small{display:none}.pipMapDetailBody .mapInfoHero h3{font-size:13px;margin:0}.pipMapDetailBody .mapInfoHero>.mapEntityIcon{width:28px;height:28px;flex-basis:28px}.pipMapDetailBody .mapInfoHero img{max-width:26px;max-height:26px}
.pipMapDetailBody .mapInfoStats{gap:4px;margin:5px 0}.pipMapDetailBody .mapInfoStats>div{min-height:29px;padding:3px 5px}.pipMapDetailBody .mapInfoStats dt{font-size:9px}.pipMapDetailBody .mapInfoStats dd{font-size:12px}.pipMapDetailBody .mapInfoStats small{font-size:8px;margin-top:1px}
.pipMapDetailBody .mapInfoGrid{gap:3px}.pipMapDetailBody .mapEntityButton{min-height:27px;height:27px;padding:2px 4px;gap:5px;border-radius:6px}.pipMapDetailBody .mapEntityButton .mapEntityIcon{width:21px;height:21px;flex:0 0 21px}.pipMapDetailBody .mapEntityButton img{width:20px;height:20px;max-width:20px;max-height:20px;object-fit:contain;image-rendering:pixelated}.pipMapDetailBody .mapEntityText{min-width:0;flex:1}.pipMapDetailBody .mapEntityText strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.pipMapDetailBody .mapEntityArrow{display:none}.pipItemPrice{flex-shrink:0;font-size:9px;color:#a1efd3;font-variant-numeric:tabular-nums}.pipInfoTabs{margin:4px 0}.pipInfoTabs button{padding:3px!important}.pipInfoPager{margin-top:4px;gap:10px}.pipInfoPager button{padding:2px 8px!important}
body.pip-detached{height:100dvh;padding:3px;margin:0;overflow:hidden;--pip-drop-columns:3}.pip-detached .pipMapDetail{position:static!important;width:100%!important;height:100%!important;max-height:none!important;border-radius:9px;box-shadow:none}.pip-detached .pipMapDetailBar{padding:1px 4px;height:20px;min-height:20px;box-sizing:border-box}.pip-detached .pipMapDetailBar button{padding:0 5px!important;font-size:9px!important;line-height:16px}
.pip-detached .pipMapDetailBody{display:grid;grid-template-columns:170px minmax(0,1fr);grid-template-rows:20px minmax(0,1fr);gap:2px 7px;padding:3px!important;overflow:hidden}.pip-detached .pipMapDetailBody .mapInfoHero{grid-column:1;grid-row:1;margin:0;gap:4px}.pip-detached .pipMapDetailBody .mapInfoHero h3{font-size:11px;white-space:nowrap}.pip-detached .pipMapDetailBody .mapInfoHero>.mapEntityIcon{width:20px;height:20px;flex-basis:20px}.pip-detached .pipMapDetailBody .mapInfoHero img{max-width:20px;max-height:20px}
.pip-detached .pipMapDetailBody .mapInfoStats{grid-column:1;grid-row:2;align-self:start;margin:1px 0;gap:2px}.pip-detached .pipMapDetailBody .mapInfoStats>div{min-height:22px;padding:1px 3px}.pip-detached .pipMapDetailBody .mapInfoStats dt{font-size:8px}.pip-detached .pipMapDetailBody .mapInfoStats dd{font-size:10px}.pip-detached .pipMapDetailBody .mapInfoStats small{display:none}
.pip-detached .pipInfoTabs{grid-column:2;grid-row:1;margin:0;gap:3px}.pip-detached .pipInfoTabs button{padding:0 4px!important;font-size:10px!important}.pip-detached .mapInfoSection{grid-column:2;grid-row:2;margin:0!important;padding:0!important;min-height:0;display:flex;flex-direction:column;overflow:hidden}.pip-detached .pipMapDetailBody .mapInfoGrid{grid-template-columns:repeat(var(--pip-drop-columns),minmax(0,1fr));grid-auto-rows:26px;gap:2px;align-content:start;flex:1;min-height:0}.pip-detached .pipMapDetailBody .mapEntityButton{height:26px;min-height:26px}.pip-detached .pipInfoPager{height:16px;min-height:16px;margin:0;gap:10px;font-size:10px}.pip-detached .pipInfoPager button{height:16px;padding:0 7px!important;line-height:14px}

.combined-pip .pipMapDetailBody .mapEntityButton{min-height:27px;height:27px;padding:2px 4px}.combined-pip .pipMapDetailBody .mapInfoStats small{display:none}


@media(max-height:119px){body.pip-detached{padding:1px}.pip-detached .pipMapDetailBody{grid-template-rows:14px minmax(0,1fr);padding:2px!important;gap:2px 5px}.pip-detached .pipMapDetailBar{position:absolute;left:125px;top:2px;width:40px;border:0;padding:0;z-index:2}.pip-detached .pipMapDetailBar [data-pip-unpin],.pip-detached .pipMapDetailBar [data-pip-close]{display:none}.pip-detached .pipMapDetailBody .mapInfoHero h3{font-size:10px}.pip-detached .pipMapDetailBody .mapInfoHero>.mapEntityIcon{width:15px;height:15px;flex-basis:15px}.pip-detached .pipMapDetailBody .mapInfoHero img{max-width:15px;max-height:15px}.pip-detached .pipMapDetailBody .mapInfoStats>div{min-height:20px}.pip-detached .pipInfoTabs button{font-size:9px!important;line-height:12px}.pip-detached .pipMapDetailBody .mapInfoGrid{grid-auto-rows:22px;gap:2px}.pip-detached .pipMapDetailBody .mapEntityButton{height:22px;min-height:22px;padding:1px 3px}.pip-detached .pipMapDetailBody .mapEntityButton .mapEntityIcon{width:18px;height:18px;flex-basis:18px}.pip-detached .pipMapDetailBody .mapEntityButton img{width:17px;height:17px;max-width:17px;max-height:17px}.pip-detached .pipMapDetailBody .mapEntityText strong{font-size:10px}.pip-detached .pipInfoPager{height:12px;min-height:12px;line-height:12px}.pip-detached .pipInfoPager button{height:12px;line-height:10px;font-size:9px!important}}

@media(max-height:119px){.pip-detached .pipMapDetailBar{left:145px;width:22px}.pip-detached .pipMapDetailBar [data-pip-back]{font-size:0!important;width:20px;padding:0!important;white-space:nowrap}.pip-detached .pipMapDetailBar [data-pip-back]:before{content:'←';font-size:10px}.pip-detached .pipMapDetailBody .mapInfoStats{gap:3px 2px;align-content:start}.pip-detached .pipMapDetailBody .mapInfoStats>div{display:flex;align-items:center;gap:3px;padding:1px 2px;min-height:17px;height:17px}.pip-detached .pipMapDetailBody .mapInfoStats dt{font-size:7px;line-height:12px;margin:0;flex-shrink:0}.pip-detached .pipMapDetailBody .mapInfoStats dd{font-size:10px;line-height:12px;margin:0;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}

.pipMapMob[aria-pressed="true"]{border-color:#b8ff35!important;background:#243a24!important;box-shadow:inset 0 0 0 1px #b8ff35,0 0 7px #b8ff3580!important}
