/*
 * Default Trix editor styles. See Action Text overwrites below.
*/

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;
  overflow-wrap: break-word;
  word-break: break-word; }
  .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%; }

/*
 * 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;
}
.match-tabs {
  max-width: 980px;
  margin: 0 auto;
}

.match-tabs__bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 12px;
  margin: 10px 0 14px;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  background:
    radial-gradient(620px 120px at 20% 0%, rgba(22, 163, 74, 0.14), rgba(0, 0, 0, 0) 60%),
    radial-gradient(520px 120px at 80% 0%, rgba(34, 197, 94, 0.10), rgba(0, 0, 0, 0) 55%),
    rgba(255, 255, 255, 0.78);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  backdrop-filter: blur(10px);
}

.match-tabs__bar::-webkit-scrollbar {
  display: none;
}

.match-tabs__tab {
  flex: 0 0 auto;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  user-select: none;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease;
  backdrop-filter: blur(10px);
  border-radius: 99px;
}

.match-tabs__tab:focus-visible {
  outline: 2px solid rgba(22, 163, 74, 0.55);
  outline-offset: 2px;
}

.match-tabs__tab.is-active {
  color: var(--text-color);
  border-color: rgba(22, 163, 74, 0.45);
  background:
    radial-gradient(160px 52px at 50% 0%, rgba(22, 163, 74, 0.18), rgba(0,  0, 0, 0) 70%),
    rgba(255, 255, 255, 0.96);
  transform: translateY(-1px);
}

.match-tabs__panel {
  padding: 2px 0 14px;
}

.match-tabs__empty {
  margin: 18px 0;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(22, 163, 74, 0.25);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
  backdrop-filter: blur(10px);
}

.match-tabs__hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 10px;
}

.match-preview {
  max-width: 980px;
  margin: 0 auto;
}

.match-preview__section {
  margin: 10px 0;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background:
    radial-gradient(420px 120px at 20% 0%, rgba(22, 163, 74, 0.1), rgba(0, 0, 0, 0) 60%),
    rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.match-preview__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-color);
}

.match-preview__summary {
  margin: 0;
  line-height: 1.6;
  color: var(--text-color);
  font-size: 14px;
}

.match-preview__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.match-preview__col {
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.8);
}

.match-preview__team {
  margin-bottom: 8px;
  font-weight: 800;
  color: var(--text-color);
}

.match-preview__form-row,
.match-preview__h2h-row,
.match-preview__player-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(11, 31, 20, 0.08);
}

.match-preview__form-row:last-child,
.match-preview__h2h-row:last-child,
.match-preview__player-row:last-child {
  border-bottom: none;
}

.match-preview__form-main,
.match-preview__h2h-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-color);
}

.match-preview__score {
  font-weight: 800;
  color: var(--text-color);
}

.match-preview__team-img {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.92);
  padding: 1px;
}

.match-preview__team-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}

.match-preview__date {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.match-preview__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  border-radius: 99px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 900;
}

.match-preview__badge--w {
  color: #0d5524;
  background: rgba(22, 163, 74, 0.18);
  border-color: rgba(22, 163, 74, 0.4);
}

.match-preview__badge--d {
  color: #7a5a00;
  background: rgba(234, 179, 8, 0.2);
  border-color: rgba(234, 179, 8, 0.45);
}

.match-preview__badge--l {
  color: #7f1d1d;
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.45);
}

.match-preview__player-link {
  color: var(--text-brand-color);
  font-weight: 700;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.match-preview__player-img {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.92);
  padding: 1px;
}

.match-preview__player-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-preview__player-stats {
  color: var(--text-muted);
  font-size: 12px;
}

.match-preview__empty {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 700px) {
  .match-preview__split {
    grid-template-columns: 1fr;
  }

  .match-preview__date {
    white-space: normal;
    text-align: right;
  }
}
.tab_stats{
  text-align: center;
}
.tab_stats__tab{
  font-size: 13px;
  padding: 8px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--text-muted);
  border: none;
  border-bottom: 2px solid var(--border-color);
  background: transparent;
  cursor: pointer;
  user-select: none;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease;
  backdrop-filter: blur(10px);
}

.tab_stats__tab.is-active {
  color: white;;
  border-radius: 3px;
  border-color: rgba(22, 163, 74, 0.45);
  background: black;
  transform: translateY(-1px);
}


.match-keyStats {
  margin: 16px 0 4px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background:
    radial-gradient(420px 140px at 20% 0%, rgba(22, 163, 74, 0.10), rgba(0, 0, 0, 0) 60%),
    rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.match-keyStats__title {
  font-weight: 900;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
  color: var(--text-color);
}

.match-keyStats__row {
  margin: 10px 0;
}

.match-keyStats__label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-align: center;
}

.match-keyStats__values {
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  gap: 10px;
  align-items: center;
}

.match-keyStats__value {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-color);
}

.match-keyStats__value--home {
  text-align: left;
}

.match-keyStats__value--away {
  text-align: right;
}

.match-keyStats__bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(11, 31, 20, 0.06);
  border: 1px solid rgba(11, 31, 20, 0.08);
}

.match-keyStats__fill {
  position: absolute;
  top: 0;
  bottom: 0;
}

.match-keyStats__fill--home {
  left: 0;
  background: var(--match-key-home-fill, #16a34a);
}

.match-keyStats__fill--away {
  right: 0;
  background: var(--match-key-away-fill, rgba(13, 148, 136, 0.75));
}

.lineup-teaser {
  margin: 10px 0 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.9);
}

.lineup-teaser__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}

.lineup-teaser__team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(7, 26, 43, 0.06);
}

.lineup-teaser__team--away {
  text-align: right;
}

.lineup-teaser__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lineup-teaser__formation {
  color: var(--text-muted);
  font-weight: 800;
}

.lineup-teaser__players {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lineup-teaser__col {
  display: grid;
  gap: 4px;
}

.lineup-teaser__col--away .lineup-teaser__player {
  text-align: right;
}

.lineup-teaser__player {
  font-size: 12px;
  line-height: 1.3;
  color: var(--text-color);
}

.lineup-teaser__actions {
  margin-top: 8px;
  text-align: center;
}

.lineup-teaser__btn {
  border: 1px solid rgba(22, 163, 74, 0.45);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-color);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.lineup-teaser__table {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
}

.lineup-teaser__section {
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.2px;
  color: var(--text-color);
  background: rgba(7, 26, 43, 0.08);
  border-top: 1px solid var(--border-color);
}

.lineup-teaser__section:first-child {
  border-top: 0;
}

.lineup-teaser__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 6px 8px;
  border-top: 1px solid rgba(7, 26, 43, 0.08);
}

.lineup-teaser__cell {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lineup-teaser__cell--away {
  justify-content: flex-end;
}

.lineup-teaser__avatar {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(7, 26, 43, 0.1);
}

.lineup-teaser__meta {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lineup-teaser__meta--away {
  justify-content: flex-end;
}

.lineup-teaser__player {
  font-size: 12px;
  line-height: 1.2;
  color: var(--text-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
}

.lineup-teaser__player-link {
  color: inherit;
  text-decoration: none;
}

.lineup-teaser__player-link:hover,
.lineup-teaser__player-link:focus-visible {
  text-decoration: underline;
}

.lineup-teaser__rating {
  min-width: 24px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(22, 163, 74, 0.35);
  background: rgba(22, 163, 74, 0.12);
  color: var(--text-color);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

@media (max-width: 680px) {
  .match-tabs__bar {
    position: sticky;
    top: 0;
    z-index: 99999;
    backdrop-filter: blur(8px);
    border-radius: 0;
  }

  .match-keyStats__values {
    grid-template-columns: 56px 1fr 56px;
    gap: 8px;
  }

  .lineup-teaser {
    padding: 8px 10px;
  }

  .lineup-teaser__row {
    gap: 6px;
    padding: 6px;
  }

  .lineup-teaser__player {
    max-width: 112px;
  }
}
.match-timeline {
  --timeline-line: rgba(143, 176, 198, 0.22);
  --timeline-pill-bg: rgba(6, 26, 43, 0.9);

  list-style: none;
  padding: 0;
  margin: 18px auto 0;
  max-width: 760px;
  position: relative;
}

.match-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, rgba(94, 231, 255, 0), var(--timeline-line), rgba(61, 255, 138, 0));
}

.match-timeline__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: start;
  margin: 14px 0;
  position: relative;
}

.match-timeline__card {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow:
    inset 0 0 0.5px 1px rgba(255, 255, 255, 0.06),
    0 0.9px 1.5px rgba(0, 0, 0, 0.16),
    0 3.5px 10px rgba(0, 0, 0, 0.18);
  max-width: 360px;
}

.match-timeline__row--home .match-timeline__card {
  grid-column: 1;
  justify-self: end;
  text-align: right;
}

.match-timeline__row--away .match-timeline__card {
  grid-column: 3;
  justify-self: start;
  text-align: left;
}

.match-timeline__time {
  grid-column: 2;
  justify-self: center;
  position: sticky;
  top: 12px;
  z-index: 1;
}

.match-timeline__timePill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(143, 176, 198, 0.22);
  background: var(--timeline-pill-bg);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.match-timeline__cardHeader {
  display: flex;
  align-items: center;
  gap: 8px;
}

.match-timeline__row--home .match-timeline__cardHeader {
  justify-content: flex-end;
}

.match-timeline__teamLogo {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  padding: 1px;
}

.match-timeline__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-weight: 700;
}

.match-timeline__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(94, 231, 255, 0.14);
  color: var(--text-color);
}

.match-timeline__var {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.match-timeline__type {
  color: var(--text-color);
  font-size: 14px;
}

.match-timeline__detail {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.match-timeline__meta {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.match-timeline__people {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.match-timeline__person {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.match-timeline__row--home .match-timeline__person {
  justify-content: flex-end;
}

.match-timeline__personLabel {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(143, 176, 198, 0.14);
  border: 1px solid rgba(143, 176, 198, 0.18);
}

.match-timeline__personLink {
  color: var(--text-color);
  text-decoration: none;
}

.match-timeline__personLink:hover {
  text-decoration: underline;
}

.match-timeline__assist {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.match-timeline__assistLabel {
  color: var(--text-color);
  font-weight: 700;
  margin-right: 6px;
}

.match-timeline__marker {
  text-align: center;
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.25px;
  position: relative;
}

.match-timeline__marker::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 19px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(94, 231, 255, 0.35);
  border: 1px solid rgba(94, 231, 255, 0.55);
  box-shadow: 0 0 0 6px rgba(94, 231, 255, 0.08);
}

.match-timeline__marker--start::before {
  background: rgba(61, 255, 138, 0.35);
  border-color: rgba(61, 255, 138, 0.6);
  box-shadow: 0 0 0 6px rgba(61, 255, 138, 0.08);
}

.match-timeline__marker--end::before {
  background: rgba(255, 213, 74, 0.35);
  border-color: rgba(255, 213, 74, 0.65);
  box-shadow: 0 0 0 6px rgba(255, 213, 74, 0.08);
}

@media (max-width: 680px) {
  .match-timeline {
    padding-left: 10px;
    padding-right: 10px;
  }

  .match-timeline::before {
    left: 16px;
    transform: none;
  }

  .match-timeline__row {
    grid-template-columns: auto 1fr;
    gap: 10px;
  }

  .match-timeline__time {
    grid-column: 1;
    justify-self: start;
    position: relative;
    top: auto;
  }

  .match-timeline__timePill {
    min-width: 48px;
    padding: 6px 8px;
  }

  .match-timeline__card {
    grid-column: 2;
    justify-self: stretch;
    max-width: none;
    text-align: left;
  }

  .match-timeline__row--home .match-timeline__card,
  .match-timeline__row--away .match-timeline__card {
    grid-column: 2;
    justify-self: stretch;
    text-align: left;
  }

  .match-timeline__row--home .match-timeline__cardHeader,
  .match-timeline__row--home .match-timeline__person {
    justify-content: flex-start;
  }

  .match-timeline__row--away .match-timeline__cardHeader,
  .match-timeline__row--away .match-timeline__person {
    justify-content: flex-start;
  }

  .match-timeline__marker {
    text-align: left;
    padding-left: 28px;
  }

  .match-timeline__marker::before {
    left: 16px;
    transform: none;
  }
}
.black {
    background-color: #000 !important
}

.black-text {
    color: #000 !important
}

.white {
    background-color: #fff !important
}

.white-text {
    color: var(--text-color) !important
}


/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

main {
    display: block
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
    overflow: visible
}

pre {
    font-family: monospace, monospace;
    font-size: 1em
}

a {
    background-color: rgba(0, 0, 0, 0)
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
    -moz-text-decoration: underline dotted;
    text-decoration: underline dotted
}

b, strong {
    font-weight: bolder
}

code, kbd, samp {
    font-family: monospace, monospace;
    font-size: 1em
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -0.25em
}

sup {
    top: -0.5em
}

img {
    border-style: none
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0
}

button, input {
    overflow: visible
}

button, select {
    text-transform: none
}

button, [type=button], [type=reset], [type=submit] {
    -webkit-appearance: button
}

button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner {
    border-style: none;
    padding: 0
}

button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring {
    outline: 1px dotted ButtonText
}

fieldset {
    padding: .35em .75em .625em
}

legend {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal
}

progress {
    vertical-align: baseline
}

textarea {
    overflow: auto
}

[type=checkbox], [type=radio] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

details {
    display: block
}

summary {
    display: list-item
}

template {
    display: none
}

[hidden] {
    display: none
}

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

*, *:before, *:after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit
}

button, input, optgroup, select, textarea {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif
}

a {
    color: #039be5;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

.valign-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center
}


blockquote {
    margin: 20px 0;
    padding-left: 1.5rem;
    border-left: 5px solid var(--primary-color)
}

i {
    line-height: inherit
}

i.left {
    float: left;
    margin-left: -8px
}

i.right {
    float: right
}

i.tiny {
    font-size: 1rem
}

i.small {
    font-size: 2rem
}

i.medium {
    font-size: 4rem
}

i.large {
    font-size: 6rem
}

img.responsive-img, video.responsive-video {
    max-width: 100%;
    height: auto
}


@media only screen and (max-width: 600.99px) {
    .hide-on-small-only, .hide-on-small-and-down {
        display: none !important
    }
}

@media only screen and (max-width: 992.99px) {
    .hide-on-med-and-down {
        display: none !important
    }
}

@media only screen and (min-width: 601px) {
    .hide-on-med-and-up {
        display: none !important
    }
}

@media only screen and (min-width: 601px)and (max-width: 992.99px) {
    .hide-on-med-only {
        display: none !important
    }
}

@media only screen and (min-width: 993px) {
    .hide-on-large-only {
        display: none !important
    }
}

@media only screen and (min-width: 1201px) {
    .hide-on-extra-large-only {
        display: none !important
    }
}

@media only screen and (min-width: 1201px) {
    .show-on-extra-large {
        display: block !important
    }
}

@media only screen and (min-width: 993px) {
    .show-on-large {
        display: block !important
    }
}

@media only screen and (min-width: 601px)and (max-width: 992.99px) {
    .show-on-medium {
        display: block !important
    }
}

@media only screen and (max-width: 600.99px) {
    .show-on-small {
        display: block !important
    }
}

@media only screen and (min-width: 601px) {
    .show-on-medium-and-up {
        display: block !important
    }
}

@media only screen and (max-width: 992.99px) {
    .show-on-medium-and-down {
        display: block !important
    }
}

@media only screen and (max-width: 600.99px) {
    .center-on-small-only {
        text-align: center
    }
}


table, th, td {
    border: none
}

table {
    width: 100%;
    display: table;
    border-collapse: collapse;
    border-spacing: 0
}

table.striped tr {
    border-bottom: none
}

table.striped tbody > tr:nth-child(odd) {
    background-color: var(--background-color-slight-emphasis)
}

table.highlight > tbody > tr {
    -webkit-transition: background-color .25s ease;
    transition: background-color .25s ease
}

table.highlight > tbody > tr:hover {
    background-color: var(--hover-color)
}

table thead {
    color: var(--font-color-medium)
}

table.centered thead tr th, table.centered tbody tr td {
    text-align: center
}

tr {
    border-bottom: 1px solid var(--separator-color)
}

td, th {
    padding: 15px 5px;
    display: table-cell;
    text-align: left;
    vertical-align: middle;
    border-radius: 0
}

@media only screen and (max-width: 992.99px) {
    table.responsive-table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
        display: block;
        position: relative
    }

    table.responsive-table td:empty:before {
        content: " "
    }

    table.responsive-table th, table.responsive-table td {
        margin: 0;
        vertical-align: top
    }

    table.responsive-table th {
        text-align: left
    }

    table.responsive-table thead {
        display: block;
        float: left
    }

    table.responsive-table thead tr {
        display: block;
        padding: 0 10px 0 0
    }

    table.responsive-table thead tr th::before {
        content: " "
    }

    table.responsive-table tbody {
        display: block;
        width: auto;
        position: relative;
        overflow-x: auto;
        white-space: nowrap
    }

    table.responsive-table tbody tr {
        display: inline-block;
        vertical-align: top;
        background: white;
    }

    table.responsive-table th {
        display: block;
        text-align: right
    }

    table.responsive-table td {
        display: block;
        min-height: 1.25em;
        text-align: left
    }

    table.responsive-table tr {
        border-bottom: none;
        padding: 0 10px
    }

    table.responsive-table thead {
        border: 0;
        border-right: 1px solid var(--separator-color)
    }
}


.hide {
    display: none !important
}

.left-align {
    text-align: left
}

.right-align {
    text-align: right
}

.center, .center-align {
    text-align: center
}

.left {
    float: left !important
}

.right {
    float: right !important
}

.no-select, input[type=range], input[type=range] + .thumb {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}


.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.truncate {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.no-padding {
    padding: 0 !important
}



.container {
    margin: 0 auto;
    max-width: 1280px;
    width: 90%
}

@media only screen and (min-width: 601px) {
    .container {
        width: 70%
    }
}

@media only screen and (min-width: 993px) {
    .container {
        width: 50%
    }
}


.row {
    display: grid;
    grid-template-columns:repeat(12, 1fr)
}

.row .s1 {
    grid-column: auto/span 1
}

.row .s2 {
    grid-column: auto/span 2
}

.row .s3 {
    grid-column: auto/span 3
}

.row .s4 {
    grid-column: auto/span 4
}

.row .s5 {
    grid-column: auto/span 5
}

.row .s6 {
    grid-column: auto/span 6
}

.row .s7 {
    grid-column: auto/span 7
}

.row .s8 {
    grid-column: auto/span 8
}

.row .s9 {
    grid-column: auto/span 9
}

.row .s10 {
    grid-column: auto/span 10
}

.row .s11 {
    grid-column: auto/span 11
}

.row .s12 {
    grid-column: auto/span 12
}

.row .offset-s1 {
    grid-column-start: 3
}

.row .offset-s2 {
    grid-column-start: 2
}

.row .offset-s3 {
    grid-column-start: 4
}

.row .offset-s4 {
    grid-column-start: 5
}

.row .offset-s5 {
    grid-column-start: 6
}

.row .offset-s6 {
    grid-column-start: 7
}

.row .offset-s7 {
    grid-column-start: 8
}

.row .offset-s8 {
    grid-column-start: 9
}

.row .offset-s9 {
    grid-column-start: 10
}

.row .offset-s10 {
    grid-column-start: 11
}

.row .offset-s11 {
    grid-column-start: 12
}

@media only screen and (min-width: 601px) {
    .row .m1 {
        grid-column: auto/span 1
    }

    .row .m2 {
        grid-column: auto/span 2
    }

    .row .m3 {
        grid-column: auto/span 3
    }

    .row .m4 {
        grid-column: auto/span 4
    }

    .row .m5 {
        grid-column: auto/span 5
    }

    .row .m6 {
        grid-column: auto/span 6
    }

    .row .m7 {
        grid-column: auto/span 7
    }

    .row .m8 {
        grid-column: auto/span 8
    }

    .row .m9 {
        grid-column: auto/span 9
    }

    .row .m10 {
        grid-column: auto/span 10
    }

    .row .m11 {
        grid-column: auto/span 11
    }

    .row .m12 {
        grid-column: auto/span 12
    }

    .row .offset-m1 {
        grid-column-start: 2
    }

    .row .offset-m2 {
        grid-column-start: 3
    }

    .row .offset-m3 {
        grid-column-start: 4
    }

    .row .offset-m4 {
        grid-column-start: 5
    }

    .row .offset-m5 {
        grid-column-start: 6
    }

    .row .offset-m6 {
        grid-column-start: 7
    }

    .row .offset-m7 {
        grid-column-start: 8
    }

    .row .offset-m8 {
        grid-column-start: 9
    }

    .row .offset-m9 {
        grid-column-start: 10
    }

    .row .offset-m10 {
        grid-column-start: 11
    }

    .row .offset-m11 {
        grid-column-start: 12
    }
}

@media only screen and (min-width: 993px) {
    .row .l1 {
        grid-column: auto/span 1
    }

    .row .l2 {
        grid-column: auto/span 2
    }

    .row .l3 {
        grid-column: auto/span 3
    }

    .row .l4 {
        grid-column: auto/span 4
    }

    .row .l5 {
        grid-column: auto/span 5
    }

    .row .l6 {
        grid-column: auto/span 6
    }

    .row .l7 {
        grid-column: auto/span 7
    }

    .row .l8 {
        grid-column: auto/span 8
    }

    .row .l9 {
        grid-column: auto/span 9
    }

    .row .l10 {
        grid-column: auto/span 10
    }

    .row .l11 {
        grid-column: auto/span 11
    }

    .row .l12 {
        grid-column: auto/span 12
    }

    .row .offset-l1 {
        grid-column-start: 2
    }

    .row .offset-l2 {
        grid-column-start: 3
    }

    .row .offset-l3 {
        grid-column-start: 4
    }

    .row .offset-l4 {
        grid-column-start: 5
    }

    .row .offset-l5 {
        grid-column-start: 6
    }

    .row .offset-l6 {
        grid-column-start: 7
    }

    .row .offset-l7 {
        grid-column-start: 8
    }

    .row .offset-l8 {
        grid-column-start: 9
    }

    .row .offset-l9 {
        grid-column-start: 10
    }

    .row .offset-l10 {
        grid-column-start: 11
    }

    .row .offset-l11 {
        grid-column-start: 12
    }
}

@media only screen and (min-width: 1201px) {
    .row .xl1 {
        grid-column: auto/span 1
    }

    .row .xl2 {
        grid-column: auto/span 2
    }

    .row .xl3 {
        grid-column: auto/span 3
    }

    .row .xl4 {
        grid-column: auto/span 4
    }

    .row .xl5 {
        grid-column: auto/span 5
    }

    .row .xl6 {
        grid-column: auto/span 6
    }

    .row .xl7 {
        grid-column: auto/span 7
    }

    .row .xl8 {
        grid-column: auto/span 8
    }

    .row .xl9 {
        grid-column: auto/span 9
    }

    .row .xl10 {
        grid-column: auto/span 10
    }

    .row .xl11 {
        grid-column: auto/span 11
    }

    .row .xl12 {
        grid-column: auto/span 12
    }

    .row .offset-xl1 {
        grid-column-start: 2
    }

    .row .offset-xl2 {
        grid-column-start: 3
    }

    .row .offset-xl3 {
        grid-column-start: 4
    }

    .row .offset-xl4 {
        grid-column-start: 5
    }

    .row .offset-xl5 {
        grid-column-start: 6
    }

    .row .offset-xl6 {
        grid-column-start: 7
    }

    .row .offset-xl7 {
        grid-column-start: 8
    }

    .row .offset-xl8 {
        grid-column-start: 9
    }

    .row .offset-xl9 {
        grid-column-start: 10
    }

    .row .offset-xl10 {
        grid-column-start: 11
    }

    .row .offset-xl11 {
        grid-column-start: 12
    }
}


a {
    text-decoration: none
}

html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: normal;
    color: var(--font-color-main)
}

@media only screen and (min-width: 0) {
    html {
        font-size: 14px
    }
}

@media only screen and (min-width: 993px) {
    html {
        font-size: 14.5px
    }
}

@media only screen and (min-width: 1201px) {
    html {
        font-size: 15px
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.3
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    font-weight: inherit
}

h1 {
    font-size: 4.2rem;
    line-height: 110%;
    margin: 2.8rem 0 1.68rem 0
}

h2 {
    font-size: 3.56rem;
    line-height: 110%;
    margin: 2.3733333333rem 0 1.424rem 0
}

h3 {
    font-size: 2.92rem;
    line-height: 110%;
    margin: 1.9466666667rem 0 1.168rem 0
}

h4 {
    font-size: 2.28rem;
    line-height: 110%;
    margin: 1.52rem 0 .912rem 0
}

h5 {
    font-size: 1.64rem;
    line-height: 110%;
    margin: 1.0933333333rem 0 .656rem 0
}

h6 {
    font-size: 1.15rem;
    line-height: 110%;
    margin: .7666666667rem 0 .46rem 0
}

em {
    font-style: italic
}

strong {
    font-weight: 500
}

small {
    font-size: 75%
}



@media only screen and (min-width: 360px) {
    .flow-text {
        font-size: 1.2rem
    }
}

@media only screen and (min-width: 390px) {
    .flow-text {
        font-size: 1.224rem
    }
}

@media only screen and (min-width: 420px) {
    .flow-text {
        font-size: 1.248rem
    }
}

@media only screen and (min-width: 450px) {
    .flow-text {
        font-size: 1.272rem
    }
}

@media only screen and (min-width: 480px) {
    .flow-text {
        font-size: 1.296rem
    }
}

@media only screen and (min-width: 510px) {
    .flow-text {
        font-size: 1.32rem
    }
}

@media only screen and (min-width: 540px) {
    .flow-text {
        font-size: 1.344rem
    }
}

@media only screen and (min-width: 570px) {
    .flow-text {
        font-size: 1.368rem
    }
}

@media only screen and (min-width: 600px) {
    .flow-text {
        font-size: 1.392rem
    }
}

@media only screen and (min-width: 630px) {
    .flow-text {
        font-size: 1.416rem
    }
}

@media only screen and (min-width: 660px) {
    .flow-text {
        font-size: 1.44rem
    }
}

@media only screen and (min-width: 690px) {
    .flow-text {
        font-size: 1.464rem
    }
}

@media only screen and (min-width: 720px) {
    .flow-text {
        font-size: 1.488rem
    }
}

@media only screen and (min-width: 750px) {
    .flow-text {
        font-size: 1.512rem
    }
}

@media only screen and (min-width: 780px) {
    .flow-text {
        font-size: 1.536rem
    }
}

@media only screen and (min-width: 810px) {
    .flow-text {
        font-size: 1.56rem
    }
}

@media only screen and (min-width: 840px) {
    .flow-text {
        font-size: 1.584rem
    }
}

@media only screen and (min-width: 870px) {
    .flow-text {
        font-size: 1.608rem
    }
}

@media only screen and (min-width: 900px) {
    .flow-text {
        font-size: 1.632rem
    }
}

@media only screen and (min-width: 930px) {
    .flow-text {
        font-size: 1.656rem
    }
}

@media only screen and (min-width: 960px) {
    .flow-text {
        font-size: 1.68rem
    }
}

@media only screen and (max-width: 360px) {
    .flow-text {
        font-size: 1.2rem
    }
}

.btn, .btn-small, .btn-large, .btn-floating, .btn-flat {
    --font-size-icon: 16px;
    --padding: 24px;
    --padding-icon: 16px;
    --gap-icon: 8px;
    height: 40px;
    border: none;
    border-radius: 4px;
    padding-left: var(--padding);
    padding-right: var(--padding);
    color: var(--font-on-primary-color-main);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    white-space: nowrap;
    outline: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: background-color .2s ease-out;
    transition: background-color .2s ease-out
}

.btn.icon-left, .icon-left.btn-small, .icon-left.btn-large, .btn.icon-right, .icon-right.btn-small, .icon-right.btn-large {
    position: relative
}

.btn.icon-left, .icon-left.btn-small, .icon-left.btn-large {
    padding-left: calc(var(--padding-icon) + var(--font-size-icon) + var(--gap-icon))
}

.btn.icon-right, .icon-right.btn-small, .icon-right.btn-large {
    padding-right: calc(var(--padding-icon) + var(--font-size-icon) + var(--gap-icon))
}

.btn.icon-left i, .icon-left.btn-small i, .icon-left.btn-large i, .btn.icon-right i, .icon-right.btn-small i, .icon-right.btn-large i {
    position: absolute;
    font-size: var(--font-size-icon)
}

.btn.icon-left i, .icon-left.btn-small i, .icon-left.btn-large i {
    left: var(--padding-icon)
}

.btn.icon-right i, .icon-right.btn-small i, .icon-right.btn-large i {
    right: var(--padding-icon)
}

.btn.disabled, .btn-floating.disabled, .btn-large.disabled, .btn-small.disabled, .btn-flat.disabled, .btn:disabled, .btn-floating:disabled, .btn-large:disabled, .btn-small:disabled, .btn-flat:disabled, .btn[disabled], .btn-floating[disabled], .btn-large[disabled], .btn-small[disabled], .btn-flat[disabled] {
    pointer-events: none;
    background-color: var(--background-color-disabled) !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: var(--font-color-disabled) !important;
    cursor: default
}

.btn.disabled:hover, .btn-floating.disabled:hover, .btn-large.disabled:hover, .btn-small.disabled:hover, .btn-flat.disabled:hover, .btn:disabled:hover, .btn-floating:disabled:hover, .btn-large:disabled:hover, .btn-small:disabled:hover, .btn-flat:disabled:hover, .btn[disabled]:hover, .btn-floating[disabled]:hover, .btn-large[disabled]:hover, .btn-small[disabled]:hover, .btn-flat[disabled]:hover {
    background-color: var(--background-color-disabled) !important;
    color: var(--font-color-disabled) !important
}

.btn.filled, .btn, .btn-small, .btn-large {
    background-color: var(--md-sys-color-primary)
}

.btn.tonal, .tonal.btn-small, .tonal.btn-large, .btn.elevated, .elevated.btn-small, .elevated.btn-large {
    background-color: var(--md-sys-color-secondary-container);
    color: var(--md-sys-color-on-secondary-container)
}

.btn.text, .text.btn-small, .text.btn-large, .btn-flat {
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0);
    color: var(--md-sys-color-primary);
    cursor: pointer;
    -webkit-transition: background-color .2s;
    transition: background-color .2s
}

.btn.text:focus, .text.btn-small:focus, .text.btn-large:focus, .btn.text:hover, .text.btn-small:hover, .text.btn-large:hover, .btn-flat:focus, .btn-flat:hover {
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: var(--hover-color)
}

.btn.text:focus, .text.btn-small:focus, .text.btn-large:focus, .btn-flat:focus {
    background-color: var(--focus-color)
}

.btn.text.disabled, .text.disabled.btn-small, .text.disabled.btn-large, .btn.text.btn.text[disabled], .text.text[disabled].btn-small, .text.text[disabled].btn-large, .btn.text.btn-flat[disabled], .btn-flat.disabled, .btn-flat.btn.text[disabled], .btn-flat.btn-flat[disabled] {
    background-color: rgba(0, 0, 0, 0) !important;
    color: var(--font-color-disabled) !important;
    cursor: default
}

.btn.outlined, .outlined.btn-small, .outlined.btn-large {
    background-color: rgba(0, 0, 0, 0);
    color: var(--primary-color);
    border: 1px solid var(--primary-color)
}


.btn:focus, .btn-small:focus, .btn-large:focus {
    background-color: var(--primary-color-raised-focus-solid)
}

.btn-floating {
    color: var(--font-on-secondary-color-main);
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 16px;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    -webkit-transition: background-color .3s;
    transition: background-color .3s;
    cursor: pointer;
    vertical-align: middle
}

.btn-floating:hover {
    background-color: var(--secondary-color-hover-solid)
}

.btn-floating:focus {
    background-color: var(--secondary-color-focus-solid)
}

.btn-floating:before {
    border-radius: 0
}

.btn-floating.btn-large {
    width: 56px;
    height: 56px;
    padding: 0
}

.btn-floating.btn-large.halfway-fab {
    bottom: -28px
}

.btn-floating.btn-small {
    width: 30px;
    height: 30px
}

.btn-floating.btn-small.halfway-fab {
    bottom: -15px
}

.btn-floating.halfway-fab {
    position: absolute;
    right: 24px;
    bottom: -20px
}

.btn-floating.halfway-fab.left {
    right: auto;
    left: 24px
}

.btn-floating i {
    color: var(--font-on-secondary-color-main);
    font-size: 1.6rem;
    width: inherit;
    display: inline-block;
    text-align: center
}

button.btn-floating {
    border: none
}

.fixed-action-btn {
    position: fixed;
    right: 23px;
    bottom: 23px;
    padding-top: 15px;
    margin-bottom: 0;
    z-index: 997
}

.fixed-action-btn.active ul {
    visibility: visible;
    padding-left: 0;
    list-style-type: none
}

.fixed-action-btn.direction-left, .fixed-action-btn.direction-right {
    padding: 0 0 0 15px
}

.fixed-action-btn.direction-left ul, .fixed-action-btn.direction-right ul {
    text-align: right;
    right: 64px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 100%;
    left: auto;
    width: 500px
}

.fixed-action-btn.direction-left ul li, .fixed-action-btn.direction-right ul li {
    display: inline-block;
    margin: 7.5px 15px 0 0
}

.fixed-action-btn.direction-right {
    padding: 0 15px 0 0
}

.fixed-action-btn.direction-right ul {
    text-align: left;
    direction: rtl;
    left: 64px;
    right: auto
}

.fixed-action-btn.direction-right ul li {
    margin: 7.5px 0 0 15px
}

.fixed-action-btn.direction-bottom {
    padding: 0 0 15px 0
}

.fixed-action-btn.direction-bottom ul {
    top: 64px;
    bottom: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse
}

.fixed-action-btn.direction-bottom ul li {
    margin: 15px 0 0 0
}

.fixed-action-btn.toolbar {
    padding: 0;
    height: 56px
}

.fixed-action-btn.toolbar.active > a i {
    opacity: 0
}

.fixed-action-btn.toolbar ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    top: 0;
    bottom: 0;
    z-index: 1
}

.fixed-action-btn.toolbar ul li {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: inline-block;
    margin: 0;
    height: 100%;
    -webkit-transition: none;
    transition: none
}

.fixed-action-btn.toolbar ul li a {
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    -webkit-box-shadow: none;
    box-shadow: none;
    color: var(--font-on-secondary-color-main);
    line-height: 56px;
    z-index: 1
}

.fixed-action-btn.toolbar ul li a i {
    line-height: inherit
}

.fixed-action-btn ul {
    left: 0;
    right: 0;
    text-align: center;
    position: absolute;
    bottom: 64px;
    margin: 0;
    visibility: hidden
}

.fixed-action-btn ul li {
    margin-bottom: 15px
}

.fixed-action-btn ul a.btn-floating {
    opacity: 0
}

.fixed-action-btn .fab-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 16px;
    -webkit-transform: scale(0);
    transform: scale(0)
}

.btn-large {
    height: 60px;
    font-size: 18px;
    padding: 0 28px
}

.btn-large i {
    font-size: 1.6rem
}

.btn-small {
    height: 30px;
    line-height: 30px;
    font-size: 13px
}

.btn-small i {
    font-size: 1.2rem
}

.btn-block {
    display: block
}



select:focus {
    outline: 1px solid var(--primary-color-raised-focus-solid)
}

button:focus {
    outline: none;
    background-color: var(--primary-color-raised-focus-solid)
}

label {
    font-size: .8rem;
    color: var(--font-color-medium)
}

::-webkit-input-placeholder {
    color: var(--font-color-medium)
}

::-moz-placeholder {
    color: var(--font-color-medium)
}

::-ms-input-placeholder {
    color: var(--font-color-medium)
}

::placeholder {
    color: black;
}

input:not([type]):not(.browser-default), input[type=text]:not(.browser-default), input[type=password]:not(.browser-default), input[type=email]:not(.browser-default), input[type=url]:not(.browser-default), input[type=time]:not(.browser-default), input[type=date]:not(.browser-default), input[type=datetime]:not(.browser-default), input[type=datetime-local]:not(.browser-default), input[type=month]:not(.browser-default), input[type=tel]:not(.browser-default), input[type=number]:not(.browser-default), input[type=search]:not(.browser-default), textarea.materialize-textarea {
    outline: none;
    color: black;
    width: 100%;
    font-size: 16px;
    height: 56px
}

.input-field {
    position: relative;
    clear: both
}

.input-field input, .input-field textarea {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 16px;
    padding-top: 20px;
    background-color: var(--surface-color);
    border: none;
    border-radius: 4px;
    border-bottom: 1px solid var(--font-color-medium);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0
}

.input-field input:focus:not([readonly]), .input-field textarea:focus:not([readonly]) {
    border-bottom: 2px solid var(--primary-color);
    padding-top: 21px
}

.input-field input:disabled, .input-field input[readonly=readonly], .input-field textarea:disabled, .input-field textarea[readonly=readonly] {
    color: rgba(var(--md_sys_color_on-surface), 0.38);
    border-color: rgba(var(--md_sys_color_on-surface), 0.12);
    background-color: rgba(var(--md_sys_color_on-surface), 0.04)
}

.input-field input:focus:not([readonly]) + label, .input-field textarea:focus:not([readonly]) + label {
    color: var(--primary-color)
}

.input-field input:focus:not([readonly]) + label, .input-field input:not([placeholder=" "]) + label, .input-field input:not(:placeholder-shown) + label, .input-field textarea:focus:not([readonly]) + label, .input-field textarea:not([placeholder=" "]) + label, .input-field textarea:not(:placeholder-shown) + label {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
    top: 8px
}

.input-field input:disabled + label, .input-field input[readonly=readonly] + label, .input-field textarea:disabled + label, .input-field textarea[readonly=readonly] + label {
    color: rgba(var(--md_sys_color_on-surface), 0.38)
}

.input-field input::-webkit-input-placeholder {
    -webkit-user-select: none;
    user-select: none
}

.input-field input::-moz-placeholder {
    -moz-user-select: none;
    user-select: none
}

.input-field input::-ms-input-placeholder {
    -ms-user-select: none;
    user-select: none
}

.input-field input::placeholder {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.input-field > label {
    color: var(--font-color-medium);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 16px;
    position: absolute;
    left: 16px;
    top: 16px;
    cursor: text;
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-transition: left .2s ease-out, top .2s ease-out, -webkit-transform .2s ease-out;
    transition: left .2s ease-out, top .2s ease-out, -webkit-transform .2s ease-out;
    transition: left .2s ease-out, top .2s ease-out, transform .2s ease-out;
    transition: left .2s ease-out, top .2s ease-out, transform .2s ease-out, -webkit-transform .2s ease-out
}

.input-field .supporting-text {
    color: var(--font-color-medium);
    font-size: 12px;
    padding: 0 16px;
    margin-top: 4px
}

.input-field .character-counter {
    color: var(--font-color-medium);
    font-size: 12px;
    float: right;
    padding: 0 16px;
    margin-top: 4px
}

.input-field .prefix {
    position: absolute;
    left: 12px;
    top: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center
}

.input-field .suffix {
    position: absolute;
    right: 12px;
    top: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.input-field .prefix ~ input, .input-field .prefix ~ textarea {
    padding-left: 52px
}

.input-field .suffix ~ input, .input-field .suffix ~ textarea {
    padding-right: 52px
}

.input-field .prefix ~ label {
    left: 52px
}

.input-field.outlined input, .input-field.outlined textarea {
    padding-top: 0;
    background-color: var(--background-color);
    border: 1px solid var(--font-color-medium);
    border-radius: 4px
}

.input-field.outlined input:focus:not([readonly]), .input-field.outlined textarea:focus:not([readonly]) {
    border: 2px solid var(--primary-color);
    padding-top: 0;
    margin-left: -1px
}

.input-field.outlined input:focus:not([readonly]) + label, .input-field.outlined textarea:focus:not([readonly]) + label {
    color: var(--primary-color)
}

.input-field.outlined input:focus:not([readonly]) + label, .input-field.outlined input:not([placeholder=" "]) + label, .input-field.outlined input:not(:placeholder-shown) + label, .input-field.outlined textarea:focus:not([readonly]) + label, .input-field.outlined textarea:not([placeholder=" "]) + label, .input-field.outlined textarea:not(:placeholder-shown) + label {
    top: -8px;
    left: 16px;
    margin-left: -4px;
    padding: 0 4px;
    background-color: var(--background-color)
}

.input-field.outlined input:disabled, .input-field.outlined input[readonly=readonly], .input-field.outlined textarea:disabled, .input-field.outlined textarea[readonly=readonly] {
    color: rgba(var(--md_sys_color_on-surface), 0.38);
    border-color: rgba(var(--md_sys_color_on-surface), 0.12)
}

.input-field.error input, .input-field.error textarea {
    border-color: var(--error-color)
}

.input-field.error input:focus:not([readonly]), .input-field.error textarea:focus:not([readonly]) {
    border-color: var(--error-color)
}

.input-field.error input:focus:not([readonly]) + label, .input-field.error textarea:focus:not([readonly]) + label {
    color: var(--error-color)
}

.input-field.error label {
    color: var(--error-color)
}

.input-field.error .supporting-text {
    color: var(--error-color)
}

.input-field.error .suffix {
    color: var(--error-color)
}

.searchbar .prefix {
    position: absolute;
    padding-left: 1rem;
    top: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center
}

.searchbar > input {
    border-width: 0;
    background-color: rgba(0, 0, 0, 0);
    padding-left: 3rem
}

.searchbar.has-sidebar {
    margin-left: 0
}

@media only screen and (min-width: 993px) {
    .searchbar.has-sidebar {
        margin-left: 300px
    }
}

textarea {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0)
}

textarea.materialize-textarea {
    padding-top: 26px !important;
    padding-bottom: 4px !important;
    line-height: normal;
    overflow-y: hidden;
    resize: none;
    min-height: 3rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

.hiddendiv {
    visibility: hidden;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding-top: 1.2rem;
    position: absolute;
    top: 0;
    z-index: -1
}



.file-field {
    display: grid;
    grid-template-columns:-webkit-min-content auto;
    grid-template-columns:min-content auto;
    gap: 10px
}

.file-field .file-path-wrapper {
    overflow: hidden
}

.file-field input.file-path {
    width: 100%
}

.file-field .btn, .file-field .btn-large, .file-field .btn-small {
    height: 3rem;
    line-height: 3rem
}

.file-field span {
    cursor: pointer
}

.file-field input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    cursor: pointer;
    width: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    font-size: 20px;
    filter: alpha(opacity=0)
}

.file-field input[type=file]::-webkit-file-upload-button {
    display: none
}

.range-field {
    position: relative
}

input[type=range], input[type=range] + .thumb {
    cursor: pointer
}

input[type=range] {
    position: relative;
    background-color: rgba(0, 0, 0, 0);
    border: none;
    outline: none;
    width: 100%;
    margin: 15px 0;
    padding: 0
}

input[type=range]:focus {
    outline: none
}

input[type=range] + .thumb {
    position: absolute;
    top: 10px;
    left: 0;
    border: none;
    height: 0;
    width: 0;
    border-radius: 50%;
    background-color: var(--primary-color);
    margin-left: 7px;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

input[type=range] + .thumb .value {
    display: block;
    width: 30px;
    text-align: center;
    color: var(--primary-color);
    font-size: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg)
}

input[type=range] + .thumb.active {
    border-radius: 50% 50% 50% 0
}

input[type=range] + .thumb.active .value {
    color: var(--font-on-primary-color-main);
    margin-left: -1px;
    margin-top: 8px;
    font-size: 10px
}

input[type=range] {
    -webkit-appearance: none
}

input[type=range]::-webkit-slider-runnable-track {
    height: 3px;
    border: none
}

input[type=range]::-webkit-slider-thumb {
    border: none;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    -webkit-transition: -webkit-box-shadow .3s;
    transition: -webkit-box-shadow .3s;
    transition: box-shadow .3s;
    transition: box-shadow .3s, -webkit-box-shadow .3s;
    -webkit-appearance: none;
    background-color: var(--primary-color);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    margin: -5px 0 0 0
}

.keyboard-focused input[type=range]:focus:not(.active)::-webkit-slider-thumb {
    -webkit-box-shadow: 0 0 0 10px var(--primary-color-focus-opaque);
    box-shadow: 0 0 0 10px var(--primary-color-focus-opaque)
}

input[type=range]::-moz-range-track {
    height: 3px;
    border: none
}

input[type=range]::-moz-focus-inner {
    border: 0
}

input[type=range]::-moz-range-thumb {
    border: none;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    -webkit-transition: -webkit-box-shadow .3s;
    transition: -webkit-box-shadow .3s;
    transition: box-shadow .3s;
    transition: box-shadow .3s, -webkit-box-shadow .3s;
    margin-top: -5px
}

input[type=range]:-moz-focusring {
    outline: 1px solid #fff;
    outline-offset: -1px
}

.keyboard-focused input[type=range]:focus:not(.active)::-moz-range-thumb {
    box-shadow: 0 0 0 10px var(--primary-color-focus-opaque)
}

input[type=range]::-ms-track {
    height: 3px;
    background: rgba(0, 0, 0, 0);
    border-color: rgba(0, 0, 0, 0);
    border-width: 6px 0;
    color: rgba(0, 0, 0, 0)
}

input[type=range]::-ms-fill-lower, input[type=range]::-moz-range-progress {
    background: var(--primary-color)
}

input[type=range]::-ms-fill-upper, input[type=range]::-moz-range-track {
    background: var(--slider-track-color)
}

input[type=range]::-ms-thumb {
    border: none;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    -webkit-transition: -webkit-box-shadow .3s;
    transition: -webkit-box-shadow .3s;
    transition: box-shadow .3s;
    transition: box-shadow .3s, -webkit-box-shadow .3s
}

.keyboard-focused input[type=range]:focus:not(.active)::-ms-thumb {
    box-shadow: 0 0 0 10px var(--primary-color-focus-opaque)
}

/*
 v2 design
 */
:root {
    /* Mint / clean theme (light + green accent) */
    --primary-bg: #e9fbf1;
    --secondary-bg: #ffffff;
    --accent-color: #16a34a;
    --text-color: #0b1f14;
    --text-muted: #4d6b5f;
    --border-color: #cfe8dc;
    --text-brand-color: #16a34a;
    --primary-color: #16a34a;
    --font-on-primary-color-main: #ffffff;
    --primary-color-focus-opaque: rgba(22, 163, 74, 0.20);
    --primary-color-raised-focus-solid: rgba(22, 163, 74, 0.12);
    --slider-track-color: rgba(11, 31, 20, 0.10);
    font-family: "SN Pro", sans-serif;

}

/* Default link color should match the brand accent */
a {
    color: var(--text-brand-color);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* Leagues Slider */
.leagues-section {
    margin: 20px 0;
}

.section-title {
    font-size: 1.2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.leagues-slider {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
}

.league-card {
    flex: 0 0 auto;
    background: var(--secondary-bg);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    min-width: 100px;
    /*border: 1px solid var(--border-color);*/
}
.league-card a{
    color: var(--text-color);
}

.league-card img {
    background: rgba(255, 255, 255, 0.92);
    padding: 10px;
    border-radius: 20px;
    width: 42px;
    height: 42px;
}

/* Search Results (Turbo frame #search) */
.searchr {
    padding: 10px 12px 18px 12px;
}

.searchr-section {
    margin-top: 12px;
}

.searchr-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 2px;
}

.searchr-section__title {
    color: var(--text-color);
    font-weight: 900;
    letter-spacing: 0.01em;
    font-size: 14px;
    text-transform: uppercase;
}

.searchr-section__count {
    color: var(--text-muted);
    font-size: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.85);
    padding: 3px 10px;
    border-radius: 999px;
}

.searchr-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 6px;
}

.searchr-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    background:
      radial-gradient(520px 160px at 10% 0%, rgba(22, 163, 74, 0.10), rgba(0, 0, 0, 0) 60%),
      rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: 0 10px 22px rgba(8, 28, 19, 0.10);
    transition: transform 0.08s ease, border-color 0.15s ease, filter 0.15s ease;
}

.searchr-row:active {
    transform: translateY(1px);
}

.searchr-row__left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.searchr-row__main {
    min-width: 0;
}

.searchr-row__right {
    color: rgba(143, 176, 198, 0.85);
    font-size: 22px;
    line-height: 1;
    padding-left: 6px;
}

.searchr-row__title {
    color: var(--text-color);
    font-weight: 900;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.searchr-row__sub {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    min-width: 0;
}

.searchr-row__meta {
    color: var(--text-muted);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.searchr-row__league {
    color: rgba(94, 231, 255, 0.85);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.searchr-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid rgba(61, 255, 138, 0.35);
    background: rgba(61, 255, 138, 0.10);
    color: var(--text-brand-color);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.searchr-row__avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(143, 176, 198, 0.16);
    flex: 0 0 auto;
}

.searchr-row__avatar--round {
    border-radius: 999px;
}

.searchr-row__badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 16px;
    flex: 0 0 auto;
}

.searchr-row__matchup {
    gap: 6px;
}

.searchr-row__logo {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(143, 176, 198, 0.16);
}

.searchr-row__vs {
    color: rgba(224, 93, 41, 0.95);
    font-weight: 1000;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.searchr-row__team {
    vertical-align: baseline;
}

.searchr-row__dash {
    color: rgba(143, 176, 198, 0.7);
    padding: 0 6px;
}

.searchr-empty {
    text-align: center;
    padding: 52px 18px;
    color: var(--text-muted);
}

.searchr-empty__icon {
    font-size: 44px;
    line-height: 1;
    opacity: 0.5;
    margin-bottom: 12px;
}

.searchr-empty__title {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 6px;
}

.searchr-empty__sub {
    font-size: 13px;
}

/* Talk page */
.talk-page {
    padding-top: 14px;
    padding-bottom: 24px;
}

.talk-page__header {
    margin-bottom: 14px;
}

.talk-page__title {
    margin: 0;
    color: var(--text-color);
    font-weight: 1000;
    font-size: 30px;
    line-height: 1.1;
}

.talk-page__subtitle {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 14px;
}

.talk-section {
    margin-top: 14px;
    background:
      radial-gradient(520px 180px at 10% 0%, rgba(22, 163, 74, 0.10), rgba(0, 0, 0, 0) 60%),
      rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 12px;
}

.talk-section__title {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}

.talk-empty {
    color: var(--text-muted);
    font-size: 14px;
}

.talk-fav-chips {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.talk-fav-chip {
    min-width: 160px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(143, 176, 198, 0.14);
    border-radius: 12px;
    padding: 10px;
    color: var(--text-color);
    text-decoration: none;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 10px;
    align-items: center;
}

.talk-fav-chip img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    object-fit: contain;
    grid-row: span 2;
}

.talk-fav-chip span {
    font-size: 13px;
    font-weight: 800;
}

.talk-fav-chip strong {
    color: var(--text-brand-color);
    font-size: 12px;
    font-weight: 900;
}

.talk-post-groups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.talk-team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(143, 176, 198, 0.14);
    border-radius: 12px;
    padding: 10px;
}

.talk-team-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.talk-team-card__header img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    object-fit: contain;
}

.talk-team-card__name {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
}

.talk-post-list {
    display: grid;
    gap: 8px;
}

.talk-post-item {
    display: block;
    text-decoration: none;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(143, 176, 198, 0.12);
    border-radius: 10px;
    padding: 9px 10px;
}

.talk-post-item__meta {
    color: var(--text-muted);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.talk-post-item__body {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-color);
}

.talk-teams-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (min-width: 860px) {
    .talk-teams-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.talk-team-tile {
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(143, 176, 198, 0.12);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
}

.talk-team-tile img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
}

.talk-team-tile__name {
    margin-top: 8px;
    color: var(--text-color);
    font-weight: 900;
    font-size: 13px;
    min-height: 33px;
}

.talk-team-tile__fans {
    margin-top: 4px;
    color: var(--text-brand-color);
    font-size: 12px;
    font-weight: 900;
}

/* New post (team fans) */
.post-new {
    padding-top: 14px;
    padding-bottom: 24px;
    max-width: 720px;
}

.post-new__header {
    margin-bottom: 14px;
}

.post-new__title {
    margin: 0;
    color: var(--text-color);
    font-weight: 1000;
    font-size: 28px;
    line-height: 1.1;
}

.post-new__subtitle {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
}

.post-new__card {
    background:
      radial-gradient(520px 180px at 10% 0%, rgba(22, 163, 74, 0.10), rgba(0, 0, 0, 0) 60%),
      rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 12px;
}

.post-new__label {
    color: var(--text-color);
    font-size: 13px;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.post-new__help {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.4;
}

.post-new__editor {
    margin-top: 10px;
}

.post-new__editor trix-toolbar {
    margin-bottom: 10px;
}

.post-new__editor trix-toolbar .trix-button-row {
    gap: 10px;
}

.post-new__editor trix-toolbar .trix-button-group {
    margin-bottom: 0;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
}

.post-new__editor trix-toolbar .trix-button {
    border: 0;
    background: transparent;
    color: var(--text-color);
}

.post-new__editor trix-toolbar .trix-button--icon::before {
    filter: none;
    opacity: 0.85;
}

.post-new__editor trix-toolbar .trix-button.trix-active {
    background: rgba(22, 163, 74, 0.12);
}

.post-new__editor trix-toolbar .trix-button.trix-active.trix-button--icon::before {
    opacity: 1;
}

.post-new__editor trix-editor {
    min-height: 200px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-color);
    padding: 12px;
    font-size:16px;
}
button.trix-button.trix-button--icon.trix-button--icon-bold, button.trix-button.trix-button--icon.trix-button--icon-italic,button.trix-button.trix-button--icon.trix-button--icon-strike, span.trix-button-group.trix-button-group--history-tools,button.trix-button.trix-button--icon.trix-button--icon-decrease-nesting-level,button.trix-button.trix-button--icon.trix-button--icon-increase-nesting-level, button.trix-button.trix-button--icon.trix-button--icon-code, button.trix-button.trix-button--icon.trix-button--icon-quote{
    display: none;
}
input.trix-button.trix-button--dialog{
    background: rgba(255, 255, 255, 0.92);
}
.post-new__editor trix-editor:focus {
    outline: none;
    border-color: rgba(22, 163, 74, 0.55);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.post-new__editor trix-editor::placeholder {
    color: rgba(143, 176, 198, 0.75);
}

.post-new__actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.post-new__btn {
    appearance: none;
    border: 1px solid rgba(143, 176, 198, 0.18);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 900;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
}

.post-new__btn--ghost {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-color);
}

.post-new__btn--primary {
    background: var(--text-brand-color);
    color: #062a1c;
    border-color: rgba(61, 255, 138, 0.45);
}

.post-new__btn:active {
    transform: translateY(1px);
}

/* Player Stats (Turbo frame #player_stats) */
.playerstats {
    padding: 12px 12px 22px 12px;
    color: var(--text-color);
}

.playerstats__range {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    max-width: 520px;
    margin: 10px auto 14px auto;
}

.playerstats__chip {
    display: grid;
    gap: 2px;
    text-align: center;
    text-decoration: none;
    padding: 10px 6px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-color);
    transition: transform 0.08s ease, border-color 0.15s ease, filter 0.15s ease;
}

.playerstats__chip:active {
    transform: translateY(1px);
}

.playerstats__chip.is-active {
    border-color: rgba(22, 163, 74, 0.40);
    background: rgba(22, 163, 74, 0.10);
    color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

.playerstats__chipTop {
    font-weight: 1000;
    letter-spacing: 0.03em;
    font-size: 13px;
}

.playerstats__chipSub {
    font-size: 10px;
    color: var(--text-muted);
}

.playerstats__kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

@media (min-width: 860px) {
    .playerstats__kpis {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.playerstats__kpi {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 22px rgba(8, 28, 19, 0.10);
}

.playerstats__kpiLabel {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.playerstats__kpiValue {
    margin-top: 8px;
    font-size: 20px;
    font-weight: 1000;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.playerstats__card {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.90);
    font-size: 14px;
    font-weight: 900;
}

.playerstats__key {
    margin-top: 30px;
}

.playerstats__sectionHeader {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 2px;
}

.playerstats__sectionTitle {
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 1000;
    color: white;
}

.playerstats__sectionMeta {
    font-size: 12px;
    color: white;
}

.playerstats__keyGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.playerstats__keyCard {
    background:
      radial-gradient(140% 120% at 0% 0%, rgba(22, 163, 74, 0.10), rgba(0, 0, 0, 0) 60%),
      rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 12px;
}

.playerstats__keyLabel {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.playerstats__keyValue {
    margin-top: 6px;
    font-size: 28px;
    font-weight: 1000;
    color: var(--text-color);
    letter-spacing: -0.03em;
}

.playerstats__charts {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 860px) {
    .playerstats__charts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.playerstats__chartCard {
    background:
      radial-gradient(520px 200px at 10% 0%, rgba(22, 163, 74, 0.10), rgba(0, 0, 0, 0) 60%),
      rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 10px 10px 6px 10px;
    box-shadow: 0 10px 22px rgba(8, 28, 19, 0.10);
}

.playerstats__chartTitle {
    font-size: 13px;
    font-weight: 1000;
    color: var(--text-color);
    margin: 2px 6px 6px 6px;
}

.playerstats__more {
    grid-column: 1 / -1;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.86);
    padding: 10px;
}

.playerstats__moreSummary {
    cursor: pointer;
    color: var(--text-color);
    font-weight: 1000;
    letter-spacing: 0.01em;
    list-style: none;
}

.playerstats__moreSummary::-webkit-details-marker {
    display: none;
}

.playerstats__moreSummary:after {
    content: " +";
    color: var(--text-brand-color);
}

.playerstats__more[open] .playerstats__moreSummary:after {
    content: " -";
}

.playerstats__moreGrid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 860px) {
    .playerstats__moreGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Season Picker (no season selected) */
.season-picker {
    margin-top: 16px;
}

.season-picker__header {
    margin: 12px 0 16px 0;
}

.season-picker__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-color);
}

.season-picker__subtitle {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.4;
}

.season-picker__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.season-card {
    display: block;
    text-decoration: none;
    background:
      radial-gradient(620px 220px at 10% 0%, rgba(22, 163, 74, 0.10), rgba(0, 0, 0, 0) 60%),
      rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 10px 24px rgba(8, 28, 19, 0.10);
}

.season-card:active {
    transform: translateY(1px);
}

.season-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.season-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.season-card__name {
    color: var(--text-color);
    font-weight: 800;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.season-card__badge {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: var(--accent-color);
    padding: 4px 8px;
    border-radius: 999px;
}

.season-card__chevron {
    color: var(--text-muted);
    font-size: 22px;
    line-height: 1;
}

.season-card__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 860px) {
    .season-card__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.season-card__block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 10px;
}

.season-card__block-title {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.season-card__clubs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.season-card__club {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.season-card__club-logo {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    object-fit: contain;
    flex: 0 0 auto;
}

.season-card__club-name {
    color: var(--text-color);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.season-card__player {
    display: flex;
    align-items: center;
    gap: 10px;
}

.season-card__player-photo {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex: 0 0 auto;
}

.season-card__player-meta {
    min-width: 0;
}

.season-card__player-name {
    color: var(--text-color);
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.season-card__muted {
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.35;
}

.more-leagues-btn {
    background: var(--secondary-bg);
    border-radius: 8px;
    padding: 10px;
    min-width: 100px;
    text-align: center;
    cursor: pointer;
    color: var(--text-color);
}

/* Matches index filter bar */
.matches-filterbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(233, 251, 241, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
}

.matches-filterbar__row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0 8px;
    -webkit-overflow-scrolling: touch;
}

.matches-filterbar__btn {
    flex: 0 0 auto;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--secondary-bg);
    color: var(--text-color);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 2.5;
}

.matches-filterbar__btn--tabletop {
    background: #FF5722;
    color: white;
}

.matches-filterbar__chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 10px;
    -webkit-overflow-scrolling: touch;
}

.matches-filterbar__chip {
    flex: 0 0 auto;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--secondary-bg);
    color: var(--text-color);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 220px;
}

.matches-filterbar__chip img {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: #fff;
    padding: 2px;
    object-fit: contain;
    flex: 0 0 18px;
}

.matches-filterbar__chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.matches-filterbar__btn.is-active,
.matches-filterbar__chip.is-active {
    border-color: var(--text-brand-color);
    box-shadow: 0 0 0 1px rgba(61, 255, 138, 0.22), 0 0 18px rgba(94, 231, 255, 0.10);
}

.matches-filterbar__btn--tabletop.is-active {
    border-color: #a90000;
}

/*
 Leagues page (dark, match-card consistent)
*/
.leagues-page {
    padding-bottom: 24px;
}

.leagues-page__hero {
    margin-top: 16px;
    margin-bottom: 20px;
}

.leagues-page__heroHeader {
    border-bottom: 1px solid var(--border-color);
}

.leagues-page__kicker {
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.leagues-page__headline {
    color: var(--text-color);
    font-size: 18px;
    margin-top: 6px;
}

.leagues-page__heroBody {
    padding: 14px 15px 16px;
}

.leagues-page__searchWrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.leagues-page__search {
    flex: 1;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--primary-bg);
    color: var(--text-color);
    outline: none;
}

.leagues-page__search::placeholder {
    color: var(--text-muted);
}

.leagues-page__section {
    margin-top: 18px;
}

.leagues-page__country {
    margin-top: 14px;
}

.leagues-page__countryHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 2px 10px;
}

.leagues-page__countryName {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--text-color);
    opacity: 0.92;
}

.leagues-page__hint {
    color: var(--text-muted);
    font-size: 12px;
}

.leagues-page__featured {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

.leagues-page__featuredCard {
    flex: 0 0 auto;
    width: 140px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--secondary-bg);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-color);
}

.leagues-page__featuredLogo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.leagues-page__featuredLogo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.leagues-page__featuredName {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-color);
}

.leagues-page__featuredMeta {
    font-size: 12px;
    color: var(--text-muted);
}

.leagues-page__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.leagues-page__card {
    margin: 0;
    overflow: hidden;
}

.leagues-page__cardMain {
    display: grid;
    grid-template-columns: 54px 1fr 16px;
    gap: 12px;
    align-items: center;
    padding: 12px 12px 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.leagues-page__logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.leagues-page__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.leagues-page__logoFallback {
    font-weight: 800;
    color: #000;
    font-size: 16px;
}

.leagues-page__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.leagues-page__name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leagues-page__sub {
    font-size: 12px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leagues-page__dot {
    margin: 0 6px;
    opacity: 0.8;
}

.leagues-page__chev {
    color: var(--text-muted);
    font-size: 18px;
    text-align: right;
}

.leagues-page__actions {
    display: flex;
    gap: 10px;
    padding: 10px 12px 12px;
    flex-wrap: wrap;
}

.leagues-page__miniMatches {
    padding: 0 12px 12px;
    display: grid;
    gap: 8px;
}

.leagues-page__miniMatch {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 10px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--primary-bg);
    color: var(--text-color);
}

.leagues-page__miniLabel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.leagues-page__miniBody {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.leagues-page__miniTeams {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leagues-page__clubIcon {
    width: 24px;
    height: 24px;
    border-radius: 99px;
    background: #fff;
    padding: 2px;
    vertical-align: -7px;
    margin-right: 4px;
}

.leagues-page__miniVs {
    color: var(--text-muted);
    font-weight: 800;
    margin: 0 8px;
}

.leagues-page__miniScore {
    color: var(--text-brand-color);
    font-weight: 900;
    margin: 0 6px;
}

.leagues-page__miniTime {
    font-size: 11px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leagues-page__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--primary-bg);
    color: var(--text-color);
    font-size: 12px;
}

.leagues-page__action:hover {
    border-color: var(--text-brand-color);
}

.leagues-page__empty {
    margin: 14px 0 0;
    color: var(--text-muted);
    text-align: center;
    padding: 18px 12px;
    border: 1px dashed var(--border-color);
    border-radius: 12px;
}

@media (min-width: 600px) {
    .leagues-page__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .leagues-page__grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}


/* Upcoming Matches */
.match-card {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin: 30px 0;
}

.match-card.upcoming{
    margin-top: 0 !important;
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
}

.time {
    font-size: 0.8em;
    color: var(--text-muted);
}

.league-logo img {
    width: 48px;
    border-radius: 11px;
    padding: 8px;
    height: 48px;
    background: white;
}

.match-body {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px;
    height: 102px;
}

.team {
    text-align: center;
    flex: 1;
    color: var(--text-color);
}

.team img {
    width: 45px;
    margin-bottom: 5px;
}

.score {
    font-size: 1.5em;
    font-weight: bold;
    width: 60px;
    text-align: center;
}

.countdown {
    font-size: 0.8em;
    color: var(--accent-color);
}

.match-details {
    display: flex;
    flex-direction: row; /* Always side-by-side, even on mobile */
    gap: 15px;
    background: linear-gradient(145deg, rgba(94, 231, 255, 0.08), rgba(61, 255, 138, 0.04));
    padding: 10px 15px;
    border-top: 1px solid var(--border-color);
    justify-content: center;

}

.finished .match-body {
    padding: 15px;
}


.video-highlights {
    flex: 1;
    position: relative;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-color);
}

.video-highlights img {
    display: block;
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 10px;

}

.video-highlights::after {
    content: '►';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5em;
    color: rgba(255, 255, 255, 0.8);
}

.best-player {
    flex: 1;
    /*border: 1px solid var(--border-color);*/
    border-radius: 8px;
    padding: 15px;
    /*background: var(--secondary-bg);*/
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-color);
}

.best-player h4 {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--accent-color);
}

.best-player img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 8px;
}

.player-name {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 5px;
}

.player-rating {
    font-size: 0.9em;
    color: var(--accent-color);
}

.finished-matches-section {
    margin: 20px 0;
}

footer {
    text-align: center;
    padding: 15px;
    font-size: 0.8em;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}
.match-details {
    flex-direction: row;
}


section.upcoming-matches {
    margin-top: 2rem;
}

.padding10{
    padding: 0 10px;
}



.team-match {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 120px;
    text-align: center;
}


.score-match {
    font-size: 4rem;
    font-weight: 700;
    margin: 0 1rem;
}
@media (max-width: 768px) {
    .score-match {
        font-size: 3rem;
        margin: 0 0.5rem;
    }
}
.team-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}
/*
 * 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.
 *



 */


html {
    min-height: 100%;
    background: var(--primary-bg);
}

body{
    font-family: "SN Pro", sans-serif;
    line-height: 1.5;
    min-height: 100svh;
    background:
        radial-gradient(980px 560px at 110% -10%, rgba(22, 163, 74, 0.14), rgba(0,0,0,0) 58%),
        radial-gradient(880px 520px at -10% 110%, rgba(34, 197, 94, 0.12), rgba(0,0,0,0) 62%),
        linear-gradient(180deg, var(--primary-bg), var(--primary-bg));
    color: var(--text-color);

}

/* Bridge span for native search: in DOM for Stimulus/bridge, not visible (trainpush-style). */
.bridge-native-search {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.player-photo {
    width: 50px;
    height: 50px;
    margin-right: 5px;
    border-radius:99px;
    padding: 2px;
    background: white;
}
.player-photo.large {
    width: 128px;
    height: 128px;
}
.player-photo.small {
    width: 32px;
    height: 32px;
}
.more-container {
    margin-right: 0;
    margin-left: 0;
    position: relative;
    overflow-x: hidden;
    overflow-y:hidden ;
}

.header-x{
    overflow: hidden;
    max-width: 777px;
    margin: 0 auto;
}

.more {
    float: left;
    overflow-x: scroll;
    overflow-y:hidden ;
    padding-bottom: 8px;
    width: 100%; /* Adjusted from 102% to 100% */
    margin-bottom: 13px;
    height: 100%;
    /* Clear floats */
    clear: both;
}

.more-2 {
    white-space: nowrap;
    display: inline-block;
    height: 32px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 32px;
    padding: 0 12px;
    border-radius: 16px;
    margin-bottom: 5px;
    margin-right: 5px;
}

.vertical-loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.vertical-loading-spinner .spinner {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-left-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    height: 40px;
    width: 40px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.team-layout {
    position: relative;
    height: auto;
    overflow: hidden;
    background:#044138;
}

.team-layout.away_team{
    height: auto;
    border-top: 3px solid #fff;
    padding-top: 3rem;

}

.position-group {
    display: flex;
    justify-content: center;
    align-content: center;
    text-align: center;
    column-gap: 5px;
    max-width: 100%;
}
.team-statistics{
    border: 1px solid var(--border-color);
    background: var(--secondary-bg);
    margin-top: 18px;
    border-radius: 14px;
    box-shadow: 0 3px 2px rgba(50, 50, 50, 0.17);
    color: var(--text-color);
    padding: 12px;
}

.statistic-row {
    margin-bottom: 10px;
}

.events {
    border: 1px solid var(--border-color);
    background: var(--secondary-bg);
    margin: 30px;
    border-radius: 14px;
    box-shadow: 0 3px 2px rgba(50, 50, 50, 0.17);
    color: var(--text-color);
    padding: 12px;
    height: 326px;
}
.stat-bar {
    position: relative;
    height: 20px;
}

.stat-value {
    position: absolute;
    height: 100%;
}

.stats-team1 {
    left: 0;
    top: 0;
    background-color: #4d3ef8;
    border-bottom-left-radius:10px;
    border-top-left-radius: 10px;

}

.stats-team2 {
    right: 0;
    top: 0;
    background-color: #dcdcdc;
    text-align: right;
    border-bottom-right-radius:10px;
    border-top-right-radius: 10px;
}

.box_matches{
    position: relative;
    background: var(--secondary-bg);
    margin: 30px 0;
    color: var(--text-color);
    padding: 30px 4px;
    border-radius: 4px;
    box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.1),
    0 0 0 1px hsla(230, 13%, 9%, 0.075),
    0 0.3px 0.4px hsla(230, 13%, 9%, 0.02),
    0 0.9px 1.5px hsla(230, 13%, 9%, 0.045),
    0 3.5px 6px hsla(230, 13%, 9%, 0.09);
}

.team_logo{
    width: 42px;
    height: 42px;
}

.team_logo_bg{
    background: rgba(255, 255, 255, 0.92);
    padding: 2px;
    border-radius: 99%;
    width: 84px;
    height: 84px;
}


.leg_index{
    position: absolute;
    top: -13px;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    margin-left: 6px;
}

.leg_index img {
    border-top-right-radius: 4px;
    border-top-left-radius: 5px;
}
.timer_index{
    position: absolute;
    right: 0;
    top: -14px;
    background: var(--secondary-bg);
    border-radius: 10px;
    padding: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.leg_table{
    background: var(--secondary-bg);
    color: var(--text-color);
    margin: 30px 5px;
    padding: 10px;
    border-radius: 20px;
    height: 319px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);

}
.leg-photo{
    width: 80px;
}
.search_results{
    background: var(--secondary-bg);
    box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
    position: absolute;
    z-index: 99;
}

.search-link{
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.search-link a{
    color: var(--text-color);
}
.search-link a:hover{
    text-decoration: underline;
}
.player-info{
    position: relative;
}
.swiper {
    width: 100%;
    height: 300px;
}
.timer_event{
    border-radius: 20px;
    padding: 6px 14px;
    background: var(--primary-bg);
    color: var(--text-color);
}
input#query{
    min-width: 200px;
    border-radius: 50px;
    padding-left: 12px;
    margin-left: -5px;
    margin-top: -6px;
    color: black;
    border: 1px solid #eee;
}
.title{
    font-family: "SN Pro", sans-serif;
    font-size:2rem ;
      font-weight: bold;
    letter-spacing: 1px;

}
.player-container {
    text-align: center;
    margin-bottom: 30px;
}
.player-container image{
    z-index: 999999;
}
.player-name {
    text-align: center;
}

.player-stats-bubble {
    display: inline-block;
    background-color: #f9f9f9;
    color: black;
    border-radius: 4px;
    padding: 3px;
    position: relative;
    text-align: left;
    z-index: 9999;
    box-shadow: 0 3px 2px rgb(50 50 50 / 55%);
}

.player-stats-bubble:after, .player-stats-bubble:before {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.player-stats-bubble:before {
    border-color: rgba(204, 204, 204, 0);
    border-bottom-color: #ccc;
    border-width: 11px;
    margin-left: -13px;
}
.player-stats-bubble:after {
    border-color: rgba(249, 249, 249, 0);
    border-bottom-color: #f9f9f9;
    border-width: 10px;
    margin-left: -12px;
}


.all-po{
    /*background: var(--text-brand-color);*/
}
.stats_player{
    font-size: 12px;
    padding: 4px 3px;
    border-radius: 4px;
    box-shadow: 0px 1px 6px 0.5px rgba(10, 168, 107, 0.18);
    margin: 10px 2px;
}

.center1 {
    position: absolute;
    width: 130px;
    height: 130px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    right: 50%;
    transform: translateX(50%);
}
.center1.away_team {
    margin-top: -67px;
    top: 0;
}
.center1.home_team {
    margin-bottom: -65px;
    bottom: 0;
}

.center1.away_team::after,.center1.home_team::after  {
    background-color: #fff;
    border: 5px solid #fff;
    bottom: 55px;
    content: "";
    left: 55px;
    position: absolute;
    right: 55px;
    top: 55px;
    border-radius: 50%;
}

.pen_area {
    width: 110px;
    height: 220px;
    border: 3px solid #ffffff;
    position: absolute;
    z-index: 220;
    background-color: #044136;

    &.home_team {
        position: absolute;
        left: 50%;
        top: 50px;
        border-left-color: transparent;
        border-left-width: 0;
        transform: translate(-50%, -50%) rotate(90deg);

        &::after {
            border: 3px solid #ffffff;
            border-left: 0 transparent;
            bottom: 45px;
            content: "";
            left: 0;
            position: absolute;
            right: 55px;
            top: 45px;
        }
    }

    &.away_team {
        position: absolute;
        right: 50%;
        bottom: -55px;
        border-right-color: transparent;
        border-right-width: 0;
        transform: translateX(50%) rotate(90deg);


        &::after {
            border: 3px solid #ffffff;
            border-right: 0 transparent;
            bottom: 45px;
            content: "";
            left: 55px;
            position: absolute;
            right: 0;
            top: 45px;
        }
    }
}

.rating-lineup{
    border: 1px solid;
    text-align: center;
    background: #112a24;
    color: white;
    max-width: 40px;
    margin: 0 auto;
    border-radius: 50%;
    height: 26px;
    width: 26px;
    line-height: 1.3;
    margin-bottom: 5px;
    box-shadow: 0 3px 2px rgb(81 130 47);
}

.best-in-match{
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}

.form-w {
    background: green;
    padding: 1px;
    margin: 0 1px;
    color: white;
}

.form-d {
    background: gray;
    padding: 1px;
    margin: 0 1px;
}

.form-l {
    background: red;
    padding: 1px;
    margin: 0 1px;
}

.table-wrapper {
    overflow-x: auto;
    max-width: 100%;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
.container-show{
    width: 70%;
    margin: 0 auto;
    max-width: 1280px;
}
@media (max-width: 767px) {
    .container-show{
        width: 100%;
    }
    .dropdownjs-content {
        right: 0;
    }
        .fixed-column {
        position: sticky;
        z-index: 100;
    }

    .fixed-column.first {
        left: -5px;
    }

    .fixed-column.second {
        left: 25px;
        border-right: 10px solid #eee;
        background: var(--secondary-bg);
    }

    .searchc input[type=search] {
        width: 22px!important;
        padding-left: 15px!important;
        color: transparent!important;
        cursor: pointer!important;
        height: 38px;
        border: none;
        padding: 0;
        z-index: 999;
        position: relative;
        min-width: 10px !important;

    }
    .searchc input::placeholder{
        color: transparent !important;
    }

    .searchc input[type=search]:hover {
        background-color: #fff !important
    }

    .searchc input[type=search]:active, input[type=search]:focus {
        width: 100px !important;
        padding-left: 32px !important;
        color: #000 !important;
        background-color: #fff !important;
        cursor: auto !important

    }


    input[type=search] {
        -webkit-appearance: textfield !important;
        -webkit-box-sizing: content-box !important;
        font-family: inherit !important;
        font-size: 16px !important;

    }

    input::-webkit-search-cancel-button, input::-webkit-search-decoration {
        display: none !important
    }

    input[type=search] {
        background: #fff url(/assets/search-06aaeb85c76e1ffd0e8c98cccbc710af210f7ce011f2f414aa3a8f044bc0fd24.png) no-repeat 9px center !important;
        -moz-border-radius: 10em !important;
        -webkit-transition: all .5s !important;
        -moz-transition: all .5s !important;
        transition: all .5s !important;
        border-radius: 21px !important

    }
    .title{
        font-size: 25px;
    }


}
.searchc input::placeholder{
    color: #ccc;
}
.fix_pages .page{
    display: none;
}
.fix_pages .page.next, .page.prev{
    display: inline-block;
    color: black;
}
.fix_pages .disabled{
    color: #ccc !important;
}
.pagy-nav{
    font-size: 23px;
    display: flex;
    justify-content: space-around;
}

.dropdownjs-content {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 5px 12px 14px #e9ebf780;
    z-index: 9999;
    width: 266px;
    animation-name: openframe;
    animation-duration: 0.1s;
    border-radius: 14px;
}

.dropdownjs-content a {
    color: black;
    padding: 12px 16px !important;
    text-decoration: none;
    display: block;
}

.dropdownjs-content a:hover {
    background-color: #ddd;
}

.show {
    display: block;
}


.substitutes-row{
    background: var(--secondary-bg);
    padding-top: 10px;
    color: var(--text-color);
}


.highest-rating{
    background-color: var(--secondary-bg);
    border:1px solid var(--border-color);
    padding-bottom: 3rem;
    padding-top: 1rem;
    background-position: top;
    background-repeat: repeat-x;
    margin: 3rem 14px 0 14px;
    border-radius: 16px;
    color: var(--text-color);
}
.stats-name{
    display: inline-flex;
    align-items: center;
    margin: 10px;
}
.stats-name img{
    margin-right:4px ;
}
.fix_pages{
    background: white;
    border-radius: 99px;
    box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.1), 0 0 0 1px hsla(230, 13%, 9%, 0.075), 0 0.3px 0.4px hsla(230, 13%, 9%, 0.02), 0 0.9px 1.5px hsla(230, 13%, 9%, 0.045), 0 3.5px 6px hsla(230, 13%, 9%, 0.09);
    margin: 0 auto;
    padding: 10px 47px;
}

.bottom-sheet-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0px -1px 10px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    height: 100%;
    background: #e9e9e9ed;
}
.modal-overall{
    position: fixed;
    bottom: 0;
    padding-top: 5px;
    width: 100%;
    height: 71vh;
    overflow-y: auto;
    background:var(--secondary-bg);
}
.bottom-sheet-modal.open {
    transform: translateY(0);
}

.modal-content {
    padding-top: 5px;
    overflow-y: auto;
    background: var(--primary-bg);
}
.modal-footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
}

.chart {
    background: var(--secondary-bg);
    margin: 6px;
    border-radius: 20px;
    padding: 3px;
    border: 1px solid var(--border-color);
}
.live-tag {
    background-color: #ff3b30;
    color: white;
    padding: 5px 10px;
    margin: 5px 0;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(255, 59, 48, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 59, 48, 0);
    }
    100% {
        box-shadow: 0 0 0 0px rgba(255, 59, 48, 0);
    }
}
.search_fix_s{
    background: black;
    color: white;
    padding: 3px;
}
.search_fix_d{
    background: black;
    color: white;
    padding: 3px;
    margin-left: 8px;
}

.match_summary {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 11px;
    border-radius: 5px;
    color: var(--text-color);
    margin: 20px 13px;
    text-align: left;
    line-height: 2;
}

.match_summary a{
    color: var(--text-brand-color);
    font-weight: bold;
    text-decoration: underline;
}
.title_show{
    font-size: 14px;margin: 0;
}

.top-menu{
    padding-top: 16px;
    padding-bottom: 10px;
    background: #0d5524;
    border: 1px solid #0e4d22;
}

.top-menu a{
    color: white;
}
.center.quick_stats {
    border: 1px solid;
    padding: 15px 0;
    height: 158px;
}

.stats_bar{
    color: var(--text-color);
}

.stats_bar.active{
    border-bottom:1px solid var(--accent-color) ;

}

#no_show.vertical-loading-spinner{
    display: none ;
}
turbo-frame[busy] #no_show.vertical-loading-spinner {
    display: flex;
}
turbo-frame[busy] #player-stats-dash {
    display: none;
}
.flex-center{
    display: flex;
    align-items: center;
}
.search-res img{
    margin-right: 3px;
}

.top_scorers{
    margin: 10px 10px;
    border-radius: 20px;
    padding: 19px 0;
}
.top_scorers .assist{
    display: inline-flex;align-items: center; margin-top: 5px
}
.index_stats{
    color: var(--text-muted); font-size: 13px; margin-bottom: 9px
}

.score {
    font-size: 1.3em;
    font-weight: bold;
    width: 60px;
    text-align: center;
    color: var(--text-color);
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 1.5rem 0;
    color: var(--text-color);
    line-height: 1.2;
}

.breadcrumbs {
    font-size: 0.875rem;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.clip-btn{
    clip-path: polygon(5% 10%, 46% 1%, 46% 15%, 100% 0, 95% 90%, 31% 100%, 31% 90%, 0% 100%);
}

.clip-btn-2{
    clip-path: polygon(5% 10%, 37% 1%, 46% 6%, 104% 0, 100% 96%, 42% 100%, 25% 92%, 0% 101%);
}





/* app/assets/stylesheets/auth.css (or auth.scss) */
.auth{
    /* Auth screens: mint theme */
    --bg: var(--primary-bg);
    --card: rgba(255,255,255,.92);
    --cardBorder: var(--border-color);
    --text: var(--text-color);
    --muted: var(--text-muted);
    --inputBg: rgba(255,255,255,.92);
    --inputBorder: var(--border-color);
    --focus: rgba(22, 163, 74, .18);
    --primary: var(--accent-color);
    --primaryHover: #12843c;
    --shadow: 0 18px 60px rgba(8,28,19,.18);
}
.auth{
    margin:0 auto ;
}
.auth__card{
    width: 100%;
    max-width: 440px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 28px;
    backdrop-filter: blur(14px);
    margin: 0 auto;
}

.auth__header{ margin-bottom: 18px; }
.auth__title{
    margin: 0 0 6px 0;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -.02em;
}
.auth__subtitle{
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.auth__form{ margin-top: 14px; }

.auth__field{ margin-top: 14px; }
.auth__labelRow{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.auth__label{
    display: inline-block;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--muted);
}

.auth__hint{
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
}

.auth__input{
    width: 100%;
    height: 44px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--inputBorder);
    background: white;
    color: var(--text);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.auth__input::placeholder{ color: rgba(11, 31, 20, .35); }

.auth__input:focus{
    border-color: rgba(22, 163, 74, .55);
    box-shadow: 0 0 0 4px var(--focus);
    background: rgba(255,255,255,.98);
}

.auth__password{
    position: relative;
    display: grid;
    align-items: center;
}

.auth__input--password{
    padding-right: 78px;
}

.auth__toggle{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid var(--inputBorder);
    background: rgba(255,255,255,.92);
    color: var(--muted);
    font-size: 12px;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.auth__toggle:hover{
    background: rgba(255,255,255,.98);
    border-color: rgba(22, 163, 74, .35);
    color: var(--text);
}

.auth__row{
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.auth__check{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    user-select: none;
}

.auth__checkbox{
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.auth__actions{ margin-top: 18px; }

.auth__button{
    width: 100%;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(22, 163, 74, .35);
    background: linear-gradient(180deg, rgba(22, 163, 74, 1), rgba(18, 132, 60, 1));
    color: white;
    font-weight: 600;
    letter-spacing: .01em;
    cursor: pointer;
    transition: transform .06s ease, filter .15s ease;
}

.auth__button:hover{ filter: brightness(1.05); }
.auth__button:active{ transform: translateY(1px); }

.auth__links{
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--cardBorder);
    color: var(--muted);
    font-size: 13px;
}

.auth__links--danger{
    margin-top: 20px;
}

.auth__dangerTitle{
    margin: 0 0 6px 0;
    font-size: 14px;
    color: #ffd2d2;
}

.auth__dangerText{
    margin: 0 0 10px 0;
    color: var(--muted);
}

.auth__button--danger{
    border-color: rgba(255, 74, 74, .45);
    background: linear-gradient(180deg, rgba(255, 74, 74, .95), rgba(190, 36, 36, .95));
}

.auth__links a{
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px dashed rgba(22, 163, 74, .25);
}

.auth__links a:hover{
    border-bottom-color: rgba(22, 163, 74, .55);
}

@media (max-width: 420px){
    .auth__card{ padding: 22px; border-radius: 16px; }
    .auth__title{ font-size: 24px; }
}
[data-platform~="native"] {
    --footer-height: 0;
    -webkit-tap-highlight-color: transparent;
}

[data-platform~="native"] .hide-on-native {
    display: none !important;
}
