/* Detail readability: component dimensions, typography and icons enlarged 10%. */
.item-page{max-width:1144px;margin:0 auto;font:15.4px/1.5 Arial,Tahoma,sans-serif;color:#c9c9c9}.item-detail-layout{display:grid;grid-template-columns:minmax(231px,26%) minmax(0,1fr) minmax(198px,22%);gap:13.2px;align-items:start}.item-box{background:#222;border:1px solid #414141;border-radius:3px;box-shadow:0 3px 8.8px #0003;min-width:0}.item-box h2{font:bold 17.6px/26.4px Arial,Tahoma,sans-serif;color:#f1f1f1;margin:0;padding:13.2px;border-bottom:2px solid #e89c60;background:#303030}.item-basic-row{display:grid;grid-template-columns:48% 52%;align-items:center;padding:5.5px 13.2px;border-bottom:1px solid #303030;min-height:38.5px}.item-basic-row i{font-weight:600}.item-basic-row>span{overflow-wrap:anywhere}.item-basic-row .item-icon{width:24.2px;height:24.2px;display:inline-block;vertical-align:middle;background:none;border:0;padding:0}.item-basic-row a{color:inherit}.item-money{white-space:nowrap}.coin{display:inline-block;width:6.6px;height:11px;border-radius:50%;transform:rotate(30deg);margin:0 1px 0 3px;box-shadow:inset 1px 0 #fff8}.coin.gold{background:#e8b94e}.coin.silver{background:#c4cbd1}.coin.copper{background:#c88c67}.item-detail-card{padding:0 11px 15.4px;border-color:#b27d50}.item-detail-card h2{margin:0 -10px}.item-detail-title{display:flex;align-items:center;gap:11px;padding:11px 0 17.6px}.item-detail-title .item-icon{width:39.6px;height:39.6px;border:0;background:none;flex-shrink:0;padding:0}.item-detail-title h1{font:bold 19.8px/26.4px Arial,Tahoma,sans-serif;margin:0}.item-combat-stats{padding:0 15.4px 26.4px;font-size:17.6px}.detail-stat{display:flex;justify-content:space-between;gap:13.2px;border-bottom:1px solid #ffffff04;line-height:27.5px}.detail-stat.special-stat{color:#55ffff}.item-game-description,.item-game-properties{background:#1d1d1d;padding:11px;line-height:26.4px;font-size:17.6px;overflow-wrap:anywhere}.item-game-properties{margin-top:13.2px}.item-game-properties:empty{display:none}.item-element{color:#5fffff}.detail-effect,.item-sprite-skill,.item-sprite-skill a{color:#c6df7b;white-space:pre-line}.item-flavour{color:#ffff77;white-space:pre-line}.rebirth{color:#ff7373}.item-recipe{padding:6.6px;border-bottom:2px solid #d99360}.item-recipe:last-child{border-bottom:0}.item-recipe-title{display:flex;align-items:center;gap:11px;padding:11px;background:#302922;border-left:3px solid #df955b;color:#efa466}.item-recipe-title .item-icon{width:35.2px;height:35.2px;border:0;background:none}.item-recipe-title small{display:block;font-size:12.1px;color:#a9a9a9}.item-recipe-materials>a{display:grid;grid-template-columns:30.8px 1fr auto;gap:8.8px;align-items:center;padding:7.7px 5.5px;font-size:15.4px}.item-recipe-materials .item-icon{width:28.6px;height:28.6px;border:0;background:none;padding:0}.item-recipe-materials small{font-size:11px;background:#373737;border-radius:3px;padding:2px 4.4px;color:#bbb}.growth-control{padding:13.2px;text-align:center}.growth-control label{display:block;font-size:17.6px}.growth-control output{color:#efa263;font-weight:bold}.growth-control input{width:100%;height:26.4px;padding:0;margin-top:13.2px;accent-color:#eca064}.growth-control>div{display:flex;justify-content:space-between;font-size:11px;color:#aaa}.item-affixes{margin-top:17.6px}.item-affixes h2{position:relative}.item-affixes h2 em{color:#ed9b61}.item-affixes h2 button{float:right;border:0;background:none;color:#ddd;cursor:pointer}.item-affixes>input{width:calc(100% - 22px);margin:11px;height:39.6px;background:#1c1c1c;border:1px solid #444;border-radius:3px;padding:8.8px;color:inherit}.item-affix{display:flex;gap:11px;padding:13.2px;cursor:pointer;border-top:1px solid #3b3b3b}.item-affix[hidden]{display:none}.item-affix:hover,.item-affix:has(input:checked){background:#403328}.item-affix input{width:15.4px;height:15.4px;margin:5.5px 0 0;accent-color:#eaa16c;flex-shrink:0}.item-affix strong{display:block;font-size:16.5px;color:#fff}.affix-stat-lines,.affix-effect,.affix-effect>span{display:block;white-space:pre-line}.affix-stat-lines{color:#5fffff}.affix-effect{color:#c6df7b}.item-other-relations{margin-top:22px}.entity-preview .detail-stat{font-size:13.2px;line-height:22px}.entity-preview .detail-effect{white-space:pre-line}.entity-preview.game-item-preview{max-height:calc(100vh - 26.4px);overflow:auto}.item-page .quality-5{color:#ffff00}.item-page .quality-4{color:#ef8b39}.item-page .quality-6{color:#c95aff}.item-page .quality-2{color:#91ef5d}.item-page .quality-3{color:#29b9ff}
body.light .item-page{color:#333}body.light .item-box{background:#fff;border-color:#c8c8c8}body.light .item-box h2{background:#eee;color:#222}body.light .item-game-description,body.light .item-game-properties{background:#f1f1f1}body.light .detail-stat.special-stat,body.light .affix-stat-lines,body.light .item-element{color:#00727a}body.light .detail-effect,body.light .affix-effect,body.light .item-sprite-skill,body.light .item-sprite-skill a{color:#547215}body.light .item-flavour,body.light .item-page .quality-5{color:#806000}body.light .item-recipe-title,body.light .item-affix:hover,body.light .item-affix:has(input:checked){background:#f8e7d7}body.light .item-affixes>input{background:#fafafa}body.light .item-affix strong{color:#222}body.light .item-basic-row,body.light .item-affix{border-color:#ddd}body.light .item-page .quality-2{color:#267d00}
@media(max-width:990px){.item-detail-layout{grid-template-columns:231px minmax(0,1fr)}.item-crafted{grid-column:2}.item-basic{grid-row:1 / span 2}}@media(max-width:660px){.item-detail-layout,.item-detail-layout:not(:has(.item-crafted)){display:flex;flex-direction:column}.item-basic,.item-main-column,.item-crafted{width:100%}.item-combat-stats,.item-game-description,.item-game-properties{font-size:15.4px}.item-detail-title h1{font-size:18.7px}.item-basic-row{grid-template-columns:45% 55%}.item-page{width:100%}}

body.light .item-recipe-title{color:#9b4e17}body.light .item-recipe-title small{color:#666}body.light .affix-effect a{color:#547215}
.entity-preview.game-item-preview{width:301.4px;padding:17.6px;font-size:13.2px;line-height:22px}
.game-item-preview .preview-title{gap:11px;min-height:39.6px;padding-bottom:11px;margin-bottom:8.8px;line-height:20.9px}
.game-item-preview .preview-title strong{font-size:14.3px;line-height:20.9px}
.game-item-preview .preview-title .item-icon{width:35.2px;height:35.2px;flex-basis:35.2px}
.item-crafted{display:flex;flex-direction:column;gap:13.2px;min-width:0}
.item-used-for-crafting .item-recipe-materials{padding:6.6px;max-height:660px;overflow:auto}
.item-used-for-crafting .item-recipe-materials>a{grid-template-columns:30.8px minmax(0,1fr)}
.item-used-for-crafting [hidden],.item-craft-more[hidden]{display:none}
.item-craft-more{display:block;margin:0 auto 11px;padding:7.7px 15.4px;background:#222;color:#efa466;border:1px solid #765036;border-radius:4px;font-size:15.4px;cursor:pointer}
.item-combat-stats:empty{display:none}
.item-page>.item-relation-tabs{display:none}
.item-other-relations{margin-left:calc(26% + 13.2px)}
.item-other-relations .relationship-section{margin-top:13.2px;background:#222;border:1px solid #414141;border-radius:3px;overflow:hidden}
.item-other-relations .relationship-section>h2{font:700 15.4px/26.4px Arial,Tahoma,sans-serif;padding:13.2px;margin:0;background:#303030;border-bottom:1px solid #e89c60}
.item-other-relations .relation-search{display:block;margin:11px 13.2px;width:calc(100% - 26.4px);font-size:14.3px;height:39.6px}
.item-source-list{display:block;padding:0 13.2px}
.item-source-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5.5px 11px;padding:11px 0;border-bottom:1px solid #333;font-size:15.4px}
.item-source-row:last-child{border-bottom:0}
.item-source-row>a{display:flex;align-items:center;gap:8.8px;min-width:0;color:#efa466}
.item-source-row .item-icon{width:28.6px;height:28.6px;padding:0;border:0;background:none;flex-shrink:0}
.item-source-quantity{align-self:center;background:#49382b;border-radius:3px;padding:0 6.6px;color:#efa466}
.item-source-maps{grid-column:1/-1;display:flex;justify-content:flex-end;gap:11px;flex-wrap:wrap;font-size:14.3px}
.item-other-relations .rel-footer{text-align:center;padding:11px}
body.light .item-other-relations .relationship-section,body.light .item-craft-more{background:#fff;border-color:#ccc}
body.light .item-other-relations .relationship-section>h2{background:#eee;color:#222}
@media(max-width:990px){.item-other-relations{margin-left:244.2px}}
@media(max-width:660px){.item-other-relations{margin-left:0}}
.item-other-relations .relationship-section{padding:0}
.item-source-heading{display:flex;align-items:center;justify-content:space-between;gap:11px;padding:11px 13.2px;background:#303030;border-bottom:1px solid #e89c60}
.item-source-heading h2{border:0;margin:0;padding:0;font:700 15.4px/26.4px Arial,Tahoma,sans-serif}
.item-other-relations .item-source-heading .relation-search{margin:0;width:220px;max-width:45%;height:33px;background:transparent;border-color:transparent;font-size:13.2px;padding:5.5px}
body.light .item-source-heading{background:#eee}
@media(max-width:660px){.item-source-heading{flex-wrap:wrap}.item-other-relations .item-source-heading .relation-search{max-width:100%;width:100%}}

/* Preserve the owner's native inline palette and bounded refinement catalogue. */
.item-flavour,.entity-preview .preview-flavour{color:inherit;white-space:pre-line}
.detail-effect.active-item-effect{color:inherit}
.item-combat-stats:empty{display:none}
#selected-affix-effects:empty{display:none}
#selected-affix-effects:not(:empty){padding:11px;background:#1d1d1d;margin-top:11px}
#affix-results{max-height:440px;overflow-y:auto;scrollbar-color:#eca064 #292929}
.item-affix{padding:9px 12px;gap:8px;font-size:13.2px}
.item-affix .affix-content{display:grid;grid-template-columns:minmax(130px,32%) 1fr;gap:5px 12px;width:100%;align-items:start}
.item-affix strong{font-size:14.3px;font-weight:600;grid-column:1;grid-row:1 / span 3}
.item-affix .affix-stat-lines,.item-affix .affix-effect{grid-column:2}
.item-affix .affix-stat-lines:empty{display:none}
.item-affix .affix-effect a{color:inherit}
.item-source-row .item-exchange-link{font-size:12.1px;grid-column:1}
@media(max-width:660px){.item-affix .affix-content{grid-template-columns:minmax(110px,35%) 1fr}}
