/* Shared home icon sizing automatically covers current and future tool cards. */
html #home-view a.tool-card .tool-card-head>.arcana-icon{width:52px;height:56px;flex-shrink:0}
html:not([data-theme=blue]) #home-view a.tool-card{grid-template-columns:70px minmax(0,1fr)}
html:not([data-theme=blue]) #home-view a.tool-card .tool-card-head{width:60px;height:60px;box-sizing:border-box}
html[data-theme=blue] #home-view a.tool-card .tool-card-head{height:60px}
/* The detective replaces only the Scanner Character home icon. */
html #home-view a.tool-card[href="#spy"] .arcana-icon.icon-spy,html body[data-tool=spy] #tool-symbol.icon-spy{background:transparent url("/assets/classic/scanner-character-v1.webp") center/contain no-repeat;image-rendering:pixelated}

/* Classic inventory cards: clear header, full-width description, aligned action. */
html[data-theme=tibia] #home-view .tool-grid{gap:12px;align-items:stretch}
html[data-theme=tibia] #home-view a.tool-card:nth-child(n){grid-template-columns:60px minmax(0,1fr);grid-template-rows:60px 1fr auto;gap:11px 10px;padding:12px;min-height:194px;box-sizing:border-box;background:#e8d6b7;border:1px solid #9b805e;box-shadow:inset 1px 1px #fff4dd,1px 2px 0 #a98f6a;border-radius:2px}
html[data-theme=tibia] #home-view a.tool-card:nth-child(n):hover{background:#efdfc4;border-color:#745735}
html[data-theme=tibia] #home-view a.tool-card .tool-card-head{grid-column:1;grid-row:1;align-self:center;margin:0;background:#faecd4;border:1px solid #a28b68;box-shadow:inset 1px 1px #fff8e9}
html[data-theme=tibia] #home-view a.tool-card .tool-card-head .tool-arrow{display:none}
html[data-theme=tibia] #home-view a.tool-card h3{grid-column:2;grid-row:1;align-self:center;border:0;padding:0;margin:0;min-height:0;font:700 12px/1.5 Verdana,Arial,sans-serif;overflow-wrap:anywhere;color:#004294}
html[data-theme=tibia] #home-view a.tool-card p{grid-column:1/-1;grid-row:2;align-self:start;padding:0;margin:0;font:11px/1.65 Verdana,Arial,sans-serif;color:#5a3218}
html[data-theme=tibia] #home-view a.tool-card .classic-access{grid-column:1/-1;grid-row:3;align-self:end;justify-self:end;margin-top:1px;min-width:94px}
html[data-theme=arcana] #home-view a.tool-card .tool-card-head{width:100%;height:60px;border:0;box-shadow:none;background:transparent}
html:is([data-theme=arcana],[data-theme=blue]) #home-view a.tool-card{gap:10px}
@media(max-width:700px){html[data-theme=tibia] #home-view a.tool-card:nth-child(n){padding:12px;min-height:178px;gap:9px 12px}html[data-theme=tibia] #home-view a.tool-card h3{font-size:14px}html[data-theme=tibia] #home-view a.tool-card p{font-size:12px;line-height:1.6}}

.spy-vocation-outfit{width:64px;height:64px;flex:0 0 64px;object-fit:contain;image-rendering:pixelated;background:transparent}
