/* Shared book UI sizing: long labels wrap, rank actions occupy a full row. */
.book .book-cover-options{align-items:stretch}
.book .book-cover-option{box-sizing:border-box;min-width:0;height:auto;align-self:stretch;justify-content:flex-start}
.book .book-cover-option .book-cover-option-name{
 display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;
 min-height:3em;height:auto;margin:0;line-height:1.5;text-align:center;
 white-space:normal;overflow-wrap:anywhere;word-break:normal;
}
.book .book-cover-option small{display:block;max-width:100%;margin-top:auto;white-space:normal;overflow-wrap:anywhere;text-align:center}
.book .book-cover-option img{flex:none;max-width:100%}
/* Generic direct rank buttons get the same row rule, including future actions. */
.book .iroha-rank > button,
.book .iroha-rank > button:is(.rank-reward-open,.manual-gift-open){
 grid-column:1 / -1;grid-row:auto;justify-self:stretch;align-self:stretch;
 position:relative;inset:auto;float:none;display:flex;align-items:center;justify-content:center;
 box-sizing:border-box;width:100%;max-width:100%;min-width:0;
 height:auto;min-height:48px;margin:12px 0 0;padding:12px 14px;
 font-size:14px;line-height:1.6;letter-spacing:normal;
 writing-mode:horizontal-tb;text-align:center;white-space:normal;
 overflow-wrap:anywhere;word-break:normal;
}
