/* Kamibase embed overrides for the vendored Origami Simulator.
   Hides the host site's chrome; Kamibase renders the fold controls itself and
   drives them through the same-origin `globals` object. */
#globalNav,       /* File / Examples / View / Pattern / Simulation / About */
#helper,          /* "Load more origami patterns here!" tooltip */
#basicUI,         /* "Show Advanced Options" */
#controlsBottom { /* fold slider, view mode, control mode, reset */
  display: none !important;
}

/* The canvas is the whole embed now, so let it have the whole frame. */
html, body {
  background: #ffffff !important;
  overflow: hidden !important;
}

/*
 * Silence the font 404s.
 *
 * flat-ui.min.css declares @font-face for Lato and its icon font, but the repo
 * ships neither the fonts/lato directory nor the .woff icons. Upstream's own
 * site 404s on them too, and its visible text falls back to a system font. The
 * only elements that referenced them here are the chrome we hide above, so the
 * download is pure cost: ~8 failed requests per load, and a console full of
 * 404s that makes a real failure harder to spot.
 *
 * Redeclaring the families with a local() source satisfies the lookup without
 * a network request. The names must match flat-ui's exactly to override them.
 */
@font-face { font-family: "Lato"; src: local("Segoe UI"), local("Helvetica Neue"), local("Arial"); font-weight: 400; }
@font-face { font-family: "Lato"; src: local("Segoe UI Bold"), local("Helvetica Neue Bold"), local("Arial Bold"); font-weight: 700; }
@font-face { font-family: "Lato"; src: local("Segoe UI Black"), local("Arial Black"); font-weight: 900; }
@font-face { font-family: "Flat-UI-Icons"; src: url("fonts/glyphicons/flat-ui-icons-regular.ttf") format("truetype"); }
