/* An open configuration library that shares the account background. */
body.account-redesign .config-library-workspace {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.config-library-workspace .config-page-heading { margin: 0 0 30px; }
.config-library-workspace .config-page-heading h2 { margin: 0; font-size: 28px; font-weight: 500; letter-spacing: -.8px; }
.config-library-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: start; gap: clamp(28px, 4vw, 64px); }
.account-redesign .config-library-workspace .config-product-tabs { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 8px; padding: 0; border: 0; }
.account-redesign .config-library-workspace .config-game-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  min-width: 0;
  min-height: 104px;
  padding: 8px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.account-redesign .config-library-workspace .config-game-option:is(:hover, [aria-current=true]) { background: color-mix(in srgb, var(--text) 5%, transparent); color: var(--text); }
.config-game-art { display: block; flex-shrink: 0; width: 64px; height: 88px; border-radius: 9px; overflow: hidden; background: color-mix(in srgb, var(--text) 3%, transparent); }
.config-game-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.config-game-art--mark { display: grid; place-items: center; }
.config-game-art--mark img { width: 48px; height: 48px; object-fit: contain; }
.config-game-option:hover .config-game-art img { transform: scale(1.04); }
.config-game-title { display: grid; gap: 5px; min-width: 0; }
.config-game-title strong { font-size: 14px; font-weight: 500; }
.config-game-title small { font-size: 11px; color: var(--muted); }
.config-game-arrow { width: 16px; height: 16px; flex-shrink: 0; margin-left: auto; opacity: 0; }
.config-game-option[aria-current=true] .config-game-arrow { opacity: .7; }
.config-library-workspace .config-category { min-width: 0; }
.account-redesign .config-library-workspace .config-tabs { gap: 26px; width: 100%; margin: 0 0 26px; padding: 0; border: 0; border-radius: 0; }
.account-redesign .config-library-workspace .config-tabs button { position: relative; flex: 0 1 auto; min-height: 42px; padding: 0 0 12px; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 14px; color: var(--muted); }
.account-redesign .config-library-workspace .config-tabs button[aria-selected=true] { color: var(--text); background: transparent; }
.config-library-workspace .config-tabs button[aria-selected=true]::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; border-radius: 2px; background: currentColor; }
.config-library-workspace .config-toolbar { gap: 12px; margin-bottom: 20px; }
.config-library-workspace .config-slot-count { gap: 6px; }
.config-library-workspace .config-slot-count strong { padding: 0; border: 0; background: none; font-size: 13px; }
.account-redesign .config-library-workspace .loader-import .input { min-height: 36px; height: 36px; padding-inline: 8px; border: 0; border-bottom: 1px solid var(--workspace-line); border-radius: 0; background: transparent; box-shadow: none; }
.account-redesign .config-library-workspace .btn { min-height: 36px; padding: 8px 12px; border: 0; box-shadow: none; }
.account-redesign .config-library-workspace .btn--ghost { background: transparent; }
.account-redesign .config-library-workspace .btn--ghost:hover { background: color-mix(in srgb, var(--text) 6%, transparent); }
.account-redesign .config-library-workspace .loader-library { gap: 10px; margin-top: 16px; }
.account-redesign .config-library-workspace .loader-library > .loader-config-banner,
.account-redesign .config-library-workspace .cheat-config-card { min-height: 80px; padding: 16px 12px; border: 0; border-radius: 12px; background: transparent; box-shadow: none; }
.account-redesign .config-library-workspace .loader-config-banner:is(:hover, :focus-visible),
.account-redesign .config-library-workspace .cheat-config-card:hover { background: color-mix(in srgb, var(--text) 3%, transparent); }
.account-redesign .config-library-workspace .loader-config-icon { width: 44px; height: 44px; border: 0; background: color-mix(in srgb, var(--text) 4%, transparent); }
.account-redesign .config-library-workspace .loader-banner-open { border: 0; background: transparent; }
.account-redesign .config-library-workspace .loader-config-empty { min-height: 180px; padding: 28px 12px; border: 0; background: transparent; box-shadow: none; }
.account-redesign .config-library-workspace .cheat-config-selected { border: 0; background: transparent; padding-left: 0; }
.config-library-workspace .config-game-option:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
@media (max-width: 1100px) {
  .config-library-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 24px; }
  .account-redesign .config-library-workspace .config-game-option { gap: 10px; padding-inline: 6px; }
  .config-game-art { width: 54px; height: 76px; }
  .config-game-title strong { font-size: 13px; }
}
@media (max-width: 760px) {
  .config-library-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .account-redesign .config-library-workspace .config-product-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(116px, 1fr); overflow-x: auto; padding: 3px; margin: -3px; scroll-snap-type: x proximity; }
  .account-redesign .config-library-workspace .config-game-option { flex-direction: column; align-items: stretch; gap: 10px; padding: 8px; scroll-snap-align: start; }
  .config-game-art { width: 100%; height: 100px; }
  .config-game-title { padding: 0 3px 4px; }
  .config-game-arrow { display: none; }
  .account-redesign .config-library-workspace .config-tabs { gap: 22px; }
}
@media (pointer: coarse) { .account-redesign .config-library-workspace .btn, .account-redesign .config-library-workspace .loader-import .input { min-height: 44px; height: auto; } }
@media (prefers-reduced-motion: reduce) { .config-game-art img, .account-redesign .config-library-workspace .config-game-option { transition: none; } }

.account-redesign .config-library-workspace .loader-config-banner:focus-visible,
.account-redesign .config-library-workspace .loader-import .input:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
