trix-editor {
  border: 1px solid #bbb;
  border-radius: 3px;
  margin: 0;
  padding: 0.4em 0.6em;
  min-height: 5em;
  outline: none; }

trix-toolbar * {
  box-sizing: border-box; }

trix-toolbar .trix-button-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  overflow-x: auto; }

trix-toolbar .trix-button-group {
  display: flex;
  margin-bottom: 10px;
  border: 1px solid #bbb;
  border-top-color: #ccc;
  border-bottom-color: #888;
  border-radius: 3px; }
  trix-toolbar .trix-button-group:not(:first-child) {
    margin-left: 1.5vw; }
    @media (max-width: 768px) {
      trix-toolbar .trix-button-group:not(:first-child) {
        margin-left: 0; } }

trix-toolbar .trix-button-group-spacer {
  flex-grow: 1; }
  @media (max-width: 768px) {
    trix-toolbar .trix-button-group-spacer {
      display: none; } }

trix-toolbar .trix-button {
  position: relative;
  float: left;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
  padding: 0 0.5em;
  margin: 0;
  outline: none;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  background: transparent; }
  trix-toolbar .trix-button:not(:first-child) {
    border-left: 1px solid #ccc; }
  trix-toolbar .trix-button.trix-active {
    background: #cbeefa;
    color: black; }
  trix-toolbar .trix-button:not(:disabled) {
    cursor: pointer; }
  trix-toolbar .trix-button:disabled {
    color: rgba(0, 0, 0, 0.125); }
  @media (max-width: 768px) {
    trix-toolbar .trix-button {
      letter-spacing: -0.01em;
      padding: 0 0.3em; } }

trix-toolbar .trix-button--icon {
  font-size: inherit;
  width: 2.6em;
  height: 1.6em;
  max-width: calc(0.8em + 4vw);
  text-indent: -9999px; }
  @media (max-width: 768px) {
    trix-toolbar .trix-button--icon {
      height: 2em;
      max-width: calc(0.8em + 3.5vw); } }
  trix-toolbar .trix-button--icon::before {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.6;
    content: "";
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain; }
    @media (max-width: 768px) {
      trix-toolbar .trix-button--icon::before {
        right: 6%;
        left: 6%; } }
  trix-toolbar .trix-button--icon.trix-active::before {
    opacity: 1; }
  trix-toolbar .trix-button--icon:disabled::before {
    opacity: 0.125; }

trix-toolbar .trix-button--icon-attach::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.5%2018V7.5c0-2.25%203-2.25%203%200V18c0%204.125-6%204.125-6%200V7.5c0-6.375%209-6.375%209%200V18%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  top: 8%;
  bottom: 4%; }

trix-toolbar .trix-button--icon-bold::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.522%2019.242a.5.5%200%200%201-.5-.5V5.35a.5.5%200%200%201%20.5-.5h5.783c1.347%200%202.46.345%203.24.982.783.64%201.216%201.562%201.216%202.683%200%201.13-.587%202.129-1.476%202.71a.35.35%200%200%200%20.049.613c1.259.56%202.101%201.742%202.101%203.22%200%201.282-.483%202.334-1.363%203.063-.876.726-2.132%201.12-3.66%201.12h-5.89ZM9.27%207.347v3.362h1.97c.766%200%201.347-.17%201.733-.464.38-.291.587-.716.587-1.27%200-.53-.183-.928-.513-1.198-.334-.273-.838-.43-1.505-.43H9.27Zm0%205.606v3.791h2.389c.832%200%201.448-.177%201.853-.497.399-.315.614-.786.614-1.423%200-.62-.22-1.077-.63-1.385-.418-.313-1.053-.486-1.905-.486H9.27Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-italic::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M9%205h6.5v2h-2.23l-2.31%2010H13v2H6v-2h2.461l2.306-10H9V5Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-link::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M18.948%205.258a4.337%204.337%200%200%200-6.108%200L11.217%206.87a.993.993%200%200%200%200%201.41c.392.39%201.027.39%201.418%200l1.623-1.613a2.323%202.323%200%200%201%203.271%200%202.29%202.29%200%200%201%200%203.251l-2.393%202.38a3.021%203.021%200%200%201-4.255%200l-.05-.049a1.007%201.007%200%200%200-1.418%200%20.993.993%200%200%200%200%201.41l.05.049a5.036%205.036%200%200%200%207.091%200l2.394-2.38a4.275%204.275%200%200%200%200-6.072Zm-13.683%2013.6a4.337%204.337%200%200%200%206.108%200l1.262-1.255a.993.993%200%200%200%200-1.41%201.007%201.007%200%200%200-1.418%200L9.954%2017.45a2.323%202.323%200%200%201-3.27%200%202.29%202.29%200%200%201%200-3.251l2.344-2.331a2.579%202.579%200%200%201%203.631%200c.392.39%201.027.39%201.419%200a.993.993%200%200%200%200-1.41%204.593%204.593%200%200%200-6.468%200l-2.345%202.33a4.275%204.275%200%200%200%200%206.072Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-strike::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6%2014.986c.088%202.647%202.246%204.258%205.635%204.258%203.496%200%205.713-1.728%205.713-4.463%200-.275-.02-.536-.062-.781h-3.461c.398.293.573.654.573%201.123%200%201.035-1.074%201.787-2.646%201.787-1.563%200-2.773-.762-2.91-1.924H6ZM6.432%2010h3.763c-.632-.314-.914-.715-.914-1.273%200-1.045.977-1.739%202.432-1.739%201.475%200%202.52.723%202.617%201.914h2.764c-.05-2.548-2.11-4.238-5.39-4.238-3.145%200-5.392%201.719-5.392%204.316%200%20.363.04.703.12%201.02ZM4%2011a1%201%200%201%200%200%202h15a1%201%200%201%200%200-2H4Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-quote::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M4.581%208.471c.44-.5%201.056-.834%201.758-.995C8.074%207.17%209.201%207.822%2010%208.752c1.354%201.578%201.33%203.555.394%205.277-.941%201.731-2.788%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.121-.49.16-.764.294-.286.567-.566.791-.835.222-.266.413-.54.524-.815.113-.28.156-.597.026-.908-.128-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.674-2.7c0-.905.283-1.59.72-2.088Zm9.419%200c.44-.5%201.055-.834%201.758-.995%201.734-.306%202.862.346%203.66%201.276%201.355%201.578%201.33%203.555.395%205.277-.941%201.731-2.789%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.122-.49.16-.764.294-.286.567-.566.791-.835.222-.266.412-.54.523-.815.114-.28.157-.597.026-.908-.127-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.672-2.701c0-.905.283-1.59.72-2.088Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-heading-1::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.5%207.5v-3h-12v3H14v13h3v-13h4.5ZM9%2013.5h3.5v-3h-10v3H6v7h3v-7Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-code::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3.293%2011.293a1%201%200%200%200%200%201.414l4%204a1%201%200%201%200%201.414-1.414L5.414%2012l3.293-3.293a1%201%200%200%200-1.414-1.414l-4%204Zm13.414%205.414%204-4a1%201%200%200%200%200-1.414l-4-4a1%201%200%201%200-1.414%201.414L18.586%2012l-3.293%203.293a1%201%200%200%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-bullet-list::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%207.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203ZM8%206a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-2.5-5a1.5%201.5%200%201%201-3%200%201.5%201.5%200%200%201%203%200ZM5%2019.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-number-list::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%204h2v4H4V5H3V4Zm5%202a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-3.5-7H6v1l-1.5%202H6v1H3v-1l1.667-2H3v-1h2.5ZM3%2017v-1h3v4H3v-1h2v-.5H4v-1h1V17H3Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-undo::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%2014a1%201%200%200%200%201%201h6a1%201%200%201%200%200-2H6.257c2.247-2.764%205.151-3.668%207.579-3.264%202.589.432%204.739%202.356%205.174%205.405a1%201%200%200%200%201.98-.283c-.564-3.95-3.415-6.526-6.825-7.095C11.084%207.25%207.63%208.377%205%2011.39V8a1%201%200%200%200-2%200v6Zm2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-redo::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21%2014a1%201%200%200%201-1%201h-6a1%201%200%201%201%200-2h3.743c-2.247-2.764-5.151-3.668-7.579-3.264-2.589.432-4.739%202.356-5.174%205.405a1%201%200%200%201-1.98-.283c.564-3.95%203.415-6.526%206.826-7.095%203.08-.513%206.534.614%209.164%203.626V8a1%201%200%201%201%202%200v6Zm-2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-decrease-nesting-level::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-3.707-5.707a1%201%200%200%200%200%201.414l2%202a1%201%200%201%200%201.414-1.414L4.414%2012l1.293-1.293a1%201%200%200%200-1.414-1.414l-2%202Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-increase-nesting-level::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-2.293-2.293%202-2a1%201%200%200%200%200-1.414l-2-2a1%201%200%201%200-1.414%201.414L3.586%2012l-1.293%201.293a1%201%200%201%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-dialogs {
  position: relative; }

trix-toolbar .trix-dialog {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 0.75em;
  padding: 15px 10px;
  background: #fff;
  box-shadow: 0 0.3em 1em #ccc;
  border-top: 2px solid #888;
  border-radius: 5px;
  z-index: 5; }

trix-toolbar .trix-input--dialog {
  font-size: inherit;
  font-weight: normal;
  padding: 0.5em 0.8em;
  margin: 0 10px 0 0;
  border-radius: 3px;
  border: 1px solid #bbb;
  background-color: #fff;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none; }
  trix-toolbar .trix-input--dialog.validate:invalid {
    box-shadow: #F00 0px 0px 1.5px 1px; }

trix-toolbar .trix-button--dialog {
  font-size: inherit;
  padding: 0.5em;
  border-bottom: none; }

trix-toolbar .trix-dialog--link {
  max-width: 600px; }

trix-toolbar .trix-dialog__link-fields {
  display: flex;
  align-items: baseline; }
  trix-toolbar .trix-dialog__link-fields .trix-input {
    flex: 1; }
  trix-toolbar .trix-dialog__link-fields .trix-button-group {
    flex: 0 0 content;
    margin: 0; }

trix-editor [data-trix-mutable]:not(.attachment__caption-editor) {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }

trix-editor [data-trix-mutable]::-moz-selection,
trix-editor [data-trix-cursor-target]::-moz-selection, trix-editor [data-trix-mutable] ::-moz-selection {
  background: none; }

trix-editor [data-trix-mutable]::selection,
trix-editor [data-trix-cursor-target]::selection, trix-editor [data-trix-mutable] ::selection {
  background: none; }

trix-editor .attachment__caption-editor:focus[data-trix-mutable]::-moz-selection {
  background: highlight; }

trix-editor .attachment__caption-editor:focus[data-trix-mutable]::selection {
  background: highlight; }

trix-editor [data-trix-mutable].attachment.attachment--file {
  box-shadow: 0 0 0 2px highlight;
  border-color: transparent; }

trix-editor [data-trix-mutable].attachment img {
  box-shadow: 0 0 0 2px highlight; }

trix-editor .attachment {
  position: relative; }
  trix-editor .attachment:hover {
    cursor: default; }

trix-editor .attachment--preview .attachment__caption:hover {
  cursor: text; }

trix-editor .attachment__progress {
  position: absolute;
  z-index: 1;
  height: 20px;
  top: calc(50% - 10px);
  left: 5%;
  width: 90%;
  opacity: 0.9;
  transition: opacity 200ms ease-in; }
  trix-editor .attachment__progress[value="100"] {
    opacity: 0; }

trix-editor .attachment__caption-editor {
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  color: inherit;
  text-align: center;
  vertical-align: top;
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none; }

trix-editor .attachment__toolbar {
  position: absolute;
  z-index: 1;
  top: -0.9em;
  left: 0;
  width: 100%;
  text-align: center; }

trix-editor .trix-button-group {
  display: inline-flex; }

trix-editor .trix-button {
  position: relative;
  float: left;
  color: #666;
  white-space: nowrap;
  font-size: 80%;
  padding: 0 0.8em;
  margin: 0;
  outline: none;
  border: none;
  border-radius: 0;
  background: transparent; }
  trix-editor .trix-button:not(:first-child) {
    border-left: 1px solid #ccc; }
  trix-editor .trix-button.trix-active {
    background: #cbeefa; }
  trix-editor .trix-button:not(:disabled) {
    cursor: pointer; }

trix-editor .trix-button--remove {
  text-indent: -9999px;
  display: inline-block;
  padding: 0;
  outline: none;
  width: 1.8em;
  height: 1.8em;
  line-height: 1.8em;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid highlight;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.25); }
  trix-editor .trix-button--remove::before {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.7;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M19%206.41%2017.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z%22%2F%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 90%; }
  trix-editor .trix-button--remove:hover {
    border-color: #333; }
    trix-editor .trix-button--remove:hover::before {
      opacity: 1; }

trix-editor .attachment__metadata-container {
  position: relative; }

trix-editor .attachment__metadata {
  position: absolute;
  left: 50%;
  top: 2em;
  transform: translate(-50%, 0);
  max-width: 90%;
  padding: 0.1em 0.6em;
  font-size: 0.8em;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 3px; }
  trix-editor .attachment__metadata .attachment__name {
    display: inline-block;
    max-width: 100%;
    vertical-align: bottom;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
  trix-editor .attachment__metadata .attachment__size {
    margin-left: 0.2em;
    white-space: nowrap; }

.trix-content {
  line-height: 1.5; }
  .trix-content * {
    box-sizing: border-box;
    margin: 0;
    padding: 0; }
  .trix-content h1 {
    font-size: 1.2em;
    line-height: 1.2; }
  .trix-content blockquote {
    border: 0 solid #ccc;
    border-left-width: 0.3em;
    margin-left: 0.3em;
    padding-left: 0.6em; }
  .trix-content [dir=rtl] blockquote,
  .trix-content blockquote[dir=rtl] {
    border-width: 0;
    border-right-width: 0.3em;
    margin-right: 0.3em;
    padding-right: 0.6em; }
  .trix-content li {
    margin-left: 1em; }
  .trix-content [dir=rtl] li {
    margin-right: 1em; }
  .trix-content pre {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    font-family: monospace;
    font-size: 0.9em;
    padding: 0.5em;
    white-space: pre;
    background-color: #eee;
    overflow-x: auto; }
  .trix-content img {
    max-width: 100%;
    height: auto; }
  .trix-content .attachment {
    display: inline-block;
    position: relative;
    max-width: 100%; }
    .trix-content .attachment a {
      color: inherit;
      text-decoration: none; }
      .trix-content .attachment a:hover, .trix-content .attachment a:visited:hover {
        color: inherit; }
  .trix-content .attachment__caption {
    text-align: center; }
    .trix-content .attachment__caption .attachment__name + .attachment__size::before {
      content: ' \2022 '; }
  .trix-content .attachment--preview {
    width: 100%;
    text-align: center; }
    .trix-content .attachment--preview .attachment__caption {
      color: #666;
      font-size: 0.9em;
      line-height: 1.2; }
  .trix-content .attachment--file {
    color: #333;
    line-height: 1;
    margin: 0 2px 2px 2px;
    padding: 0.4em 1em;
    border: 1px solid #bbb;
    border-radius: 5px; }
  .trix-content .attachment-gallery {
    display: flex;
    flex-wrap: wrap;
    position: relative; }
    .trix-content .attachment-gallery .attachment {
      flex: 1 0 33%;
      padding: 0 0.5em;
      max-width: 33%; }
    .trix-content .attachment-gallery.attachment-gallery--2 .attachment, .trix-content .attachment-gallery.attachment-gallery--4 .attachment {
      flex-basis: 50%;
      max-width: 50%; }
/*
 * Provides a drop-in pointer for the default Trix stylesheet that will format the toolbar and
 * the trix-editor content (whether displayed or under editing). Feel free to incorporate this
 * inclusion directly in any other asset bundle and remove this file.
 *

*/

/*
 * We need to override trix.css’s image gallery styles to accommodate the
 * <action-text-attachment> element we wrap around attachments. Otherwise,
 * images in galleries will be squished by the max-width: 33%; rule.
*/
.trix-content .attachment-gallery > action-text-attachment,
.trix-content .attachment-gallery > .attachment {
  flex: 1 0 33%;
  padding: 0 0.5em;
  max-width: 33%;
}

.trix-content .attachment-gallery.attachment-gallery--2 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--2 > .attachment, .trix-content .attachment-gallery.attachment-gallery--4 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--4 > .attachment {
  flex-basis: 50%;
  max-width: 50%;
}

.trix-content action-text-attachment .attachment {
  padding: 0 !important;
  max-width: 100% !important;
}

/* Admin panel dark theme styles for Trix editor */
.admin-trix-wrapper trix-toolbar {
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}

.admin-trix-wrapper trix-toolbar .trix-button-group {
  background: transparent;
  border-color: #2d2d2d;
}
.admin-trix-wrapper trix-toolbar .trix-button:hover {
  background: unset !important;
}

.admin-trix-wrapper trix-toolbar .trix-button {
  background: transparent;
  color: #ffffff !important;
  border-color: #2d2d2d;
}

.admin-trix-wrapper trix-toolbar .trix-button:hover {
  background: #2d2d2d;
  color: #ffffff !important;
}

.admin-trix-wrapper trix-toolbar .trix-button.trix-active {
  background: #ffffff !important;
  filter: unset;
  border-radius: 4px;
  color: white !important;
}

.admin-trix-wrapper trix-toolbar .trix-button--icon::before {
  opacity: 1;
}

/* Dark mode for Trix dialogs (link, code, etc) */
.admin-trix-wrapper trix-toolbar .trix-dialog {
  background: #161617;
  border: 1px solid #2d2d2d;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.admin-trix-wrapper trix-toolbar .trix-dialog__link-fields {
  background: transparent;
}

.admin-trix-wrapper trix-toolbar .trix-dialog .trix-input {
  background: #0d1117;
  color: #ffffff;
  border: 1px solid #2d2d2d;
  border-radius: 4px;
  padding: 0.5rem;
}

.admin-trix-wrapper trix-toolbar .trix-dialog .trix-input:focus {
  border-color: #4677c2;
  outline: none;
}

.admin-trix-wrapper trix-toolbar .trix-dialog .trix-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.admin-trix-wrapper trix-toolbar .trix-dialog .trix-button {
  background: #4677c2;
  color: #ffffff;
  border: 1px solid #4677c2;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-weight: 600;
}

.admin-trix-wrapper trix-toolbar .trix-dialog .trix-button:hover {
  background: #5687d2;
  border-color: #5687d2;
}

.admin-trix-wrapper trix-toolbar .trix-dialog .trix-button--dialog {
  background: transparent;
  border: 1px solid #2d2d2d;
  color: #ffffff;
  filter: unset;
}

.admin-trix-wrapper trix-toolbar .trix-dialog .trix-button--dialog:hover {
  background: #2d2d2d;
}

.admin-trix-wrapper .trix-button--icon-attach {
  display: none !important;
}

.admin-trix-wrapper trix-editor {
  color: #ffffff;
  border: 1px solid #2d2d2d;
  border-radius: 0 0 8px 8px;
  min-height: 300px;
  padding: 1rem;
  border-radius: 10px;
}

.admin-trix-wrapper trix-editor:focus {
  border-color: rgba(255, 255, 255, 0.3);
  outline: none;
}

.admin-trix-wrapper trix-editor a {
  color: #58a6ff;
}

.admin-trix-wrapper trix-editor ul,
.admin-trix-wrapper trix-editor ol {
  padding-left: 2em;
}

.admin-trix-wrapper trix-editor blockquote {
  border-left: 4px solid #4677c2;
  padding-left: 1em;
  margin: 1em 0;
  color: rgba(255, 255, 255, 0.7);
}

.admin-trix-wrapper trix-editor pre {
  background: #21262d;
  color: #ffffff;
  border: 1px solid #2d2d2d;
  border-radius: 4px;
  padding: 1rem;
  overflow-x: auto;
}

.admin-trix-wrapper trix-editor code {
  background: #21262d;
  color: #ffffff;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

/* Make h1 (title) text semibold */
.admin-trix-wrapper trix-editor h1 {
  font-weight: 600;
}
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --canvas-default: #0d1117;
    --fg-default: #c9d1d9;
    --base-width: 100vw;
  }
}

@layer components {
  @font-face {
    font-family: 'alliance';
    src: url(/fonts/Alliance-No-1-ExtraBold.woff2);
    font-weight: 800;
  }	
  @font-face {
    font-family: 'alliance';
    src: url(/fonts/Alliance-No-1-Regular.woff2);
    font-weight: 400;
  }	
  @font-face {
    font-family: 'alliance';
    src: url(/fonts/Alliance-No-1-Semibold.woff2);
    font-weight: 600;
  }	

  html, body {
    height: -webkit-fill-available !important;
  }
  body {
    overscroll-behavior-y: none;
  }

  body.no-scroll {
    overflow: hidden;
    position: fixed; 
    width: 100%;
  }
  body.get_membership .account {
    @apply hidden;
  }

  .pagy-nav {
    opacity: 0;
    position: absolute;
  }

  .layout-wrapper {
    @apply h-auto sm:flex sm:flex-row sm:bg-black sm:px-2;
  }
  .desktop-top-bg-cover {
    @apply fixed top-0 h-2 bg-black w-full left-0;
  }

  input:-webkit-autofill,
  input:-webkit-autofill:hover,
  input:-webkit-autofill:focus,
  input:-webkit-autofill:focus-visible,
  input:-webkit-autofill:focus-within,
  input:-webkit-autofill:target,
  input:-webkit-autofill:active {
    @apply !shadow-field dark:caret-fg-default;
     -webkit-text-fill-color: var(--fg-default) !important;
     color: var(--fg-default) !important;
  }

  .form-input {
    @apply rounded-lg dark:text-fg-default dark:bg-canvas-default font-semibold w-full;
  }
  .form-input.form-input--minumal {
    @apply text-3xl !bg-transparent border-0 border-b border-b-white/50 focus:!border-transparent focus:!border-b-white/50 focus:!shadow-none !text-white rounded-none;
  }

  .form-input.form-input--minumal:focus {
    box-shadow: none !important;
  }

  .form-input.bg-muted {
    @apply dark:bg-canvas-default/50;
  }
  
  .form-field {
    @apply mb-4;
  }
  .form-label {
    @apply block pb-2;
  }
  .form-wrapper {
    @apply max-w-sm w-full dark:bg-canvas-subtle border border-muted rounded-lg p-5;
  }

  .btn {
    @apply text-black rounded-lg py-3 px-4 font-semibold bg-white text-sm cursor-pointer hover:brightness-110;
  }
  .btn.btn-rounded {
    @apply rounded-full;
  }
  .h1 {
    @apply text-2xl font-semibold;
  }
  .h3 {
    @apply text-base font-semibold;
  }
  a.link {
    @apply text-accent hover:underline;
  }

  .text-gradient {
    -webkit-text-fill-color: transparent;
    animation: 2s run linear infinite alternate;
    -webkit-background-clip: text;
    display: inline-block;
    filter: hue-rotate(355deg) saturate(1);
  }

  @keyframes run {
    0% {
      background: linear-gradient(270deg, rgb(255, 115, 86) 0%, rgb(255, 89, 226) 25.52%, rgb(82, 221, 246) 50%, rgb(234, 223, 78) 76.04%, rgb(255, 115, 86) 100%) 0 0 / 100%;
      -webkit-background-clip: text;
    }

    100% {
      background: linear-gradient(270deg, rgb(255, 115, 86) 0%, rgb(255, 89, 226) 25.52%, rgb(82, 221, 246) 50%, rgb(234, 223, 78) 76.04%, rgb(255, 115, 86) 100%) 0 0 / 200%;
      -webkit-background-clip: text;
    }
  }

  .glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    transform: translate(-50%, -50%)
  }

  .flash {
    @apply text-black/75 dark:text-white/75 z-500 bg-white dark:bg-canvas-default px-5 sm:px-10 py-4 sm:py-6  shadow-flash 
           dark:shadow-none dark:border dark:border-muted text-sm sm:text-base rounded-lg bottom-16 sm:bottom-8 left-0 right-0 
           fixed w-11/12 sm:w-fit mx-auto sm:mx-0 text-center sm:text-center sm:mx-auto;
  }

  .flash span {
    @apply font-semibold text-black dark:text-white;
  }
  .flash a {
    @apply text-royalblue font-semibold underline;
  }


  .vimeo-wrapper {
    @apply fixed sm:relative z-30 top-12 sm:top-0 overflow-hidden w-full block;
    height: auto;
  }
  .vimeo-wrapper.vimeo-wrapper--static {
    aspect-ratio: 16 / 9;
    @apply sm:rounded-lg;
  }
  .vimeo-wrapper.vimeo-wrapper--static, .vimeo-wrapper.vimeo-wrapper--static > iframe {
    @apply absolute;
  }

  .vimeo-wrapper:before {
    @apply block bg-desktop-main;
    content: "";
    padding-top: 56.25%;
    height: auto;
  }
  .vimeo-wrapper.vimeo-wrapper--rounded:before {
    @apply sm:rounded-lg sm:w-full sm:h-full;
  }

  .vimeo-wrapper > iframe {
    /* @apply h-auto sm:h-full w-full border-0 left-0 bottom-0 top-0 absolute; */
    aspect-ratio: 16 / 9;
    @apply h-auto sm:h-full w-full border-0 left-0 bottom-0 top-0 absolute;
  }

  .replays .vimeo-wrapper, .replays .vimeo-wrapper > iframe {
    @apply sm:p-0 overflow-hidden sm:rounded-lg;
    aspect-ratio: 16 / 9;
  }
  .replays .vimeo-wrapper:before {
    @apply sm:p-4 overflow-hidden sm:rounded-lg;
    aspect-ratio: 16 / 9;

  }

  .vimeo-wrapper.player-is-loading .vimeo-loader {
    @apply flex;
  }
  .vimeo-wrapper .vimeo-loader {
    @apply hidden absolute top-1/2 transform -translate-y-1/2 z-100 justify-center items-center left-0 right-0;
  }

  .video-scaled {
    transition: all 0.3s ease-out;
    transform: scale(1.05);

    @apply sm:scale-105;
  }

  .scrollbar-contents::-webkit-scrollbar {
    display: none;
  }

  .player-size {
    @apply relative w-full top-12 overflow-hidden bg-desktop-main sm:hidden;
    padding-bottom: 56.25%;
  }
  .replays .player-size {
    padding-bottom: calc(56.25% + 3rem);
  }

  .vimeo-wrapper.vimeo-wrapper--static .player-size {
    @apply top-0;
  }

  .sticky-replays-nav {
    @apply top-sticky-nav h-12 sm:static sticky bg-black sm:bg-transparent z-40 py-1 flex gap-x-3 mb-8 overflow-x-scroll scrollbar-contents px-3 sm:px-0 items-center;
  }

  .avatar {
    @apply object-cover;
  }
  .avatar, .avatar svg {
    @apply rounded-full mx-auto object-cover;
  }

  .avatar.avatar-small {
    @apply h-10 w-10 min-h-10 min-h-10 sm:w-12 sm:h-12 sm:min-h-12 sm:min-w-12;
  }
  .avatar.avatar-nav {
    @apply h-7 w-7;
  }

  .avatar.avatar-base {
    @apply h-12 w-12 min-h-12 min-h-12;
  }

  .avatar.avatar-tiny {
    @apply h-4 w-4 min-h-4 min-h-4;
  }

  .wave-wrapper {
    position: absolute;
    height: 1500px;
    width: 100%;
    overflow: hidden;
  }

  .wave-bg {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 1000px;
    background: linear-gradient(222.77deg, rgb(12, 106, 188) 29.03%, rgb(47, 176, 217) 56.14%);
    z-index: -1;
    background: linear-gradient(rgb(36, 36, 82) 0%, rgb(73, 38, 173) 100%);
  }

  @media (max-width: 1440px) {
    .wave-bg, .wave-1, .wave-2, .wave-3, .wave-4, .wave-5, {
      background-size: 1440px;
    }
  }

  .wave-1 {
    position: absolute;
    width: 100%;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: -1;
    top: 120px;
    background-image: url(https://designcode.io/images/waves/livestream-wave1.svg);
    height: 1100px;
    animation: 6s ease 0.1s 1 normal forwards running kdKavz;
  }

  .wave-2 {
    width: 100%;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: -1;
    top: 300px;
    background-image: url(https://designcode.io/images/waves/livestream-wave2.svg);
    height: 1100px;
    animation: 7s ease 0.2s 1 normal forwards running kdKavz;

    opacity: 0.1;
  }
  .wave-3 {
    filter: hue-rotate(150deg);
    opacity: 0.6;
    position: absolute;
    width: 100%;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: -1;
    top: 180px;
    background-image: url(https://designcode.io/images/waves/livestream-wave3.svg);
    height: 1100px;
    animation: 8s ease 0.3s 1 normal forwards running kdKavz;
  }
  .wave-4 {
    position: absolute;
    width: 100%;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: -1;
    top: 141px;
    background-image: url(https://designcode.io/images/waves/livestream-wave4.svg);
    height: 1100px;
    animation: 9s ease 0.4s 1 normal forwards running kdKavz;
  }
  .wave-5 { 
    position: absolute;
    width: 100%;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: -1;
    top: 400px;
    background-image: url(https://designcode.io/images/waves/livestream-wave5.svg);
    height: 800px;
    animation: 10s ease 0.5s 1 normal forwards running kdKavz;
  }

  .modal {
    @apply fixed top-0 h-screen left-0 right-0 mx-auto z-50;
  }
  .modal--plain {
    /* @apply !bg-black; */
  }
  .modal-blurred-bg {
    @apply absolute top-0 z-30 bg-black h-screen w-screen left-0 right-0;
  }
  .modal-blurred-bg-image {
    @apply h-screen w-screen blur-[140px] object-cover z-40 brightness-10;
    backdrop-filter: saturate(180%) blur(20px);
  }
  .modal-inner {
    @apply max-w-lg mx-auto relative w-full rounded-xl overflow-y-scroll sm:h-4/6 sm:pt-0 sm:border sm:border-neutral-800 z-50 top-16 sm:bg-desktop-main;
    height: calc(100vh - 15%);
  }
  @media screen and (min-width: 640px) {
    .modal-inner {
      height: calc(100vh - 10%);
    }
  }

  .create-playlist-button {
    @apply block mx-auto font-medium bg-white py-2.5 text-sm px-4 text-center mx-auto text-black w-fit rounded-full sm:top-4 relative;
  }
  
  .modal-close {
    @apply cursor-pointer absolute top-0 pt-2.5 sm:pt-0 left-4 sm:top-6;
  }
  .modal-body {
    @apply pt-20 px-6;
  }
  .modal.modal--new-playlist {
    @apply bg-black sm:bg-transparent;
  }
  .modal.modal--new-playlist .modal-body {
    @apply absolute top-1/2 -mt-8 transform -translate-y-1/2 left-0 right-0 mx-auto w-fit text-center p-0;
  }

  .disabled {
    @apply opacity-70;
  }

  .overflow-menu {
    @apply bg-white dark:bg-black/70 fixed pt-4 px-3 sm:px-7 pb-20 left-full left-0 transition ease-linear translate-y-130% top-0 h-full w-full z-100 overflow-y-scroll;
  }
  .overflow-menu.overflow-menu--active {
    @apply translate-y-0;
  }
  .overflow-menu-controls {
    @apply fixed z-200 bottom-0 h-16 uppercase text-xs mx-auto left-0 right-0 transition ease-linear translate-y-80 delay-150;
  }
  .overflow-menu-controls.overflow-menu-controls--active {
    @apply translate-y-0;
  }
  .oveflow-menu-controls-bottom-gradient {
    @apply hidden dark:block fixed bottom-0 h-40 bg-gradient-to-t from-black left-0 right-0 w-full z-100;
  }
  .oveflow-menu-controls-inner {
    @apply z-200 dark:bg-black/80 gap-x-4 font-semibold flex items-center text-center justify-between rounded-full w-10/12 sm:w-fit py-2 px-2 mx-auto;
  }
  .control-btn {
    @apply z-200 rounded-3xl py-2 px-6 cursor-pointer w-full;
  }
  .control-btn-cancel {
    @apply text-black bg-white;
  }
  .control-btn-apply {
    @apply text-white bg-royalblue;
  }

  .blur-container {
    @apply fixed hidden top-0 left-0 w-full h-full z-30;
  }

  body.locked {
    @apply bottom-0 left-0 fixed right-0 top-0 ;
  }

  .tags {
    @apply pt-8 flex gap-3 text-center flex-wrap;
  }
  .tag {
    @apply border border-neutral-600 whitespace-nowrap py-2 h-fit rounded-full text-xs font-medium text-neutral-800 dark:text-white px-4;
  }
  .tag.tag--active {
    @apply text-black bg-white;
  }
  .video-tag-item {
    @apply text-white w-fit text-xs border border-white text-center rounded-3xl px-2 py-0.5 mb-2;
  }

  .logo {
    @apply text-center;
    letter-spacing: 6px;
  }
  body.no-scroll:not(.modal-is-active) .nav, body.replays.no-scroll .category-nav, body.replays.no-scroll .vimeo-wrapper, body.replays.no-scroll .topbar {
    @apply brightness-50 pointer-events-none;
  }

  body.replays .topbar {
    @apply !z-[301];
  }


  body.modal-is-active {
    @apply !overflow-hidden !fixed !w-full;
  }

  .nav {
    @apply h-14 text-black dark:text-white left-0 w-full fixed bottom-0 z-400 sm:z-100 bg-nav-bg dark:bg-canvas-default dark:border-b dark:border-neutral-700 border-b-0 shadow-nav dark:shadow-none;
    backdrop-filter: saturate(180%) blur(20px);
    /* py-2.5 sm:py-4 px-3 sm:px-6 */
  }
  .nav.nav--transparent { 
    @apply !bg-transparent !shadow-none !border-0 !backdrop-opacity-0;
  }
  .nav-content {
    @apply flex items-center justify-between w-full absolute top-0 w-full h-full px-6 md:px-8;
  }

  .desktop-nav {
    @apply h-full text-black dark:text-white left-0 w-24 top-0 z-100 dark:bg-desktop-nav;
    backdrop-filter: saturate(180%) blur(20px);
  }
  .desktop-nav-content {
    @apply w-24 fixed top-0 bg-desktop-nav rounded-lg;
    height: calc(100vh - 1rem);
    top: 0.5rem;
  }

  .desktop-nav-link {
    @apply flex flex-col font-bold items-center text-grey-light text-center text-xs gap-1;
  }

  .desktop-nav-link.desktop-nav-link--active, 
  .desktop-nav-link.desktop-nav-link--active svg,
  .desktop-nav-link.desktop-nav-link--active path {
    @apply !text-white;
  }
  .mobile-nav-link {
    @apply text-xs text-black/75 flex flex-col justify-center items-center gap-x-2 gap-y-0.5 dark:text-white/75 font-medium;
  }
  .mobile-nav-link svg {
    @apply !h-6 !w-auto;
  }

  .mobile-nav-link.triangle svg {
    @apply !h-7 !w-auto pb-[1.5px];
  }

  .mobile-nav-link svg.mobilebar-like {
    @apply !h-7 !w-auto;
  }

  .mobile-nav-link.mobile-nav-link--active, 
  .mobile-nav-link.mobile-nav-link--active svg,
  .mobile-nav-link.mobile-nav-link--active path {
    @apply !text-white;
  }

  .category-nav {
    @apply z-50 top-12 sm:top-2 fixed flex gap-x-3 mb-8 w-full items-center sm:rounded-lg sm:w-webkit-fill-available sm:mr-2 hide-scrollbar transition-all;
    /* backdrop-filter: saturate(180%) blur(20px); */
  }

  .category-nav-content {
    @apply gap-x-1 w-screen flex overflow-x-scroll scrollbar-contents relative py-2 pl-3 sm:pl-6 sm:px-6 absolute top-0 left-0 w-full h-full sm:rounded-lg hide-scrollbar;
  }

  .topbar-nav {
    @apply border-b border-b-[#ffffff08];
  }

  .category-nav-content, .topbar-nav, .nav-content {
    backdrop-filter: blur(8px);
    background: rgb(0 0 0 / 90%);
  }

  body.replays .category-nav {
    @apply sm:!top-2;
    top: calc((var(--base-width) * 9 / 16) + 47px);
  }

  .category-nav.category-nav--player.category-nav--sidenav {
    @apply sm:static;
  }

  .comment-controls { 
    @apply hidden absolute top-0 right-0 bg-white flex-col gap-y-2 shadow-2xl py-2.5 px-4 rounded-lg z-400 text-center top-0 border-neutral-300 w-44 text-black;
  }
  .comment-controls.comment-controls--active {
    @apply flex;
  }

  .comments-wrapper {
    @apply hidden sm:block fixed sm:static left-0 bg-black sm:bg-transparent overflow-y-scroll sm:overflow-y-auto w-full flex items-center justify-center z-300;
    height: calc(100% - (var(--base-width) * 9 / 16) + 95px);
    top: calc((var(--base-width) * 9 / 16) + 95px);
  }

  .comments-inner {
    @apply fixed sm:static left-0 z-50 sm:bg-transparent overflow-y-scroll sm:overflow-y-auto w-full sm:pb-16 pb-56;
    height: calc(100% - (var(--base-width) * 9 / 16) + 95px);
    top: calc((var(--base-width) * 9 / 16) + 95px);
  }

  @media screen and (min-width: 640px) {
    .comments-inner {
      height: auto;
    }
  }

  .comments-wrapper-loader {
    @apply hidden absolute justify-center items-center top-1/2 left-0 right-0;
  }
  .comments-wrapper-loader.comments-wrapper-loader--active {
    @apply flex;
  }


  .comments-wrapper.comments-wrapper--active {
    @apply block;
  }

  .menu {
    @apply hidden fixed z-400 left-0 top-0 right-0 mx-auto w-full px-3 w-full h-full;
  }
  .menu.menu--open {
    @apply flex flex-col-reverse items-center p-4 bg-black/50;
  }

  .menu-wrapper {
    @apply py-1 px-6 text-sm text-black dark:text-white whitespace-nowrap bg-white dark:bg-night shadow-flash rounded-lg z-500 flex flex-col w-full mb-12;
  }

  .desktop-menu {
    @apply hidden absolute z-400 top-6 -left-6 w-auto px-3 h-auto;
  }
  .desktop-menu.desktop-menu-right {
    @apply left-auto -right-6;
  }

  .desktop-menu.desktop-menu--open {
    @apply sm:flex flex-row items-center p-4;
  }
  .desktop-menu-wrapper {
    @apply text-sm text-white dark:text-white whitespace-nowrap bg-white dark:bg-night rounded-xl z-500 flex flex-col overflow-hidden;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.1);
    backdrop-filter: blur(8px);
  }
  .desktop-menu-wrapper.desktop-menu-wrapper--night {
    @apply dark:bg-night;
  }
  .desktop-menu-link {
    @apply flex items-center gap-x-4 dark:text-white font-medium hover:bg-[#3e3e3e] p-4 text-sm cursor-pointer;
  }
  .mobile-menu-link {
    @apply text-white-hsla/90 flex items-center gap-x-3 dark:text-white font-medium py-4;
  }


  .desktop-menu-wrapper--night .desktop-menu-link {
    @apply text-white;
  }


  .replay-item:hover .replay-settings, 
  .replay-item .replay-settings.replay-settings--active,
  .controllable:hover .controllable-settings, 
  .controllable .controllable-settings.controllable-settings--active {
    @apply sm:block;
  }

  .muted-bg {
    @apply hidden absolute top-0 left-0 w-full h-full z-300;
  }
  .muted-bg.muted-bg--active {
    @apply block;
  }
  .main--muted {
    @apply !z-300;
  }

  .replays.no-scroll .nav, 
  .no-scroll .nav-menu {
    @apply z-500;
  }

  .main--blurred {
    @apply blur-sm;
  }

  .hide-scrollbar::-webkit-scrollbar {
    display: none;
     -webkit-appearance: none;
  }

  .hide-scrollbar {
    scrollbar-width: none;
  }
  .nav-menu {
    @apply hidden fixed z-400 left-0 top-0 right-0 mx-auto w-full px-3 w-full h-full flex items-center justify-center;
  }
  .nav-menu.menu--open {
    @apply flex flex-col items-center p-4 bg-black/50;
  }

  .nav-menu-wrapper {
    @apply rounded-lg w-fit z-500 mx-auto mt-16;
    padding: 1px;
    box-shadow: 1px 1px 131px #1c8ddce8;
  }
  .nav-menu-content {
    @apply py-4 px-3 text-sm text-black dark:text-white whitespace-nowrap shadow-flash rounded-lg grid grid-cols-2 items-center justify-between text-xs bg-desktop-main w-fit mx-auto gap-x-12 gap-y-8 py-6 px-8 relative overflow-hidden;
    background: black; /* Background color */
  }

  .shine {
    background-color: #2956a7;
    border-radius: 300px;
    filter: blur(40px);
    height: 120px;
    left: -8.5rem;
    mix-blend-mode: soft-light;
    opacity: .85;
    position: absolute;
    top: 0;
    transform: translate(194.69px,127.535px);
    width: 200px;
    will-change: transform;
    top: -5rem;
    z-index: 99999999;
    pointer-events: none;
  }

  .shine-playlist {
    top: -230px;
    height: 370px;
    width: 100%;
    filter: blur(105px);
    left: 0;
    right: 0;
    background: linear-gradient(90deg,#54acc8,#444cd8);
    border-radius: 300px;
    opacity: .85;
    z-index: 20;
    pointer-events: none;
    position: absolute;
    will-change: transform;
    background: linear-gradient(90deg, #6b54c8, #d86a44);
    background: linear-gradient(90deg,#5489c8,#44d2d8);

  }
  .shine-favourites {
    top: -230px;
    height: 370px;
    width: 100%;
    filter: blur(105px);
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #6b54c8, #d86a44);
    border-radius: 300px;
    opacity: .85;
    z-index: 20;
    pointer-events: none;
    position: absolute;
    will-change: transform;
  }
  .shine-replays {
    @apply -top-[230px] h-[370px] w-full blur-[105px] left-0 right-0 rounded-[300px] z-20 pointer-events-none absolute opacity-[.85] sm:top-[-340px];
    background: linear-gradient(90deg, #6b54c8, #d86a44);
    backdrop-filter: saturate(180%) blur(105px);
    filter: blur(105px);
    /* will-change: transform; */
  }

  .shine-full-wrapper {
    @apply absolute top-0 left-0 w-full h-full bg-black;
  }

  .shine-full {
    background-color: #205968a1;
    border-radius: 300px;
    filter: blur(150px);
    height: 100%;
    left: 0;
    mix-blend-mode: lighten;
    opacity: .85;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    will-change: transform;
    z-index: 99999999;
  }

  .menu-home-icon {
    @apply w-6 h-6;
  }

  .menu-library-icon {
    @apply w-6 h-6;
  }
  .menu-favourites-icon {
    @apply w-6 h-6;
  }

  .sign-in-top-bg {
    @apply absolute bottom-0 left-0 right-0 mx-auto pointer-events-none;
    filter: blur(41px) hue-rotate(325deg);
    object-fit: cover;
    opacity: 1;
    width: 41rem;
    height: auto;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: fit-content;
    left: -35%;
    height: 55rem;

    width: 140%;
    height: 38rem;
    object-fit: cover;
    border-radius: 10%;
    left: -19%;
    right: 0;
    /* bottom: -27rem; */

    height: 100%;
    bottom: -35rem;
    /* transform: rotate(180deg); */
    filter: blur(41px) hue-rotate(135deg);
    filter: blur(41px) hue-rotate(325deg);
    animation: hueBottomRotate 5s infinite alternate;
  }

  @media screen and (min-width: 640px) {
    body .sign-in-top-bg {
      height: auto;
      width: 100%;
      top: 80%;
      left: 0;
      right: 0;
      /* filter: blur(241px) hue-rotate(325deg); */
      /* animation: hueBottomRotateDesktop 5s infinite alternate; */
      animation: unset;
    }
  }

  @media screen and (min-width: 640px) {
    body .sign-in-bottom-bg {
      height: auto;
      width: 100%;
      top: unset;
      bottom: 80%;
      left: 0;
      right: 0;
      transform: rotate(180deg);
      /* filter: blur(241px) hue-rotate(145deg); */
      /* animation: hueTopRotate 5s infinite alternate; */
      animation: unset;
    }
  }

  .sign-in-bottom-bg {
    @apply absolute bottom-0 left-0 right-0 mx-auto pointer-events-none;
    filter: blur(41px) hue-rotate(325deg);
    object-fit: cover;
    opacity: 1;
    width: 41rem;
    height: auto;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: fit-content;
    left: -35%;
    height: 55rem;

    width: 140%;
    height: 38rem;
    object-fit: cover;
    border-radius: 10%;
    left: -19%;
    right: 0;
    bottom: -27rem;

    transform: rotate(180deg);
    filter: blur(41px) hue-rotate(135deg);
    animation: hueTopRotate 5s infinite alternate;

    /* animation: unset; */
    height: 100%;
    top: -54rem;

  }

  @keyframes hueTopRotateDesktop {
    0% {
      filter: blur(241px) hue-rotate(280deg);
    }
    100% {
      filter: blur(241px) hue-rotate(325deg);
    }
  }
  @keyframes hueBottomRotateDesktop {
    0% {
      filter: blur(241px) hue-rotate(135deg);
    }
    100% {
      filter: blur(241px) hue-rotate(160deg);
    }
  }


  @keyframes hueTopRotate {
    0% {
      filter: blur(21px) hue-rotate(280deg);
    }
    100% {
      filter: blur(21px) hue-rotate(525deg);
    }
  }
  @keyframes hueBottomRotate {
    0% {
      filter: blur(41px) hue-rotate(145deg);
    }
    100% {
      filter: blur(41px) hue-rotate(160deg);
    }
  }

  @keyframes hueRotateFull {
    0% {
      filter: hue-rotate(0deg);
    }
    100% {
      filter: hue-rotate(360deg);
    }
  }

  .button-white {
    @apply bg-white py-5 px-8 font-bold text-black text-lg rounded-lg w-full sm:w-fit flex items-center gap-x-2 justify-center mx-auto;
  }
  .button-white.button-sign-in {
    @apply sm:w-72;
  }

  .button-large {
    @apply text-sm border border-white/50 rounded-full font-semibold text-white px-5 py-1.5 cursor-pointer;
  }
  .button-small {
    @apply text-xs border border-white/50 rounded-full font-semibold text-white px-5 py-1.5 cursor-pointer;
  }
  .button-xs {
    @apply text-xs border border-white/50 rounded-full font-semibold text-white px-2 py-0.5;
  }
  .button-small.button--accent {
    @apply bg-royalblue border-royalblue;
  }

  .button--loading .button-text {
    @apply hidden;
  }

  .arrow-link-button {
    @apply flex items-center justify-center text-lg text-white font-bold py-5 gap-x-2 mt-2;
  }
  .arrow-link {
    @apply inline-flex items-center justify-center text-royalblue font-semibold gap-x-1.5 relative leading-none;
  }
  .arrow-link-icon {
    @apply !text-royalblue absolute top-1/2 transform -translate-y-1/2 -right-6;
  }

  .replay-title {
    @apply text-black dark:text-white text-base md:text-lg font-semibold md:font-bold !leading-[1.1] md:!leading-[1.2];
  }
  .replay-img {
    @apply bg-desktop-main object-cover min-w-[8rem] max-w-[8rem] sm:max-w-full h-auto sm:w-16 sm:h-full sm:min-w-[96px] sm:w-24 mb-2 rounded-lg;

  }
  .replay-img.replay-grid-img {
    @apply !w-full;
    aspect-ratio: 16 / 9;
  }
  .replay-img.replay-grid-img.replay-grid-img--black {
    @apply bg-black;
  }
  .replay-img-list {
    @apply bg-desktop-main object-cover w-auto mb-2 rounded-lg max-h-[3.5rem] min-h-[3.5rem] h-full;
    aspect-ratio: 16 / 9;
  }

  .playlist-img {
    @apply bg-desktop-main h-auto w-full object-cover mb-2 rounded-lg;
  }
  .playlist-columns {
    @apply lg:flex sm:flex-row sm:mt-2 sm:gap-x-8 sm:mt-16;
  }

  .playlist-left {
    @apply sm:relative sm:flex-1 lg:min-w-[470px] xl:min-w-[664px] md:w-full 2xl:max-w-[664px] 2xl:max-w-full;
    /* px-3 mt-16 sm:flex-1 */
  }
  .playlist-right {
    @apply mt-16 sm:mt-0 sm:flex-1 lg:min-w-[390px] md:w-full lg:max-w-[420px] sm:bg-desktop-main sm:rounded-lg sm:overflow-hidden sm:pb-3 relative;
  }
  .replay-img.replay-img--empty {
    @apply bg-empty-playlist-gradient;
  }

  .playlist-img {
    @apply relative w-full rounded-lg z-30;
  }
  .playlist-img.playlist-img--empty {
    @apply h-[205px];
  }

  .playlist-blur {
    @apply absolute top-[-100px] sm:top-8 sm:h-[17rem] left-0 w-full sm:w-full max-w-fit sm:max-w-full rounded-lg z-20 blur-[141px] h-[320px] object-cover;
    backdrop-filter: saturate(180%) blur(141px);
    filter: blur(141px);
  }
  .playlist-replays-blur {
    @apply absolute top-[-210px] left-0 w-full rounded-lg z-20 blur-[141px] h-[460px] object-cover;
    backdrop-filter: saturate(180%) blur(141px);
  }

  .playlist-title {
    @apply dark:text-white text-xl font-semibold leading-none;
  }
  input.inline-input {
    @apply bg-transparent border-0 p-0 shadow-none pointer-events-none;
  }
  input.inline-input.inline-input--active {
    @apply pointer-events-auto;
  }

  input.inline-input:focus {
    box-shadow: none !important;
  }

  .planet-svg-one {
    filter: blur(4px);
    height: auto;
    left: 71.3%;
    position: absolute;
    top: 20.5%;
    transform: translate(-82%,-50%) rotate(-4deg);
    width: 97%;
  }
  .planet-svg-two {
    top: 50%;
    left: 50%;
    width: 152%;
    transform: translate(-50%,-50%);
    position: absolute;
    height: auto;
  }
  .account {
    @apply fixed right-4 top-4 flex items-center justify-end gap-x-8 z-100 hidden sm:block;
  }

  .playlists .account, .favourites .account {
    @apply absolute;
  }
  .tag-shadow {
    @apply absolute left-0 w-1/2 h-1/2 blur-[21px] transform -translate-x-[30%] -translate-y-[20%];
    background: linear-gradient(130deg, #000000c9, transparent);
    filter: blur(61px);
  }

  .meta {
    @apply text-black/50 font-medium dark:text-neutral-400 md:mt-1 text-xs sm:text-sm 2xl:text-base leading-relaxed flex items-center gap-x-0.5 flex-wrap;
  }
  .replays .meta {
    @apply md:mt-0 xl:mt-1 sm:text-xs xl:text-sm;
  }
  .meta.meta--small {
    @apply text-black/50 font-medium dark:text-neutral-400 text-xs leading-relaxed flex items-center gap-x-0.5;
  }

  .playlist-empty-img {
    @apply replay-img !w-full rounded-lg mt-5 relative z-30 !h-[200px] overflow-hidden !max-w-full;
  }

  .om-playlist {
    animation: hueRotateFull 50s infinite alternate;
  }
  .playlists .om-playlist {
    @apply sm:w-full;
  }
  .page-title {
    @apply dark:text-white text-xl font-semibold sm:text-[2rem] sm:leading-[1.2];
  }
  .count {
    @apply text-xs font-medium text-grey-light sm:text-sm;
  }
  .replays .sidenav-replay-name {
    @apply text-base 2xl:text-lg font-semibold leading-[1.1] sm:leading-normal;
  }

  .sidenav-replay-name {
    @apply text-black dark:text-white text-sm sm:text-base 2xl:text-lg font-bold leading-none;
  }
  .sidenav-replay-img {
    @apply dark:bg-neutral-800 bg-neutral-200 sm:rounded-lg h-auto md:h-auto sm:w-full xl:h-20 2xl:h-28 xl:w-auto object-cover;
    aspect-ratio: 16 / 9;
  }
  .playlist-replay {
    @apply px-3 sm:px-6 flex gap-x-4 sm:mb-1 py-2;
  }
  .playlist-replay.playlist-replay--is-active {
    background: linear-gradient(45deg,#8d355563,#a7582973);
  }
  .playlist-replay--is-active .meta {
    @apply !text-white/75;
  }

  html.turbo-native .category-nav {
    @apply top-0;
  }

  html.turbo-native .content_wrapper {
    @apply pt-12;
  }

  .content_wrapper {
    @apply pt-24 sm:pt-16;
  }

  .replays_wrapper {
    @apply pt-16 sm:pt-4 relative;
  }

  html.turbo-native body.replays .vimeo-wrapper {
    @apply top-0;
  }

  html.turbo-native body.replays .category-nav {
    top: calc(var(--base-width) * 9 / 16);
  }

  html.turbo-native body.replays .replays_wrapper {
    @apply pt-4 sm:pt-4 relative;
  }

  html.turbo-native body.playlists .vimeo-wrapper,
  html.turbo-native body.playlists .replays_wrapper {
    @apply top-0;
  }

  html.turbo-native body.playlists ..playlist-right {
    @apply top-4;
  }
}

.form-group {
  @apply mb-6 flex gap-x-4 items-center;
}

.ui-label {
  @apply text-xs text-white/50 font-medium block mb-0 w-[100px] leading-none;
}

.ui-input {
  @apply bg-transparent border-0 shadow-none focus:border-none focus:shadow-none outline-0 w-full font-medium text-sm font-semibold;
}
.ui-input:focus {
  box-shadow: none !important;
}

input.ui-input::placeholder {
  @apply text-white/50;
}

@import 'actiontext.css';


.trix-button {
  @apply invert !border-0;
}
trix-toolbar .trix-button.trix-active {
  @apply !bg-white;
}
trix-toolbar .trix-button-group {
  @apply !border-0;
}

trix-editor {
  @apply !border-white/30;
}

::-webkit-calendar-picker-indicator {
  filter: invert(0.5);
}
.admin-nav {
  @apply fixed top-0 left-0 bg-[#161617cc] w-full h-16 justify-between items-center w-full flex px-6 z-50;
  backdrop-filter: saturate(180%) blur(20px)
}
 
.trix-content a {
  @apply text-royalblue underline;
}

.dark-planet {
  @apply top-[11%] -left-[32%] sm:top-[25%] sm:-left-[20%] -right-[20%];
  position: absolute;
  display: flex;
  justify-content: center;
  min-width: 44rem;
  z-index: 1;
  pointer-events: none;
  width: 140%;
}

.dark-planet-inner {
  @apply relative overflow-hidden;
}

.dark-planet-glare {
  filter: blur(5px);
}

.dark-planet-light {
  @apply absolute left-0 w-full top-[36%] sm:top-0;
  filter: blur(10px);
  animation: hueTopRotate 10s infinite alternate;
}

.multiple-teachers-icon {
  @apply absolute w-[1.9rem] h-[1.9rem] rounded-full overflow-hidden object-cover border-2 border-[#202020];
}
.multiple-teachers-icon-1 {
  @apply absolute left-2;
}
.multiple-teachers-icon-2 {
  @apply absolute left-[3.6rem] z-20;
}
.multiple-teachers-icon-3 {
  @apply relative z-10;
}
.mobile-multiple-teachers-icon, .mobile-nav-kaliji-icon {
  @apply w-[26px] h-[26px] rounded-full overflow-hidden object-cover mt-[1px] mb-[1px];
}
.mobile-multiple-teachers-icon-1 {
  @apply absolute -left-[0.6rem] top-0;
}
.mobile-multiple-teachers-icon-2 {
  @apply absolute left-[2rem] z-20 top-0;
}
.mobile-multiple-teachers-icon-3 {
  @apply relative z-10;
}

body.sessions {
  @apply !fixed !overflow-hidden;
}

body.home .settings-dots,
body.teachers .settings-dots {
  @apply !hidden;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
