/* The app's pages on the website (Practice and its modes): kt-app.css gives them the app's look; this fits them
   into the site's page. */
main.kt-wide { max-width: 1720px; padding-top: 6px; }
.kt.kt-page { min-height: 0; background: transparent; }
/* A match (Play): the app's chart fills the chart box; the match has its own full screen, so the chart's is hidden.
   The legend moves below the answer buttons that sit on the chart (--lgt, set by the match). */
.kt.cb-kt { position: absolute; inset: 0; min-height: 0; background: transparent; }
.mgame .kt .pc-top .pc-ib[title^="Full screen"] { display: none; }
.mgame .kt .pc-legend { top: var(--lgt, 6px); }

/* The site's own rules for plain elements and for class names the app also uses, taken back inside .kt, so only
   the app's rules apply there (the app's own rules are more specific and still win). */
.kt h1, .kt h2, .kt h3, .kt h4 { font-size: revert; margin: revert; }
.kt p { margin: revert; }
.kt button { font: revert; color: revert; border: revert; background: revert; cursor: revert; }
.kt input { font: revert; color: revert; background: revert; border: revert; border-radius: revert; padding: revert; min-width: revert; }
.kt .wallet { background: none; border: 0; border-radius: 0; padding: 0; }
.kt .seg { padding: 0; gap: 0; flex-wrap: nowrap; }
.kt .sp { max-width: none; margin: 0; display: block; gap: normal; }
.kt .row { align-items: normal; }
