@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document url-prefix("http://www.google.com/calendar/"), 
               url-prefix("https://www.google.com/calendar/") {
  /* ----- Day & Week (only for English and Japanese) ----- */
  /* Sun */
  .wk-daynames th[title^="Sun"],
  .wk-daynames th[title*="(æ—¥"] {
    background-color: #F6E4E4 !important;
  }
  .wk-daynames th[title^="Sun"] span,
  .wk-daynames th[title*="(æ—¥"] span {
    color: #FF6A6B !important;
  }

  /* Sat */
  .wk-daynames th[title^="Sat"],
  .wk-daynames th[title*="(åœŸ"] {
    background-color: #D8E2F2 !important;
  }
  .wk-daynames th[title^="Sat"] span,
  .wk-daynames th[title*="(åœŸ"] span {
    color: #6A6AFF !important;
  }

  /* ----- Month & N weeks ----- */
  /* Sun */
  .st-grid td:nth-child(2).st-dtitle:not(.st-dtitle-today) {
    background-color: #F6E4E4 !important;
  }
  .st-grid td:nth-child(2).st-dtitle {
    color: #FF6A6B !important;
  }
  .st-grid td:nth-child(2).st-dtitle-nonmonth {
    color: #FFBDC4 !important;
  }

  /* Sat */
  .st-grid td:first-child.st-dtitle:not(.st-dtitle-today) {
    background-color: #D8E2F2 !important;
  }
  .st-grid td:first-child.st-dtitle {
    color: #6A6AFF !important;
  }
  .st-grid td:first-child.st-dtitle-nonmonth {
    color: #BABDFF !important;
  }

  /* ----- Mini calendar ----- */
  /* Sun */
  [id^="dp_0_row_"] td:nth-child(2),
  .dp-days td:nth-child(2) {
    color: #E22 !important;
  }
  [id^="dp_0_row_"] td:nth-child(2).dp-offmonth {
    color: #E88 !important;
  }

  /* Sat */
  [id^="dp_0_row_"] td:first-child,
  .dp-days td:first-child {
    color: #22F !important;
  }
  [id^="dp_0_row_"] td:first-child.dp-offmonth {
    color: #88F !important;
  }
}