/* Scoped form controls. Card layout, ads, download actions and notices retain their styles. */
body.pcg-v2-active.pcg-v2-active :is(.pcg-auth-card form, .pcg-account-settings, .pcg-onboarding-form, .pcg-library-filters, .pcg-help-search, .pcg-v2-global-search) :is(input[type="text"], input[type="search"], input[type="email"], input[type="password"], input[type="number"], input[type="url"], select) {
  box-sizing: border-box;
  min-height: 44px !important;
  max-width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  line-height: 1.5;
  border-radius: 10px;
}
body.pcg-v2-active.pcg-v2-active :is(.pcg-auth-card form, .pcg-account-settings, .pcg-onboarding-form, .pcg-library-filters, .pcg-v2-global-search) button[type="submit"],
body.pcg-v2-active.pcg-v2-active :is(.pcg-notifications-mark-all, .pcg-notification-card__actions > button, .pcg-notification-card__actions > a, .pcg-library-pagination > a, .pcg-notifications-pagination > a) {
  box-sizing: border-box;
  min-height: 44px !important;
  padding: 10px 16px;
  font-family: inherit;
  line-height: 1.5;
  border-radius: 10px;
}
body.pcg-v2-active :is(button, a, input, select, textarea, summary):focus-visible {
  outline: 2px solid #94cdff !important;
  outline-offset: 3px !important;
}
body.pcg-v2-active .pcg-library-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 0 0 12px;
}
body.pcg-v2-active .pcg-library-filters label { display: grid; gap: 6px; min-width: 0; margin: 0; font-size: 14px; }
body.pcg-v2-active .pcg-library-filters__search { flex: 1 1 230px; }
body.pcg-v2-active .pcg-library-filters__sort { flex: 0 1 210px; }
body.pcg-v2-active .pcg-library-filters :is(input, select) { width: 100%; color: var(--pcg-text, #f5f7fa); background: var(--pcg-panel, #202631); border: 1px solid var(--pcg-border-strong, #405065); }
body.pcg-v2-active .pcg-library-filters select { padding-inline-end: 32px; }
body.pcg-v2-active .pcg-library-filters button { color: #102238; background: #8dcaff; border: 1px solid transparent; font-size: 14px; cursor: pointer; }
body.pcg-v2-active .pcg-library-filters__reset { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 8px; font-size: 14px; }
body.pcg-v2-active .pcg-library-sort-note { color: var(--pcg-muted, #a8b7cb); font-size: 13px; margin: 0 0 16px; }
body.pcg-v2-active .pcg-notification-card__change { display: inline-block; padding: 4px 9px; border: 1px solid #426b87; border-radius: 7px; background: #223345; color: #b6dfff; font-size: 13px; line-height: 1.6; }
body.pcg-v2-active .pcg-notification-card__meta { flex-wrap: wrap; gap: 8px; }
body.pcg-v2-active #new-games .pcg-today-empty--recent { margin-bottom: 20px; }
body.pcg-v2-active .pcg-today-recent-card { display: flex; flex-direction: column; min-width: 0; }
body.pcg-v2-active .pcg-today-recent-card > .pcg-v2-card { flex: 1; }
body.pcg-v2-active .pcg-today-added-date { display: block; margin: 8px 2px 0; color: var(--pcg-muted, #a8b7cb); font-size: 13px; line-height: 1.6; }
body.pcg-v2-active.pcg-v2-active .pcg-fix-code-card strong { font-size: 18px !important; line-height: 1.7; overflow-wrap: anywhere; }
body.pcg-v2-active .pcg-fix-breadcrumb strong { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  body.pcg-v2-active .pcg-library-filters__search { flex-basis: 100%; }
  body.pcg-v2-active .pcg-library-filters__sort { flex: 1 1 180px; }
  body.pcg-v2-active.pcg-v2-active :is(.pcg-auth-card form, .pcg-account-settings, .pcg-onboarding-form, .pcg-library-filters, .pcg-help-search, .pcg-v2-global-search) :is(input, select) { font-size: 16px; }
}
