/* Current homepage skin for static content pages. */
:root {
  --current-ink: #fff;
  --current-muted: rgba(255, 255, 255, .72);
  --current-line: rgba(255, 255, 255, .38);
  --current-glass: rgba(255, 255, 255, .15);
  --current-font: var(--home-body-font, 'DM Sans', 'Microsoft YaHei', sans-serif);
  --current-title: var(--home-title-font, 'Noto Serif SC', Georgia, serif);
}

* { box-sizing: border-box; }

html { min-width: 320px; }

body.current-section-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--current-ink);
  background: #17110d;
  font-family: var(--current-font);
}

body.current-section-page::before,
body.current-section-page::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: '';
}

body.current-section-page::before {
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .16) 34%, rgba(0, 0, 0, .72) 78%, #080808 100%),
    var(--page-bg, none);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body.current-section-page::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .28), transparent 42%, rgba(0, 0, 0, .16)),
    rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 180px rgba(0, 0, 0, .48);
}

body.current-section-page.is-day::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)),
    var(--page-bg, none);
}

body.current-section-page.is-day {
  --current-ink: #28241f;
  --current-muted: rgba(40, 36, 31, .68);
  --current-line: rgba(40, 36, 31, .28);
  --current-glass: rgba(255, 255, 255, .64);
  color: var(--current-ink);
  background: #f4f5f4;
}
body.current-section-page.is-day::after {
  background: linear-gradient(90deg, rgba(255,255,255,.2), transparent 42%, rgba(255,255,255,.12)), rgba(255,255,255,.16);
  box-shadow: inset 0 0 180px rgba(255,255,255,.28);
}
body.current-section-page.is-day .links-header { background: rgba(255,255,255,.62); border-bottom-color: rgba(40,36,31,.24); }
body.current-section-page.is-day .links-brand,
body.current-section-page.is-day .links-header nav a.active,
body.current-section-page.is-day .links-header nav a:hover,
body.current-section-page.is-day .links-login { color: #28241f; }
body.current-section-page.is-day .links-brand small,
body.current-section-page.is-day .links-header nav a { color: rgba(40,36,31,.62); }
body.current-section-page.is-day .links-header nav a.active::after { background: #28241f; }
body.current-section-page.is-day .links-login { background: rgba(255,255,255,.45); border-color: rgba(40,36,31,.42); }
body.current-section-page.is-day .page-mode-button { color: #28241f; background: rgba(255,255,255,.46); border-color: rgba(40,36,31,.42); }
body.current-section-page.is-day .page-mode-button:hover { background: rgba(255,255,255,.82); border-color: #28241f; }
body.current-section-page.is-day .section-page-hero h1 { color: #28241f; text-shadow: 0 5px 28px rgba(255,255,255,.34); }
body.current-section-page.is-day .section-page-hero-label,
body.current-section-page.is-day .section-page-hero p,
body.current-section-page.is-day .section-page-home { color: rgba(40,36,31,.7); }
body.current-section-page.is-day .links-category-kicker { color: rgba(40,36,31,.66); }
body.current-section-page.is-day .links-category-list button { color: rgba(40,36,31,.72); background: rgba(255,255,255,.44); border-color: rgba(40,36,31,.28); }
body.current-section-page.is-day .links-category-list button span { color: rgba(40,36,31,.48); }
body.current-section-page.is-day .links-category-list button:hover,
body.current-section-page.is-day .links-category-list button.is-active { color: #fff; background: #28241f; border-color: #28241f; }
body.current-section-page.is-day .links-category-list button:hover span,
body.current-section-page.is-day .links-category-list button.is-active span { color: #fff; }
body.current-section-page.is-day .link-module,
body.current-section-page.is-day .links-empty { color: #28241f; background: rgba(255,255,255,.68); border-color: rgba(40,36,31,.24); box-shadow: 0 14px 30px rgba(75,61,42,.12); }
body.current-section-page.is-day .link-module:hover { background: rgba(255,255,255,.88); border-color: #28241f; }
body.current-section-page.is-day .link-module-body strong { color: #28241f; }
body.current-section-page.is-day .link-module-body p,
body.current-section-page.is-day .link-module-category,
body.current-section-page.is-day .link-module-arrow,
body.current-section-page.is-day .links-empty p { color: rgba(40,36,31,.62); }
body.current-section-page.is-day .link-module-thumb { background: rgba(255,255,255,.86); border-color: rgba(40,36,31,.22); }
body.current-section-page.section-page-type-links::before,
body.current-section-page.section-page-type-software::before,
body.current-section-page.section-page-type-games::before,
body.current-section-page.section-page-type-notes::before { background: #17110d; }
body.current-section-page.section-page-type-links::after,
body.current-section-page.section-page-type-software::after,
body.current-section-page.section-page-type-games::after,
body.current-section-page.section-page-type-notes::after { background: transparent; box-shadow: none; }
body.current-section-page.is-day.section-page-type-links,
body.current-section-page.is-day.section-page-type-software,
body.current-section-page.is-day.section-page-type-games,
body.current-section-page.is-day.section-page-type-notes { background: #f4f5f4; }
body.current-section-page.is-day.section-page-type-links::before,
body.current-section-page.is-day.section-page-type-software::before,
body.current-section-page.is-day.section-page-type-games::before,
body.current-section-page.is-day.section-page-type-notes::before { background: #f4f5f4; }

.links-stage { min-height: 100vh; padding-bottom: 92px; }

.links-header {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 76px;
  padding: 0 clamp(22px, 5vw, 76px);
  background: rgba(18, 27, 38, .42) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .5) !important;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .12) !important;
  backdrop-filter: blur(18px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(120%) !important;
}

.links-brand { color: #fff; }
.links-brand > span:first-child { font-size: 28px; letter-spacing: .05em; }
.links-brand small { color: var(--current-muted); font: 12px var(--mono, Consolas, monospace); }
.links-header nav { margin-left: auto; }
.links-header nav a { color: var(--current-muted); }
.links-header nav a.active,
.links-header nav a:hover { color: #fff; }
.links-login { color: #fff; }
.page-mode-button {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  margin-left: 12px;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, .18);
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 3px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.page-mode-button:hover { background: rgba(255,255,255,.18); border-color: #fff; transform: translateY(-1px); }

.section-page-main {
  width: 100%;
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 108px 0 34px;
}

.section-page-main-links {
  width: 100%;
  max-width: none;
  padding-top: 0;
}
.section-page-main-games { padding-top: 0; }

.section-page-eyebrow { display: none; }

.section-page-hero {
  display: block;
  max-width: 920px;
  padding: 74px 0 34px;
}

.section-page-hero-copy { max-width: 760px; }
.section-page-hero-label {
  display: block;
  margin: 0 0 22px;
  color: var(--current-muted);
  font: 12px var(--mono, Consolas, monospace);
  letter-spacing: .14em;
}
.section-page-hero-label::before { display: none; }
.section-page-hero h1 {
  margin: 0;
  color: #fff;
  font: 600 clamp(3.6rem, 8vw, 7.5rem)/1.02 var(--current-title);
  letter-spacing: .02em;
  text-shadow: 0 5px 35px rgba(0, 0, 0, .28);
}
.section-page-hero p {
  max-width: 450px;
  margin: 22px 0 0;
  color: var(--current-muted);
  font-size: 16px;
  line-height: 1.8;
}
.section-page-hero .page-ornament { display: none; }

.section-page-main .section-page-hero.section-hero-banner {
  position: relative;
  display: flex;
  width: 100%;
  max-width: none;
  min-height: var(--section-hero-height, 300px);
  align-items: flex-end;
  margin: 0;
  padding: 48px clamp(24px, 7vw, 92px) 42px;
  overflow: hidden;
  isolation: isolate;
  background-color: #1d4054;
  background-image: var(--section-hero-image, none);
  background-position: var(--section-hero-position, center);
  background-size: var(--section-hero-fit, cover);
  background-repeat: no-repeat;
}
.section-page-main .section-page-hero.section-hero-banner::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: '';
  background:
    linear-gradient(90deg, var(--section-hero-overlay-color, #102433), transparent 74%),
    linear-gradient(to top, rgba(7, 18, 26, .58), transparent 65%);
  opacity: var(--section-hero-overlay-opacity, .3);
}
.section-page-main .section-page-hero.section-hero-banner .section-page-hero-copy {
  width: min(1360px, 100%);
  max-width: none;
  margin: 0 auto;
  text-align: var(--section-hero-title-align, left);
}
.section-page-main .section-page-hero.section-hero-banner .section-page-hero-label,
.section-page-main .section-page-hero.section-hero-banner p { display: none; }
.section-page-main .section-page-hero.section-hero-banner h1 {
  color: var(--section-hero-title-color, #fff);
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  text-shadow: 0 5px 26px rgba(0, 0, 0, .32);
}
body.current-section-page.is-day .section-page-main .section-page-hero.section-hero-banner h1 { color: var(--section-hero-title-color, #fff); }

.section-page-grid { display: block; }

/* The four content pages share the link-board card language. */
.current-section-page .section-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.current-section-page .section-page-main-links .section-page-grid {
  grid-template-columns: 1fr;
  width: min(1360px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: 34px;
}
.current-section-page .section-page-main-games .section-page-grid { padding-top: 34px; }
.current-section-page .section-page-main:not(.section-page-main-links) .section-page-grid {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
.current-section-page .section-page-card {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 148px;
  padding: 22px 24px 48px;
  overflow: hidden;
  color: #fff;
  background: var(--current-glass);
  border: 1px solid var(--current-line);
  border-radius: 5px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .16);
  backdrop-filter: blur(15px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.current-section-page .section-page-card:hover {
  background: rgba(255, 255, 255, .27);
  border-color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .2);
  transform: translateY(-4px);
}
.current-section-page .section-page-card.is-featured {
  min-height: 148px;
  color: #fff;
  background: rgba(255, 255, 255, .19);
  border-color: rgba(255, 255, 255, .5);
}
.current-section-page .section-page-card::after { display: none; }
.current-section-page .section-page-card-number {
  position: absolute;
  top: 15px;
  right: 16px;
  color: rgba(255, 255, 255, .58);
  font: 12px var(--mono, Consolas, monospace);
}
.current-section-page .section-page-card-badge {
  position: absolute;
  top: 16px;
  left: 78px;
  padding: 0;
  color: rgba(255, 255, 255, .65);
  background: transparent;
  font: 11px var(--mono, Consolas, monospace);
  letter-spacing: 0;
}
.current-section-page .section-page-card-meta {
  display: block;
  margin: 0 70px 0 0;
  color: rgba(255, 255, 255, .62);
  font: 11px var(--mono, Consolas, monospace);
}
.current-section-page .section-page-card strong {
  display: block;
  min-width: 0;
  margin: 34px 0 8px;
  overflow: hidden;
  color: #fff;
  font: 600 24px/1.2 var(--current-title);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.current-section-page .section-page-card p {
  max-width: 90%;
  margin: 0;
  overflow: hidden;
  color: var(--current-muted);
  font-size: 14px;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.current-section-page .section-page-card-action {
  position: absolute;
  right: 16px;
  bottom: 15px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.current-section-page .section-page-card-action b { margin-left: 4px; font-size: 18px; font-weight: 400; }
.current-section-page .card-mark {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #211b17;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 4px;
  font: 26px var(--current-title);
}
.current-section-page .card-mark.game-mark { color: #211b17; background: rgba(255, 255, 255, .82); border-radius: 4px; font-size: 24px; }
.current-section-page .card-mark ~ strong { margin-top: 56px; }
.current-section-page .section-page-card.is-disabled { opacity: .56; }
.current-section-page .section-page-card.is-disabled:hover { border-color: var(--current-line); box-shadow: 0 16px 36px rgba(0, 0, 0, .16); transform: none; }

.current-section-page .section-page-main-software .section-page-grid,
.current-section-page .section-page-main-games .section-page-grid,
.current-section-page .section-page-main-notes .section-page-grid,
.current-section-page .section-page-main-more .section-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.links-board {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
  width: 100%;
  max-width: none;
}

.links-category-panel {
  position: sticky;
  top: 102px;
  min-width: 0;
}
.links-category-kicker {
  margin: 0 0 12px;
  color: var(--current-muted);
  font: 12px var(--mono, Consolas, monospace);
  letter-spacing: .12em;
}
.links-category-list { display: grid; gap: 8px; }
.links-category-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 13px;
  color: var(--current-muted);
  text-align: left;
  background: rgba(0, 0, 0, .16);
  border: 1px solid var(--current-line);
  border-radius: 3px;
  font: 14px var(--current-font);
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.links-category-list button span {
  color: rgba(255, 255, 255, .55);
  font: 12px var(--mono, Consolas, monospace);
}
.links-category-list button:hover,
.links-category-list button.is-active {
  color: #211b17;
  background: rgba(255, 255, 255, .84);
  border-color: #fff;
  transform: translateX(4px);
}
.links-category-list button:hover span,
.links-category-list button.is-active span { color: #211b17; }

.links-results { min-width: 0; }
.section-page-main-links .links-results { width: 100%; }
.links-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 18px;
  width: 100%;
}
.link-module,
.links-empty {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  min-height: 106px;
  padding: 12px;
  color: #fff;
  background: var(--current-glass);
  border: 1px solid var(--current-line);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .16);
  backdrop-filter: blur(15px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.link-module:hover {
  background: rgba(255, 255, 255, .27);
  border-color: #fff;
  transform: translateY(-4px);
}
.link-module-thumb {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  overflow: hidden;
  color: #211b17;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 4px;
  font: 27px var(--current-title);
}
.link-module-thumb img { width: 100%; height: 100%; object-fit: cover; }
.link-module-body { min-width: 0; }
.link-module-category {
  position: absolute;
  top: 11px;
  right: 13px;
  max-width: 42%;
  overflow: hidden;
  color: rgba(255, 255, 255, .65);
  font: 11px var(--mono, Consolas, monospace);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link-module-body strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font: 600 20px/1.2 var(--current-title);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link-module-body p {
  margin: 6px 0 0;
  overflow: hidden;
  color: var(--current-muted);
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.link-module-arrow { align-self: end; color: #fff; font-size: 18px; }
.links-empty { grid-column: 1 / -1; display: block; padding: 28px; }
.links-empty strong { font: 600 20px var(--current-title); }
.links-empty p { margin: 8px 0 0; color: var(--current-muted); font-size: 14px; }

.section-page-home {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: min(1360px, calc(100% - 64px));
  margin-top: 30px;
  margin-right: auto;
  margin-left: auto;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.section-page-home:hover { color: var(--current-muted); }

.links-player {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
}

@media (max-width: 760px) {
  .links-header { height: 64px; padding: 0 16px; }
  .links-header nav { display: none; }
  .links-brand > span:first-child { font-size: 23px; }
  .section-page-main { width: 100%; padding: 86px 0 28px; }
  .section-page-main-links { width: 100%; padding-top: 0; }
  .section-page-main .section-page-hero.section-hero-banner { min-height: var(--section-hero-mobile-height, 220px); padding: 34px 20px 30px; }
  .section-page-main .section-page-hero.section-hero-banner .section-page-hero-copy { width: 100%; }
  .section-page-main .section-page-hero.section-hero-banner h1 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .current-section-page .section-page-main-links .section-page-grid { width: calc(100% - 32px); padding-top: 24px; }
  .current-section-page .section-page-main-games .section-page-grid { padding-top: 24px; }
  .current-section-page .section-page-main:not(.section-page-main-links) .section-page-grid { width: calc(100% - 32px); }
  .section-page-home { width: calc(100% - 32px); margin-top: 24px; }
  .section-page-hero { padding: 42px 0 26px; }
  .section-page-hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .section-page-hero p { margin-top: 16px; font-size: 14px; }
  .links-board { grid-template-columns: 1fr; gap: 20px; }
  .links-category-panel { position: static; }
  .links-category-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
  .links-category-list button { flex: 0 0 auto; min-width: 94px; }
  .links-category-list button:hover,
  .links-category-list button.is-active { transform: none; }
  .links-card-grid { grid-template-columns: 1fr; gap: 10px; padding-top: 14px; }
  .link-module { min-height: 106px; grid-template-columns: 56px minmax(0, 1fr) auto; padding: 12px; }
  .link-module-thumb { width: 56px; height: 56px; font-size: 26px; }
  .link-module-body strong { font-size: 19px; }
  .link-module-body p { font-size: 13px; }
  .page-mode-button { width: 40px; height: 40px; flex-basis: 40px; margin-left: 8px; font-size: 19px; }
  .current-section-page .section-page-grid,
  .current-section-page .section-page-main-software .section-page-grid,
  .current-section-page .section-page-main-games .section-page-grid,
  .current-section-page .section-page-main-notes .section-page-grid,
  .current-section-page .section-page-main-more .section-page-grid { grid-template-columns: 1fr; }
  .current-section-page .section-page-card { min-height: 132px; padding: 18px 18px 44px; }
  .current-section-page .section-page-card strong { font-size: 20px; }
  .current-section-page .section-page-card p { font-size: 14px; }
}

body.current-section-page.is-day .links-header {
  background: rgba(255, 255, 255, .28) !important;
  border-bottom-color: rgba(40, 36, 31, .24) !important;
  box-shadow: 0 10px 34px rgba(55, 65, 72, .1) !important;
  backdrop-filter: blur(18px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(120%) !important;
}

@media (min-width: 761px) and (max-width: 1080px) {
  .links-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Games board: category rail plus compact four-column image cards. */
.current-section-page .section-page-main-games .section-page-grid { display: block; }
.games-board {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
  width: 100%;
}
.games-category-panel { position: sticky; top: 102px; min-width: 0; }
.games-category-kicker { margin: 0 0 12px; color: var(--current-muted); font: 12px var(--mono, Consolas, monospace); letter-spacing: .12em; }
.games-category-list { display: grid; gap: 8px; }
.games-category-list button {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 13px;
  color: rgba(255,255,255,.72);
  background: rgba(16,21,27,.42);
  border: 1px solid var(--current-line);
  border-radius: 4px;
  font: 14px var(--current-font);
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.games-category-list button span { color: rgba(255,255,255,.55); font: 12px var(--mono, Consolas, monospace); }
.games-category-list button:hover,
.games-category-list button.is-active { color: #211b17; background: rgba(255,255,255,.86); border-color: #fff; transform: translateX(4px); }
.games-category-list button:hover span,
.games-category-list button.is-active span { color: #211b17; }
.games-results { min-width: 0; }
.games-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
.game-module {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #211b17;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.game-module:hover { background: #fff; box-shadow: 0 18px 34px rgba(0,0,0,.24); transform: translateY(-4px); }
.game-module.is-disabled { cursor: not-allowed; opacity: .56; }
.game-module.is-disabled:hover { box-shadow: 0 14px 30px rgba(0,0,0,.18); transform: none; }
.game-module-image {
  position: relative;
  display: grid;
  min-height: 98px;
  aspect-ratio: 1.72 / 1;
  place-items: center;
  overflow: hidden;
  color: rgba(255,255,255,.96);
  background: #2a201d;
}
.game-module-image img { width: 100%; height: 100%; object-fit: cover; }
.game-module-image-fallback { font: 600 20px var(--current-title); letter-spacing: .04em; }
.game-module-badge { position: absolute; top: 10px; left: 10px; color: rgba(255,255,255,.82); font: 10px var(--mono, Consolas, monospace); letter-spacing: .1em; }
.game-module-body { min-width: 0; padding: 14px 14px 40px; }
.game-module-body strong { display: block; overflow: hidden; font: 700 19px/1.2 var(--current-title); text-overflow: ellipsis; white-space: nowrap; }
.game-module-body p { display: -webkit-box; min-height: 36px; margin: 8px 0 0; overflow: hidden; color: rgba(33,27,23,.7); font-size: 13px; line-height: 1.38; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.game-module-action { position: absolute; left: 14px; bottom: 12px; color: #211b17; font-size: 13px; font-weight: 700; }
.game-module-action b { margin-left: 4px; font-size: 17px; font-weight: 400; }
.game-module-category { position: absolute; right: 14px; bottom: 13px; max-width: 45%; overflow: hidden; color: rgba(33,27,23,.42); font: 11px var(--mono, Consolas, monospace); text-overflow: ellipsis; white-space: nowrap; }
.games-empty { grid-column: 1 / -1; min-height: 180px; display: grid; place-content: center; padding: 28px; color: #211b17; text-align: center; background: rgba(255,255,255,.9); border: 1px dashed rgba(255,255,255,.8); border-radius: 8px; }
.games-empty strong { font: 600 20px var(--current-title); }
.games-empty p { margin: 8px 0 0; color: rgba(33,27,23,.62); font-size: 14px; }
html[data-admin-preview] .link-module,
html[data-admin-preview] .game-module { cursor: default; }
html[data-admin-preview] .link-module.is-admin-selected,
html[data-admin-preview] .game-module.is-admin-selected { outline: 3px solid #ee705d; outline-offset: 3px; }

.article-rich-content { overflow-wrap: anywhere; }
.article-rich-content h2, .article-rich-content h3, .article-rich-content h4 { margin: 1.5em 0 .55em; color: #252d31; line-height: 1.3; }
.article-rich-content p { margin: .85em 0; }
.article-rich-content blockquote, .article-callout { margin: 1.2em 0; padding: 14px 18px; border-left: 3px solid #5d8b80; background: #eef4f1; }
.article-rich-content blockquote cite { display: block; margin-top: 8px; color: #64736f; font-size: 13px; font-style: normal; }
.article-rich-content pre { overflow-x: auto; padding: 16px; color: #eaf0ed; background: #263330; border-radius: 6px; font: 13px/1.65 ui-monospace, Consolas, monospace; }
.article-rich-content code { padding: 2px 5px; background: rgba(67,94,84,.1); border-radius: 3px; font: .9em ui-monospace, Consolas, monospace; }
.article-rich-content pre code { padding: 0; background: transparent; }
.article-table-wrap { overflow-x: auto; margin: 1.2em 0; }
.article-table-wrap table { width: 100%; border-collapse: collapse; }
.article-table-wrap th, .article-table-wrap td { padding: 9px 12px; border: 1px solid #d6dfda; text-align: left; }
.article-table-wrap th { background: #edf2ef; }
.article-rich-content figure { margin: 1.4em 0; }
.article-rich-content figure img { display: block; max-width: 100%; max-height: 720px; margin: auto; object-fit: contain; }
.article-rich-content figcaption { margin-top: 7px; color: #6d7774; font-size: 13px; text-align: center; }
.article-feature-card { display: flex; align-items: center; gap: 18px; margin: 1.4em 0; padding: 20px; border: 1px solid #d8e0dc; border-radius: 7px; background: #fff; box-shadow: 0 8px 24px rgba(31,53,44,.07); }
.article-app-icon { flex: 0 0 68px; width: 68px; height: 68px; object-fit: cover; border-radius: 14px; background: #eef1ef; }
.article-feature-body { min-width: 0; flex: 1; }
.article-feature-body h3 { margin: 0; font-size: 19px; }
.article-feature-body p { margin: 6px 0; color: #59645f; font-size: 14px; }
.article-feature-meta { display: flex; flex-wrap: wrap; gap: 7px; color: #69736f; font-size: 12px; }
.article-feature-meta span { padding: 3px 7px; background: #f0f3f1; border-radius: 3px; }
.article-feature-action { flex: 0 0 auto; padding: 9px 13px; color: #fff; background: #3d7565; border-radius: 4px; font-size: 13px; font-weight: 700; text-decoration: none; }
.article-price { display: flex; align-items: baseline; gap: 8px; }
.article-price strong { font-size: 26px; }
.article-pricing-card ul { margin-bottom: 0; }
@media (max-width: 560px) {
  .article-feature-card { align-items: flex-start; flex-wrap: wrap; gap: 12px; padding: 15px; }
  .article-app-icon { width: 54px; height: 54px; flex-basis: 54px; }
  .article-feature-action { margin-left: 66px; }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .games-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .games-board { grid-template-columns: 1fr; gap: 20px; }
  .games-category-panel { position: static; }
  .games-category-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
  .games-category-list button { flex: 0 0 auto; min-width: 94px; }
  .games-category-list button:hover,
  .games-category-list button.is-active { transform: none; }
  .games-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .game-module-image { min-height: 84px; }
  .game-module-body { padding: 12px 12px 38px; }
  .game-module-body strong { font-size: 17px; }
  .game-module-body p { font-size: 12px; }
  .game-module-action { left: 12px; bottom: 11px; }
  .game-module-category { right: 12px; bottom: 12px; }
}
