.release-exchange-active .cb-spread>*:not(.release-exchange-host){display:none!important}.release-exchange-host{position:relative;z-index:4;grid-column:1/-1;padding:clamp(16px,3vw,36px);color:#e5d4a1;min-width:0;overflow:auto;max-height:75svh;background:#112a21e6;box-sizing:border-box}.release-exchange-host[hidden]{display:none!important}.release-exchange-active .cb-directory-tab{visibility:hidden}.release-exchange-active~.cb-pagination{visibility:hidden}.release-exchange-host .cb-exchange-columns{display:grid;grid-template-columns:1fr 1fr;gap:36px}.release-exchange-host h2{font-size:22px}.release-exchange-host p{line-height:1.7}.release-exchange-host button,.cb-exchange-detail button{border:1px solid #bda26880;background:#173c2d;color:#e5d4a1;border-radius:8px;padding:10px 14px;margin:5px 0;cursor:pointer}.release-exchange-host .cb-exchange-prize{padding:14px;border:1px solid #bda26850;border-radius:10px;margin:14px 0}.release-exchange-host button:disabled{opacity:.45}.cb-exchange-detail{max-width:min(90vw,650px);max-height:80svh;overflow:auto;background:#102a20;color:#e5d4a1;border:1px solid #bda268;border-radius:16px;padding:24px}.cb-exchange-detail::backdrop{background:#0009}.release-exchange-rank{color:#e4d6ac;padding:20px}.release-exchange-rank-row{display:grid;grid-template-columns:40px 1fr auto;gap:14px;align-items:center;width:100%;padding:18px 10px;background:#10291c;border:0;border-bottom:1px solid #bda26840;color:inherit;text-align:left}.release-capture-entry{width:100%;padding:18px;margin:12px 0;background:#143328;border:1px solid #bcaa7280;color:#e4d6ac;border-radius:12px;font:inherit;cursor:pointer}#cardCapturePanel[hidden]{display:none!important}@media(max-width:700px){.release-exchange-host .cb-exchange-columns{grid-template-columns:1fr;gap:16px}.release-exchange-rank{padding:12px}.release-exchange-rank-row{grid-template-columns:26px 1fr;gap:8px}.release-exchange-rank-row>span:last-child{grid-column:2}}
.release-exchange-rank h2{margin:0 0 12px;font-size:clamp(22px,3vw,30px)}.release-exchange-rank>p{font-size:14px;line-height:1.7;color:#b8bea6}.release-exchange-rank-list>p{margin:32px 0;padding:24px;text-align:center;border:1px solid #bda26835;border-radius:12px;font-size:14px;line-height:1.8}

#releaseRedemptionLogin{box-sizing:border-box;width:min(380px,calc(100% - 32px));padding:24px;border:1px solid #bca56c;border-radius:16px;background:#10251c;color:#ead9a8;text-align:center}
#releaseRedemptionLogin::backdrop{background:#020b08b8}
#releaseRedemptionLogin h2{margin:0 0 10px;font-size:22px}
#releaseRedemptionLogin p{margin:0 0 20px;color:#bcc8b4;font-size:14px}
#releaseRedemptionLogin form>div{display:flex;gap:10px}
#releaseRedemptionLogin button{flex:1;min-height:44px;border:1px solid #bca56c;border-radius:8px;background:transparent;color:#ead9a8;font:inherit;cursor:pointer}
#releaseRedemptionLogin button[value=login]{background:#ddc78e;color:#142c20;font-weight:600}

/* Exchange lives on the existing collection spread, preserving its texture and dimensions. */
.release-exchange-host{
 align-self:stretch;min-height:100%;max-height:none;overflow:visible;
 background:transparent;padding:clamp(20px,3vw,38px);font-family:inherit;
}
.release-exchange-host:before{
 content:'CCG PLAY · COLLECTION';display:block;margin-bottom:10px;
 font-size:12px;letter-spacing:.16em;color:#bfac72;
}
.release-exchange-host:after{
 content:'幻神绘卷 · 私人典藏';display:block;margin-top:28px;
 font-size:11px;color:#a79d72;
}
.release-exchange-host .cb-exchange-columns{gap:clamp(24px,4vw,54px)}
.release-exchange-host h2{font-family:inherit;font-weight:400;color:#e8d5a1}
.release-exchange-host .cb-exchange-activities>h2,
.release-exchange-host .cb-exchange-history>h2{
 margin:0 0 20px;padding-bottom:12px;border-bottom:1px solid #bda26850;
}
.release-exchange-host .cb-exchange-empty-message{
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 min-height:220px;text-align:center;color:#b8bba1;
}
.release-exchange-host .cb-exchange-empty-message>span{font-size:30px;color:#dcc58b;margin-bottom:16px}
.release-exchange-host .cb-exchange-empty-message strong{font-weight:400;font-size:20px;color:#e6d4a0}
.release-exchange-host .cb-exchange-state{font-size:13px;color:#b8bba1}
.release-exchange-host .cb-exchange-fulfillment-link{width:100%;font-size:13px}
.cb-bookmarks>[data-release-exchange][aria-current=true],
.cb-bookmarks:has(>[data-release-exchange])>button:first-child[aria-current=true]{
 background:#ddc78e;color:#17271c;
}
@media(max-width:700px){
 .release-exchange-host{padding:18px 16px;min-height:100%}
 .release-exchange-host .cb-exchange-columns{gap:24px}
 .release-exchange-host .cb-exchange-empty-message{min-height:180px}
}
.release-inbox-entry{display:block;width:100%;margin:0 0 12px;padding:12px 16px;border:1px solid #bba36a88;border-radius:10px;background:#16352a;color:#e7d298;text-align:left;font:inherit;cursor:pointer}.release-inbox-entry[hidden]{display:none!important}

.release-exchange-host{padding:0!important;min-height:100%;font-family:SimSun,"Songti SC",serif}
.release-exchange-host:before,.release-exchange-host:after{display:none}
.release-exchange-host .cb-exchange-columns{gap:0!important;min-height:100%}
.release-exchange-host .cb-page{padding:24px 28px;min-height:460px}
.release-exchange-host .cb-page h2{font-family:SimSun,"Songti SC",serif;font-weight:400}
@media(max-width:700px){.release-exchange-host .cb-page{min-height:0;padding:20px 16px}.release-exchange-host .cb-exchange-history{margin-top:0}}
.capture-notices-group{margin:12px 0;border:1px solid #bda26866;border-radius:12px;background:#143027;color:#e3d2a0;overflow:hidden}.capture-notices-group>summary{padding:16px;cursor:pointer;font-size:16px}.capture-notices-group>.social-notification{width:calc(100% - 24px);margin:0 12px 12px;box-sizing:border-box}
.release-directory-inline{writing-mode:horizontal-tb!important;width:auto!important;min-height:32px!important;padding:6px 12px!important;border:1px solid #bda26870;border-radius:18px;background:#11281f;color:#e3d2a0;font:inherit;cursor:pointer}.release-directory-inline[hidden]{display:none!important}
.book-account .release-book-layout .cb-reader-shell{gap:0}
.book-account .release-book-layout .cb-reader-bar{box-sizing:border-box;display:flex;align-items:center;gap:12px;width:min(100%,920px);margin:0 auto 14px;padding:8px 0 12px;border-bottom:1px solid #bda26855}
.book-account .release-book-layout .cb-reader-bar-right{display:flex;align-items:center;gap:12px;margin-left:auto;min-width:0}
.book-account .release-book-layout .cb-mobile-progress,.book-account .release-book-layout .cb-reading-hint{display:none!important}
.book-account .release-book-layout .cb-reader{box-sizing:border-box;width:min(100%,920px);margin:0 auto;padding-right:38px}
.book-account .release-book-layout .cb-page{position:relative;box-sizing:border-box;min-width:0}
.book-account .release-book-layout .cb-page:has(>.release-book-inner-toolbar){padding-top:max(76px,6%)}
.book-account .release-book-layout .release-book-inner-toolbar{position:absolute;z-index:5;top:16px;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px;padding:0 0 9px;border-bottom:1px solid #bda26855;color:#a4ab91;font:12px SimSun,serif}
.book-account .release-book-layout .release-book-inner-toolbar .release-directory-inline{display:inline-flex;align-items:center;gap:7px;min-height:30px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#e1c78d!important;font:14px SimSun,serif}
.book-account .release-book-layout .release-book-inner-toolbar .release-directory-inline:before{content:'☷';font:19px/1 Arial,sans-serif}
.book-account .release-book-layout .cb-bookmarks{top:94px;right:0;width:34px;gap:8px}
.book-account .release-book-layout .cb-bookmarks button{box-sizing:border-box;width:34px;min-height:76px;padding:9px 6px;border-radius:0 9px 9px 0;font:14px SimSun,serif}
.book-account .release-book-layout .cb-bookmarks button[aria-current=true]{background:#d9c184;color:#182a20;border-color:#e2cc92}
@media(max-width:700px){.book-account .release-book-layout .cb-reader-bar{gap:6px;margin-bottom:8px;padding:5px 0 8px}.book-account .release-book-layout .cb-reader-bar-right{gap:5px}.book-account .release-book-layout .cb-reader{padding-right:30px}.book-account .release-book-layout .cb-bookmarks{top:74px;width:28px;gap:4px}.book-account .release-book-layout .cb-bookmarks button{width:28px;min-height:64px;padding:7px 4px;font-size:11px}.book-account .release-book-layout .release-book-inner-toolbar{top:12px;left:14px;right:14px}.book-account .release-book-layout .cb-page:has(>.release-book-inner-toolbar){padding-top:max(66px,6%)}}
/* Size the open reader from the available viewport height instead of allowing
   the legacy page aspect ratio to extend below the account navigation. */
.book-account:has(.release-book-layout.is-open).page-overlay{box-sizing:border-box;height:100dvh;overflow:hidden;display:flex;flex-direction:column}
.book-account:has(.release-book-layout.is-open) .account-content.active{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow:hidden;padding-bottom:0}
.book-account:has(.release-book-layout.is-open) #collectionGrid,.book-account .release-book-layout.is-open{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}
.book-account .release-book-layout.is-open .cb-reader-shell{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;margin-bottom:0}
.book-account .release-book-layout.is-open .cb-reader{flex:1 1 auto;min-height:0;width:min(100%,calc((100dvh - 215px)*1.38));max-height:calc(100dvh - 205px)}
.book-account .release-book-layout.is-open .cb-reader:has(.cb-spread>.cb-page:only-child){width:min(100%,calc((100dvh - 215px)*.70 + 38px))}
.book-account .release-book-layout.is-open .cb-spread{box-sizing:border-box;height:100%;max-height:100%}
.book-account .release-book-layout.is-open .cb-spread>.cb-page:only-child{box-sizing:border-box;height:100%;min-height:0;max-height:100%;aspect-ratio:auto}
.book-account .release-book-layout.is-open .cb-pagination{flex:none;margin-top:8px}
@media(max-width:700px){.book-account:has(.release-book-layout.is-open).page-overlay{padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))}.book-account .release-book-layout.is-open .cb-reader{width:min(100%,calc((100dvh - 210px)*.70 + 30px));max-height:calc(100dvh - 205px)}.book-account .release-book-layout.is-open .cb-reader:has(.cb-spread>.cb-page:only-child){width:min(100%,calc((100dvh - 210px)*.70 + 30px))}.book-account .release-book-layout.is-open .cb-pagination{min-height:44px;margin-top:2px}}
@media(min-width:701px){
 #accountCenter.book-account:has(.release-book-layout.is-open),
 #accountCenter.book-account:has(.release-book-layout.is-open) .account-content.active{scrollbar-width:none}
 #accountCenter.book-account:has(.release-book-layout.is-open)::-webkit-scrollbar,
 #accountCenter.book-account:has(.release-book-layout.is-open) .account-content.active::-webkit-scrollbar{display:none}
}
#accountCenter #collectionLoadError{display:block;box-sizing:border-box;width:min(100% - 32px,920px);margin:8px auto;padding:9px 14px;border:1px solid #bda26880;border-radius:8px;background:#153126;color:#e6d09b;font:13px/1.5 SimSun,serif;text-align:center;cursor:pointer}
.book-account .release-book-layout.is-open .cb-reader.release-exchange-active{width:min(100%,calc((100dvh - 215px)*1.38));transition:none}
.book-account .release-book-layout.is-open .cb-reader.release-exchange-active .cb-spread{animation:none}
.release-exchange-host .cb-exchange-loading{margin:22px 0;color:#b7bea6;font:14px/1.7 SimSun,serif}
@media(max-width:700px){.book-account .release-book-layout.is-open .cb-reader.release-exchange-active{width:min(100%,calc((100dvh - 210px)*.70 + 30px))}}
@media(min-width:701px){
 .book-account .release-book-layout.is-open .cb-reader.release-exchange-active{
  width:min(calc(100% - 32px),calc((100dvh - 215px)*1.38));
 }
 .book-account .release-book-layout.is-open .cb-reader.release-exchange-active .release-exchange-host .cb-exchange-columns{
  grid-template-columns:repeat(2,minmax(0,1fr));
 }
}
.book-account .release-book-layout.is-open .cb-reader.release-exchange-active .cb-spread{
 min-height:0;
 grid-template-rows:minmax(0,1fr);
}
.book-account .release-book-layout.is-open .release-exchange-host{
 height:100%;
 min-height:0;
 max-height:100%;
 overflow:hidden;
}
.book-account .release-book-layout.is-open .release-exchange-host .cb-exchange-columns{
 height:100%;
 min-height:0;
}
.book-account .release-book-layout.is-open .release-exchange-host .cb-page{
 box-sizing:border-box;
 height:100%;
 min-height:0;
 overflow-y:auto;
}
.book-account .release-book-layout.is-open .cb-reader>.cb-book-model-open{
 display:none;
}
.book-account .release-book-layout.is-open .cb-spread{
 grid-template-rows:minmax(0,1fr);
 min-height:0;
}
.book-account .release-book-layout.is-open .cb-spread>.cb-page{
 box-sizing:border-box;
 min-height:0;
 max-height:100%;
}
@media(min-width:701px) and (max-height:650px){
 .book-account .release-book-layout.is-open .cb-spread>.cb-page{
  overflow-y:auto;
  scrollbar-width:thin;
 }
}
@media(min-width:701px){
 .book-account .release-book-layout.is-open{
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  min-height:0;
 }
 .book-account .release-book-layout.is-open .cb-reader-shell{
  flex:none;
  margin-bottom:0;
 }
 .book-account .release-book-layout.is-open .cb-reader,
 .book-account .release-book-layout.is-open .cb-reader.release-exchange-active{
  box-sizing:border-box;
  width:min(calc(100% - 48px),calc((100dvh - 245px)*1.2));
  height:100%;
  max-height:100%;
  min-height:0;
 }
 .book-account .release-book-layout.is-open .cb-pagination{
  min-height:44px;
 }
 .book-account .collection-book.is-open .cb-reader:not(.release-exchange-active):has(.cb-spread>.cb-page:nth-child(2)),
 .book-account .release-book-layout.is-open .cb-reader:not(.release-exchange-active):has(.cb-spread>.cb-page:nth-child(2)){
  flex:0 1 auto;
  width:min(calc(100% - 48px),calc((100dvh - 245px)*1.2),920px);
  height:auto;
  aspect-ratio:1.42;
 }
 .book-account .release-book-layout.is-open .cb-page.cb-page-frontispiece:has(>.release-book-inner-toolbar){
  padding-top:76px!important;
 }
 .book-account .release-book-layout.is-open .cb-page.cb-page-frontispiece .cb-fp-chapter-tag{
  display:none;
 }
}
