/* The Guide's System half (guide/system.html) and the Game / System switch both halves share. The rows are
   guide-cards.css's (.gz-row, .gp); this file adds the posters' mock-ups of the game's Options window and of system and
   browser settings, the plain cards (steps, problems, the checklist), the Quality table and the browser cards. What
   moves is transform and opacity only, as on the Game half. */

/* ---- The switch under the title: Game | System, the lit plate under the page shown ---- */
.gs-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid rgba(231, 181, 94, 0.35); border-radius: 999px; background: rgba(10, 13, 20, 0.8); box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.9); }
.gs-switch a { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 128px; padding: 10px 22px; border-radius: 999px; color: var(--muted); font: 700 13px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; transition: color 0.25s ease; }
.gs-switch a:hover { color: var(--text); }
.gs-switch a.is-on { color: #1a1206; }
.gs-switch a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.gs-switch svg { width: 16px; height: 16px; }
.gs-switch__plate { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); box-shadow: 0 0 22px -4px rgba(231, 181, 94, 0.7); transition: translate 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.gs-switch:has(a:last-child.is-on) .gs-switch__plate { translate: 100% 0; }
@media (prefers-reduced-motion: reduce) { .gs-switch__plate { transition: none; } }

/* ---- Tags ---- */
.gs-tag--start { border-color: rgba(231, 181, 94, 0.45); color: var(--gold-hi); }
.gs-tag--game { border-color: rgba(231, 181, 94, 0.6); color: var(--gold-hi); }
.gs-tag--pc { border-color: rgba(74, 146, 255, 0.55); color: #9cc4ff; }
.gs-tag--web { border-color: rgba(76, 208, 138, 0.5); color: #9be8c0; }
.gs-tag--phone { border-color: rgba(190, 120, 255, 0.55); color: #d9b8ff; }
.gs-tag--help { border-color: rgba(224, 82, 74, 0.6); color: #ffb3ab; }

/* ---- The posters: the generated poster's build (.gp) with a mock-up where its pictures stand ---- */
.gs-poster { grid-template-rows: auto auto 1fr auto; }
.gs-art { display: grid; align-content: center; gap: 3cqw; margin: 4cqw 6cqw; }

/* The game's Options window itself is a picture rendered from the game's art (tools/render_options_ui.py), in
   .gp__art--wide as the Game half's screenshots are. */
/* System and browser settings: a window bar with its address, then rows with a switch or a value. */
.gu-sys { overflow: hidden; border: 0.3cqw solid rgba(255, 255, 255, 0.16); border-radius: 1.8cqw; background: #f3f4f7; color: #1d2230; box-shadow: 0 2cqw 5cqw -2cqw rgba(0, 0, 0, 0.9); font-family: var(--body); }
.gu-sys--win, .gu-sys--mac { background: #202431; color: #e9ecf3; }
.gu-sys__bar { display: flex; align-items: center; gap: 1cqw; padding: 1.6cqw 2.2cqw; border-bottom: 0.25cqw solid rgba(0, 0, 0, 0.12); background: #e3e6ec; }
.gu-sys--win .gu-sys__bar, .gu-sys--mac .gu-sys__bar { border-bottom-color: rgba(255, 255, 255, 0.08); background: #171a24; }
.gu-sys__bar i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #c9cdd6; }
.gu-sys--mac .gu-sys__bar i:nth-child(1) { background: #ff5f57; }
.gu-sys--mac .gu-sys__bar i:nth-child(2) { background: #febc2e; }
.gu-sys--mac .gu-sys__bar i:nth-child(3) { background: #28c840; }
.gu-sys__bar span { flex: 1; margin-left: 1.4cqw; padding: 0.9cqw 2cqw; border-radius: 99cqw; background: #fff; color: #4a5266; font: 500 2.2cqw/1 var(--body); }
.gu-sys--win .gu-sys__bar span, .gu-sys--mac .gu-sys__bar span { background: transparent; margin-left: 0.4cqw; padding-left: 0.6cqw; color: #c9cfdc; font-weight: 700; }
.gu-sys__row { display: flex; align-items: center; justify-content: space-between; gap: 2.4cqw; padding: 2.4cqw 2.8cqw; border-bottom: 0.2cqw solid rgba(0, 0, 0, 0.08); font: 500 2.5cqw/1.25 var(--body); }
.gu-sys--win .gu-sys__row, .gu-sys--mac .gu-sys__row { border-bottom-color: rgba(255, 255, 255, 0.06); }
.gu-sys__row:last-child { border-bottom: 0; }
.gu-sys__val { flex: none; padding: 0.8cqw 1.8cqw; border-radius: 0.8cqw; background: rgba(66, 133, 244, 0.14); color: #1a5fd0; font-weight: 700; }
.gu-sys--win .gu-sys__val, .gu-sys--mac .gu-sys__val { background: rgba(122, 170, 255, 0.16); color: #a9c8ff; }
.gu-sw { position: relative; flex: none; width: 7cqw; height: 3.8cqw; border-radius: 99cqw; background: #b5bccb; }
.gu-sw::after { content: ""; position: absolute; top: 0.5cqw; left: 0.5cqw; width: 2.8cqw; height: 2.8cqw; border-radius: 50%; background: #fff; }
.gu-sw.is-on { background: #1a73e8; }
.gu-sw.is-on::after { left: auto; right: 0.5cqw; }
.gu-sys--win .gu-sw.is-on, .gu-sys--mac .gu-sw.is-on { background: #4c8dff; }

/* Three platform tiles. */
.gu-plat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; }
.gu-plat > div { display: grid; justify-items: center; gap: 1.4cqw; padding: 4.4cqw 1cqw 3.6cqw; border: 0.3cqw solid rgba(231, 181, 94, 0.7); border-radius: 2cqw; background: radial-gradient(circle at 50% 30%, #16223f, #070b15 85%); text-align: center; }
.gu-plat svg, .gu-plat img { width: 11cqw; height: 11cqw; color: #f3eee2; object-fit: contain; }
.gu-plat b { color: #fff6d8; font: 700 3.2cqw/1 var(--display); letter-spacing: 0.04em; }
.gu-plat span { color: #ffd24d; font: 600 2.1cqw/1.2 var(--body); }
.gu-plat .is-web { border-color: rgba(76, 208, 138, 0.8); }
/* The browser tile: Chrome's mark (optimized) over the others it runs in, the same makers' logos as the home page's
   tile (img/brands/; owner 2026-11-26: "use the same logos of all browsers in system guide too"). */
.gu-plat .gu-plat__also { display: flex; justify-content: center; gap: 1.4cqw; }
.gu-plat .gu-plat__also img { width: 4.4cqw; height: 4.4cqw; object-fit: contain; }

/* ---- The plain cards: no poster, the body under the title ---- */
.gs-row--plain { grid-template-columns: minmax(0, 1fr); }
.gs-row--plain::after { right: 50%; }
.gs-row--plain .g-faq { max-width: none; }

@media (max-width: 760px) {
	.gs-switch a { min-width: 0; padding: 10px 18px; }
}
