#profile-inventory{scroll-margin-top:16px}
.hero-candy-art{display:grid;place-items:center;width:100%;height:100%;font-size:32px;line-height:1}
.hero-detail-head>.hero-candy-art{flex:0 0 68px;width:68px;height:68px;font-size:40px}
.profile-inventory-row{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px 12px}
.profile-inventory-row>.item-icon{align-self:start;margin-top:2px}
.profile-item-actions{grid-column:2;display:flex;gap:8px}
.profile-item-actions .buy-button{flex:1;max-width:none;min-width:0;min-height:44px}
.profile-inventory-row .item-gain{color:#087657}
[data-theme=dark] .profile-inventory-row .item-gain{color:#82d9b3}
.history-book{margin:12px 0;padding:12px;gap:10px;border:1px solid #dec995;border-radius:14px;background:#fff9ed}
.history-book>img{flex:none;object-fit:contain}
.history-book .item-name{color:#6e4b13;overflow-wrap:anywhere}
.history-book .item-desc{color:#786444}
[data-theme=dark] .history-book{background:#302a1e;border-color:#75603a}
[data-theme=dark] .history-book .item-name{color:#f3d596}
[data-theme=dark] .history-book .item-desc{color:#d2bd96}
