/* Illustrated reference pages for the player systems. */
.system-page{--guide-accent:#dcb378;--guide-glow:#b7893b55;--guide-border:#675239}
.auction-page{--guide-accent:#e6ac78;--guide-glow:#b76c3955;--guide-border:#75513b}
.accessory-page{--guide-accent:#d6abd5;--guide-glow:#aa6cab55;--guide-border:#6b4e68}
.system-page .page-heading{
    background:linear-gradient(114deg,#1d231c 14%,#262923 69%,#181d17);
    border-bottom:2px solid var(--guide-border);min-height:15rem;
}
.system-page .page-heading h1,.system-guide .eyebrow{color:var(--guide-accent)}
.system-guide{padding-top:2rem}
.guide-lead{
    display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.68fr);gap:1.15rem;align-items:center;
    border:1px solid var(--guide-border);background:#1d231d;padding:clamp(1.05rem,3.2vw,2.5rem);
    position:relative;isolation:isolate;overflow:hidden;
}
.guide-lead::after{
    position:absolute;inset:0;content:"";pointer-events:none;z-index:-1;
    background:repeating-linear-gradient(120deg,transparent 0 2.1rem,var(--guide-glow) 2.1rem calc(2.1rem + 1px),transparent calc(2.1rem + 1px) 4.15rem);
    mask-image:linear-gradient(to left,#000,transparent 60%);
    opacity:.45;
}
.guide-lead h2{font-size:clamp(2.05rem,4.6vw,4.25rem);max-width:17ch;line-height:.98}
.guide-lead p:not(.eyebrow){color:#d3d6c8;max-width:58ch}
.guide-picture{
    position:relative;display:grid;place-items:center;min-width:0;aspect-ratio:1.48;
    background:radial-gradient(ellipse,var(--guide-glow),transparent 68%);
}
.guide-picture img{width:86%;height:100%;max-height:270px;object-fit:contain;filter:drop-shadow(0 .5rem .8rem #000b);transition:transform .28s}
.guide-lead:hover .guide-picture img{transform:translateY(-3px)}
.guide-specs .stats>div{border-left-color:var(--guide-border)}
.guide-specs .stats dd{color:var(--guide-accent)}
.guide-steps{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:.85rem;
    list-style:none;padding:0;margin:1rem 0 2.7rem;counter-reset:guide-step;
}
.guide-steps>li{
    margin:0;counter-increment:guide-step;background:#1d221c;border:1px solid #3f473c;
    border-top:2px solid var(--guide-border);padding:1rem;
}
.guide-steps>li::before{
    content:counter(guide-step);display:grid;place-items:center;width:1.7rem;height:1.7rem;
    border:1px solid var(--guide-border);color:var(--guide-accent);margin-bottom:.65rem;font-size:.9rem;font-weight:600;
}
.guide-steps h3{font-size:1.45rem}
.guide-steps p,.guide-card p{margin-bottom:0;color:#c9cdbd}
.machine-grid,.trading-rules,.accessory-grid{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start;
}
.guide-card{
    min-width:0;padding:1.05rem;border:1px solid var(--guide-border);background:#1c221c;border-top:2px solid var(--guide-accent);
    transition:box-shadow .25s,border-color .25s;
}
.guide-card:hover,.guide-card:focus-within{border-color:var(--guide-accent);box-shadow:0 0 1.05rem var(--guide-glow)}
.guide-card header{display:flex;align-items:center;gap:.8rem;margin-bottom:.65rem;border-bottom:1px solid #77745a45;padding-bottom:.7rem}
.guide-card header img{width:3.8rem;height:3.8rem;object-fit:contain;filter:drop-shadow(0 .25rem .3rem #0007)}
.guide-card h3{color:var(--guide-accent);font-size:1.55rem;margin:0}
.guide-card header p{font-size:.96rem;margin:.3rem 0 0;line-height:1.35}
.guide-card .armory-rows dd,.guide-sources .armory-rows dd,.guide-card summary{color:var(--guide-accent)}
.machine-levels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin-top:.55rem}
.machine-levels>div{background:#171c17;border:1px solid #4a4d3b;padding:.6rem .65rem;overflow-wrap:anywhere}
.machine-levels h4{margin:0;color:var(--guide-accent);font:700 1.23rem var(--heading)}
.machine-levels p,.machine-levels ul{font-size:.87rem;line-height:1.42;margin:.3rem 0 0}
.machine-levels ul{padding-left:1.1rem}
.guide-sources{border-left:2px solid var(--guide-accent);background:#1f241e;padding:1.1rem;margin-top:1.3rem}
.guide-sources h2{font-size:clamp(1.75rem,3vw,2.5rem)}
.guide-sources p:last-child{margin-bottom:0}
.trading-rules .table-scroll{margin-top:.7rem}
.accessory-section{margin-top:1.8rem}
.accessory-section>h2{font-size:clamp(1.65rem,3vw,2.8rem)}
.accessory-card header img{width:4.4rem;height:4.4rem;background:radial-gradient(ellipse,var(--guide-glow),transparent 67%)}
.accessory-card h3 a{color:inherit;text-decoration:none}
.accessory-card h3 a:hover{text-decoration:underline}
@media(min-width:850px){.accessory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){
    .system-guide{padding-top:1rem}
    .guide-lead,.machine-grid,.trading-rules,.accessory-grid{grid-template-columns:1fr}
    .guide-lead{gap:.6rem}
    .guide-picture{aspect-ratio:2.05}
    .guide-picture img{max-height:170px}
    .guide-steps{margin-bottom:1.6rem}
    .machine-levels{grid-template-columns:1fr}
}
