/* Theme collections are pages in the same spiral-bound sticker book. */
#screen-album .album-tab.sb-themes-tab,#screen-album .album-tab.sb-icon-tab{padding:2px 6px;overflow:visible;}
#screen-album .sb-category-icon{display:block;width:100%;height:100%;max-height:50px;object-fit:contain;filter:drop-shadow(0 2px 2px #6244261c);}
#screen-album.is-theme-collection #album-scroll{min-height:119cqw;}
#screen-album.is-theme-collection .album-binding{display:flex;bottom:2cqw;}
#screen-album .sb-theme-directory,#screen-album .sb-theme-gallery{padding:5cqw 3cqw 8cqw 9cqw;}
#screen-album .sb-collection-heading{align-items:center;min-height:44px;padding:0;gap:8px;margin-bottom:7cqw;}
#screen-album .sb-collection-heading-title{display:flex;align-items:center;gap:7px;font-size:5.25cqw;}
#screen-album .sb-collection-heading .album-group-action{flex:none;margin-right:2cqw;}
#screen-album .sb-theme-heading-icon{display:block;flex:none;width:15cqw;height:15cqw;object-fit:contain;filter:drop-shadow(0 2px 2px #6244261c);}
#screen-album .sb-theme-catalog{display:grid;gap:0;}
#screen-album .sb-theme-palette-0{--album-accent:#f39dbb;--sb-theme-ink:#a63e6c;}
#screen-album .sb-theme-palette-1{--album-accent:#70c7aa;--sb-theme-ink:#31866a;}
#screen-album .sb-theme-palette-2{--album-accent:#8cb9ee;--sb-theme-ink:#537eae;}
#screen-album .sb-theme-book-group{position:relative;padding:0 0 7cqw;margin-bottom:7cqw;border-bottom:1px dashed #ead8b9;}
#screen-album .sb-theme-book-group:last-child{border-bottom:0;margin-bottom:0;}
#screen-album .sb-theme-group-head{align-items:center;padding:0;gap:5px;}
#screen-album .sb-theme-book-title{display:flex;align-items:center;gap:6px;font-size:clamp(20px,6cqw,26px);color:var(--sb-theme-ink);}
#screen-album.is-theme-collection .album-theme::after{display:none;content:none;}
#screen-album .sb-theme-book-title span{max-width:none;line-height:1.1;white-space:nowrap;}
#screen-album .sb-theme-group-head .album-group-action{flex:none;margin-right:2cqw;font-size:3cqw;}
#screen-album .sb-theme-sticker-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:2cqw;margin-top:4cqw;}
#screen-album .sb-theme-chapter{position:relative;margin-top:6cqw;padding-bottom:7cqw;border-bottom:1px dashed #ead8b9;}
#screen-album .sb-theme-chapter:last-child{border-bottom:0;}
#screen-album .sb-theme-chapter-title{margin:0 0 4cqw;font:600 4.6cqw/1.2 Fredoka,Nunito,sans-serif;color:var(--sb-theme-ink);}
#screen-album .sb-theme-sticker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.5cqw;}
#screen-album .sb-theme-sticker{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;padding:2cqw 1cqw 1.5cqw;aspect-ratio:1/1.12;border:1px solid #eadfcb80;border-radius:3cqw;background:linear-gradient(150deg,#fffdfa,#fff7ec);box-shadow:inset 0 1px #fff,0 2px 4px #7f695512;cursor:pointer;}
#screen-album .sb-theme-sticker>img{display:block;width:100%;height:16cqw;object-fit:contain;filter:drop-shadow(0 2px 2px #7b54321c);}
#screen-album .sb-sticker-name{display:block;max-width:100%;font:400 3.5cqw/1.2 Andika,sans-serif;color:#4a1720;text-align:center;overflow-wrap:anywhere;}
#screen-album .sb-theme-sticker:active{transform:scale(.96);}
#screen-album .sb-theme-sticker-row>.album-empty,#screen-album .sb-theme-sticker-grid>.album-empty{grid-column:1/-1;font-size:3.2cqw;line-height:1.4;padding:5cqw 2cqw;margin:0;}
#screen-album .sb-theme-sticker:focus-visible{outline:3px solid #4c9ccc;outline-offset:3px;}
/* Reserved collection colors are outside the ordinary five-color cycle. */
#screen-album .sb-collection-color{--album-accent:#efa16f;--album-tab-top:#fff2e9;--album-tab-bottom:#ffd8bd;--album-tab-ink:#a85e32;}
#screen-album .sb-kd1-color{--album-accent:#55bdb4;--album-tab-top:#e8faf7;--album-tab-bottom:#c4eee7;--album-tab-ink:#287b75;}


/* v1.34: the directory title uses the ordinary category brush. Individual
   theme names keep their single-color lettering without a second underline. */
#screen-album.is-theme-collection .sb-theme-directory>.sb-collection-heading>.sb-collection-heading-title::after{display:block;content:"";}
#screen-album .sb-theme-book-title{flex:1;min-width:0;font-size:clamp(15px,4.5cqw,20px);gap:6px;}
#screen-album .sb-theme-book-title .sb-theme-heading-icon{width:18.5cqw;height:18.5cqw;}
