/* BearCodes – server & app detail pages. Mobile first, wide two-column layout on PC. */
.pd-main{width:min(1240px,100%)}
.pd-grid{display:grid;gap:20px;grid-template-columns:minmax(0,1fr)}
.pd-col{display:flex;flex-direction:column;gap:20px;min-width:0}
.pd-card h2{margin:0 0 .6em}
.pd-card p{line-height:1.65;margin:.5em 0}
.pd-card a:not(.sv-wa):not(.sv-cta):not(.pd-btn):not(.pd-rel):not(.cp-country){color:#f5b21b;text-decoration:underline;text-underline-offset:3px}

/* hero identity */
.pd-id{display:flex;align-items:center;justify-content:center;gap:16px;margin:10px 0 6px;text-align:left}
.pd-logo{flex:0 0 auto;width:84px;height:84px;border-radius:22px;overflow:hidden;background:#0a1324;border:1px solid #26344f;display:grid;place-items:center}
.pd-logo img{width:100%;height:100%;object-fit:cover}
.pd-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:10px 0 0}
.pd-chip{font-size:.78rem;font-weight:700;letter-spacing:.04em;padding:.35em .8em;border-radius:999px;border:1px solid #26344f;background:#0a1324;color:#f8efdb}
.pd-chip.is-live{border-color:#1f7a55;color:#3ee59a}
.pd-chip.is-off{border-color:#7a2a2a;color:#ff8a8a}
.pd-chip.is-gold{border-color:#8a6510;color:#ffc93c}

/* facts table */
.pd-facts{display:grid;grid-template-columns:1fr;gap:0;margin:0;border:1px solid #26344f;border-radius:16px;overflow:hidden}
.pd-facts div{display:flex;justify-content:space-between;gap:16px;padding:12px 16px;border-top:1px solid #1c2940}
.pd-facts div:first-child{border-top:0}
.pd-facts dt{opacity:.72;font-weight:500}
.pd-facts dd{margin:0;font-weight:600;text-align:right}

/* downloader codes */
.pd-codes{display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));margin:.8em 0 0;padding:0;list-style:none}
.pd-code{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:14px;background:#070d1a;border:1px solid #26344f}
.pd-code small{display:block;opacity:.7;font-size:.76rem;margin-bottom:2px}
.pd-code b{font-size:1.25rem;letter-spacing:.08em;font-variant-numeric:tabular-nums;color:#ffc93c}
.pd-copy{flex:0 0 auto;cursor:pointer;font:inherit;font-size:.8rem;font-weight:700;color:#070d1a;background:#f5b21b;border:0;border-radius:999px;padding:.5em .9em}
.pd-copy:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* order card */
.pd-order{display:flex;flex-direction:column;gap:12px}
.pd-order .sv-wa,.pd-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;box-sizing:border-box}
.pd-btn{padding:.85em 1em;border-radius:999px;border:1px solid #f5b21b;color:#f5b21b;font-weight:700;text-decoration:none}
.pd-btn:hover{background:rgba(245,178,27,.1)}
.pd-order ul{margin:4px 0 0;padding:0;list-style:none;display:grid;gap:8px;font-size:.93rem}
.pd-order li{padding-left:1.5em;position:relative;line-height:1.45}
.pd-order li::before{content:"";position:absolute;left:0;top:.5em;width:.55em;height:.55em;border-radius:50%;background:#3ee59a}

/* related */
.pd-rels{display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.pd-rel{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#070d1a;border:1px solid #26344f;color:#f8efdb;text-decoration:none;font-weight:600;font-size:.92rem}
.pd-rel img{width:32px;height:32px;border-radius:9px;object-fit:cover;flex:0 0 auto}
.pd-rel:hover{border-color:#f5b21b}

/* index lists on server-list / downloader pages */
.pd-index{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0;list-style:none}
.pd-index a{display:inline-block;padding:.45em .9em;border-radius:999px;border:1px solid #26344f;color:#f8efdb;text-decoration:none;font-size:.88rem}
.pd-index a:hover{border-color:#f5b21b;color:#f5b21b}
.st-more{display:block;margin-top:10px;text-align:center;color:#f5b21b;font-weight:600}

/* ---------- PC layout ---------- */
@media (min-width:1000px){
  .pd-grid{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:24px}
  .pd-side{position:sticky;top:96px}
  .pd-logo{width:112px;height:112px;border-radius:28px}
  .pd-facts{grid-template-columns:1fr 1fr}
  .pd-facts div:nth-child(2){border-top:0}
  .pd-facts div:nth-child(odd){border-right:1px solid #1c2940}
  .pd-card{padding:30px}
  .pd-steps-wide{display:grid;grid-template-columns:1fr 1fr;gap:.9em 2.4em}
}
@media (min-width:1400px){.pd-main{width:min(1320px,100%)}.pd-grid{grid-template-columns:minmax(0,1fr) 400px}}

@media (max-width:560px){.pd-id{flex-direction:column;text-align:center;gap:10px}.pd-facts div{flex-direction:column;gap:2px}.pd-facts dd{text-align:left}}
