/* PTK AMULET — Owner Controlled Stock | v0.1.28 Readability SAFE MODE
   Stock rules are visual only. No stock calculations or status logic. */
.ptk-amulet-stock-editor{
    margin:12px 0 18px;
    padding:14px;
    border:1px solid #c5cbd2;
    border-radius:12px;
    background:#f8f7f4;
    color:#17212b;
    box-shadow:none;
}
.ptk-amulet-stock-editor__heading{
    font-size:15px;
    font-weight:800;
    color:#17212b;
    line-height:1.4;
    margin:0 0 10px;
}
.ptk-amulet-stock-editor .ptk-grid-2{gap:12px}
.ptk-amulet-form .ptk-amulet-stock-editor .ptk-field label{
    color:#253346;
    font-weight:750;
}
.ptk-amulet-form .ptk-amulet-stock-editor input[type="number"]{
    max-width:100%;
    min-width:0;
    min-height:44px;
    box-sizing:border-box;
    border:1px solid #9ca9b7;
    border-radius:10px;
    background:#fff;
    color:#17212b;
    -webkit-text-fill-color:#17212b;
    opacity:1;
    font-weight:700;
}
.ptk-amulet-form .ptk-amulet-stock-editor input[type="number"]:focus-visible{
    outline:2px solid #94753e;
    outline-offset:1px;
    border-color:#94753e;
}
.ptk-amulet-form .ptk-amulet-stock-editor .ptk-help{
    color:#415063;
    font-weight:500;
    line-height:1.65;
}
.ptk-amulet-form .ptk-amulet-stock-editor__decrement{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 12px;
    border:1px solid #9ba8b6;
    border-radius:999px;
    background:#fff;
    color:#233247;
    font:inherit;
    font-size:13px;
    font-weight:750;
    opacity:1;
    text-shadow:none;
    cursor:pointer;
    transition:background .2s ease,border-color .2s ease;
}
.ptk-amulet-form .ptk-amulet-stock-editor__decrement:hover{
    border-color:#9b804c;
    background:#ece7db;
    color:#1c2b3e;
}
.ptk-amulet-form .ptk-amulet-stock-editor__decrement:focus-visible{
    outline:2px solid #94753e;
    outline-offset:2px;
}
/* =========================================================
   v0.1.26 — Stock badge readability + status adjacency
   Light neutral pill, dark explicit ink for both light/dark themes.
   No image overlay: avoids hiding unique amulet details.
========================================================= */
.ptk-amulet-stock-status-row{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:flex-start;
    column-gap:7px;
    row-gap:5px;
    min-width:0;
    max-width:100%;
    margin:5px 0 7px;
}
.ptk-amulet-stock-status-row .ptk-amulet-status,
.ptk-amulet-stock-status-row .ptk-amulet-shop__meta--status{
    margin:0;
    flex:0 0 auto;
}
body.single-ptk_amulet .ptk-amulet-single-meta-bar .ptk-amulet-stock-status-row{
    margin:0;
}
.ptk-amulet-stock-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:3px;
    flex:0 0 auto;
    max-width:100%;
    margin:0;
    padding:5px 10px;
    border:1px solid #bac6d3;
    border-radius:999px;
    background:#f4f6f9;
    color:#243244 !important;
    font-size:12px;
    font-weight:750;
    line-height:1.3;
    white-space:nowrap;
    text-shadow:none;
    box-shadow:none;
    font-variant-numeric:tabular-nums;
}
.ptk-amulet-stock-badge__number{
    color:#192736 !important;
    font-size:14px;
    font-weight:900;
    line-height:1;
    font-variant-numeric:tabular-nums;
}

/* Single-item owner action: readable on light and dark card themes. */
body.single-ptk_amulet .ptk-amulet-single-meta-bar a.ptk-amulet-stock-owner-link,
body.single-ptk_amulet .ptk-amulet-single-meta-bar a.ptk-amulet-stock-owner-link:link,
body.single-ptk_amulet .ptk-amulet-single-meta-bar a.ptk-amulet-stock-owner-link:visited{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:30px;
    box-sizing:border-box;
    padding:6px 11px;
    border:1px solid #aab7c5;
    border-radius:999px;
    background:#f2f5f8;
    color:#243244 !important;
    font-size:12px;
    font-weight:800;
    line-height:1.25;
    text-decoration:none;
    text-shadow:none;
    opacity:1;
    box-shadow:none;
    transition:background .2s ease,border-color .2s ease;
}
body.single-ptk_amulet .ptk-amulet-single-meta-bar a.ptk-amulet-stock-owner-link:hover{
    color:#182634 !important;
    background:#e3ebf3;
    border-color:#8295a8;
}
body.single-ptk_amulet .ptk-amulet-single-meta-bar a.ptk-amulet-stock-owner-link:focus-visible{
    outline:2px solid #94753e;
    outline-offset:2px;
}
@media(max-width:600px){
    .ptk-amulet-stock-editor{padding:11px}
    .ptk-amulet-stock-status-row{column-gap:6px;row-gap:5px}
    .ptk-amulet-stock-badge{font-size:11px;padding:5px 9px}
    .ptk-amulet-stock-badge__number{font-size:13px}
}
