/* Generated by scripts/build-edu.mjs from games/app.css, software/app.css and software/shell.css. Do not edit. */
:root {
  color-scheme: light;
  --bg: #f6f3eb;
  --paper: #fffdf8;
  --ink: #24251f;
  --muted: #6c6c63;
  --line: #dfded5;
  --accent: #be421b;
  --orange: #ef632f;
  --sans:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}
.availability-bar { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); margin-bottom: 14px; }
.availability-bar strong { font-size: 12px; }
.availability-bar p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.availability-toggle { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; cursor: pointer; flex-shrink: 0; min-height: 40px; }
.availability-toggle input { width: 34px; height: 20px; appearance: none; border-radius: 20px; background: #d3d4c9; cursor: pointer; position: relative; margin: 0; }
.availability-toggle input::before { content: ""; position: absolute; height: 14px; width: 14px; border-radius: 50%; top: 3px; left: 3px; background: white; box-shadow: 0 1px 3px #0003; }
.availability-toggle input:checked { background: var(--accent); }
.availability-toggle input:checked::before { transform: translateX(14px); }
.availability-toggle span { font-weight: 400; color: var(--muted); }
.availability { display: inline-flex; gap: 5px; align-items: center; border-radius: 4px; padding: 2px 6px; background: #ecebe5; color: #66665c; font-size: 9px; font-weight: 650; white-space: nowrap; }
.availability::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.availability[data-state="live"] { background: #e5eedf; color: #42613b; }
.availability[data-state="error"] { background: #fae5df; color: #a13424; }
.availability[data-state="unknown"] { background: #f2ead4; color: #78602d; }
.next-tabs h2 { font-size: 21px; letter-spacing: -.6px; margin: 0; }
.next-tabs { max-width: 900px; margin: 30px 0 40px; }
.next-tabs table { border-collapse: collapse; width: 100%; margin: 16px 0; text-align: left; font-size: 12px; }
.next-tabs th, .next-tabs td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.next-tabs thead th { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.next-tabs tbody th { width: 26%; padding-left: 0; }
.next-tabs td > span { display: inline-block; margin: 0 18px 4px 0; color: var(--muted); }
.next-tabs td a { color: var(--ink); font-weight: 600; }
.next-tabs > p { font-size: 11px; color: var(--muted); }
.discovery { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; padding: 25px 0 35px; border-top: 1px solid var(--line); font-size: 12px; }
.discovery span { font-weight: 700; margin-right: auto; }
@media (max-width: 760px) {
  .availability-bar { align-items: flex-start; flex-direction: column; gap: 8px; }
  .next-tabs h2 { font-size: 19px; }
  .discovery { gap: 14px; }
  .discovery span { flex-basis: 100%; }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 13px/1.55 var(--sans);
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.45;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.shell {
  max-width: 1320px;
  padding: 0 30px;
  margin: auto;
}
header {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.9px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--orange);
  color: #251b13;
  font-size: 15px;
  letter-spacing: -0.6px;
}
.catalog-count {
  font-size: 18px;
  font-weight: 750;
  color: var(--ink);
  letter-spacing: -0.3px;
}
/* Between 1100 and ~1340 px the header row has no room for the count on one line
   (it pushed "Suggest a game" 10 px off a 1280 px screen): it wraps between its
   phrases, never inside one. The shell's nowrap rule loads later, hence .gallery-page. */
.gallery-page .catalog-header > .catalog-count { min-width: 0; white-space: normal; text-align: right; line-height: 1.15; }
.catalog-count .count-part { white-space: nowrap; }
.catalog-count .count-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.share {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.share .button {
  gap: 7px;
  padding: 9px 11px;
  color: var(--ink);
}
.share .button.copied {
  border-color: #7fae7c;
  background: #e9f3e6;
}
.share-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 37px;
  background: var(--paper);
  font-weight: 650;
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover {
  border-color: #b7b5a8;
}
.button.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #281c11;
}
.button.primary:hover {
  background: #ff7745;
}
.controls {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  padding: 21px 0 7px;
}
.search {
  flex: 1;
  min-width: 230px;
}
.search input {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 38px;
  padding: 9px 12px;
  font-size: 12px;
}
.control select {
  min-height: 38px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 24px 8px 10px;
  max-width: 180px;
  font-size: 11px;
}
.filter-toggle[aria-pressed="true"] {
  background: #fae2d4;
  border-color: #e5aa91;
  color: #973012;
}
.filter-toggle span {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.list-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 36px;
  color: var(--muted);
  font-size: 10px;
}
.list-meta p {
  margin: 0;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  padding: 4px 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-button:hover {
  color: var(--accent);
}
.game-list {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.game article {
  display: grid;
  grid-template-columns: 35px 76px minmax(0, 1fr) 235px 115px;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.game[aria-busy="true"] {
  opacity: 0.75;
}
.votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.vote {
  width: 32px;
  height: 27px;
  border: 0;
  background: transparent;
  color: #818278;
  border-radius: 4px;
  font-size: 12px;
}
.vote:hover {
  background: #ebe8df;
  color: var(--ink);
}
.vote.up[aria-pressed="true"] {
  background: #f9e0d2;
  color: #b6431f;
}
.vote.down[aria-pressed="true"] {
  background: #dee8f4;
  color: #34608c;
}
.score {
  font-size: 13px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}
.votes:has(.up[aria-pressed="true"]) .score {
  color: var(--accent);
}
.votes:has(.down[aria-pressed="true"]) .score {
  color: #34608c;
}
.thumbnail {
  height: 64px;
  width: 76px;
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  background: #e6dfc8;
  display: block;
  text-decoration: none;
}
.thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fallback-art {
  display: none;
  width: 100%;
  height: 100%;
  place-items: center;
  font-size: 28px;
  font-weight: 750;
  color: #706548;
  background: #eee3c5;
}
.thumbnail.no-image .fallback-art {
  display: grid;
}
.thumbnail.no-image img {
  display: none;
}
.game-info,
.credits {
  min-width: 0;
}
.title-line {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}
.title-line h2 {
  min-width: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.3px;
  font-weight: 750;
}
.game-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}
.game-title:hover {
  color: var(--accent);
}
.category-tag {
  font-size: 9px;
  color: #747569;
  white-space: nowrap;
}
.description {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 3px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.game-tags {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 9px;
  color: var(--muted);
}
.ai-kind {
  color: #9c4024;
  font-weight: 600;
}
.game-tags .text-button {
  font-size: 9px;
}
.credits {
  font-size: 11px;
}
.author-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.author {
  font-weight: 650;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.author:hover,
.author-x:hover {
  color: var(--accent);
}
.author-x {
  flex-shrink: 0;
  font-size: 9px;
  color: var(--muted);
  text-decoration: none;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.model-line {
  margin: 5px 0 0;
  font-size: 10px;
  color: #52594e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.model-line a {
  text-decoration: underline;
  text-decoration-color: #aeb3a5;
  text-decoration-style: dotted;
}
.model-line.unknown {
  color: var(--muted);
}
.tool-line {
  margin: 3px 0 0;
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
}
.numbers {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.open-count {
  white-space: nowrap;
}
.favorite {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  border-radius: 4px;
  min-height: 30px;
  padding: 3px 5px;
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.favorite:hover {
  background: #ece8df;
}
.favorite[aria-pressed="true"] {
  color: var(--accent);
  background: #fae8de;
}
.heart {
  font-size: 18px;
  line-height: 1;
}
.count-note {
  font-size: 10px;
  color: var(--muted);
  margin: 18px 0 28px;
  line-height: 1.7;
}
.count-note .text-button {
  margin-left: 4px;
}
.notice {
  padding: 11px 13px;
  background: #fae6d9;
  border: 1px solid #f0c6ad;
  border-radius: 6px;
  font-size: 12px;
  margin: 7px 0 12px;
}
.empty {
  text-align: center;
  padding: 45px 15px;
  border-bottom: 1px solid var(--line);
}
.empty h2 {
  font-size: 20px;
  margin: 0 0 6px;
}
.empty p {
  color: var(--muted);
}
dialog {
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 27px;
  max-width: min(650px, calc(100% - 24px));
  width: 650px;
  max-height: calc(100dvh - 30px);
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #1f251aa6;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.7px;
  margin: 0 35px 12px 0;
  overflow-wrap: anywhere;
}
dialog h3 {
  font-size: 13px;
  margin: 22px 0 8px;
}
dialog p {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.dialog-close {
  position: absolute;
  right: 9px;
  top: 8px;
  border: 0;
  background: transparent;
  font-size: 26px;
  width: 37px;
  height: 37px;
  border-radius: 6px;
}
.dialog-close:hover {
  background: #eae7dd;
}
.detail-fields {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr);
  font-size: 12px;
  row-gap: 12px;
  column-gap: 15px;
}
.detail-fields dt {
  color: var(--muted);
}
.detail-fields dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.detail-fields dd a {
  color: var(--ink);
}
.detail-fields .model-detail {
  display: block;
  margin-bottom: 8px;
}
.source-list {
  padding-left: 18px;
  font-size: 11px;
}
.source-list li {
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.source-list a {
  display: inline-block;
  max-width: 100%;
  vertical-align: bottom;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dialog-intro {
  margin-bottom: 16px;
}
.suggest-dialog {
  width: min(520px, calc(100% - 24px));
}
.suggest-tabs {
  display: flex;
  gap: 4px;
  margin: 0 0 16px;
  padding: 4px;
  border-radius: 10px;
  background: #eceae2;
}
.suggest-tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  min-height: 38px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
}
.suggest-tabs button[aria-selected="true"] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 2px #24251f14;
}
.simple-form {
  grid-template-columns: 1fr;
  gap: 12px;
}
.simple-form label {
  display: block;
}
.simple-form label input,
.simple-form label textarea,
.simple-form label select {
  display: block;
  margin-top: 5px;
}
.paste-label {
  display: block;
}
.paste-label textarea,
#pasteField {
  width: 100%;
  min-height: 180px;
  resize: vertical;
  background: var(--paper);
  border: 1px solid #cfcec3;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  line-height: 1.45;
  font-family: inherit;
}
.suggest-dialog .form-bottom {
  margin-top: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  font-weight: 650;
  min-width: 0;
}
.form-grid label span {
  display: inline;
  color: var(--accent);
}
.form-grid .full {
  grid-column: 1/-1;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-width: 0;
  background: var(--paper);
  border: 1px solid #cfcec3;
  border-radius: 5px;
  min-height: 38px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 400;
}
.form-grid textarea {
  resize: vertical;
  min-height: 65px;
}
.private-fields {
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.private-fields summary {
  cursor: pointer;
  font-size: 11px;
  color: var(--muted);
}
.private-fields .form-grid {
  margin-top: 14px;
}
.private-fields p {
  font-size: 10px;
}
.form-status {
  font-size: 12px !important;
  margin: 15px 0 0;
  white-space: pre-line;
}
.form-status.error {
  color: #a8341d;
}
.form-status.success {
  color: #326231;
}
.form-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  gap: 15px;
  font-size: 10px;
  color: var(--muted);
}
.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 10px;
  top: 10px;
  z-index: 20;
  background: var(--ink);
  color: white;
  padding: 10px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
@media (max-width: 1100px) {
  .shell {
    padding: 0 24px;
  }
  .game article {
    grid-template-columns: 32px 65px minmax(0, 1fr) 205px 95px;
    gap: 12px;
  }
  .thumbnail {
    width: 65px;
    height: 60px;
  }
  .author-line {
    display: block;
  }
  .author-x {
    display: block;
    max-width: none;
    margin-top: 2px;
  }
  .controls {
    gap: 7px;
  }
  .control select {
    max-width: 160px;
  }
  .title-line {
    gap: 7px;
  }
  .category-tag {
    display: none;
  }
}
@media (max-width: 850px) {
  .game article {
    grid-template-columns: 32px 65px minmax(0, 1fr) 95px;
    gap: 9px 13px;
    padding: 14px 0;
  }
  .credits {
    grid-column: 3;
    grid-row: 2;
  }
  .game-info {
    grid-column: 3;
    grid-row: 1;
  }
  .game-actions {
    grid-column: 4;
    grid-row: 1/3;
  }
  .votes,
  .thumbnail {
    grid-row: 1/3;
  }
  .author-line {
    display: flex;
  }
  .author-x {
    margin-top: 0;
    max-width: 120px;
  }
  .model-line,
  .tool-line {
    display: inline-block;
    margin: 3px 8px 0 0;
    max-width: 100%;
  }
  .game-tags {
    gap: 8px;
  }
  .search {
    flex-basis: 100%;
  }
  .control {
    flex: 1;
  }
  .control select {
    width: 100%;
    max-width: none;
  }
  .catalog-count {
    font-size: 10px;
  }
  .description {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .credits {
    font-size: 10px;
  }
  .model-line {
    font-size: 9px;
  }
}
@media (max-width: 560px) {
  .shell {
    padding: 0 14px;
  }
  header {
    height: 66px;
    gap: 10px;
  }
  .brand {
    font-size: 21px;
    gap: 8px;
  }
  .brand-icon {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  .catalog-count {
    display: none;
  }
  header > .button {
    font-size: 10px;
    min-height: 36px;
    padding: 8px 10px;
  }
  .share {
    gap: 6px;
  }
  .share .button {
    width: 36px;
    min-height: 36px;
    padding: 0;
  }
  .share-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .controls {
    padding-top: 15px;
    gap: 7px;
  }
  .search {
    min-width: 100%;
  }
  .control {
    flex: 1 1 calc(50% - 4px);
  }
  .control select {
    width: 100%;
    max-width: none;
    padding: 7px 15px 7px 7px;
    font-size: 10px;
  }
  .filter-toggle {
    font-size: 10px;
    min-height: 32px;
    padding: 6px 10px;
  }
  .list-meta {
    min-height: 34px;
    font-size: 9px;
  }
  .game article {
    grid-template-columns: 29px 47px minmax(0, 1fr) 58px;
    gap: 7px 9px;
    padding: 14px 0;
  }
  .thumbnail {
    height: 44px;
    width: 47px;
    grid-row: 1;
    align-self: start;
    margin-top: 3px;
  }
  .votes {
    grid-column: 1;
    grid-row: 1/3;
    align-self: start;
    margin-top: 0;
  }
  .vote {
    width: 29px;
    height: 30px;
  }
  .score {
    font-size: 12px;
  }
  .game-info {
    grid-column: 3/5;
    grid-row: 1;
  }
  .title-line h2 {
    font-size: 14px;
  }
  .description {
    font-size: 10px;
    line-height: 1.55;
    margin: 4px 0;
  }
  .game-tags {
    gap: 6px;
    font-size: 8px;
  }
  .game-tags .text-button {
    font-size: 8px;
  }
  .credits {
    grid-column: 2/4;
    grid-row: 2;
    padding-top: 3px;
  }
  .author-line {
    display: block;
  }
  .author {
    display: inline-block;
    max-width: 100%;
    vertical-align: bottom;
    font-size: 10px;
  }
  .author-x {
    display: inline-block;
    margin-left: 7px;
    font-size: 8px;
    max-width: 112px;
    vertical-align: bottom;
  }
  .model-line {
    display: block;
    font-size: 9px;
    max-width: 100%;
    margin-top: 4px;
  }
  .tool-line {
    font-size: 8px;
    margin-top: 0;
  }
  .game-actions {
    grid-column: 4;
    grid-row: 2;
    align-self: end;
    gap: 4px;
  }
  .numbers {
    gap: 1px;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 9px;
  }
  .favorite {
    font-size: 9px;
    min-height: 28px;
    padding: 2px 4px;
  }
  .heart {
    font-size: 17px;
  }
  .open-count {
    font-size: 9px;
    white-space: nowrap;
  }
  .count-note {
    font-size: 9px;
    line-height: 1.7;
  }
  .count-note .text-button {
    font-size: 9px;
    margin-left: 0;
  }
  dialog {
    padding: 22px 18px;
  }
  dialog h2 {
    font-size: 23px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .form-grid label {
    font-size: 11px;
  }
  .form-grid input,
  .form-grid select,
  .form-grid textarea,
  #pasteField {
    font-size: 16px;
  }
  .detail-fields {
    grid-template-columns: 75px minmax(0, 1fr);
    gap: 10px;
    font-size: 11px;
  }
  .source-list {
    font-size: 10px;
  }
  .form-bottom {
    gap: 10px;
  }
  .fallback-art {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Editorial collections keep scores distinct from the community counters. */
.collections { display: flex; gap: 5px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.collections button { border: 1px solid transparent; border-radius: 6px; background: transparent; padding: 9px 14px; min-height: 40px; font-size: 12px; font-weight: 650; }
.collections button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.collections button:hover:not([aria-pressed="true"]) { background: #eae6da; }
.collections button span { margin-left: 7px; font-size: 10px; opacity: .65; font-variant-numeric: tabular-nums; }
.collection-note { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
.controls { padding-top: 10px; }
/* Five columns: the creator, model and tools moved into the info column's meta line (12 Sep 2026). */
.game article { grid-template-columns: 56px 62px 76px minmax(0, 1fr) 48px; grid-template-areas: "community rating art info actions"; gap: 14px; padding: 13px 0; align-items: center; }
/* Community column: the stars and opens. */
.game .community { grid-area: community; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.game .community .numbers { flex-direction: column; align-items: center; gap: 0; font-size: 10px; }
.game .community .favorite { min-height: 26px; padding: 2px 6px; gap: 4px; }
.game .community .heart { font-size: 15px; }
.game .community .open-count { color: var(--muted); padding: 2px 0; }
/* Editorial score as a small card: rank, score, scale. */
.game .thumbnail { grid-area: art; }
.game .game-info { grid-area: info; }
.game .credits { display: contents; }
.game .votes { grid-area: votes; }
.game .game-actions { grid-area: actions; }
.game .game-tags { gap: 2px 12px; font-size: 10px; margin-top: 2px; line-height: 1.6; }
.game .author-line { display: inline-flex; gap: 6px; align-items: baseline; min-width: 0; max-width: 100%; }
.game .author { display: inline-block; font-weight: 650; color: var(--ink); max-width: 220px; }
.game .author-x { display: inline-block; margin: 0; }
.game .model-line, .game .tool-line { display: inline-block; margin: 0; font-size: 10px; max-width: 260px; vertical-align: bottom; }
.game .tool-line[hidden] { display: none; }
.game .description { white-space: normal; font-size: 12px; line-height: 1.5; margin: 2px 0; display: block; }
.ranking-reason { margin: 1px 0 3px; color: #505247; font-size: 11px; line-height: 1.55; }
.x-posts { display: flex; flex-wrap: wrap; gap: 5px 14px; margin: 4px 0; font-size: 10px; color: var(--accent); }
/* Device chip: honest three-state flag from the catalog's devices field. */
.device-tag { display: inline-flex; align-items: center; gap: 4px; border-radius: 4px; padding: 2px 6px; font-size: 9px; font-weight: 650; white-space: nowrap; background: #ecebe5; color: #66665c; line-height: 1.5; }
.device-tag[data-devices="both"], .device-tag[data-devices="mobile"] { background: #e2ebf5; color: #2f5680; }
.device-tag[data-devices="unknown"] { background: transparent; border: 1px dashed #cfcdc2; color: var(--muted); padding: 1px 5px; }
.device-tag:empty { display: none; }
.x-posts a { text-decoration: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 100%; }
.x-posts a:hover { text-decoration: underline; }
.x-posts > span { color: var(--muted); }
/* Play is a round start button: icon only, the label stays for assistive tech. */
.game .game-actions { grid-area: actions; display: flex; align-items: center; justify-content: center; align-self: center; }
#detailsPlay { background: var(--accent); border-color: var(--accent); color: #fff; font-size: 12px; font-weight: 750; min-height: 44px; padding: 10px 13px; gap: 12px; border-radius: 7px; box-shadow: 0 2px 0 #762b17; }
#detailsPlay:hover { background: #9e3214; border-color: #9e3214; }
#detailsPlay:active { transform: translateY(1px); box-shadow: none; }
/* Round start control: flat green disc, white triangle, no text. */
.game .play, .featured-game .play { --go: #16a34a; width: 40px; height: 40px; min-height: 0; padding: 0; gap: 0; border-radius: 50%; border: 0; background: var(--go); color: #fff; box-shadow: none; transition: background 0.12s ease, transform 0.12s ease; }
.game .play .play-label, .featured-game .play .play-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.game .play:hover, .featured-game .play:hover { background: #15803d; transform: scale(1.06); }
.game .play:active, .featured-game .play:active { transform: scale(0.96); }
.game .play:focus-visible, .featured-game .play:focus-visible, #detailsPlay:focus-visible { outline: 3px solid #86efac; outline-offset: 3px; }
#detailsPlay:focus-visible { outline-color: #f2a98f; }
.play-icon { display: grid; place-items: center; line-height: 1; }
.play-icon svg { display: none; width: 18px; height: 18px; }
#detailsPlay .play-icon svg { width: 15px; height: 15px; }
[data-kind="play"] .icon-play, [data-kind="external"] .icon-external, [data-kind="retry"] .icon-retry { display: block; }
.game .play[data-kind="play"] .icon-play, .featured-game .play[data-kind="play"] .icon-play { margin-left: 2px; } /* optical centre for the triangle */
.game .play.retry-link, .featured-game .play.retry-link, #detailsPlay.retry-link { background: #fae5df; color: #983620; border: 1px solid #dfad9f; box-shadow: none; }
.game .play.retry-link:hover, .featured-game .play.retry-link:hover { background: #f4d3c9; transform: none; }
.x-post-link, .source-list .x-post-link { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); text-decoration: none; }
.x-post-link:hover, .source-list .x-post-link:hover { background: #eae6da; border-color: #b8b4a6; text-decoration: none; }
.x-post-link span { overflow: hidden; text-overflow: ellipsis; }
.x-logo { width: 13px; height: 13px; flex: 0 0 13px; }
main { padding-top: 14px; }
.featured { margin: 0 0 12px; }
.featured h2 { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; color: var(--muted); }
.featured-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; margin: 0; padding: 0; }
.featured-game article { position: relative; display: flex; flex-direction: column; min-height: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.featured-art, .featured-art.thumbnail { display: block; aspect-ratio: 16 / 9; width: 100%; height: auto; border-radius: 0; background: #e6dfc8; }
.featured-art img { width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: 10px 12px 12px; min-width: 0; }
.featured-body h3 { margin: 0; font-size: 16px; letter-spacing: -0.3px; font-weight: 750; }
.featured-body .game-title { white-space: nowrap; }
.featured-body .description { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 4px 0 0; }
.featured-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; font-size: 10px; }
.featured-game .play { position: absolute; right: 10px; top: 10px; z-index: 1; }
.featured-body { cursor: pointer; }
.featured-community { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.featured-community .vote { width: auto; height: 30px; display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; font-size: 11px; color: var(--muted); }
.featured-community .vote .score { font-size: 12px; color: var(--ink); }
.featured-community .vote.up[aria-pressed="true"] .score { color: var(--accent); }
.featured-community .favorite { min-height: 30px; padding: 0 8px; }
.featured-community .heart { font-size: 15px; }
.featured-community .open-count { display: inline-flex; align-items: center; gap: 4px; padding: 0 6px; min-height: 30px; }
.featured-community .details { margin-left: auto; font-size: 11px; }
.stars-summary { color: #8a6d1d; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stars-summary[hidden] { display: none; }
.your-take { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.your-take h3 { margin: 0 0 10px; }
.take-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px 0; font-size: 12px; }
.take-label { font-weight: 650; min-width: 118px; }
.mobile-vote { display: inline-flex; gap: 4px; }
.mobile-vote .button { min-height: 34px; padding: 6px 14px; font-size: 12px; }
.mobile-vote .button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.take-tally { color: var(--muted); font-size: 11px; }
#detailsStars { width: 180px; accent-color: #c9961a; margin: 0; }
.stars-output { font-size: 20px; letter-spacing: 2px; color: #c9961a; line-height: 1; min-width: 118px; }
.take-status { margin: 6px 0 0; font-size: 11px; }
@media (max-width: 560px) {
  .take-label { min-width: 100%; }
  #detailsStars { width: min(180px, 55vw); }
}
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 6px; }
.toolbar .search { flex: 1 1 220px; min-width: 0; }
.toolbar .search input { min-height: 38px; }
.browse { flex: 0 0 auto; }
.browse > summary { list-style: none; display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font-size: 12px; font-weight: 650; cursor: pointer; }
.browse > summary::-webkit-details-marker { display: none; }
.browse[open] { flex: 1 1 100%; }
.browse-body { margin-top: 8px; padding: 10px 12px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.browse .availability-bar { margin: 0; padding: 0 0 10px; border: 0; border-radius: 0; background: transparent; }
.browse .collections { padding-bottom: 8px; }
.browse .collection-note { margin: 0 0 8px; }
.browse .controls { padding: 8px 0 0; }
.rating-method { border-top: 1px solid var(--line); padding: 20px 0 30px; font-size: 12px; }
.rating-method summary { cursor: pointer; font-weight: 650; }
.rating-method p { color: var(--muted); max-width: 850px; line-height: 1.8; }
.details-rating { color: var(--accent); font-weight: 700; }
.quick-links { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; margin: 14px 0; }
@media (max-width: 1100px) {
  .game article { grid-template-columns: 52px 58px 65px minmax(0, 1fr) 48px; gap: 12px; }
  .game .thumbnail { width: 65px; height: 54px; }
}
@media (max-width: 560px) {
  .featured-list { gap: 8px; }
  .featured-art, .featured-art.thumbnail { width: 100%; height: auto; }
  .featured-body { padding: 8px 10px 10px; }
  .featured-body h3 { font-size: 14px; }
  .featured-game .play { width: 36px; height: 36px; right: 8px; top: 8px; }
  .collections { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .collections button { padding: 8px; font-size: 11px; border-color: var(--line); }
  .collection-note { line-height: 1.7; }
  .game article { grid-template-columns: 54px minmax(0, 1fr) 48px; grid-template-areas: "rating info info" "art info info" "community community actions"; gap: 8px 12px; padding: 14px 0; align-items: start; }
  .game .community { align-self: center; }
  .game .thumbnail { width: 48px; height: 44px; margin: 0; align-self: start; }
  .game .game-actions { align-self: center; }
  .game .description { font-size: 11px; }
  .game .title-line h2 { font-size: 16px; }
  .game .votes { flex-direction: column; flex-wrap: nowrap; }
  .game .vote { width: 30px; height: 25px; }
  .game .ranking-reason { font-size: 11px; }
  .game .model-line { max-width: 100%; }
}

/* Leave room for the dock at every viewport size. */
body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
html { scroll-padding-bottom: 85px; }
.x-preview { position: fixed; inset: auto; margin: 0; padding: 12px; width: min(390px, calc(100vw - 24px)); max-height: min(610px, calc(100dvh - 90px)); border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); box-shadow: 0 12px 45px #24251f33; z-index: 100; overflow-y: auto; overscroll-behavior: contain; }
.x-preview::backdrop { background: transparent; pointer-events: none; }
.x-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: -12px; padding: 4px 0 8px; background: var(--paper); z-index: 1; }
.x-preview-heading a { font-size: 12px; color: var(--accent); font-weight: 650; }
.x-preview-heading button { border: 0; border-radius: 5px; width: 30px; height: 30px; font-size: 23px; line-height: 1; background: transparent; }
.x-preview-heading button:hover { background: var(--bg); }
#xPreviewStatus { margin: 12px 0; font-size: 12px; color: var(--muted); }
.x-preview-body { min-width: 0; }
.x-preview-body iframe { max-width: 100% !important; }

/* Phone (11 Sep 2026): community row under the credits with finger-sized targets,
   no text under 10px, play disc bottom-right. */
@media (max-width: 560px) {
  .game article { grid-template-columns: 54px minmax(0, 1fr) 48px; grid-template-areas: "rating info info" "art info info" "community community actions"; gap: 8px 12px; padding: 14px 0; align-items: start; }
  .game .author { max-width: 100%; }
  .game .model-line, .game .tool-line { font-size: 10px; margin: 0; max-width: 100%; }
  .device-tag { font-size: 10px; }
  .game .author-x, .game .model-line a { display: inline-block; padding: 4px 0; }
  .game .community { flex-direction: row; align-items: center; gap: 6px; padding-left: 66px; align-self: center; }
  .game .community .votes { flex-direction: row; align-items: center; gap: 0; }
  .game .vote { width: 38px; height: 34px; font-size: 13px; }
  .game .score { min-width: 2ch; text-align: center; font-size: 14px; }
  .game .community .numbers { flex-direction: row; align-items: center; gap: 4px; font-size: 11px; }
  .game .community .favorite { min-height: 34px; padding: 4px 8px; font-size: 11px; }
  .game .community .heart { font-size: 16px; }
  .game .community .open-count { display: inline-flex; align-items: center; gap: 4px; min-height: 34px; padding: 4px 6px; font-size: 11px; }
  .game .community .opens { font-size: 11px; }
  .game .author-x { font-size: 10px; }
  .game .game-tags { font-size: 10px; }
  .game .game-actions { align-self: center; justify-self: end; }
  .game .description { font-size: 12px; }
  .game .ranking-reason { font-size: 11.5px; }
  .game .ai-kind, .game .access-label { font-size: 10px; }
  .game .game-tags .text-button { font-size: 10.5px; min-height: 32px; padding: 6px 0; }
  .availability { font-size: 10px; }
  .list-meta { font-size: 10px; }
  .list-meta .text-button { min-height: 32px; }
  .count-note, .count-note .text-button { font-size: 10.5px; }
}

/* Featured: two picks side by side; stack on phones so both cards stay fully visible. */
.featured-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.featured-body .description { -webkit-line-clamp: 2; font-size: 11.5px; }
@media (max-width: 560px) {
  .featured-list { grid-template-columns: 1fr; }
}

/* List rows v3 (12 Sep 2026): picture-led rows that echo the featured cards. Art | info | play.
   The score is a small pill before the title; votes, favorites and opens sit on one line under the meta. */
.game article { grid-template-columns: 152px minmax(0, 1fr) 48px; grid-template-areas: "art info actions"; gap: 16px; padding: 14px 0; align-items: start; }
.game .thumbnail { grid-area: art; width: 152px; height: 86px; border-radius: 8px; background: #e6dfc8; margin: 0; align-self: start; box-shadow: inset 0 0 0 1px #0000000d; }
.game .thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.game .fallback-art { font-size: 26px; }
.game .game-info { grid-area: info; }
.game .game-actions { grid-area: actions; align-self: start; margin-top: 22px; justify-self: end; }
.game .title-line { flex-wrap: wrap; gap: 5px 8px; align-items: center; }
.game .title-line h2 { font-size: 15px; }
.game .description { margin: 3px 0 0; }
.game .ranking-reason { margin: 2px 0 0; }
.game .x-posts { margin: 5px 0 0; }
.game .game-tags { margin-top: 5px; }
.game .community { flex-direction: row; align-items: center; gap: 2px 4px; margin-top: 5px; padding: 0; align-self: auto; flex-wrap: wrap; color: var(--muted); font-size: 11px; }
.game .community .votes { flex-direction: row; align-items: center; gap: 0; }
.game .vote { width: 30px; height: 28px; font-size: 11px; }
.game .score { font-size: 12px; min-width: 2ch; text-align: center; }
.game .community .numbers { flex-direction: row; align-items: center; gap: 2px; font-size: 11px; }
.game .community .favorite { min-height: 28px; padding: 2px 7px; gap: 4px; font-size: 11px; }
.game .community .heart { font-size: 14px; }
.game .community .open-count { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 2px 6px; font-size: 11px; }
.game .community .opens { font-size: 11px; }
@media (max-width: 1100px) {
  .game article { grid-template-columns: 132px minmax(0, 1fr) 48px; gap: 14px; }
  .game .thumbnail { width: 132px; height: 75px; }
}
@media (max-width: 560px) {
  .game article { grid-template-columns: 96px minmax(0, 1fr) 44px; grid-template-areas: "art info actions"; gap: 10px; padding: 12px 0; align-items: start; }
  .game .thumbnail { width: 96px; height: 62px; border-radius: 7px; }
  .game .fallback-art { font-size: 20px; }
  .game .game-actions { margin-top: 14px; }
  .game .play { width: 38px; height: 38px; }
  .game .title-line h2 { font-size: 14.5px; }
  .game .description { font-size: 11.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .game .ranking-reason { font-size: 11px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .game .community { padding: 0; gap: 0 2px; }
  .game .vote { width: 34px; height: 32px; font-size: 12px; }
  .game .community .favorite, .game .community .open-count { min-height: 32px; }
}

/* Phone rows v3: art beside the title only; text runs full width below; counts and Play share the last line. */
@media (max-width: 560px) {
  .game article { grid-template-columns: 96px minmax(0, 1fr) 44px; grid-template-areas: "art head head" "body body body" "community community actions"; gap: 8px 10px; }
  .game .game-info { display: contents; }
  .game .title-line { grid-area: head; align-self: center; align-content: center; }
  .game .game-body { grid-area: body; min-width: 0; }
  .game .community { grid-area: community; margin-top: 0; }
  .game .game-actions { grid-area: actions; margin-top: 0; align-self: center; }
  .game .description { -webkit-line-clamp: 2; }
}

/* Omarchy plugins tab ------------------------------------------------------ */
.gallery-collections .gallery-omarchy { position: relative; }
.gallery-collections .gallery-omarchy::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--platform-omarchy, #449dab); vertical-align: 1px; }
.gallery-collections .gallery-omarchy[aria-pressed="true"]::before { background: #7fd3df; }
.omarchy { padding: 0 0 40px; }
.omarchy-head { max-width: 980px; margin: 0 auto 14px; text-align: center; }
.omarchy-head h2 { margin: 0 0 12px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; letter-spacing: -1px; }
.omarchy-head p { margin: 0 0 10px; font-size: 13px; line-height: 1.65; color: #6f7075; }
.omarchy-head code, .omarchy-builtin code, .omarchy-warning code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; background: #f2f2f3; padding: 1px 6px; border-radius: 6px; color: #2b2c30; }
.omarchy-warning { display: inline-block; padding: 8px 14px; border-radius: 12px; font-size: 12px !important; line-height: 1.55; background: #fff7ed; color: #7c4a12 !important; border: 1px solid #fde4c4; }
.omarchy-warning strong { color: #9a4b0a; }
.omarchy-groups { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 4px 0 10px; }
.omarchy-groups button { border: 0; border-radius: 999px; background: #f2f2f3; color: #5b5c61; padding: 9px 14px; font-size: 12px; font-weight: 500; cursor: pointer; }
.omarchy-groups button::after { content: attr(data-count); margin-left: 7px; font-size: 10px; color: #9a9ba0; }
.omarchy-groups button:hover { background: #e9e9eb; color: var(--ink); }
.omarchy-groups button[aria-pressed="true"] { background: #191a1c; color: #fff; }
.omarchy-groups button[aria-pressed="true"]::after { color: #b8b9bd; }
.omarchy-toolbar { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; }
.omarchy-search { flex: 1; min-width: 0; }
.omarchy-search input { width: 100%; }
.omarchy-count { margin: 0; font-size: 11px; color: #7d7e83; white-space: nowrap; }
.omarchy-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
.omarchy-plugin { min-width: 0; }
.omarchy-plugin article { display: flex; flex-direction: column; height: 100%; min-width: 0; }
.omarchy-art { position: relative; display: block; width: 100%; aspect-ratio: 2 / 1; padding: 0; border: 0; border-radius: 22px; background: #15171b; overflow: hidden; cursor: zoom-in; }
.omarchy-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.omarchy-art:hover img { transform: scale(1.04); }
.omarchy-art.no-image img { display: none; }
.omarchy-art .fallback-art, .omarchy-figure .fallback-art { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; font-size: 42px; font-weight: 700; letter-spacing: -2px; color: #7fd3df; background: radial-gradient(circle at 30% 20%, #23313a, #12151a 70%); }
.omarchy-art.no-image .fallback-art, .omarchy-figure.no-image .fallback-art { display: flex; }
.omarchy-demo-badge { position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px; background: #ffffffeb; color: #191a1c; font-size: 10px; font-weight: 600; letter-spacing: 0.3px; text-transform: uppercase; box-shadow: 0 2px 10px #00000022; }
.omarchy-art:focus-visible { outline: 2px solid #4e6ef2; outline-offset: 3px; }
.omarchy-body { display: flex; flex-direction: column; flex: 1; padding: 12px 3px 0; min-width: 0; }
.omarchy-title-line { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.omarchy-title-line h3 { flex-basis: 100%; margin: 0 0 2px; font-size: 17px; font-weight: 600; letter-spacing: -0.5px; line-height: 1.3; }
.omarchy-name { color: inherit; text-decoration: none; }
.omarchy-name:hover { text-decoration: underline; }
.omarchy-kind, .omarchy-verified { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; font-size: 9px; font-weight: 600; letter-spacing: 0.2px; text-transform: uppercase; background: #f2f2f4; color: #73747a; }
.omarchy-verified[data-state="verified"] { background: #e8f6ee; color: #1d7a45; }
.omarchy-verified[data-state="unverified"] { background: #f5f5f6; color: #85868b; }
.omarchy-pick { margin: 7px 0 0; font-size: 10.5px; font-weight: 600; color: #8a5a0a; }
.omarchy-pick a { color: inherit; }
.omarchy-pick[hidden] { display: none; }
.omarchy-why { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink); }
.omarchy-description { display: none; }
.omarchy-code { display: flex; align-items: stretch; gap: 6px; margin: 12px 0 0; min-width: 0; }
.omarchy-code code, .omarchy-code pre { flex: 1; min-width: 0; margin: 0; padding: 9px 12px; border-radius: 12px; background: #15171b; color: #d7f5f8; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; line-height: 1.5; overflow-x: auto; white-space: pre; }
.omarchy-code code.no-command { color: #9a9ba0; font-style: italic; white-space: normal; }
.omarchy-copy { flex-shrink: 0; min-height: 0; padding: 0 14px; font-size: 11px; }
.omarchy-copy[hidden] { display: none; }
.omarchy-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 10px 0 0; padding-top: 8px; border-top: 1px solid #eeeef0; font-size: 10.5px; color: #77797e; }
.omarchy-copy-install { margin-left: auto; min-height: 30px; padding: 0 12px; font-size: 11px; background: #191a1c; border-color: #191a1c; color: #fff; }
.omarchy-copy-install:hover { background: #36373c; border-color: #36373c; }
.omarchy-copy-install:disabled { opacity: 1; background: #1d7a45; border-color: #1d7a45; }
.omarchy-meta a { color: #4e6ef2; text-decoration: none; }
.omarchy-meta a:hover { text-decoration: underline; }
.omarchy-meta .omarchy-repo { margin-left: 0; }
.omarchy-meta span:empty { display: none; }
.omarchy-empty { text-align: center; color: #7d7e83; font-size: 13px; padding: 40px 0; }
.omarchy-shortlist, .omarchy-builtin { margin: 44px auto 0; max-width: 960px; min-width: 0; }
.omarchy-shortlist h3, .omarchy-builtin h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.5px; }
.omarchy-shortlist p, .omarchy-builtin > p { margin: 0 0 12px; font-size: 13px; line-height: 1.6; color: #6f7075; }
.omarchy-shortlist .omarchy-code { align-items: flex-start; }
.omarchy-shortlist .omarchy-copy { min-height: 38px; }
.omarchy-builtin-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.omarchy-builtin-list li { padding: 10px 12px; border-radius: 12px; background: #f7f7f8; font-size: 12px; line-height: 1.55; color: #5b5c61; min-width: 0; }
.omarchy-builtin-list strong { color: var(--ink); }
.omarchy-builtin-cmd { display: block; margin-top: 6px; overflow-x: auto; white-space: nowrap; }
.omarchy-sources { max-width: 960px; margin: 28px auto 0; font-size: 11px; line-height: 1.6; color: #8a8b90; text-align: center; }
.omarchy-sources a { color: #6b6c71; }
.omarchy-dialog { width: min(1100px, calc(100vw - 32px)); max-width: none; }
.omarchy-dialog h2 { margin-right: 44px; }
.omarchy-figure { position: relative; margin: 14px 0; border-radius: 16px; overflow: hidden; background: #15171b; aspect-ratio: 2 / 1; }
.omarchy-figure img { display: block; width: 100%; height: 100%; object-fit: contain; }
.omarchy-figure.no-image img { display: none; }
.omarchy-figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 14px; font-size: 11px; color: #d8d9dd; background: linear-gradient(transparent, #000000aa); }
.omarchy-figure.no-image figcaption { color: #b8b9bd; background: none; }
.omarchy-dialog .omarchy-meta { border: 0; padding: 0; }
@media (max-width: 1100px) { .omarchy-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .omarchy-toolbar { flex-direction: column; align-items: stretch; gap: 8px; }
  .omarchy-count { white-space: normal; }
  .omarchy-builtin-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .omarchy-list { grid-template-columns: 1fr; gap: 26px; }
  .omarchy-art { border-radius: 16px; }
  .omarchy-head h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .omarchy-art img { transition: none; } }

@media (max-width: 560px) {
  .omarchy-warning { font-size: 11px !important; padding: 8px 12px; text-align: left; }
  .omarchy-head { margin-bottom: 10px; }
}

/* ------------------------------------------------------------------------
   Stars, cards, details sheet and motion (11 Oct 2026). Half-star ratings
   live on every card; the thumbs left the interface. This block is the last
   layer for the games page: `body.games-page` outranks shell.css's
   `.gallery-page …` rules, which load after this file. */

/* The star widget itself lives in software/shell.css since 13 Oct 2026: every AI Apps tab rates. */

/* Card footer: stars on the left, opens and details on the right. */
body.games-page .game .community { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 11px; min-height: 0; border-top: 1px solid #efeff1; }
body.games-page .game .numbers, body.games-page .featured-community { display: flex; align-items: center; gap: 2px; }
body.games-page .game .open-count, body.games-page .featured-community .open-count { min-height: 32px; padding: 0 6px; color: #8a8b90; font-size: 12px; font-variant-numeric: tabular-nums; }
body.games-page .open-count .opens, body.games-page .download-count .downloads { display: inline-block; }
body.games-page .info-button { display: grid; place-items: center; flex: none; width: 34px; height: 34px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #8a8b90; cursor: pointer; transition: background .15s ease, color .15s ease, transform .25s cubic-bezier(.3,1.6,.5,1); }
body.games-page .info-button:hover { background: #f1f1f3; color: #1d1e21; transform: scale(1.08); }
body.games-page .info-button:focus-visible { outline: 2px solid var(--section, #16a34a); outline-offset: 1px; }
body.games-page .featured-community { margin-top: auto; padding-top: 14px; gap: 4px; }
body.games-page .featured-community .rate-wrap { margin-right: auto; }
body.games-page .game .game-tags { margin-top: auto; }
body.games-page .game article, body.games-page .featured-game article { cursor: default; }
body.games-page .game .game-body, body.games-page .featured-body { cursor: pointer; }

/* Hover hint on the art: a glass "Play" pill. Touch screens never see it. */
body.games-page .thumbnail, body.games-page .featured-art { position: relative; }
body.games-page .thumb-play { position: absolute; left: 50%; top: 50%; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px 9px 13px; border-radius: 999px; background: #ffffffd9; -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4); color: #15161a; font-size: 12.5px; font-weight: 650; box-shadow: 0 10px 30px -10px #0008; opacity: 0; transform: translate(-50%, -50%) scale(.86); transition: opacity .22s ease, transform .3s cubic-bezier(.3,1.5,.5,1); pointer-events: none; }
body.games-page .thumb-play svg { color: #16a34a; }
body.games-page .no-image .thumb-play { display: none; }
@media (hover: hover) {
  body.games-page .thumbnail:hover .thumb-play, body.games-page .thumbnail:focus-visible .thumb-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@media (hover: none) { body.games-page .thumb-play { display: none; } }

/* Details sheet. The hero and the body scroll; the close button and the Play bar stay. */
body.games-page #detailsDialog { width: min(560px, calc(100vw - 24px)); max-width: none; max-height: min(88dvh, 860px); padding: 0; border: 0; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 40px 100px -24px #0f172a66, 0 0 0 1px #0000000d; }
body.games-page #detailsDialog[open] { display: flex; flex-direction: column; }
body.games-page #detailsDialog::backdrop { background: #0f172a52; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.games-page #detailsDialog .sheet-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
body.games-page #detailsDialog .dialog-close { position: absolute; top: 12px; right: 12px; z-index: 4; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: #0f172a66; color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; transition: background .15s ease, transform .25s cubic-bezier(.3,1.6,.5,1), opacity .25s ease; }
body.games-page #detailsDialog .dialog-close:hover { background: #0f172a99; transform: rotate(90deg); }
body.games-page #detailsDialog .dialog-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
body.games-page .sheet-hero { position: relative; aspect-ratio: 16 / 7.5; overflow: hidden; background: #ececee; }
body.games-page .sheet-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.games-page .sheet-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #0000 30%, #0f172a14 50%, #0f172ad0); pointer-events: none; }
body.games-page .sheet-hero .fallback-art { display: none; position: absolute; inset: 0; font-size: 64px; color: #ffffff59; background: radial-gradient(circle at 30% 25%, #2b8a57, #12352a 75%); }
body.games-page .sheet-hero.no-image img { display: none; }
body.games-page .sheet-hero.no-image .fallback-art { display: grid; }
body.games-page .sheet-hero-text { position: absolute; left: 22px; right: 60px; bottom: 16px; z-index: 1; color: #fff; }
body.games-page .sheet-hero-text h2 { margin: 0; font-size: 27px; font-weight: 700; line-height: 1.08; letter-spacing: -.9px; color: #fff; text-shadow: 0 2px 16px #0007; overflow-wrap: anywhere; }
body.games-page .sheet-byline { margin: 5px 0 0; font-size: 12.5px; color: #ffffffd0; }
body.games-page .sheet-byline:empty { display: none; }
body.games-page .sheet-byline a { color: #fff; text-decoration: none; font-weight: 600; }
body.games-page .sheet-byline a:hover { text-decoration: underline; }
body.games-page .sheet-body { padding: 18px 22px 6px; }
body.games-page .sheet-description { margin: 0; font-size: 14px; line-height: 1.55; color: #3d3e44; }
body.games-page .sheet-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
body.games-page .sheet-chips li { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 3px 10px; border: 0; border-radius: 999px; background: #f3f3f5; color: #55575d; font-size: 11.5px; font-weight: 550; white-space: nowrap; }
body.games-page .sheet-chips li[data-state="live"] { background: #e8f6ee; color: #15803d; }
body.games-page .sheet-chips li[data-state="live"]::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px #16a34a26; }
body.games-page .sheet-chips li[data-state="error"] { background: #fdecec; color: #b42318; }
body.games-page .sheet-chips li[data-state="unknown"] { background: #fff6e0; color: #8a5a0a; }
body.games-page .sheet-chips li[data-kind="ai"] { background: #f3effe; color: #6d28d9; }
body.games-page .sheet-chips li[data-kind="apk"] { background: #e9f0fe; color: #1d4ed8; }
body.games-page .sheet-chips li[data-devices="unknown"] { background: transparent; box-shadow: inset 0 0 0 1px #dcdce0; color: #85868b; }
body.games-page .sheet-rate { display: grid; gap: 12px; margin: 18px 0 0; padding: 16px 18px 14px; border-radius: 20px; background: linear-gradient(135deg, #fff8e8, #fff2d6 55%, #fdeedd); }
body.games-page .sheet-rate[hidden] { display: none; }
body.games-page .sheet-rate-main { display: grid; justify-items: start; gap: 0; }
body.games-page .sheet-rate h3 { margin: 0 0 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: #a16207; }
body.games-page .rate.rate-lg { --star: 36px; --gap: 6px; --off: #f3e2bd; }
body.games-page .sheet-tally { margin: 8px 0 0; font-size: 12.5px; color: #8a6a2a; white-space: normal; flex-wrap: wrap; }
body.games-page .sheet-tally strong { color: #5b4a1c; }
body.games-page .sheet-phone { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; padding-top: 12px; border-top: 1px solid #f0dfbd; font-size: 12.5px; font-weight: 550; color: #5b4a1c; }
body.games-page .sheet-phone-buttons { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: #ffffff8c; }
body.games-page .sheet-phone button { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 13px; border: 0; border-radius: 999px; background: transparent; color: #5b4a1c; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .15s ease, color .15s ease, transform .2s cubic-bezier(.3,1.6,.5,1); }
body.games-page .sheet-phone button:hover:not(:disabled) { background: #fff; }
body.games-page .sheet-phone button:active:not(:disabled) { transform: scale(.94); }
body.games-page .sheet-phone button[aria-pressed="true"] { background: #1d1e21; color: #fff; }
body.games-page .sheet-phone button:disabled { opacity: .55; cursor: default; }
body.games-page .phone-n { font-variant-numeric: tabular-nums; opacity: .6; }
body.games-page .phone-n:empty { display: none; }
body.games-page .sheet-why { margin: 16px 0 0; padding: 2px 0 2px 12px; border-left: 3px solid var(--section, #16a34a); font-size: 13px; line-height: 1.55; color: #55575d; }
body.games-page .sheet-why[hidden], body.games-page #detailsQuickLinks[hidden] { display: none; }
body.games-page #detailsQuickLinks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
body.games-page #detailsQuickLinks a { padding: 5px 11px; border-radius: 999px; background: #f3f3f5; color: #1d1e21; font-size: 11.5px; text-decoration: none; }
body.games-page .sheet-more { margin: 16px 0 4px; border-top: 1px solid #efeff1; }
body.games-page .sheet-more > summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; list-style: none; font-size: 12.5px; font-weight: 650; color: #3d3e44; cursor: pointer; }
body.games-page .sheet-more > summary::-webkit-details-marker { display: none; }
body.games-page .sheet-more > summary::after { content: ''; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid #9a9ba0; border-bottom: 2px solid #9a9ba0; transform: rotate(45deg) translateY(-2px); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
body.games-page .sheet-more[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
body.games-page .sheet-more .detail-fields { grid-template-columns: 92px minmax(0, 1fr); gap: 10px 14px; margin: 0 0 12px; font-size: 12px; line-height: 1.5; }
body.games-page .sheet-more .detail-fields dt { color: #8a8b90; }
body.games-page .sheet-more .source-list { margin: 0; padding-left: 16px; font-size: 11.5px; }
body.games-page .sheet-more .muted { margin: 8px 0 6px; font-size: 11px; color: #9a9ba0; }
body.games-page .sheet-actions { display: flex; align-items: center; gap: 8px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #f0f0f2; background: #fff; }
body.games-page #detailsPlay { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 16px; background: #16a34a; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: -.2px; box-shadow: 0 10px 24px -12px #16a34acc; transition: background .15s ease, transform .2s cubic-bezier(.3,1.6,.5,1), box-shadow .2s ease; }
body.games-page #detailsPlay:hover { background: #15803d; transform: translateY(-1px); box-shadow: 0 14px 28px -12px #16a34acc; }
body.games-page #detailsPlay:active { transform: scale(.98); }
body.games-page #detailsPlay.retry-link { background: #fae5df; color: #983620; box-shadow: none; }
body.games-page #detailsPlay .play-icon svg { width: 16px; height: 16px; }
body.games-page .sheet-apk { display: inline-flex; align-items: center; gap: 7px; min-height: 48px; padding: 0 16px; border: 0; border-radius: 16px; background: #f1f1f3; color: #1d1e21; font-size: 13px; font-weight: 650; text-decoration: none; }
body.games-page .sheet-apk[hidden] { display: none; }
body.games-page .sheet-apk:hover { background: #e7e7ea; }
@media (max-width: 560px) {
  /* Phones: a bottom sheet. */
  body.games-page #detailsDialog { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  body.games-page .sheet-hero { aspect-ratio: 16 / 9; }
  body.games-page .sheet-hero-text h2 { font-size: 24px; }
  body.games-page .sheet-body { padding: 16px 18px 4px; }
  body.games-page .rate.rate-lg { --star: 38px; --gap: 5px; }
  body.games-page .sheet-more .detail-fields { grid-template-columns: 78px minmax(0, 1fr); }
}

/* ---- Motion. Everything here is off with prefers-reduced-motion (shell.css). ---- */
@keyframes gm-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes gm-fade { from { opacity: 0; } }
@keyframes gm-fade-out { to { opacity: 0; } }
@keyframes gm-pop-in { from { opacity: 0; transform: translateY(18px) scale(.965); } }
@keyframes gm-pop-out { to { opacity: 0; transform: translateY(10px) scale(.975); } }
@keyframes gm-sheet-up { from { transform: translateY(100%); } }
@keyframes gm-sheet-down { to { transform: translateY(100%); } }
@keyframes gm-hero { from { transform: scale(1.14); filter: saturate(.7) brightness(.9); } }
@keyframes gm-star-in { from { opacity: 0; transform: scale(.3) rotate(-40deg); } }
@keyframes gm-draw { from { transform: scaleX(0); } }
@keyframes gm-pulse { from { box-shadow: 0 0 0 0 #16a34a66; } to { box-shadow: 0 0 0 14px #16a34a00; } }
@keyframes gm-fill { from { clip-path: inset(0 100% 0 0); } }
@keyframes gm-settle { from { transform: scale(1.14); filter: saturate(.6); } }
@keyframes gm-sheet-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes gm-sheet-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }
@media (prefers-reduced-motion: no-preference) {
  /* Cards rise into view (app.js adds .reveal, then .revealed when visible). */
  body.games-page .reveal { opacity: 0; transform: translateY(22px) scale(.98); }
  body.games-page .reveal.revealed { opacity: 1; transform: none; transition: opacity .5s ease var(--reveal-delay, 0ms), transform .7s cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms); }
  /* Hover: the card lifts, its picture glows and the play button pulses. */
  @media (hover: hover) {
    body.games-page .game article { transition: transform .4s cubic-bezier(.16,1,.3,1); }
    body.games-page .game article:hover { transform: translateY(-4px); }
    body.games-page .game .thumbnail { transition: box-shadow .4s ease; }
    body.games-page .game article:hover .thumbnail { box-shadow: 0 22px 40px -22px #0f172a73, inset 0 0 0 1px #0000000a; }
    body.games-page .featured-game article { transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease; }
    body.games-page .featured-game article:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px #0f172a66; }
    body.games-page .game article:hover .play:not(.retry-link), body.games-page .featured-game article:hover .play:not(.retry-link) { animation: gm-pulse 1.3s ease-out infinite; }
    /* Featured pictures shift against the pointer (app.js sets --mx / --my, −1 to 1). */
    body.games-page .featured-art img { transition: transform .5s cubic-bezier(.16,1,.3,1); }
    body.games-page .featured-art:hover img { transform: scale(1.07) translate(calc(var(--mx, 0) * -1.6%), calc(var(--my, 0) * -1.6%)); }
  }
  /* As a card arrives its stars fill from the left, one after the other (14 Oct 2026),
     and a featured picture settles from a slow zoom. */
  body.games-page .reveal.revealed .rate .star-fill { animation: gm-fill .5s cubic-bezier(.3,.7,.2,1) backwards; animation-delay: calc(var(--reveal-delay, 0ms) + 260ms); }
  body.games-page .reveal.revealed .rate .star:nth-child(2) .star-fill { animation-delay: calc(var(--reveal-delay, 0ms) + 320ms); }
  body.games-page .reveal.revealed .rate .star:nth-child(3) .star-fill { animation-delay: calc(var(--reveal-delay, 0ms) + 380ms); }
  body.games-page .reveal.revealed .rate .star:nth-child(4) .star-fill { animation-delay: calc(var(--reveal-delay, 0ms) + 440ms); }
  body.games-page .reveal.revealed .rate .star:nth-child(5) .star-fill { animation-delay: calc(var(--reveal-delay, 0ms) + 500ms); }
  body.games-page .featured-game.reveal.revealed .featured-art img { animation: gm-settle 1.5s cubic-bezier(.16,1,.3,1) backwards var(--reveal-delay, 0ms); }
  body.games-page .gallery-intro h1::after { animation: gm-draw .9s .15s cubic-bezier(.16,1,.3,1) backwards; }
  /* Dialogs: pop in over a fading backdrop, leave quickly (.closing from app.js). */
  body.games-page dialog[open] { animation: gm-pop-in .38s cubic-bezier(.16,1,.3,1); }
  body.games-page dialog[open]::backdrop { animation: gm-fade .3s ease; }
  body.games-page dialog.closing { animation: gm-pop-out .19s ease-in forwards; }
  body.games-page dialog.closing::backdrop { animation: gm-fade-out .19s ease-in forwards; }
  body.games-page #detailsDialog[open] .sheet-hero img { animation: gm-hero 1.1s cubic-bezier(.16,1,.3,1) backwards; }
  body.games-page #detailsDialog[open] .sheet-hero-text > * { animation: gm-rise .55s cubic-bezier(.16,1,.3,1) backwards; }
  body.games-page #detailsDialog[open] .sheet-hero-text > :nth-child(1) { animation-delay: .08s; }
  body.games-page #detailsDialog[open] .sheet-hero-text > :nth-child(2) { animation-delay: .12s; }
  body.games-page #detailsDialog[open] .sheet-hero-text > :nth-child(3) { animation-delay: .17s; }
  body.games-page #detailsDialog[open] .sheet-body > * { animation: gm-rise .5s cubic-bezier(.16,1,.3,1) backwards; }
  body.games-page #detailsDialog[open] .sheet-body > :nth-child(1) { animation-delay: .1s; }
  body.games-page #detailsDialog[open] .sheet-body > :nth-child(2) { animation-delay: .14s; }
  body.games-page #detailsDialog[open] .sheet-body > :nth-child(3) { animation-delay: .18s; }
  body.games-page #detailsDialog[open] .sheet-body > :nth-child(n+4) { animation-delay: .22s; }
  body.games-page #detailsDialog[open] .rate-lg .star { animation: gm-star-in .5s cubic-bezier(.3,1.6,.5,1) backwards; }
  body.games-page #detailsDialog[open] .rate-lg .star:nth-child(1) { animation-delay: .24s; }
  body.games-page #detailsDialog[open] .rate-lg .star:nth-child(2) { animation-delay: .29s; }
  body.games-page #detailsDialog[open] .rate-lg .star:nth-child(3) { animation-delay: .34s; }
  body.games-page #detailsDialog[open] .rate-lg .star:nth-child(4) { animation-delay: .39s; }
  body.games-page #detailsDialog[open] .rate-lg .star:nth-child(5) { animation-delay: .44s; }
  body.games-page #detailsDialog[open] .sheet-actions { animation: gm-rise .45s .16s cubic-bezier(.16,1,.3,1) backwards; }
  body.games-page .sheet-more[open] > :not(summary) { animation: gm-rise .35s cubic-bezier(.16,1,.3,1) backwards; }
  @media (max-width: 560px) {
    body.games-page #detailsDialog[open] { animation: gm-sheet-up .45s cubic-bezier(.16,1,.3,1); }
    body.games-page #detailsDialog.closing { animation: gm-sheet-down .2s ease-in forwards; }
  }
  /* Collections, filters and sorts: cards glide to their new places (View Transitions). */
  body.games-page .gallery-collections button[aria-pressed="true"] { view-transition-name: games-pill; }
  /* Details: the card's picture flies into the sheet and back (app.js morph). Only the
     picture and the sheet move; the cards and the pill keep still under the backdrop. */
  html.morphing body.games-page :is(#gameList, #featuredList) > li, html.morphing body.games-page .gallery-collections button { view-transition-name: none !important; }
  body.games-page #detailsDialog.morph { view-transition-name: game-sheet; }
  body.games-page #detailsDialog.morph .dialog-close { opacity: 0; }
  body.games-page #detailsDialog.morph[open], body.games-page #detailsDialog.morph[open] .sheet-hero img { animation: none; }
  /* The sheet appears only in the new state, so its layer would come last and cover the
     flight: the picture's layer goes on top. */
  ::view-transition-group(game-art) { z-index: 2; animation-duration: .52s; animation-timing-function: cubic-bezier(.2,.8,.2,1); overflow: clip; border-radius: 18px; }
  ::view-transition-old(game-art), ::view-transition-new(game-art) { height: 100%; object-fit: cover; animation-duration: .3s; }
  ::view-transition-new(game-sheet) { animation: gm-sheet-in .44s cubic-bezier(.16,1,.3,1) both; }
  ::view-transition-old(game-sheet) { animation: gm-sheet-out .24s ease-in both; }
  @media (max-width: 560px) {
    ::view-transition-new(game-sheet) { animation: gm-sheet-up .46s cubic-bezier(.16,1,.3,1) both; }
    ::view-transition-old(game-sheet) { animation: gm-sheet-down .26s ease-in both; }
  }
  ::view-transition-group(*) { animation-duration: .45s; animation-timing-function: cubic-bezier(.16,1,.3,1); }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }
  ::view-transition-group(games-pill) { animation-duration: .35s; }
}

/* Date added on every card (18 Oct 2026) and the Most popular (7 days) note. */
.added-date { white-space: nowrap; color: #77797e; }
.added-date[hidden] { display: none; }
.popular-note { margin: 0 0 12px; font-size: 12px; color: #77797e; }
.popular-note[hidden] { display: none; }

/* ---------------------------------------------------------------- owner sign-in (8 Nov 2026) */
.account { position: relative; flex-shrink: 0; }
.account-button { gap: 8px; min-height: 37px; padding: 6px 13px; border-radius: 999px; font-size: 12px; }
.account-button[data-state="in"] { padding: 4px 10px 4px 4px; }
.account-avatar {
  position: relative; display: inline-grid; place-items: center; width: 26px; height: 26px; overflow: hidden;
  border-radius: 50%; background: linear-gradient(135deg, #4ade80, #60a5fa 55%, #c084fc); color: #fff; font-size: 12px; font-weight: 800;
}
.account-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.account-badge { padding: 2px 7px; border-radius: 999px; background: #15161a; color: #fff; font-size: 10px; letter-spacing: .02em; }
.account-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: 250px; padding: 14px; border: 1px solid var(--line);
  border-radius: 16px; background: #fff; box-shadow: 0 18px 40px -18px #15161a55; transform-origin: top right;
  animation: account-pop .22s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes account-pop { from { opacity: 0; transform: scale(.94) translateY(-4px); } }
.account-who { display: grid; gap: 2px; margin: 0 0 12px; font-size: 13px; overflow-wrap: anywhere; }
.account-who span { color: #696b71; font-size: 12px; }
.account-menu .button { width: 100%; }
@media (max-width: 760px) {
  .gallery-page.games-page .catalog-header { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "brand action account" "nav nav nav"; }
  .gallery-page.games-page .catalog-header > .account { grid-area: account; justify-self: end; }
  .account-button { min-height: 34px; padding: 6px 11px; font-size: 11px; }
  .account-button[data-state="in"] .account-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) { .account-menu { animation: none; } }

/* ---------------------------------------------------------------- gameplay previews (8 Nov 2026) */
body.games-page .thumbnail video.preview {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
body.games-page .thumbnail video.preview.on { opacity: 1; }
/* A small "preview" mark on pictures that have one (mouse screens: it plays on hover). */
@media (hover: hover) and (pointer: fine) {
  body.games-page .thumbnail.has-preview::after {
    content: ""; position: absolute; right: 10px; bottom: 10px; z-index: 1; width: 22px; height: 22px; border-radius: 50%;
    background: #15161ab3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7.5v9l7.5-4.5z'/%3E%3C/svg%3E") center / 16px no-repeat;
    transition: opacity .2s; pointer-events: none;
  }
  body.games-page .thumbnail.has-preview:hover::after { opacity: 0; }
}

/* The AI Apps spark draws itself in on the games page (Vivus' line-drawing technique, in CSS). */
body.games-page .catalog-header .brand-mark path {
  stroke: url(#aiAppsMark); stroke-width: 1.3; stroke-linejoin: round;
  stroke-dasharray: 90; stroke-dashoffset: 90; fill-opacity: 0;
  animation: brand-draw 1s cubic-bezier(.6, 0, .2, 1) .15s forwards, brand-fill .45s ease .95s forwards;
}
@keyframes brand-draw { to { stroke-dashoffset: 0; } }
@keyframes brand-fill { to { fill-opacity: 1; stroke-width: 0; } }
@media (prefers-reduced-motion: reduce) {
  body.games-page .catalog-header .brand-mark path { animation: none; stroke-dashoffset: 0; fill-opacity: 1; stroke-width: 0; }
  body.games-page .thumbnail video.preview { display: none; }
}



/* Software shares the games palette, with a roomier picture-led catalog. */
.software-page { letter-spacing: -.1px; }
.software-page .shell { max-width: 1240px; }
.software-page .catalog-count { margin-left: auto; }
.catalog-intro { padding: 28px 0 24px; }
.eyebrow { margin: 0 0 7px; color: var(--accent); font-size: 10px; font-weight: 750; letter-spacing: 1.3px; }
.catalog-intro h1 { margin: 0 0 8px; font-size: clamp(28px, 3vw, 36px); font-weight: 750; line-height: 1.16; letter-spacing: -1.25px; }
.catalog-intro > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }

.software-toolbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 9px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.software-toolbar .search { grid-column: 1 / -1; min-width: 0; }
.software-toolbar .control { min-width: 0; }
.software-toolbar .search input { padding: 11px 14px; min-height: 44px; font-size: 13px; background: #f6f4ee; border-color: transparent; border-radius: 9px; }
.software-toolbar .search input::placeholder { color: #7c7c73; opacity: 1; }
.software-toolbar select { width: 100%; max-width: none; background: var(--paper); border-radius: 8px; min-height: 39px; font-size: 11px; }
.software-toolbar select:hover { border-color: #bbb9ac; }
.omarchy-filter { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 12px; min-height: 39px; flex-shrink: 0; border: 1px solid #d4e4e5; border-radius: 8px; background: #f0f7f6; cursor: pointer; white-space: nowrap; font-size: 11px; font-weight: 650; color: #326c77; }
.omarchy-filter input { width: 14px; height: 14px; margin: 0; accent-color: var(--platform-omarchy); }
.omarchy-filter:has(input:checked) { border-color: var(--platform-omarchy); background: #e0f0ef; }
.software-page .list-meta { padding: 9px 2px 0; gap: 12px; font-size: 11px; }
.software-page .list-meta #resultCount { font-weight: 650; color: var(--ink); margin-right: auto; }
.software-page .list-meta .text-button { font-size: 11px; min-height: 32px; }
.software-page .platform-legend { margin: 2px 2px 13px; max-width: 100%; font-size: 10px; line-height: 1.6; }

.software-list { display: grid; gap: 12px; border: 0; }
.software-item article { display: grid; grid-template-columns: 184px minmax(0, 1fr) 76px; grid-template-areas: 'art body action'; gap: 22px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; align-items: start; background: var(--paper); transition: border-color .16s ease; }
.software-item article:hover { border-color: #c6c2b3; }
.software-item .thumbnail { grid-area: art; width: 184px; height: 142px; border: 1px solid #dedbd0; background: #ece9df; border-radius: 10px; }
.software-item .thumbnail img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.software-item .software-info { grid-area: body; min-width: 0; }
.software-item .title-line { flex-wrap: wrap; gap: 6px 10px; }
.software-item .title-line h2 { font-size: 21px; max-width: 100%; letter-spacing: -.65px; line-height: 1.25; }
.software-item .game-title { text-decoration: none; }
.software-item .game-title:hover { color: var(--accent); }
.source-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 650; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--muted); background: #f4f2eb; white-space: nowrap; }
.source-badge::before { content: '◇'; font-size: 12px; line-height: 1; }
.source-badge[data-source='open'] { color: #37613e; border-color: #d4e2ce; background: #edf4e8; }
.source-badge[data-source='open']::before { content: '↗'; }
.source-badge[data-source='available'] { color: #796020; border-color: #e6ddc4; background: #f7f1e2; }
.omarchy-badge { color: #326c77; border-color: #d4e4e5; background: #eef7f5; }
.software-item .description { display: block; white-space: normal; overflow: visible; font-size: 12px; line-height: 1.65; margin: 8px 0 10px; max-width: 760px; color: #626358; }
.software-item .game-tags { font-size: 10px; gap: 4px 10px; }
.software-item .category { color: var(--ink); font-weight: 650; }
.software-item .topic-tags { display: flex; flex-wrap: wrap; gap: 3px 10px; color: var(--muted); font-size: 10px; margin-top: 5px; }
.software-item .topic-tags > span::before { content: '#'; color: #a4a396; margin-right: 1px; }
.software-item .platforms { margin: 11px 0 7px; }
.software-item .credits { display: flex; align-items: center; gap: 4px 13px; flex-wrap: wrap; margin-top: 7px; }
.software-item .author-line { flex-wrap: wrap; gap: 3px 6px; }
.software-item .author-x { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 650; color: var(--ink); max-width: 100%; }
.software-item .x-posts { display: flex; flex-wrap: wrap; gap: 6px; }
.software-item .x-post-link { font-size: 10px; }
.software-item .details-button { font-size: 11px; min-height: 30px; }
.software-item .software-action { grid-area: action; align-self: start; padding-top: 1px; }
.software-item .software-action .button { width: 100%; padding: 10px 12px; gap: 5px; min-height: 42px; border-radius: 9px; font-size: 12px; }

.software-community { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding-top: 11px; border-top: 1px solid #eeece3; font-size: 11px; }
.community-button, .software-opens { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 6px 9px; border: 1px solid #e2dfd4; border-radius: 8px; background: #faf8f2; color: #646459; font-size: 11px; line-height: 1.25; white-space: nowrap; }
.community-button { transition: color .14s ease, background .14s ease, border-color .14s ease; }
.community-button svg, .software-opens svg { width: 15px; height: 15px; flex: 0 0 15px; }
.community-button:hover { color: var(--ink); border-color: #c7c2b3; background: #f3f0e6; }
.community-button.is-active, .community-button[aria-pressed='true'] { color: var(--accent); border-color: #edc5af; background: #fcebdd; }
.community-button[data-software-action='like'].is-active, .community-button[data-software-action='like'][aria-pressed='true'] { color: #a54150; border-color: #e8bec7; background: #f9e9ec; }
.community-button[aria-pressed='true'] svg { stroke-width: 2.2; }
.community-button:disabled { cursor: wait; opacity: .55; }
.community-count { font-weight: 750; color: var(--ink); font-variant-numeric: tabular-nums; }
.community-button.is-active .community-count, .community-button[aria-pressed='true'] .community-count { color: inherit; }
.software-opens { border-color: transparent; background: transparent; padding-inline: 6px; }
#communityNotice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 11px 14px; border: 1px solid #e6d7bb; border-radius: 10px; background: #faf3e4; color: #786034; font-size: 12px; }
#communityRetry { min-height: 32px; }
.community-note { margin: 18px 2px 0; color: var(--muted); font-size: 11px; }

.software-page .empty { padding: 36px 16px; text-align: center; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.software-page .empty h2 { font-size: 18px; }
.software-footer { position: static; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px 2px 28px; color: var(--muted); font-size: 11px; }
.software-page dialog { border-radius: 20px; padding: 28px; background: var(--paper); }
.software-page dialog h2 { font-size: 26px; letter-spacing: -.85px; }
.software-page .dialog-close { width: 36px; height: 36px; border-radius: 50%; background: #f2efe5; }
.details-image { width: 100%; max-height: 300px; object-fit: contain; background: #ece9df; border: 1px solid var(--line); border-radius: 11px; margin: 6px 0 16px; }
.software-page .details-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.software-page .details-bottom p { font-size: 11px; }
#detailsCommunity .software-community { margin: 0 0 18px; padding: 0 0 15px; border-top: 0; border-bottom: 1px solid var(--line); }

@media (max-width: 1050px) {
  .software-item article { grid-template-columns: 148px minmax(0, 1fr) 72px; gap: 17px; padding: 18px; }
  .software-item .thumbnail { width: 148px; height: 126px; }
}

/* Featured carousel */
.featured-carousel { display: flex; gap: 12px; margin: 16px 0 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
.featured-card { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border: 1px solid #c0bdb0; border-radius: 14px; background: linear-gradient(135deg, #fdfbf7 0%, #f8f6f0 100%); min-width: 320px; max-width: 440px; flex-shrink: 0; scroll-snap-align: start; transition: border-color .16s ease, box-shadow .16s ease; }
.featured-card:hover { border-color: var(--accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.featured-info { flex: 1; min-width: 0; }
.featured-title { font-size: 18px; font-weight: 750; color: var(--ink); text-decoration: none; letter-spacing: -.6px; display: block; margin-bottom: 6px; }
.featured-title:hover { color: var(--accent); }
.featured-description { font-size: 12px; line-height: 1.6; color: #626358; margin: 0; }
.featured-action { display: flex; justify-content: flex-end; }
.featured-action .button { min-width: 110px; font-size: 12px; min-height: 38px; }

@media (max-width: 760px) {
  .software-page .shell { padding: 0 14px; }
  .catalog-intro { padding: 23px 2px 21px; }
  .catalog-intro h1 { font-size: 28px; letter-spacing: -.95px; }
  .catalog-intro > p:last-child { font-size: 12px; max-width: 330px; }
  .software-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; border-radius: 12px; }
  .software-toolbar .search { grid-column: 1 / -1; }
  .software-toolbar .omarchy-filter { grid-column: 1 / -1; justify-self: start; min-height: 36px; }
  .software-toolbar select { padding-left: 9px; padding-right: 18px; font-size: 11px; min-height: 39px; }
  .software-list { gap: 11px; }
  .software-item article { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: 'art head' 'body body' 'action action'; gap: 12px; padding: 15px; border-radius: 13px; align-items: start; }
  .software-item .thumbnail { width: 96px; height: 80px; border-radius: 8px; }
  .software-item .software-info { display: contents; }
  .software-item .title-line { grid-area: head; align-self: center; gap: 6px; }
  .software-item .title-line h2 { font-size: 21px; flex-basis: 100%; }
  .software-item .software-body { grid-area: body; min-width: 0; }
  .software-item .description { margin: 0 0 10px; font-size: 12px; }
  .software-item .software-action { justify-self: stretch; padding: 0; }
  .software-item .software-action .button { min-height: 41px; width: 100%; }
  .software-item .credits { gap: 3px 11px; margin-top: 7px; }
  .software-community { gap: 5px; padding-top: 10px; margin-top: 8px; }
  .community-button, .software-opens { min-height: 37px; font-size: 11px; padding: 6px 8px; gap: 5px; }
  .software-footer { display: block; padding: 20px 2px; }
  .software-footer > span { display: block; margin-bottom: 5px; }
  .software-page dialog { padding: 22px 18px; }
  .software-page .detail-fields { grid-template-columns: 75px minmax(0, 1fr); gap: 12px; }
  .featured-carousel { gap: 10px; margin: 14px 0 16px; }
  .featured-card { padding: 15px 16px; min-width: 280px; max-width: 320px; }
  .featured-title { font-size: 16px; }
  .featured-description { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .software-item article, .community-button, .featured-card { transition: none; }
}

/* Date added on every card (18 Oct 2026) and the Most popular (7 days) note. */
.added-date { white-space: nowrap; color: #77797e; }
.added-date[hidden] { display: none; }
.popular-note { margin: 0 0 12px; font-size: 12px; color: #77797e; }
.popular-note[hidden] { display: none; }

/* Shared navigation and compatibility identity for both catalogs. */
:root {
  --platform-mac: #1d1d1f;
  --platform-windows: #0078d4;
  --platform-browser: #fb542b;
  --platform-omarchy: #449dab;
}
/* Omarchy's shipped Tokyo Night cyan: omacom/omarchy/themes/tokyo-night/colors.toml.
   Brave orange: brave.com/brave-branding-assets. Brand identity never signals support. */
.catalog-header { position: sticky; top: 0; z-index: 20; background: var(--bg); }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 8px 0; }
.platform-chip { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--platform-line, var(--line)); border-radius: 6px; padding: 4px 7px; min-height: 27px; font-size: 10px; font-weight: 550; line-height: 1.4; text-decoration: none; color: var(--ink); background: var(--platform-bg, var(--paper)); }
.platform-chip svg { flex-shrink: 0; width: 15px; height: 15px; }
[data-platform='mac'] { --platform-color: var(--platform-mac); --platform-bg: #f0f0ee; --platform-line: #deded9; }
[data-platform='browser'] { --platform-color: var(--platform-browser); --platform-bg: #fff6f0; --platform-line: #efddcf; }
[data-platform='omarchy'] { --platform-color: var(--platform-omarchy); --platform-bg: #f5faf9; --platform-line: #d3e5e1; }
[data-platform='windows'] { --platform-color: var(--platform-windows); --platform-bg: #edf5fc; --platform-line: #d2e2ef; }
[data-platform] svg { color: var(--platform-color); }
.platform-chip .platform-status { display: inline-grid; place-items: center; min-width: 14px; height: 14px; margin-left: 1px; border-radius: 50%; font-size: 10px; font-weight: 750; line-height: 1; }
.platform-chip[data-status='supported'] .platform-status { color: #37613e; background: #dcead6; }
.platform-chip[data-status='conditional'] .platform-status { color: #796020; background: #efe2b9; }
.platform-chip[data-status='unsupported'] .platform-status { color: #856259; background: #ede1da; }
.platform-chip[data-status='unverified'] .platform-status { color: #74746b; background: #e5e5df; }
.platform-chip[data-status='unsupported'], .platform-chip[data-status='unverified'] { border-style: dashed; }
a.platform-chip:hover { border-color: var(--platform-color); }
.platform-details { display: grid; gap: 10px; }
.platform-detail { margin: 0; padding: 10px; border-radius: 8px; background: var(--platform-bg); border: 1px solid var(--platform-line); }
.platform-detail strong { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.platform-detail strong svg { width: 15px; height: 15px; flex-shrink: 0; }
.platform-note { display: block; margin-top: 4px; font-size: 11px; }
.platform-legend { margin: 8px 0; font-size: 10px; color: var(--muted); }
@media (max-width: 1100px) { .catalog-header .catalog-count { display: none; } }

/* Gallery system shared by the three dedicated public catalogues. */
.gallery-page {
  --bg:#fff; --paper:#fff; --ink:#191a1c; --muted:#77797e; --line:#e9e9eb;
  --accent:#202124; --orange:#4e6ef2;
  background:var(--bg); color:var(--ink); -webkit-font-smoothing:antialiased;
  font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  letter-spacing:-.15px;
}
.gallery-page .shell { max-width:1600px; padding:0 32px; }
.gallery-page .catalog-header {
  height:64px; min-height:64px; gap:20px; border:0; position:relative;
  background:#fff; padding:8px 0; display:flex; flex-wrap:wrap;
}
.gallery-page .catalog-count { margin-left:auto; color:var(--muted); font-size:11px; }
.gallery-page .share { margin-left:0; }
.gallery-page .share .button { border:0; background:#f3f3f4; padding:9px 12px; }
.gallery-page #shareX { display:none; }
.gallery-page .button { border-radius:999px; min-height:38px; box-shadow:none; font-weight:500; }
.gallery-page .button.primary,.gallery-page .play { background:#191a1c; border-color:#191a1c; color:#fff; }
.gallery-page .button.primary:hover,.gallery-page .play:hover { background:#36373c; border-color:#36373c; }
.gallery-intro { text-align:center; padding:14px 16px 10px; }
.gallery-intro h1 { margin:0 0 5px; font-size:clamp(22px,2vw,30px); line-height:1.15; font-weight:600; letter-spacing:-1px; }
.gallery-collections { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:2px; padding:0 0 10px; }
.gallery-collections button { border:0; border-radius:999px; background:transparent; color:#797a7f; padding:7px 11px; font-size:11.5px; font-weight:500; }
.gallery-collections button:hover { background:#f5f5f6; color:var(--ink); }
.gallery-collections button[aria-pressed='true'] { background:#191a1c; color:#fff; }
.gallery-page .toolbar { padding:0; border:0; background:transparent; align-items:flex-start; gap:12px; margin-bottom:0; }
.gallery-page .search { min-width:0; }
.gallery-page .search input,.gallery-page .asset-search input { border:0; background:#f2f2f3; border-radius:999px; padding:13px 20px; min-height:45px; font-size:12px; box-shadow:none; }
.gallery-page .search input::placeholder,.gallery-page .asset-search input::placeholder { color:#929398; }
.gallery-page .browse { border:0; border-radius:22px; background:#f5f5f6; }
.gallery-page .browse > summary { background:transparent; border:0; padding:13px 18px; font-size:12px; }
.gallery-page .browse-body { border:0; background:#f5f5f6; border-radius:18px; }
.gallery-page .collections button { border-radius:20px; }
.gallery-page select { background:#f4f4f5; border:0; border-radius:999px; padding:11px 30px 11px 15px; min-height:40px; }
.gallery-page .list-meta { margin:0; min-height:48px; color:#7d7e83; font-size:11px; padding:7px 2px; }
.gallery-page .list-meta > a { display:none; }
.gallery-page .list-meta #resultCount { margin:0; }
.gallery-page:not(.games-page) #featured { display:none; }
.gallery-page .game-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px 20px; border:0; padding:0; margin:0; }
.gallery-page .game { border:0; background:none; min-width:0; }
.gallery-page .game article { display:flex; position:relative; flex-direction:column; padding:0; gap:0; background:#fff; min-width:0; height:100%; border:0; }
.gallery-page .game article:hover { background:#fff; }
/* Thumbnails keep the source images' own shape: games are 16:9 screenshots, software 16:10 (README). */
.gallery-page .game .thumbnail { width:100%; height:auto; aspect-ratio:var(--thumb-ar); border-radius:22px; border:0; background:#f1f1f3; overflow:hidden; grid-area:auto; }
.gallery-page .game { --thumb-ar:1.6; }
.games-page .game { --thumb-ar:1.7778; }
.gallery-page .game .thumbnail img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.gallery-page .game .thumbnail:hover img { transform:scale(1.045); }
.gallery-page .game .game-info { display:flex; flex-direction:column; padding:17px 3px 0; min-width:0; flex:1; }
.gallery-page .game .title-line { display:flex; flex-wrap:wrap; align-items:center; gap:7px; padding-right:54px; }
.gallery-page .game .title-line h2 { order:-1; flex-basis:100%; font-size:17px; font-weight:600; line-height:1.3; margin:0 0 4px; letter-spacing:-.5px; }
.gallery-page .game .game-title { white-space:normal; overflow:visible; }
.gallery-page .game .category-tag { background:#f2f2f4; color:#73747a; border:0; border-radius:6px; font-size:9px; }
.gallery-page .game .device-tag { font-size:9px; background:transparent; border-color:var(--line); }
.gallery-page .game .game-body { display:flex; flex-direction:column; flex:1; }
.gallery-page .game .description { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; white-space:normal; line-height:1.65; font-size:12px; color:#7c7d83; margin:11px 0; }
.gallery-page .game .ranking-reason,.gallery-page .game .x-posts,.gallery-page .game .model-line,.gallery-page .game .tool-line,.gallery-page .game .access-label,.gallery-page .game .stars-summary { display:none; }
.gallery-page .game .game-tags { display:flex; flex-wrap:wrap; align-items:center; gap:5px 12px; font-size:10px; color:#77797e; margin:0; }
.gallery-page .game .credits { display:inline-flex; min-width:0; }
.gallery-page .game .author-line { display:flex; gap:5px; max-width:100%; }
.gallery-page .game .author { max-width:145px; }
.gallery-page .game .details { margin-left:auto; font-size:10px; min-height:32px; }
.gallery-page .game .community { display:flex; justify-content:space-between; align-items:center; margin-top:12px; padding:10px 0 0; border-top:1px solid #eeeef0; }
.gallery-page .game .votes { border:0; border-radius:8px; background:#f5f5f6; }
.gallery-page .game .vote { min-width:28px; height:30px; background:transparent; font-size:9px; }
.gallery-page .game .vote[aria-pressed='true'] { color:#4865dd; background:#eaedff; }
.gallery-page .game .numbers { display:flex; gap:12px; margin:0; }
.gallery-page .game .favorite { padding:4px 6px; }
.gallery-page .game .game-actions { position:absolute; top:calc((100cqw - 104px)/4.5 + 17px); right:2px; margin:0; }
/* Absolute action follows the image aspect ratio without depending on viewport units. */
.gallery-page .game article { container-type:inline-size; }
.gallery-page .game .game-actions { top:calc(100cqw / var(--thumb-ar) + 17px); }
.gallery-page .game .play { width:38px; height:38px; min-height:38px; padding:0; display:grid; place-items:center; border-radius:50%; }
.gallery-page .game .play .play-label { display:none; }
.gallery-page .game .play-icon { display:flex; }
.gallery-page .game .play-icon svg { width:14px; height:14px; }
.gallery-page .count-note,.gallery-page .rating-method { font-size:11px; color:#88898d; }
.gallery-page .next-tabs { max-width:100%; margin-top:48px; }
.gallery-page .next-tabs h2 { font-size:24px; font-weight:550; }
.gallery-page .software-toolbar { grid-template-columns:repeat(4,minmax(0,1fr)) auto; background:none; border:0; border-radius:0; padding:0; gap:10px; }
.gallery-page .software-toolbar .search { grid-column:1/-1; }
.gallery-page .software-toolbar select { background:#f4f4f5; border-radius:24px; font-size:11px; }
.gallery-page .omarchy-filter { border:0; border-radius:24px; }
.gallery-page .software-list { gap:24px; padding-top:12px; }
.gallery-page .software-item { min-width:0; }
.gallery-page .software-item article { display:flex; flex-direction:column; gap:0; border:0; border-radius:0; padding:0; height:100%; }
.gallery-page .software-item .software-info { display:flex; flex:1; flex-direction:column; padding:18px 3px 0; }
.gallery-page .software-item .title-line { display:flex; align-items:center; gap:8px; }
.gallery-page .software-item .title-line h2 { font-size:20px; letter-spacing:-.6px; flex-basis:100%; }
.gallery-page .software-item .software-body { display:flex; flex:1; flex-direction:column; }
.gallery-page .software-item .description { font-size:12px; line-height:1.7; color:#77797e; margin:12px 0; }
.gallery-page .software-item .software-action { margin-top:12px; }
.gallery-page .software-item .software-action .button { width:auto; padding:8px 18px; border-radius:999px; }
.gallery-page .software-item .platforms { margin:12px 0; }
.gallery-page .software-item .topic-tags { display:none; }
.gallery-page .software-community { border-color:#eeeef0; gap:5px; }
.gallery-page .community-button { background:#f5f5f6; border:0; border-radius:9px; }
.gallery-page .community-button.is-active { color:#4c61bd; background:#edf0ff; }
.gallery-page .software-opens { margin-left:auto; }
/* Stars lead the community row (13 Oct 2026); on component cards they are smaller. */
.software-community .software-rate { margin-right:6px; }
.asset-card .software-rate .rate { --star:15px; --gap:1px; }
.gallery-page .platform-chip { font-size:9px; padding:3px 5px; }
.gallery-page .asset-library { padding-top:0; }
.gallery-page .asset-grid { gap:30px 20px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.gallery-page .asset-card { border:0; padding:0; border-radius:0; background:transparent; position:relative; }
.asset-preview { position:relative; display:grid; place-items:center; width:100%; height:280px; min-width:0; border:0; border-radius:22px; background:#f1f1f3; color:#25262a; overflow:hidden; }
.asset-preview .asset-demo { width:100%; }
.asset-preview .demo-stage { min-height:225px; padding:12px; }
.asset-preview .demo-hint { font-size:9px; padding:0 10px; }
.asset-preview .demo-icon-overline,.asset-preview .demo-icon-note { display:none; }
.asset-preview .demo-dock-scene { max-width:100%; }
.asset-preview .demo-dock { gap:2px; padding:10px 8px; }
.asset-preview .demo-dock-button { width:43px; }
.asset-preview .demo-icon-toggle { width:56px; height:56px; }
.asset-preview .demo-icon-controls { gap:18px; }
.asset-preview .demo-shared-shell { width:230px; }
.asset-preview .demo-shared-art { height:95px; }
.asset-preview .demo-shared-detail { font-size:10px; }
.asset-preview .demo-folder-shell { width:255px; }
.asset-preview .demo-stage:has(.demo-folder-shell) { transform:scale(.88); }
.asset-preview-label { position:absolute; top:14px; left:16px; color:#8d8e95; font-size:8px; text-transform:uppercase; letter-spacing:1px; }
.preview-symbol { font-size:36px; width:76px; height:76px; display:grid; place-items:center; background:#fff; border-radius:24px; box-shadow:0 10px 30px #25262a08; }
.preview-name { display:block; color:#8d8e95; text-align:center; font-size:10px; margin-top:16px; max-width:230px; }
.gallery-page .asset-card h3 { margin:0 3px 8px; font-size:16px; font-weight:550; letter-spacing:-.45px; }
.gallery-page .asset-card-description { margin:0 3px 12px; font-size:11px; line-height:1.7; color:#8a8b90; }
.gallery-page .asset-card .software-community { margin-top:auto; padding-top:9px; font-size:10px; }
.gallery-page .asset-card .community-button { padding:4px 8px; }
.gallery-page .eyebrow { color:#85868b; }
.gallery-page .dialog-demo { background:#f1f1f3; border:0; border-radius:20px; }
.gallery-page dialog { border:1px solid #eee; background:#fff; border-radius:24px; max-width:calc(100vw - 24px); padding:28px; box-shadow:0 30px 90px #0002; overflow-x:hidden; }
.gallery-page dialog::backdrop { background:#ffffffb0; backdrop-filter:blur(12px); }
.gallery-page .dialog-close { border:0; background:#f1f1f3; border-radius:50%; width:36px; height:36px; }
.gallery-page .detail-fields dd { min-width:0; overflow-wrap:anywhere; }
.gallery-page .discovery,.gallery-page .software-footer { color:#939499; border-color:#eeeef0; }
@media(min-width:1500px) { .gallery-page .game-list,.gallery-page .asset-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:1050px) {
  .gallery-page .share { margin-left:auto; }
  .gallery-page .game-list,.gallery-page .asset-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .gallery-page .asset-search { grid-column:1/-1; }
}
@media(max-width:760px) {
  .gallery-page .shell { padding:0 16px; }
  .gallery-page .share { display:none; }
  .gallery-page #suggestButton { font-size:10px; min-height:30px; padding:7px 13px; margin-left:auto; }
  .gallery-intro { padding:44px 2px 38px; }
  .gallery-intro h1 { font-size:34px; letter-spacing:-1.4px; max-width:420px; margin:0 auto 16px; }
  .gallery-collections { justify-content:flex-start; gap:5px; padding-bottom:22px; }
  .gallery-collections button { padding:9px 12px; font-size:10px; }
  .gallery-page .game-list,.gallery-page .asset-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px 14px; }
  .gallery-page .game .thumbnail { border-radius:17px; }
  .gallery-page .game .game-info { padding-top:14px; }
  .gallery-page .game .title-line h2 { font-size:16px; }
  .gallery-page .game .community { min-height:40px; }
  .gallery-page .game .vote,.gallery-page .game .favorite { min-height:36px; }
  .gallery-page .software-toolbar { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .gallery-page .software-toolbar .omarchy-filter { grid-column:1/-1; }
  .gallery-page .software-item .software-info { display:flex; }
  .gallery-page .software-item .description { margin:10px 0; }
  .gallery-page .asset-search { grid-column:1/-1; }
  .asset-preview { border-radius:20px; height:260px; }
  .gallery-page .asset-card { padding:0; }
  .gallery-page .asset-card h3 { font-size:16px; }
  .gallery-page .asset-card-description { font-size:11px; }
  .gallery-page .asset-card .software-opens { padding:4px 2px; }
  .gallery-page dialog { padding:24px 18px; }
  .gallery-page .detail-fields { grid-template-columns:72px minmax(0,1fr); }
}
@media(max-width:540px) {
  .gallery-page .game-list,.gallery-page .asset-grid { grid-template-columns:1fr; gap:30px; }
  .gallery-page .game .game-tags { font-size:10px; }
  .gallery-page .game .description { font-size:12px; }
  .asset-preview { height:290px; }
}
@media(prefers-reduced-motion:reduce) {
  .gallery-page *, .gallery-page *::before, .gallery-page *::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; }
}

/* Polish pass (19 Sep 2026): tighter hero, green play, readable community row,
   fixed status bar for the traffic counters, inline Suggest on phones. */
.gallery-intro { padding:44px 16px 40px; }
.gallery-intro h1 { text-wrap:balance; margin-bottom:14px; }
.gallery-collections { padding-bottom:18px; }
.gallery-page .list-meta { min-height:40px; padding:4px 2px; }
.gallery-page .game .thumbnail { box-shadow:inset 0 0 0 1px #0000000a; }
.gallery-page .game .thumbnail img { transition:transform .5s cubic-bezier(.2,.7,.2,1); }
.gallery-page .game .title-line { align-self:stretch; align-content:start; gap:6px 8px; }
.gallery-page .game .title-line h2 { margin-bottom:2px; }
.gallery-page .game .category-tag,.gallery-page .game .device-tag,.gallery-page .game .availability { min-height:20px; font-size:9.5px; }
.gallery-page .game .description { margin:10px 0 8px; }
.gallery-page .game .game-tags { margin-top:auto; }
/* Play stays the green "go" colour so it reads as an action, not another black pill. */
.gallery-page .game .play,.gallery-page .featured-game .play,.gallery-page #detailsPlay { background:#16a34a; border-color:#16a34a; color:#fff; box-shadow:0 4px 14px #16a34a33; }
.gallery-page .game .play:hover,.gallery-page .featured-game .play:hover,.gallery-page #detailsPlay:hover { background:#15803d; border-color:#15803d; }
.gallery-page .game .play.retry-link { background:#fae5df; border-color:#dfad9f; color:#983620; box-shadow:none; }
.gallery-page .game .play { width:40px; height:40px; min-height:40px; }
.gallery-page .game .play-icon svg { width:15px; height:15px; }
/* Community row: votes and favourites get finger-sized targets and legible counts. */
.gallery-page .game .community { margin-top:14px; padding-top:10px; gap:10px; font-size:12px; color:#6f7075; }
.gallery-page .game .votes { border-radius:10px; padding:2px; gap:2px; }
.gallery-page .game .vote { min-width:34px; height:32px; padding:0 8px; font-size:11px; border-radius:8px; color:#6f7075; }
.gallery-page .game .vote:hover { background:#e9e9ec; color:var(--ink); }
.gallery-page .game .score { min-width:2.2ch; font-size:13px; font-weight:650; color:var(--ink); }
.gallery-page .game .numbers { gap:6px; }
.gallery-page .game .favorite { min-height:36px; padding:6px 10px; gap:5px; border-radius:10px; font-size:12px; color:#6f7075; }
.gallery-page .game .favorite:hover { background:#f5f5f6; color:var(--ink); }
.gallery-page .game .favorite[aria-pressed='true'] { color:#d6336c; }
.gallery-page .game .heart { font-size:16px; }
.gallery-page .game .open-count { display:inline-flex; align-items:center; gap:5px; min-height:36px; padding:6px 8px; font-size:12px; }
.gallery-page main { padding-bottom:56px; }
@media(max-width:760px) {
  .gallery-intro { padding:24px 2px 20px; }
  .gallery-intro h1 { font-size:30px; letter-spacing:-1.2px; margin-bottom:10px; max-width:340px; }
  .gallery-collections { padding-bottom:12px; gap:4px; }
  .gallery-page .list-meta { min-height:36px; }
  .gallery-page .game .game-info { padding-top:12px; }
  .gallery-page .game .community { min-height:44px; }
  .gallery-page .game .vote { min-width:38px; height:36px; font-size:12px; }
  .gallery-page .game .favorite,.gallery-page .game .open-count { min-height:40px; }
  .gallery-page main { padding-bottom:52px; }
}
@media(max-width:540px) {
  .gallery-page .game-list { gap:26px; }
}
.gallery-page .game .numbers { align-items:center; }
.gallery-page .game .open-count { line-height:1; }
.gallery-page .software-item .title-line { align-self:stretch; }



/* ------------------------------------------------------------------------
   AI Apps (23 Sep 2026): one brand, four tabs, one status bar.
   Each tab owns a hue (--section); it tints that tab's icon and a few
   accents on its page, never a meaning of its own. */
[data-nav='games'], [data-section='games'] { --section:#16a34a; --section-soft:#e9f7ee; }
[data-nav='software'], [data-section='software'] { --section:#2563eb; --section-soft:#e9f0fe; }
[data-nav='components'], [data-section='components'] { --section:#7c3aed; --section-soft:#f2ecfe; }
[data-nav='omarchy'], [data-section='omarchy'] { --section:#0e8fa3; --section-soft:#e3f4f6; }
[data-nav='education'], [data-section='education'] { --section:#d97706; --section-soft:#fdf3e3; }
[data-nav='videos'], [data-section='videos'] { --section:#e11d48; --section-soft:#fdecef; }

.gallery-page .catalog-header { position:sticky; top:0; z-index:30; height:auto; min-height:68px; padding:12px 0; gap:18px; align-items:center; flex-wrap:nowrap; background:#ffffffeb; backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); }
.gallery-page .brand { display:inline-flex; align-items:center; gap:10px; flex-shrink:0; font-size:19px; font-weight:750; letter-spacing:-.7px; color:var(--ink); text-decoration:none; white-space:nowrap; }
.gallery-page .brand-mark { display:block; flex-shrink:0; border-radius:9px; box-shadow:0 1px 2px #15161a1f, 0 6px 16px -8px #15161a55; transition:transform .25s cubic-bezier(.2,.8,.2,1.2); }
.gallery-page .brand:hover .brand-mark { transform:rotate(-8deg) scale(1.05); }
.gallery-page .catalog-nav { display:flex; align-items:center; gap:2px; flex-shrink:0; padding:4px; margin:0; background:#f4f4f5; border:0; border-radius:14px; }
.gallery-page .catalog-nav a { display:inline-flex; align-items:center; gap:7px; min-height:36px; padding:0 13px 0 11px; border:0; border-radius:10px; color:#696b71; font-size:13px; font-weight:550; text-decoration:none; white-space:nowrap; transition:background .15s ease, color .15s ease; }
.gallery-page .catalog-nav .nav-icon { flex-shrink:0; width:18px; height:18px; color:#9fa1a7; transition:color .15s ease, transform .2s ease; }
.gallery-page .catalog-nav a:hover { color:var(--ink); background:#ffffffb3; }
.gallery-page .catalog-nav a:hover .nav-icon { color:var(--section); }
.gallery-page .catalog-nav a[aria-current='page'] { color:var(--ink); background:#fff; font-weight:650; box-shadow:0 1px 2px #0000000d, 0 2px 8px -2px #0000001a; }
.gallery-page .catalog-nav a[aria-current='page'] .nav-icon { color:var(--section); }
.gallery-page .catalog-nav a:focus-visible { outline:2px solid var(--section); outline-offset:1px; }
.gallery-page .catalog-count { margin-left:auto; white-space:nowrap; }
.gallery-page .catalog-header > .share, .gallery-page .catalog-header > #suggestButton { flex-shrink:0; }

.gallery-intro { padding:40px 16px 28px; }
.gallery-intro h1 { margin:0; font-size:clamp(26px,2.6vw,38px); font-weight:650; letter-spacing:-1.3px; }
.gallery-intro h1::after { content:''; display:block; width:44px; height:4px; margin:16px auto 0; border-radius:4px; background:var(--section, #191a1c); opacity:.9; }

/* Status bar: fixed, identical on every tab. */
.site-status { position:fixed; inset:auto 0 0; z-index:25; margin:0; background:#ffffffeb; backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border-top:1px solid #ebebee; padding-bottom:env(safe-area-inset-bottom); font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; }
.site-status-inner { display:flex; align-items:center; gap:14px; max-width:1600px; min-height:40px; margin:auto; padding:5px 32px; color:#75777c; font-size:11px; }
.site-status-brand { display:inline-flex; align-items:center; gap:7px; color:var(--ink); font-weight:700; letter-spacing:-.2px; }
.site-status-brand .brand-mark { border-radius:5px; }
.period-toggle { display:inline-flex; gap:2px; padding:2px; border-radius:9px; background:#f1f1f3; }
.period-toggle button { min-width:36px; min-height:24px; padding:0 8px; border:0; border-radius:7px; background:transparent; color:#76787e; font:inherit; font-size:10.5px; font-weight:650; letter-spacing:.2px; cursor:pointer; }
.period-toggle button:hover { color:var(--ink); }
.period-toggle button[aria-pressed='true'] { background:#fff; color:var(--ink); box-shadow:0 1px 2px #00000014; }
.period-toggle button:focus-visible { outline:2px solid var(--section, #4e6ef2); outline-offset:1px; }
.site-status-counts { display:flex; align-items:center; gap:4px 14px; margin:0; }
.site-status-counts strong { color:var(--ink); font-weight:750; font-variant-numeric:tabular-nums; }
.site-status-note { margin-left:auto; font-size:10px; color:#9a9ca1; white-space:nowrap; }
/* All-time opens and votes, set apart from the per-period visitor counts. */
.site-status-community { padding:3px 8px 3px 14px; border:0; border-left:1px solid #e4e4e8; border-radius:0 8px 8px 0; background:transparent; color:inherit; font:inherit; cursor:pointer; }
.site-status-community:hover { background:#f1f1f3; }
.site-status-community:focus-visible { outline:2px solid var(--section, #4e6ef2); outline-offset:1px; }
.site-status-more { color:#9a9ca1; font-size:13px; line-height:1; }
.site-status-label { color:#9a9ca1; font-size:10px; }
.site-status-vote { display:inline-flex; align-items:center; gap:4px; }
.site-status-vote .thumb { flex:none; color:#8b8d92; }
.site-status-vote .thumb-down { transform:rotate(180deg); }
.site-status-counts > span { white-space:nowrap; }
.site-status-glyph { display:none; margin-right:3px; color:#8b8d92; }
.site-status-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; }
.gallery-page main { padding-bottom:64px; }

/* Activity dialog (1 Oct 2026), opened from the status bar's opens and votes.
   Series hues (validated: dataviz validate_palette, light surface): opens #2a78d6,
   likes & votes #eb6834, other clicks #1baf7a. Icons use a darker step of the same hue. */
dialog#appsStats { --opens:#2a78d6; --likes:#eb6834; --other:#1baf7a; --ink:#191a1c; --muted:#6f7177; --faint:#9a9ca1; --line:#ececef;
  display:none; flex-direction:column; gap:12px; width:min(760px, calc(100% - 24px)); max-width:none; height:min(800px, calc(100dvh - 32px)); max-height:none; margin:auto; padding:20px 22px 14px; border:1px solid #e4e4e8; border-radius:18px; background:#fff; color:var(--ink); font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; font-size:12.5px; box-shadow:0 24px 70px #0000002e; overflow:hidden; }
dialog#appsStats[open] { display:flex; }
dialog#appsStats::backdrop { background:#14151a8c; backdrop-filter:blur(3px); }
#appsStats > * { flex:none; }
#appsStats [hidden] { display:none !important; }
#appsStats.is-loading .apps-stats-body, #appsStats.is-loading .apps-stats-chart { opacity:.72; transition:opacity .2s; }
#appsStats .apps-stats-head { position:static; height:auto; display:flex; align-items:flex-start; justify-content:space-between; gap:12px; min-height:0; margin:0; padding:0; border:0; background:none; box-shadow:none; backdrop-filter:none; }
#appsStats h2 { margin:0; font-size:19px; line-height:1.25; letter-spacing:-.45px; }
#appsStats .apps-stats-sub { margin:2px 0 0; color:var(--faint); font-size:11.5px; }
#appsStats .apps-stats-close { display:grid; place-items:center; flex:none; width:32px; height:32px; padding:0; border:1px solid #e4e4e8; border-radius:50%; background:#fff; color:#55575c; cursor:pointer; }
#appsStats .apps-stats-close:hover { background:#f3f3f5; color:var(--ink); }
#appsStats button:focus-visible, #appsStats select:focus-visible, #appsStats a:focus-visible { outline:2px solid var(--opens); outline-offset:1px; }

/* One row of filters; they scope everything below them. */
#appsStats .apps-stats-filters { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
#appsStats .apps-stats-select select { height:30px; min-height:0; padding:0 28px 0 10px; border:1px solid #e1e1e5; border-radius:9px; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%2377797e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 8px center/14px no-repeat; color:var(--ink); font:inherit; font-size:12px; font-weight:600; appearance:none; cursor:pointer; }
#appsStats .apps-stats-seg { display:inline-flex; gap:2px; padding:2px; border-radius:9px; background:#f1f1f3; }
#appsStats .apps-stats-seg button { min-height:26px; padding:0 11px; border:0; border-radius:7px; background:transparent; color:#76787e; font:inherit; font-size:11.5px; font-weight:650; white-space:nowrap; cursor:pointer; }
#appsStats .apps-stats-seg button:hover { color:var(--ink); }
#appsStats .apps-stats-seg button[aria-pressed='true'] { background:#fff; color:var(--ink); box-shadow:0 1px 2px #00000017; }
#appsStats .apps-stats-view { margin-left:auto; }
/* Inside Likes & votes (12 Oct 2026): All / Upvotes / Likes / Ratings / Downvotes, on a line of their own. */
#appsStats .apps-stats-subrow { flex-basis:100%; }
#appsStats .apps-stats-subkind button { display:inline-flex; align-items:center; gap:5px; }
#appsStats .apps-stats-subkind svg { flex:none; color:var(--rc); }
#appsStats .apps-stats-subkind b { color:var(--faint); font-weight:600; font-variant-numeric:tabular-nums; }
#appsStats .apps-stats-subkind [aria-pressed='true'] b { color:var(--muted); }

/* Stat strip (12 Oct 2026): one ruled row instead of four grey cards. The two
   all-time cells are buttons that filter the feed; the pressed one is underlined
   in its series hue. */
#appsStats .apps-stats-kpis { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); border:1px solid var(--line); border-radius:12px; overflow:hidden; }
#appsStats .apps-stats-kpis:empty { display:none; }
#appsStats .apps-stats-kpis > * { display:flex; flex-direction:column; align-items:flex-start; gap:1px; min-width:0; margin:0; padding:9px 12px 10px; border:0; border-left:1px solid var(--line); border-radius:0; background:#fff; color:inherit; font:inherit; text-align:left; }
#appsStats .apps-stats-kpis > :first-child { border-left:0; }
#appsStats .apps-stats-kpis button { cursor:pointer; transition:background .15s; }
#appsStats .apps-stats-kpis button:hover { background:#f7f7f8; }
#appsStats .apps-stats-kpis button[aria-pressed='true'] { background:#fbfbfc; box-shadow:inset 0 -3px 0 var(--c); }
#appsStats .apps-stats-kpis button:focus-visible { outline-offset:-3px; }
#appsStats .apps-stats-kpi-label { display:inline-flex; align-items:center; gap:5px; max-width:100%; overflow:hidden; color:var(--muted); font-size:11px; font-weight:600; white-space:nowrap; text-overflow:ellipsis; }
#appsStats .apps-stats-kpi-label i { flex:none; width:8px; height:8px; border-radius:2px; background:var(--c); }
#appsStats .apps-stats-kpis strong { font-size:21px; font-weight:700; letter-spacing:-.5px; line-height:1.25; font-variant-numeric:tabular-nums; }
#appsStats .apps-stats-kpi-sub { display:flex; flex-wrap:wrap; gap:2px 9px; max-width:100%; overflow:hidden; color:var(--faint); font-size:10.5px; white-space:nowrap; text-overflow:ellipsis; }

/* Standing counts by kind: icon + number (thumb, heart, star, thumb down, open). */
#appsStats .apps-stats-r { display:inline-flex; align-items:center; gap:3px; color:var(--muted); font-size:11px; font-variant-numeric:tabular-nums; white-space:nowrap; }
#appsStats .apps-stats-r svg { flex:none; color:var(--rc, currentColor); }
#appsStats .apps-stats-r b { color:var(--ink); font-weight:650; }
#appsStats .apps-stats-r small { margin-left:2px; color:var(--faint); font-size:10px; }
#appsStats .apps-stats-kpi-sub .apps-stats-r { font-size:10.5px; }
/* The likes cell dims the kinds that the filter leaves out. */
#appsStats .apps-stats-kpis[data-only='upvoted'] .apps-stats-r:not([data-r='up']),
#appsStats .apps-stats-kpis[data-only='liked'] .apps-stats-r:not([data-r='like']),
#appsStats .apps-stats-kpis[data-only='rated'] .apps-stats-r:not([data-r='rate']),
#appsStats .apps-stats-kpis[data-only='downvoted'] .apps-stats-r:not([data-r='down']) { opacity:.35; }
/* Its icons are filters too: a soft chip under the pointer. */
#appsStats [data-tile='likes'] .apps-stats-r { margin:-2px -4px; padding:2px 4px; border-radius:6px; transition:background .15s, opacity .15s; }
#appsStats [data-tile='likes'] .apps-stats-r:hover { background:#0000000d; opacity:1; }
#appsStats [data-r='up'] { --rc:#c4501f; }
#appsStats [data-r='down'] { --rc:#8b8d92; }
#appsStats [data-r='down'] svg { transform:rotate(180deg); }
#appsStats [data-r='like'] { --rc:#d6336c; }
#appsStats [data-r='rate'] { --rc:#d99a00; }
#appsStats [data-r='open'] { --rc:#1f63b8; }
#appsStats .apps-stats-rs { display:flex; justify-content:flex-end; gap:4px; }
#appsStats .apps-stats-rs .apps-stats-r { justify-content:flex-end; min-width:38px; }
#appsStats td.apps-stats-rs { display:table-cell; white-space:nowrap; }
#appsStats td.apps-stats-rs .apps-stats-r { justify-content:flex-start; min-width:40px; }
#appsStats td.apps-stats-rs [data-r='rate'] { min-width:78px; }
#appsStats .apps-stats-nil { color:var(--faint); }

/* 30 days of clicks: stacked columns, 2px surface gaps, 4px rounded tops. */
#appsStats .apps-stats-chart-head { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 12px; margin-bottom:6px; }
#appsStats .apps-stats-chart h3 { margin:0; font-size:12.5px; font-weight:700; }
#appsStats .apps-stats-chart h3 span { margin-left:6px; color:var(--faint); font-weight:500; }
#appsStats .apps-stats-legend { display:flex; gap:12px; margin:0; padding:0; list-style:none; color:var(--muted); font-size:11px; }
#appsStats .apps-stats-legend li { display:inline-flex; align-items:center; gap:5px; }
#appsStats .apps-stats-legend i, #appsStats .apps-stats-tip i { width:9px; height:9px; border-radius:2px; background:var(--c); }
#appsStats [data-series='opens'] { --c:var(--opens); }
#appsStats [data-series='likes'] { --c:var(--likes); }
#appsStats [data-series='other'] { --c:var(--other); }
#appsStats .apps-stats-plot { position:relative; padding-left:22px; }
#appsStats .apps-stats-axis { position:absolute; top:-2px; left:0; color:var(--faint); font-size:10px; font-variant-numeric:tabular-nums; }
#appsStats .apps-stats-cols { display:flex; align-items:stretch; height:76px; border-bottom:1px solid #dedee3; }
#appsStats .apps-stats-cols button { display:flex; flex:1 1 0; align-items:flex-end; justify-content:center; min-width:0; padding:0 1px; border:0; border-radius:4px 4px 0 0; background:transparent; cursor:pointer; }
#appsStats .apps-stats-cols button:hover, #appsStats .apps-stats-cols button:focus-visible { background:#f3f3f5; }
#appsStats .apps-stats-stack { display:flex; flex-direction:column-reverse; gap:2px; width:100%; max-width:18px; height:100%; }
#appsStats .apps-stats-stack i { display:block; flex:none; min-height:3px; background:var(--c); }
#appsStats .apps-stats-stack i:last-child { border-radius:4px 4px 0 0; }
#appsStats .is-empty .apps-stats-stack::before { content:''; display:block; height:2px; margin-top:auto; border-radius:1px; background:#e3e3e7; }
#appsStats .apps-stats-cols .is-today { box-shadow:inset 0 -2px 0 var(--ink); }
#appsStats .apps-stats-ticks { display:flex; justify-content:space-between; margin-top:4px; color:var(--faint); font-size:10px; }
#appsStats .apps-stats-tip { position:absolute; bottom:calc(100% - 6px); z-index:3; display:flex; flex-direction:column; gap:2px; min-width:140px; padding:8px 10px; border:1px solid #e4e4e8; border-radius:9px; background:#fff; box-shadow:0 8px 24px #0000001f; font-size:11.5px; transform:translateX(-50%); pointer-events:none; }
#appsStats .apps-stats-tip strong { margin-bottom:2px; font-size:11.5px; }
#appsStats .apps-stats-tip span { display:flex; align-items:center; gap:6px; color:var(--muted); }
#appsStats .apps-stats-tip b { color:var(--ink); font-variant-numeric:tabular-nums; }
#appsStats .apps-stats-tip .apps-stats-tip-visits { margin-top:3px; padding-top:4px; border-top:1px solid var(--line); color:var(--faint); font-size:10.5px; }

/* The feed: one scroll region, sticky day headers, one line per click. */
/* One scroll region under the filters: tiles, chart, then the feed with sticky day headers. */
#appsStats .apps-stats-body { position:relative; display:flex; flex-direction:column; gap:14px; flex:1 1 auto; min-height:0; height:0; margin:0 -22px; padding:2px 22px 4px; overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable; }
#appsStats .apps-stats-body > * { flex:none; }
#appsStats .apps-stats-content { border-top:1px solid var(--line); }
#appsStats .apps-stats-anchor { display:block; height:0; }
#appsStats .apps-stats-day { position:sticky; top:0; z-index:2; display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:2px 10px; margin:0; padding:12px 2px 6px; background:#fff; font-size:12px; font-weight:500; transition:background .4s; }
#appsStats .apps-stats-day b { font-weight:700; }
#appsStats .apps-stats-day > span:first-child > span { color:var(--muted); }
#appsStats .apps-stats-day > span:first-child { white-space:nowrap; }
#appsStats .apps-stats-day-sum { margin-left:auto; color:var(--muted); font-size:11px; font-variant-numeric:tabular-nums; text-align:right; }
#appsStats .apps-stats-day.is-target, #appsStats .apps-stats-quiet.is-target { background:#eef4fd; }
#appsStats .apps-stats-boundary { margin:14px 0 2px; padding:9px 12px; border-radius:10px; background:#f6f6f7; color:var(--muted); font-size:11.5px; line-height:1.45; }
#appsStats .apps-stats-boundary b { color:var(--ink); font-weight:650; }
#appsStats .apps-stats-feed { margin:0 0 4px; padding:0; list-style:none; }
#appsStats .apps-stats-feed li { display:grid; grid-template-columns:26px minmax(0, 1fr) auto; align-items:center; gap:10px; min-height:40px; padding:5px 2px; border-top:1px solid #f2f2f4; }
#appsStats .apps-stats-feed li:first-child { border-top:0; }
#appsStats .apps-stats-feed li.is-new { animation:apps-stats-new 2.4s ease-out; }
@keyframes apps-stats-new { from { background:#eef4fd; } to { background:transparent; } }
#appsStats .apps-stats-icon { display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:var(--tint); color:var(--deep); }
#appsStats [data-group='opens'] { --tint:#eaf2fc; --deep:#1f63b8; }
#appsStats [data-group='likes'] { --tint:#fdeee7; --deep:#c4501f; }
#appsStats [data-group='undated'] { --tint:#f2f2f4; --deep:#8b8d92; }
#appsStats [data-group='other'] { --tint:#e4f5ee; --deep:#0f7f58; }
#appsStats [data-off] { --tint:#f2f2f4; --deep:#8b8d92; }
#appsStats [data-off] .apps-stats-what { color:var(--muted); }
#appsStats .apps-stats-icon[data-kind='down'] svg { transform:rotate(180deg); }
#appsStats .apps-stats-what { min-width:0; overflow-wrap:anywhere; line-height:1.4; }
#appsStats .apps-stats-what strong { font-weight:650; }
#appsStats .apps-stats-gone { color:var(--muted); font-weight:500 !important; }
#appsStats .apps-stats-gone-tag { display:inline-block; margin-left:6px; padding:1px 6px; border-radius:5px; background:#f1f1f3; color:var(--muted); font-size:10.5px; font-weight:500; white-space:nowrap; vertical-align:1px; }
#appsStats .apps-stats-stars { color:#d99a00; letter-spacing:1px; }
#appsStats .apps-stats-stars > span > span { color:#dcdce0; }
#appsStats .apps-stats-feed time { color:var(--faint); font-size:11.5px; font-variant-numeric:tabular-nums; white-space:nowrap; }
#appsStats .apps-stats-chip { display:inline-flex; align-items:center; gap:4px; margin-left:7px; padding:1px 6px; border-radius:5px; background:#f3f3f5; color:var(--muted); font-size:10px; font-weight:600; white-space:nowrap; vertical-align:1px; }
#appsStats .apps-stats-chip i { width:6px; height:6px; border-radius:50%; background:var(--section, #9a9ca1); }
#appsStats .apps-stats-empty-day { margin:0 0 6px; padding:12px 14px; border:1px dashed #dcdce1; border-radius:11px; color:var(--muted); }
#appsStats .apps-stats-empty-day p { margin:0; }
#appsStats .apps-stats-empty-day p + p { margin-top:4px; color:var(--faint); font-size:11.5px; }
#appsStats .apps-stats-empty-day strong { color:var(--muted); font-weight:650; }
#appsStats .apps-stats-quiet { display:flex; align-items:center; gap:10px; margin:6px 0; color:var(--faint); font-size:10.5px; border-radius:6px; transition:background .4s; }
#appsStats .apps-stats-quiet::before, #appsStats .apps-stats-quiet::after { content:''; flex:1; height:1px; background:var(--line); }
#appsStats .apps-stats-more { display:block; width:100%; margin:8px 0 12px; padding:9px; border:1px solid #e4e4e8; border-radius:10px; background:#fff; color:var(--ink); font:inherit; font-size:12px; font-weight:650; cursor:pointer; }
#appsStats .apps-stats-more:hover { background:#f6f6f7; }
#appsStats .apps-stats-more span { color:var(--faint); font-weight:500; }
#appsStats .apps-stats-end, #appsStats .apps-stats-empty { margin:14px 2px 16px; color:var(--faint); font-size:11.5px; text-align:center; }

/* What the feed cannot date: one line above it, the per-item rows after it. */
#appsStats .apps-stats-undated-note { display:flex; align-items:flex-start; gap:8px; margin:12px 0 0; padding:8px 11px; border-radius:10px; background:#f6f6f7; color:var(--muted); font-size:11.5px; line-height:1.45; }
#appsStats .apps-stats-undated-note svg { flex:none; margin-top:1px; color:var(--faint); }
#appsStats .apps-stats-undated-note button, #appsStats th button { padding:0; border:0; background:none; color:var(--ink); font:inherit; font-weight:650; text-decoration:underline; text-decoration-color:#c9cad0; text-underline-offset:2px; cursor:pointer; }
#appsStats .apps-stats-undated-note button:hover { text-decoration-color:currentColor; }
#appsStats .apps-stats-undated { margin-top:6px; border-top:1px dashed #dcdce1; }
#appsStats .apps-stats-undated-why { margin:0 2px 4px; color:var(--faint); font-size:11px; line-height:1.45; }

/* By item */
#appsStats table { width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; }
#appsStats th { position:sticky; top:0; z-index:1; padding:10px 8px 6px; background:#fff; color:var(--faint); font-size:10.5px; font-weight:600; text-align:left; white-space:nowrap; }
#appsStats th button { color:var(--faint); font-weight:600; text-decoration:none; }
#appsStats th button:hover, #appsStats th[aria-sort='descending'] button { color:var(--ink); }
#appsStats th[aria-sort='descending'] button::after { content:' ↓'; }
#appsStats td { padding:8px; border-top:1px solid #f0f0f2; vertical-align:middle; }
#appsStats .num { text-align:right; white-space:nowrap; }
#appsStats td a { color:inherit; font-weight:600; text-decoration:none; }
#appsStats td a:hover { text-decoration:underline; }
#appsStats td time { color:var(--muted); }
#appsStats em { color:var(--muted); font-style:normal; }
#appsStats .apps-stats-note { margin:0 0 6px; color:var(--faint); font-size:10.5px; line-height:1.45; }
@media (max-width:560px) {
  dialog#appsStats { width:100%; height:calc(100dvh - 20px); margin:auto 0 0; padding:16px 14px calc(10px + env(safe-area-inset-bottom)); gap:10px; border-radius:18px 18px 0 0; }
  #appsStats .apps-stats-body { margin:0 -14px; padding:0 14px; }
  #appsStats .apps-stats-filters { gap:6px; }
  #appsStats .apps-stats-select { flex:1 1 auto; }
  #appsStats .apps-stats-select select { width:100%; }
  #appsStats [data-filter='kind'] { order:3; width:100%; }
  #appsStats [data-filter='kind'] button { flex:1; padding:0 4px; }
  #appsStats .apps-stats-subrow { order:4; }
  #appsStats .apps-stats-subkind { display:flex; }
  #appsStats .apps-stats-subkind button { flex:1; justify-content:center; padding:0 4px; }
  /* Five chips do not fit a phone with their words: icon and count, as in the likes cell; the word stays for screen readers and in the tooltip. */
  #appsStats .apps-stats-subname { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
  #appsStats .apps-stats-subkind button { gap:4px; }
  #appsStats .apps-stats-subkind b { color:var(--ink); }
  #appsStats .apps-stats-view { margin-left:0; }
  #appsStats .apps-stats-kpis > * { padding:7px 8px 8px; }
  #appsStats .apps-stats-kpis strong { font-size:17px; }
  #appsStats .apps-stats-kpi-label { font-size:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  #appsStats .apps-stats-kpi-sub { font-size:9.5px; }
  #appsStats .apps-stats-legend { gap:8px; }
  #appsStats .apps-stats-cols { height:60px; }
  #appsStats .apps-stats-chip { display:none; }
  #appsStats th, #appsStats td { padding-left:5px; padding-right:5px; }
}
@media (max-width:440px) {
  #appsStats .apps-stats-kpis { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  #appsStats .apps-stats-kpis > :nth-child(3) { border-left:0; }
  #appsStats .apps-stats-kpis > :nth-child(n+3) { border-top:1px solid var(--line); }
}
@media (prefers-reduced-motion:reduce) {
  #appsStats .apps-stats-feed li.is-new { animation:none; background:#eef4fd; }
}


/* Model label and Android flag on game rows. */
.gallery-page .game .model-chip, .model-chip { display:inline-flex; align-items:center; gap:4px; max-width:100%; min-height:20px; padding:2px 8px 2px 6px; border-radius:999px; background:#f2ecfe; color:#6537c8; font-size:10px; font-weight:650; line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.model-chip::before { content:''; flex-shrink:0; width:10px; height:10px; background:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c.9 5.4 4.6 9.1 10 10-5.4.9-9.1 4.6-10 10-.9-5.4-4.6-9.1-10-10 5.4-.9 9.1-4.6 10-10Z'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c.9 5.4 4.6 9.1 10 10-5.4.9-9.1 4.6-10 10-.9-5.4-4.6-9.1-10-10 5.4-.9 9.1-4.6 10-10Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.model-chip[hidden], .apk-tag[hidden], .apk-download[hidden], .download-count[hidden] { display:none !important; }
.gallery-page .game .apk-tag { display:inline-flex; align-items:center; gap:4px; min-height:20px; padding:2px 7px 2px 6px; border-radius:6px; background:#e7f8ee; color:#12723b; font-size:9.5px; font-weight:750; letter-spacing:.3px; }
.gallery-page .game .apk-tag::before { content:''; width:11px; height:11px; background:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 10a6 6 0 0 1 12 0v1H6v-1Zm2.5-4.8L7 3.2M15.5 5.2 17 3.2' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M6 12.5h12V18a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-5.5Z'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 10a6 6 0 0 1 12 0v1H6v-1Zm2.5-4.8L7 3.2M15.5 5.2 17 3.2' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M6 12.5h12V18a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-5.5Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.gallery-page .game .game-actions { display:flex; flex-direction:row; align-items:center; gap:8px; }
.gallery-page .game .apk-download { display:inline-flex; align-items:center; gap:6px; min-height:40px; height:40px; padding:0 14px 0 12px; border:0; border-radius:999px; background:#e7f8ee; color:#12723b; font-size:12px; font-weight:700; text-decoration:none; box-shadow:none; }
.gallery-page .game .apk-download:hover { background:#d3f1df; }
.gallery-page .game:has(.apk-download:not([hidden])) .title-line { padding-right:138px; }
.gallery-page .game .download-count { display:inline-flex; align-items:center; gap:5px; min-height:36px; padding:6px 8px; color:#12723b; font-size:12px; line-height:1; }

/* Software: the featured tool leads the page. */
.software-featured { margin:0 0 40px; }
.featured-tool { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:clamp(22px,3vw,44px); align-items:center; padding:18px; border-radius:30px; background:linear-gradient(135deg,#f3f7ff,#f7f4ff 55%,#f2fbf6); box-shadow:inset 0 0 0 1px #0000000a; }
.featured-tool .featured-tool-art { position:relative; display:block; width:100%; height:auto; aspect-ratio:16/10; border-radius:20px; overflow:hidden; background:#eef0f4; box-shadow:0 18px 40px -22px #1b2a4a66, inset 0 0 0 1px #0000000d; }
.featured-tool .featured-tool-art img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .5s cubic-bezier(.2,.7,.2,1); }
.featured-tool .featured-tool-art:hover img { transform:scale(1.025); }
.featured-tool .featured-tool-art.no-image img { display:none; }
.featured-tool-body { display:flex; flex-direction:column; align-items:flex-start; min-width:0; padding-right:12px; }
.featured-label { display:inline-flex; align-items:center; gap:6px; margin:0 0 12px; padding:5px 10px; border-radius:999px; background:#fff; color:var(--section, #2563eb); font-size:10px; font-weight:750; letter-spacing:.9px; text-transform:uppercase; box-shadow:0 1px 2px #0000000f; }
.featured-label::before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; }
.featured-tool h2 { margin:0 0 10px; font-size:clamp(26px,2.4vw,34px); font-weight:700; letter-spacing:-1.1px; line-height:1.1; }
.featured-tool h2 a { color:inherit; text-decoration:none; }
.featured-tool h2 a:hover { color:var(--section, #2563eb); }
.featured-tool .description { display:block; margin:0 0 14px; font-size:14px; line-height:1.6; color:#55575d; white-space:normal; overflow:visible; -webkit-line-clamp:unset; max-height:none; }
.featured-tool .game-tags { display:flex; flex-wrap:wrap; gap:4px 12px; font-size:11px; color:#76787e; }
.featured-tool .game-tags .category { color:var(--ink); font-weight:650; }
.featured-tool .platforms { margin:14px 0 4px; }
.featured-tool .credits { display:flex; align-items:center; gap:6px 14px; flex-wrap:wrap; margin-top:10px; font-size:11px; }
.featured-tool .credits .author-x { display:inline-flex; align-items:center; gap:5px; font-weight:650; color:var(--ink); }
.featured-tool-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; width:100%; margin-top:16px; }
.featured-tool-actions .software-community { margin:0; padding:0; border:0; }
.featured-tool-actions .software-opens { color:#646459; }
.featured-tool .featured-reel { background:#0f1115; }
.featured-tool .featured-reel video { display:block; width:100%; height:100%; object-fit:cover; background:#0f1115; }
.featured-tool .featured-reel video[controls] { object-fit:contain; }
.reel-watch { position:absolute; left:14px; bottom:14px; display:inline-flex; align-items:center; gap:8px; min-height:38px; padding:0 15px 0 11px; border:0; border-radius:999px; background:#ffffffeb; color:#16171a; font:inherit; font-size:12px; font-weight:650; cursor:pointer; box-shadow:0 6px 18px -8px #00000080; transition:transform .2s ease, background .2s ease; }
.reel-watch:hover { background:#fff; transform:translateY(-1px); }
.reel-watch:focus-visible { outline:3px solid var(--section, #2563eb); outline-offset:2px; }
.reel-watch-icon { width:0; height:0; border-style:solid; border-width:6px 0 6px 10px; border-color:transparent transparent transparent currentColor; margin-left:3px; }
.reel-watch[hidden] { display:none; }
.featured-tool-actions .button.primary { margin-left:auto; padding:10px 20px; }
.gallery-page .software-item .thumbnail { width:100%; height:auto; aspect-ratio:16/10; border:0; border-radius:22px; background:#f0f0f2; box-shadow:inset 0 0 0 1px #0000000a; }
.gallery-page .software-item .thumbnail img { object-fit:cover; object-position:center; }
/* Few tools, large pictures: two columns, four on very wide screens. */
@media (min-width:700px) { .gallery-page .software-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px 28px; } }
@media (min-width:1500px) { .gallery-page .software-list { grid-template-columns:repeat(4,minmax(0,1fr)); } }

/* Omarchy: an upvote on every plugin. */
/* Reader stars beside the plugin name (13 Oct 2026; they replaced the 👍). */
.omarchy-title-line .omarchy-rate { margin-left:auto; }
.omarchy-title-line .omarchy-rate .rate { --star:15px; }
.omarchy-dialog-vote { margin:12px 0 4px; }
.omarchy-dialog-vote .rate-meta { margin:0; }
.omarchy-notice { margin:-4px 0 14px; }

/* Components: a live study, a name, one line, then votes and the demo. */
.gallery-page .asset-filters { display:block; }
.asset-categories { justify-content:center; margin:14px 0 4px; padding-bottom:0; }
.asset-categories button[aria-pressed='true'] { background:#191a1c; color:#fff; }
.gallery-page .asset-card { display:flex; flex-direction:column; }
.gallery-page .asset-card-demo { margin:0; }
.gallery-page .asset-card-demo .asset-demo .demo-stage { height:260px; border-radius:22px; }
.asset-card-title { display:flex; align-items:baseline; gap:8px; margin:14px 3px 4px; min-width:0; }
.gallery-page .asset-card .asset-card-title h3 { margin:0; min-width:0; font-size:16px; font-weight:600; letter-spacing:-.45px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.asset-maker { flex-shrink:0; margin-left:auto; font-size:10.5px; color:#9a9ba0; white-space:nowrap; }
.gallery-page .asset-card-description { margin:0 3px 10px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.asset-card-foot { display:flex; align-items:center; gap:6px; margin-top:auto; padding:0 1px; }
.gallery-page .asset-card-foot .software-community { margin:0; padding:0; border:0; gap:4px; }
.gallery-page .asset-card-foot .community-button { min-height:32px; padding:0 9px; gap:5px; font-size:11px; }
.asset-demo-link { margin-left:auto; padding:7px 4px; font-size:11px; font-weight:650; color:var(--section, #7c3aed); text-decoration:none; white-space:nowrap; }
.asset-demo-link:hover { text-decoration:underline; }
.asset-details { min-height:32px; padding:0 12px; border:0; border-radius:999px; background:#f3f3f5; color:#4d4f55; font:inherit; font-size:11px; cursor:pointer; }
.asset-details:hover { background:#e9e9ec; color:var(--ink); }

@media (max-width:1180px) {
  .gallery-page .catalog-header { flex-wrap:wrap; }
  .gallery-page .catalog-count { display:none; }
  .gallery-page .catalog-header > .share { margin-left:auto; }
}
@media (max-width:900px) {
  .featured-tool { grid-template-columns:1fr; padding:14px; border-radius:26px; }
  .featured-tool-body { padding:4px 6px 8px; }
}
@media (max-width:760px) {
  .gallery-page .catalog-header { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"brand action" "nav nav"; gap:12px 10px; padding:12px 0 10px; }
  .gallery-page .catalog-header .brand { grid-area:brand; font-size:18px; gap:9px; }
  .gallery-page .catalog-header .brand-mark { width:28px; height:28px; }
  .gallery-page .catalog-header > #suggestButton { grid-area:action; justify-self:end; margin:0; min-height:34px; padding:7px 14px; font-size:11px; }
  .gallery-page .catalog-header .catalog-nav { grid-area:nav; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); width:100%; }
  .gallery-page .catalog-nav a { justify-content:center; padding:0 6px; font-size:12px; }
  .gallery-intro { padding:22px 4px 18px; }
  .gallery-intro h1 { font-size:28px; letter-spacing:-1px; }
  .gallery-intro h1::after { margin-top:12px; width:36px; }
  .site-status-inner { gap:10px; padding:5px 16px; }
  .site-status-brand { display:none; }
  .gallery-page .game:has(.apk-download:not([hidden])) .title-line { padding-right:128px; }
}
@media (max-width:560px) {
  .gallery-page .catalog-nav a { flex-direction:column; gap:3px; min-height:50px; padding:5px 1px; font-size:10px; letter-spacing:-.2px; }
  .gallery-page .catalog-nav .nav-icon { width:19px; height:19px; }
  .site-status-counts { gap:2px 10px; }
  .site-status-note { display:none; }
  /* Phones: the card counters' symbols (↗ opens, thumbs for votes); the words stay for screen readers. */
  .site-status-inner { flex-wrap:wrap; gap:4px 8px; }
  .period-toggle button { min-width:0; padding:0 7px; }
  .site-status-counts { gap:2px 8px; }
  .site-status-community { padding-left:8px; padding-right:6px; }
  .site-status-glyph { display:inline; }
  .site-status-label, .site-status-opens .site-status-unit { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; }
  .featured-tool-actions .button.primary { margin-left:0; }
}
@media (prefers-reduced-motion:reduce) {
  .gallery-page .brand-mark, .gallery-page .catalog-nav a, .gallery-page .catalog-nav .nav-icon { transition:none; }
}

/* Games: 👍 / 👎 counted apart (27 Sep 2026) — no single score, no likes. */
.games-page .votes { display:inline-flex; flex-direction:row; align-items:center; gap:2px; padding:3px; border:0; border-radius:999px; background:#f4f4f5; }
.games-page .game .vote, .games-page .featured-game .vote { display:inline-flex; align-items:center; gap:6px; width:auto; min-width:0; height:30px; padding:0 11px 0 9px; border:0; border-radius:999px; background:transparent; color:#6d6e73; font-size:12px; font-weight:600; font-variant-numeric:tabular-nums; transition:background .12s ease, color .12s ease, transform .12s ease; }
.games-page .vote .thumb { flex:none; }
.games-page .vote .thumb-down { transform:rotate(180deg); }
.games-page .vote:hover:not(:disabled) { background:#fff; color:#1d1e21; }
.games-page .vote:active:not(:disabled) { transform:scale(.94); }
.games-page .vote.up[aria-pressed='true'] { background:#e5f6ea; color:#15803d; }
.games-page .vote.down[aria-pressed='true'] { background:#fdecec; color:#b42318; }
.games-page .vote[aria-pressed='true'] .thumb path { fill:currentColor; fill-opacity:.18; }
.games-page .vote:disabled { cursor:default; opacity:.6; }
.games-page .game .numbers { align-items:center; color:#8a8b90; font-size:11px; }

/* Featured: three permanent picks above the grid, larger than a grid card.
   16:9 like every game image, so the art is never cropped (27 Sep 2026). */
.games-page .featured { margin:4px 0 34px; }
.games-page .featured h2 { margin:0 0 14px; font-size:13px; font-weight:650; letter-spacing:.2px; text-transform:none; color:#1d1e21; }
.games-page .featured-list { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.games-page .featured-game article { height:100%; border:0; border-radius:26px; background:#f6f6f7; overflow:hidden; }
.games-page .featured-art, .games-page .featured-art.thumbnail { aspect-ratio:16/9; border-radius:0; background:#ececee; overflow:hidden; }
.games-page .featured-art img { transition:transform .4s ease; }
.games-page .featured-art:hover img { transform:scale(1.04); }
.games-page .featured-body { display:flex; flex-direction:column; flex:1; padding:16px 18px 14px; }
.games-page .featured-body h3 { font-size:20px; font-weight:650; letter-spacing:-.6px; padding-right:48px; }
.games-page .featured-body .description { font-size:12.5px; line-height:1.6; color:#6f7075; margin:8px 0 0; }
.games-page .featured-meta { margin-top:10px; font-size:10px; color:#77797e; }
.games-page .featured-community { margin-top:auto; padding-top:14px; border-top:0; gap:8px; }
.games-page .featured-community .open-count { color:#8a8b90; }
.games-page .featured-game article { container-type:inline-size; }
.games-page .featured-game .play { top:calc(100cqw * 9 / 16 + 12px); right:16px; position:absolute; width:44px; height:44px; min-height:44px; padding:0; display:grid; place-items:center; border-radius:50%; background:#16a34a; border:0; color:#fff; }
.games-page .featured-game .play:hover { background:#15803d; }
.games-page .featured-game .play .play-label { display:none; }
/* Five picks fill two lines (14 Oct 2026): two wide cards, then three (app.js featuredWide sets data-size). */
.games-page .featured-list { grid-template-columns:repeat(6,minmax(0,1fr)); }
.games-page .featured-game { grid-column:span 2; }
.games-page .featured-game[data-size="wide"] { grid-column:span 3; }
.games-page .featured-game[data-size="full"] { grid-column:1 / -1; }
.games-page .featured-game[data-size] .featured-body h3 { font-size:23px; letter-spacing:-.75px; }
@media (max-width:1000px) { .games-page .featured-list { grid-template-columns:1fr; } .games-page .featured-game, .games-page .featured-game[data-size] { grid-column:auto; } .games-page .featured-game[data-size] .featured-body h3 { font-size:20px; } .games-page .featured-art, .games-page .featured-art.thumbnail { aspect-ratio:16/9; } .games-page .featured-game .play { top:calc(100cqw * 9 / 16 + 12px); } }

/* Games header: one compact line of title, then the collections (27 Sep 2026). */
.games-page .gallery-intro { padding:18px 16px 12px; }
.games-page .gallery-intro h1 { font-size:clamp(22px,2vw,28px); letter-spacing:-.8px; }
.games-page .gallery-intro h1::after { width:32px; height:3px; margin-top:10px; }
.games-page .gallery-collections { padding-bottom:14px; }
@media (max-width:760px) { .games-page .gallery-intro { padding:12px 2px 8px; } .games-page .gallery-intro h1 { font-size:24px; } }

/* ------------------------------------------------------------------------
   Star ratings on every AI Apps tab (games since 11 Oct 2026, the other tabs
   since 13 Oct 2026; software/stars.js). Two stacked stars per slot, the gold
   one clipped to --f (0–1). `body` keeps these above page rules on buttons. */
body .rate { --star: 19px; --gap: 2px; --on: #f6c453; --off: #e8e6e1; position: relative; display: inline-flex; align-items: center; gap: var(--gap); padding: 7px 3px; margin: -7px -3px; border-radius: 10px; cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; outline: none; }
body .rate:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--section, #16a34a); }
body .rate[aria-disabled="true"] { cursor: not-allowed; opacity: .55; }
body .rate[data-mode="mine"] { --on: #f59e0b; }
body .rate[data-mode="preview"] { --on: #fbbf24; }
body .rate .star, body .stars-static .star { position: relative; flex: none; width: var(--star); height: var(--star); transition: transform .22s cubic-bezier(.3,1.6,.5,1); }
body .rate .star svg, body .stars-static .star svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
body .rate .star-bg path, body .stars-static .star-bg path { fill: var(--off); }
body .rate .star-fill, body .stars-static .star-fill { clip-path: inset(0 calc(100% - var(--f, 0) * 100%) 0 0); transition: clip-path .16s ease-out; }
body .rate .star-fill path, body .stars-static .star-fill path { fill: var(--on); transition: fill .2s ease; }
body .rate[data-mode="mine"] .star-fill { filter: drop-shadow(0 1px 1.5px #b4530938); }
body .rate .star.is-hot { transform: scale(1.22) translateY(-1px); }
body .rate .spark { position: absolute; z-index: 2; width: 5px; height: 5px; border-radius: 50%; background: #fbbf24; pointer-events: none; }
body .rate .spark:nth-of-type(3n) { background: #f97316; width: 4px; height: 4px; }
body .rate .spark:nth-of-type(3n+1) { background: #fde047; }
body .rate-wrap { position: relative; display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
body .rate-meta { display: inline-flex; align-items: baseline; gap: 3px; min-width: 0; font-size: 12px; color: #8a8b90; white-space: nowrap; font-variant-numeric: tabular-nums; }
body .rate-meta strong { color: #1d1e21; font-weight: 650; display: inline-block; }
body .rate-meta .rate-preview { color: #b45309; }
body .rate-meta .rate-empty { color: #a3a4a9; }
/* The count opens the ratings dialog: a quiet link that shows itself on hover. */
body .rate-meta .rate-n { margin: -4px -3px; padding: 4px 3px; border: 0; border-radius: 6px; background: none; color: #8a8b90; font: inherit; font-variant-numeric: tabular-nums; text-decoration: underline dotted #c4c5ca; text-underline-offset: 3px; cursor: pointer; transition: background .15s, color .15s; }
body .rate-meta .rate-n:hover { background: #f3f3f5; color: #1d1e21; text-decoration-color: currentColor; }
body .rate-meta .rate-n:focus-visible { outline: 2px solid var(--section, #16a34a); outline-offset: 1px; }
body .rate-flash { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #e8f6ee; color: #15803d; font-size: 11px; font-weight: 700; white-space: nowrap; }
body .stars-static { --star: 14px; --gap: 1px; --on: #f59e0b; --off: #e8e6e1; display: inline-flex; align-items: center; gap: var(--gap); vertical-align: -2px; }
@media (pointer: coarse) {
  body .rate { --star: 23px; --gap: 3px; padding: 9px 3px; margin: -9px -3px; }
  body .rate-meta .rate-n { padding: 8px 4px; margin: -8px -4px; }
}

/* Ratings dialog: the average, the ratings by value, then every rating with its date. */
body dialog.ratings-dialog { --ink: #191a1c; --muted: #6f7177; --faint: #9a9ca1; --line: #ececef;
  width: min(460px, calc(100% - 24px)); max-width: none; max-height: min(720px, calc(100dvh - 32px)); margin: auto; padding: 0; border: 1px solid #e4e4e8; border-radius: 18px; background: #fff; color: var(--ink); font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 13px; box-shadow: 0 24px 70px #0000002e; overflow: hidden; }
body dialog.ratings-dialog[open] { display: flex; flex-direction: column; }
body dialog.ratings-dialog::backdrop { background: #14151a8c; backdrop-filter: blur(3px); }
.ratings-dialog .ratings-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; border-bottom: 1px solid var(--line); }
.ratings-dialog .ratings-kicker { margin: 0; color: var(--faint); font-size: 11.5px; font-weight: 600; }
.ratings-dialog h2 { margin: 2px 0 0; font-size: 19px; line-height: 1.25; letter-spacing: -.45px; overflow-wrap: anywhere; }
.ratings-dialog .ratings-close { display: grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0; border: 1px solid #e4e4e8; border-radius: 50%; background: #fff; color: #55575c; cursor: pointer; }
.ratings-dialog .ratings-close:hover { background: #f3f3f5; color: var(--ink); }
.ratings-dialog .ratings-close:focus-visible { outline: 2px solid #f59e0b; outline-offset: 1px; }
.ratings-dialog .ratings-body { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 14px 20px 18px; }
.ratings-dialog .ratings-status, .ratings-dialog .ratings-empty { margin: 4px 0; color: var(--muted); }
.ratings-dialog .ratings-summary { display: flex; align-items: center; gap: 14px; }
.ratings-dialog .ratings-avg { font-size: 40px; font-weight: 750; letter-spacing: -1.4px; line-height: 1; font-variant-numeric: tabular-nums; }
.ratings-dialog .ratings-summary-words { display: flex; flex-direction: column; gap: 3px; color: var(--muted); font-size: 12px; }
.ratings-dialog .ratings-summary-words .stars-static { --star: 18px; }
.ratings-dialog .ratings-mine { color: #b45309; font-weight: 600; }
.ratings-dialog .ratings-bars { display: grid; gap: 5px; margin: 14px 0 0; padding: 0; list-style: none; }
.ratings-dialog .ratings-bars li { display: grid; grid-template-columns: 44px minmax(0, 1fr) 30px; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.ratings-dialog .ratings-bar { height: 8px; border-radius: 4px; background: #f1f1f3; overflow: hidden; }
.ratings-dialog .ratings-bar i { display: block; height: 100%; border-radius: 4px; background: #f6c453; }
.ratings-dialog .ratings-count { text-align: right; color: var(--ink); font-weight: 600; }
.ratings-dialog .ratings-log-title { margin: 18px 0 4px; font-size: 12.5px; font-weight: 700; }
.ratings-dialog .ratings-log { margin: 0; padding: 0; list-style: none; }
.ratings-dialog .ratings-log li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "what time" "what ago"; align-items: center; gap: 0 10px; padding: 8px 2px; border-top: 1px solid #f0f0f2; }
.ratings-dialog .ratings-log li:first-child { border-top: 0; }
.ratings-dialog .ratings-what { grid-area: what; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.ratings-dialog .ratings-what-n { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.ratings-dialog .ratings-log li.is-removed .ratings-what { color: var(--faint); font-weight: 500; }
.ratings-dialog .ratings-log time { grid-area: time; color: var(--ink); font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.ratings-dialog .ratings-ago { grid-area: ago; color: var(--faint); font-size: 11px; text-align: right; }
.ratings-dialog .ratings-note { margin: 10px 0 0; padding: 8px 10px; border-radius: 9px; background: #f4f4f6; color: var(--muted); font-size: 12px; }
.ratings-dialog .ratings-foot { margin: 14px 0 0; color: var(--faint); font-size: 11px; line-height: 1.45; }
@media (max-width: 560px) {
  body dialog.ratings-dialog { width: 100%; max-height: calc(100dvh - 20px); margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .ratings-dialog .ratings-body { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
}
/* Motion (14 Oct 2026), every tab: the dialog rises in, the average's stars fill
   from the left, the bars grow from zero and the dated ratings arrive in turn. */
@keyframes ratings-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes ratings-up { from { transform: translateY(100%); } }
@keyframes ratings-fill { from { clip-path: inset(0 100% 0 0); } }
@keyframes ratings-grow { from { transform: scaleX(0); } }
@keyframes ratings-rise { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: no-preference) {
  body dialog.ratings-dialog[open] { animation: ratings-in .36s cubic-bezier(.16,1,.3,1); }
  .ratings-dialog .ratings-avg { animation: ratings-rise .45s cubic-bezier(.16,1,.3,1) backwards; }
  .ratings-dialog .ratings-summary .star-fill { animation: ratings-fill .5s cubic-bezier(.3,.7,.2,1) backwards; }
  .ratings-dialog .ratings-summary .star:nth-child(2) .star-fill { animation-delay: .06s; }
  .ratings-dialog .ratings-summary .star:nth-child(3) .star-fill { animation-delay: .12s; }
  .ratings-dialog .ratings-summary .star:nth-child(4) .star-fill { animation-delay: .18s; }
  .ratings-dialog .ratings-summary .star:nth-child(5) .star-fill { animation-delay: .24s; }
  .ratings-dialog .ratings-bar i { transform-origin: left; animation: ratings-grow .7s cubic-bezier(.16,1,.3,1) backwards; animation-delay: .12s; }
  .ratings-dialog .ratings-bars li:nth-child(2) .ratings-bar i { animation-delay: .17s; }
  .ratings-dialog .ratings-bars li:nth-child(3) .ratings-bar i { animation-delay: .22s; }
  .ratings-dialog .ratings-bars li:nth-child(4) .ratings-bar i { animation-delay: .27s; }
  .ratings-dialog .ratings-bars li:nth-child(n+5) .ratings-bar i { animation-delay: .32s; }
  .ratings-dialog .ratings-log li { animation: ratings-rise .4s cubic-bezier(.16,1,.3,1) backwards; animation-delay: .2s; }
  .ratings-dialog .ratings-log li:nth-child(2) { animation-delay: .24s; }
  .ratings-dialog .ratings-log li:nth-child(3) { animation-delay: .28s; }
  .ratings-dialog .ratings-log li:nth-child(4) { animation-delay: .32s; }
  .ratings-dialog .ratings-log li:nth-child(5) { animation-delay: .36s; }
  .ratings-dialog .ratings-log li:nth-child(n+6) { animation-delay: .4s; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 560px) {
  body dialog.ratings-dialog[open] { animation: ratings-up .42s cubic-bezier(.16,1,.3,1); }
}
