/* Settings page: the theme choice. Uses the colours of whatever theme is on (--bg, --ink of the 6 themes). */
.cfg-page { padding-bottom: 48px; }
.cfg-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.cfg-legend { font-weight: 700; font-size: 20px; padding: 0; margin: 8px 0 14px; }
.cfg-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.cfg-opt { position: relative; display: flex; align-items: center; gap: 16px; min-height: 120px; padding: 12px 16px 12px 12px; cursor: pointer;
  border: 2px solid rgba(128, 128, 128, .7); border-radius: 10px; background: var(--bg, transparent); color: var(--ink, inherit); }
.cfg-opt input { flex: none; width: 26px; height: 26px; margin: 0; accent-color: #157A38; cursor: pointer; }
.cfg-opt img { flex: none; width: 96px; height: 128px; object-fit: cover; object-position: top; border-radius: 4px; border: 1px solid rgba(128, 128, 128, .7); }
.cfg-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.cfg-name { font-weight: 700; font-size: 19px; line-height: 1.25; }
.cfg-kind { font-size: 16px; }
.cfg-now { display: none; font-size: 15px; font-weight: 700; }
.cfg-opt:has(input:checked) { border: 3px solid currentColor; padding: 11px 15px 11px 11px; }
.cfg-opt:has(input:checked) .cfg-now { display: block; }
.cfg-opt:has(input:focus-visible) { outline: 3px solid currentColor; outline-offset: 3px; }
.cfg-opt input:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.cfg-form fieldset:disabled .cfg-opt { cursor: not-allowed; opacity: .75; }
.cfg-warn { border: 2px solid currentColor; border-left-width: 8px; border-radius: 6px; padding: 12px 16px; margin: 0 0 18px; font-size: 17px; font-weight: 600; }
.cfg-warn[hidden] { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
