                               
#pbscreenshotbtn{
  position:absolute;
  left:10px;
  bottom:96px;
  z-index:17;
  width:46px;
  min-width:46px;
  height:46px;
  min-height:46px;
  display:grid;
  place-items:center;
  padding:0;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.11);
  background:rgba(8,11,16,.94);
  color:#dce3eb;
  box-shadow:0 8px 22px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  cursor:pointer;
  pointer-events:auto!important;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
  transition:transform .14s ease,border-color .14s ease,background .14s ease,color .14s ease,opacity .14s ease;
}
#pbscreenshotbtn svg{width:20px;height:20px;display:block;pointer-events:none}
#pbscreenshotbtn:hover{border-color:rgba(255,255,255,.2);background:rgba(13,18,25,.97);color:#fff;transform:translateY(-1px)}
#pbscreenshotbtn:active{transform:scale(.94)}
#pbscreenshotbtn[hidden]{display:none!important}
body.tg-mode #pbscreenshotbtn{bottom:calc(96px + var(--tg-safe-bottom,0px))}
body.palette-open #pbscreenshotbtn,
body.admsheet-open #pbscreenshotbtn,
body.dailybonus-open #pbscreenshotbtn,
body.chat-open #pbscreenshotbtn,
body.clan-open #pbscreenshotbtn,
body.ref-open #pbscreenshotbtn,
body.online-open #pbscreenshotbtn,
body.radio-open #pbscreenshotbtn,
body.nick-modal-open #pbscreenshotbtn,
body.pbshot-modal-open #pbscreenshotbtn,
body.pbshot-selecting #pbscreenshotbtn{opacity:0!important;pointer-events:none!important}
@media(max-width:390px){#pbscreenshotbtn{width:44px;min-width:44px;height:44px;min-height:44px;border-radius:13px;left:10px;bottom:94px}}
@media(min-width:1100px) and (pointer:fine){#pbscreenshotbtn{left:12px;bottom:42px}}

                                                                 
#pbshotlayer{position:fixed;inset:0;display:none;z-index:100025;pointer-events:none;overflow:hidden}
body.pbshot-selecting #pbshotlayer{display:block}
.pbshot-shade{position:absolute;background:rgba(0,0,0,.7);pointer-events:none}
#pbshotselectbox{position:absolute;display:none;box-sizing:border-box;border:2px solid #7ee7ff;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.72),0 0 18px rgba(82,211,255,.24),inset 0 0 0 1px rgba(255,255,255,.18);background:rgba(90,220,255,.018);pointer-events:none;will-change:left,top,width,height}
.pbshot-corner{position:absolute;width:18px;height:18px;box-sizing:border-box;border:2px solid #071017;border-radius:5px;background:#b9f3ff;box-shadow:0 2px 9px rgba(0,0,0,.55),0 0 10px rgba(93,220,255,.55);pointer-events:none}
.pbshot-corner.tl{left:0;top:0;transform:translate(-50%,-50%)}
.pbshot-corner.tr{right:0;top:0;transform:translate(50%,-50%)}
.pbshot-corner.bl{left:0;bottom:0;transform:translate(-50%,50%)}
.pbshot-corner.br{right:0;bottom:0;transform:translate(50%,50%)}
@media(pointer:coarse){.pbshot-corner{width:22px;height:22px;border-radius:6px}}

#pbshotcapture{position:fixed;inset:0;z-index:100030;display:none;background:transparent;pointer-events:auto;touch-action:none;cursor:crosshair;-webkit-tap-highlight-color:transparent}
#pbshotcapture.on{display:block}

#pbshotselectionactions{
  position:fixed;
  left:50%;
  bottom:calc(18px + env(safe-area-inset-bottom,0px));
  z-index:100040;
  display:none;
  align-items:center;
  gap:9px;
  transform:translateX(-50%);
  max-width:calc(100vw - 16px);
  padding:7px;
  border:1px solid rgba(150,166,188,.18);
  border-radius:17px;
  background:rgba(9,13,18,.97);
  box-shadow:0 16px 42px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  pointer-events:auto;
}
#pbshotselectionactions.on{display:flex}
#pbshotselectionactions button{height:42px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 15px;border-radius:12px;border:1px solid rgba(255,255,255,.09);background:#151b23;color:#d7dee7;font:900 11px/1 Inter,sans-serif;cursor:pointer;touch-action:manipulation}
#pbshotselectionactions button svg{width:16px;height:16px;pointer-events:none}
#pbshotselectionactions .save{border-color:rgba(84,231,105,.3);background:#14271a;color:#83f98b}
#pbshotselectionactions .save:disabled{border-color:rgba(255,255,255,.07);background:#11161d;color:#596473;cursor:not-allowed;opacity:.7}
#pbshotselectionactions .cancel{color:#c3ccd8}
#pbshotselectionlabel{max-width:170px;padding:0 7px;color:#8d99a9;font:850 9px/1.2 Inter,sans-serif;white-space:nowrap}

.pbshot-overlay{position:fixed;inset:0;z-index:100060;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(2,5,9,.74);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.pbshot-overlay.on{display:flex}
.pbshot-card{width:min(94vw,520px);max-height:min(88dvh,760px);overflow:auto;border:1px solid rgba(142,160,184,.15);border-radius:25px;background:#0d1219;box-shadow:0 28px 84px rgba(0,0,0,.62);color:#eef3f8}
.pbshot-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 17px 13px;border-bottom:1px solid rgba(255,255,255,.065)}
.pbshot-title{display:flex;align-items:center;gap:11px;min-width:0}
.pbshot-title>span{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border-radius:12px;border:1px solid rgba(105,194,255,.2);background:#13212c;color:#9edcff}
.pbshot-title svg{width:18px;height:18px}
.pbshot-title div{min-width:0}
.pbshot-title b{display:block;font:950 16px/1.1 'Russo One',Inter,sans-serif}
.pbshot-title small{display:block;margin-top:4px;color:#798596;font:750 9px/1.3 Inter,sans-serif}
.pbshot-close{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:#141a22;color:#9ca7b6}
.pbshot-close svg{width:17px;height:17px}
.pbshot-body{padding:15px 16px 17px}
.pbshot-choicegrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pbshot-choice{min-height:128px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:8px;padding:15px;border-radius:18px;border:1px solid rgba(255,255,255,.085);background:#121820;color:#e7edf4;text-align:left;cursor:pointer;transition:.16s ease}
.pbshot-choice:hover{transform:translateY(-1px);border-color:rgba(105,194,255,.3);background:#15212b}
.pbshot-choice>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#172735;color:#9edcff}
.pbshot-choice svg{width:19px;height:19px}
.pbshot-choice b{font:900 13px/1.15 Inter,sans-serif}
.pbshot-choice small{color:#7e8a9b;font:750 9px/1.35 Inter,sans-serif}
.pbshot-watermarkrow{margin-top:11px;display:flex;align-items:center;justify-content:flex-end}
.pbshot-watermark{display:inline-flex;align-items:center;gap:7px;padding:5px 7px;border:0;background:transparent;color:#586474;font:800 8px/1 Inter,sans-serif;cursor:pointer}
.pbshot-watermark input{position:absolute;opacity:0;pointer-events:none}
.pbshot-watermark i{width:24px;height:13px;position:relative;border-radius:999px;background:#242b34;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.pbshot-watermark i::after{content:"";position:absolute;width:9px;height:9px;left:2px;top:2px;border-radius:50%;background:#687382;transition:transform .15s ease,background .15s ease}
.pbshot-watermark input:checked+i{background:#16301d}
.pbshot-watermark input:checked+i::after{transform:translateX(11px);background:#6cef77}
.pbshot-watermark span{opacity:.72}
.pbshot-previewwrap{position:relative;display:grid;place-items:center;min-height:190px;max-height:52dvh;overflow:hidden;border-radius:18px;border:1px solid rgba(255,255,255,.075);background-color:#090d12;background-image:linear-gradient(45deg,#11171e 25%,transparent 25%),linear-gradient(-45deg,#11171e 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#11171e 75%),linear-gradient(-45deg,transparent 75%,#11171e 75%);background-size:22px 22px;background-position:0 0,0 11px,11px -11px,-11px 0}
#pbshotpreview{display:block;max-width:100%;max-height:52dvh;object-fit:contain;image-rendering:auto}
#pbshotwatermarkedit{--pbshot-wm-font:12px;position:absolute;z-index:4;transform:translate(-50%,-50%);display:block;touch-action:none;user-select:none;-webkit-user-select:none;filter:drop-shadow(0 2px 5px rgba(0,0,0,.58))}
#pbshotwatermarkedit[hidden]{display:none!important}
.pbshot-watermark-logo{display:flex;align-items:center;white-space:nowrap;padding:0;background:transparent;color:#f4f5f7;font:400 var(--pbshot-wm-font)/1 'Press Start 2P',monospace;letter-spacing:-.04em;cursor:grab;touch-action:none;text-shadow:0 2px 7px rgba(0,0,0,.92),0 0 3px rgba(0,0,0,.72);filter:none;box-shadow:none;border:0;border-radius:0}
.pbshot-watermark-logo>span{color:#f4f5f7}
.pbshot-watermark-logo b{font:inherit;color:#8bea35}
.pbshot-watermark-logo em{font:inherit;font-style:normal;color:#6d7079}
.pbshot-watermark-logo.is-dragging{cursor:grabbing;box-shadow:0 0 0 2px rgba(126,231,255,.52),0 8px 22px rgba(0,0,0,.5)}
.pbshot-watermark-size{position:absolute;right:0;bottom:calc(100% + 5px);display:flex;gap:4px;padding:3px;border-radius:9px;background:rgba(8,12,17,.76);box-shadow:0 4px 12px rgba(0,0,0,.35);opacity:.68;transition:opacity .14s ease}
#pbshotwatermarkedit:hover .pbshot-watermark-size,.pbshot-watermark-logo.is-dragging+.pbshot-watermark-size{opacity:1}
.pbshot-watermark-size button{width:27px;height:24px;display:grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,.1);border-radius:7px;background:#141b23;color:#d9e4ee;font:900 16px/1 Inter,sans-serif;cursor:pointer;touch-action:manipulation}
.pbshot-watermark-size button:active{transform:scale(.93)}
.pbshot-resultmeta{display:flex;justify-content:space-between;gap:10px;margin:9px 2px 0;color:#718092;font:800 8px/1.2 Inter,sans-serif}
.pbshot-resultactions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px}
.pbshot-resultactions button{min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 13px;border-radius:14px;border:1px solid rgba(255,255,255,.085);background:#151b23;color:#dfe6ef;font:900 11px/1 Inter,sans-serif}
.pbshot-resultactions button svg{width:17px;height:17px}
.pbshot-resultactions .download{border-color:rgba(105,194,255,.25);background:#13222d;color:#aee2ff}
.pbshot-resultactions .share{border-color:rgba(91,238,108,.27);background:#14251a;color:#8bf493}
.pbshot-resultactions .wide{grid-column:1/-1;background:#11171e;color:#8793a3}
.pbshot-busy{position:absolute;inset:0;display:none;place-items:center;background:rgba(8,12,17,.74);color:#dce7f2;font:900 11px/1 Inter,sans-serif}
.pbshot-card.is-busy .pbshot-busy{display:grid}

.pbshot-settings-row .pbus-toggle-copy b{display:flex;align-items:center;gap:7px}
.pbshot-settings-row .pbus-camera-mini{width:16px;height:16px;color:#78cfff}

body.pbshot-selecting{overflow:hidden!important;user-select:none;-webkit-user-select:none;cursor:crosshair}
body.pbshot-selecting #area{touch-action:none!important}
body.pbshot-selecting #zbx,
body.pbshot-selecting #chatdock,
body.pbshot-selecting #shopfab,
body.pbshot-selecting #hqb,
body.pbshot-selecting #clanfab,
body.pbshot-selecting #radiowrap,
body.pbshot-selecting #mmwrap,
body.pbshot-selecting #cbcompactdock,
body.pbshot-selecting #cbquickfavorites,
body.pbshot-selecting #cbquickfavoritehint,
body.pbshot-selecting #cbar,
body.pbshot-selecting #admhistorydock,
body.pbshot-selecting #recentpanel,
body.pbshot-selecting #hlpanel{pointer-events:none!important;filter:saturate(.45);opacity:.28!important}

@media(max-width:560px){
  .pbshot-overlay{align-items:flex-end;padding:8px 8px max(8px,env(safe-area-inset-bottom,0px))}
  .pbshot-card{width:100%;max-height:86dvh;border-radius:24px}
  .pbshot-choicegrid{grid-template-columns:1fr}
  .pbshot-choice{min-height:91px;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;justify-content:initial}
  .pbshot-choice>span{grid-row:1/3}
  .pbshot-choice b,.pbshot-choice small{grid-column:2}
  .pbshot-resultactions{grid-template-columns:1fr}
  .pbshot-resultactions .wide{grid-column:auto}
  #pbshotselectionlabel{display:none}
  #pbshotselectionactions{width:max-content;max-width:calc(100vw - 16px)}
  #pbshotselectionactions button{min-width:122px}
}

                                                            
#pbshotpreview{
  opacity:0;
  color:transparent;
  image-rendering:pixelated;
  transition:opacity .12s ease;
}
#pbshotpreview.is-ready{opacity:1}
#pbshotpreview.is-error{display:none}
body.pbshot-selecting #pbshotcapture{touch-action:none!important}

                                                       
.pbshot-overlay{
  padding:max(10px,env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) max(12px,env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));
}
.pbshot-card{width:min(100%,520px)}
.pbshot-head{padding:15px 14px 12px;gap:10px}
.pbshot-title b{font-size:15px}
.pbshot-close{width:36px;height:36px;flex-basis:36px}

.pbshot-open-library{
  width:100%;
  min-height:64px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  margin-top:11px;
  padding:10px 12px;
  border:1px solid rgba(255,208,84,.24);
  border-radius:17px;
  background:#20190d;
  color:#ffe188;
  text-align:left;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.pbshot-open-library>span{
  width:42px;height:42px;display:grid;place-items:center;
  border-radius:13px;background:rgba(255,209,82,.09);color:#ffd76d;
}
.pbshot-open-library>span svg{width:20px;height:20px}
.pbshot-open-library div{min-width:0}
.pbshot-open-library b{display:block;font:900 13px/1.15 Inter,sans-serif;color:#ffe28e}
.pbshot-open-library small{display:block;margin-top:4px;color:#9d895d;font:750 9px/1.3 Inter,sans-serif}
.pbshot-open-library em{
  min-width:27px;height:27px;display:grid;place-items:center;padding:0 7px;
  border-radius:999px;background:rgba(255,210,88,.11);color:#ffd76d;
  font:900 10px/1 Inter,sans-serif;font-style:normal;
}
.pbshot-open-library em[hidden]{display:none}
.pbshot-open-library:active{transform:scale(.985)}

.pbshot-resultactions .library{border-color:rgba(255,208,84,.28);background:#241d0f;color:#ffe084}
.pbshot-title>span.is-folder{border-color:rgba(255,208,84,.22);background:#2a2111;color:#ffd66d}

.pbshot-library-card{max-width:560px}
.pbshot-library-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  min-height:64px;
}
.pbshot-library-empty{
  display:grid;justify-items:center;gap:10px;padding:26px 16px;
  border:1px dashed rgba(255,255,255,.09);border-radius:18px;
  background:rgba(255,255,255,.02);text-align:center;
}
.pbshot-library-empty[hidden]{display:none!important}
.pbshot-library-empty-icon{
  width:54px;height:54px;display:grid;place-items:center;border-radius:18px;
  background:rgba(255,208,84,.08);border:1px solid rgba(255,208,84,.2);color:#ffd66d;
}
.pbshot-library-empty-icon svg{width:24px;height:24px}
.pbshot-library-empty b{font:900 14px/1.2 Inter,sans-serif;color:#f3f7fc}
.pbshot-library-empty small{max-width:240px;color:#7f8b9c;font:750 11px/1.45 Inter,sans-serif}
.pbshot-library-item{
  min-width:0;display:flex;flex-direction:column;gap:7px;padding:7px;
  border:1px solid rgba(255,255,255,.075);border-radius:14px;
  background:#111821;color:#dce3eb;text-align:left;cursor:pointer;
}
.pbshot-library-item:active{transform:scale(.98)}
.pbshot-library-thumb{
  position:relative;width:100%;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;
  border-radius:10px;border:1px solid rgba(255,255,255,.08);background-color:#090e13;
  background-image:linear-gradient(45deg,#111820 25%,transparent 25%),linear-gradient(-45deg,#111820 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#111820 75%),linear-gradient(-45deg,transparent 75%,#111820 75%);
  background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0;
}
.pbshot-library-thumb img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;image-rendering:pixelated;opacity:0;transition:opacity .14s ease}
.pbshot-library-thumb.has-preview img{opacity:1}
.pbshot-library-placeholder{display:grid;place-items:center;color:#ffd66d;opacity:.72}
.pbshot-library-placeholder svg{width:23px;height:23px}
.pbshot-library-item time{
  display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  color:#8995a5;font:800 8px/1.2 Inter,sans-serif;
}

.pbshot-library-detail-card{max-width:520px}
.pbshot-library-detail-preview{
  display:grid;place-items:center;min-height:220px;max-height:55dvh;overflow:hidden;
  border-radius:18px;border:1px solid rgba(255,255,255,.075);background:#090d12;
  background-image:linear-gradient(45deg,#11171e 25%,transparent 25%),linear-gradient(-45deg,#11171e 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#11171e 75%),linear-gradient(-45deg,transparent 75%,#11171e 75%);
  background-size:22px 22px;background-position:0 0,0 11px,11px -11px,-11px 0;
}
.pbshot-library-detail-preview img{display:block;max-width:100%;max-height:55dvh;object-fit:contain;image-rendering:pixelated}
.pbshot-library-detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px}
.pbshot-library-detail-actions button{
  min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;
  padding:0 13px;border-radius:14px;border:1px solid rgba(255,255,255,.085);
  background:#151b23;color:#dfe6ef;font:900 11px/1 Inter,sans-serif;
}
.pbshot-library-detail-actions button svg{width:17px;height:17px}
.pbshot-library-detail-actions .download{border-color:rgba(105,194,255,.25);background:#13222d;color:#aee2ff}
.pbshot-library-detail-actions .share{border-color:rgba(91,238,108,.27);background:#14251a;color:#8bf493}
.pbshot-library-detail-actions .delete{grid-column:1/-1;color:#a6afbc;background:#11171e}

                                                                             
#pbshotwatermarkedit{max-width:calc(100% - 8px)}
.pbshot-watermark-logo{max-width:100%;font-size:var(--pbshot-wm-font);line-height:1}

@media(max-width:560px){
  .pbshot-overlay{
    align-items:flex-end;
    padding:8px max(8px,env(safe-area-inset-right,0px)) max(8px,env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));
  }
  .pbshot-card{width:100%;max-height:88dvh;border-radius:22px}
  .pbshot-head{padding:14px 12px 12px}
  .pbshot-body{padding:13px 12px 14px}
  .pbshot-library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .pbshot-library-item{padding:5px;border-radius:12px}
  .pbshot-library-item time{font-size:7px}
  .pbshot-library-detail-actions{grid-template-columns:1fr}
  .pbshot-library-detail-actions .delete{grid-column:auto}
}
@media(max-width:560px){
  #pbshotresult .pbshot-previewwrap{min-height:150px;max-height:34dvh}
  #pbshotresult #pbshotpreview{max-height:34dvh}
  #pbshotresult .pbshot-resultactions button{min-height:45px}
  #pbshotlibrarydetail .pbshot-library-detail-preview{min-height:180px;max-height:44dvh}
  #pbshotlibrarydetail .pbshot-library-detail-preview img{max-height:44dvh}
}

                                                                       
.pbshot-resultactions .library.is-added{
  border-color:rgba(255,208,84,.34);
  background:#241d0f;
  color:#ffe084;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.pbshot-resultactions .library.is-added svg{stroke-width:2.5}
.pbshot-library-detail-preview img{
  opacity:0;
  transition:opacity .14s ease;
}
.pbshot-library-detail-preview img.is-ready{opacity:1}
.pbshot-library-detail-preview img.is-error{display:none}

                                                 
#pbshotlibrarydetail .pbshot-title>div{
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  gap:2px;
}
#pbshotlibrarydetail .pbshot-title b,
#pbshotlibrarydetail #pbshotlibrarydetaildate{
  margin:0;
}
#pbshotlibrarydetail #pbshotlibrarydetaildate{
  line-height:1.15;
}


                                                                   
#pbscreenshotbtn.pbshot-fab-suppressed,
body.pb-ui-booting #pbscreenshotbtn,
body.palette-open #pbscreenshotbtn,
body.pb-user-settings-open #pbscreenshotbtn,
body.admsheet-open #pbscreenshotbtn,
body.chat-open #pbscreenshotbtn,
body.clan-open #pbscreenshotbtn,
body.ref-open #pbscreenshotbtn,
body.online-open #pbscreenshotbtn,
body.radio-open #pbscreenshotbtn,
body.dailybonus-open #pbscreenshotbtn,
body.chat-lightbox-open #pbscreenshotbtn,
body.pbshot-modal-open #pbscreenshotbtn,
body.pbshot-selecting #pbscreenshotbtn{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:scale(.92)!important;
}
.pbshot-settings-row .pbus-mobile-copy{min-width:0}
.pbshot-settings-row .pbus-mobile-icon{flex:0 0 auto}
.pbshot-settings-row .pbus-mobile-icon .pb-lucide{width:20px;height:20px}


                                                                                        
#area:has(#cbquickfavorites.on) #pbscreenshotbtn,
body:has(#cbquickfavorites.on) #pbscreenshotbtn{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:scale(.92)!important;
}

                                                    
#pbshotchooser .pbshot-card{
  background:#0c1219;
  border-color:rgba(139,163,191,.18);
  box-shadow:0 24px 70px rgba(0,0,0,.58),inset 0 1px 0 rgba(255,255,255,.025);
}
#pbshotchooser .pbshot-head{
  padding:14px 14px 12px;
  background:#0e151e;
}
#pbshotchooser .pbshot-body{
  padding:12px 13px 14px;
}
#pbshotchooser .pbshot-choicegrid{
  gap:9px;
}
#pbshotchooser .pbshot-choice{
  min-height:84px;
  grid-template-columns:44px minmax(0,1fr);
  grid-template-rows:auto auto;
  align-content:center;
  align-items:center;
  column-gap:12px;
  row-gap:3px;
  padding:12px 14px;
  border-radius:17px;
  border-color:rgba(137,158,183,.13);
  background:#111922;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 8px 20px rgba(0,0,0,.12);
}
#pbshotchooser .pbshot-choice:hover{
  transform:none;
  border-color:rgba(115,205,255,.28);
  background:#13202a;
}
#pbshotchooser .pbshot-choice:active{
  transform:scale(.988);
  background:#15232e;
}
#pbshotchooser .pbshot-choice>span{
  width:42px;
  height:42px;
  grid-column:1;
  grid-row:1/3;
  border:1px solid rgba(116,203,255,.14);
  border-radius:13px;
  background:#152636;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
#pbshotchooser .pbshot-choice b{
  grid-column:2;
  grid-row:1;
  align-self:end;
  margin:0;
  font-size:13px;
  line-height:1.12;
}
#pbshotchooser .pbshot-choice small{
  grid-column:2;
  grid-row:2;
  align-self:start;
  margin:0;
  color:#7f8c9d;
  font-size:9px;
  line-height:1.25;
}
#pbshotchooser .pbshot-open-library{
  min-height:61px;
  margin-top:9px;
  padding:9px 12px;
  border-radius:16px;
  background:#211a0e;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 8px 20px rgba(0,0,0,.1);
}
#pbshotchooser .pbshot-open-library>span{
  width:40px;
  height:40px;
  border-radius:12px;
}
#pbshotchooser .pbshot-open-library b{
  font-size:12px;
}
#pbshotchooser .pbshot-open-library small{
  margin-top:2px;
}
#pbshotchooser .pbshot-watermarkrow{
  margin-top:7px;
}
#pbshotchooser .pbshot-watermark{
  gap:6px;
  padding:6px 8px;
  border-radius:10px;
  background:rgba(255,255,255,.018);
}

@media(max-width:560px){
  #pbshotchooser .pbshot-card{
    border-radius:22px 22px 20px 20px;
  }
  #pbshotchooser .pbshot-head{
    padding:13px 12px 11px;
  }
  #pbshotchooser .pbshot-body{
    padding:11px 11px 13px;
  }
  #pbshotchooser .pbshot-choicegrid{
    gap:8px;
  }
  #pbshotchooser .pbshot-choice{
    min-height:82px;
    grid-template-columns:42px minmax(0,1fr);
    column-gap:11px;
    row-gap:2px;
    padding:11px 12px;
  }
  #pbshotchooser .pbshot-choice>span{
    width:40px;
    height:40px;
  }
  #pbshotchooser .pbshot-choice b{
    font-size:12.5px;
  }
  #pbshotchooser .pbshot-choice small{
    font-size:8.8px;
  }
}

                                                                              
.pbshot-resultactions .chat,.pbshot-library-detail-actions .chat{
  min-height:38px;min-width:108px;max-width:132px;justify-self:end;padding:0 12px;border-color:rgba(96,171,255,.25);background:#13202c;color:#a8d7ff
}
.pbshot-resultactions .chat{grid-column:1/-1}
.pbshot-resultactions .chat svg,.pbshot-library-detail-actions .chat svg,.pbshot-resultactions .chat .pb-lucide,.pbshot-library-detail-actions .chat .pb-lucide{width:16px;height:16px}
@media(max-width:560px){
  .pbshot-resultactions .chat{grid-column:auto;justify-self:end}
}


                                                                          
@media(min-width:1100px) and (pointer:fine){
  #pbscreenshotbtn{
    left:64px;
    bottom:42px;
  }
  #pbshotselectionactions{
    width:min(720px,calc(100vw - 36px));
    max-width:calc(100vw - 36px);
    box-sizing:border-box;
    justify-content:flex-end;
  }
  #pbshotselectionlabel{
    flex:1 1 auto;
    min-width:0;
    max-width:none;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  #pbshotselectionactions button{
    flex:0 0 auto;
  }
}
#pbshotchooser .pbshot-choice{
  display:grid;
  text-align:left;
}
#pbshotchooser .pbshot-choice b,
#pbshotchooser .pbshot-choice small{
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
}
@media(max-width:760px){
  #pbshotselectionactions{
    width:calc(100vw - 16px);
    box-sizing:border-box;
  }
  #pbshotselectionlabel{
    flex:1 1 auto;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  #pbshotselectionactions button{flex:0 0 auto}
}
#pbshotselectionactions{
  width:min(720px,calc(100vw - 16px));
  box-sizing:border-box;
}
#pbshotselectionlabel{
  flex:1 1 auto;
  min-width:0;
  max-width:none;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#pbshotselectionactions button{flex:0 0 auto}


                                                                         
.pbshot-resultactions .chat,
.pbshot-library-detail-actions .chat{
  min-height:48px;
  min-width:0;
  max-width:none;
  justify-self:stretch;
  padding:0 13px;
  border-radius:14px;
  border:1px solid rgba(96,171,255,.25);
  background:#13202c;
  color:#a8d7ff;
}
.pbshot-resultactions .chat{
  grid-column:auto;
}
@media(max-width:560px){
  .pbshot-resultactions .chat,
  .pbshot-library-detail-actions .chat{
    justify-self:stretch;
  }
}


/* Canvas Screenshot — Revision 04 Touch bottom-sheet presentation. */
.pbshot-overlay{background:rgba(0,0,0,.48);backdrop-filter:none;-webkit-backdrop-filter:none}
.pbshot-card{border-color:var(--pb-color-border-default);background:var(--pb-color-surface-1);color:var(--pb-color-text-primary)}
.pbshot-head{background:var(--pb-color-surface-1);border-color:var(--pb-color-border-subtle)}
.pbshot-title>span{border-color:var(--pb-color-border-default);background:var(--pb-color-surface-2);color:var(--pb-color-text-secondary)}
.pbshot-title small,.pbshot-choice small,.pbshot-open-library small{color:var(--pb-color-text-muted)}
.pbshot-close{border-color:var(--pb-color-border-subtle);background:transparent;color:var(--pb-color-text-secondary)}
.pbshot-close:hover{background:var(--pb-color-surface-2);color:var(--pb-color-text-primary)}
#pbshotchooser .pbshot-choicegrid{display:block;border-top:1px solid var(--pb-color-border-subtle)}
#pbshotchooser .pbshot-choice,
#pbshotchooser .pbshot-open-library{
  width:100%;
  min-height:66px;
  margin:0;
  padding:10px 4px;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  grid-template-rows:auto auto;
  align-items:center;
  column-gap:11px;
  row-gap:2px;
  border:0;
  border-bottom:1px solid var(--pb-color-border-subtle);
  border-radius:0;
  background:transparent;
  color:var(--pb-color-text-primary);
  box-shadow:none;
}
#pbshotchooser .pbshot-choice:hover,#pbshotchooser .pbshot-open-library:hover{transform:none;background:var(--pb-color-surface-2)}
#pbshotchooser .pbshot-choice>span,#pbshotchooser .pbshot-open-library>span{
  grid-column:1;grid-row:1/3;width:36px;height:36px;border:1px solid var(--pb-color-border-subtle);border-radius:var(--pb-radius-xs);background:var(--pb-color-surface-2);color:var(--pb-color-text-secondary)
}
#pbshotchooser .pbshot-choice b,#pbshotchooser .pbshot-open-library b{grid-column:2;grid-row:1;align-self:end;color:var(--pb-color-text-primary);font-size:12px}
#pbshotchooser .pbshot-choice small,#pbshotchooser .pbshot-open-library small{grid-column:2;grid-row:2;align-self:start;font-size:9px}
#pbshotchooser .pbshot-open-library em{grid-column:3;grid-row:1/3;min-width:26px;height:26px;display:grid;place-items:center;padding:0 6px;border:1px solid var(--pb-color-border-subtle);border-radius:var(--pb-radius-round);background:var(--pb-color-surface-2);color:var(--pb-color-text-secondary)}
#pbshotchooser .pbshot-watermarkrow{margin-top:8px}
#pbshotchooser .pbshot-watermark{color:var(--pb-color-text-muted)}
.pbshot-watermark-size button{color:var(--pb-color-text-primary)}
.pbshot-watermark-size button .pb-lucide{width:14px;height:14px}

@media (min-width:1100px) and (pointer:fine){
  #pbshotchooser{z-index:390;align-items:stretch;justify-content:flex-start;padding:calc(var(--pb-game-topbar-h,56px) + 8px) 0 calc(var(--pb-game-status-h,32px) + 8px) 74px;background:transparent;pointer-events:none}
  #pbshotchooser.on{display:flex}
  #pbshotchooser .pbshot-card{pointer-events:auto;width:var(--pb-game-left-panel-w,336px);height:100%;max-height:none;margin:0;border-radius:0;box-shadow:12px 0 34px rgba(0,0,0,.22);overflow:hidden;display:flex;flex-direction:column}
  #pbshotchooser .pbshot-head{flex:0 0 auto}
  #pbshotchooser .pbshot-body{flex:1;min-height:0;overflow:auto;padding:12px}
}

@media (max-width:699px), (min-width:700px) and (max-width:1099px) and (pointer:coarse){
  #pbshotchooser{z-index:360;top:var(--pb-game-topbar-h,56px);right:0;bottom:0;left:0;align-items:flex-end;justify-content:center;padding:0 8px max(8px,env(safe-area-inset-bottom,0px));background:rgba(1,5,3,.32);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
  #pbshotchooser .pbshot-card{width:100%;height:auto;max-height:min(55dvh,520px);border:1px solid var(--pb-color-border-default);border-radius:22px;box-shadow:0 18px 50px rgba(0,0,0,.34);display:flex;flex-direction:column;overflow:hidden;animation:pbshotMobileSheetIn var(--pb-motion-base,220ms) var(--pb-ease-out,ease-out)}
  #pbshotchooser .pbshot-head{flex:0 0 auto;min-height:58px;padding:8px 12px 8px 14px}
  #pbshotchooser .pbshot-body{flex:1;min-height:0;overflow:auto;padding:8px 14px max(14px,env(safe-area-inset-bottom,0px))}
  #pbshotchooser .pbshot-choice,#pbshotchooser .pbshot-open-library{min-height:64px}
  #pbshotchooser .pbshot-watermarkrow{justify-content:flex-start}
  body.pb-canvas-workspace #pbscreenshotbtn{display:none}
}
@media (min-width:700px) and (max-width:1099px) and (pointer:coarse){
  #pbshotchooser{padding-left:12px;padding-right:12px;padding-bottom:max(12px,env(safe-area-inset-bottom,0px))}
  #pbshotchooser .pbshot-card{width:min(640px,100%);max-height:min(55dvh,560px)}
}
@keyframes pbshotMobileSheetIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){#pbshotchooser .pbshot-card{animation:none}}

/* Revision 05 light-theme completion for screenshot workflows. */
html[data-pb-theme="light"] .pbshot-overlay{background:rgba(229,235,229,.94)}
html[data-pb-theme="light"] :is(.pbshot-card,.pbshot-head){background:var(--pb-color-surface-1);color:var(--pb-color-text-primary);border-color:var(--pb-color-border-default)}
html[data-pb-theme="light"] :is(.pbshot-resultactions button,.pbshot-library-detail-actions button,.pbshot-watermark-size button){background:var(--pb-color-surface-2);border-color:var(--pb-color-border-default);color:var(--pb-color-text-primary)}
html[data-pb-theme="light"] .pbshot-previewwrap{border-color:var(--pb-color-border-default);background-color:var(--pb-color-media-surface);background-image:none}
html[data-pb-theme="light"] :is(.pbshot-resultmeta,.pbshot-library-empty small){color:var(--pb-color-text-muted)}
html[data-pb-theme="light"] #pbshotchooser{background:var(--pb-color-surface-1)}

@media (max-width:699px), (min-width:700px) and (max-width:1099px) and (pointer:coarse){
  html[data-pb-theme="light"] #pbshotchooser{background:rgba(214,222,214,.42)}
}

/* Touch screenshot selection is an exclusive canvas UI mode. */
@media (pointer:coarse){
  body.pbshot-selecting #pb-mobile-canvas-stack,
  body.pbshot-selecting #pb-game-more-panel,
  body.pbshot-selecting #mmwrap{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
  }
  body.pbshot-selecting #pbshotselectionactions{
    bottom:max(8px,env(safe-area-inset-bottom,0px));
  }
}
