/* Append after existing ci.css. Existing desktop theme colours/fonts are retained. */
body.ci-body .ci-filter-form{align-items:flex-end}
body.ci-body .ci-filter-field{display:flex;flex-direction:column;gap:5px;min-width:0}
body.ci-body .ci-filter-field-title{flex:1;min-width:180px}
body.ci-body .ci-filter-label{font:500 12px/1.4 var(--fb);color:var(--text2)}
body.ci-body .ci-filter-field .ci-input,
body.ci-body .ci-filter-field .ci-select{width:100%;min-width:0}
/* The parent theme's type selector otherwise overrides the archive search field. */
body.ci-body .ci-filter-form .ci-filter-field input.ci-input{
  background:var(--surface);border:1px solid var(--line2);border-radius:10px;
  color:var(--text);font:400 13.5px/1.4 var(--fb);padding:10px 14px;min-height:42px;
  box-shadow:none
}
body.ci-body .ci-filter-count-note{margin:0;color:var(--text2);font-size:12px;line-height:1.6}
body.ci-body .ci-nav a:focus-visible,
body.ci-body .ci-plat-tab:focus-visible,
body.ci-body .ci-region-tab:focus-visible,
body.ci-body .ci-filter-form :is(input,select,button,a):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:640px){
  body.ci-body .ci-header-in{height:auto;min-height:64px;flex-wrap:wrap;gap:8px 14px;padding:12px 20px}
  body.ci-body .ci-header-search{flex:1;min-width:120px}
  body.ci-body .ci-header-search input{width:100%;min-width:0}
  body.ci-body .ci-nav{display:flex;flex:0 0 100%;flex-wrap:wrap;gap:4px;margin:0;order:3}
  body.ci-body .ci-nav a{min-height:44px;display:inline-flex;align-items:center;padding:8px 12px}
  body.ci-body .ci-filter-field{flex:1 1 140px}
  body.ci-body .ci-filter-field-title{flex-basis:100%;min-width:0}
}
/* A reviewed wrong-game image is withheld until the correct artwork is ready. */
body.ci-body .ci-image-hold{display:flex;flex-direction:column;justify-content:center;gap:8px;height:100%;box-sizing:border-box;padding:16px;text-align:center;border:1px dashed #59697b;border-radius:10px;background:#131b25;color:#b6c4d5;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
body.ci-body .ci-image-hold b{color:#edf3f8;font-size:14px;line-height:1.4}
body.ci-body .ci-slide .ci-image-hold{min-height:260px;font-size:14px}

/* Explicit country editions of the reviewed Zelda II group. */
.ci-reviewed-regions{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;margin:16px 0}.ci-reviewed-regions .ci-ver{min-width:0;width:auto;overflow-wrap:anywhere}.ci-reviewed-region-note{font-size:.78rem;line-height:1.6;opacity:.78;margin:8px 0 14px}

/* Keep long provenance text from shrinking the cartridge artwork column. */
body.ci-body .ci-single-grid > .ci-single-main{min-width:0;overflow-wrap:anywhere}
