/*
 * Slova grammar colours, shared by every grammar page (same code as the app).
 * A word that teaches a form sits on a chip in the colour of its case, or the
 * verb colour, with a 2px underline; the ending or prefix (<b>) is bold in
 * the deep shade. Colour is never the only cue: bold + underline + labels.
 *
 *   <span class="gw c-acc">книг<b>у</b></span>   case: nom gen dat acc ins prep
 *   <span class="gw v">чита<b>ю</b></span>       verb
 */
.gw {
  --gw-chip: #efeadf;
  --gw-line: #b8ae9c;
  --gw-end: #5c544a;
  padding: 0 0.2em;
  border-radius: 4px;
  background: var(--gw-chip);
  box-shadow: inset 0 -2px 0 var(--gw-line);
  color: #1c1a17;
  white-space: nowrap;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.gw b {
  color: var(--gw-end);
  font-weight: 700;
}

.gw.c-gen { --gw-chip: #e3f0ff; --gw-line: #6fa8e6; --gw-end: #1e5a9e; }
.gw.c-dat { --gw-chip: #e2f1ee; --gw-line: #5fb8aa; --gw-end: #0c6b5e; }
.gw.c-acc { --gw-chip: #fff1de; --gw-line: #ffa946; --gw-end: #9a5a0c; }
.gw.c-ins { --gw-chip: #fce7f3; --gw-line: #e48ab9; --gw-end: #9d174d; }
.gw.c-prep { --gw-chip: #f3f0da; --gw-line: #b5a532; --gw-end: #5e5410; }
.gw.v { --gw-chip: #f0e6ff; --gw-line: #b59cf0; --gw-end: #5b2597; }
