:root {
  color-scheme: light;
  scrollbar-gutter: stable;
  --page: #eff2e9;
  --panel: #f7f9f3;
  --panel-raised: #edf2e8;
  --panel-active: #e0ead8;
  --border: #cdd8c9;
  --input-border: #8b9f88;
  --input-bg: #fafcf7;
  --text: #16231c;
  --muted: #455b4c;
  --accent: #3f692a;
  --accent-text: #17220c;
  --accent-border: #7d9c68;
  --action: #b9ef47;
  --action-hover: #cefa78;
  --amber: #f4c887;
  --amber-edge: #d49560;
  --amber-mark-fill: #57432b99;
  --danger: #a12826;
  --success: #2d643e;
  --chrome: #1b2a22;
  --chrome-border: #cad8c8;
  --radius: 18px;
  --glass-solid: #f5f8ef;
  --glass-fill: #f5f8efdb;
  --glass-rim: #ffffffbd;
  --glass-sheen: linear-gradient(153deg, #ffffff65, #ffffff08 48%, #c3ddaa18);
  --glass-shadow: inset 0 1px 1px #ffffffd0, 0 8px 24px #283f2821;
  --content-shadow: 0 10px 30px #1d352113;
  --atmosphere-top: #dce9c7;
  --atmosphere-edge: #dae9e0;
  --atmosphere-base: #eee5cc;
  --feedback-fill: #e6eee3;
  --installer-base: #f0f3ec;
  --installer-paper: #fcfdf9;
  --installer-strip: #e1eadc;
  --installer-ink: #17251d;
  --installer-muted: #455b4c;
  --installer-accent: #416d2a;
  --installer-border: #c8d6c5;
  --star-ink: #80500e;
  --rating-fill: #ecb441;
  --star-hover: #fff0cd;
  --header-height: 76px;
  --motion-press: 150ms;
  --motion-panel: 220ms;
  --motion-ease: cubic-bezier(.2,.72,.24,1);
  --motion-out: cubic-bezier(.46,0,.82,.38);
  --spring-panel: cubic-bezier(.19,1.25,.44,1);
  --spring-press: cubic-bezier(.22,1.15,.42,1);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
  line-height: 1.5;
  background: var(--page);
  color: var(--text);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #101913;
  --panel: #1a2820;
  --panel-raised: #22342a;
  --panel-active: #2c4234;
  --border: #405847;
  --input-border: #597961;
  --input-bg: #15221b;
  --text: #edf5eb;
  --muted: #b9cbbc;
  --accent: #bdea82;
  --accent-border: #7fa266;
  --danger: #ffaca1;
  --success: #bceca0;
  --chrome-border: #395343;
  --glass-solid: #1c2b22;
  --glass-fill: #1e2e25eb;
  --glass-rim: #b2d8a450;
  --glass-sheen: linear-gradient(150deg, #e6ffd81b, #d5f7dd03 43%, #acd97611);
  --glass-shadow: inset 0 1px 0 #efffe429, 0 10px 27px #060e088c;
  --content-shadow: 0 10px 30px #050c0755;
  --atmosphere-top: #29422b;
  --atmosphere-edge: #182e2b;
  --atmosphere-base: #282b1c;
  --feedback-fill: #15251c;
  --installer-base: #1c2b22;
  --installer-paper: #17251d;
  --installer-strip: #243a2d;
  --installer-ink: #e9f0e6;
  --installer-muted: #b5c7b6;
  --installer-accent: #c2ea8b;
  --installer-border: #48624d;
  --star-ink: #ffd078;
  --rating-fill: #ecac45;
  --star-hover: #49391d;
}
:is(.site-header, .hero, .install-section, .site-footer, .footer-cta, .quick-access) {
  color-scheme: dark;
  --text: #eef5ec;
  --muted: #c5d3c7;
  --accent: #bef27d;
  --accent-border: #86aa69;
  --border: #42594a;
  --input-border: #748e78;
  --input-bg: #17261d;
  --panel: #14231b;
  --panel-raised: #20342a;
  --panel-active: #2d4837;
  --glass-solid: #17241c;
  --glass-fill: #17281fe0;
  --glass-rim: #c9eca369;
  --glass-sheen: linear-gradient(153deg, #e6ffd322 0%, #fdfff807 34%, #d9f6c904 65%, #c3f28619 100%);
  --glass-shadow: inset 0 1px 0 #ecffcf25, 0 12px 28px #08181065;
  color: var(--text);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    /* Damped spring samples from the workshop's Motion package. */
    --spring-panel: linear(0, .282 8%, .715 16%, 1.012 25%, 1.09 35%, 1.051 45%, 1.006 56%, .992 68%, .996 80%, .999 90%, 1);
    --spring-press: linear(0, .291 8%, .708 16%, .977 25%, 1.053 35%, 1.034 45%, 1.007 56%, .998 68%, .998 80%, .999 90%, 1);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + var(--admin-bar-offset, 0px) + 24px); }
body { margin: 0; min-width: 0; isolation: isolate; background: radial-gradient(ellipse at 94% 7%, var(--atmosphere-top), transparent 51%), radial-gradient(ellipse at 0% 63%, var(--atmosphere-edge), transparent 48%), radial-gradient(ellipse at 77% 103%, var(--atmosphere-base), transparent 47%), var(--page); background-attachment: fixed; }
body > main { min-height: 55vh; }
.article-page {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
  min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
}
.article-page > main { flex: 1 0 auto; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol, dl { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.032em; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.shell { width: min(100% - 40px, 1240px); margin-inline: auto; min-width: 0; }
.icon { display: block; flex: 0 0 auto; width: 20px; height: 20px; }
.icon-shared { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; left: 12px; top: 12px; transform: translateY(-160%); padding: 12px 17px; color: var(--accent-text); background: var(--action); border-radius: 8px; }
.skip-link:focus { transform: none; }
.brand { display: inline-flex; width: max-content; max-width: 100%; align-items: center; gap: 12px; }
.brand-mark { position: relative; display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 43px; border: 1px solid var(--glass-rim); border-radius: 9px; background: linear-gradient(145deg, #304334, #18251e); box-shadow: inset 0 1px 0 #f1ffd238; color: #f5faee; font-size: 15px; font-weight: 840; letter-spacing: -.05em; line-height: 1; }
.brand-mark::before { content: ""; position: absolute; inset: 5px; border: 1px solid #c6fa75a6; clip-path: polygon(0 0,100% 0,100% 42%,95% 42%,95% 5%,5% 5%,5% 95%,42% 95%,42% 100%,0 100%); }
.brand-mark > b { position: absolute; right: 4px; bottom: 4px; color: #b9ef47; letter-spacing: normal; font-size: 8px; }
.brand strong { display: block; text-transform: uppercase; font-weight: 800; letter-spacing: .035em; font-size: 17px; line-height: 1.16; }
.brand strong span { color: var(--accent); }
.brand small { display: block; color: var(--muted); font-size: 9px; margin-top: 4px; letter-spacing: .14em; text-transform: uppercase; }
.icon-button { display: inline-grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 10px; background: var(--panel-raised); color: var(--text); }
.icon-button:hover { background: var(--panel-active); border-color: var(--accent-border); }
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: clamp(24px, 3vw, 36px);
  background: linear-gradient(151deg, #19271f, #111a15);
}
.footer-content { display: grid; gap: 16px; overflow-wrap: anywhere; }
.footer-title { font-size: 17px; line-height: 1.3; letter-spacing: 0; }
.footer-project { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.footer-project, .footer-description { color: var(--muted); font-size: 14px; line-height: 1.55; }
.footer-project strong { color: var(--accent); }
.footer-project + :is(.footer-title, .footer-description) { margin-top: 10px; }
.footer-title + .footer-description { margin-top: 6px; }
.footer-about + .footer-distributions { border-top: 1px solid var(--border); padding-top: 14px; }
.footer-description { max-width: 76ch; white-space: pre-line; }

.hero {
  padding: 30px 0 38px;
  color: var(--text);
}
.hero-layout {
  --hero-inset: 38px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 570px;
  padding: 62px var(--hero-inset) 86px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--glass-solid);
  box-shadow: 0 30px 70px #172d2340;
}
.hero-content { position: relative; z-index: 1; align-self: start; width: min(100%, 940px); }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); text-transform: uppercase; letter-spacing: .135em; font-weight: 750; font-size: 12px; }
.accent-dot { width: 8px; height: 8px; flex: 0 0 8px; align-self: center; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }
.hero h1 { font-size: clamp(30px, 3vw, 46px); font-weight: 800; line-height: 1.12; letter-spacing: -.037em; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--accent); white-space: nowrap; }
.hero-lead { max-width: 52ch; font-size: 15px; color: var(--muted); }
.btn { display: inline-flex; width: max-content; max-width: 100%; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 11px 16px; border-radius: 10px; border: 1px solid transparent; font-size: 14px; font-weight: 750; text-align: center; transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(151deg, #eaffb966, transparent 61%), var(--action); border-color: #add85d; color: var(--accent-text); box-shadow: inset 0 1px 0 #f7ffd682, 0 5px 14px #3b640b25; }
.btn-primary:is(:hover, :focus-visible) { background-color: var(--action-hover); box-shadow: inset 0 1px 0 #f7ffd6aa, 0 8px 22px #9dde3d45; }
.btn-quiet { background: var(--panel-raised); color: var(--text); border-color: var(--border); }
.btn-quiet:hover { background: var(--panel-active); border-color: var(--accent-border); }
.spotlight, .spotlight-image { position: absolute; inset: 0; }
.spotlight-image { isolation: isolate; }
.spotlight-image::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}
.spotlight-image picture, .spotlight-image img { display: block; width: 100%; height: 100%; }
.spotlight-image img { object-fit: cover; }
.spotlight-image picture.is-staged { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.spotlight-image picture.is-entering { animation: picture-in .28s ease both; }
@keyframes picture-in { from { opacity: .7; } to { opacity: 1; } }
.spotlight-bar {
  position: absolute;
  right: var(--hero-inset);
  bottom: 22px;
  display: flex;
  max-width: calc(100% - 2 * var(--hero-inset));
  align-items: center;
  justify-content: space-between;
  gap: 9px 16px;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--glass-sheen), var(--glass-fill);
}
.spotlight-copy strong { display: block; color: var(--text); font-size: 15px; font-weight: 700; }
.spotlight-copy small { display: block; color: var(--muted); font-size: 12px; }
.spotlight-controls { display: flex; align-items: center; gap: 5px; flex: 0 0 auto; }
.carousel-step, .carousel-pause { width: 39px; height: 39px; }
.carousel-pause { margin-left: 4px; }
.carousel-pause .icon { width: 18px; height: 18px; }
.carousel-pause .play-icon, .carousel-pause.is-paused .pause-icon { display: none; }
.carousel-pause.is-paused .play-icon { display: block; }
.spotlight-dots { display: flex; align-items: center; }
.spotlight-dots button { width: 25px; height: 39px; border: 0; padding: 0; background: transparent; display: grid; place-items: center; border-radius: 7px; }
.spotlight-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 10px; background: var(--accent-border); transition: width .18s ease, background-color .18s ease; }
.spotlight-dots button[aria-pressed="true"]::before { width: 17px; background: var(--accent); }
.hero-downloads {
  display: grid;
  gap: 11px;
  width: min(100%, 750px);
  margin-top: 18px;
}
.hero-download-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; }
.hero-download-heading label { font-size: 13px; font-weight: 700; }
.hero-download-heading select { width: min(100%, 232px); }
.hero-downloads .method { min-height: 61px; font-size: 15px; }
.hero-downloads .method .icon { width: 23px; height: 23px; }
.section-icon { flex: 0 0 auto; display: inline-grid; place-items: center; width: 37px; height: 37px; border: 1px solid var(--border); background: var(--panel-active); color: var(--accent); border-radius: 10px; }
.section-icon .icon { width: 18px; height: 18px; }
select, input:not([type="radio"]), textarea { width: 100%; min-height: 44px; border: 1px solid var(--input-border); border-radius: 9px; background: var(--input-bg); padding: 9px 11px; color: var(--text); }
select { min-width: 0; text-overflow: ellipsis; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
.download-block[data-method-count="1"] { --method-columns: 1; }
.download-block[data-method-count="2"] { --method-columns: 2; }
.download-methods { display: grid; grid-template-columns: repeat(var(--method-columns, 3), minmax(0, 1fr)); gap: 7px; }
.method {
  min-width: 0; min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 7px;
  padding: 8px 9px; border: 1px solid var(--method-edge); border-radius: 9px; text-align: left;
  font-weight: 720; font-size: 13px; line-height: 1.25; overflow-wrap: anywhere;
  color: var(--method-ink); background: var(--method-tone);
  transition: filter var(--motion-press) var(--motion-ease), box-shadow var(--motion-panel) var(--motion-ease), transform var(--motion-panel) var(--spring-press);
}
.method .icon { width: 19px; height: 19px; }
.method--direct {
  --method-ink: #102a4a; --method-tone: #90c8ff; --method-edge: #72adf0; --method-light: #8dc5ff;
}
.method--torrent {
  --method-ink: #0f3724; --method-tone: #79e4a3; --method-edge: #63c68b; --method-light: #81e8aa;
}
.method--yandex {
  --method-ink: #3e2910; --method-tone: #ffcf65; --method-edge: #e3af44; --method-light: #ffd07b;
}
.method-primary { box-shadow: inset 0 1px 1px #ffffffa6, inset 0 -1px 2px #132c2025; }
.method[href]:is(:hover, :focus-visible) { filter: brightness(1.08); box-shadow: 0 0 15px color-mix(in srgb, var(--method-light) 52%, transparent); }
.method[href]:active { transform: scale(.975); }
.method :is(.download-mark-drop, .download-mark-coil, .download-mark-cloud) {
  transform-box: fill-box; transform-origin: center;
  transition: transform var(--motion-panel) var(--spring-press);
}
.method--direct[href]:is(:hover, :focus-visible, :active) .download-mark-drop { transform: translateY(1.8px); }
.method--torrent[href]:is(:hover, :focus-visible, :active) .download-mark-coil { transform: translateY(-1px) rotate(-9deg); }
.method--yandex[href]:is(:hover, :focus-visible, :active) .download-mark-cloud { transform: scale(.91) translateY(-1px); }
.method--yandex[href]:is(:hover, :focus-visible, :active) .download-mark-drop { transform: translateY(1.35px); }
.download-unavailable {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; min-height: 35px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--panel-raised);
  color: var(--muted); font-size: 12px; line-height: 1.35;
}
.download-unavailable .icon { width: 16px; height: 16px; }

@media (max-width: 720px) {
  :root { --header-height: 70px; }
  .shell { width: calc(100% - 24px); }
  .brand-mark { width: 36px; height: 36px; flex-basis: 36px; font-size: 13px; }
  .brand strong { font-size: 14px; }
  .hero { padding: 12px 0 28px; }
  .hero-layout {
    --hero-inset: 16px;
    min-height: 600px;
    padding-block: 47px 86px;
    border-radius: 15px;
  }
  .hero h1 { margin-bottom: 11px; font-size: clamp(25px, 6.4vw, 38px); }
  .hero-content { align-self: stretch; display: flex; flex-direction: column; gap: 72px; }
  .hero-lead { font-size: 14px; }
  .spotlight-bar { left: var(--hero-inset); bottom: 14px; gap: 6px; padding-inline: 9px; width: min(100%, 610px); }
  .spotlight-copy { min-width: 0; }
  .spotlight-copy strong { font-size: 13px; line-height: 1.28; }
  .spotlight-copy small { font-size: 11px; }
  .spotlight-controls { gap: 2px; }
  .carousel-step, .carousel-pause { width: 34px; height: 36px; border-radius: 8px; }
  .carousel-pause { margin-left: 2px; }
  .spotlight-dots button { width: 25px; height: 36px; }
  .spotlight-dots button[aria-pressed="true"]::before { width: 12px; }
  .hero-downloads { margin-top: auto; gap: 9px; }
  .hero-download-heading { justify-content: space-between; }
  .hero-downloads select { font-size: 14px; padding-left: 8px; }
  .hero-downloads .method { min-height: 59px; flex-direction: column; gap: 4px; text-align: center; font-size: 12px; }
  .hero-downloads .method .icon { width: 18px; height: 18px; }
  .method { font-size: 12px; }
}
@media (max-width: 390px) {
  .spotlight-controls .carousel-step .icon { width: 15px; height: 15px; }
  .hero-downloads .method { padding-inline: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
/* Catalog and help */
.content-section { padding-block: 52px; }
.catalog-section { padding-block: 58px 34px; }
.section-heading { display: grid; gap: 9px; margin-bottom: 25px; }
.section-heading::before { content: ""; width: 38px; height: 3px; border-radius: 2px; background: var(--accent); opacity: .75; }
.section-heading h2 { font-size: clamp(28px, 3.8vw, 48px); font-weight: 790; letter-spacing: -.044em; }
.section-heading > p:not(.eyebrow) { color: var(--muted); max-width: 68ch; }
.surface { min-width: 0; background: var(--glass-sheen), var(--panel); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--content-shadow); }
.catalog-toolbar {
  position: sticky; top: calc(var(--header-height) + var(--admin-bar-offset, 0px) + 8px); z-index: 5;
  display: flex; justify-content: space-between; align-items: start; gap: 14px 20px;
  max-height: 44dvh; overflow: auto; margin-bottom: 22px; padding: 8px;
  background: var(--glass-sheen), var(--panel); border: 1px solid var(--glass-rim); border-radius: var(--radius); box-shadow: var(--glass-shadow);
}
.filter-bar { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-bar button, .settings-topics button { display: inline-flex; align-items: center; gap: 8px; min-height: 41px; padding: 7px 12px; background: var(--panel); color: var(--muted); border: 1px solid var(--border); border-radius: 9px; text-align: left; font-weight: 650; font-size: 14px; }
.filter-bar button:hover, .settings-topics button:hover { border-color: var(--accent-border); color: var(--text); }
.filter-bar button[aria-pressed="true"], .settings-topics button[aria-pressed="true"] { color: var(--text); background: var(--panel-active); border-color: var(--accent-border); }
.filter-bar button { max-width: 100%; gap: 6px; padding: 7px 9px; }
.filter-bar .filter-label { min-width: 0; overflow-wrap: anywhere; }
.filter-bar .filter-count { color: var(--accent); font-size: 12px; font-variant-numeric: tabular-nums; }
.filter-mark {
  display: grid;
  flex: 0 0 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 15%, var(--panel));
}
.filter-bar [aria-pressed="true"] .filter-mark { background: var(--accent); color: var(--panel); }
.filter-bar .filter-icon {
  width: 17px;
  height: 17px;
  transition: transform 300ms var(--spring-press);
}
.filter-bar [data-category-filter="all"] { --filter-motion: translateY(-1px) rotate(-9deg) scale(1.09); }
.filter-bar [data-category-filter="new"] { --filter-motion: translateY(-2px) rotate(-12deg) scale(1.09); }
.filter-bar [data-category-filter="popular"] { --filter-motion: translateY(-1px) scale(1.05, 1.2); }
.filter-bar [data-category-filter="creators"] { --filter-motion: translateX(1.5px) rotate(-7deg) scale(1.07); }
.filter-bar [data-category-filter="thematic"] { --filter-motion: rotate(15deg) scale(1.12); }
.filter-bar button:is(:focus-visible, :active) .filter-icon { transform: var(--filter-motion, scale(1.12)); }
@media (hover: hover) {
  .filter-bar button:hover .filter-icon { transform: var(--filter-motion, scale(1.12)); }
}
.catalog-search { display: flex; align-items: center; position: relative; min-width: min(100%, 190px); }
.catalog-search .icon { position: absolute; left: 11px; pointer-events: none; color: var(--muted); width: 18px; height: 18px; }
.catalog-search input:not([type="radio"]) { padding-left: 37px; background: var(--panel); }
.catalog-toolbar .catalog-search { width: min(100%, 320px); flex: 0 0 auto; }
.cards-grid { isolation: isolate; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.catalog-card { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-width: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--glass-sheen), var(--panel); box-shadow: var(--content-shadow); transition: border-color var(--motion-press) var(--motion-ease), box-shadow var(--motion-panel) var(--motion-ease), transform 340ms var(--spring-press); }
.catalog-card:is(:hover, :focus-within) { border-color: var(--accent-border); box-shadow: var(--content-shadow), 0 0 0 2px #9ddc6036; }
@media (hover: hover) and (pointer: fine) {
  .catalog-card:hover { z-index: 1; transform: translateY(-3px) scale(1.022); }
}
.card-visual { position: relative; aspect-ratio: 1.75; overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background: var(--panel-active); }
.card-visual picture { display: block; width: 100%; height: 100%; }
.card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 320ms var(--spring-press); }
.card-visual .card-preview-frame { position: absolute; inset: 0; }
.catalog-card:is(:hover, :focus-within) .card-visual img { transform: scale(1.038); }
.catalog-card[data-category="new"] { --badge-fill: #d8faab; --badge-ink: #253912; }
.catalog-card[data-category="popular"] { --badge-fill: #ffdc99; --badge-ink: #4e280d; }
.catalog-card[data-category="creators"] { --badge-fill: #e9d9ff; --badge-ink: #3d285c; }
.catalog-card[data-category="thematic"] { --badge-fill: #bff0e6; --badge-ink: #13453b; }
.card-category { position: absolute; left: 12px; top: 12px; z-index: 1; pointer-events: none; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 760; line-height: 1.25; background: var(--badge-fill, var(--glass-solid)); color: var(--badge-ink, var(--text)); }
.card-quick { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; min-height: 37px; padding: 5px 11px; color: var(--text); border: 1px solid var(--glass-rim); border-radius: 999px; background: var(--glass-sheen), var(--glass-fill); box-shadow: var(--glass-shadow); font-size: 12px; font-weight: 750; }
.card-quick:hover { background-color: var(--panel-active); }
.card-quick .icon { width: 16px; height: 16px; }
.card-preview-indicator { position: absolute; bottom: 0; left: 0; z-index: 1; width: var(--preview-width, 0); height: 3px; background: var(--accent); pointer-events: none; }
.card-body { display: flex; min-width: 0; flex-direction: column; gap: 8px; padding: 17px 16px 13px; }
.card-link { display: flex; justify-content: space-between; align-items: center; gap: 7px; }
.card-link::after { position: absolute; z-index: 2; inset: 0; border-radius: var(--radius); content: ""; }
.card-link:hover { color: var(--accent); }
.card-link .icon { width: 16px; height: 16px; color: var(--accent); }
.card-body h3 { font-size: 20px; }
.card-body p { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.card-meta { display: grid; gap: 2px; margin-top: auto; padding-top: 4px; }
.card-rating-row { display: flex; align-items: center; flex-wrap: wrap; column-gap: 7px; }
.card-rating-stars { display: flex; align-items: center; }
.card-rating-star {
  position: relative;
  z-index: 3;
  display: grid;
  width: 28px;
  height: 30px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--star-ink);
}
.card-rating-mark { position: relative; }
.card-rating-mark .icon { width: 17px; height: 17px; }
.card-rating-fill { position: absolute; inset: 0; fill: #f8cb58; clip-path: inset(0 calc(100% - var(--star-fill, 0%)) 0 0); }
.card-rating-row:has(.card-rating-summary[hidden]) .card-rating-star { color: var(--muted); }
.card-rating-star:is(:hover, :focus-visible) { background: var(--star-hover); color: var(--star-ink); }
.card-rating-star[aria-disabled="true"] { cursor: wait; }
.card-rating-stars:has(.card-rating-star:is(:hover, :focus-visible)) .card-rating-fill { clip-path: none; }
.card-rating-stars .card-rating-star:is(:hover, :focus-visible) ~ .card-rating-star .card-rating-fill { clip-path: inset(0 100% 0 0); }
.card-rating-summary { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.card-body .card-rating-feedback { margin-block: 1px 3px; font-size: 12px; }
.card-rating-feedback:empty { margin: 0; }
.card-body .card-rating-feedback[data-kind="error"] { color: var(--danger); }
.card-body .card-rating-feedback[data-kind="success"] { color: var(--success); }
@media (pointer: coarse) {
  .card-rating-star { width: 34px; height: 34px; }
}
.card-vote-count, .download-count { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.card-vote-count b { color: var(--text); font-variant-numeric: tabular-nums; }
.download-count .icon { width: 15px; height: 15px; color: var(--accent); }
.download-count b { padding-left: 2px; color: var(--text); font-variant-numeric: tabular-nums; }
.card-download-row { position: relative; z-index: 3; padding: 10px 9px; border-top: 1px solid var(--border); }
.card-download-row:has([data-method-count="0"]) { pointer-events: none; }
.download-methods--dock { gap: 5px; }
.download-methods--dock .method { font-size: 11px; padding-inline: 4px; gap: 4px; }
.download-methods--dock .method .icon { width: 17px; height: 17px; }
.catalog-related, .article-more { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.catalog-related a, .text-link, .dialog-links a, .article-more a { display: inline-flex; width: max-content; max-width: 100%; gap: 6px; align-items: center; color: var(--accent); font-size: 14px; font-weight: 650; }
.catalog-related a:hover, .text-link:hover, .dialog-links a:hover, .article-more a:hover { text-decoration: underline; }
.catalog-related .icon, .text-link .icon, .dialog-links .icon { width: 16px; height: 16px; }
.empty-state { padding: 28px; margin-bottom: 14px; border: 1px dashed var(--accent-border); border-radius: 13px; background: var(--panel); }
.empty-state p { margin-block: 7px 14px; color: var(--muted); }
.game-overview { padding: 25px 0 18px; }
.game-specs { padding-bottom: 58px; }
.overview-panel { padding: 28px 26px; }
.overview-panel h2 { font-size: clamp(23px, 2.5vw, 32px); }
.overview-panel .eyebrow + h2 { margin-top: 8px; }
.overview-panel > p:not(.eyebrow) { margin-top: 10px; color: var(--muted); }
.overview-panel .specs-note { font-size: 13px; }
.specs-row { margin-top: 17px; }
.specs-row h3 { margin-bottom: 9px; font-size: 15px; }
.specs-row dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.specs-row dl > div { display: grid; grid-template: "icon title" auto "icon value" 1fr / 19px minmax(0, 1fr); gap: 3px 8px; padding: 11px; border: 1px solid var(--border); border-radius: 9px; }
.specs-row .icon { grid-area: icon; width: 17px; height: 17px; color: var(--accent); }
.specs-row dt { grid-area: title; color: var(--muted); font-size: 12px; font-weight: 650; }
.specs-row dd { grid-area: value; margin: 0; font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.versions-section { padding-block: 14px 36px; }
.versions-table { overflow: hidden; }
.versions-table table { width: 100%; border-collapse: collapse; text-align: left; color: var(--text); }
.versions-table th, .versions-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }
.versions-table thead { background: var(--panel-active); color: var(--text); }
.versions-table td { color: var(--muted); }
.versions-table tbody tr:nth-child(even) { background: var(--panel-raised); }
.versions-table tbody tr:last-child > * { border-bottom: 0; }
.versions-table a { display: inline-block; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.versions-table a:hover { color: var(--text); }
.install-section { padding-block: 80px; border-block: 1px solid var(--chrome-border); }
.install-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.install-demo { flex: 0 0 auto; margin-bottom: 25px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 6px; color: var(--muted); font: 700 11px ui-monospace, monospace; }
.install-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 18px; align-items: start; }
.feedback-section { --field-section-fill: var(--feedback-fill); border-block: 1px solid var(--border); background: var(--field-section-fill); }
.step-list { position: relative; display: grid; gap: 6px; padding: 0; list-style: none; }
.step-list button { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; width: 100%; align-items: center; gap: 9px; min-height: 58px; padding: 9px 12px; text-align: left; border: 1px solid var(--border); border-radius: 10px; background: #14251b96; color: var(--muted); transition: background-color .18s ease, border-color .18s ease; }
.step-list button:hover { border-color: var(--accent-border); }
.step-list button[aria-current="step"] { border-color: var(--accent-border); background: var(--glass-sheen), var(--panel-active); color: var(--text); box-shadow: inset 3px 0 0 var(--action), 0 0 17px #b7ec4b1a; }
.step-list button > span:nth-child(2) > * { display: block; }
.step-list button strong { font-size: 14px; }
.step-list button small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.step-list button .icon { width: 17px; height: 17px; color: var(--accent); }
.step-number { color: var(--accent); font: 800 12px ui-monospace, monospace; }
.installer-window {
  --text: var(--installer-ink);
  --muted: var(--installer-muted);
  --accent: var(--installer-accent);
  --border: var(--installer-border);
  --panel-raised: var(--installer-strip);
  --panel-active: var(--installer-strip);
  --input-bg: var(--installer-paper);
  color-scheme: light;
  color: var(--text);
  background: var(--installer-base);
  border: 1px solid #9ed39d4d;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}
:root[data-theme="dark"] .installer-window { color-scheme: dark; }
.installer-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 43px; padding: 8px 14px; background: #25352d; color: #edf5e9; }
.installer-bar strong { font: 700 11px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .055em; }
.installer-dots { display: flex; flex: 0 0 auto; gap: 5px; }
.installer-dots i { width: 7px; height: 7px; border-radius: 50%; background: #eb8e71; }
.installer-dots i:nth-child(2) { background: #ebc063; }
.installer-dots i:nth-child(3) { background: #b6e950; }
.installer-glyphs { flex: 0 0 auto; color: #cedbd1; font: 600 11px ui-monospace, monospace; }
.installer-content { display: grid; grid-template-columns: 145px minmax(0, 1fr); min-height: 375px; }
.installer-rail { display: flex; flex-direction: column; padding: 24px; background: linear-gradient(150deg, #24362c, #19251e); color: #d0ded2; }
.installer-rail > strong { color: var(--action); font-size: 32px; font-weight: 900; line-height: 1; }
.installer-rail small { padding-left: 2px; font-size: 11px; }
.installer-rail > span { margin-top: 10px; text-transform: uppercase; font: 700 11px/1.4 ui-monospace, monospace; }
.installer-rail > b { margin-top: auto; font: 800 13px ui-monospace, monospace; }
.installer-main { padding: 27px 30px 23px; min-width: 0; }
.installer-main h3, .settings-readout h3 { font-size: clamp(22px, 2.8vw, 32px); }
.installer-main h3 { margin-top: 5px; }
.installer-main [data-install-text], .settings-readout article p { margin-top: 8px; color: var(--muted); max-width: 58ch; }
.installer-main [data-install-text] { font-size: 14px; }
.installer-mock { min-height: 130px; margin-top: 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--installer-paper); }
.setup-scene { display: grid; align-content: center; gap: 6px; min-height: 128px; padding: 12px 14px; font-size: 13px; animation: installer-in 260ms var(--spring-press) both; }
@keyframes installer-in { from { opacity: .5; transform: translateX(5px); } to { opacity: 1; transform: none; } }
.setup-scene p { margin-top: 3px; color: var(--muted); font-size: 12px; }
.setup-scene--illustrated { grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 14px; }
.setup-figure { display: grid; place-items: center; min-height: 96px; border-radius: 10px; color: var(--action); background: linear-gradient(145deg, #1a2b22, #324d3d); box-shadow: inset 0 1px 0 #ecffe01c; }
.setup-figure .icon { width: 35px; height: 35px; }
.setup-scene--components ul { display: flex; flex-wrap: wrap; gap: 5px; padding: 0; list-style: none; }
.setup-scene--components li { display: inline-flex; align-items: center; gap: 4px; padding: 5px 7px; border: 1px solid var(--border); border-radius: 5px; background: var(--panel-raised); font-size: 11px; }
.setup-scene--components .icon { color: var(--accent); width: 14px; height: 14px; }
.setup-scene--folder { padding-block: 6px; }
.setup-copy-meter, .installer-progress { height: 8px; border: 0; border-radius: 8px; background: var(--border); overflow: hidden; }
.setup-copy-meter::before { content: ""; display: block; width: 67%; height: 100%; background: var(--accent); }
.installer-footer { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-top: 1px solid var(--border); background: var(--panel-raised); }
.installer-progress { flex: 1 1 auto; width: 100%; appearance: none; }
.installer-progress::-webkit-progress-bar { background: var(--border); }
.installer-progress::-webkit-progress-value { background: var(--accent); }
.installer-progress::-moz-progress-bar { background: var(--accent); }
.step-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 7px; }
.step-actions .btn { min-height: 40px; }
.settings-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 16px; align-items: start; }
.settings-readout { min-height: 235px; padding: 26px 27px; }
.step-actions button:disabled, .form-actions button:disabled, [data-rating-form] button:disabled, .carousel-pause:disabled { opacity: .65; }
.path-check { width: min(100%, 385px); }
.path-check label { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; margin-bottom: 4px; font-size: 13px; line-height: 1.25; }
.path-check label span { color: var(--muted); font-size: 12px; }
.path-check small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; min-height: 2.6em; margin-top: 4px; }
.settings-picker { min-width: 0; display: grid; gap: 9px; }
.settings-topics { display: grid; gap: 5px; padding: 6px; border: 1px solid var(--border); border-radius: 11px; background: var(--panel); }
.settings-topics button { border-color: transparent; }
.settings-topics .icon { color: var(--accent); width: 16px; height: 16px; }
.settings-empty { color: var(--muted); }
.settings-section { padding-bottom: 20px; }
.guide-section { padding-block: 38px 52px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.guide-card { display: grid; grid-template-columns: 37px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 17px 16px; transition: border-color .16s ease; }
.guide-card:hover { border-color: var(--accent-border); }
.guide-card h3 { font-size: clamp(16px, 2vw, 20px); }
.guide-card p { color: var(--muted); font-size: 13px; margin-top: 6px; }
.guide-arrow { color: var(--accent); width: 18px; height: 18px; }

/* Dialogs and build pages */
.site-dialog { position: fixed; width: min(100% - 30px, 580px); max-width: none; max-height: calc(100dvh - 34px); padding: 0; border: 1px solid var(--accent-border); border-radius: 20px; background: var(--glass-sheen), var(--glass-solid); color: var(--text); overflow: auto; box-shadow: 0 24px 75px #0a191388; }
.site-dialog::backdrop { background: #101d16ad; }
.dialog-inner { position: relative; padding: 24px; }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 1; }
.action-dialog h2 { margin-block: 12px 8px; font-size: 27px; }
.action-dialog p, .quick-head > p:last-child { color: var(--muted); overflow-wrap: anywhere; }
.dialog-links { display: flex; flex-wrap: wrap; gap: 9px 17px; padding-top: 17px; }
.quick-dialog { width: min(100% - 32px, 780px); }
.quick-head { margin: 0 48px 13px 0; }
.quick-head h2 { font-size: clamp(24px, 4vw, 33px); margin-block: 5px 6px; }
.quick-footer { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; margin-top: 13px; }
.quick-footer .download-methods { margin-top: 7px; }
.build-main, .article-main { padding-block: 28px 58px; }
.breadcrumbs ol { display: flex; gap: 5px 9px; flex-wrap: wrap; list-style: none; padding: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.breadcrumbs li { display: flex; align-items: center; gap: 9px; overflow-wrap: anywhere; }
.breadcrumbs li:not(:last-child)::after { content: "›"; color: var(--muted); }
.breadcrumbs li[aria-current] { color: var(--text); }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.return-link { display: inline-flex; width: max-content; max-width: 100%; align-items: center; gap: 5px; color: var(--accent); font-size: 13px; font-weight: 650; margin-block: 14px 19px; }
.return-link .icon { width: 15px; height: 15px; }
.return-link:hover { text-decoration: underline; }
.build-layout { display: grid; gap: 17px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "intro intro" "frames download" "frames rating" "specs reports" "comments comments" "guides guides"; }
.build-intro { grid-area: intro; padding-bottom: 7px; }
.build-intro h1, .article-card h1 { margin-block: 6px 10px; font-size: clamp(32px, 5vw, 58px); overflow-wrap: anywhere; }
.build-lead, .article-lead { color: var(--muted); font-size: clamp(16px, 2.3vw, 20px); }
.build-preview-note { color: var(--muted); margin-top: 7px; font-size: 13px; }
.build-frames { grid-area: frames; min-width: 0; }
.build-download-panel { grid-area: download; }
.build-specs { grid-area: specs; }
.build-layout .rating-panel { grid-area: rating; }
.checks-panel { grid-area: reports; }
.build-layout .comments-panel { grid-area: comments; }
.related { grid-area: guides; padding-top: 13px; }
.related .section-heading { margin-bottom: 13px; }
.related .section-heading h2 { font-size: 27px; }
.media-gallery { min-width: 0; padding: 10px; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; }
.gallery-image { position: relative; min-width: 0; aspect-ratio: 1.606; background: var(--chrome); border-radius: 8px; }
.gallery-picture { display: block; width: 100%; height: 100%; }
.gallery-image img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.gallery-prev, .gallery-next { position: absolute; top: calc(50% - 21px); border: 1px solid var(--glass-rim); border-radius: 50%; background: var(--glass-sheen), var(--glass-fill); color: var(--text); box-shadow: var(--glass-shadow); }
.gallery-prev:hover, .gallery-next:hover { background-color: var(--panel-active); }
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.gallery-position { position: absolute; top: 8px; right: 8px; padding: 4px 8px; border-radius: 999px; background: var(--glass-sheen), var(--glass-fill); color: var(--text); font-size: 12px; font-variant-numeric: tabular-nums; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(47px, 1fr)); gap: 6px; margin-top: 8px; }
.gallery-thumb { width: 100%; min-width: 0; padding: 2px; border: 2px solid transparent; border-radius: 8px; background: var(--panel-raised); }
.gallery-thumb[aria-pressed="true"] { border-color: var(--accent); background: var(--panel-active); }
.gallery-thumb img, .gallery-thumb-placeholder { width: 100%; aspect-ratio: 1.6; height: auto; object-fit: cover; border-radius: 4px; }
.gallery-thumb-placeholder { display: grid; place-items: center; color: var(--muted); font-weight: 700; }
.gallery-note { color: var(--muted); font-size: 12px; margin: 7px 2px 0; }
.build-download-panel, .build-specs, .checks-panel, .rating-panel, .comments-panel { padding: 18px 19px; }
.mini-head { display: flex; align-items: start; gap: 10px; margin-bottom: 13px; }
.mini-head h2 { font-size: clamp(20px, 2.5vw, 26px); margin-top: 1px; }
.mini-head p { margin-top: 5px; color: var(--muted); font-size: 13px; }
.build-download-panel .download-count { margin-block: 11px 7px; }
.build-download-panel .text-link { display: flex; padding-block: 4px; }
.build-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px 15px; }
.build-facts > div { border-top: 1px solid var(--border); padding-block: 10px; min-width: 0; }
.build-facts dt { color: var(--muted); font-size: 12px; }
.build-facts dd { margin: 3px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; list-style: none; padding: 0; }
.report-grid li { min-width: 0; display: flex; align-items: flex-start; gap: 8px; padding: 9px 8px; border: 1px solid var(--border); border-radius: 9px; background: var(--panel-raised); }
.report-mark { display: grid; flex: 0 0 auto; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--panel); }
.report-mark svg { display: block; width: 20px; height: 20px; }
.report-grid strong, .report-grid small { display: block; overflow-wrap: anywhere; }
.report-grid strong { font-size: 13px; }
.report-grid small { color: var(--muted); font-size: 11px; }
.report-grid a { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: 12px; text-decoration: underline; }
.report-grid a .icon { width: 13px; height: 13px; }

/* Feedback */
.site-community { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 17px; align-items: start; }
.rating-set { margin: 0; padding: 0; border: 0; }
.rating-set legend { margin-bottom: 5px; font-size: 13px; color: var(--muted); }
.rating-options { display: inline-grid; max-width: 100%; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; }
.rating-choice { position: relative; min-width: 0; cursor: pointer; }
.rating-choice input { position: absolute; width: 1px; height: 1px; left: 0; opacity: 0; }
.rating-choice > span { --choice-ink: var(--muted); --choice-fill: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; }
.rating-choice .icon { width: 25px; height: 25px; color: var(--choice-ink); fill: var(--choice-fill); transition: color .15s ease, fill .15s ease; }
.rating-choice input:checked + span,
.rating-choice:has(~ .rating-choice input:checked) > span { --choice-ink: var(--star-ink); --choice-fill: var(--rating-fill); }
.rating-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.rating-choice:has(input:disabled) { cursor: default; }
@media (hover: hover) {
  .rating-choice:hover:has(input:enabled) > span { background: var(--star-hover); }
  .rating-options:has(.rating-choice:hover):not(:has(input:disabled, input:focus-visible)) .rating-choice > span { --choice-ink: var(--muted); --choice-fill: none; }
  .rating-options:has(.rating-choice:hover):not(:has(input:disabled, input:focus-visible)) :is(.rating-choice:hover, .rating-choice:has(~ .rating-choice:hover)) > span { --choice-ink: var(--star-ink); --choice-fill: var(--rating-fill); }
}
[data-rating-form] .btn { margin-top: 8px; }
.comments-state { color: var(--muted); font-size: 14px; margin-block: 7px 11px; }
.comment-list { list-style: none; display: grid; padding: 0; gap: 8px; margin-bottom: 14px; }
.comment-list li { color: var(--text); background: var(--panel-raised); border-radius: 9px; padding: 9px 11px; overflow-wrap: anywhere; }
.comment-list p { margin-top: 4px; color: var(--muted); white-space: pre-wrap; }
.comment-byline, .review-attached { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 11px; }
.comment-score {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 7px;
  background: var(--star-hover); color: var(--star-ink); font-size: 12px; font-weight: 750;
}
.comment-score .icon { width: 14px; height: 14px; fill: var(--rating-fill); }
.review-attached { margin-top: 10px; }
.review-attached .btn { min-height: 38px; padding: 4px 9px; font-size: 12px; }
.review-prompt {
  display: grid; gap: 8px; width: min(100%, 355px); margin-top: 9px; padding: 9px 10px;
  border: 1px solid var(--border); border-inline-start: 3px solid var(--accent-border);
  border-radius: 9px; background: var(--panel-raised); font-size: 13px;
}
.review-prompt .rating-set legend { margin-bottom: 2px; color: var(--text); font-weight: 700; }
.review-prompt .rating-choice > span { height: 40px; }
.review-prompt-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.review-prompt-actions .btn { margin: 0; min-height: 39px; padding: 5px 9px; font-size: 12px; }
[data-rating-form] .review-prompt-actions .btn { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .review-prompt { animation: review-prompt-in 170ms var(--motion-ease) both; }
  @keyframes review-prompt-in { from { opacity: 0; transform: translateY(3px); } }
}
.comment-fields { display: grid; gap: 9px; max-width: 670px; }
.comment-fields label { display: block; font-size: 14px; margin-bottom: 4px; font-weight: 650; }
.comment-fields input { max-width: 340px; }
.comment-fields textarea { display: block; resize: vertical; min-height: 84px; }
.comment-fields small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.comment-fields .field-error:not(:empty), .form-status[data-kind="error"] { color: var(--danger); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 11px; }
.form-status { font-size: 13px; margin-top: 5px; color: var(--muted); overflow-wrap: anywhere; }
.form-actions .form-status { flex: 1 1 205px; margin-top: 0; }
.form-status:empty, .comment-fields small.field-error:empty { display: none; }
.form-status[data-kind="success"] { color: var(--success); }

/* General content pages */
.article-card { width: min(100%, 850px); margin: 24px auto 0; padding: clamp(20px, 5vw, 53px); }
.article-card > .eyebrow { margin-top: 14px; }
.article-card h1 { font-size: clamp(31px, 5.2vw, 52px); }
.article-block { margin-top: 23px; }
.article-block h2 { font-size: clamp(20px, 3vw, 25px); }
.article-block p { color: var(--muted); max-width: 66ch; margin-top: 7px; }
.article-cover { margin-top: 18px; }
.article-cover img { width: 100%; height: auto; border-radius: 10px; }
.article-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.article-more { width: min(100%, 850px); margin-inline: auto; }
.faq-list { display: grid; gap: 7px; margin-top: 20px; }
.faq-list details { border: 1px solid var(--border); border-radius: 9px; background: var(--panel-raised); }
.faq-list summary { cursor: pointer; padding: 11px 12px; font-weight: 650; }
.faq-list summary::marker { color: var(--accent); }
.faq-list details p { padding: 0 13px 12px; color: var(--muted); max-width: 68ch; }

@media (max-width: 1160px) {
  .cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .catalog-toolbar { flex-direction: column-reverse; gap: 9px; }
  .catalog-toolbar .catalog-search { width: min(100%, 320px); }
  .build-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); gap: 12px; }
  .download-methods--detail { grid-template-columns: minmax(0, 1fr); }
  .download-methods--detail .method { justify-content: start; }
  .install-layout { grid-template-columns: min(33vw, 290px) minmax(0, 1fr); }
  .installer-content { grid-template-columns: 108px minmax(0, 1fr); }
  .installer-rail { padding-inline: 14px; }
  .installer-main { padding-inline: 19px; }
  .specs-row dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 810px) {
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .content-section { padding-block: 38px; }
  .versions-section { padding-block: 10px 29px; }
  .site-community { grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); gap: 10px; }
}
@media (max-width: 720px) {
  .section-heading { margin-bottom: 15px; }
  .section-heading > p:not(.eyebrow) { font-size: 14px; }
  .game-overview { padding-block: 13px 13px; }
  .game-specs { padding-bottom: 32px; }
  .overview-panel { padding: 18px 15px; }
  .specs-row dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .specs-row dl > div { padding: 8px 6px; gap: 3px 5px; }
  .settings-layout, .guide-grid, .site-community { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .settings-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .versions-table th, .versions-table td { padding: 9px 6px; font-size: 12px; }
  .install-heading { align-items: start; }
  .install-layout, .installer-content { grid-template-columns: minmax(0, 1fr); }
  .install-layout { gap: 12px; }
  .step-list { display: flex; overflow-x: auto; padding: 5px 5px 9px; }
  .step-list > li { flex: 0 0 214px; }
  .installer-content { min-height: 305px; }
  .installer-rail { display: none; }
  .installer-main { padding: 16px 13px; }
  .installer-bar { padding-inline: 9px; gap: 8px; }
  .installer-bar strong { font-size: 10px; }
  .installer-footer { padding: 8px 10px; gap: 7px; }
  .step-actions .btn { padding-inline: 9px; }
  .settings-readout { padding: 15px; }
  .build-main, .article-main { padding-block: 18px 35px; }
  .build-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "frames" "download" "rating" "specs" "reports" "comments" "guides"; }
  .download-methods--detail { grid-template-columns: repeat(var(--method-columns, 3), minmax(0, 1fr)); }
  .download-methods--detail .method { justify-content: center; }
  .site-dialog { max-height: calc(100dvh - 24px); }
  .dialog-inner { padding: 14px; }
  .dialog-close { right: 9px; top: 9px; }
  .quick-footer { grid-template-columns: minmax(0, 1fr); }
  .build-download-panel, .build-specs, .checks-panel, .rating-panel, .comments-panel { padding: 13px; }
}
@media (max-width: 520px) {
  .cards-grid { grid-template-columns: minmax(0, 1fr); }
  .card-visual { aspect-ratio: 1.83; }
  .filter-bar button { font-size: 13px; padding-inline: 8px; min-height: 40px; }
  .gallery-thumbs { gap: 4px; }
  .gallery-thumb { padding: 1px; }
}
@media (max-width: 340px) {
  .installer-content { min-height: 320px; }
}
/* Floating shortcuts */
.quick-access {
  position: fixed;
  z-index: 7;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(25px, env(safe-area-inset-bottom));
}
.quick-access-trigger {
  position: relative;
  -webkit-tap-highlight-color: transparent;
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--glass-rim);
  border-radius: 17px;
  background: radial-gradient(ellipse at 35% -15%, #cf9a6038, transparent 72%), var(--glass-solid);
  color: var(--accent);
  box-shadow: inset 0 1px 1px #ffd8a940, 0 6px 20px #09171170, 0 0 12px #c9986330;
  transition: background-color var(--motion-press) var(--motion-ease), box-shadow var(--motion-panel) var(--motion-ease),
    transform var(--motion-panel) var(--spring-press);
}
.quick-access-trigger .icon { width: 23px; height: 23px; transition: transform 280ms var(--spring-panel); }
.quick-scroll-ring {
  position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px);
  pointer-events: none; overflow: visible; stroke-width: 1.7;
}
.quick-scroll-track { stroke: #8d6c4f59; }
.quick-scroll-fill {
  stroke: #ffce8a; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--quick-scroll-offset, 100);
  filter: drop-shadow(0 0 2px #f4ac6199);
  transition: stroke-dashoffset 180ms ease-out;
}
@media (prefers-reduced-motion: reduce) { .quick-scroll-fill { transition: none; } }
.quick-access-trigger[aria-expanded="true"] .icon { transform: rotate(-8deg) scale(1.12); }
@media (hover: hover) {
  .quick-access-trigger:hover { transform: scale(1.07); }
  .quick-access-trigger:hover .icon { transform: rotate(-32deg) scale(1.12); }
}
.quick-access-trigger:is(:hover, :focus-visible, [aria-expanded="true"]) { background-color: var(--panel-active); box-shadow: inset 0 1px 1px #ffd8a959, 0 8px 20px #0917117d, 0 0 14px #d7a36a4a; }
.quick-access-trigger:active { transform: scale(.93); }
.quick-access-panel {
  position: absolute;
  width: min(234px, calc(100vw - 28px));
  inset-inline-end: 0;
  bottom: calc(100% + 9px);
  max-height: var(--dock-space, 74dvh);
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--glass-rim);
  border-radius: 20px 15px 15px 20px;
  color: var(--text);
  background: var(--glass-sheen), var(--glass-solid);
  box-shadow: var(--glass-shadow);
}
.quick-access-heading { display: flex; align-items: center; min-height: 33px; padding: 0 2px 5px 5px; gap: 8px; }
.quick-access-heading::before { content: ""; flex: 0 0 7px; height: 7px; border-radius: 50%; background: var(--action); box-shadow: 0 0 0 3px #bbef4528, 0 0 10px #bbef4588; }
.quick-access-heading strong { font-size: 15px; }
.quick-access-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
.quick-access-panel .quick-access-links { grid-template-columns: minmax(0, 1fr); }
.quick-access-links a {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 5px 7px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 660;
  font-size: 13px;
  overflow-wrap: anywhere;
  background: var(--panel-raised);
  transition: background-color var(--motion-press) var(--motion-ease), color var(--motion-press) var(--motion-ease);
}
.quick-access-links a .icon { width: 17px; height: 17px; color: var(--accent); }
.quick-access-links a .shortcut-arrow { width: 13px; height: 13px; }
.quick-access-links a:hover, .quick-access-links a:focus-visible { background: var(--panel-active); }
:is(.quick-access-panel, .quick-access-all) .quick-access-links a[aria-current] { background: var(--panel-active); box-shadow: inset 2px 0 0 var(--accent); }
.quick-access-links a:focus-visible { outline-offset: -2px; }
.quick-access-downloads { display: grid; gap: 7px; margin-top: 7px; padding-top: 8px; border-top: 1px solid var(--border); }
.quick-access-selection { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 5px; padding-inline: 3px; overflow-wrap: anywhere; }
.quick-access-selection strong { font-size: 12px; }
.quick-access-selection span { color: var(--muted); font-size: 12px; }
.quick-access-downloads .method {
  min-height: 42px;
  color: var(--text);
  background: var(--panel-raised);
  border-color: var(--border);
  box-shadow: none;
}
.quick-access-downloads .method .icon { color: var(--accent); }
.quick-access-downloads .method[href]:is(:hover, :focus-visible) { background: var(--panel-active); box-shadow: none; filter: none; }
.quick-access-downloads .download-methods { grid-template-columns: minmax(0, 1fr); }
.quick-access-more {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 40px;
  margin-top: 4px; padding-inline: 7px; border-radius: 7px; color: var(--text); background: var(--panel-raised); font-size: 13px; font-weight: 720;
}
.quick-access-more:is(:hover,:focus-visible) { background: var(--panel-active); }
.quick-access-more .icon { width: 15px; height: 15px; color: var(--accent); }
.quick-downloads-compact { padding-top: 5px; }
.quick-downloads-compact :is(.quick-access-selection, [data-downloads]) { display: none; }
.quick-download-jump { min-height: 44px; margin-top: 0; }
.quick-download-jump > span { min-width: 0; }
.quick-download-jump small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 11px; line-height: 1.2; }
.quick-motion-controls:has(> :not([hidden])) { display: flex; gap: 5px; margin-top: 7px; }
.quick-motion-toggle {
  display: flex; align-items: center; flex: 1 1 0; gap: 5px;
  min-width: 0; min-height: 44px; padding: 4px 6px;
  border: 1px solid transparent; border-radius: 9px; background: #f3fbe107;
  color: var(--muted); font-size: 12px; font-weight: 660; line-height: 1.25;
  text-align: start; overflow-wrap: anywhere;
  transition: background-color var(--motion-press) var(--motion-ease), border-color var(--motion-press) var(--motion-ease),
    color var(--motion-press) var(--motion-ease);
}
.quick-motion-toggle:is(:hover, :focus-visible, [aria-pressed="true"]) {
  border-color: var(--glass-rim); background-color: var(--panel-active); color: var(--text);
}
.quick-motion-toggle .icon { width: 16px; height: 16px; color: var(--accent); }
.quick-motion-toggle:focus-visible { outline-offset: -2px; }
.quick-motion-toggle[aria-pressed="true"] .motion-pause-icon, .quick-motion-toggle[aria-pressed="false"] .motion-play-icon { display: none; }
.quick-theme {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px;
  padding: 2px; margin-top: 6px; border-radius: 10px; background: #0c1510a8;
}
.quick-theme button {
  min-height: 44px; padding: 5px; border: 1px solid transparent; border-radius: 8px;
  background: transparent; color: var(--muted); font-size: 12px; font-weight: 690;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--motion-press) var(--motion-ease), color var(--motion-press) var(--motion-ease),
    transform var(--motion-panel) var(--spring-press);
}
.quick-theme button:hover { background-color: var(--panel-active); }
.quick-theme button[aria-pressed="true"] {
  border-color: var(--glass-rim); background: var(--panel-active); color: var(--text);
}
.quick-theme button:active { transform: scale(.97); }
.quick-theme button:focus-visible { outline-offset: -1px; }
.quick-access-all { margin-block: 18px; padding: 16px; }
.quick-access-all h2 { margin-bottom: 12px; font-size: 21px; }
@media (max-width: 720px) {
  html { scroll-padding-bottom: 70px; }
  .quick-access { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .quick-access-trigger { width: 46px; height: 46px; border-radius: 14px; }
  .quick-access-panel { width: min(218px, calc(100vw - 24px)); padding: 8px; border-radius: 15px; }
  .quick-access-heading { min-height: 28px; }
  .quick-access-heading strong { font-size: 14px; }
  .quick-access-panel .quick-access-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .quick-access-panel .quick-access-links a { grid-template-columns: 15px minmax(0, 1fr); gap: 5px; padding-inline: 6px; font-size: 12px; }
  .quick-access-panel .quick-access-links a:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .quick-access-panel .quick-access-links a .icon { width: 15px; height: 15px; }
  .quick-access-panel .quick-access-links a .shortcut-arrow { display: none; }
  .site-footer { padding-bottom: 76px; }
}
