/* /setup "Graphics settings for your card": graphics.js fills it. Shared components come from /site.css. */
.gfx { scroll-margin-top: 112px; }
.gfx-lead { max-width: 74ch; margin: 0 0 14px; color: var(--dim); }
.gfx-lead em, .gfx-how em, .gfx-hint em, .gfx-note em, .gfx-tips em, .gfx-foot em, .gfx-hazard em { color: var(--text); font-style: normal; font-weight: 600; }
.gfx-tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-width: 720px; }
.gfx-tier { appearance: none; display: grid; justify-items: center; gap: 2px; padding: 9px 4px 7px; color: var(--text); cursor: pointer;
  background: var(--slot); border: 1px solid var(--slot-line); border-radius: 3px; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .6); }
.gfx-tier:hover { background: var(--sel); }
.gfx-tier b { font: 700 25px/1.05 var(--display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gfx-tier small { color: var(--dim); font: 500 13px/1.2 var(--body); white-space: nowrap; }
.gfx-tier[aria-pressed="true"] { border-color: var(--amber); background: rgba(224, 163, 58, .12);
  box-shadow: inset 0 0 0 1px rgba(224, 163, 58, .55), inset 0 2px 6px rgba(0, 0, 0, .6); }
.gfx-tier[aria-pressed="true"] small { color: var(--text); }
.gfx-how, .gfx-hint { max-width: 74ch; margin: 10px 0 0; color: var(--dim); font-size: 15.5px; }
.gfx-hint b { color: var(--text); font-weight: 600; }
.gfx-note { max-width: 86ch; margin: 18px 0 14px; color: var(--dim); }
.gfx-note .zc-tag { margin-right: 6px; }
.gfx-path { margin: 0; padding: 9px 14px; font-size: 14.5px; color: var(--dim); border-bottom: 1px solid var(--win-line-soft); overflow-wrap: anywhere; }
.gfx-path kbd { min-width: 0; padding: 2px 7px 1px; font-size: 13px; }
.gfx-rows { list-style: none; margin: 0; padding: 0; }
.gfx-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; min-height: 48px; padding: 7px 14px; border-bottom: 1px solid var(--win-line-soft); }
.gfx-row:nth-child(even) { background: rgba(255, 255, 255, .03); }
.gfx-row--wide { grid-template-columns: minmax(0, 1fr); }
.gfx-k { min-width: 0; line-height: 1.25; font-weight: 600; overflow-wrap: anywhere; }
.gfx-k small { display: block; margin-top: 2px; color: var(--dim); font-size: 13.5px; font-weight: 400; }
.gfx-k small em { color: var(--text); font-style: normal; }
.gfx-v { justify-self: end; max-width: 13ch; text-align: right; font: 700 20px/1.1 var(--display); letter-spacing: .01em; color: var(--gold); font-variant-numeric: tabular-nums; }
.gfx-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.gfx-chips .zc-tag { font-size: 13.5px; }
.gfx-chips .zc-tag b { color: var(--text); font-weight: 700; }
.gfx-foot { margin: 0; padding: 9px 14px 11px; color: var(--dim); font-size: 14.5px; }
.gfx-panels, .gfx-more { align-items: start; }
.gfx-more { margin-top: 14px; }
.gfx-tips { margin: 0; padding: 12px 14px 12px 32px; color: var(--dim); font-size: 15.5px; }
.gfx-tips li + li { margin-top: 7px; }
.gfx-hazard { margin-top: 14px; }
.gfx-honest { max-width: 86ch; margin: 14px 0 0; color: var(--dim); font-size: 14.5px; }
.setup .gfx code { word-break: break-word; }
@media (max-width: 520px) {
  .gfx-tiers { gap: 5px; }
  .gfx-tier { padding: 7px 1px 6px; }
  .gfx-tier b { font-size: 19px; }
  .gfx-tier small { font-size: 11.5px; }
  .gfx-v { font-size: 18px; }
}
