:root {
  color-scheme: dark;
  --background: #141927;
  --panel: #1d2335;
  --border: #38425a;
  --text: #f4f6fc;
  --muted: #bbc5d9;
  --lime: #d2ff87;
  --ink: #17240d;
  --screen: #101625;
  --control: #253049;
  --accent: #f3918b;
  --share: #43588d;
  --share-x: #050608;
  --share-whatsapp: #147a44;
  --share-reddit: #b13615;
  --share-linkedin: #006995;
  --lime-soft: #a8cc78;
  --lime-hover: #e6ffb8;
  font-family: system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--background);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.container { width: min(calc(100% - 3rem), 90rem); margin-inline: auto; }
.skip { position: fixed; z-index: 2; inset: .5rem auto auto .5rem; padding: .6rem; background: var(--lime); color: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; }
.masthead, .footer { background: var(--background); border-bottom: 1px solid var(--border); }
.masthead-inner { width: min(calc(100% - 6rem), 90rem); margin-inline: auto; min-height: 6rem; }
.masthead-inner, .footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 1rem; }
.wordmark { display: inline-flex; gap: .65rem; align-items: center; text-decoration: none; font-size: clamp(1.2rem, .95rem + 1.2vw, 1.85rem); font-weight: 850; }
.mark { display: grid; place-items: center; flex: none; width: 2.9rem; height: 2.9rem; border-radius: .55rem; background: var(--control); }
.mark::before { content: ""; width: 67%; height: 48%; background: var(--lime); clip-path: polygon(25% 27%,37% 5%,63% 5%,75% 27%,78% 45%,100% 64%,87% 78%,67% 78%,65% 94%,35% 94%,33% 78%,13% 78%,0 64%,22% 45%); }
.masthead nav, .footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0 1.2rem; }
.masthead nav a, .footer nav a { display: flex; align-items: center; min-height: 2.75rem; color: var(--muted); font-weight: 650; font-size: .9rem; text-decoration: none; }
.masthead a:hover, .footer a:hover, .prose a, .message a { color: var(--lime); }
h1 { margin: .36rem 0 1.4rem; text-align: center; font-size: clamp(1.4rem, 1.2rem + .4vw, 1.75rem); line-height: 1.35; }
h2, h3 { line-height: 1.3; }
.play-layout { display: grid; grid-template-columns: minmax(0, 2.06fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.player { min-width: 0; border-radius: 0 0 .6rem .6rem; background: var(--panel); }
.screen { position: relative; isolation: isolate; width: 100%; aspect-ratio: 16 / 9; background: var(--screen); }
.screen--blitz { min-height: min(37.5rem, 70svh); }
.screen--portrait { height: min(39rem, 77svh); min-height: 27rem; aspect-ratio: auto; }
.screen:fullscreen { width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; }
.screen iframe, .cover, .loading { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cover { display: grid; place-items: center; }
.cover img { position: absolute; width: 87%; height: 100%; object-fit: contain; }
.screen--clueffy .cover img { object-fit: cover; object-position: center 22%; }
.cover::after { content: ""; position: absolute; inset: 0; background: rgb(7 11 24 / 17%); pointer-events: none; }
.start { position: relative; z-index: 1; display: flex; align-items: center; gap: .7rem; margin-top: 7%; border: 0; border-radius: .65rem; padding: .6rem 1.45rem; min-height: 3rem; color: var(--ink); background: var(--lime); font-weight: 850; box-shadow: 0 5px 12px rgb(8 13 24 / 56%); }
.start span { width: .7rem; height: .85rem; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.start:hover { background: var(--lime-hover); }
.loading { display: grid; align-content: center; justify-items: center; gap: .65rem; }
.loading progress { accent-color: var(--lime); width: min(12rem, 65vw); }
.player-info { padding: .95rem .75rem 1rem; }
.game-caption { display: flex; gap: .75rem; justify-content: space-between; align-items: start; }
.game-caption h2 { margin: 0 0 .2rem; font-size: 1.1rem; }
.game-caption p { margin: 0; max-width: 70ch; color: var(--muted); font-size: .86rem; }
.player-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .95rem; }
.ui-icon-definitions { position: absolute; }
.ui-icon { flex: none; width: .95rem; height: .95rem; fill: currentColor; pointer-events: none; }
.fullscreen, .player-controls :is(button, a), .discussion button {
  min-height: 2.75rem; padding: .4rem .85rem; color: var(--text); background: var(--control);
  border: 1px solid var(--border); border-radius: .6rem; font-size: .85rem; font-weight: 720;
}
.fullscreen { flex-shrink: 0; color: var(--text); background: transparent; border-color: var(--muted); }
.player-controls :is(button, a) {
  display: inline-flex; flex: 1 0 auto; align-items: center; justify-content: center; gap: .42em;
  min-width: 2.75rem; padding-inline: .6rem; border: 0; border-radius: 999px;
  font-size: .75rem; text-decoration: none;
}
.player-controls :is(button, a):hover { filter: brightness(1.15); }
.player-controls .share-icon-only { flex: 0 0 2.75rem; padding-inline: 0; }
.player-controls .share-facebook { background: var(--share); }
.player-controls .share-x { background: var(--share-x); }
.player-controls .share-email { background: var(--border); }
.player-controls .share-whatsapp { background: var(--share-whatsapp); }
.player-controls .share-native, .player-controls .share-copy, [data-gf-like][aria-pressed="true"] {
  background: var(--lime-soft); color: var(--ink);
}
.player-controls .share-native { display: none; }
.player-controls .share-reddit { background: var(--share-reddit); }
.player-controls .share-linkedin { background: var(--share-linkedin); }
.message { margin: .5rem 0 0; font-size: .84rem; }
.message:empty, [data-gf-comment-msg]:empty, [data-gf-reply-to]:empty { display: none; }
.rail-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.tile { display: block; height: 100%; overflow: hidden; border-radius: .55rem; background: var(--panel); color: inherit; text-decoration: none; }
.tile:hover { background: var(--control); }
.tile img { display: block; width: 100%; height: auto; aspect-ratio: 1.92; object-fit: cover; object-position: center 34%; }
.tile h3 { margin: .38rem .5rem .2rem; color: var(--accent); font-size: .92rem; }
.tile p { margin: 0 .5rem .55rem; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.catalog { margin: 1.5rem auto; }
.catalog .tiles { grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr)); }
.more-games { margin-block: 1.5rem; }
.more-games h2 { margin: 0 0 .75rem; font-size: 1.15rem; }
.more-games .tiles { grid-template-columns: repeat(auto-fit, minmax(min(9rem, 48%), 1fr)); }
.sheet { width: min(100%, 57rem); padding: 1.15rem; margin: 1.65rem auto; background: var(--panel); border: 1px solid var(--border); border-radius: .6rem; }
.sheet h2:first-child { margin-top: 0; }
.sheet p, .sheet li { color: var(--muted); }
.prose > * { max-width: 72ch; }
.sheet details { border-top: 1px solid var(--border); }
.sheet summary { padding: .72rem 0; cursor: pointer; font-weight: 700; }
.sheet details p { margin: 0 0 .8rem; }
.discussion form { display: grid; gap: .5rem; max-width: 38rem; }
.discussion input, .discussion textarea { padding: .5rem; border: 1px solid var(--border); border-radius: .4rem; background: var(--background); color: var(--text); }
[data-gf-comment-form]:not([data-gf-replying]) [data-gf-reply-cancel] { display: none; }
.comment { padding: .65rem 0; border-top: 1px solid var(--border); }
.footer { border-top: 1px solid var(--border); margin-top: 2rem; }
.footer-inner { min-height: 4rem; }
.footer-inner > a { font-weight: 750; text-decoration: none; }
@media (max-width: 64rem) {
  .play-layout { gap: 1rem; }
  .tiles { gap: .8rem; }
}
@media (max-width: 48rem) {
  .container, .masthead-inner { width: calc(100% - 1.5rem); }
  .masthead-inner { min-height: 0; padding: .6rem 0 .2rem; }
  .masthead nav { width: 100%; gap: 0 .65rem; }
  .masthead nav a { font-size: .82rem; }
  .mark { width: 2rem; height: 2rem; }
  h1 { margin: .68rem 0 .75rem; }
  .play-layout { grid-template-columns: minmax(0, 1fr); }
  .player { margin-inline: -.75rem; }
  .screen--clueffy .cover img { width: 100%; }
  .screen--clueffy { min-height: min(25rem, 55svh); }
  .screen--standard { aspect-ratio: 4 / 3; }
  .screen--portrait { height: min(38rem, 76svh); }
  .screen--blitz { min-height: min(34rem, 64svh); }
  .screen--readable { min-height: min(28rem, 62svh); }
  .screen:fullscreen { min-height: 0; }
  .rail-title { position: static; width: auto; height: auto; clip-path: none; margin: .2rem 0 .7rem; font-size: 1.15rem; }
}
@media (max-width: 40rem), (pointer: coarse) {
  .player-controls .share-native { display: inline-flex; }
  .player-controls .share-copy { display: none; }
}
