.study-ribbon {
  position: fixed;
  z-index: 2147483646;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 24px);
  padding: 8px 14px;
  border: 1px solid rgba(122, 239, 214, .45);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: #11221f;
  color: #c8fff1;
  font: 700 11px/1.2 system-ui, sans-serif;
  letter-spacing: .09em;
  text-align: center;
}
.study-wordmark { color: #e8e5ff; font: 800 18px/1 system-ui, sans-serif; letter-spacing: .08em; }
/* The captured header had compact and desktop logo images. Both are now text,
   so keep only the desktop study wordmark. */
a[aria-label="Layout Study home"] .study-wordmark:first-child { display: none; }
.study-games { width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 10px 0 34px; font-family: system-ui, sans-serif; color: #f3f1ff; }
.study-games__heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.study-games__eyebrow { margin: 0 0 5px; color: #8bf4db; font-size: 11px; font-weight: 850; letter-spacing: .11em; }
.study-games h2 { margin: 0; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.03em; }
.study-games__note { max-width: 410px; margin: 0; color: #a9a6bb; font-size: 13px; line-height: 1.45; text-align: right; }
.study-games__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.study-game { min-width: 0; overflow: hidden; padding: 0 0 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: #1a1d35; color: #f6f4ff; text-align: left; font: 750 12px/1.2 system-ui, sans-serif; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.study-game:hover, .study-game.is-selected { transform: translateY(-3px); border-color: #73e8d1; box-shadow: 0 14px 26px rgba(0,0,0,.28); }
.study-game > span:last-child { display: block; overflow: hidden; padding: 0 10px; text-overflow: ellipsis; white-space: nowrap; }
.study-game__art { display: block; aspect-ratio: .9; margin-bottom: 10px; background-image: linear-gradient(180deg, transparent 48%, rgba(12,14,31,.5)), url("images/banner-casino.webp"); background-position: center, 0% 50%; background-repeat: no-repeat; background-size: cover, 600% auto; }
.study-game__art--2 { background-position: center, 15% 50%; }.study-game__art--3 { background-position: center, 31% 50%; }.study-game__art--4 { background-position: center, 47% 50%; }.study-game__art--5 { background-position: center, 63% 50%; }.study-game__art--6 { background-position: center, 79% 50%; }.study-game__art--7 { background-position: center, 95% 50%; }.study-game__art--8 { background-position: center, 8% 50%; }.study-game__art--9 { background-position: center, 24% 50%; }.study-game__art--10 { background-position: center, 40% 50%; }.study-game__art--11 { background-position: center, 56% 50%; }.study-game__art--12 { background-position: center, 72% 50%; }
.study-games__status { min-height: 20px; margin: 15px 0 0; color: #8bf4db; font-size: 13px; }
@media (max-width: 980px) { .study-games__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .study-games { width: min(100% - 24px, 1200px); } .study-games__heading { align-items: start; flex-direction: column; gap: 8px; } .study-games__note { text-align: left; } .study-games__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.study-auth[hidden] { display: none; }
.study-auth { position: fixed; z-index: 2147483647; inset: 0; display: grid; place-items: center; padding: 20px; font-family: system-ui, sans-serif; }
.study-auth__backdrop { position: absolute; inset: 0; background: rgba(3, 5, 13, .78); backdrop-filter: blur(8px); }
.study-auth__card { position: relative; width: min(100%, 430px); padding: 26px; border: 1px solid rgba(153, 125, 255, .5); border-radius: 18px; background: #171526; color: #f3efff; box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.study-auth__close { position: absolute; top: 13px; right: 13px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: #282440; color: #fff; font-size: 22px; }
.study-auth__eyebrow { margin: 0 0 14px; color: #9d91ff; font-size: 11px; font-weight: 800; letter-spacing: .11em; }
.study-auth__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px; border-radius: 10px; background: #0f0e1a; }
.study-auth__tab { border: 0; border-radius: 7px; padding: 10px; background: transparent; color: #a9a3bf; font-weight: 750; }
.study-auth__tab.is-active { color: #fff; background: #383060; }
.study-auth__panel { display: none; padding-top: 22px; }.study-auth__panel.is-active { display: grid; gap: 12px; }
.study-auth__panel h2 { margin: 0; font-size: 24px; }.study-auth__panel p { margin: -5px 0 4px; color: #b7b1ca; font-size: 13px; line-height: 1.45; }
.study-auth__panel form { display: grid; gap: 12px; }
.study-auth__panel label { display: grid; gap: 6px; color: #d6d1e6; font-size: 13px; font-weight: 700; }
.study-auth__panel input { width: 100%; padding: 12px; border: 1px solid #40395e; border-radius: 8px; background: #211d34; color: #f3efff; }
.study-auth__submit { margin-top: 4px; padding: 12px; border: 0; border-radius: 8px; background: #6455c5; color: #fff; font-weight: 800; cursor: pointer; }
.study-auth__result { min-height: 20px; margin: 14px 0 0; color: #8bf4db; font-size: 13px; line-height: 1.4; }
