.item-archive{overflow:visible}.item-hero{display:flex;justify-content:space-between;gap:18px;padding:16px 22px;background:radial-gradient(ellipse at right,#b38d3c24,transparent 70%),repeating-linear-gradient(120deg,transparent 0 30px,#bdaa7105 31px 32px);border-bottom:1px solid var(--line)}
.item-hero h2{font:600 24px var(--serif);margin:6px 0}.item-hero h2 span{display:block;font:14px var(--serif);color:var(--muted);margin-top:4px}.item-hero p{color:var(--muted);font-size:12px;margin-bottom:0}.archive-seal{width:64px;height:64px;border:4px double var(--lacquer);color:var(--lacquer);display:grid;place-content:center;text-align:center;font:28px var(--serif);transform:rotate(-5deg);background:var(--surface);box-shadow:0 0 0 6px #d5a23f30}.archive-seal small{font:8px sans-serif;letter-spacing:4px;margin-top:4px}
.item-guide{display:flex;flex-wrap:wrap;gap:14px;align-items:center;padding:8px 22px;background:var(--teal-pale);color:var(--muted);font-size:11px}.item-guide code{color:var(--heading);font-weight:600}.item-toolbar{display:flex;gap:12px;padding:12px 22px 8px}.item-toolbar label{font-size:11px;color:var(--muted)}.item-toolbar label:first-child{flex:1}.item-toolbar input,.item-toolbar select{display:block;width:100%;margin-top:4px;min-height:34px}.item-toolbar select{min-width:170px}#item-shortcuts{padding:0 22px 12px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}#item-shortcuts>span{font-size:9px;letter-spacing:1.5px;color:var(--muted);margin-right:10px}.item-results{display:flex;justify-content:space-between;gap:15px;padding:8px 22px;background:var(--surface-raised);border-top:1px solid var(--line);font-size:11px;color:var(--muted)}#item-count{color:var(--gold)}
.item-table{width:100%}.item-table td:first-child{position:relative;min-width:280px}.item-table td{vertical-align:middle}.item-identity{display:flex;gap:14px;align-items:center;text-align:left;background:none;border:0;color:var(--text);padding:5px 0;cursor:pointer}.item-identity strong{display:block;font-size:13px;font-weight:500}.item-identity small{display:block;margin-top:5px;font:10px monospace;color:var(--muted);overflow-wrap:anywhere}.item-icon{flex-shrink:0;width:38px;height:38px;display:grid;place-content:center;background:radial-gradient(#4a2e1d,#170d0a);border:1px solid #8a7343;box-shadow:inset 0 0 0 3px #24150f}.item-icon img{image-rendering:pixelated}.item-icon.large{width:64px;height:64px}.missing-icon:after{content:'◇';color:var(--gold)}
.item-tooltip{display:none;position:absolute;left:76px;bottom:calc(100% - 4px);width:min(330px,65vw);z-index:20;background:#1d110df7;border:3px double #bda364;padding:18px;box-shadow:0 14px 32px #0009;pointer-events:none;font-size:12px;line-height:1.6;color:#e9dcbc}.item-tooltip strong{color:#e8c783;font:17px Georgia,serif}.item-tooltip small{color:#bfa889}.item-identity:hover+.item-tooltip,.item-identity:focus-visible+.item-tooltip{display:block}.item-table td .button{white-space:nowrap}.item-empty{padding:48px!important;text-align:center;color:var(--muted)}
#item-dialog{width:min(590px,calc(100vw - 40px));padding:32px;max-height:90vh;overflow:auto}#item-dialog::backdrop{background:#3a2414aa;backdrop-filter:blur(4px)}.item-detail-heading{display:flex;gap:18px;align-items:center;margin:24px 0}.item-detail-heading h2{margin:0 0 8px;font:24px Georgia,serif}.item-detail-heading code{font-size:10px;overflow-wrap:anywhere;color:var(--muted)}.item-facts{display:flex;flex-wrap:wrap;gap:8px}.item-facts span{padding:6px 9px;background:var(--surface-raised);border:1px solid var(--bronze);font-size:11px}.item-description{font-size:13px;line-height:1.7;color:var(--text);white-space:pre-line}.item-command-builder{padding:22px;background:var(--surface-raised);border:1px solid var(--bronze);margin-top:24px}.item-command-builder label{font-size:12px;color:var(--gold)}#item-amount{display:block;width:100px;margin-top:8px}.item-command-builder p{font-size:11px;line-height:1.5;color:var(--muted)}#item-command{box-sizing:border-box;width:100%;resize:none;background:var(--wood);color:var(--text);border:1px solid var(--bronze);padding:12px;font:12px/1.7 monospace}.item-copy{width:100%;margin-top:12px;color:#fff4dc;background:linear-gradient(#cc3b2a,#9b2519);font-weight:bold}.item-copy:hover{background:linear-gradient(#d84a36,#a82a1e)}#item-copy-status{min-height:17px;color:var(--jade)}
@media(max-width:850px){.item-table th:nth-child(2),.item-table td:nth-child(2),.item-table th:nth-child(4),.item-table td:nth-child(4){display:none}.item-table td:first-child{min-width:0}.item-table td{padding:10px}.item-hero{padding:24px}.item-toolbar{padding:20px;flex-wrap:wrap}.item-toolbar label:first-child{min-width:100%}.item-results>span:last-child{display:none}.archive-seal{display:none}.item-tooltip{left:10px}.item-identity small{max-width:220px}.item-table td:last-child .button{font-size:10px;white-space:normal}#item-dialog{padding:24px}.item-hero h2{font-size:30px}}
.item-table{min-width:0}
@media(max-width:600px){.item-table{table-layout:fixed}.item-table th:first-child{width:66%}.item-table th:nth-child(3),.item-table td:nth-child(3){display:none}.item-identity{max-width:100%;gap:8px}.item-identity>span:last-child{min-width:0}.item-identity small{max-width:100%;white-space:normal}.item-identity strong{overflow-wrap:anywhere}.item-icon{width:38px;height:38px}.item-guide code{overflow-wrap:anywhere;min-width:0}.item-archive .pagination{gap:12px;flex-wrap:wrap}.item-archive .pagination>div:first-child{max-width:100%}}
