*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body,
h1,
h2,
h3,
p {
  margin: 0;
}

button,
input,
code,
pre {
  font: inherit;
}

a {
  color: inherit;
}

[x-cloak] {
  display: none !important;
}

:root {
  --preview2-page-scale: 0.86;
  --preview2-page-gutter: 16px;
  --preview2-footer-reserve: 72px;
}

@media (max-width: 899px) {
  :root {
    --preview2-page-gutter: 14px;
    --preview2-footer-reserve: 92px;
  }
}
@media (max-width: 699px) {
  :root {
    --preview2-page-gutter: 12px;
    --preview2-footer-reserve: 122px;
  }
}
body {
  position: relative;
  min-height: 100dvh;
  zoom: var(--preview2-page-scale);
  background: #1e1e1e;
  color: #f3f5f7;
  font-family: "IBM Plex Sans", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 28px;
  opacity: 0.35;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  transform: scale(1.03);
  transform-origin: center;
  background: linear-gradient(rgba(8, 8, 8, 0.56), rgba(8, 8, 8, 0.78)), url("../assets/img/bg.jpg") center 24%/cover no-repeat;
  pointer-events: none;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 128, 146, 0.34) rgba(16, 16, 16, 0.86);
}
html::-webkit-scrollbar {
  width: 11px;
}
html::-webkit-scrollbar-track {
  background: rgba(16, 16, 16, 0.86);
}
html::-webkit-scrollbar-thumb {
  background: rgba(120, 128, 146, 0.34);
  border: 2px solid rgba(8, 8, 10, 0.96);
  border-radius: 999px;
}
html::-webkit-scrollbar-thumb:hover {
  background: rgba(160, 171, 196, 0.48);
}

body.is-confirm-modal-open {
  overflow: hidden;
}

body.is-rickroll-active,
body.is-rickroll-active * {
  cursor: url("../assets/img/rick-cursor.png") 8 8, auto;
}

body.is-rickroll-cursor-flipped,
body.is-rickroll-cursor-flipped * {
  cursor: url("../assets/img/rick-cursor-flip.png") 8 8, auto;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.04;
}

h3 {
  font-size: 1.02rem;
  line-height: 1.15;
}

p {
  color: #a3a8b3;
  line-height: 1.65;
}

code,
.eyebrow,
.divider-label__text,
.stat-card__label {
  font-family: "IBM Plex Mono", monospace;
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(1120px, 100% - var(--preview2-page-gutter) * 2);
  margin: 0 auto;
  padding: 32px 0 calc(var(--preview2-footer-reserve) + 16px + env(safe-area-inset-bottom));
  min-height: calc(100dvh / var(--preview2-page-scale));
  display: flex;
  flex-direction: column;
}

.page-shell--home {
  width: min(920px, 100% - var(--preview2-page-gutter) * 2);
  min-height: calc((100dvh - var(--preview2-footer-reserve)) / var(--preview2-page-scale));
  justify-content: center;
}

.page-shell--bounded {
  min-height: max(100dvh / var(--preview2-page-scale), 780px);
  padding: 32px 0 calc(var(--preview2-footer-reserve) + 16px + env(safe-area-inset-bottom));
  box-sizing: border-box;
  overflow: visible;
}

.page-shell--bounded .page-panels {
  min-height: 420px;
}

.page-intro {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.page-intro--compact {
  margin-bottom: 12px;
}

.page-heading {
  margin-bottom: 18px;
}

.page-title {
  max-width: none;
  white-space: nowrap;
  text-wrap: balance;
}

.page-title--home {
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-align: center;
}

.page-title--section {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
}

.page-panels {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.tab-panel {
  width: 100%;
}

.tab-panel--fill {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (max-width: 899px) {
  .page-shell {
    padding-top: 26px;
  }
  .page-shell--bounded {
    height: auto;
    min-height: calc(100dvh / var(--preview2-page-scale));
    padding-bottom: calc(var(--preview2-footer-reserve) + 16px + env(safe-area-inset-bottom));
    overflow: visible;
  }
  .page-shell--bounded .page-panels {
    min-height: 0;
  }
  .page-intro {
    gap: 12px;
    margin-bottom: 14px;
  }
  .page-heading {
    margin-bottom: 14px;
  }
  .page-title {
    white-space: normal;
  }
  .page-title--section {
    font-size: clamp(1.6rem, 4.2vw, 2.35rem);
  }
}
@media (max-width: 699px) {
  .page-shell {
    padding-top: 20px;
  }
  .page-shell--bounded {
    padding-top: 20px;
  }
  .page-title--home {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }
  .page-title--section {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }
}
.page-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.crumb-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #7c818d;
  text-decoration: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
}

@media (max-width: 699px) {
  .page-header {
    gap: 12px;
    margin-bottom: 14px;
  }
  .crumb-link {
    gap: 8px;
    font-size: 0.84rem;
  }
}
.site-footer {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(40, 42, 48, 0.92);
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.88), rgba(8, 8, 10, 0.98));
}

.site-footer__item {
  color: #7c818d;
  font-size: 0.95rem;
  line-height: 1.35;
}

.site-footer__item--end {
  justify-self: end;
  text-align: right;
}

.site-footer a {
  color: #d6dbe3;
  text-decoration: none;
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1), filter 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer a:hover {
  color: #ffffff;
  filter: brightness(1.28) contrast(1.08);
}

.site-footer a i {
  color: #ffffff;
  margin-right: 2px;
}

@media (max-width: 899px) {
  .site-footer {
    gap: 12px;
    padding-inline: 14px;
  }
  .site-footer__item {
    font-size: 0.9rem;
  }
}
@media (max-width: 540px) {
  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    padding-top: 10px;
  }
  .site-footer__item,
  .site-footer__item--end {
    justify-self: center;
    text-align: center;
    font-size: 0.84rem;
  }
}
.panel {
  border: 1px solid #202028;
  border-radius: 18px;
  background: rgba(16, 16, 16, 0.86);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.015);
  padding: 20px;
  min-width: 0;
}

.panel-stack {
  display: grid;
  gap: 14px;
  align-content: start;
}

.panel-fill {
  min-height: 0;
}

.panel-overflow-hidden {
  overflow: hidden;
}

.panel-copy--status {
  min-height: 1.65em;
}

.panel-grid {
  width: 100%;
  display: grid;
  gap: 16px;
}

.panel-grid--about {
  grid-template-columns: 1fr;
}

.panel-grid--links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.panel-grid--games {
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  flex: 1;
  min-height: 0;
}

.panel-grid--guids {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  flex: 1;
  min-height: 0;
}

.panel-grid--compare {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  align-items: stretch;
  flex: 1;
  min-height: 0;
}

.panel-title {
  color: #f3f5f7;
}

.panel-span {
  grid-column: 1/-1;
}

@media (max-width: 680px) {
  .panel {
    padding: 18px;
  }
  .panel-grid {
    gap: 14px;
  }
  .panel-grid--links {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 699px) {
  .panel {
    padding: 16px;
  }
  .panel-stack {
    gap: 12px;
  }
  .panel-grid {
    gap: 12px;
  }
}
.button,
.action-button,
.filter-chip {
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1), transform 180ms cubic-bezier(0.22, 1, 0.36, 1), filter 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.button {
  border: 1px solid rgba(86, 90, 98, 0.88);
  background: rgba(18, 18, 22, 0.92);
  color: #f3f5f7;
  cursor: pointer;
}

.button--pill {
  min-width: 92px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
}

.button--neutral:hover {
  filter: brightness(1.04);
}

.button--amber {
  border-color: rgba(255, 211, 107, 0.48);
  box-shadow: inset 0 0 0 1px rgba(255, 211, 107, 0.12);
}

.button--amber:hover {
  border-color: rgba(255, 211, 107, 0.68);
  box-shadow: inset 0 0 0 1px rgba(255, 211, 107, 0.18), 0 0 18px rgba(255, 211, 107, 0.12);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 15px;
  border: 1px solid rgba(110, 171, 215, 0.346);
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.76);
  color: #f3f5f7;
  cursor: pointer;
  font-size: 0.88rem;
  box-shadow: inset 0 0 0 1px rgba(123, 199, 255, 0.1);
}

.filter-chip:hover,
.filter-chip.is-active {
  transform: translateY(-1px);
  border-color: rgba(123, 200, 255, 0.649);
  box-shadow: inset 0 0 0 1px rgba(123, 199, 255, 0.16), 0 0 18px rgba(123, 199, 255, 0.12);
  color: #ffffff;
}

.filter-chip.is-active {
  border-color: rgba(123, 200, 255, 0.713);
  box-shadow: inset 0 0 0 1px rgba(123, 199, 255, 0.22), 0 0 20px rgba(123, 199, 255, 0.16);
}

.button:active,
.filter-chip:active {
  transform: translateY(1px);
}

.filter-chip__count {
  color: #7c818d;
}

.filter-chip__match {
  color: rgba(166, 198, 234, 0.94);
}

.filter-chip__match--linked {
  color: rgba(150, 255, 179, 0.9);
}

.filter-chip__match--unlinked {
  color: rgba(255, 124, 124, 0.86);
}

.filter-chip__match--na {
  color: rgba(160, 167, 182, 0.88);
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(48, 52, 61, 0.9);
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.5);
  color: #f3f5f7;
  cursor: pointer;
  line-height: 1;
}

.action-button i,
.result-action i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  line-height: 1;
  vertical-align: middle;
  transform: translateY(1px);
}

.action-button:disabled {
  opacity: 0.52;
  cursor: default;
}

.action-button:not(:disabled):hover {
  transform: translateY(-1px);
}

.action-button:not(:disabled):active {
  transform: translateY(1px);
}

.action-button--cyan {
  background: rgba(123, 199, 255, 0.055);
  border-color: rgba(123, 199, 255, 0.44);
  box-shadow: inset 0 0 0 1px rgba(123, 199, 255, 0.12);
}

.action-button--cyan:not(:disabled):hover {
  border-color: rgba(123, 199, 255, 0.62);
  box-shadow: inset 0 0 0 1px rgba(123, 199, 255, 0.18), 0 0 16px rgba(123, 199, 255, 0.14);
}

.action-button--amber {
  background: rgba(255, 211, 107, 0.012);
  border-color: rgba(255, 211, 107, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 211, 107, 0.1), 0 0 0 1px rgba(255, 211, 107, 0.04), 0 0 8px rgba(255, 211, 107, 0.04);
}

.action-button--amber:not(:disabled):hover {
  background: rgba(255, 211, 107, 0.016);
  border-color: rgba(255, 211, 107, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 211, 107, 0.14), 0 0 18px rgba(255, 211, 107, 0.12);
}

.action-button--red {
  background: rgba(255, 124, 124, 0.012);
  border-color: rgba(255, 124, 124, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 124, 124, 0.1), 0 0 0 1px rgba(255, 124, 124, 0.04), 0 0 8px rgba(255, 124, 124, 0.04);
}

.action-button--red:not(:disabled):hover {
  background: rgba(255, 124, 124, 0.016);
  border-color: rgba(255, 124, 124, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 124, 124, 0.14), 0 0 18px rgba(255, 124, 124, 0.12);
}

.action-button--neutral {
  background: rgba(160, 167, 182, 0.012);
  border-color: rgba(160, 167, 182, 0.42);
  box-shadow: inset 0 0 0 1px rgba(160, 167, 182, 0.1), 0 0 0 1px rgba(160, 167, 182, 0.04), 0 0 8px rgba(160, 167, 182, 0.04);
}

.action-button--neutral:not(:disabled):hover {
  background: rgba(160, 167, 182, 0.016);
  border-color: rgba(160, 167, 182, 0.58);
  box-shadow: inset 0 0 0 1px rgba(160, 167, 182, 0.14), 0 0 18px rgba(160, 167, 182, 0.12);
}

@media (max-width: 699px) {
  .button--pill {
    min-height: 38px;
    padding: 0 12px;
  }
  .filter-group {
    gap: 8px;
  }
  .filter-chip {
    min-height: 30px;
    padding: 4px 13px;
    font-size: 0.84rem;
  }
  .action-button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.88rem;
  }
}
.tab-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(110, 171, 215, 0.346);
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.86);
  color: #d0d0d0;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(123, 199, 255, 0.1);
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1), transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tab-button:hover,
.tab-button.is-active {
  transform: translateY(-1px);
  border-color: rgba(123, 200, 255, 0.649);
  box-shadow: inset 0 0 0 1px rgba(123, 199, 255, 0.16), 0 0 18px rgba(123, 199, 255, 0.12);
  color: #ffffff;
}

.tab-button:active {
  transform: translateY(1px);
}

.tab-button.is-active {
  border-width: 1px;
  border-color: rgba(123, 200, 255, 0.713);
  box-shadow: inset 0 0 0 1px rgba(123, 199, 255, 0.22), 0 0 20px rgba(123, 199, 255, 0.16);
}

.tab-bar--guids {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

.tab-button--iconlink {
  display: grid;
  place-items: center;
  width: 42px;
  min-width: 42px;
  padding: 0;
  text-decoration: none;
}

.tab-button--iconlink i {
  display: block;
  line-height: 1;
  margin: 0;
}

@media (max-width: 899px) {
  .tab-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
  }
  .tab-button {
    min-height: 40px;
    padding: 0 11px;
    font-size: 0.88rem;
    gap: 8px;
  }
  .tab-bar--guids {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  }
  .tab-button--iconlink {
    width: 40px;
    min-width: 40px;
    padding: 0;
  }
}
@media (max-width: 699px) {
  .tab-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 12px;
  }
  .tab-button {
    justify-content: center;
    min-height: 37px;
    padding: 0 10px;
    font-size: 0.82rem;
    gap: 7px;
  }
  .tab-bar--guids {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  }
  .tab-button--iconlink {
    width: 37px;
    min-width: 37px;
    padding: 0;
  }
}
@media (max-width: 540px) {
  .tab-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }
  .tab-button {
    justify-content: center;
    min-height: 36px;
    padding: 0 8px;
    font-size: 0.78rem;
    gap: 6px;
  }
  .tab-bar--guids {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  }
  .tab-button--iconlink {
    width: 36px;
    min-width: 36px;
    padding: 0;
  }
}
@media (max-width: 380px) {
  .tab-bar {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-bottom: 12px;
  }
  .tab-button {
    justify-content: flex-start;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.88rem;
  }
  .tab-bar--guids {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  }
}
@media (max-width: 340px) {
  .tab-bar--guids {
    grid-template-columns: 1fr;
  }
  .tab-button--iconlink {
    justify-content: center;
    width: 100%;
    min-width: 38px;
  }
}
.divider-label {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
}
.divider-label::after {
  content: "";
  display: block;
  flex: 1 1 auto;
  min-width: 56px;
  height: 2px;
  background: linear-gradient(90deg, rgba(70, 74, 82, 0.9), rgba(70, 74, 82, 0));
}

.divider-label__text,
.eyebrow {
  color: #7c818d;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.divider-label__line {
  display: none;
}

.link-list {
  display: grid;
  gap: 10px;
}

.link-card {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #18181d;
  border-radius: 12px;
  background: rgba(8, 8, 10, 0.68);
  text-decoration: none;
  transition: border-color 180ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1), transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.link-card:hover,
.link-card--button:hover {
  transform: translateY(-1px);
  border-color: rgba(123, 200, 255, 0.46);
  box-shadow: inset 0 0 0 1px rgba(123, 199, 255, 0.12), 0 0 18px rgba(123, 199, 255, 0.12), 0 0 34px rgba(84, 126, 178, 0.08);
}

.link-card--button {
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.link-card--button:active {
  transform: translateY(1px);
}

.link-card__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f3f5f7;
  font-weight: 600;
}

.link-card__meta {
  color: #7c818d;
  font-size: 0.92rem;
}

.brand-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.mods-grid {
  display: grid;
  gap: 8px;
}

.mod-card {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #18181d;
  border-radius: 12px;
  background: rgba(8, 8, 10, 0.68);
}

.mod-card__art {
  min-height: 116px;
  background: linear-gradient(90deg, rgba(12, 12, 14, 0.18), rgba(10, 10, 12, 0.9)), var(--game-image) center/cover no-repeat;
}

.mod-card__body {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
}

.mod-card__copy {
  display: grid;
  gap: 4px;
}

.mod-card__title,
.game-card__title {
  color: #f3f5f7;
}

.mod-card__meta {
  color: #a3a8b3;
  font-size: 0.94rem;
}

.mod-card__actions {
  display: flex;
  justify-content: flex-start;
}

.mod-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(96, 100, 109, 0.7);
  border-radius: 999px;
  background: rgba(16, 16, 18, 0.8);
  color: #f3f5f7;
  text-decoration: none;
  font-size: 0.86rem;
  transition: border-color 180ms cubic-bezier(0.22, 1, 0.36, 1), transform 180ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms cubic-bezier(0.22, 1, 0.36, 1), color 180ms cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.mod-card__link:hover {
  transform: translateY(-1px);
  border-color: rgba(128, 132, 144, 0.86);
  background: rgba(18, 18, 22, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 16px rgba(160, 167, 182, 0.12);
}

.mod-card__link:active {
  transform: translateY(1px);
}

.mod-card__link-icon {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: max-content;
  align-items: start;
  gap: 12px;
}

.games-grid--scroll {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 0;
  height: 100%;
  max-height: clamp(280px, 100dvh / var(--preview2-page-scale) - var(--preview2-footer-reserve) - 340px, 34rem);
  align-content: start;
}

.games-grid--scroll .game-card__title {
  font-size: 0.96rem;
}

.game-card {
  border: 1px solid #18181d;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(8, 8, 10, 0.68);
}

.game-card__art {
  position: relative;
  min-height: 92px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(8, 8, 10, 0.4)), linear-gradient(90deg, rgba(12, 12, 14, 0.18), rgba(10, 10, 12, 0.88)), var(--game-image) center/cover no-repeat;
}

.game-card__art--generic {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(8, 8, 10, 0.4)), linear-gradient(90deg, rgba(28, 30, 36, 0.56), rgba(10, 10, 12, 0.88));
}

.game-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.76);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.game-card__body {
  padding: 10px 12px;
}

@media (max-width: 899px) {
  .link-card {
    padding: 13px 14px;
  }
  .mod-card {
    grid-template-columns: 184px minmax(0, 1fr);
  }
  .mod-card__art {
    min-height: 108px;
  }
  .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .games-grid--scroll {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .game-card__art {
    min-height: 88px;
  }
  .game-card__body {
    padding: 9px 10px;
  }
}
@media (max-width: 699px) {
  .link-card {
    gap: 6px;
    padding: 12px 13px;
  }
  .link-card__title {
    gap: 8px;
    font-size: 0.95rem;
  }
  .link-card__meta {
    font-size: 0.88rem;
    overflow-wrap: anywhere;
  }
  .mod-card {
    grid-template-columns: 1fr;
  }
  .mod-card__art {
    min-height: 132px;
  }
  .mod-card__body {
    padding: 10px;
  }
  .mod-card__meta {
    font-size: 0.9rem;
  }
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .games-grid--scroll {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .games-grid--scroll .game-card__title {
    font-size: 0.92rem;
  }
  .game-card__art {
    min-height: 84px;
  }
  .game-card__body {
    padding: 8px 10px;
  }
  .game-card__title,
  .mod-card__title {
    font-size: 0.95rem;
  }
}
.text-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(28, 30, 36, 0.9);
  border-radius: 18px;
  background: rgba(16, 16, 18, 0.79);
}

.text-input i {
  color: #7c818d;
}

.text-input input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f3f5f7;
}

.text-input input::placeholder {
  color: #7c818d;
}

.text-input input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.text-input__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 1.35rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(243, 245, 247, 0.44);
  cursor: pointer;
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.text-input__clear:hover {
  color: #f3f5f7;
  background: rgba(255, 255, 255, 0.06);
}

.text-input__clear:focus-visible {
  outline: 2px solid rgba(255, 211, 107, 0.5);
  outline-offset: 2px;
}

.dropzone {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(110, 171, 215, 0.346);
  border-radius: 18px;
  background: rgba(10, 10, 12, 0.86);
  box-shadow: inset 0 0 0 1px rgba(123, 199, 255, 0.1);
  cursor: pointer;
  transition: border-color 180ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1), color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dropzone:hover,
.dropzone.is-dragging {
  border-color: rgba(123, 200, 255, 0.649);
  box-shadow: inset 0 0 0 1px rgba(123, 199, 255, 0.16), 0 0 18px rgba(123, 199, 255, 0.12);
}

.dropzone.is-loaded {
  border-color: rgba(168, 217, 255, 0.58);
  box-shadow: inset 0 0 0 1px rgba(168, 217, 255, 0.16);
}

.dropzone__copy {
  position: relative;
  width: 100%;
  height: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.dropzone__copy strong {
  color: #f3f5f7;
  font-weight: 600;
}

.dropzone__copy p {
  color: #7c818d;
  font-size: 0.82rem;
}

.dropzone__copy p {
  margin: 0;
}

.dropzone__copy code {
  color: #7c818d;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
}

.dropzone__input {
  display: none;
}

.dropzone__icon,
.upload-icon-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  color: #ffffff;
  font-size: 1.15rem;
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1), filter 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dropzone.is-loaded .dropzone__icon,
.dropzone.is-loaded .dropzone__copy strong {
  color: rgba(168, 217, 255, 0.9);
}

.dropzone.is-loaded .dropzone__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.dropzone__copy p.is-hidden {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
}

.compare-result-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}

.results-stack {
  display: grid;
  gap: 14px;
}

.compare-result-panel .results-stack {
  flex: 1;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
}

.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.result-box {
  margin: 0;
  min-height: 180px;
  padding: 16px;
  border: 1px solid #18181d;
  border-radius: 12px;
  background: rgba(8, 8, 10, 0.68);
  color: #f3f5f7;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  overflow: auto;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  min-width: 0;
}

.result-box code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
}

.compare-result-panel .result-box {
  min-height: 0;
  height: 100%;
  width: 100%;
}

@media (max-width: 899px) {
  .text-input {
    min-height: 42px;
    padding: 0 12px;
  }
  .result-box {
    min-height: 200px;
  }
  .compare-result-panel .results-stack {
    grid-template-rows: auto minmax(0, 1fr);
  }
  .compare-result-panel .result-box {
    height: 100%;
    max-height: none;
  }
}
@media (max-width: 699px) {
  .dropzone {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 14px;
  }
  .dropzone__copy {
    height: 100%;
    min-height: 38px;
  }
  .dropzone__copy strong {
    font-size: 0.95rem;
    line-height: 1.2;
  }
  .dropzone__copy p {
    font-size: 0.78rem;
    line-height: 1.3;
  }
  .dropzone__copy code {
    font-size: 0.76rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .dropzone__icon,
  .upload-icon-shell {
    width: 1.45rem;
    height: 1.45rem;
    font-size: 1.05rem;
  }
  .result-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .result-actions {
    justify-content: flex-start;
  }
  .result-box {
    padding: 14px;
    font-size: 0.86rem;
  }
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 4, 6, 0.68);
  backdrop-filter: blur(8px);
}

.modal-card {
  width: min(360px, 100% - 24px);
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 211, 107, 0.34);
  border-radius: 18px;
  background: rgba(12, 12, 14, 0.94);
  box-shadow: inset 0 0 0 1px rgba(255, 211, 107, 0.12), 0 0 32px rgba(0, 0, 0, 0.34);
}

.modal-title {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.35;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.modal-actions .button--pill {
  min-width: 72px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.9rem;
}

.takeover {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 44%), rgba(0, 0, 0, 0.96);
}

.takeover__frame {
  position: relative;
  width: min(1480px, 100%);
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 28px 84px rgba(0, 0, 0, 0.58);
}

.takeover__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 12, 0.03), rgba(4, 7, 12, 0.28));
  opacity: 1;
  pointer-events: none;
}

.takeover__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 16, 0.08), rgba(5, 9, 16, 0.16)), repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.016) 0, rgba(255, 255, 255, 0.016) 1px, transparent 1px, transparent 4px);
  opacity: 0.38;
  pointer-events: none;
}

.takeover__status {
  position: absolute;
  top: clamp(14px, 2.2vw, 24px);
  left: 50%;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-width: min(440px, 100% - 28px);
  max-width: min(620px, 100% - 28px);
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.78), rgba(5, 5, 6, 0.9));
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 16px 38px rgba(0, 0, 0, 0.36);
  transform: translateX(-50%);
  overflow: hidden;
}

.takeover__status.is-countdown {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 16px 38px rgba(0, 0, 0, 0.36);
}

.takeover__status.is-live {
  border-color: rgba(150, 255, 179, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 0 28px rgba(150, 255, 179, 0.05), 0 16px 38px rgba(0, 0, 0, 0.36), 0 0 24px rgba(150, 255, 179, 0.08);
}

.takeover__status.is-animating {
  animation: takeover-status-bump 420ms cubic-bezier(0.18, 0.76, 0.18, 1);
}

.takeover__status-dot {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}

.takeover__status-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.3;
  animation: takeover-status-ping 1.8s ease-out infinite;
}

.takeover__status.is-countdown .takeover__status-dot {
  color: rgba(230, 235, 241, 0.7);
}

.takeover__status.is-live .takeover__status-dot {
  color: rgba(150, 255, 179, 0.9);
}

.takeover__status-copy {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #f7fbff;
  font-size: clamp(0.88rem, 1.12vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35), 0 0 12px rgba(255, 255, 255, 0.03);
  justify-self: center;
}

.takeover__player {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
  background: #000;
}

.takeover__volume {
  position: absolute;
  right: clamp(14px, 2vw, 24px);
  bottom: clamp(14px, 2vw, 24px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(6, 6, 7, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 30px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.takeover__frame:hover .takeover__volume,
.takeover__frame:focus-within .takeover__volume {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.takeover__volume-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #f3f5f7;
  background: rgba(14, 14, 15, 0.92);
}

.takeover__volume-slider {
  width: clamp(96px, 10vw, 132px);
  accent-color: #f3f5f7;
  cursor: pointer;
}

.takeover__lyrics {
  position: absolute;
  right: clamp(14px, 2.6vw, 28px);
  bottom: clamp(14px, 2.6vw, 28px);
  left: clamp(14px, 2.6vw, 28px);
  display: grid;
  justify-items: center;
  gap: 10px;
  pointer-events: none;
}

.takeover__lyric-current,
.takeover__lyric-next {
  margin: 0;
  width: fit-content;
  max-width: min(900px, 100%);
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(7, 7, 8, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 28px rgba(0, 0, 0, 0.28);
  text-align: center;
  text-wrap: balance;
}

.takeover__lyric-head {
  display: grid;
  gap: 10px;
  width: fit-content;
  max-width: min(900px, 100%);
  justify-items: center;
}

.takeover__lyric-timer {
  margin: 0;
  justify-self: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--lyric-timer-color, rgba(150, 255, 179, 0.9));
  background: linear-gradient(180deg, rgba(12, 12, 13, 0.86), rgba(6, 6, 7, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 8px 18px rgba(0, 0, 0, 0.24);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  min-width: 6.2ch;
  text-shadow: none;
}

.takeover__lyric-current {
  position: relative;
  color: #f7fbff;
  font-size: clamp(1.1rem, 1.95vw, 1.54rem);
  font-weight: 700;
  line-height: 1.34;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(12, 12, 13, 0.9), rgba(6, 6, 7, 0.95));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 42px rgba(0, 0, 0, 0.34);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.takeover__lyric-next {
  color: rgba(220, 224, 230, 0.74);
  font-size: clamp(0.82rem, 1.1vw, 0.94rem);
  line-height: 1.4;
  max-width: min(720px, 100% - 48px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.78), rgba(6, 6, 7, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 10px 24px rgba(0, 0, 0, 0.24);
}

@keyframes takeover-status-bump {
  0% {
    transform: translateX(-50%) translateY(-10px) scale(0.985);
    opacity: 0;
  }
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
  }
}
@keyframes takeover-status-ping {
  0% {
    transform: scale(0.8);
    opacity: 0.42;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
@media (max-width: 699px) {
  .takeover {
    padding: 72px 12px 132px;
  }
  .takeover__frame {
    overflow: visible;
    width: min(100%, 760px);
  }
  .takeover__player {
    border-radius: inherit;
  }
  .takeover__status {
    top: auto;
    bottom: calc(100% + 12px);
    left: 50%;
    min-width: calc(100% - 24px);
    max-width: 100%;
    padding: 10px 12px;
  }
  .takeover__status-dot {
    left: 12px;
  }
  .takeover__status-copy {
    font-size: 0.84rem;
  }
  .takeover__lyrics {
    top: calc(100% + 12px);
    right: auto;
    bottom: auto;
    left: 50%;
    width: 100%;
    gap: 8px;
    transform: translateX(-50%);
  }
  .takeover__volume {
    right: 12px;
    bottom: 12px;
    padding: 7px 9px;
    gap: 7px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .takeover__volume-icon {
    width: 28px;
    height: 28px;
    font-size: 0.82rem;
  }
  .takeover__volume-slider {
    width: 72px;
  }
  .takeover__lyric-current,
  .takeover__lyric-next {
    padding: 9px 11px;
  }
  .takeover__lyric-next {
    max-width: min(520px, 100% - 12px);
  }
  .takeover__lyric-timer {
    padding: 5px 9px;
    font-size: 0.64rem;
  }
}
.panel-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 128, 146, 0.34) rgba(16, 16, 16, 0.86);
}
.panel-scroll::-webkit-scrollbar {
  width: 11px;
}
.panel-scroll::-webkit-scrollbar-track {
  background: rgba(16, 16, 16, 0.86);
}
.panel-scroll::-webkit-scrollbar-thumb {
  background: rgba(120, 128, 146, 0.34);
  border: 2px solid rgba(8, 8, 10, 0.96);
  border-radius: 999px;
}
.panel-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(160, 171, 196, 0.48);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.stat-card {
  padding: 12px 15px;
  border: 1px solid #202028;
  border-radius: 12px;
  background: rgba(16, 16, 16, 0.76);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.015);
}

.stat-card__label {
  display: block;
  margin-bottom: 4px;
  color: #7c818d;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.stat-card__value {
  color: #f3f5f7;
  font-size: 1.24rem;
}

.stat-card--cyan {
  background: linear-gradient(180deg, rgba(18, 27, 36, 0.92), rgba(16, 16, 16, 0.76));
  border-color: rgba(116, 240, 255, 0.24);
}

.stat-card--green {
  background: linear-gradient(180deg, rgba(20, 31, 24, 0.92), rgba(16, 16, 16, 0.76));
  border-color: rgba(150, 255, 179, 0.22);
}

.stat-card--red {
  background: linear-gradient(180deg, rgba(34, 23, 23, 0.92), rgba(16, 16, 16, 0.76));
  border-color: rgba(255, 124, 124, 0.18);
}

.stat-card--purple {
  background: linear-gradient(180deg, rgba(28, 24, 36, 0.92), rgba(16, 16, 16, 0.76));
  border-color: rgba(168, 154, 244, 0.18);
}

.stat-card--neutral {
  background: linear-gradient(180deg, rgba(24, 25, 29, 0.92), rgba(16, 16, 16, 0.76));
  border-color: rgba(160, 167, 182, 0.24);
}

.guid-list {
  flex: 1;
  min-height: 0;
  max-height: clamp(320px, 100dvh / var(--preview2-page-scale) - var(--preview2-footer-reserve) - 368px, 44rem);
  display: grid;
  align-content: start;
}

.guid-list__row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: stretch;
  border-bottom: 1px solid rgba(48, 52, 61, 0.9);
}

.guid-list__order,
.guid-list__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c818d;
}

.guid-list__order {
  width: 40px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.95rem;
}

.guid-list__icon {
  width: 46px;
}

.guid-list__content {
  display: grid;
  grid-template-columns: 40% 60%;
  min-width: 0;
}

.guid-list__title,
.guid-list__note {
  min-width: 0;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px 12px 0;
}

.guid-list__title {
  display: flex;
  color: #f3f5f7;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.guid-list__url:hover {
  color: #ffffff;
  filter: brightness(1.12);
}

.guid-list__url,
.guid-list__note {
  color: #7c818d;
  border-left: 1px solid rgba(48, 52, 61, 0.9);
  line-height: 1;
}

.guid-list__url {
  display: inline-flex;
  align-self: center;
  justify-self: start;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 0 12px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}

.guid-list__note {
  padding-left: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.guid-list__row--green .guid-list__icon,
.guid-list__row--green .guid-list__title {
  color: rgba(150, 255, 179, 0.94);
}

.guid-list__row--red .guid-list__icon,
.guid-list__row--red .guid-list__title {
  color: rgba(255, 124, 124, 0.86);
}

.guid-list__row--purple .guid-list__icon,
.guid-list__row--purple .guid-list__title {
  color: rgba(160, 167, 182, 0.9);
}

.history-list {
  flex: 1;
  min-height: 0;
}

.history-entry {
  display: grid;
  gap: 8px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(48, 52, 61, 0.9);
}

.history-entry__title {
  color: #f3f5f7;
  font-weight: 500;
  font-size: 0.94rem;
}

.history-entry__title-link,
.history-entry__title-plain {
  color: inherit;
  text-decoration: none;
}

.history-entry__meta,
.history-entry__note {
  color: #7c818d;
  font-size: 0.88rem;
}

.history-entry__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.change-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(48, 52, 61, 0.9);
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.5);
  color: #a3a8b3;
  font-size: 0.85rem;
}

.change-tag--added {
  border-color: rgba(148, 214, 166, 0.16);
  color: rgba(166, 225, 183, 0.82);
}

.change-tag--updated {
  border-color: rgba(124, 162, 206, 0.2);
  color: rgba(150, 184, 224, 0.9);
}

.change-tag--removed {
  border-color: rgba(255, 124, 124, 0.16);
  color: rgba(255, 124, 124, 0.82);
}

.change-tag--more {
  border-color: rgba(118, 124, 136, 0.56);
  color: rgba(181, 187, 198, 0.84);
}

.empty-state {
  color: #7c818d;
}

.panel-copy--browse-status {
  color: rgba(124, 129, 141, 0.82);
}

mark {
  background: rgba(255, 211, 107, 0.16);
  color: #fff5d6;
  border-radius: 0.24rem;
  padding: 0 0.08rem;
}

.json-key {
  color: #a7cbff;
}

.json-string {
  color: #88e0a1;
}

.json-number {
  color: #ffd38e;
}

.json-boolean {
  color: #8ac5ff;
}

.json-null {
  color: #e19cff;
}

.json-punct {
  color: #7c818d;
}

@media (max-width: 899px) {
  .stat-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .stat-card {
    padding: 11px 13px;
  }
  .stat-card__value {
    font-size: 1.12rem;
  }
  .guid-list,
  .history-list {
    max-height: min(48dvh, 440px);
  }
}
@media (max-width: 699px) {
  .stat-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
  }
  .stat-card {
    padding: 10px 12px;
  }
  .stat-card__label {
    font-size: 0.64rem;
  }
  .stat-card__value {
    font-size: 0.94rem;
  }
  .stat-strip .stat-card:last-child {
    grid-column: 1/-1;
  }
  .stat-strip .stat-card:last-child .stat-card__value {
    font-size: 0.9rem;
  }
  .guid-list {
    max-height: min(44dvh, 360px);
  }
  .history-list {
    max-height: none;
  }
  .guid-list__order {
    width: 34px;
    font-size: 0.84rem;
  }
  .guid-list__icon {
    width: 38px;
  }
  .guid-list__content {
    grid-template-columns: 1fr;
  }
  .guid-list__title,
  .guid-list__note {
    min-height: 42px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 0.9rem;
  }
  .guid-list__url,
  .guid-list__note {
    border-left: 0;
    border-top: 1px solid rgba(48, 52, 61, 0.9);
  }
  .guid-list__url {
    min-height: 42px;
    padding: 10px 0;
    font-size: 0.9rem;
  }
  .guid-list__note {
    padding-left: 0;
  }
  .history-entry {
    gap: 7px;
    padding: 11px 0;
  }
  .history-entry__title {
    font-size: 0.9rem;
  }
  .history-entry__meta,
  .history-entry__note {
    font-size: 0.84rem;
  }
  .history-entry__tags {
    gap: 6px;
  }
  .change-tag {
    min-height: 24px;
    padding: 0 9px;
    font-size: 0.8rem;
  }
}
.home-stage {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.home-view.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

.home-panel {
  width: min(760px, 100%);
  padding: 18px 18px 16px;
}

.home-links {
  display: grid;
}

.home-link {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 16px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(8, 8, 10, 0.89);
  color: #f3f5f7;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1), transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-link + .home-link {
  margin-top: 12px;
}

.home-link:hover {
  transform: translateY(-1px);
}

.home-link__main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.home-link__title {
  font-size: 1rem;
  font-weight: 600;
}

.home-link__meta {
  color: #a3a8b3;
  font-size: 0.95rem;
  line-height: 1.5;
}

.home-link--cyan {
  background: rgba(116, 240, 255, 0.012);
  border-color: rgba(116, 240, 255, 0.42);
  box-shadow: inset 0 0 0 1px rgba(116, 240, 255, 0.1), 0 0 0 1px rgba(116, 240, 255, 0.04), 0 0 8px rgba(116, 240, 255, 0.04);
}

.home-link--cyan:hover {
  background: rgba(116, 240, 255, 0.016);
  border-color: rgba(116, 240, 255, 0.58);
  box-shadow: inset 0 0 0 1px rgba(116, 240, 255, 0.14), 0 0 18px rgba(116, 240, 255, 0.12);
}

.home-link--green {
  background: rgba(150, 255, 179, 0.012);
  border-color: rgba(150, 255, 179, 0.42);
  box-shadow: inset 0 0 0 1px rgba(150, 255, 179, 0.1), 0 0 0 1px rgba(150, 255, 179, 0.04), 0 0 8px rgba(150, 255, 179, 0.04);
}

.home-link--green:hover {
  background: rgba(150, 255, 179, 0.016);
  border-color: rgba(150, 255, 179, 0.58);
  box-shadow: inset 0 0 0 1px rgba(150, 255, 179, 0.14), 0 0 18px rgba(150, 255, 179, 0.12);
}

.home-link--neutral {
  background: rgba(160, 167, 182, 0.012);
  border-color: rgba(160, 167, 182, 0.42);
  box-shadow: inset 0 0 0 1px rgba(160, 167, 182, 0.1), 0 0 0 1px rgba(160, 167, 182, 0.04), 0 0 8px rgba(160, 167, 182, 0.04);
}

.home-link--neutral:hover {
  background: rgba(160, 167, 182, 0.016);
  border-color: rgba(160, 167, 182, 0.58);
  box-shadow: inset 0 0 0 1px rgba(160, 167, 182, 0.14), 0 0 18px rgba(160, 167, 182, 0.12);
}

.home-link--amber {
  background: rgba(255, 211, 107, 0.012);
  border-color: rgba(255, 211, 107, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 211, 107, 0.1), 0 0 0 1px rgba(255, 211, 107, 0.04), 0 0 8px rgba(255, 211, 107, 0.04);
}

.home-link--amber:hover {
  background: rgba(255, 211, 107, 0.016);
  border-color: rgba(255, 211, 107, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 211, 107, 0.14), 0 0 18px rgba(255, 211, 107, 0.12);
}

@media (max-width: 899px) {
  .home-stage {
    gap: 16px;
  }
  .home-panel {
    width: min(100%, 760px);
    padding: 16px;
  }
  .home-link {
    padding: 15px 13px;
  }
}
@media (max-width: 699px) {
  .home-stage {
    gap: 14px;
    justify-items: stretch;
  }
  .home-panel {
    padding: 14px;
  }
  .home-link {
    gap: 6px;
    padding: 14px 12px;
  }
  .home-link__main {
    gap: 9px;
  }
  .home-link__title {
    font-size: 0.95rem;
  }
  .home-link__meta {
    font-size: 0.88rem;
    line-height: 1.45;
  }
}
.panel-grid--games > .panel:last-child {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-self: stretch;
  height: 100%;
  min-height: 0;
}

.about-intro-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.about-intro-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.about-intro-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  row-gap: 8px;
  max-width: 380px;
  margin-left: auto;
}

.profile-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(170, 176, 188, 0.58);
  border-radius: 999px;
  background: rgba(24, 24, 28, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: rgba(234, 238, 244, 0.9);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}

.profile-pill--flag {
  gap: 8px;
  padding: 4px 8px;
  border-color: rgba(111, 151, 185, 0.48);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(111, 151, 185, 0.06);
  color: rgba(154, 191, 223, 0.92);
}

.profile-pill-break {
  flex-basis: 100%;
  height: 0;
}

.profile-pill--flag img {
  display: block;
  width: 24px;
  height: 18px;
  border-radius: 3px;
}

@media (max-width: 899px) {
  .about-intro-row {
    flex-direction: column;
    align-items: stretch;
  }
  .about-intro-pills {
    justify-content: flex-start;
    max-width: none;
    margin-left: 0;
  }
  .profile-pill-break {
    display: none;
  }
  .panel-grid--games > .panel:last-child {
    height: auto;
  }
  .games-grid--scroll {
    max-height: min(48dvh, 420px);
  }
}
@media (max-width: 699px) {
  .about-intro-copy {
    gap: 8px;
  }
  .about-intro-pills {
    gap: 6px;
    row-gap: 6px;
  }
  .profile-pill-break {
    display: none;
  }
  .profile-pill {
    min-height: 26px;
    padding: 0 10px;
    font-size: 0.74rem;
  }
  .profile-pill--flag {
    gap: 7px;
    padding: 4px 7px;
  }
  .profile-pill--flag img {
    width: 20px;
    height: 15px;
  }
  .games-grid--scroll {
    max-height: min(44dvh, 360px);
  }
}
.panel-grid--guids > .panel:last-child {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-self: stretch;
  height: 100%;
  min-height: 0;
}

.settings-grid {
  display: grid;
  gap: 16px;
  flex: 1;
  min-height: 0;
}

.settings-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.settings-section {
  display: grid;
  gap: 12px;
}

.settings-copy {
  color: #a3a8b3;
  line-height: 1.55;
}

.settings-scale-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 12px;
  align-items: center;
}

.settings-range {
  width: 100%;
  margin: 0;
  accent-color: #8ac7ff;
}

.settings-number {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(34, 38, 45, 0.9);
  border-radius: 12px;
  background: rgba(14, 14, 18, 0.84);
  color: #f3f5f7;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92rem;
}

.settings-number:focus {
  outline: none;
  border-color: rgba(138, 199, 255, 0.54);
  box-shadow: 0 0 0 1px rgba(138, 199, 255, 0.14);
}

.settings-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(36, 40, 48, 0.92);
  border-radius: 18px;
  background: rgba(11, 11, 15, 0.72);
}

.settings-toggle-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.settings-toggle-title {
  color: #f3f5f7;
  font-weight: 600;
}

.settings-toggle-meta {
  color: #a3a8b3;
  font-size: 0.92rem;
  line-height: 1.45;
}

.settings-switch {
  appearance: none;
  position: relative;
  width: 46px;
  height: 27px;
  margin: 0;
  flex: 0 0 auto;
  border: 1px solid rgba(72, 78, 90, 0.92);
  border-radius: 999px;
  background: rgba(20, 20, 24, 0.92);
  cursor: pointer;
  transition: background-color 180ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.settings-switch::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  border-radius: 999px;
  background: rgba(244, 247, 251, 0.88);
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.settings-switch:checked {
  border-color: rgba(138, 199, 255, 0.58);
  background: rgba(83, 128, 170, 0.26);
  box-shadow: inset 0 0 0 1px rgba(138, 199, 255, 0.16);
}

.settings-switch:checked::before {
  transform: translateX(19px);
}

.page-shell:not(.is-settings-ready) .settings-switch,
.page-shell:not(.is-settings-ready) .settings-switch::before {
  transition: none !important;
}

.settings-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}

@media (max-width: 699px) {
  .settings-card {
    gap: 16px;
  }
  .settings-scale-row {
    grid-template-columns: 1fr;
  }
  .settings-toggle {
    align-items: center;
  }
}
