/* Herramientas de desarrollador: a clearly separate card at the end of the packs page. */
#sobres .dev-tools{box-sizing:border-box;width:auto;max-width:100%;min-width:0;overflow:hidden;margin:18px 0 8px;padding:16px;border:1px dashed #7dd3fc55;border-radius:20px;background:radial-gradient(120% 60% at 0 0,#0e2a3d66,transparent 60%),#0b1220e6;color:#e4e4e7;display:grid;gap:18px}
#sobres .dev-tools[hidden],#sobres .dev-tools [hidden]{display:none}
.dev-tools-head{display:grid;gap:4px}
#sobres .dev-tools .dev-tools-head h2{margin:0;font-size:18px;line-height:1.3;letter-spacing:0;font-weight:700;color:#f4f4f5}
.dev-tools-head p{margin:0;font-size:12.5px;color:#a1a1aa}
.dev-tools-chip{justify-self:start;padding:2px 8px;border-radius:999px;border:1px solid #7dd3fc66;color:#bae6fd;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.dev-tools-block{display:grid;gap:10px;min-width:0}
.dev-tools-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:13px;font-weight:700;color:#e4e4e7}
.dev-tools-title small{font-size:12px;font-weight:500;color:#a1a1aa;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dev-tools button{font:inherit;color:#f4f4f5;cursor:pointer;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
.dev-tools button:disabled{opacity:.5;cursor:default}
.dev-tools button:focus{outline:none}
.dev-tools button:focus-visible{outline:2px solid #e4e4e7;outline-offset:2px}
.dev-tools img{-webkit-user-drag:none;pointer-events:none}
/* Badge picker: every badge with its image; the chosen one gets a neutral ring and a mark. */
.dev-badge-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px}
.dev-badge{position:relative;display:grid;justify-items:center;align-content:start;gap:4px;min-width:0;padding:10px 6px 8px;border:1px solid #ffffff1a;border-radius:14px;background:#ffffff08}
.dev-badge:active{background:#ffffff14}
.dev-badge-art{display:grid;place-items:center;width:62px;height:56px}
.dev-badge-art{overflow:hidden}.dev-badge-art img{display:block;width:62px;height:56px;object-fit:contain;filter:drop-shadow(0 3px 6px #0008)}
.dev-badge-art svg{width:34px;height:34px;fill:none;stroke:#a1a1aa;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dev-badge-name{max-width:100%;font-size:12px;font-weight:600;line-height:1.2;text-align:center;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.dev-badge small{font-size:11px;color:#a1a1aa;font-variant-numeric:tabular-nums}
.dev-badge[aria-pressed=true]{border-color:#f4f4f5;background:#ffffff17;box-shadow:inset 0 0 0 1px #f4f4f5}
.dev-badge[aria-pressed=true]::after{content:"✓";position:absolute;top:6px;right:7px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#f4f4f5;color:#0b1220;font-size:11px;font-weight:800}
/* Test packs: the real pack art, stacked for several, with its kind written on it. */
.dev-pack-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.dev-pack{display:grid;justify-items:center;gap:6px;min-width:0;padding:8px 4px;border:1px solid #ffffff1a;border-radius:14px;background:#ffffff08}
.dev-pack:active{background:#ffffff14}
.dev-pack-art{position:relative;display:block;width:42px;aspect-ratio:2/3}
.dev-pack-art img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 5px #0009)}
.dev-pack-stack{position:absolute;inset:0;transform:translate(5px,-4px) rotate(6deg);border-radius:4px;background:#2a2f3a;border:1px solid #ffffff22}
.dev-pack-art em{position:absolute;z-index:2;left:50%;bottom:-3px;transform:translateX(-50%);padding:1px 5px;border-radius:999px;background:#0b1220;border:1px solid #ffffff33;color:#e4e4e7;font-size:8.5px;font-style:normal;font-weight:700;white-space:nowrap}
.dev-pack-label{font-size:11.5px;font-weight:600;line-height:1.2;text-align:center}
/* The two quick actions, side by side. */
.dev-tools-pair{grid-template-columns:1fr 1fr}
.dev-action{display:flex;align-items:center;gap:9px;min-width:0;padding:11px 12px;border:1px solid #ffffff1a;border-radius:14px;background:#ffffff08;text-align:left}
.dev-action:active{background:#ffffff14}
.dev-action svg{flex:none;width:24px;height:24px;fill:none;stroke:#e4e4e7;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dev-action span{display:grid;gap:2px;min-width:0}
.dev-action strong{font-size:12.5px;line-height:1.2}
.dev-action small{font-size:11.5px;color:#a1a1aa}
/* Running advantages, each with the image of the badge that gave it. */
.dev-active-list{display:flex;flex-wrap:wrap;gap:8px}
.dev-active{display:flex;align-items:center;gap:8px;padding:6px 12px 6px 6px;border:1px solid #ffffff1a;border-radius:999px;background:#ffffff08}
.dev-active img{width:30px;height:30px;object-fit:contain}
.dev-active span{display:grid}
.dev-active strong{font-size:12px}
.dev-active small{font-size:11px;color:#a1a1aa;font-variant-numeric:tabular-nums}
.dev-tools-status{margin:0;min-height:1.3em;font-size:12.5px;color:#bae6fd}
@media(max-width:360px){.dev-pack-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dev-tools-pair{grid-template-columns:1fr}}
