/* Additions for GDCH List on top of the pointercrate styles. */

.logo-text {
  font-family: "Bebas Neue", "Oswald", Impact, sans-serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--color-text);
  display: inline-block;
}

.logo-text span {
  color: var(--color-pc-button-bg);
  font-size: 0.62em;
  margin-left: 3px;
}

/* The original sets these heights with a script; CSS does the same job. */
.ratio-16-9 {
  aspect-ratio: 16 / 9;
}

iframe.ratio-16-9 {
  display: block;
  height: auto;
  border: 0;
}

@media (min-width: 768px) {
  .thumb.ratio-16-9 {
    align-self: flex-start;
    height: auto;
  }
}

.thumb {
  background-position: center;
}

.nav-group a[data-lang] {
  cursor: pointer;
}

#language-selector .flag-icon,
#stats-viewer-pagination .flag-icon {
  vertical-align: middle;
}

/* Lists in the admin area look like the stats viewer's. */
.paginator li i {
  padding-left: 5px;
  font-size: 70%;
  font-variant: small-caps;
}

html[data-theme="dark"] #stats-viewer-pagination li i {
  color: var(--color-text);
  opacity: 0.8;
}

.paginator .button.small {
  cursor: pointer;
}

.paginator .button.small.disabled {
  cursor: not-allowed;
}

.selection-list li.active {
  background-color: var(--color-unobstrusive-button-bg-hover);
}

/* Position history chart */
.position-chart {
  margin: 10px 5% 20px;
}

.position-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

.chart-grid {
  stroke: var(--color-border);
  stroke-dasharray: 2 2;
}

.chart-label {
  fill: var(--color-text);
  opacity: 0.7;
  font-size: 12px;
}

.chart-line {
  fill: none;
  stroke: #0881c6;
  stroke-width: 3;
}

.chart-point {
  fill: #0881c6;
}

/* Guidelines */
.guideline-list {
  list-style: disc outside;
  padding-left: 25px;
  text-align: left;
}

.guideline-list li {
  margin: 10px 0;
}

/* Admin area */
.account-status {
  text-align: right;
  font-size: 0.8em;
  padding: 10px 10px 0;
  box-sizing: border-box;
}

.tab-content label {
  font-style: italic;
  font-size: 90%;
}

.tab-content .right .form-input input,
.tab-content .right .form-input textarea {
  width: 100%;
}

#record-manager h3 .dropdown-menu,
#record-manager h2 .dropdown-menu,
#statsviewer h2 .dropdown-menu {
  text-align: left;
}

#demon-manager .form-input input,
#player-manager .form-input input {
  width: 100%;
}

.form-input .dropdown-menu {
  width: 100%;
}

td .button.small {
  display: inline-flex;
  line-height: 1.4em;
  text-indent: 0;
  margin: 3px 0;
}

/* Long player names must not stretch the layout */
#player-name span {
  overflow-wrap: anywhere;
}
