:root {
  color-scheme: dark;
  --ink: #06131b;
  --panel: rgba(6, 20, 30, 0.86);
  --panel-strong: rgba(4, 16, 24, 0.94);
  --line: rgba(236, 250, 246, 0.18);
  --line-strong: rgba(245, 211, 135, 0.62);
  --text: #edf9f6;
  --muted: #a8c2c6;
  --gold: #f0c65b;
  --gold-2: #f8dea0;
  --teal: #52e7e9;
  --red: #dc5550;
  --green: #71d28a;
  --blue: #72b8f1;
  --brand-a: #52e7e9;
  --brand-b: #f0c65b;
  --brand-ink: #06131b;
  --brand-glow: rgba(82, 231, 233, 0.34);
  --theme-line: rgba(82, 231, 233, 0.42);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #06131b;
  color: var(--text);
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.launcher {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
}

.backdrop,
.shade {
  position: fixed;
  inset: 0;
  z-index: -2;
}

.backdrop {
  background-image: var(--active-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: opacity 260ms ease, transform 420ms ease, filter 260ms ease;
}

.stage.is-flipping ~ .library-dock,
.stage.is-flipping {
  animation: pageFlip 360ms ease both;
}

@keyframes pageFlip {
  0% {
    opacity: 0.48;
    transform: perspective(1400px) rotateY(-6deg) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: perspective(1400px) rotateY(0) translateY(0);
  }
}

.shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 11, 17, 0.2), rgba(3, 11, 17, 0.58) 42%, rgba(3, 11, 17, 0.9)),
    linear-gradient(180deg, rgba(2, 8, 12, 0.62), rgba(2, 8, 12, 0.18) 42%, rgba(2, 8, 12, 0.78)),
    radial-gradient(circle at 18% 30%, var(--brand-glow), transparent 28%);
}

.topbar {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: start;
  gap: 18px;
  padding: 6px clamp(18px, 4vw, 54px) 30px;
}

.brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 14px 12px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(4, 16, 24, 0.96), rgba(4, 16, 24, 0.74)),
    radial-gradient(circle at 12% 20%, var(--brand-glow), transparent 42%);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22), 0 0 38px var(--brand-glow);
  transform: translateY(-12px);
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 16px var(--brand-glow));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 28px;
  line-height: 1.18;
  background: linear-gradient(90deg, #7cf9ff 0%, #f8dea0 54%, #ffe27a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0.25px rgba(255, 255, 255, 0.34);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.62), 0 0 24px var(--brand-glow), 0 0 18px rgba(248, 222, 160, 0.42);
}

.brand small {
  color: #e8fffb;
  font-weight: 800;
  margin-top: 5px;
  line-height: 1.35;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.62), 0 0 14px var(--brand-glow);
}

.muted,
.kicker,
.stat span,
.path-box label,
.log-line time {
  color: var(--muted);
}

.exclusive-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.exclusive-strip span {
  border: 1px solid var(--theme-line);
  border-radius: 999px;
  color: #f8fff9;
  background:
    linear-gradient(180deg, rgba(3, 13, 20, 0.78), rgba(3, 13, 20, 0.46)),
    radial-gradient(circle at 15% 20%, var(--brand-glow), transparent 62%);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.18);
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
}

.topnav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: rgba(7, 25, 34, 0.62);
  backdrop-filter: blur(12px);
}

.top-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.client-mode .admin-only {
  display: none !important;
}

.ghost,
.icon-btn,
.gold-btn,
.outline-btn,
.segmented button {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid var(--theme-line);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.ghost {
  padding: 0 16px;
  background: transparent;
  color: var(--muted);
}

.ghost.active,
.ghost:hover {
  color: var(--brand-ink);
  background: linear-gradient(180deg, var(--brand-b), var(--brand-a));
  border-color: transparent;
}

.icon-btn {
  width: 42px;
  display: inline-grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(9, 31, 42, 0.86), rgba(9, 31, 42, 0.68)),
    radial-gradient(circle at 25% 15%, var(--brand-glow), transparent 58%);
}

.gold-btn,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  font-weight: 900;
  text-decoration: none;
}

.gold-btn {
  background: linear-gradient(180deg, var(--brand-b), var(--brand-a));
  border-color: var(--theme-line);
  color: var(--brand-ink);
  box-shadow: 0 13px 28px var(--brand-glow);
}

.outline-btn {
  background:
    linear-gradient(180deg, rgba(9, 31, 42, 0.8), rgba(9, 31, 42, 0.62)),
    radial-gradient(circle at 12% 0%, var(--brand-glow), transparent 60%);
  color: var(--text);
}

.large {
  min-height: 54px;
  padding-inline: 22px;
}

.full {
  width: 100%;
}

.ghost:hover,
.icon-btn:hover,
.gold-btn:hover,
.outline-btn:hover,
.segmented button:hover {
  transform: translateY(-1px);
  border-color: var(--theme-line);
}

svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.stage {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 270px);
  padding: 34px clamp(18px, 5vw, 72px) 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
}

.hero-copy {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  max-width: 760px;
  padding-bottom: 48px;
}

.game-identity {
  position: relative;
  overflow: hidden;
  width: min(560px, 100%);
  margin-bottom: 20px;
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(4, 16, 24, 0.78), rgba(4, 16, 24, 0.58)),
    radial-gradient(circle at 15% 16%, var(--brand-glow), transparent 42%);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.26), 0 0 26px var(--brand-glow);
}

.game-identity::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.game-identity img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 255px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 14px 30px rgba(0, 0, 0, 0.3);
}

.game-identity span,
.game-identity strong {
  position: relative;
  z-index: 1;
  display: block;
  text-align: right;
}

.game-identity span {
  color: var(--brand-b);
  font-size: 12px;
  font-weight: 900;
}

.game-identity strong {
  margin-top: 4px;
  font-size: 26px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.kicker {
  margin: 0 0 8px;
  color: var(--brand-b);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.48);
}

.hero-desc {
  max-width: 650px;
  margin-bottom: 22px;
  color: #d8e9e8;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.7;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.meta-row,
.hero-actions,
.panel-head,
.dock-head,
.game-meta,
.top-actions,
.path-box div,
.modal-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meta-row,
.hero-actions {
  flex-wrap: wrap;
}

.meta-row {
  margin-bottom: 24px;
}

.hero-actions {
  margin-top: 8px;
  gap: 12px;
}

.launcher[data-active-game="workers-resources"] .shade {
  background:
    linear-gradient(90deg, rgba(7, 9, 8, 0.12), rgba(20, 10, 8, 0.62) 42%, rgba(3, 7, 8, 0.94)),
    linear-gradient(180deg, rgba(12, 8, 6, 0.72), rgba(12, 8, 6, 0.2) 40%, rgba(3, 7, 8, 0.86)),
    repeating-linear-gradient(135deg, rgba(227, 191, 90, 0.12) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 82% 16%, rgba(185, 66, 50, 0.3), transparent 28%);
}

.launcher[data-active-game="workers-resources"] .stage {
  align-items: start;
}

.launcher[data-active-game="workers-resources"] .game-identity {
  width: min(620px, 100%);
  padding: 12px;
  border-color: rgba(227, 191, 90, 0.68);
  background:
    linear-gradient(135deg, rgba(11, 14, 13, 0.92), rgba(45, 19, 14, 0.76)),
    repeating-linear-gradient(45deg, rgba(227, 191, 90, 0.13) 0 8px, transparent 8px 18px);
}

.launcher[data-active-game="workers-resources"] .game-identity img {
  height: 300px;
  border: 1px solid rgba(227, 191, 90, 0.58);
  filter: saturate(1.08) contrast(1.05);
}

.launcher[data-active-game="workers-resources"] h1 {
  color: #fff4d6;
  text-shadow:
    0 2px 0 rgba(56, 14, 8, 0.76),
    0 18px 42px rgba(0, 0, 0, 0.56),
    0 0 26px rgba(185, 66, 50, 0.32);
}

.launcher[data-active-game="workers-resources"] .control-panel,
.launcher[data-active-game="workers-resources"] .library-dock,
.launcher[data-active-game="workers-resources"] .seo-section {
  background:
    linear-gradient(180deg, rgba(24, 15, 12, 0.9), rgba(4, 11, 13, 0.84)),
    linear-gradient(90deg, rgba(185, 66, 50, 0.08), transparent 42%);
}

.launcher[data-active-game="workers-resources"] .stat,
.launcher[data-active-game="workers-resources"] .checksum-box,
.launcher[data-active-game="workers-resources"] .trust-box {
  background:
    linear-gradient(180deg, rgba(26, 17, 13, 0.88), rgba(8, 17, 18, 0.8)),
    repeating-linear-gradient(90deg, rgba(227, 191, 90, 0.08) 0 1px, transparent 1px 14px);
}

.launcher[data-active-game="workers-resources"] .gold-btn {
  background: linear-gradient(180deg, #f2d472, #d4903f 52%, #b94232);
  color: #190906;
}

.launcher[data-active-game="workers-resources"] .chip,
.launcher[data-active-game="workers-resources"] .exclusive-strip span {
  background:
    linear-gradient(180deg, rgba(38, 20, 14, 0.84), rgba(8, 18, 18, 0.72)),
    radial-gradient(circle at 12% 0%, rgba(227, 191, 90, 0.22), transparent 56%);
}

.chip,
.status-pill {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid var(--theme-line);
  background: rgba(9, 31, 42, 0.72);
}

.source-chip {
  color: var(--brand-b);
  border-color: var(--theme-line);
}

.status-pill[data-status="مكتمل"] {
  color: #ccffd5;
  background: rgba(113, 210, 138, 0.18);
}

.status-pill[data-status="قيد العمل"] {
  color: #c7e8ff;
  background: rgba(114, 184, 241, 0.18);
}

.control-panel {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  min-width: 0;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow), 0 0 30px rgba(0, 0, 0, 0.16), 0 0 24px var(--brand-glow);
  backdrop-filter: blur(16px);
  padding: 22px;
}

.panel-head {
  justify-content: space-between;
  align-items: flex-start;
}

.panel-head h2 {
  margin-bottom: 0;
  font-size: 23px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.stat-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  min-height: 88px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: rgba(7, 24, 34, 0.82);
  padding: 12px;
  display: grid;
  align-content: space-between;
}

.stat strong {
  font-size: 21px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.download-stat {
  background:
    linear-gradient(180deg, rgba(7, 24, 34, 0.86), rgba(7, 24, 34, 0.74)),
    radial-gradient(circle at 18% 12%, var(--brand-glow), transparent 58%);
}

.download-stat strong {
  color: var(--brand-b);
}

.path-box {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.checksum-box {
  margin-top: 14px;
  display: grid;
  gap: 7px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: rgba(5, 18, 27, 0.78);
  padding: 12px;
}

.checksum-box span {
  color: var(--muted);
  font-size: 12px;
}

.checksum-box code {
  direction: ltr;
  text-align: left;
  color: #eafcff;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.checksum-box a {
  width: fit-content;
  color: var(--brand-a);
  font-size: 12px;
  text-decoration: none;
}

.windows-warning {
  margin-top: 12px;
  border: 1px solid rgba(255, 102, 92, 0.74);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(74, 12, 16, 0.82), rgba(33, 6, 9, 0.72)),
    radial-gradient(circle at 92% 18%, rgba(255, 98, 86, 0.32), transparent 58%);
  box-shadow: 0 0 24px rgba(255, 76, 66, 0.16);
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #ffd9d6;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.65;
}

.windows-warning svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: #ff6b63;
  margin-top: 2px;
}

.trust-box {
  margin-top: 12px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: rgba(3, 13, 20, 0.74);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.trust-box div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e8f7f4;
  font-size: 13px;
  font-weight: 900;
}

.trust-box svg {
  width: 18px;
  height: 18px;
  color: var(--brand-b);
}

.path-box div {
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: rgba(5, 18, 27, 0.86);
  padding: 6px;
}

.path-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  direction: ltr;
  text-align: left;
}

.analytics-box {
  margin-top: 14px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: rgba(3, 13, 20, 0.82);
  padding: 12px;
  display: grid;
  gap: 12px;
}

.analytics-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--brand-b);
  font-weight: 900;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.analytics-grid div {
  min-height: 72px;
  border: 1px solid rgba(236, 250, 246, 0.16);
  border-radius: 8px;
  background: rgba(7, 24, 34, 0.78);
  padding: 10px;
  display: grid;
  align-content: space-between;
}

.analytics-grid span,
.analytics-box small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.analytics-grid strong {
  color: #eafcff;
  font-size: 25px;
  line-height: 1;
}

.log-box {
  margin-top: 18px;
  min-height: 132px;
  max-height: 180px;
  overflow: auto;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: rgba(3, 13, 20, 0.9);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.log-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 9px;
  color: #dff5f2;
  font-size: 13px;
}

.library-dock {
  position: relative;
  z-index: 3;
  margin: 0 clamp(18px, 4vw, 54px) 28px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: rgba(4, 16, 24, 0.78);
  backdrop-filter: blur(16px);
  padding: 14px;
  box-shadow: var(--shadow), 0 0 26px var(--brand-glow);
}

.seo-section {
  position: relative;
  z-index: 3;
  margin: 0 clamp(18px, 4vw, 54px) 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(5, 20, 30, 0.86), rgba(5, 20, 30, 0.68)),
    radial-gradient(circle at 15% 10%, var(--brand-glow), transparent 50%);
  box-shadow: var(--shadow), 0 0 28px var(--brand-glow);
}

.seo-section h2 {
  margin: 4px 0 10px;
  color: var(--brand-b);
  font-size: clamp(22px, 2.2vw, 32px);
}

.seo-section p {
  margin: 0;
  max-width: 860px;
  color: var(--text);
  line-height: 1.9;
}

.seo-identity {
  min-height: 100%;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 31, 43, 0.84), rgba(4, 16, 24, 0.58)),
    radial-gradient(circle at 10% 15%, var(--brand-glow), transparent 58%);
}

.identity-mark {
  width: 108px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(3, 13, 20, 0.84), rgba(3, 13, 20, 0.54)),
    radial-gradient(circle at 50% 25%, var(--brand-glow), transparent 58%);
}

.identity-mark img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px var(--brand-glow));
}

.identity-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.identity-copy strong {
  color: var(--brand-b);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.15;
}

.identity-copy span {
  color: var(--text);
  line-height: 1.8;
  font-weight: 800;
}

.identity-link {
  grid-column: 1 / -1;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  color: var(--brand-ink);
  background: linear-gradient(180deg, var(--brand-b), var(--brand-a));
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px var(--brand-glow);
}

.discord-link {
  color: #f3f6ff;
  background:
    linear-gradient(180deg, rgba(88, 101, 242, 0.96), rgba(53, 66, 190, 0.92)),
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.22), transparent 56%);
}

.library-map-btn {
  min-height: 44px;
  white-space: nowrap;
}

.dock-head {
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.search-box {
  min-height: 44px;
  min-width: min(520px, 100%);
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: rgba(7, 24, 34, 0.88);
  padding: 0 12px;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: rgba(7, 24, 34, 0.88);
  overflow-x: auto;
}

.segmented button {
  padding: 0 12px;
  white-space: nowrap;
  color: var(--muted);
  background: transparent;
}

.segmented button.active {
  color: var(--brand-ink);
  background: linear-gradient(180deg, var(--brand-b), var(--brand-a));
  border-color: transparent;
}

.rail-status {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  color: var(--brand-b);
  background:
    linear-gradient(180deg, rgba(7, 24, 34, 0.88), rgba(7, 24, 34, 0.58)),
    radial-gradient(circle at 18% 10%, var(--brand-glow), transparent 56%);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.game-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  gap: 12px;
  align-items: center;
}

.carousel-btn {
  min-height: 316px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  color: var(--brand-b);
  background:
    linear-gradient(180deg, rgba(7, 24, 34, 0.9), rgba(7, 24, 34, 0.56)),
    radial-gradient(circle at 50% 10%, var(--brand-glow), transparent 58%);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.carousel-btn:hover {
  transform: translateY(-1px);
  color: var(--brand-ink);
  background: linear-gradient(180deg, var(--brand-b), var(--brand-a));
}

.carousel-btn:disabled,
.carousel-btn.is-disabled {
  opacity: 0.42;
  cursor: default;
  transform: none;
}

.gold-btn.is-disabled {
  opacity: 0.68;
  cursor: default;
  pointer-events: none;
  filter: saturate(0.7);
}

.orbit-viewport {
  position: relative;
  min-height: 328px;
  overflow: hidden;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, var(--brand-glow), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(2, 10, 16, 0.54), rgba(2, 10, 16, 0.9));
  perspective: 1400px;
  cursor: grab;
}

.orbit-viewport:active {
  cursor: grabbing;
}

.orbit-viewport::before {
  content: "";
  position: absolute;
  inset: 28px 9%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transform: rotateX(68deg);
  box-shadow: 0 0 34px var(--brand-glow);
  pointer-events: none;
}

.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border: 1px solid var(--theme-line);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(3, 13, 20, 0.82), rgba(3, 13, 20, 0.5)),
    radial-gradient(circle at 50% 26%, var(--brand-glow), transparent 62%);
  box-shadow: 0 0 42px var(--brand-glow), inset 0 0 28px rgba(255, 255, 255, 0.06);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.52;
}

.orbit-core img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px var(--brand-glow));
}

.game-rail {
  position: absolute;
  inset: 0;
  display: block;
  min-width: 0;
  overflow: visible;
  transform-style: preserve-3d;
  z-index: 2;
}

.game-rail:focus-visible {
  outline: 2px solid var(--brand-b);
  outline-offset: 4px;
}

.game-card {
  --orbit-transform: rotateY(0deg) translateZ(340px) rotateY(0deg);
  --card-opacity: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(230px, 23vw, 306px);
  height: 198px;
  overflow: hidden;
  border: 1px solid var(--card-line, rgba(236, 250, 246, 0.16));
  border-radius: 8px;
  background: rgba(2, 10, 16, 0.92);
  text-align: right;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  display: grid;
  align-content: stretch;
  transform: translate(-50%, -50%) var(--orbit-transform);
  transform-style: preserve-3d;
  opacity: var(--card-opacity);
  z-index: var(--card-z, 1);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.36), 0 0 18px color-mix(in srgb, var(--card-glow, transparent) 70%, transparent);
  transition: transform 420ms ease, opacity 420ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, rgba(2, 10, 16, 0.7) 58%, rgba(2, 10, 16, 0.96)),
    linear-gradient(90deg, rgba(2, 10, 16, 0.66), transparent 54%);
  pointer-events: none;
}

.game-card-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  pointer-events: none;
}

.game-card-body {
  position: absolute;
  inset: auto 12px 12px 12px;
  z-index: 2;
  display: grid;
  gap: 7px;
  pointer-events: none;
}

.card-kicker {
  width: fit-content;
  max-width: 100%;
  justify-self: end;
  color: var(--card-brand-b, var(--brand-b));
  font-size: 11px;
  font-weight: 900;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.game-card .status-pill {
  justify-self: end;
  border-color: var(--card-line, var(--theme-line));
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--card-brand-a, var(--brand-a)) 28%, transparent), color-mix(in srgb, var(--card-brand-b, var(--brand-b)) 18%, transparent)),
    rgba(3, 13, 20, 0.62);
}

.game-card:hover {
  border-color: var(--card-brand-b, var(--brand-b));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42), 0 0 28px var(--card-glow, var(--brand-glow));
}

.game-card.active {
  border-color: var(--card-brand-b, var(--brand-b));
  box-shadow: inset 0 0 0 1px var(--card-line, var(--theme-line)), 0 0 42px var(--card-glow, var(--brand-glow)), 0 22px 48px rgba(0, 0, 0, 0.42);
}

.game-card h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.game-meta {
  flex-wrap: wrap;
  color: #edf8f6;
  font-size: 12px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.game-rail .empty-state {
  position: absolute;
  inset: 24px;
  min-height: 176px;
}

.modal {
  width: min(820px, calc(100vw - 28px));
  color: var(--text);
  padding: 0;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: var(--shadow), 0 0 26px var(--brand-glow);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(5px);
}

.modal-head {
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--theme-line);
}

.modal-head h2 {
  margin: 0;
}

.modal-intro {
  margin: 0;
  padding: 14px 18px 0;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 800;
}

.install-layout {
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 18px;
  line-height: 1.8;
}

.install-layout ol {
  margin: 0;
  padding-inline-start: 24px;
}

#installNotes {
  color: #ff8a82;
  font-weight: 900;
  line-height: 1.9;
  white-space: pre-wrap;
  text-shadow: 0 0 16px rgba(255, 76, 66, 0.24);
}

.patch-form {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.patch-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.patch-form .wide {
  grid-column: 1 / -1;
}

.patch-form input,
.patch-form select,
.patch-form textarea {
  width: 100%;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: rgba(3, 13, 20, 0.9);
  color: var(--text);
  outline: 0;
  padding: 11px 12px;
}

.patch-form textarea {
  resize: vertical;
}

.patch-form .bot-field {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.patch-form button:disabled {
  cursor: wait;
  filter: saturate(0.7);
  opacity: 0.72;
}

.requests-modal {
  width: min(980px, calc(100vw - 28px));
}

.requests-toolbar {
  padding: 14px 16px 0;
  display: flex;
  justify-content: flex-start;
}

.requests-list {
  padding: 16px;
  max-height: min(620px, calc(100vh - 190px));
  overflow: auto;
  display: grid;
  gap: 12px;
}

.all-games-modal {
  width: min(1180px, calc(100vw - 28px));
}

.all-games-grid {
  padding: 16px;
  max-height: min(680px, calc(100vh - 210px));
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.all-game-card {
  min-height: 238px;
  cursor: pointer;
  border: 1px solid var(--card-line, var(--theme-line));
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(3, 13, 20, 0.44), rgba(3, 13, 20, 0.9)),
    var(--card-bg, rgba(7, 24, 34, 0.9));
  background-size: cover;
  color: var(--text);
  text-decoration: none;
  text-align: right;
  padding: 10px;
  display: grid;
  grid-template-rows: 116px auto auto auto;
  gap: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 12px 28px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.all-game-card:hover,
.all-game-card.active {
  transform: translateY(-3px);
  border-color: var(--card-brand-b, var(--brand-b));
  box-shadow: 0 0 28px var(--card-glow, var(--brand-glow)), 0 18px 34px rgba(0, 0, 0, 0.32);
}

.all-game-card img {
  width: 100%;
  height: 116px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.all-game-card .status-pill {
  width: fit-content;
  justify-self: start;
}

.all-game-card strong {
  font-size: 18px;
  line-height: 1.35;
}

.all-game-card small,
.all-game-card em {
  color: #d6ece8;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.request-card {
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: rgba(3, 13, 20, 0.9);
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 12px;
}

.request-card h3 {
  margin: 4px 0 8px;
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.request-card p {
  margin: 10px 0;
  color: #e6f7f5;
  line-height: 1.8;
  white-space: pre-wrap;
}

.request-card a {
  color: var(--brand-b);
  font-weight: 900;
}

.request-date {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.request-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.request-meta span {
  border: 1px solid rgba(236, 250, 246, 0.16);
  border-radius: 999px;
  color: #dff5f2;
  background: rgba(236, 250, 246, 0.06);
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
}

.empty-state {
  border: 1px dashed var(--theme-line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(3, 13, 20, 0.72);
  padding: 24px;
  text-align: center;
  font-weight: 900;
}

.toast {
  position: fixed;
  z-index: 10;
  inset-inline: 24px auto;
  bottom: 24px;
  max-width: min(420px, calc(100vw - 48px));
  padding: 12px 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--brand-b), var(--brand-a));
  color: var(--brand-ink);
  font-weight: 900;
  box-shadow: var(--shadow), 0 0 28px var(--brand-glow);
  transform: translateY(120px);
  transition: transform 180ms ease;
}

.toast.show {
  transform: translateY(0);
}


@media (max-width: 1080px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .brand,
  .topnav,
  .top-actions {
    justify-self: stretch;
  }

  .topnav,
  .top-actions {
    overflow-x: auto;
  }

  .stage {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .seo-section {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .control-panel {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .launcher,
  .stage,
  .hero-copy,
  .control-panel {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .library-dock,
  .seo-section {
    width: auto;
    max-width: none;
    overflow-x: hidden;
  }

  .stage {
    padding-top: 18px;
  }

  .hero-copy {
    padding-bottom: 10px;
    justify-self: stretch;
    text-align: right;
  }

  .game-identity img {
    height: 180px;
  }

  .control-panel,
  .library-dock,
  .seo-section {
    padding: 12px;
  }

  .topnav,
  .top-actions,
  .hero-actions,
  .meta-row {
    flex-wrap: wrap;
  }

  .topnav {
    width: 100%;
  }

  .topnav .ghost {
    flex: 1 1 30%;
    padding-inline: 8px;
  }

  .top-actions {
    justify-content: flex-start;
  }

  .hero-actions .large {
    flex: 1 1 100%;
  }

  .stat-grid,
  .patch-form,
  .install-layout {
    grid-template-columns: 1fr;
  }

  .game-carousel {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }

  .carousel-btn {
    min-height: 250px;
  }

  .orbit-viewport {
    min-height: 250px;
  }

  .game-card {
    width: min(72vw, 260px);
    height: 168px;
  }

  .orbit-core {
    width: 86px;
    height: 86px;
  }

  .orbit-core img {
    width: 62px;
    height: 62px;
  }

  h1 {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.18;
  }

  .hero-desc {
    font-size: 14px;
  }
}

/* Asmar UX refresh: calmer hierarchy, less glow, clearer reading paths. */
:root {
  --ink: #101312;
  --panel: rgba(14, 20, 21, 0.88);
  --panel-strong: rgba(15, 21, 22, 0.96);
  --line: rgba(226, 232, 225, 0.14);
  --line-strong: rgba(224, 190, 116, 0.5);
  --text: #f4f1e9;
  --muted: #aeb8b2;
  --gold: #dcb86f;
  --gold-2: #ead7a7;
  --teal: #68d5cf;
  --red: #e06a60;
  --green: #7fc79a;
  --blue: #91bce2;
  --brand-glow: rgba(104, 213, 207, 0.12);
  --theme-line: rgba(224, 190, 116, 0.28);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

body {
  background: #101312;
  max-width: 100%;
  overflow-x: hidden;
}

.launcher {
  background:
    linear-gradient(180deg, rgba(16, 19, 18, 0.9), rgba(16, 19, 18, 0.98)),
    #101312;
  max-width: 100%;
  overflow-x: hidden;
}

.backdrop {
  opacity: 0.25;
  transform: none;
  filter: saturate(0.82) contrast(0.92) brightness(0.72) !important;
}

.shade {
  background:
    linear-gradient(90deg, rgba(16, 19, 18, 0.94), rgba(16, 19, 18, 0.78) 44%, rgba(16, 19, 18, 0.94)),
    linear-gradient(180deg, rgba(16, 19, 18, 0.88), rgba(16, 19, 18, 0.7) 42%, rgba(16, 19, 18, 0.96));
}

.stage.is-flipping,
.stage.is-flipping ~ .library-dock {
  animation: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  padding: 14px clamp(24px, 4vw, 58px);
  background: rgba(16, 19, 18, 0.88);
  border-bottom: 1px solid rgba(226, 232, 225, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  transform: none;
  min-height: 64px;
  padding: 8px 12px;
  border-color: rgba(224, 190, 116, 0.2);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.brand img {
  width: 46px;
  height: 46px;
  filter: none;
}

.brand strong {
  color: var(--gold-2);
  background: none;
  -webkit-text-stroke: 0;
  text-shadow: none;
  font-size: 22px;
}

.brand small {
  color: var(--muted);
  text-shadow: none;
  font-size: 12px;
  font-weight: 700;
}

.topnav {
  border-color: rgba(226, 232, 225, 0.11);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.top-actions {
  align-self: center;
}

.ghost,
.icon-btn,
.gold-btn,
.outline-btn,
.segmented button,
.carousel-btn,
.identity-link {
  border-radius: 8px;
  box-shadow: none;
}

.ghost {
  min-height: 38px;
  padding: 0 14px;
  color: #c6cec8;
}

.ghost.active,
.ghost:hover,
.segmented button.active {
  color: #12140f;
  background: linear-gradient(180deg, #ead7a7, #6ed8cf);
}

.icon-btn,
.outline-btn {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(226, 232, 225, 0.14);
}

.gold-btn {
  background: linear-gradient(180deg, #ead7a7, #72d8d0);
  color: #101312;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.stage {
  width: min(100%, 1580px);
  min-height: auto;
  margin: 0 auto;
  padding: 34px clamp(24px, 4vw, 58px) 24px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: clamp(22px, 3vw, 42px);
  align-items: start;
}

.hero-copy {
  grid-column: 2;
  grid-row: 1;
  max-width: none;
  padding: 18px;
  border: 1px solid rgba(226, 232, 225, 0.12);
  border-radius: 8px;
  background: rgba(16, 19, 18, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.exclusive-strip {
  margin-bottom: 14px;
  gap: 6px;
}

.exclusive-strip span,
.chip,
.status-pill {
  min-height: 28px;
  border-color: rgba(226, 232, 225, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: #e8e4d9;
  box-shadow: none;
}

.game-identity {
  width: 100%;
  margin-bottom: 18px;
  padding: 8px;
  border-color: rgba(226, 232, 225, 0.12);
  background: rgba(0, 0, 0, 0.22);
  box-shadow: none;
}

.game-identity img {
  height: 198px;
  border-radius: 6px;
  box-shadow: none;
  filter: saturate(0.98) contrast(1.02);
}

.game-identity span {
  color: var(--gold);
}

.game-identity strong {
  color: #fff8e5;
  font-size: 22px;
}

.kicker {
  color: var(--gold);
  font-size: 12px;
}

h1 {
  margin-bottom: 12px;
  color: #fff8e5;
  font-size: clamp(32px, 2.8vw, 44px);
  line-height: 1.14;
  text-shadow: none;
}

.hero-desc {
  max-width: none;
  margin-bottom: 18px;
  color: #d7ddd7;
  font-size: 15px;
  line-height: 1.72;
  text-shadow: none;
}

.meta-row {
  margin-bottom: 20px;
  gap: 7px;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.hero-actions .large {
  min-height: 50px;
}

.control-panel {
  grid-column: 1;
  grid-row: 1;
  border-color: rgba(226, 232, 225, 0.12);
  background: rgba(16, 19, 18, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  padding: 20px;
}

.panel-head {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(226, 232, 225, 0.1);
}

.panel-head h2 {
  color: #fff8e5;
  font-size: 26px;
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.stat,
.checksum-box,
.trust-box,
.path-box div,
.analytics-box,
.log-box {
  border-color: rgba(226, 232, 225, 0.1);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.stat {
  min-height: 80px;
}

.stat strong {
  color: #fff8e5;
  font-size: 20px;
}

.download-stat strong,
.checksum-box a,
.analytics-head,
.trust-box svg {
  color: var(--gold);
}

.checksum-box code {
  color: #f2f6f0;
}

.windows-warning {
  border-color: rgba(224, 106, 96, 0.34);
  background: rgba(80, 25, 22, 0.28);
  box-shadow: none;
  color: #ffd9d5;
  font-weight: 800;
}

.trust-box div {
  color: #e4e8e2;
  font-weight: 800;
}

.log-box {
  max-height: 150px;
}

.library-dock,
.seo-section {
  width: min(calc(100% - 48px), 1580px);
  margin-inline: auto;
  border-color: rgba(226, 232, 225, 0.12);
  background: rgba(16, 19, 18, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.library-dock {
  margin-top: 4px;
  padding: 16px;
}

.dock-head {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  gap: 12px;
}

.search-box,
.segmented,
.rail-status {
  border-color: rgba(226, 232, 225, 0.12);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.search-box {
  min-width: 0;
}

.segmented button {
  min-height: 36px;
}

.rail-status {
  color: var(--gold);
}

.game-carousel {
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  gap: 10px;
}

.carousel-btn {
  min-height: 250px;
  color: var(--gold);
  border-color: rgba(226, 232, 225, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.carousel-btn:hover {
  color: #101312;
  background: linear-gradient(180deg, #ead7a7, #72d8d0);
}

.orbit-viewport {
  min-height: 252px;
  border-color: rgba(226, 232, 225, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.12)),
    rgba(9, 11, 10, 0.6);
  box-shadow: none;
}

.orbit-viewport::before {
  display: none;
}

.orbit-core {
  width: 82px;
  height: 82px;
  opacity: 0.16;
  border-color: rgba(226, 232, 225, 0.12);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.orbit-core img {
  width: 58px;
  height: 58px;
  filter: none;
}

.game-card {
  width: clamp(220px, 20vw, 276px);
  height: 176px;
  border-color: rgba(226, 232, 225, 0.14);
  background: #111615;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.game-card::after {
  background:
    linear-gradient(180deg, transparent 18%, rgba(8, 10, 9, 0.56) 56%, rgba(8, 10, 9, 0.94)),
    linear-gradient(90deg, rgba(8, 10, 9, 0.46), transparent 58%);
}

.game-card-art {
  filter: saturate(0.96) contrast(0.98);
}

.game-card:hover,
.game-card.active {
  border-color: rgba(234, 215, 167, 0.76);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
}

.game-card.active {
  outline: 2px solid rgba(234, 215, 167, 0.42);
  outline-offset: 2px;
}

.card-kicker {
  color: var(--gold);
  text-shadow: none;
}

.game-card h3 {
  font-size: 17px;
  text-shadow: none;
}

.game-meta {
  color: #dfe5dd;
  text-shadow: none;
}

.seo-section {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  margin-top: 22px;
  margin-bottom: 34px;
  background: rgba(16, 19, 18, 0.76);
}

.seo-section h2,
.identity-copy strong {
  color: var(--gold-2);
}

.seo-section p,
.identity-copy span {
  color: #dce2dc;
  font-weight: 700;
}

.seo-identity,
.identity-mark {
  border-color: rgba(226, 232, 225, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.identity-mark img {
  filter: none;
}

.modal {
  border-color: rgba(226, 232, 225, 0.14);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.toast {
  box-shadow: var(--shadow);
}

.launcher[data-active-game="workers-resources"] .shade,
.launcher[data-active-game="workers-resources"] .control-panel,
.launcher[data-active-game="workers-resources"] .library-dock,
.launcher[data-active-game="workers-resources"] .seo-section,
.launcher[data-active-game="workers-resources"] .game-identity,
.launcher[data-active-game="workers-resources"] .stat,
.launcher[data-active-game="workers-resources"] .checksum-box,
.launcher[data-active-game="workers-resources"] .trust-box {
  background-color: rgba(16, 19, 18, 0.78);
  background-image: none;
}

.launcher[data-active-game="workers-resources"] .game-identity {
  border-color: rgba(224, 190, 116, 0.24);
}

.launcher[data-active-game="workers-resources"] .game-identity img {
  height: 198px;
  border: 0;
  filter: saturate(0.96) contrast(1);
}

.launcher[data-active-game="workers-resources"] h1 {
  color: #fff8e5;
  text-shadow: none;
}

.launcher[data-active-game="workers-resources"] .gold-btn {
  background: linear-gradient(180deg, #ead7a7, #72d8d0);
  color: #101312;
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .brand,
  .topnav,
  .top-actions {
    justify-self: stretch;
  }

  .stage {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .control-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dock-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    direction: ltr;
  }

  .launcher,
  .modal {
    direction: rtl;
  }

  .topbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    padding: 12px;
    gap: 10px;
  }

  .brand {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    min-width: 0;
    justify-content: flex-start;
  }

  .brand span {
    min-width: 0;
  }

  .brand strong,
  .brand small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topnav {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    overflow: hidden;
  }

  .topnav .ghost {
    min-width: 0;
    padding-inline: 6px;
    font-size: 13px;
  }

  .stage {
    width: 100vw;
    max-width: 100vw;
    padding: 18px 12px 14px;
    overflow-x: hidden;
  }

  .library-dock,
  .seo-section {
    width: calc(100% - 24px);
  }

  .hero-copy,
  .control-panel,
  .library-dock,
  .seo-section {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 14px;
    overflow-x: hidden;
  }

  .exclusive-strip {
    justify-content: flex-start;
  }

  .exclusive-strip span {
    max-width: 100%;
  }

  .game-identity img,
  .launcher[data-active-game="workers-resources"] .game-identity img {
    height: 164px;
    max-width: 100%;
  }

  h1 {
    font-size: 29px;
  }

  .game-carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }

  .carousel-btn,
  .orbit-viewport {
    min-height: 214px;
  }

  .game-card {
    width: min(72vw, 238px);
    height: 156px;
  }

  .seo-section,
  .seo-identity {
    grid-template-columns: 1fr;
  }
}
