.tm-game-picker {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 18px 20px 24px;
  background: #111516;
  border-bottom: 1px solid #ffffff0d;
  font-family: Roboto, Arial, sans-serif;
  letter-spacing: 0;
}
.tm-game-picker::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2bf4766, transparent);
}
/* Keep the chooser over the artwork, clear of the slide navigation. */
.tm-slider-with-picker { position: relative; }
html body :is(#tm-rust-catalog, #tm-pubg-catalog, #tm-tarkov-catalog, #tm-rainbow-six-catalog) { scroll-margin-top: 100px; }
.tm-slider-with-picker .tm-visual-slider { padding-bottom: 24px; }
.tm-slider-with-picker > .tm-game-picker {
  position: absolute;
  z-index: 5;
  inset: auto 0 36px;
  padding: 0 20px;
  background: transparent;
  border: 0;
  pointer-events: none;
}
.tm-slider-with-picker > .tm-game-picker::before { content: none; }
.tm-slider-with-picker > .tm-game-picker > :is(button, dialog) { pointer-events: auto; }
.tm-slider-with-picker .tm-visual-slide { padding-bottom: 112px; }
.tm-slider-with-picker .tm-visual-slide__paper img { max-height: 420px; }
.tm-slider-with-picker .tm-visual-slider__dots { bottom: 108px; }
.tm-game-picker .tm-game-picker__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 56px;
  min-width: 270px;
  max-width: 100%;
  margin: 0;
  padding: 14px 28px;
  border: 1px solid #ffe879;
  border-radius: 8px;
  color: #16180e;
  background: linear-gradient(180deg, #ffe769, #ffc400);
  box-shadow: inset 0 1px 0 #fff8, 0 6px 24px #eec32524;
  font: 700 18px/1.3 Roboto, Arial, sans-serif;
  letter-spacing: 0;
  cursor: pointer;
  transition: box-shadow .18s, filter .18s;
}
.tm-game-picker__trigger:hover { filter: brightness(1.07); box-shadow: inset 0 1px 0 #fff8, 0 8px 28px #eec32545; }
.tm-game-picker__chevron { width: 8px; height: 8px; flex: 0 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.tm-game-picker .tm-game-picker__dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(920px, calc(100% - 32px));
  max-width: none;
  max-height: min(680px, calc(100dvh - 40px));
  margin: auto;
  padding: 24px;
  border: 1px solid #d8bd5b66;
  border-radius: 8px;
  color: #f3f5f4;
  background: #14191b;
  box-shadow: 0 24px 90px #000b;
  overflow: auto;
  overscroll-behavior: contain;
  text-align: left;
}
.tm-game-picker__dialog:not([open]) { display: none; }
.tm-game-picker__dialog::backdrop { background: #05090de0; }
.tm-game-picker__dialog[open] { animation: tmGamePickerIn .2s ease-out; }
.tm-game-picker__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.tm-game-picker__header h2 { margin: 0; color: #fff; font: 700 25px/1.25 Roboto, Arial, sans-serif; letter-spacing: 0; text-transform: none; }
.tm-game-picker .tm-game-picker__close { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 0; margin: 0; border: 1px solid #ffffff24; border-radius: 6px; color: #dce3e1; background: #ffffff06; font: 28px/1 Arial, sans-serif; cursor: pointer; }
.tm-game-picker__close:hover { background: #ffffff15; }
.tm-game-picker__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tm-game-picker .tm-game-picker__game { display: flex; align-items: center; gap: 12px; min-height: 84px; box-sizing: border-box; padding: 9px; border: 1px solid #ffffff1c; border-radius: 6px; background: #202729; color: #f5f7f6; text-decoration: none; font: 700 15px/1.3 Roboto, Arial, sans-serif; letter-spacing: 0; transition: border-color .18s, background .18s; }
.tm-game-picker__game img { width: 74px; height: 64px; flex: 0 0 74px; object-fit: cover; border-radius: 3px; background: #101516; }
.tm-game-picker__game > span:not(.tm-game-picker__arrow) { min-width: 0; overflow-wrap: anywhere; }
.tm-game-picker__arrow { color: #c6d9d3; margin-left: auto; padding-right: 3px; font-size: 18px; }
.tm-game-picker .tm-game-picker__game:hover { border-color: #e5c75b; background: #293335; color: #ffe16a; }
.tm-game-picker :is(button, a):focus-visible { outline: 2px solid #ffe16a; outline-offset: 4px; }
html:has(.tm-game-picker__dialog[open]) { overflow: hidden; }
@keyframes tmGamePickerIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1024px) {
  .tm-slider-with-picker .tm-visual-slide__paper img { max-height: 310px; }
  html body #home:has(> .tm-slider-with-picker) { display: block !important; min-height: 0 !important; height: auto !important; padding: 0 !important; }
  html body #home:has(> .tm-slider-with-picker) > :not(.tm-slider-with-picker) { display: none !important; }
}
@media (max-width: 680px) {
  .tm-game-picker { padding: 14px 16px 18px; }
  .tm-slider-with-picker .tm-visual-slider { padding-bottom: 18px; }
  .tm-slider-with-picker > .tm-game-picker { bottom: 28px; padding: 0 16px; }
  .tm-slider-with-picker .tm-visual-slider__dots { bottom: 96px; }
  .tm-slider-with-picker .tm-visual-slide { padding-bottom: 100px; }
  .tm-game-picker .tm-game-picker__trigger { min-width: 240px; min-height: 52px; font-size: 17px; }
  .tm-game-picker .tm-game-picker__dialog { padding: 16px; width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .tm-game-picker__header { margin-bottom: 16px; }
  .tm-game-picker__header h2 { font-size: 22px; }
  .tm-game-picker__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tm-game-picker .tm-game-picker__game { flex-direction: column; align-items: flex-start; gap: 9px; padding: 9px; min-height: 112px; font-size: 13px; position: relative; }
  .tm-game-picker__game img { width: 100%; height: 64px; flex: 0 0 64px; }
  .tm-game-picker__arrow { display: none; }
}
@media (max-width: 640px) {
  .tm-slider-with-picker .tm-visual-slide__paper img { max-height: 148px; }
}
@media (max-width: 767px) {
  html body :is(#tm-rust-catalog, #tm-pubg-catalog, #tm-tarkov-catalog, #tm-rainbow-six-catalog) { scroll-margin-top: 112px; }
  /* Preserve the lightweight mobile mode without hiding its chooser. */
  html[data-tm-mobile-lite] .tm-slider-with-picker { background: linear-gradient(#fece1ad9, #827019d9), url('/images/mobile-performance-20260906/slider.webp') center / cover; }
  html[data-tm-mobile-lite] .tm-slider-with-picker > .tm-game-picker { position: relative; inset: auto; padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .tm-game-picker__dialog[open] { animation: none; }
  .tm-game-picker :is(button, a) { transition: none; }
}
