/* SPDX-License-Identifier: MIT */

/* The game hub's pages. They sit in the account pages' card
   (.co-account / .co-account-card in the child theme's style.css) and use
   its colours; this adds tables, tokens, badges and a few form layouts. */

.co-gamehub .co-gh-section
{
  margin: 0;
  padding: 20px 0 4px;
  border-top: 1px solid #eef0f4;
}

.co-gamehub .co-account-lede + .co-gh-section,
.co-gamehub .co-notice + .co-gh-section
{
  border-top: 0;
  padding-top: 4px;
}

.co-gamehub .co-gh-section h3
{
  margin: 0 0 6px;
  padding: 0;
  color: var(--co-blue-dark);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
  background: none;
  border: 0;
}

.co-gamehub p
{
  margin: 0 0 12px;
  padding: 0;
}

/* Tables */

.co-gamehub .co-gh-table
{
  width: 100%;
  margin: 4px 0 16px;
  border-collapse: collapse;
  border: 0;
  font-size: 13px;
  line-height: 1.4;
}

.co-gamehub .co-gh-table th,
.co-gamehub .co-gh-table td
{
  padding: 7px 8px;
  border: 0;
  border-bottom: 1px solid #eef0f4;
  background: none;
  text-align: left;
  vertical-align: top;
}

.co-gamehub .co-gh-table thead th
{
  border-bottom: 2px solid var(--co-border);
  color: var(--co-blue-dark);
  font-weight: 600;
  white-space: nowrap;
}

.co-gamehub .co-gh-table tr.co-gh-new td
{
  background: #eef7f0;
}

.co-gamehub .co-gh-num
{
  text-align: right !important;
  white-space: nowrap;
}

.co-gamehub .co-gh-actions-cell
{
  text-align: right !important;
  white-space: nowrap;
}

.co-gamehub .co-gh-facts th
{
  width: 140px;
  color: var(--co-blue-dark);
  font-weight: 600;
}

/* Leaderboard rows in the registration form */

.co-gamehub .co-gh-boards td
{
  padding: 4px 4px;
  border-bottom: 0;
}

.co-gamehub .co-gh-boards input[type="text"],
.co-gamehub .co-gh-boards select
{
  height: 34px;
  padding: 4px 8px;
  font-size: 13px;
}

/* Tokens, handles, ids */

.co-gamehub .co-gh-token
{
  display: inline-block;
  padding: 3px 10px;
  background: #f6f8fb;
  border: 1px solid #c4cad6;
  border-radius: 4px;
  color: var(--co-blue-dark);
  font: 600 18px/1.3 "Courier New", Courier, monospace;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.co-gamehub .co-gh-handle,
.co-gamehub .co-gh-id
{
  font-family: "Courier New", Courier, monospace;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.co-gamehub .co-gh-id
{
  color: var(--co-muted);
}

.co-gamehub .co-gh-big
{
  font-size: 22px;
  color: var(--co-blue-dark);
}

.co-gamehub .co-gh-handle-now
{
  margin: 4px 0 8px;
}

.co-gamehub code
{
  font-family: "Courier New", Courier, monospace;
}

.co-gamehub .co-gh-muted,
.co-gamehub .co-gh-former,
.co-gamehub .co-gh-empty
{
  color: var(--co-muted);
}

.co-gamehub .co-gh-former
{
  font-style: italic;
}

.co-gamehub .co-gh-override
{
  color: #7b2318;
  font-size: 12px;
}

.co-gamehub .co-gh-description
{
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #f6f8fb;
  border: 1px solid #e3e7ee;
  border-radius: 6px;
}

.co-gamehub .co-gh-links
{
  margin: 8px 0 12px;
}

/* Badges */

.co-gamehub .co-gh-badge
{
  display: inline-block;
  margin: 0 4px 2px 0;
  padding: 1px 8px;
  border-radius: 10px;
  background: #eef2f8;
  color: var(--co-blue-dark);
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.co-gamehub .co-gh-badge-public { background: #eef7f0; color: #1d5733; }
.co-gamehub .co-gh-badge-link { background: #eef2f8; color: var(--co-blue-dark); }
.co-gamehub .co-gh-badge-private { background: #f1f2f4; color: #4b5260; }
.co-gamehub .co-gh-badge-delisted { background: #fdf8e8; color: #6b5310; }
.co-gamehub .co-gh-badge-suspended,
.co-gamehub .co-gh-badge-deleted { background: #fdf0ee; color: #7b2318; }
.co-gamehub .co-gh-badge-new,
.co-gamehub .co-gh-badge-your-turn { background: #2e8b4f; color: #fff; }

/* Forms */

.co-gamehub .co-gh-inline-form
{
  display: inline;
  margin: 0;
}

.co-gamehub .co-gh-link-button
{
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  color: var(--co-blue);
  font: 600 13px/1.4 "helvetica neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
}

.co-gamehub .co-gh-link-button:hover,
.co-gamehub .co-gh-link-button:focus
{
  text-decoration: underline;
}

/* A label and input with the button beside them */
.co-gamehub .co-gh-inline-fields
{
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin: 8px 0 12px;
}

.co-gamehub .co-gh-inline-fields .co-field
{
  flex: 1 1 auto;
  max-width: 320px;
  margin: 0;
}

.co-gamehub .co-gh-inline-fields .co-button
{
  flex: 0 0 auto;
  min-width: 0;
  margin: 0;
  height: 42px;
  line-height: 42px;
}

.co-gamehub .co-gh-pair
{
  display: flex;
  gap: 8px;
  max-width: 320px;
}

.co-gamehub .co-gh-pair input
{
  flex: 1 1 50%;
}

.co-gamehub .co-gh-pair select
{
  flex: 1 1 50%;
}

.co-gamehub input[type="number"],
.co-gamehub input[type="datetime-local"]
{
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #c4cad6;
  border-radius: 6px;
  color: var(--co-text);
  font: 15px/1.4 "helvetica neue", Helvetica, Arial, sans-serif;
}

.co-gamehub input[type="number"][aria-invalid="true"],
.co-gamehub input[type="datetime-local"][aria-invalid="true"]
{
  border-color: #c0392b;
}

/* The theme's #content link colours outrank a class, hence !important */
.co-gamehub a.co-gh-button-link,
.co-gamehub a.co-gh-button-link:visited,
.co-gamehub a.co-gh-button-link:hover,
.co-gamehub a.co-gh-button-link:focus
{
  color: #fff !important;
  text-align: center;
  text-decoration: none;
  line-height: 44px;
}

.co-gamehub .co-gh-button-secondary
{
  background: #fff;
  border: 1px solid var(--co-blue);
  color: var(--co-blue);
}

.co-gamehub .co-gh-button-secondary:hover
{
  background: #eef2f8;
}

.co-gamehub .co-gh-button-danger
{
  background: #c0392b;
}

.co-gamehub .co-gh-button-danger:hover
{
  background: #922b21;
}

.co-gamehub .co-toggle input[type="radio"]
{
  margin-top: 3px;
}

@media (max-width: 600px)
{
  .co-gamehub .co-gh-inline-fields
  {
    flex-direction: column;
    align-items: stretch;
  }

  .co-gamehub .co-gh-table
  {
    display: block;
    overflow-x: auto;
  }
}

/* The visibility choices, full width */
.co-gamehub .co-toggle
{
  display: flex;
}

/* A second form on a page (testers) starts a new section */
.co-gamehub .co-form + .co-form,
.co-gamehub .co-form + .co-gh-section
{
  margin-top: 24px;
  padding-top: 8px;
  border-top: 1px solid #eef0f4;
}

/* The game server: a key just made, shown once, and its buttons */
.co-gamehub .co-gh-key
{
  font-size: 16px;
  letter-spacing: 0.08em;
  white-space: normal;
  word-break: break-all;
  user-select: all;
}

.co-gamehub .co-gh-new-key p:last-child
{
  margin-bottom: 0;
}

.co-gamehub .co-gh-buttons
{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 4px 0 16px;
}

.co-gamehub .co-gh-buttons .co-button
{
  margin: 0;
}

.co-gamehub .co-gh-badge-connected { background: #2e8b4f; color: #fff; }

/* The administrator's pages for players: the chat log's filters, its
   lines, and paging */
.co-gamehub .co-gh-filter-grid
{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 4px 12px;
  margin: 8px 0 4px;
}

.co-gamehub .co-gh-filter-grid .co-field
{
  margin: 0 0 8px;
}

.co-gamehub .co-gh-check
{
  display: block;
  margin: 0 0 10px;
  font-weight: normal;
}

.co-gamehub .co-gh-check input
{
  margin-right: 6px;
}

.co-gamehub .co-gh-filters .co-gh-buttons
{
  align-items: center;
  margin-bottom: 8px;
}

.co-gamehub .co-gh-nowrap
{
  white-space: nowrap;
}

.co-gamehub .co-gh-chat .co-gh-said
{
  font-family: "Courier New", Courier, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.co-gamehub .co-gh-chat .co-gh-chat-links
{
  font-size: 12px;
  white-space: nowrap;
}

.co-gamehub .co-gh-paging
{
  margin: 0 0 16px;
  font-weight: 600;
}

@media (max-width: 600px)
{
  .co-gamehub .co-gh-filter-grid
  {
    grid-template-columns: 1fr;
  }
}

/* What a game's server publishes: its page, labelled as the game's own
   words and set apart from the site's text, and achievements. The page is
   plain text: runs of spaces are kept, long words wrap. */
.co-gamehub .co-gh-game-page
{
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #fbfaf5;
  border: 1px solid #e3e7ee;
  border-left: 4px solid #c9b46a;
  border-radius: 6px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.co-gamehub .co-gh-game-page p:last-child
{
  margin-bottom: 0;
}

/* A game's notices (DR-9): terms, privacy notices and disclaimers, in small
   print, apart from its description and its page */
.co-gamehub .co-gh-notices-text
{
  margin: 0 0 16px;
  font-size: 13px;
  color: #4a5363;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.co-gamehub .co-gh-notices-text p:last-child
{
  margin-bottom: 0;
}

/* A game's instructions: closed until opened, and in a fixed-width font,
   as typed, so keys lined up with spaces stay lined up */
.co-gamehub .co-gh-instructions summary
{
  cursor: pointer;
}

.co-gamehub .co-gh-instructions summary h3
{
  display: inline;
}

.co-gamehub .co-gh-instructions[open] summary
{
  margin-bottom: 8px;
}

.co-gamehub .co-gh-instructions-text,
.co-gamehub .co-gh-instructions-admin
{
  margin: 0 0 12px;
  padding: 12px 14px;
  background: #f6f8fb;
  border: 1px solid #e3e7ee;
  border-radius: 6px;
  font: 13px/1.5 Consolas, Menlo, "Courier New", monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.co-gamehub .co-gh-instructions-text p:last-child,
.co-gamehub .co-gh-instructions-admin p:last-child
{
  margin-bottom: 0;
}

.co-gamehub textarea#co-instructions
{
  font-family: Consolas, Menlo, "Courier New", monospace;
  font-size: 13px;
}

.co-gamehub .co-gh-subhead
{
  margin: 12px 0 6px;
  padding: 0;
  color: var(--co-blue-dark);
  font-size: 14px;
  font-weight: 600;
  background: none;
  border: 0;
}

.co-gamehub .co-gh-achievements,
.co-gamehub .co-gh-awards
{
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.co-gamehub .co-gh-achievements li,
.co-gamehub .co-gh-awards li
{
  margin: 0;
  padding: 5px 0;
  border-bottom: 1px solid #eef0f4;
  overflow-wrap: anywhere;
}

.co-gamehub .co-gh-awards li.co-gh-mine
{
  background: #eef7f0;
}

.co-gamehub .co-gh-ach-text
{
  color: var(--co-muted);
  font-size: 13px;
}

.co-gamehub .co-gh-ach-game:first-of-type .co-gh-subhead
{
  margin-top: 4px;
}

/* A game's disks: each with its label, its directory as a C64 lists it,
   how the member's disks stand to it, and its buttons */
.co-gamehub .co-gh-disk
{
  margin: 0 0 8px;
}

.co-gamehub .co-gh-disk + .co-gh-disk
{
  padding-top: 8px;
  border-top: 1px solid #eef0f4;
}

.co-gamehub .co-gh-dir
{
  display: inline-block;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 8px 12px;
  overflow-x: auto;
  background: #40318d;
  border-radius: 6px;
  color: #7869c4;
  font: 600 13px/1.35 "Courier New", Courier, monospace;
  white-space: pre;
}

.co-gamehub .co-gh-disk-state
{
  margin: 0 0 4px;
}


.co-gamehub a.co-gh-download,
.co-gamehub a.co-gh-download:visited,
.co-gamehub a.co-gh-download:hover,
.co-gamehub a.co-gh-download:focus
{
  box-sizing: border-box;
  color: var(--co-blue) !important;
  text-align: center;
  text-decoration: none;
  line-height: 42px;
}

/* The game page's "Play in your browser": a link that looks like the theme's
   button, so white on blue, which the theme's link colours would override */
.co-gamehub a.co-gh-play,
.co-gamehub a.co-gh-play:visited,
.co-gamehub a.co-gh-play:hover,
.co-gamehub a.co-gh-play:focus
{
  box-sizing: border-box;
  color: #ffffff !important;
  text-align: center;
  text-decoration: none;
  line-height: 44px;
}

/* The play page (CoGamePlayPage, js/co-gameplay.js): the text client in the
   browser. C64 Pro Mono is Style's font, embedded under its license
   (fonts/README.md); nothing links to the files. The script sizes the
   screen: font size, border and, for 80 columns, the half-width scaling. */

@font-face
{
  font-family: "C64 Pro Mono";
  src: url("../fonts/C64_Pro_Mono-STYLE.woff2") format("woff2"), url("../fonts/C64_Pro_Mono-STYLE.woff") format("woff");
  font-display: block;
}

.co-play-bar
{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  margin: 0 0 12px;
}

.co-play-bar label
{
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin: 0;
}

.co-play-bar [hidden],
.co-play-status[hidden]
{
  display: none;
}

.co-play-bar select,
.co-play-bar input[type="checkbox"]
{
  width: auto;
  margin: 0;
}

/* The theme's inline buttons are for forms (a 180px minimum, a margin above):
   here they sit on the toolbar's line */
.co-play-bar .co-button
{
  min-width: 0;
  margin: 0;
}

.co-play-bar .co-play-connect
{
  margin-left: auto;
}

.co-play-frame
{
  width: 100%;
}

.co-play-screen
{
  box-sizing: content-box;
  margin: 0 auto 12px;
  overflow: hidden;
  border-style: solid;
  font-family: "C64 Pro Mono", "Cascadia Mono", Consolas, monospace;
  font-weight: normal;
  line-height: 1;
  cursor: text;
}

.co-play-inner
{
  transform-origin: 0 0;
}

.co-play-log
{
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  outline: none;
}

.co-play-log::-webkit-scrollbar
{
  display: none;
}

.co-play-log > div,
.co-play-status,
.co-play-typed > div
{
  height: 1em;
  margin: 0;
  padding: 0;
  white-space: pre;
  overflow: hidden;
}

/* What is typed: two rows drawn by the script, over an invisible input */
.co-play-input
{
  position: relative;
  height: 2em;
}

/* The cursor, a block that blinks while typing, and a selection, reversed.
   --co-play-fg and --co-play-bg are the scheme's typing and screen colours. */
.co-play-cursor,
.co-play-rev
{
  background: var(--co-play-fg);
  color: var(--co-play-bg);
  text-shadow: none;
}

.co-play-cursor
{
  animation: co-play-blink 0.8s steps(1) infinite;
}

@keyframes co-play-blink
{
  50% { background: transparent; color: var(--co-play-fg); }
}

@media (prefers-reduced-motion: reduce)
{
  .co-play-cursor { animation: none; }
}

/* The Commodore's colours, as the C64 client uses them (its README) */
.co-play-c64 { --co-play-fg: #7869c4; --co-play-bg: #40318d; background: #40318d; border-color: #7869c4; color: #7869c4; }
.co-play-c64 .co-play-text { color: #ffffff; }
.co-play-c64 .co-play-chat { color: #67b6bd; }
.co-play-c64 .co-play-pres { color: #bfce72; }
.co-play-c64 .co-play-sys { color: #94e089; }
.co-play-c64 .co-play-err { color: #ea9a93; }
.co-play-c64 .co-play-echo { color: #9f9f9f; }
.co-play-c64 .co-play-raw { color: #8a8a8a; }
.co-play-c64 .co-play-status { background: #7869c4; color: #40318d; }

/* A green screen and an amber one: one colour, its voices in brightness */
.co-play-green { --co-play-fg: #33ff66; --co-play-bg: #041a08; background: #041a08; border-color: #0b2b10; color: #33ff66; text-shadow: 0 0 3px rgba(51, 255, 102, 0.45); }
.co-play-green .co-play-text { color: #33ff66; }
.co-play-green .co-play-chat { color: #9dffb5; }
.co-play-green .co-play-pres { color: #66ff8c; }
.co-play-green .co-play-sys { color: #2bd655; }
.co-play-green .co-play-err { color: #ccffd8; }
.co-play-green .co-play-echo { color: #22a845; }
.co-play-green .co-play-raw { color: #1d8a39; }
.co-play-green .co-play-status { background: #33ff66; color: #041a08; text-shadow: none; }

.co-play-amber { --co-play-fg: #ffb000; --co-play-bg: #1a0f00; background: #1a0f00; border-color: #2b1a00; color: #ffb000; text-shadow: 0 0 3px rgba(255, 176, 0, 0.45); }
.co-play-amber .co-play-text { color: #ffb000; }
.co-play-amber .co-play-chat { color: #ffd88a; }
.co-play-amber .co-play-pres { color: #ffc640; }
.co-play-amber .co-play-sys { color: #e09a00; }
.co-play-amber .co-play-err { color: #ffe9bd; }
.co-play-amber .co-play-echo { color: #b57a00; }
.co-play-amber .co-play-raw { color: #8f6100; }
.co-play-amber .co-play-status { background: #ffb000; color: #1a0f00; text-shadow: none; }

/* The terminal look (the owner's setting, DR-8): black, the game's text in
   phosphor green, and the other voices in shades of their own, as the C64
   client's terminal look: chat green, arrivals and the hub light grey,
   notices white, what was typed grey */
.co-play-terminal { --co-play-fg: #94e089; --co-play-bg: #000000; background: #000000; border-color: #000000; color: #94e089; text-shadow: 0 0 3px rgba(148, 224, 137, 0.45); }
.co-play-terminal .co-play-text { color: #94e089; }
.co-play-terminal .co-play-chat { color: #55a049; }
.co-play-terminal .co-play-pres { color: #b3b3b3; }
.co-play-terminal .co-play-sys { color: #b3b3b3; }
.co-play-terminal .co-play-err { color: #ffffff; }
.co-play-terminal .co-play-echo { color: #8a8a8a; }
.co-play-terminal .co-play-raw { color: #626262; }

/* The full window: the controls above the screen, on black */
.co-play:fullscreen
{
  box-sizing: border-box;
  padding: 16px;
  background: #000000;
  color: #dddddd;
  overflow: auto;
}

.co-play:fullscreen .co-play-bar
{
  justify-content: center;
}

/* Images (1.6.0): the gallery on a game's page and the moderation page,
   and the tables on the settings and moderation pages. A small image is
   scaled up by a whole number with sharp pixels (.co-gh-pixels) */

.co-gamehub .co-gh-gallery
{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 16px;
}

.co-gamehub .co-gh-figure
{
  max-width: 100%;
  margin: 0;
}

.co-gamehub .co-gh-figure img
{
  display: block;
  max-width: 100%;
  height: auto;
  background: #f1f2f4;
  border: 1px solid #e3e7ee;
}

.co-gamehub .co-gh-figure figcaption
{
  max-width: 320px;
  margin-top: 4px;
  color: #4b5260;
  font-size: 13px;
}

.co-gamehub img.co-gh-pixels
{
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.co-gamehub .co-gh-image-cell img
{
  display: block;
  max-width: 192px;
  height: auto;
  border: 1px solid #e3e7ee;
}

.co-gamehub .co-gh-image-review
{
  width: 160px;
  padding: 24px 8px;
  background: #fdf8e8;
  border: 1px dashed #d9c27a;
  color: #6b5310;
  font-weight: 600;
  text-align: center;
}

.co-gamehub .co-gh-order-cell
{
  white-space: nowrap;
}

.co-gamehub .co-gh-drag
{
  padding: 0 4px;
  color: #8a8f99;
  cursor: move;
  user-select: none;
}

.co-gamehub .co-gh-images-table tr.co-gh-dragging
{
  opacity: 0.5;
}

.co-gamehub .co-gh-image-moderation input[type="text"]
{
  width: 100%;
  margin-bottom: 6px;
}

/* The images form's first button, for Enter: there, but not seen */
.co-gamehub .co-gh-default-button
{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.co-gamehub .co-gh-notes
{
  margin: 0 0 12px 20px;
  font-size: 13px;
}

/* An image over the page (co-gamehub.js), on black */
.co-gh-lightbox
{
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
}

.co-gh-lightbox[hidden]
{
  display: none;
}

.co-gh-lightbox figure
{
  margin: 0;
  text-align: center;
}

.co-gh-lightbox img
{
  display: block;
  max-width: calc(100vw - 96px);
  max-height: calc(100vh - 112px);
  margin: 0 auto;
}

.co-gh-lightbox img.co-gh-pixels
{
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.co-gh-lightbox figcaption
{
  margin-top: 10px;
  color: #dddddd;
  font: 14px/1.4 "helvetica neue", Helvetica, Arial, sans-serif;
}

.co-gh-lightbox button
{
  position: absolute;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: #ffffff;
  font: 36px/44px Arial, sans-serif;
  cursor: pointer;
  opacity: 0.8;
}

.co-gh-lightbox button:hover,
.co-gh-lightbox button:focus
{
  opacity: 1;
}

.co-gh-lightbox .co-gh-lightbox-close { top: 8px; right: 8px; }
.co-gh-lightbox .co-gh-lightbox-prev { left: 8px; top: calc(50% - 22px); }
.co-gh-lightbox .co-gh-lightbox-next { right: 8px; top: calc(50% - 22px); }

.co-gamehub .co-gh-images-table .co-gh-image-cell
{
  width: 176px;
}

.co-gamehub .co-gh-images-table .co-gh-image-cell img
{
  max-width: 160px;
}

.co-gamehub .co-gh-caption-cell input[type="text"]
{
  width: 100%;
  margin-bottom: 8px;
}

.co-gamehub .co-gh-caption-cell input[type="file"]
{
  max-width: 100%;
  font-size: 12px;
}

.co-gamehub .co-gh-link-button.co-gh-link-danger
{
  color: #b0321f;
}

.co-gamehub .co-gh-images-table .co-gh-actions-cell
{
  width: 220px;
}

/* Matches with friends: the friends to invite, in columns, and the
   invitations' actions */
.co-gamehub .co-gh-friends
{
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  columns: 3 180px;
  column-gap: 16px;
}

.co-gamehub .co-gh-friends legend
{
  margin: 0 0 6px;
  padding: 0;
  font-weight: 600;
}

.co-gamehub .co-gh-friends .co-check
{
  display: block;
  margin: 0 0 4px;
  break-inside: avoid;
}

.co-gamehub .co-gh-invitations .co-gh-actions-cell
{
  white-space: nowrap;
}
