.game-media {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(207, 221, 118, .24);
  background:
    linear-gradient(100deg, rgba(207, 221, 118, .07), transparent 26rem),
    rgba(7, 10, 10, .55);
}

.game-media-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
}

.game-media-heading > span,
.game-media-heading b,
.game-media-heading strong {
  display: block;
}

.game-media-heading > span > i {
  display: block;
  margin-top: 4px;
  color: #9ca8a1;
  font-size: 9px;
  font-style: normal;
}

.game-media-heading b {
  color: #cfdd76;
  font: 900 7px Arial, sans-serif;
  letter-spacing: .17em;
}

.game-media-heading strong {
  margin-top: 3px;
  color: #f4efe2;
  font-size: 11px;
}

.game-media-heading > small {
  color: #8f9b94;
  font-size: 8px;
  white-space: nowrap;
}

.game-media-content {
  min-width: 0;
}

.game-media-guide {
  margin: 0 0 14px;
  color: #b3beb7;
  font-size: 11px;
  line-height: 1.7;
}

.game-terrain-community {
  display: grid;
  grid-template-columns: max-content max-content max-content minmax(120px, 1fr);
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid rgba(183, 194, 187, .25);
  background:
    linear-gradient(90deg, rgba(63, 98, 76, .28), transparent 52%),
    rgba(14, 21, 19, .86);
  color: #e8eee9;
}

.game-terrain-community.is-river {
  border-color: rgba(88, 184, 218, .54);
}

.game-terrain-community.is-land {
  border-color: rgba(224, 174, 72, .56);
}

.game-terrain-community-current,
.game-terrain-community-counts,
.game-terrain-community-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.game-terrain-community-current > small,
.game-terrain-community-actions > small {
  color: #9faa9f;
  font: 800 7px Arial, sans-serif;
  letter-spacing: .1em;
}

.game-terrain-community-current strong {
  font-size: 11px;
  white-space: nowrap;
}

.game-terrain-community-current strong b {
  color: #fff1ae;
  font-size: 14px;
}

.game-terrain-community-current i {
  padding: 2px 5px;
  color: #cad5cf;
  border: 1px solid rgba(202, 213, 207, .2);
  font-size: 8px;
  font-style: normal;
  white-space: nowrap;
}

.game-terrain-community-counts b {
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 10px;
  white-space: nowrap;
}

.game-terrain-community-counts b.is-river {
  color: #8fddf7;
  background: rgba(35, 112, 145, .26);
}

.game-terrain-community-counts b.is-land {
  color: #f5c76b;
  background: rgba(145, 94, 25, .25);
}

.game-terrain-community-counts em,
.game-terrain-community-counts small {
  font-style: normal;
}

.game-terrain-community-counts small {
  color: #aab5ae;
  font-size: 8px;
}

.game-terrain-community-actions button {
  min-width: 38px;
  padding: 5px 10px;
  color: #e9efeb;
  background: #28332f;
  border: 1px solid #5a6962;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.game-terrain-community-actions button:hover {
  filter: brightness(1.18);
}

.game-terrain-community-actions button.is-selected {
  color: #172018;
  background: #d9e67e;
  border-color: #f1f6b9;
  box-shadow: 0 0 0 1px rgba(217, 230, 126, .25);
}

.game-terrain-community-actions button:disabled {
  cursor: wait;
  opacity: .55;
}

.game-terrain-community-note {
  color: #9ba69f;
  font-size: 8px;
  line-height: 1.4;
}

.game-terrain-community-status {
  grid-column: 1 / -1;
  min-height: 0;
  color: #cfd97e;
  font-size: 9px;
}

.game-terrain-community-status:empty {
  display: none;
}

.game-terrain-community-status.is-error {
  color: #ff9f8d;
}

.game-correction-request {
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(360px, 1.3fr);
  gap: 8px 14px;
  margin: -3px 0 10px;
  padding: 9px 10px;
  color: #e8eee9;
  background: rgba(17, 25, 22, .9);
  border: 1px solid rgba(173, 190, 180, .28);
}

.game-correction-request-head {
  display: grid;
  align-content: center;
  gap: 2px;
}

.game-correction-request-head small {
  color: #e0b75e;
  font: 900 7px/1 Arial, sans-serif;
  letter-spacing: .14em;
}

.game-correction-request-head strong { font-size: 11px; }
.game-correction-request-head span {
  color: #9faa9f;
  font-size: 8px;
  line-height: 1.45;
}

.game-correction-request form {
  display: grid;
  grid-template-columns: max-content minmax(160px, 1fr) max-content;
  align-items: stretch;
  gap: 7px;
  margin: 0;
}

.game-correction-request-types {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
}

.game-correction-request-types label {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  color: #dce5df;
  background: #28332f;
  border: 1px solid #52615a;
  font-size: 8px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.game-correction-request-types input { margin: 0; accent-color: #d9e67e; }

.game-correction-request-comment {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 6px;
}

.game-correction-request-comment > span {
  color: #aeb9b2;
  font-size: 8px;
  font-weight: 800;
}

.game-correction-request textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  max-height: 120px;
  padding: 6px 7px;
  color: #18201c;
  background: #f5f2e8;
  border: 1px solid #88968f;
  font: 10px/1.35 Arial, sans-serif;
  resize: vertical;
}

.game-correction-request form > button {
  padding: 6px 10px;
  color: #172018;
  background: #d9e67e;
  border: 1px solid #f1f6b9;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.game-correction-request form > button:hover { filter: brightness(1.08); }
.game-correction-request form > button:disabled { cursor: wait; opacity: .55; }

.game-correction-request-status {
  grid-column: 1 / -1;
  min-height: 0;
  color: #cbd777;
  font-size: 9px;
}

.game-correction-request-status:empty { display: none; }
.game-correction-request-status.is-error { color: #ff9f8d; }
.game-correction-request-status.is-success { color: #cbd777; }

.game-media-upload {
  display: grid;
  grid-template-columns: minmax(180px, .65fr) minmax(360px, 1.35fr);
  gap: 12px 18px;
  margin: 10px 0;
  padding: 13px;
  color: #e9eee9;
  background: linear-gradient(135deg, #17221e, #101816);
  border: 1px solid #526258;
  border-left: 3px solid #69a9c3;
}
.game-media-upload-head small,
.game-media-upload-head strong,
.game-media-upload-head span { display: block; }
.game-media-upload-head small { color: #91bdcf; font-size: 7px; font-weight: 900; letter-spacing: .12em; }
.game-media-upload-head strong { margin-top: 3px; font-size: 11px; }
.game-media-upload-head span { margin-top: 5px; color: #aebbb4; font-size: 8px; line-height: 1.55; }
.game-media-upload-wanted {
  display: grid;
  gap: 3px;
  margin: 8px 0 0;
  padding: 0;
  color: #c9d2cc;
  font-size: 8px;
  line-height: 1.45;
  list-style: none;
}
.game-media-upload-wanted li { position: relative; padding-left: 11px; }
.game-media-upload-wanted li::before {
  position: absolute;
  left: 0;
  color: #cbdc72;
  content: "◆";
}
.game-media-upload-wanted b { color: #eef2e9; }
.game-media-upload form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 7px;
  align-items: end;
}
.game-media-upload label > span { display: block; margin-bottom: 3px; color: #bcc9c1; font-size: 7px; font-weight: 900; }
.game-media-upload input[type="file"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 34px;
  padding: 6px;
  color: #17201c;
  background: #f6f2e8;
  border: 1px solid #7a8c82;
  font-size: 9px;
}
.game-media-upload form > button,
.game-media-crop button {
  min-height: 34px;
  padding: 7px 12px;
  color: #152016;
  background: #cbdc72;
  border: 0;
  font-size: 8px;
  font-weight: 900;
  cursor: pointer;
}
.game-media-upload form > button:disabled { cursor: wait; opacity: .55; }
.game-media-crop { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid #3d4b44; }
.game-media-crop[hidden] { display: none; }
.game-media-crop p { display: flex; gap: 9px; align-items: baseline; margin: 0 0 7px; }
.game-media-crop p strong { font-size: 9px; }
.game-media-crop p span { color: #aebbb4; font-size: 8px; }
.game-media-crop > div { overflow: auto; max-height: 54vh; background: #060908; border: 1px solid #46534c; }
.game-media-crop canvas { display: block; max-width: 100%; height: auto; cursor: crosshair; touch-action: none; }
.game-media-crop > span { display: flex; gap: 6px; margin-top: 6px; }
.game-media-crop button:first-child { color: #e4ebe5; background: #45564d; }
.game-media-upload-status { grid-column: 1 / -1; min-height: 15px; color: #bfc9c2; font-size: 8px; font-weight: 800; }
.game-media-upload-status.is-success { color: #d4e77c; }
.game-media-upload-status.is-error { color: #ff9f8d; }

@media (max-width: 760px) {
  .game-terrain-community {
    grid-template-columns: 1fr auto;
    gap: 7px 10px;
  }

  .game-terrain-community-counts {
    justify-self: end;
  }

  .game-terrain-community-actions,
  .game-terrain-community-note {
    grid-column: 1 / -1;
  }

  .game-correction-request { grid-template-columns: 1fr; }
  .game-media-upload { grid-template-columns: 1fr; }
  .game-media-upload form { grid-template-columns: 1fr 1fr; }
  .game-media-upload form > button { grid-column: 1 / -1; }
  .game-correction-request form {
    grid-template-columns: 1fr max-content;
  }
  .game-correction-request-types {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }
  .game-correction-request-comment {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (max-width: 430px) {
  .game-correction-request form { grid-template-columns: 1fr; }
  .game-correction-request form > button { min-height: 38px; }
  .game-media-upload form { grid-template-columns: 1fr; }
  .game-media-upload form > button { grid-column: auto; }
}

.game-media-screen-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 6px;
  background:
    linear-gradient(180deg, rgba(64, 74, 71, .92), rgba(23, 29, 27, .96));
  border: 1px solid #57635e;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 4px 12px rgba(0, 0, 0, .18);
}

.game-media-screen-tabs > span {
  padding: 0 7px;
  color: #d6deaa;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.game-media-screen-tabs button {
  min-width: 72px;
  padding: 7px 12px;
  color: #e8eee9;
  background:
    linear-gradient(180deg, #3a7187, #244a5d);
  border: 1px solid #6c8e9a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
  font: 900 10px/1.1 Arial, sans-serif;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}

.game-media-screen-tabs button:hover {
  filter: brightness(1.12);
}

.game-media-screen-tabs button[aria-selected="true"] {
  color: #21170a;
  background: linear-gradient(180deg, #dcb45a, #aa7629);
  border-color: #f0ce78;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    0 0 0 1px rgba(11, 14, 13, .55);
  transform: translateY(-1px);
}

.game-media-screen-tabs button:focus-visible {
  outline: 2px solid #eef4c4;
  outline-offset: 2px;
}

.game-media-strip {
  display: grid;
  grid-auto-columns: minmax(142px, 1fr);
  grid-auto-flow: column;
  gap: 7px;
  overflow-x: auto;
  padding: 0 0 5px;
  scroll-snap-type: x proximity;
  scrollbar-color: #738157 #171b19;
}

.game-media-card {
  position: relative;
  min-width: 142px;
  overflow: hidden;
  background: #141a19;
  color: #f4efe2;
  border: 1px solid #3c4943;
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color .15s ease, transform .15s ease;
}

.game-media-card:hover {
  z-index: 2;
  border-color: #cfdd76;
  transform: translateY(-2px);
}

.game-media-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #090b0b;
}

.game-media-type-minimap .game-media-image {
  background:
    radial-gradient(ellipse at center, rgba(68, 104, 78, .42), transparent 65%),
    #090b0b;
}

.game-media-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.game-media-data-preview {
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 80px;
  padding: 8px;
  overflow: hidden;
  color: #d5ddd7;
  background:
    linear-gradient(135deg, rgba(207, 221, 118, .06), transparent 55%),
    #101512;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 7px;
  line-height: 1.45;
}

.game-media-data-preview > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-media-data-preview b {
  color: #cfdd76;
}

.game-media-data-preview small {
  display: block;
  overflow: hidden;
  color: #bfc9c3;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-media-caption {
  display: block;
  min-height: 52px;
  padding: 7px 8px;
}

.game-media-caption strong,
.game-media-caption small,
.game-media-caption i {
  display: block;
}

.game-media-caption strong {
  font-size: 12px;
}

.game-media-caption small {
  margin-top: 3px;
  overflow: hidden;
  color: #9da7a1;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-media-caption i {
  margin-top: 4px;
  color: #cfdd76;
  font-size: 10px;
  font-style: normal;
}

.game-media-terrain {
  display: flex !important;
  align-items: center;
  gap: 7px;
  margin-top: 8px !important;
  color: #d9e2dc !important;
}

.game-media-terrain > span {
  color: #99a59e;
  font-size: 9px;
}

.game-media-terrain > b {
  display: inline-grid;
  min-width: 34px;
  min-height: 25px;
  padding: 3px 8px;
  place-items: center;
  color: #13221c;
  background: #c8d889;
  border-radius: 3px;
  font-size: 13px;
  line-height: 1;
}

.game-media-terrain.is-river > b {
  color: #102027;
  background: #75c9e6;
}

.game-media-terrain.is-unknown > b {
  color: #d7ddd9;
  background: #536059;
}

.game-media-terrain > small {
  margin: 0;
  color: #9caaa2;
  font-size: 9px;
}

.game-media-terrain > small.is-mismatch {
  color: #efbd72;
}

.game-media-data-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  background: linear-gradient(90deg, rgba(207, 221, 118, .12), transparent);
  border-bottom: 1px solid #3a4740;
}

.game-media-data-heading span,
.game-media-data-heading strong,
.game-media-data-heading small {
  display: block;
}

.game-media-data-heading strong {
  color: #f6f1e5;
  font-size: 15px;
}

.game-media-data-heading small {
  margin-top: 3px;
  color: #aeb9b3;
  font-size: 10px;
}

.game-media-data-heading i {
  flex: 0 0 auto;
  color: #cfdd76;
  font-size: 10px;
  font-style: normal;
}

.game-media-data-heading .game-media-data-meta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.game-media-data-meta > b {
  padding: 4px 7px;
  color: #e7d38c;
  background: rgba(142, 97, 31, .26);
  border: 1px solid rgba(216, 174, 84, .46);
  font-size: 8px;
  white-space: nowrap;
}

.game-media-data-meta a {
  padding: 5px 8px;
  color: #dce6df;
  background: #2b3731;
  border: 1px solid #48574f;
  font-size: 9px;
  font-weight: 800;
  text-decoration: none;
}

.game-media-data-meta a:hover {
  color: #101410;
  background: #cfdd76;
  border-color: #cfdd76;
}

.game-media-table-wrap,
.game-media-roster-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-color: #738157 #171b19;
}

.game-media-stats-table,
.game-media-roster table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  color: #e4e9e5;
  font-size: 13px;
}

.game-media-stats-table th,
.game-media-stats-table td,
.game-media-roster th,
.game-media-roster td {
  padding: 10px 12px;
  border-right: 1px solid #303b35;
  border-bottom: 1px solid #303b35;
  text-align: right;
  white-space: nowrap;
}

.game-media-stats-table thead th,
.game-media-roster thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: #dbe7a6;
  background: #26302b;
  font-size: 11px;
  font-weight: 900;
}

.game-media-stats-table th:first-child,
.game-media-stats-table td:first-child,
.game-media-roster th:first-child,
.game-media-roster td:first-child {
  text-align: left;
}

.game-media-stats-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 150px;
  color: #f5f0e3;
  background: #18201d;
  text-align: left;
}

.game-media-stats-table tbody tr:nth-child(even) td,
.game-media-roster tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, .025);
}

.game-media-stats-table tbody tr:hover td,
.game-media-stats-table tbody tr:hover th,
.game-media-roster tbody tr:hover {
  background: #26312b;
}

.game-media-stats-table tbody th > small {
  display: inline-block;
  min-width: 24px;
  margin-right: 6px;
  color: #cfdd76;
  font-size: 9px;
}

.game-media-stats-table td.is-derived {
  color: #f0e2aa;
  background: rgba(151, 108, 39, .14);
  font-weight: 900;
}

.game-media-stats-table td.is-derived > small {
  display: inline-block;
  margin-right: 4px;
  padding: 1px 3px;
  color: #2a1d09;
  background: #d7b760;
  font-size: 7px;
  font-weight: 900;
  line-height: 1.2;
  vertical-align: 1px;
}

.game-media-stats-table a,
.game-media-stats-table b {
  color: #f5f0e3;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.game-media-stats-table a:hover {
  color: #cfdd76;
}

.game-media-ocr-table {
  min-width: 0;
}

.game-media-ocr-table td {
  text-align: left;
  white-space: normal;
}

.game-media-roster {
  margin-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.game-media-roster summary {
  padding: 8px 2px 2px;
  color: #b8c2bd;
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
}

.game-media-roster > div {
  margin-top: 7px;
}

.game-media-roster tbody tr.is-observed {
  box-shadow: inset 3px 0 0 #cfdd76;
}

.game-media-roster a {
  color: #f3ecdd;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.game-media-roster tbody td:first-child {
  color: #cfdd76;
  font-weight: 900;
}

.recent-game > .game-media {
  grid-column: 1 / -1;
  margin: 3px 0 0;
}

.recent-game > .game-media .game-media-strip {
  grid-auto-columns: 132px;
}

.recent-game > .game-media .game-media-data-card {
  width: min(760px, calc(100vw - 64px));
  min-width: min(760px, calc(100vw - 64px));
}

.recent-game > .game-media .game-media-roster {
  display: none;
}

.recent-game > .game-media-user {
  padding: 0;
  overflow: hidden;
  border-color: #526159;
  background: #111714;
  box-shadow: 0 6px 18px rgba(35, 29, 18, .14);
}

.game-media-user .game-media-heading {
  align-items: center;
  margin: 0;
  padding: 11px 14px;
  background:
    linear-gradient(90deg, rgba(207, 221, 118, .11), transparent 36rem),
    #1a231f;
  border-bottom: 1px solid #46554d;
}

.game-media-user .game-media-heading strong {
  color: #f6f1e5;
  font-size: 14px;
}

.game-media-user .game-media-heading > small {
  padding: 5px 8px;
  color: #dce5df;
  background: #29352f;
  border: 1px solid #4e5d55;
  font-size: 9px;
}

.game-media-user .game-media-content {
  padding: 12px;
}

.game-media-user .game-media-screen-tabs {
  width: 100%;
  margin-bottom: 9px;
}

.game-media-user .game-media-strip {
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
  grid-template-areas:
    "minimap statistics"
    "timeline statistics";
  align-items: start;
  gap: 9px;
  overflow: visible;
  padding: 0;
}

.game-media-user .game-media-type-minimap {
  grid-area: minimap;
}

.game-media-user .game-media-type-timeline {
  grid-area: timeline;
}

.game-media-user [data-game-media-panel] {
  grid-area: statistics;
  width: 100%;
  max-width: none;
  min-width: 0;
}

.game-media-user [data-game-media-panel][hidden] {
  display: none !important;
}

.recent-game > .game-media-user .game-media-data-card {
  width: 100%;
  min-width: 0;
}

.game-media-user .game-media-card {
  min-width: 0;
  border-color: #46544d;
}

.game-media-user .game-media-data-card {
  box-shadow: 0 4px 13px rgba(0, 0, 0, .16);
}

.game-media-user .game-media-data-heading {
  min-height: 56px;
  padding: 9px 11px;
}

.game-media-user .game-media-data-heading strong {
  font-size: 13px;
}

.game-media-user .game-media-stats-table {
  min-width: 660px;
  font-size: 11px;
}

.game-media-user .game-media-stats-table th,
.game-media-user .game-media-stats-table td {
  padding: 8px 9px;
}

.game-media-user .game-media-stats-table thead th {
  font-size: 10px;
}

.game-media-user .game-media-stats-table tbody th {
  min-width: 126px;
}

.game-media-user .game-media-stats-table a,
.game-media-user .game-media-stats-table b {
  font-size: 11px;
}

.game-media-user .game-media-strip:not(:has(.game-media-type-minimap)) {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "statistics"
    "timeline";
}

.game-media-user .game-media-strip:not(:has(.game-media-type-timeline)) {
  grid-template-areas: "minimap statistics";
}

.game-media-user
  .game-media-strip:not(:has(.game-media-type-minimap)):not(:has(.game-media-type-timeline)) {
  grid-template-areas: "statistics";
}

.game-media-home {
  padding: 0;
  border-color: rgba(207, 221, 118, .38);
  background:
    linear-gradient(105deg, rgba(207, 221, 118, .09), transparent 30rem),
    #0e1412;
  box-shadow: inset 3px 0 0 rgba(207, 221, 118, .72);
}

.game-media-home > summary {
  list-style: none;
  cursor: pointer;
}

.game-media-home > summary::-webkit-details-marker {
  display: none;
}

.game-media-home .game-media-heading {
  align-items: center;
  min-height: 74px;
  margin: 0;
  padding: 9px 12px;
  transition: background-color .15s ease;
}

.game-media-home .game-media-heading:hover {
  background: rgba(207, 221, 118, .055);
}

.game-media-heading > .game-media-heading-previews {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
}

.game-media-heading-preview {
  flex: 0 0 94px;
  width: 94px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #070909;
  border: 1px solid #4c5d53;
}

.game-media-heading-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.game-media-home .game-media-heading-title {
  flex: 1 1 auto;
  min-width: 0;
}

.game-media-home .game-media-heading-title > b {
  color: #cfdd76;
  font: 900 7px Arial, sans-serif;
  letter-spacing: .17em;
}

.game-media-home .game-media-heading-title > strong {
  margin-top: 3px;
  color: #f4efe2;
  font-size: 14px;
}

.game-media-home .game-media-heading-title > i {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #8f9b94;
  font-size: 8px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-media-home .game-media-heading-count {
  flex: 0 0 auto;
  min-width: 92px;
  padding: 6px 10px;
  text-align: center;
  background: #171f1b;
  border: 1px solid #3b493f;
}

.game-media-home .game-media-heading-count > b {
  color: #cfdd76;
  font: 900 17px Arial, sans-serif;
  letter-spacing: -.03em;
}

.game-media-home .game-media-heading-count > small {
  display: block;
  margin-top: 2px;
  color: #87938c;
  font-size: 7px;
  white-space: nowrap;
}

.game-media-toggle {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-width: 118px;
  justify-content: flex-end;
  color: #e4e8d0;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.game-media-toggle span {
  font-size: 0;
}

.game-media-toggle span::after {
  content: "解析データを見る";
  font-size: 8px;
}

.game-media-toggle > b {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #101410;
  background: #cfdd76;
  border-radius: 50%;
  font: 900 14px Arial, sans-serif;
  transition: transform .18s ease;
}

.game-media-home[open] .game-media-toggle span::after {
  content: "閉じる";
}

.game-media-home[open] .game-media-toggle > b {
  transform: rotate(45deg);
}

.game-media-home .game-media-content {
  padding: 13px 14px 14px;
  border-top: 1px solid #344138;
  background: #0c1210;
}

.game-media-home[open] > .game-media-mount {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  align-items: flex-start;
  padding: 16px;
  overflow: auto;
  overscroll-behavior: contain;
  background: rgba(3, 6, 5, .82);
}

.game-media-home[open] > .game-media-mount > .game-media-content {
  box-sizing: border-box;
  width: min(1600px, 100%);
  max-height: calc(100vh - 32px);
  margin: auto;
  overflow: auto;
  border: 1px solid #5b6a61;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, .58),
    inset 0 1px 0 rgba(255, 255, 255, .05);
}

.game-media-home[open] > .game-media-mount > .game-media-loading {
  margin: auto;
  background: #101713;
  border: 1px solid #526159;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
}

.game-media-overlay-bar {
  position: sticky;
  z-index: 8;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: -13px -14px 12px;
  padding: 10px 14px;
  background:
    linear-gradient(90deg, rgba(207, 221, 118, .12), transparent 34rem),
    #17201c;
  border-bottom: 1px solid #46564d;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .22);
}

.game-media-overlay-bar span,
.game-media-overlay-bar b,
.game-media-overlay-bar strong {
  display: block;
}

.game-media-overlay-bar span > b {
  color: #cfdd76;
  font: 900 7px Arial, sans-serif;
  letter-spacing: .17em;
}

.game-media-overlay-bar span > strong {
  margin-top: 2px;
  color: #f4efe2;
  font-size: 13px;
}

.game-media-overlay-bar > button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px 6px 12px;
  color: #f0f3ef;
  background: #2c3933;
  border: 1px solid #596960;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

.game-media-overlay-bar > button:hover {
  color: #121711;
  background: #cfdd76;
  border-color: #cfdd76;
}

.game-media-overlay-bar > button > b {
  font-size: 15px;
  line-height: 1;
}

.game-media-mount {
  min-height: 56px;
}

.game-media-loading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 18px;
  color: #b7c2bb;
  font-size: 11px;
}

.game-media-loading i {
  width: 14px;
  height: 14px;
  border: 2px solid #58665e;
  border-top-color: #cfdd76;
  border-radius: 50%;
  animation: game-media-spin .8s linear infinite;
}

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

.game-media-home .game-media-strip {
  display: grid;
  grid-template-columns:
    minmax(220px, 280px)
    minmax(520px, 1fr)
    minmax(300px, 420px);
  grid-template-areas: "minimap statistics timeline";
  align-items: start;
  gap: 9px;
  overflow: visible;
  padding: 0;
}

.game-media-home .game-media-card {
  height: auto;
  min-width: 0;
  align-items: stretch;
  border-color: #46544d;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
}

.game-media-home .game-media-type-minimap,
.game-media-home .game-media-type-timeline {
  grid-column: auto;
}

.game-media-home .game-media-type-minimap {
  grid-area: minimap;
  width: 100%;
  max-width: 100%;
}

.game-media-home .game-media-type-timeline {
  grid-area: timeline;
  width: 100%;
  max-width: 420px;
}

.game-media-home .game-media-image {
  min-height: 168px;
}

.game-media-home .game-media-type-minimap .game-media-image {
  min-height: 0;
}

.game-media-home .game-media-caption {
  min-height: 58px;
  padding: 8px 10px;
}

.game-media-home .game-media-caption strong {
  color: #f6f1e5;
  font-size: 11px;
}

.game-media-home .game-media-data-card {
  display: block;
  grid-column: auto;
  width: 100%;
  min-height: 0;
  min-width: 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 280px;
}

.game-media-home [data-game-media-panel] {
  grid-area: statistics;
  width: 100%;
  max-width: none;
}

.game-media-home [data-game-media-panel][hidden] {
  display: none !important;
}

.game-media-home .game-media-strip:not(:has(.game-media-type-minimap)) {
  grid-template-columns: minmax(520px, 1fr) minmax(300px, 420px);
  grid-template-areas: "statistics timeline";
}

.game-media-home .game-media-strip:not(:has(.game-media-type-timeline)) {
  grid-template-columns: minmax(220px, 280px) minmax(520px, 1fr);
  grid-template-areas: "minimap statistics";
}

.game-media-home
  .game-media-strip:not(:has(.game-media-type-minimap)):not(:has(.game-media-type-timeline)) {
  grid-template-columns: minmax(0, 740px);
  grid-template-areas: "statistics";
}

.game-media-home .game-media-stats-table {
  min-width: 640px;
  font-size: 10px;
}

.game-media-home .game-media-stats-table th,
.game-media-home .game-media-stats-table td {
  padding: 7px 8px;
}

.game-media-home .game-media-stats-table thead th {
  font-size: 9px;
}

.game-media-home .game-media-stats-table tbody th {
  min-width: 112px;
}

.game-media-home .game-media-stats-table a,
.game-media-home .game-media-stats-table b {
  font-size: 10px;
}

.game-media-home .game-media-data-heading {
  min-height: 54px;
  padding: 8px 10px;
}

.game-media-home .game-media-data-heading strong {
  font-size: 12px;
}

.game-media-home .game-media-roster {
  content-visibility: auto;
  contain-intrinsic-size: auto 280px;
}

.game-media-home .game-media-roster {
  margin-top: 12px;
  padding-top: 3px;
}

.game-media-home .game-media-roster summary {
  min-height: 34px;
  color: #e0e6df;
  font-size: 9px;
}

@media (min-width: 1000px) {
  .game-media-type-minimap {
    min-width: 190px;
  }
}

@media (max-width: 1180px) {
  .game-media-home .game-media-strip {
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
    grid-template-areas:
      "minimap statistics"
      "timeline timeline";
  }

  .game-media-home .game-media-type-timeline {
    max-width: 680px;
  }
}

@media (max-width: 700px) {
  .game-media {
    padding: 9px;
  }

  .game-media-strip {
    grid-auto-columns: 126px;
  }

  .game-media-card {
    min-width: 126px;
  }

  .game-media-heading {
    align-items: start;
  }

  .game-media-home .game-media-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .game-media-heading-previews {
    grid-column: 1 / -1;
  }

  .game-media-heading-preview {
    flex-basis: 76px;
    width: 76px;
  }

  .game-media-home .game-media-heading-count {
    min-width: 72px;
    padding: 5px 6px;
  }

  .game-media-home .game-media-heading-count > b {
    font-size: 14px;
  }

  .game-media-toggle {
    grid-column: 1 / -1;
    min-width: 0;
    justify-content: flex-end;
  }

  .game-media-home .game-media-content {
    padding: 10px;
  }

  .game-media-home[open] > .game-media-mount {
    padding: 7px;
  }

  .game-media-home[open] > .game-media-mount > .game-media-content {
    max-height: calc(100vh - 14px);
  }

  .game-media-overlay-bar {
    margin: -10px -10px 10px;
    padding: 9px 10px;
  }

  .game-media-home .game-media-strip {
    display: grid;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "minimap"
      "statistics"
      "timeline" !important;
  }

  .game-media-user .game-media-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .game-media-user .game-media-strip,
  .game-media-user .game-media-strip:not(:has(.game-media-type-minimap)),
  .game-media-user .game-media-strip:not(:has(.game-media-type-timeline)) {
    grid-template-columns: 1fr;
    grid-template-areas:
      "minimap"
      "statistics"
      "timeline";
  }

  .game-media-user .game-media-strip:not(:has(.game-media-type-minimap)) {
    grid-template-areas:
      "statistics"
      "timeline";
  }

  .game-media-user .game-media-strip:not(:has(.game-media-type-timeline)) {
    grid-template-areas:
      "minimap"
      "statistics";
  }

  .game-media-user
    .game-media-strip:not(:has(.game-media-type-minimap)):not(:has(.game-media-type-timeline)) {
    grid-template-areas: "statistics";
  }

  .game-media-home .game-media-type-minimap,
  .game-media-home .game-media-type-timeline {
    grid-column: auto;
  }

  .game-media-home .game-media-type-minimap,
  .game-media-home [data-game-media-panel] {
    width: 100%;
    max-width: none;
  }

  .game-media-home .game-media-type-timeline {
    width: 100%;
    max-width: none;
  }

  .game-media-screen-tabs {
    width: 100%;
  }

  .game-media-screen-tabs > span {
    width: 100%;
  }

  .game-media-screen-tabs button {
    flex: 1 1 calc(33.333% - 5px);
    min-width: 88px;
  }

  .game-media-home .game-media-image {
    min-height: 0;
  }

  .game-media-home .game-media-data-card {
    min-height: 0;
  }

  .game-media-data-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .game-media-stats-table,
  .game-media-roster table,
  .game-media-home .game-media-stats-table {
    min-width: 620px;
  }
}

/* Compact trigger used inside each top-page game overview. */
.game-overview .game-media-home {
  margin: 7px 0 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.game-overview .game-media-home > .game-media-heading {
  display: flex;
  min-height: 49px;
  margin: 0;
  padding: 0;
  align-items: stretch;
  justify-content: space-between;
  gap: 6px;
  background: transparent;
  border: 0;
}

.game-overview .game-media-home > .game-media-heading:hover {
  background: transparent;
}

.game-overview .game-media-heading-previews {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: stretch;
  gap: 4px;
}

.game-overview .game-media-heading-preview {
  position: relative;
  display: grid;
  width: auto;
  min-width: 0;
  max-width: 94px;
  flex: 1 1 80px;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  background: #080c0a;
  border: 1px solid #526158;
}

.game-overview .game-media-heading-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.game-overview .game-media-heading-preview > small {
  position: absolute;
  right: 2px;
  bottom: 2px;
  max-width: calc(100% - 4px);
  padding: 1px 3px;
  overflow: hidden;
  color: #f1f4f0;
  background: rgba(4, 7, 6, .76);
  font: 800 6px/1.25 "Yu Gothic UI", sans-serif;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px #000;
  white-space: nowrap;
}

.game-overview .game-media-heading-preview.is-empty {
  background:
    linear-gradient(135deg, transparent 48%, rgba(149, 165, 155, .13) 49% 51%, transparent 52%),
    #111713;
  border-style: dashed;
}

.game-overview .game-media-heading-preview.is-empty > small {
  position: static;
  padding: 0 4px;
  color: #77847c;
  background: transparent;
  font-size: 7px;
  line-height: 1.35;
  text-align: center;
  text-shadow: none;
  white-space: normal;
}

.game-overview .game-media-heading-actions {
  display: grid;
  width: 78px;
  min-width: 72px;
  flex: 0 0 auto;
  grid-template-rows: minmax(23px, 1fr) minmax(20px, .82fr);
  gap: 3px;
}

.game-overview .game-media-heading-actions:not(:has(.game-media-quick-multiview)) {
  grid-template-rows: 1fr;
}

.game-overview .game-media-detail-button {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 23px;
  padding: 3px 14px 3px 6px;
  align-content: center;
  color: #fff7e8;
  background: linear-gradient(135deg, #c86b3e, #8f3927);
  border: 1px solid #e9a074;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .24),
    0 2px 6px rgba(0, 0, 0, .18);
}

.game-overview .game-media-detail-button > strong {
  margin: 0;
  color: #fff9ed;
  font-size: 9px;
  line-height: 1;
}

.game-overview .game-media-detail-button > small {
  display: block;
  margin-top: 2px;
  color: #f2c4a8;
  font-size: 5px;
  font-weight: 900;
  white-space: nowrap;
}

.game-overview .game-media-detail-button > b {
  position: absolute;
  top: 50%;
  right: 5px;
  color: #ffe0c7;
  font: 900 13px/1 Arial, sans-serif;
  transform: translateY(-50%);
}

.game-overview .game-media-quick-multiview {
  display: flex;
  min-width: 0;
  min-height: 20px;
  padding: 2px 5px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
  color: #fbf8ff;
  background: linear-gradient(135deg, #7657bd, #49327f);
  border: 1px solid #aa8ee7;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .2),
    0 1px 4px rgba(30, 15, 59, .24);
  cursor: pointer;
  font: inherit;
}

.game-overview .game-media-quick-multiview:hover {
  background: linear-gradient(135deg, #8b69d1, #5a3c95);
  border-color: #c1abef;
}

.game-overview .game-media-quick-multiview:focus-visible {
  outline: 2px solid #c7b3f3;
  outline-offset: 2px;
}

.game-overview .game-media-quick-multiview > b {
  flex: 0 0 auto;
  color: #e5d9ff;
  font: 900 9px/1 Arial, sans-serif;
}

.game-overview .game-media-quick-multiview > span {
  min-width: 0;
  overflow: hidden;
  font-size: 7px;
  font-weight: 900;
  line-height: 1;
  text-overflow: clip;
  white-space: nowrap;
}

.game-overview .game-media-home > summary:focus-visible {
  outline: 2px solid #f0a77b;
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .game-overview .game-media-home {
    margin-top: 0;
  }

  .game-overview .game-media-heading-preview {
    max-width: 112px;
  }
}

@media (max-width: 700px) {
  .game-overview .game-media-home {
    margin-top: 7px;
  }

  .game-overview .game-media-home > .game-media-heading {
    display: flex;
    grid-template-columns: none;
    gap: 5px;
  }

  .game-overview .game-media-heading-previews {
    grid-column: auto;
  }

  .game-overview .game-media-heading-preview {
    width: auto;
    max-width: 108px;
    flex-basis: 82px;
  }
}

@media (max-width: 420px) {
  .game-overview .game-media-heading-actions {
    width: 70px;
    min-width: 66px;
  }

  .game-overview .game-media-detail-button {
    padding-right: 12px;
    padding-left: 5px;
  }

  .game-overview .game-media-quick-multiview {
    padding-right: 3px;
    padding-left: 3px;
    gap: 2px;
  }

  .game-overview .game-media-quick-multiview > span {
    font-size: 6.5px;
  }
}

/* Past-game VOD thumbnails and the in-page simultaneous player. */
.game-media-videos {
  margin: 0 0 12px;
  padding: 10px;
  background:
    linear-gradient(115deg, rgba(145, 216, 235, .08), transparent 30rem),
    #121a17;
  border: 1px solid #35473e;
}

.game-media-videos-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.game-media-videos-heading > span {
  display: block;
  min-width: 0;
}

.game-media-videos-heading > span > small,
.game-media-videos-heading > span > strong,
.game-media-videos-heading > span > i {
  display: block;
}

.game-media-videos-heading > span > small {
  color: #91d8eb;
  font: 900 6px/1 Arial, sans-serif;
  letter-spacing: .16em;
}

.game-media-videos-heading > span > strong {
  margin-top: 3px;
  color: #f3efe4;
  font-size: 12px;
}

.game-media-videos-heading > span > strong > b {
  margin-left: 5px;
  color: #dce88b;
  font: 900 14px/1 Arial, sans-serif;
}

.game-media-videos-heading > span > i {
  margin-top: 3px;
  overflow: hidden;
  color: #839087;
  font-size: 7px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-media-videos-heading > button {
  display: flex;
  min-height: 38px;
  padding: 6px 9px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: #0a171b;
  background: linear-gradient(135deg, #9fe0ee, #68abc4);
  border: 1px solid #c5f2f8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38);
  cursor: pointer;
}

.game-media-videos-heading > button:hover {
  color: #11170d;
  background: linear-gradient(135deg, #dbe98d, #aabc5b);
  border-color: #edf5bd;
}

.game-media-videos-heading > button > b {
  font-size: 20px;
  line-height: 1;
}

.game-media-videos-heading > button > span,
.game-media-videos-heading > button > small {
  display: block;
}

.game-media-videos-heading > button > span {
  font-size: 10px;
  font-weight: 900;
}

.game-media-videos-heading > button > small {
  padding: 2px 4px;
  color: #d9f7fb;
  background: rgba(6, 30, 39, .52);
  font: 900 7px/1 Arial, sans-serif;
}

.game-media-video-list {
  display: grid;
  grid-auto-columns: minmax(230px, 270px);
  grid-auto-flow: column;
  gap: 7px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: #52675b #17201c;
  scrollbar-width: thin;
}

.game-media-video-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 116px minmax(0, 1fr);
  overflow: hidden;
  background: #1a221e;
  border: 1px solid #3b4c43;
}

.game-media-video-thumb {
  position: relative;
  display: block;
  min-height: 65px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at center, #304c48, #0b1110 70%);
}

.game-media-video-thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .16s ease, transform .16s ease;
}

.game-media-video-thumb:hover img {
  filter: brightness(1.1) saturate(1.06);
  transform: scale(1.025);
}

.game-media-video-thumb > span {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-content: center;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, .16);
  text-shadow: 0 1px 4px #000;
}

.game-media-video-thumb > span > b {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  padding-left: 2px;
  background: rgba(145, 71, 255, .88);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  font-size: 10px;
}

.game-media-video-thumb > span > small {
  margin-top: 3px;
  padding: 2px 4px;
  background: rgba(0, 0, 0, .7);
  font: 900 7px/1 Arial, sans-serif;
}

.game-media-video-thumb.is-thumb-failed::before {
  content: "Twitch VOD";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #9daaa3;
  font: 900 8px Arial, sans-serif;
}

.game-media-video-meta {
  display: flex;
  min-width: 0;
  padding: 7px;
  flex-direction: column;
  justify-content: center;
}

.game-media-video-meta > strong,
.game-media-video-meta > small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-media-video-meta > strong {
  color: #eef2ee;
  font-size: 9px;
}

.game-media-video-meta > small {
  margin-top: 3px;
  color: #87928c;
  font-size: 7px;
}

.game-media-video-meta > a {
  margin-top: 6px;
  color: #9fdff0;
  font-size: 7px;
  font-weight: 900;
  text-decoration: none;
}

.game-media-video-meta > a:hover {
  color: #dce88b;
  text-decoration: underline;
}

html.game-media-multiview-open,
body.game-media-multiview-open {
  overflow: hidden !important;
}

.game-media-multiview {
  position: fixed;
  z-index: 12000;
  inset: 0;
  display: grid;
  box-sizing: border-box;
  min-width: 0;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  grid-template-rows: auto minmax(0, 1fr);
  color: #edf2ee;
  background:
    radial-gradient(circle at 50% 0, rgba(87, 132, 114, .2), transparent 42rem),
    #080d0b;
}

.game-media-multiview-toolbar {
  display: flex;
  box-sizing: border-box;
  min-width: 0;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  width: 100%;
  height: 24px;
  min-height: 24px;
  max-height: 24px;
  margin: 0;
  padding: 1px 3px;
  background:
    linear-gradient(90deg, rgba(145, 216, 235, .09), transparent 36rem),
    #17201c;
  border-bottom: 1px solid #46584e;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .3);
}

.game-media-multiview-title {
  display: flex;
  min-width: 0;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
}

.game-media-multiview-title > small {
  display: none;
}

.game-media-multiview-title > strong {
  display: none;
}

.game-media-multiview-title > i {
  display: block;
  padding: 2px 4px;
  color: #172015;
  background: #dce88b;
  font: 900 8px/1 Arial, sans-serif;
  font-style: normal;
  white-space: nowrap;
}

.game-media-multiview-extension {
  display: inline-flex;
  box-sizing: border-box;
  height: 20px;
  padding: 0 5px;
  align-items: center;
  color: #e9f6ff;
  background: #245477;
  border: 1px solid #4c84a8;
  font: 800 8px/1 Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.game-media-multiview-extension:hover {
  color: #16231d;
  background: #a8dff2;
  border-color: #d4f4ff;
}

.game-media-multiview-extension.is-update-available {
  color: #241b08;
  background: #ffd86a;
  border-color: #fff0ad;
  box-shadow: 0 0 0 2px rgba(255, 194, 73, .2);
  font-size: 9px;
}

.game-media-multiview-extension.is-update-available::before {
  content: "↑";
  margin-right: 3px;
  font-size: 11px;
}

.game-media-multiview-extension-hint {
  position: absolute;
  z-index: 5;
  left: 12px;
  bottom: clamp(34px, 7vh, 76px);
  display: grid;
  box-sizing: border-box;
  width: clamp(180px, calc(25vw - 20px), 330px);
  padding: 12px 14px 11px;
  gap: 3px;
  color: #e9f6ef;
  background:
    linear-gradient(135deg, rgba(75, 116, 80, .24), transparent 68%),
    rgba(11, 20, 16, .9);
  border: 1px solid rgba(158, 194, 111, .42);
  border-left: 3px solid #dce88b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .34);
  text-decoration: none;
  backdrop-filter: blur(4px);
}

.game-media-multiview-extension-hint[hidden],
.game-media-multiview[data-layout-mode="free"]
  .game-media-multiview-extension-hint {
  display: none;
}

.game-media-multiview-extension-hint strong,
.game-media-multiview-extension-hint span,
.game-media-multiview-extension-hint small {
  display: block;
}

.game-media-multiview-extension-hint strong {
  color: #edf5b2;
  font-size: 11px;
  line-height: 1.35;
}

.game-media-multiview-extension-hint span {
  color: #d9e6dd;
  font-size: 10px;
  line-height: 1.45;
}

.game-media-multiview-extension-hint small {
  margin-top: 4px;
  color: #91d8eb;
  font-size: 9px;
  font-weight: 900;
}

.game-media-multiview-extension-hint:hover,
.game-media-multiview-extension-hint:focus-visible {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(112, 153, 91, .34), transparent 68%),
    rgba(17, 31, 24, .96);
  border-color: #dce88b;
  box-shadow:
    0 0 0 2px rgba(220, 232, 139, .16),
    0 12px 34px rgba(0, 0, 0, .42);
}

.game-media-multiview-extension-hint.is-update-available {
  color: #fff9df;
  background:
    linear-gradient(135deg, rgba(170, 94, 27, .42), transparent 72%),
    rgba(33, 23, 12, .96);
  border-color: #ffd86a;
  border-left-color: #ff9f43;
  box-shadow:
    0 0 0 3px rgba(255, 190, 65, .15),
    0 12px 34px rgba(0, 0, 0, .48);
}

.game-media-multiview-extension-hint.is-update-available strong,
.game-media-multiview-extension-hint.is-update-available small {
  color: #ffe27a;
}

.game-media-multiview-actions {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
}

.game-media-multiview-actions > button,
.game-media-video-tile-actions > button,
.game-media-video-drag {
  display: inline-grid;
  min-width: 20px;
  min-height: 20px;
  width: 20px;
  height: 20px;
  padding: 0;
  place-items: center;
  color: #dfe7e2;
  background: #29352f;
  border: 1px solid #526159;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.game-media-multiview-actions > button:hover,
.game-media-video-tile-actions > button:hover,
.game-media-video-drag:hover {
  color: #101510;
  background: #dce88b;
  border-color: #eef5bd;
}

.game-media-multiview-actions > button.is-close {
  margin-left: auto;
  color: #fff2e9;
  background: #7c3b2d;
  border-color: #ad6752;
}

.game-media-multiview-actions > button.is-share {
  width: auto;
  min-width: 30px;
  padding: 0 4px;
  color: #e9f6ff;
  background: #245477;
  border-color: #4c84a8;
  font-size: 8px;
  letter-spacing: .02em;
}

.game-media-multiview-actions > button[data-game-multiview-auto-layout] {
  width: auto;
  min-width: 34px;
  padding: 0 4px;
  color: #172019;
  background: #dce88b;
  border-color: #eef5bd;
  font-size: 8px;
}

.game-media-multiview-actions > button[data-game-multiview-auto-layout]:hover {
  color: #101510;
  background: #f0f6b5;
}

.game-media-multiview-actions > button.is-share:hover {
  color: #16231d;
  background: #a8dff2;
  border-color: #d4f4ff;
}

.game-media-multiview-actions > button.is-close:hover {
  color: #fff;
  background: #a14c36;
}

.game-media-multiview-actions > button[hidden] {
  display: none;
}

.game-media-video-tile-actions > button[hidden] {
  display: none;
}

.game-media-multiview-help {
  display: none;
}

.game-media-multiview-grid {
  display: grid;
  min-width: 0;
  min-height: 0;
  padding: 4px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-content: start;
  gap: 4px;
  overflow: auto;
  overscroll-behavior: contain;
}

.game-media-multiview[data-layout-mode="free"] .game-media-multiview-grid {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
}

.game-media-multiview[data-two-layout="vertical"]
  .game-media-multiview-grid[data-visible-count="2"] {
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  justify-items: center;
  overflow: hidden;
}

.game-media-multiview[data-two-layout="vertical"]
  .game-media-multiview-grid[data-visible-count="2"]
  .game-media-multiview-tile {
  width: min(100%, 78vh);
  width: min(100%, 78dvh);
  height: 100%;
  align-self: stretch;
}

.game-media-multiview[data-two-layout="vertical"]
  .game-media-multiview-grid[data-visible-count="2"]
  .game-media-multiview-player {
  min-height: 0;
  height: calc(100% - 22px);
  aspect-ratio: auto;
}

.game-media-multiview-tile {
  position: relative;
  display: grid;
  min-width: 0;
  align-self: start;
  grid-template-rows: 22px auto;
  overflow: hidden;
  background: #101613;
  border: 1px solid #45564d;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .3);
}

.game-media-multiview[data-layout-mode="free"] .game-media-multiview-tile {
  position: absolute;
  min-width: 0;
  grid-template-rows: 22px minmax(0, 1fr);
  align-self: auto;
}

.game-media-multiview[data-layout-mode="free"] .game-media-multiview-player {
  min-height: 0;
  height: 100%;
  aspect-ratio: auto;
}

.game-media-multiview-tile[hidden] {
  display: none;
}

.game-media-multiview.is-reordering-tiles,
.game-media-multiview.is-free-interaction {
  user-select: none;
}

.game-media-multiview.is-reordering-tiles iframe,
.game-media-multiview.is-free-interaction iframe {
  /*
   * Twitchのcross-origin iframe上では親ページのpointermoveが途切れる。
   * つまみを押している間だけiframeの当たり判定を外し、段をまたぐ
   * ドラッグを最後まで親側で追跡できるようにする。
   */
  pointer-events: none;
}

.game-media-multiview-tile.is-dragging {
  border-color: #dce88b;
  box-shadow:
    0 0 0 2px rgba(220, 232, 139, .34),
    0 12px 34px rgba(0, 0, 0, .48);
}

.game-media-multiview-tile.is-resizing {
  border-color: #91d8eb;
  box-shadow:
    0 0 0 2px rgba(145, 216, 235, .34),
    0 12px 34px rgba(0, 0, 0, .48);
}

.game-media-multiview-tile.is-drop-target {
  border-color: #91d8eb;
  box-shadow:
    0 0 0 2px rgba(145, 216, 235, .3),
    0 8px 26px rgba(0, 0, 0, .3);
}

.game-media-multiview-tile.is-row-drop-target {
  border-color: #dce88b;
  box-shadow:
    0 0 0 2px rgba(220, 232, 139, .42),
    inset 0 0 0 1px rgba(255, 255, 255, .12),
    0 8px 26px rgba(0, 0, 0, .3);
}

.game-media-multiview-tile.is-playing {
  border-color: #8ebc62;
  box-shadow:
    0 0 0 1px rgba(181, 220, 118, .22),
    0 8px 26px rgba(0, 0, 0, .3);
}

.game-media-multiview-tile > header {
  display: flex;
  min-width: 0;
  height: 22px;
  min-height: 22px;
  box-sizing: border-box;
  align-items: center;
  gap: 3px;
  padding: 1px 2px;
  background: #1b2520;
  border-bottom: 1px solid #435249;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.game-media-multiview-tile.is-dragging > header {
  cursor: grabbing;
}

.game-media-multiview-tile > header .game-media-video-tile-actions,
.game-media-multiview-tile > header .game-media-video-tile-actions button {
  cursor: pointer;
}

.game-media-video-drag {
  min-width: 19px;
  width: 19px;
  min-height: 19px;
  height: 19px;
  padding: 0;
  color: #91d8eb;
  font-size: 12px;
  line-height: 1;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.game-media-video-drag:active {
  cursor: grabbing;
}

.game-media-video-resize {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  display: grid;
  width: 22px;
  height: 22px;
  padding: 0;
  place-items: end end;
  color: #e9f6ff;
  background: linear-gradient(
    135deg,
    transparent 0 42%,
    rgba(36, 84, 119, .72) 43% 100%
  );
  border: 0;
  font-size: 11px;
  line-height: 1;
  opacity: .58;
  cursor: nwse-resize;
  touch-action: none;
  user-select: none;
}

.game-media-video-resize:hover,
.game-media-video-resize:focus-visible,
.game-media-multiview-tile.is-resizing .game-media-video-resize {
  color: #fff;
  background: linear-gradient(
    135deg,
    transparent 0 36%,
    rgba(54, 123, 166, .95) 37% 100%
  );
  opacity: 1;
}

.game-media-multiview-tile > header > span:nth-child(2) {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
}

.game-media-multiview-tile > header strong,
.game-media-multiview-tile > header small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-media-multiview-tile > header strong {
  color: #eff3ef;
  font-size: 8px;
}

.game-media-multiview-tile > header small {
  display: none;
}

.game-media-video-tile-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 1px;
  opacity: .42;
  transition: opacity .12s ease;
}

.game-media-multiview-tile:hover .game-media-video-tile-actions,
.game-media-video-tile-actions:focus-within {
  opacity: 1;
}

.game-media-video-tile-actions > button {
  min-width: 18px;
  min-height: 18px;
  padding: 0;
  font-size: 9px;
}

.game-media-video-tile-actions > button.is-remove {
  color: #ffdcd2;
  background: #5b3028;
  border-color: #815044;
}

.game-media-video-tile-actions > button.is-play {
  color: #dce88b;
}

.game-media-multiview-tile.is-autoplay-failed
  .game-media-video-tile-actions {
  opacity: 1;
}

.game-media-multiview-tile.is-autoplay-failed
  .game-media-video-tile-actions > button.is-play {
  color: #181309;
  background: #e8b44f;
  border-color: #ffe093;
  box-shadow: 0 0 0 2px rgba(232, 180, 79, .22);
}

.game-media-video-tile-actions > button.is-remove:hover {
  color: #fff;
  background: #9c4935;
}

.game-media-multiview-player {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  background: #030504;
}

.game-media-multiview-player > div,
.game-media-multiview-player iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.game-media-multiview-player > p {
  position: absolute;
  inset: 0;
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #89978f;
  font-size: 8px;
}

.game-media-multiview-player > p > i {
  width: 12px;
  height: 12px;
  border: 2px solid #45534b;
  border-top-color: #91d8eb;
  border-radius: 50%;
  animation: game-media-spin .8s linear infinite;
}

.game-media-multiview-player > p.is-error {
  padding: 12px;
  color: #efb5a5;
  text-align: center;
}

.game-media-multiview-empty {
  align-self: center;
  margin: auto;
  padding: 20px;
  color: #9ba79f;
  background: #121a16;
  border: 1px dashed #4a5a51;
  font-size: 10px;
}

.game-media-multiview-empty[hidden] {
  display: none;
}

.game-media-multiview-status {
  position: absolute;
  z-index: 6;
  right: 5px;
  bottom: 5px;
  max-width: min(420px, calc(100vw - 10px));
  min-height: 0;
  margin: 0;
  padding: 4px 7px;
  color: #aebbb3;
  background: rgba(17, 25, 20, .86);
  border: 1px solid #334139;
  font-size: 7px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease;
}

.game-media-multiview-status.is-error {
  color: #efb5a5;
  background: #241613;
  opacity: 1;
}

.game-media-multiview-status.is-visible {
  opacity: 1;
}

@media (max-width: 900px) {
  .game-media-multiview-extension-hint {
    display: none;
  }

  .game-media-multiview-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .game-media-multiview-actions {
    width: auto;
    justify-content: flex-start;
    overflow: visible;
    padding: 0;
  }

  .game-media-multiview-actions > button {
    flex: 0 0 auto;
  }

  .game-media-multiview-grid {
    padding: 4px;
    gap: 4px;
  }
}

@media (max-width: 620px) {
  .game-media-videos {
    padding: 8px;
  }

  .game-media-videos-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .game-media-videos-heading > button {
    justify-content: center;
  }

  .game-media-video-list {
    grid-auto-columns: minmax(220px, calc(100vw - 54px));
  }

  .game-media-multiview-help {
    display: none;
  }

  .game-media-multiview {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .game-media-multiview-toolbar {
    display: flex;
  }

  .game-media-multiview-title > strong {
    font-size: 10px;
  }

  .game-media-multiview-actions {
    justify-content: flex-start;
  }

  .game-media-multiview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .game-media-multiview[data-two-layout="vertical"]
    .game-media-multiview-grid[data-visible-count="2"] {
    grid-template-rows: none;
    align-content: start;
    overflow: auto;
  }

  .game-media-multiview[data-two-layout="vertical"]
    .game-media-multiview-grid[data-visible-count="2"]
    .game-media-multiview-tile {
    width: 100%;
    height: auto;
  }

  .game-media-multiview[data-two-layout="vertical"]
    .game-media-multiview-grid[data-visible-count="2"]
    .game-media-multiview-player {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .game-media-multiview-tile {
    grid-column: 1 !important;
    width: 100%;
    justify-self: center;
  }

  .game-media-multiview-tile[data-video-size="3"] {
    width: 55%;
  }

  .game-media-multiview-tile[data-video-size="4"] {
    width: 65%;
  }

  .game-media-multiview-tile[data-video-size="6"] {
    width: 78%;
  }

  .game-media-multiview-tile[data-video-size="8"] {
    width: 90%;
  }

  .game-media-multiview-tile > header {
    flex-wrap: nowrap;
  }

  .game-media-video-tile-actions {
    width: auto;
    padding-left: 0;
    justify-content: flex-end;
  }

}
