/* Game translation TOP (translations.html). Scoped to gt-* classes and the page's [data-view] sections. */

.gt-page-title {
  margin: 0.4em 0 0.2em;
  font-size: xx-large;
  font-weight: normal;
}

.gt-back {
  margin: 0 0 1em;
  font-size: smaller;
}

/* View switcher */
.gt-views {
  margin: 0 0 1.4em;
  padding: 4px 4px;
  border-top: 1px solid #c8c0dc;
  border-bottom: 1px solid #c8c0dc;
}

.gt-views a {
  margin: 0 0.2em;
}

.gt-views a[aria-current="page"] {
  color: #404070;
  font-weight: bold;
  text-decoration: none;
}

section[data-view][hidden] {
  display: none;
}

.gt-section {
  margin: 0 0 1.8em;
}

.gt-section__title {
  margin: 0 0 0.5em;
  padding: 0 0 2px 4px;
  border-bottom: 1px solid #c8c0dc;
  color: #404070;
  font-size: large;
  font-weight: normal;
}

.gt-section__title:focus {
  outline: none;
}

/* Common notice box for the notices view (currently unused; kept for future site-wide notices). */
.gt-common-notice {
  margin: 0 0 1em 1em;
  padding: 6px 10px;
  border-left: 3px solid #aaa0c0;
  background: #faf8fc;
  font-size: smaller;
}

.gt-common-notice p {
  margin: 0;
}

.gt-message {
  margin: 0;
  padding-left: 1em;
}

.gt-message--error {
  color: #700;
}

/* General game list */
.gt-developer {
  margin: 0 0 1.2em;
}

.gt-developer__name {
  display: inline;
  margin: 0;
  font: inherit;
  font-weight: bold;
}

.gt-developer__links {
  font-size: smaller;
}

.gt-work {
  margin: 0.4em 0 1em 1em;
  padding: 0 0 0.8em;
  border-bottom: 1px dotted #aaa0c0;
}

.gt-work:last-child {
  border-bottom: 0;
}

.gt-work__title {
  margin: 0;
  font: inherit;
  font-weight: normal;
}

.gt-work__meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1em;
  row-gap: 2px;
  margin: 0.3em 0 0 1em;
}

.gt-work__meta dt {
  color: #404070;
}

.gt-work__meta dd {
  margin: 0;
}

.gt-work__description {
  margin: 0.4em 0 0 1em;
}

.gt-block {
  margin: 0.6em 0 0 1em;
}

.gt-block__title {
  margin: 0 0 2px;
  color: #404070;
  font: inherit;
  font-weight: normal;
}

.gt-block ol,
.gt-block ul {
  margin: 0;
  padding-left: 2em;
}

.gt-block li {
  margin: 0 0 2px;
}

.gt-block--notices ul {
  list-style: "※ ";
}

.gt-block--credits {
  font-size: smaller;
}

/* Fold for install steps and credits (native <details>/<summary>). */
.gt-details {
  margin: 0.6em 0 0 1em;
}

.gt-details__summary {
  color: #404070;
  cursor: pointer;
}

.gt-details__summary:hover {
  text-decoration: underline;
}

.gt-details .gt-block {
  margin-top: 0.3em;
}

.gt-status--preparing,
.gt-status--discontinued {
  color: #666;
}
