/* file: gc-styles.css
   updated: 2020-05-12
   project: AGPI Game Catalog
   by: Rick Tucker */

/* note: use CMD-OPTION-R to refresh web page including .css files
   from: https://superuser.com/questions/186594/how-can-i-force-safari-to-perform-a-full-page-reload-without-using-the-mouse
 */

/* Add the Cora font from Adobe */
/* Doesn't work in Custom CSS on Wordpress site - used Custom Adobe Fonts plug-in with project ID mqv8dif instead */
/* Left in here for use in local Mac testing */
@import "https://use.typekit.net/mqv8dif.css";

/*----------------------------------
 HTML Tag Styles
 */

:root {
    --accent-color: #5B5FA8;
    font-family: "Cora", "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", "Helvetica", "Arial", "sans-serif";
    color: black;
    }

/* h3 is used in a game's rules text in the database */
h3 {
    font-style: italic;
    font-size: large;
    color: var(--accent-color);
    margin-top: 2em;
    margin-bottom: 0.2em;
}

/* p {
    display: block;
    font-size: 13pt;
    margin: 0;
} */

span.nobreak {
    white-space: nowrap;
}


/*----------------------------------
 General Styles
 */
.gc-content {
    max-width: 960px;
    margin: auto;
    /* margin-top: 100px; /* ### */
}
.gc-intro {
    margin-top: 1em;
    margin-bottom: 1.3em;
}
.gc-indent {
    margin-left: 2em;
}
/* From (2021-04-19): https://www.w3schools.com/css/css_tooltip.asp */*/
.tooltip {
  position: relative;
  display: inline-block;
  max-width: 100vw;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/*----------------------------------
 Tooltip Styles
 */

.tooltip .tooltip-text {
    visibility: hidden;
    /* width: 30em; */
    max-width: 100vw;
    background-color: whitesmoke;
    color: black;
    border-width: 2px;
    border-color: darkgray;
    text-align: center;
    font-style: normal;
    line-height: 1.8;
    padding: 12px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
}
.tooltip {
    font-style: normal;
    font-size: smaller;
    vertical-align: super;
    color: black;
}
.tooltip:hover .tooltip-text {
  visibility: visible;
}

/*----------------------------------
Unorganized Styles
 */

.gc-pretitle {
    /* font-style: italic; */
    color: lightslategray;
    }
.gc-info-text {
    font-style: normal;
    font-weight: bold;
    color: black;
}
div.gc-other, /* To do (2019-10-24) remove div and span */
span.gc-other {
    font-size: 13pt;
    margin-top: auto; /* 2021-04-18: was auto */
    padding-left: 2em;
}
.gc-paragraph,
.gc-list {
    font-size: 13pt;
    padding-top: 4px;
    padding-left: 0em;
}
.gc-line-separator {
    border-top: 1px var(--accent-color);
    margin: 1.5em;
}
/* From: https://tobiasahlin.com/blog/flexbox-break-to-new-row/
   Inserting this collapsed row between two flex items will make the flex item that comes after it break to a new row */
/* .flex-break {
      flex-basis: 100%;
      height: 0;
      margin-bottom: 0em; /* was 0.3em */
} */
/*----------------------------------
 Publisher Styles
 */
.gc-publisher-heading {
    font-size: 17pt;
    font-style: normal;
    font-weight: bold;
    color: black;
    margin-top: 0.3em;
}
/* .gc-publisher-link {
    color: black;
} */
.gc-publisher-name {
    font-size: 20pt;
    line-height: 1.8;
}
.gc-publisher-info {
    font-weight: 400;
    max-width: none;
    margin-top: 0.7em;
    margin-left: 0.7em;
}
.gc-publisher-number {
}
.gc-publisher-info-attribute {
    margin-top: 0.5em;
    font-size: 13pt;
    font-style: italic;
    color: var(--accent-color);
}
.gc-publisher-info-value {
    margin-top: 0.5em;
    font-size: 13pt;
    margin-left: none;
}
.gc-publisher-hr {
    width: 10em;
    text-align: left;
    border-top: 1px dotted gray;
    margin-top: 1.5em;
    margin-left: 2em;
}
.gc-info-value-long .gc-address {
    padding-top: 0.3em;
}
.gc-publisher-location-source {
    margin-top: 0.5em;
}
.gc-publisher-location-item {
    margin-top: 0.5em;
    display: block;
    padding-left: 1em;
}
.gc-address-source {
}

/*----------------------------------
 Nontable Table Styles
 */
.gc-text-wrap-container {
    display: table;
}
.gc-text-cell-attribute {
    display: table-cell;
    white-space: nowrap;
    padding-left: 0.3em;
}
.gc-text-cell-values {
    display: table-cell;
    padding-left: 0.3em;
    padding-right: 0.3em;
}
/* No longer needed? (2021-04-28) */
.gc-text-wrap {
    display: table-cell;
    /* padding-left: 0.3em; */
    vertical-align: top;
}
.gc-text-wrap-attribute {
    font-size: 13pt;
    font-style: italic;
    font-weight: normal;
    color: var(--accent-color);
    margin-bottom: 0.2em;
    display: table-cell;
    padding-left: 0.3em;
    vertical-align: top;
    white-space: nowrap;
}

/*----------------------------------
 Game Table Styles
 To do (2021-04-28) rename to be .gc-game-table-___
 */
.gc-table {
    width: 100%;
    margin-top: 1em;
    border: solid;
    border-width: 3px;
    border-color: lightgray;
    border-collapse: collapse;
}
.gc-table th,
.gc-table td {
    padding-left: 3px;
    margin: 02px;
    line-height: 1.5em;
    border: dotted;
    border-width: 1px;
    border-color: dimgray;
    margin: 0 0 0 0;
    vertical-align: top;
    padding: 0.5em;
    /* word-wrap: break-word; */
}
.gc-table th {
    background-color:#E4E4E4;
    color: black;
    border-color: dimgray;
    text-align: left;
}
.game-id {
    width: 8%;
}
.game-year {
    width: 5%;
    text-align: right;
}
.game-date-range {
    width: 5%;
    text-align: left;
}
.game-title {
    width: 15%;
    font-weight: bolder;
}
.gc-title, .gc-publisher, .gc-count, .gc-twid {
    color: black;
    font-style: normal;
    font-weight: 700;
}
table .gc-table td .game-year { /* To do (2019-10-24) Too specific? */
    border-right: none;
}
table .gc-table td .game-date-range { /* To do (2019-10-24) Too specific? */
    border-left: none;
}
.gc-catalog-number {
    width: 8%;
}
.game-variant-info {
    width: 15%;
}
.game-type {
    width: 10%;
}
.game-other {
    width: 35%;
}

/*----------------------------------
 Game Styles
 */
.gc-game-item {
    margin-bottom: 1.4em;
    line-height: 1.4em;
}
gc-game-pretitle {
    font-style: italic;
    color: gray;
}

.gc-game-title {
    font-weight: bolder;
    font-style: italic;
    font-size: larger;
    margin-left: 0;
}

.gc-game-logo {
    font-weight: bolder;
    font-style: italic;
    font-color: larger;
    margin-left: 0;
}

.gc-game-info {
    margin-top: 0.7em;
    margin-left: 0.7em;
    font-size: 13pt;
    font-weight: 400;
    display: table;
}
.gc-button-line {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 13pt;
    font-weight: 400;
    display: table;
}
.gc-game-info + .gc-button-line {
    margin-top: 1.3em;
}
.gc-agpi-number {
    font-weight: bold;
    font-style: italic;
    }
.gc-catalog-number {
    text-align: right;
    padding-right: 0.5em;
}
td .gc-game-info {
    font-size: 13pt;
    margin-top: 0;
    margin-left: 0;
}
.gc-search-game-info {
    max-width: none;
    margin-top: 0.5em;
    margin-left: 0;
    font-size: 13pt;
    font-weight: 400;
    display: table;
}
td .gc-search-game-info {
    max-width: none;
    margin-top: 0;
    margin-left: 0;
    font-size: 13pt;
    font-weight: 400;
    display: table;
}
.gc-game-info-attribute { /* see also .gc-info-attribute */
    margin-top: 1rem;
    display: inline-block;
    color: var(--accent-color);
    font-style: italic;
}
.gc-info-attribute {
    font-size: 13pt;
    display: inline-block;
    font-style: italic;
    font-weight: normal;
    color: var(--accent-color);
    margin-bottom: 0;
}
.gc-info-value-short {
    margin-left: 0;
    display: inline-block;
    color: black;
}
.gc-game-short-listing {
    margin-top: 1.3em;
    line-height: 1.4;
    margin-bottom: 0;
    font-size: 13pt;
    color: black;
}
.gc-info-value {
    font-size: 13pt;
    display: inline-block;
    font-style: normal;
    font-weight: normal;
    color: black;
}
.gc-info-value-long > p {
    margin-top: 0em;
    margin-left: 1em;
    padding-left: 0.5em;
    border-left: 0.4em solid lavender;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    line-height: 1.4;
}
.gc-game-heading {
    display: block;
    margin-top: 0.4m;
    line-height: 1.3;
}
.gc-game-heading-publisher, .gc-game-heading-title {
    font-weight: 400;
    /* To do (2021-05-12) Make publisher heading sticky */
    /* position: -webkit-sticky; /* for Safari */
    /* position: fixed; /* or sticky */ 
    margin-top: 100px;
    top: 0;
    font-size: 150%;
    font-weight: bold;
    padding-top: 0;
    padding-left: 0.05em;
    padding-bottom: 0.05em;
    display: normal;
}
.gc-game-heading-publisher {
    margin-top: 0em;
    /* border-top: 2px solid lavender; // ### */
}
.gc-game-heading-title {
    margin-left: 0em;
    margin-top: 0.7em;
    padding-top: 0;
    font-style: italic;
    font-size: 16pt;
}
.gc-rules-box {
    margin-left: 1.5em;
    margin-top: 1rem;
    border: 1px;
    padding-left: 0.5em;
    padding-right: 0.5em;
    border-style: ridge;
    border-color: var(--accent-color);
}
.gc-rules-text {
    margin-top: 0em;
    margin-left: 1em;
    padding-left: 0.5em;
    border-left: 0.4em solid lavender;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
}
.gc-rules-text > p {
    margin: 0;
    padding: 0;
    border: 0;
}

/*----------------------------------
 Heading Styles
 */
.gc-highlight-heading {
    border: 1px solid darkgray;
    background-color: #efefef;
    margin-top: 2em;
    padding: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.gc-highlight-heading > .gc-info-attribute {
    margin-top: 0;
}
/*----------------------------------
Individual Reference Entry Styles
*/
.tw-ref-item {
    border: 1px solid lightgray;
    margin-top: 1em;
    padding: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
/*----------------------------------
 Search Styles
 */
.gc-new-search {
    /* To do (2019-11-14) */
    }

/*----------------------------------
 Search Results Styles
 */
.gc-search-game-attribute-list {
    border-left: 0.4em solid lavender;
    padding-left: 0.1em;
    margin-left: 1em;
}

/*----------------------------------
 Advanced Search Styles
 from advanced-search.php
 */
.gc-search-item {
    display: block;
    font-size: 13pt;
    margin-bottom: 0.7em;
}

/*----------------------------------
 Unorganized Styles
 */
.gc-example {
    font-style: italic;
    font-size: smaller;
    color: gray;
    margin-top: 0.0em;
    margin-left: 0em;
}
.gc-button-line {
    margin-left: 0;
}
summary {
    font-style: italic;
    color: var(--accent-color);
    padding-bottom: 1.5em;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    outline: 0;
    border-width: 1px;
    border-color: var(--accent-color);
    background-color: white;
    color: var(--accent-color);
}
.gc-summary-related-links {
    margin-top: 0.7em;
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 13pt;
}
.gc-larger {
    font-size: 130%;
}
/*----------------------------------
 Search Styles
 */
.gc-search-web {
    color: var(--accent-color);
    margin-top: 1em;
    margin-bottom: 0.2em;
}
/*----------------------------------
 Button Styles
 */

.gc-outlined-button {
    max-width: 100vw;
    display: inline-block;
    text-align: center;
    font-size: 1em;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
    padding-right: 8px;
    /* margin-top: 0.2em;
    margin-bottom: 0.6em; */
    /* To do (2021-05-09) work on margins of this and others in search.php */
    margin-right: 8px;
    margin-left: 8px;
    background-color: #fff;
    color: var(--accent-color);
    border: 2px solid #C2C4E1;
    border-radius: 20px 20px;
    text-decoration: none;
    cursor: pointer;
    font-style: italic;
}
.gc-info-attribute + .gc-outlined-button {
    margin: 0;
}
.gc-button {
    outline: 0;
    border-width: 1px;
    border-color: var(--accent-color);
    background-color: white;
    color: var(--accent-color);
    border-radius: 7px;
    text-align: center;
    margin: 1em;
    padding: 0.7em;
    display: inline-block;
}
.gc-button a:link,
.gc-button a:visited {
    color: var(--accent-color);
    font-size: 13pt;
    text-decoration: none;
}
.gc-button a:hover {
    color: black;
    font-size: 13pt;
    text-decoration: none;
}
/*----------------------------------
 Image Styles for a Game
 */
.gc-image {
    /* display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%; */
    display: block;
    text-align: center;
    }
.gc-game-image {
    display: inline-block;
    max-width: 100%;
    height: auto;
    width: auto\9; /* IE8, per https://stackoverflow.com/questions/16217355/automatically-resize-images-with-browser-size-using-css */
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
.gc-game-image-caption {
    margin-top: 0.5em;
    color: var(--accent-color);
    font-style: italic;
    text-align: center;
}

/*----------------------------------
 Copyright Styles for a Game
 */
.gc-copyright-header, .gc-trademark-header, .gc-patent-header {
    font-style: italic;
    font-weight: 400;
    font-size: 13pt;
    color: var(--accent-color);
    margin-top: 0.7em;
    margin-left: 0.7em;
    margin-bottom: 0.2em;
}
.gc-copyright-entry, .gc-trademark-entry, .gc-patent-entry {
    margin-top: 0em;
    margin-left: 2em;
    padding-left: 0.5em;
    border-left: 0.4em solid lavender;
    padding-top: 0.1em;
    padding-bottom: 0em;
    line-height: 1;
}
.gc-copyright-entry > .gc-game-info,
.gc-trademark-entry > .gc-game-info,
.gc-patent-entry > .gc-game-info {
    margin-left: 0;
    margin-top: 0.4em;
}
/*----------------------------------
 Sic Styles
 */
.gc-sic-original {
    text-decoration: line-through;
    color: gray;
}

.gc-sic-correct {
    text-decoration-style: dotted;
}

/*----------------------------------
 Unorganized Styles
 */

.gc-search-elsewhere, .gc-source {
    margin-top: 0.5em;
    }
.gc-heading {
    font-size: 13pt;
    margin-top: 1.5em;
    }
.gc-search-elsewhere {
    margin-left: 0px;
}
.gc-ref-title {
    font-style: italic;
}
.gc-note {
    font-style: italic;
}

/*----------------------------------
 Link Styles
 */
a.gc-link, .gc-tw-link, .gc-game-link, .gc-publisher-link, .gc-new-search {
    color:#0E0595;
    /* margin-top: 0.5em; */
    text-decoration: none;
    /* display: inline-block; */
    /* line-height: 1em; */
    font-size: 13pt;
    }
a.gc-link:hover, .gc-game-link:hover, .gc-publisher-link:hover, .gc-new-search:hover {
    /* outline: 0;
    border-width: 1px; */
    /* padding: 3px; */
    
    color: black;
    border-color: #665CF9;
    background-color:#EBEBF5;
  
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    }

/*----------------------------------
 Popup Styles
 */

/* Popup container - can be anything you want */
/* from: https://www.w3schools.com/howto/howto-js-popup.asp */
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  width: 160px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  /* -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s; */
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/*----------------------------------
 All Publishers Styles
 for show-all-publishers
 */
.gc-all-publishers-heading {
    font-size: 1.7em;
    margin-top: 1em;
    margin-bottom: 0.7em;
}
.gc-publisher-list-item, .gc-publisher-count {
    font-size: 1.2em;
    margin-bottom: 0.7em;
    margin-top: 0.7em; /* 2022-06-27 added for show-tiddlywinks-publishers */
    display: table;
}
.gc-publisher-num-games {
    display: table-cell;
    max-width: none;
    text-align: right;
    width: 6em;
}
.gc-publisher-publisher {
    display: table-cell;
}
.gc-history-publisher-name {
    font-weight: 800;
}
/*----------------------------------
 Additional Publishers Styles
 for show-tiddlywinks-publishers
 */
.gc-tw-publisher, .gc-tw-publisher > a {
    display: inline;
    font-size: 1.3em;
}
.gc-tw-publisher-num-games {
}
.gc-tw-variant-description, .gc-tw-cover-description {
    margin-left: 1em;
}
.gc-tw-variant-description::before {
    content: 'variant info • ';
    color: var(--accent-color);
    font-style: italic;
}
.gc-tw-cover-description::before {
    content: 'cover • ';
    color: var(--accent-color);
    font-style: italic;
}
.gc-tw-date::before {
    content: ' date ';
    color: var(--accent-color);
    font-style: italic;
}
.gc-tw-publishercatalognumber::before {
    content: ' # ';
    color: var(--accent-color);
    font-style: italic;
}
.gc-tw-game-heading, .gc-tw-cover {
    margin-top: 1.2em;
}
.gc-tw-title {
    color: black;
    font-style: normal;
    font-weight: 700;
    font-size: 1.3em;
}
/*----------------------------------
 Statistics Styles
 for show-database-statistics
 */

.gc-statistic-list-item {
    font-size: 13pt;
    }

/* Search form (2026-11-22, Claude per Rick Tucker) */
.gc-search-form fieldset { border: 0; margin: 0.8em 0; padding: 0; }
.gc-search-form legend { font-weight: 600; margin-bottom: 0.3em; padding: 0; }
.gc-search-form .gc-search-item { display: block; margin: 0.5em 0; }
.gc-search-form .gc-search-item label { display: inline-block; min-width: 11em; }
.gc-search-form .gc-example { display: block; font-size: 0.85em; opacity: 0.75; }
.gc-search-form input[type=text] { width: 100%; max-width: 24em; box-sizing: border-box; }
.gc-search-form input[type=number] { width: 7em; }
.gc-search-check { margin-right: 1.2em; white-space: nowrap; }
.gc-search-revise, .gc-search-advanced { margin: 0.8em 0; }
.gc-search-revise > summary, .gc-search-advanced > summary { cursor: pointer; font-weight: 600; }
.gc-search-empty-message { color: #b00020; font-weight: 600; }
.gc-search-clear { display: inline-block; text-decoration: none; }

/* (2026-11-22b) Menus only as wide as their choices; the WordPress theme otherwise makes them the full width of the page */
.gc-search-form select { width: auto; max-width: 100%; display: inline-block; padding: 0.15em 0.4em; }
.gc-search-form .gc-search-item input[type=text] { display: inline-block; }

/* (2026-11-22c) Table view: each labeled item wraps under the start of its label, indented slightly, with space between items */
.gc-table td .gc-search-game-info { display: block; padding-left: 1.5ch; text-indent: -1.5ch; margin: 0 0 0.6em 0; }
.gc-table td .gc-search-game-info:last-child { margin-bottom: 0; }
.gc-table td .gc-search-game-info * { text-indent: 0; }
.gc-table td .gc-search-game-info > .gc-text-wrap-attribute,
.gc-table td .gc-search-game-info > .gc-text-wrap { display: inline; padding-left: 0; }
.gc-table td .gc-search-game-info > .flex-break { display: none; }
/* IDs column: space between the AGPI # and the Tw # */
.gc-table td .gc-table-id { margin-bottom: 0.6em; }
.gc-table td .gc-table-id:last-child { margin-bottom: 0; }
.gc-table th.game-id { min-width: 8.5em; }
.gc-table td .gc-table-id .gc-game-link { white-space: nowrap; }

/* (2026-11-22d) Cat. # column left-justified */
.gc-table td.gc-catalog-number, .gc-table th.game_catalognumber { text-align: left; }

/* (2026-11-22e) Table view: one font size for headings and all content */
.gc-table, .gc-table th, .gc-table td { font-size: 15px; }
.gc-table td * { font-size: inherit; }
/* On a phone, a table wider than the screen scrolls sideways instead of running off the page */
.gc-game { overflow-x: auto; }

/* (2026-11-22 extra) Class for article pages on GameCatalog.org (not database search results), to keep them at a readable width.
    Need to add class gc-article to the container of each article (e.g., Dating Games) to work. */
.gc-article > .e-con-inner { max-width: 60rem; }

/* (2026-11-22f) Date column left-justified like the other columns */
.gc-table td.game-year { text-align: left; }

/* (2026-11-22g) Table view: smaller buttons (rules-1, 1 copyright, etc.) */
.gc-table .gc-outlined-button { padding: 0 6px; line-height: 1.3; margin: 1px 4px 1px 0; vertical-align: baseline; }

/* (2026-11-22h) Note under "Games matching search" on how to see a game's full information */
.gc-search-note { font-style: italic; font-size: 0.9em; opacity: 0.8; display: block; padding-left: calc(0.3 * 13pt); } /* lines up with the labels above */

/* (2026-11-22i) Table view: words are not split to fit a narrow column; a word breaks only if it is too long for the column on its own */
.gc-table td, .gc-table td * { overflow-wrap: break-word; word-break: normal; }

/* (2026-11-22j) Buttons inside links (1 copyright, 1 patent, 1 trademark) in the link's dark navy, like rules-1 */
a .gc-outlined-button { color: inherit; }

/* (2026-11-23) Space above the line before the statistics at the bottom of search, game and publisher pages */
.gc-statistics { margin-top: 1.5em; }

/* (2026-11-23) Page titles flush left with the content below them */
.page-header .entry-title { max-width: min(1600px, calc(100% - 20px)); padding-left: 0; padding-right: 0; }

/* Image pop-ups as native dialog windows (2026-11-25, Claude per Rick Tucker) */
/* the theme styles every  pink; these keep the image buttons like the rules buttons */
button.gc-dialog-open { color: rgb(14, 5, 149); background-color: #fff; font-size: 13pt; font-style: inherit; text-transform: none; cursor: pointer; }
button.gc-dialog-open:hover, button.gc-dialog-open:focus { color: black; background-color: rgb(235, 235, 245); border-color: rgb(102, 92, 249); }
dialog.gc-dialog { width: min(90vw, 1000px); max-width: 90vw; max-height: 90vh; padding: 0; border: 1px solid #ccc; border-radius: 6px; overflow: hidden; }
dialog.gc-dialog::backdrop { background: rgba(0, 0, 0, 0.7); }
.gc-dialog-header { display: flex; align-items: flex-start; gap: 0.4em; padding: 0.6em 0.8em; border-bottom: 1px solid #ddd; }
.gc-dialog-title { flex: 1; font-size: 0.95em; line-height: 1.35; }
dialog.gc-dialog .gc-dialog-header button { font-size: 1.6em; line-height: 1; padding: 0 0.3em; background: none; border: 0; cursor: pointer; color: inherit; }
dialog.gc-dialog .gc-dialog-header button:hover, dialog.gc-dialog .gc-dialog-header button:focus { background: #eee; color: inherit; border-radius: 4px; }
dialog.gc-dialog .gc-dialog-header button:disabled { opacity: 0.3; cursor: default; background: none; }
.gc-dialog-body { padding: 0.8em; text-align: center; overflow: auto; max-height: calc(90vh - 6em); }
.gc-dialog-body img { max-width: 100%; max-height: calc(90vh - 11em); width: auto; height: auto; }
.gc-dialog-figure { margin: 0; }
.gc-dialog-caption { margin-top: 0.6em; font-size: 0.95em; line-height: 1.45; }
.gc-dialog-caption-title { font-weight: 600; }
.gc-dialog-count { font-weight: 600; }
/* Game page pictures open the pop-up (2026-11-25) */
button.gc-image-button, button.gc-image-button:hover, button.gc-image-button:focus { border: 0; padding: 0; background: none; cursor: zoom-in; }
button.gc-image-button img { display: block; max-width: 100%; height: auto; }
.gc-game-image-caption .gc-dialog-caption-title { font-weight: 600; }

/* (2026-11-25) Accessibility, per Rick Tucker */
/* Text for screen readers only: not shown on the screen */
.gc-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* Headings (h1 game title or publisher name; h2 and h3 in search results) that look like the text they replaced */
h1.gc-heading-inline,
h2.gc-heading-inline,
h3.gc-heading-inline {
    display: inline;
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

/* (2026-12-04) Search button in the same purple pill style as the Elementor "Tips on Searching" button, per Rick Tucker */
button.gc-button.gc-search-submit,
button.gc-button.gc-search-submit:focus {
    background-color: #541CAA;
    color: #FFFFFF;
    border: 0;
    border-radius: 16px;
    padding: 12px 24px;
    font-size: 15px;
    line-height: 1;
    font-style: normal;
    text-transform: none;
    cursor: pointer;
}
button.gc-button.gc-search-submit:hover {
    background-color: #3F1480;
    color: #FFFFFF;
}
 