
/* ============================================================
   WYO Character Tools · CharSell Theme Guard
   Theme-only / reversible. No FluxCP core module dependency.
   ============================================================ */
.wyo-character-tools{
    margin:10px 0 0;
    padding:10px 12px;
    border:1px solid rgba(193,157,45,.24);
    border-radius:12px;
    background:
        radial-gradient(circle at 0 0,rgba(196,155,42,.055),transparent 30%),
        linear-gradient(180deg,rgba(11,34,25,.96),rgba(7,25,18,.96));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.018),0 8px 22px rgba(0,0,0,.09);
}
.wyo-character-tools *{box-sizing:border-box}
.wyo-character-tools-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:0 2px 8px;
}
.wyo-character-tools-head small{
    display:block;
    color:#b99a3f;
    font:800 8px/1 Inter,Arial,sans-serif;
    letter-spacing:.08em;
}
.wyo-character-tools-head strong{
    display:block;
    margin-top:3px;
    color:#ece5d5;
    font:600 15px/1.05 Cinzel,Georgia,serif;
}
.wyo-character-market-state{
    display:inline-flex;
    align-items:center;
    gap:6px;
    min-height:27px;
    padding:0 9px;
    border:1px solid rgba(210,170,48,.23);
    border-radius:999px;
    background:rgba(38,34,11,.48);
    color:#d1b755;
    font:700 8.5px/1 Inter,Arial,sans-serif;
    white-space:nowrap;
}
.wyo-character-tools-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:7px;
}
.wyo-character-tool{
    display:flex;
    align-items:center;
    gap:9px;
    min-width:0;
    min-height:48px;
    padding:7px 9px;
    border:1px solid rgba(139,170,150,.13);
    border-radius:8px;
    background:linear-gradient(180deg,rgba(12,41,28,.82),rgba(7,29,20,.84));
    color:#d9ddd8!important;
    text-decoration:none!important;
    transition:border-color .15s ease,background .15s ease,transform .15s ease;
}
a.wyo-character-tool:hover{
    transform:translateY(-1px);
    border-color:rgba(210,173,55,.34);
    background:linear-gradient(180deg,rgba(19,53,36,.88),rgba(9,34,23,.90));
}
.wyo-character-tool-icon{
    display:grid;
    place-items:center;
    flex:0 0 32px;
    width:32px;
    height:32px;
    border:1px solid rgba(208,171,52,.25);
    border-radius:7px;
    background:#0d2b1e;
    color:#d7b84f;
    font-size:12px;
}
.wyo-character-tool-copy{min-width:0}
.wyo-character-tool-copy strong{
    display:block;
    overflow:hidden;
    color:#e5dfd1;
    font:750 10.5px/1.1 Inter,Arial,sans-serif;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.wyo-character-tool-copy small{
    display:flex;
    align-items:center;
    gap:4px;
    margin-top:4px;
    overflow:hidden;
    color:#738b7e;
    font:500 7.5px/1.15 Inter,Arial,sans-serif;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.wyo-character-tool.is-disabled{
    cursor:not-allowed;
    opacity:.54;
    border-color:rgba(155,117,53,.14);
    background:rgba(18,24,19,.68);
}
.wyo-character-tool.is-disabled .wyo-character-tool-icon{
    border-color:rgba(155,117,53,.18);
    color:#947f4d;
    background:#192219;
}
.wyo-character-tool.is-disabled .wyo-character-tool-copy small{color:#9a8153}
@media(max-width:700px){
    .wyo-character-tools-head{align-items:flex-start;flex-direction:column}
    .wyo-character-tools-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:430px){
    .wyo-character-tools-grid{grid-template-columns:1fr}
}

.wyo-character-tool.is-current{
    border-color:rgba(214,177,57,.44);
    background:linear-gradient(180deg,rgba(24,60,39,.96),rgba(10,37,25,.96));
    box-shadow:inset 0 0 0 1px rgba(214,177,57,.05);
}
.wyo-character-tool.is-current .wyo-character-tool-icon{
    border-color:rgba(220,181,55,.44);
    color:#f0cf63;
    background:#153925;
}
.wyo-character-tool.is-current .wyo-character-tool-copy strong{
    color:#f2df99;
}
