.deck-format-field { display: grid; gap: 6px; min-width: 0; }
.deck-format-field[hidden], .deck-format-editor[hidden] { display: none !important; }
.deck-format-field small, .deck-format-editor small { font-size: .76rem; color: var(--muted); line-height: 1.5; font-weight: 400; }
.deck-format-editor { border-top: 1px solid var(--line, #ffffff24); padding-top: 16px; margin-top: 16px; display: flex; align-items: end; flex-wrap: wrap; gap: 12px; }
.deck-format-editor label { flex: 1 1 180px; }
.deck-format-editor button { min-height: 44px; }
.deck-format-editor [role=status] { flex-basis: 100%; margin: 0; font-size: .85rem; }
.batch-import-item:has(.deck-format-field) { grid-template-columns: minmax(140px,1.1fr) minmax(150px,1fr) minmax(100px,.65fr) minmax(140px,.8fr); }
.batch-import-item .batch-import-status { grid-column: 1 / -1; }
.deck-format-badge { display: inline-flex; width: fit-content; align-self: center; border: 1px solid #ffffff30; background: #ffffff0c; color: inherit; border-radius: 999px; padding: 5px 10px; font-size: .76rem; font-weight: 600; }
.collection-preview .deck-format-badge { margin: 4px auto 8px; }
.public-decks-section .public-deck-feature.is-format-deck { display: grid; place-items: center; height: 245px; }
.public-decks-section .public-deck-feature.is-format-deck > .profile-card-fan { position: relative; bottom: auto; width: min(100%,280px); height: 235px; margin: auto; }
.public-decks-section .public-deck-feature.is-format-deck .profile-fan-card { width: 125px; margin-left: -62.5px; top: 8px; }
@media(max-width: 720px) {
  .batch-import-item:has(.deck-format-field) { grid-template-columns: minmax(0,1fr); }
  .deck-format-editor button { width: 100%; }
}
