/* What the 3D model shows (model3d.js), under the paperdoll; the toggle
   and the frame on the doll's stage are in app.css. */

.m3dstatus { margin: 0; }
.m3dnotes { color: var(--muted); font-size: 14px; }
.m3dnotes p { margin: 6px 0 0; }
.m3dnotes ul { margin: 4px 0 0; padding-left: 1.2em; }
.m3dnotes b { color: var(--ink); font-weight: 500; }
.m3dsex select {
  font: 14px var(--sans); color: var(--ink); background: var(--sunk); border: 1px solid var(--rule);
  border-radius: 4px; padding: 2px 6px;
}
.m3dcredit { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.m3dcredit a { color: var(--gold-hi); }
/* Updated or Classic models (modelsSwitch), like the game's option. */
.m3dmodels { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.m3dmodel {
  font: 14px var(--sans); padding: 6px 12px; min-height: 36px; border-radius: 4px; cursor: pointer;
  border: 1px solid var(--rule); background: var(--sunk); color: var(--muted);
}
.m3dmodel[aria-pressed="true"] { background: var(--raised); color: var(--ink); border-color: var(--gold); }
.m3dmodel:disabled { cursor: not-allowed; opacity: .55; }
.m3dmodel:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
/* Classic only: a choice the original models don't have (classicNote). */
.m3dnotes p.m3dclassic { color: var(--ink); }
/* An item with no 3D model: its icon instead, and why. */
.m3dnotes ul.m3dmissing { list-style: none; padding: 0; display: grid; gap: 6px; }
.m3dmissing li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.m3dmissing .itm { max-width: 100%; }
