/* iniCat skin for the image converter. Layout stays as shipped; colours, type and corners are shared with the site. */
:root[data-theme="dark"],
:root:not([data-theme="light"]) {
  --font-display: "Jost";
  --font-body: "Jost";
  --font-mono: "Cascadia Mono";
  --bg: #080a09;
  --bg-2: #101411;
  --panel: #101411;
  --ink: #f5f7f2;
  --ink-2: #c9d0c5;
  --mute: #929890;
  --line: #272d28;
  --line-2: #3a4238;
  --accent: #a4ff00;
  --accent-ink: #080a09;
  --accent-soft: rgba(164, 255, 0, .1);
  --good: #a4ff00;
  --good-soft: rgba(164, 255, 0, .1);
  --bad: #ff7a6a;
  --bad-soft: rgba(255, 122, 106, .1);
  --warn: #a4ff00;
  --glow: rgba(164, 255, 0, .05);
  --chk-a: #101411;
  --chk-b: #151a16;
  --grain-opacity: .035;
  --grain-blend: screen;
  --radius: 0px;
  color-scheme: dark;
}
body, button, input, select, textarea { font-family: "Jost"; }
h1, h2, h3, h4, .masthead h1, .group__title, .summary__title, .seo h2, .seo h3 { font-family: "Jost"; letter-spacing: -.035em; }
.masthead h1 em { color: var(--accent); font-style: normal; }
.shell *, .shell *::before, .shell *::after,
#preview *, #preview *::before, #preview *::after,
.toast, .toast::before, .toast::after { border-radius: 0 !important; }
.shell .btn, .shell .chip, .shell .input, .shell .panel, .shell .drop, .shell .row, .shell .summary { border-radius: 0; }

/* Match the converter headline to the case/registers page. */
.masthead h1 {
  max-width: 14ch;
  margin: 12px 0 0;
  color: var(--c-text, var(--ink));
  font: 500 clamp(2.1rem, 4vw, 3.7rem)/.98 "Jost";
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.masthead h1 em { color: inherit; font-style: normal; font-weight: 500; }
@media (max-width: 520px) {
  .masthead h1 { font-size: clamp(2.25rem, 12vw, 3rem); letter-spacing: -.075em; }
}
