html,
body {
  margin: 0;
  padding: 0;
  background: #0c0101;
}
@font-face {
  font-family: "PotterNunito";
  src: url("/media/potter-font-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PotterNunito";
  src: url("/media/potter-font-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
.sp-site {
  --ps-background: #0c0101;
  --ps-surface: #220505;
  --ps-text: #ffe5e1;
  --ps-muted: #c4a29b;
  --ps-line: #58211b;
  --ps-gold: #eeb932;
  --ps-red: #5c0802;
  --ps-red-border: #a42a09;
  --ps-button: linear-gradient(#e6a700, #cb7100);
  --ps-header: linear-gradient(0deg, #130100, #410200);
  --ps-shadow: 0 8px 30px #0008;
  font-family: "PotterNunito", "Nunito", Arial, sans-serif;
  color: var(--ps-text);
  background: var(--ps-background);
  min-height: 100vh;
  letter-spacing: 0;
}
.sp-site *,
.sp-site *::before,
.sp-site *::after {
  box-sizing: border-box;
}
.sp-site a {
  color: inherit;
  text-decoration: none;
}
.sp-site img {
  display: block;
  max-width: 100%;
}
.sp-site p {
  line-height: 1.75;
  margin: 0 0 20px;
}
.sp-site h1,
.sp-site h2,
.sp-site h3 {
  line-height: 1.25;
  letter-spacing: 0;
}
.sp-header {
  height: 80px;
  background-image: url("/media/potter-header.webp"), var(--ps-header);
  background-size: cover;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: var(--ps-shadow);
}
.sp-logo {
  width: 105px;
  flex-shrink: 0;
  margin: 0 auto 0 5%;
}
.sp-logo img {
  width: 100%;
  height: 60px;
  object-fit: contain;
}
.sp-header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: auto;
}
.sp-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  min-width: 0;
}
.sp-header-nav .sp-nav-link {
  flex-direction: column;
  gap: 3px;
  text-align: center;
}
.sp-nav-link img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.sp-active {
  color: var(--ps-gold) !important;
}
.sp-account {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sp-cta,
.sp-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 40px;
  min-width: 148px;
  padding: 10px 22px;
  border: 3px solid var(--ps-red-border);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  position: relative;
}
.sp-cta {
  background: var(--ps-button);
  box-shadow: inset 0 0 0 1px var(--ps-gold);
  text-shadow: 0 1px var(--ps-red);
  color: var(--ps-text);
}
.sp-login {
  background: var(--ps-red);
}
.sp-cta:hover {
  filter: brightness(1.15);
}
.sp-site .ps-control {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 1px solid var(--ps-line);
  background: var(--ps-surface);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sp-site .ps-control-icon {
  padding: 4px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  flex-shrink: 0;
}
.sp-site :focus-visible {
  outline: 2px solid var(--ps-gold);
  outline-offset: 4px;
}
.sp-drawer-wrap {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
}
.sp-drawer-wrap.sp-open {
  display: block;
}
.sp-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: var(--ps-background);
  opacity: 0.7;
}
.sp-drawer {
  position: relative;
  width: min(330px, 90%);
  height: 100%;
  overflow-y: auto;
  background: var(--ps-surface);
  padding: 22px;
  box-shadow: var(--ps-shadow);
}
.sp-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.sp-drawer-head img {
  width: 100px;
}
.sp-drawer nav {
  display: grid;
  gap: 10px;
}
.sp-drawer .sp-nav-link {
  justify-content: flex-start;
  padding: 10px;
  border-bottom: 1px solid var(--ps-line);
  font-size: 16px;
}
.sp-languages {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}
.sp-languages a[aria-current] {
  color: var(--ps-gold);
}
.sp-hero {
  min-height: 350px;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.sp-hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.sp-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.sp-hero-copy {
  width: 42%;
  margin: 40px 8% 48px auto;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 24px;
  position: relative;
}
.sp-hero h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 12px var(--ps-background);
}
.sp-hero-cta {
  font-size: 19px;
  min-height: 54px;
  max-width: 100%;
  animation: ps-pulse 2.7s ease-in-out infinite;
}
.sp-carousel {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-site .sp-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  padding: 0;
  border: 1px solid var(--ps-gold);
  border-radius: 50%;
  background: var(--ps-surface);
}
.sp-site .sp-selected {
  background: var(--ps-gold);
}
.sp-quick-nav {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding: 20px 20px 28px;
}
.sp-lobby {
  max-width: 1120px;
  margin: auto;
  padding: 12px 28px 44px;
}
.sp-rail {
  margin: 20px 0 42px;
}
.sp-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  font-size: 14px;
}
.sp-section-title h2 {
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.sp-section-title h2 img {
  width: 24px;
  height: 24px;
}
.sp-section-title > a {
  font-weight: 700;
}
.sp-games {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.sp-game {
  aspect-ratio: 1;
  position: relative;
  border-radius: 7px;
  overflow: hidden;
  min-width: 0;
  transition: transform 0.18s ease;
}
.sp-game > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sp-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sp-game span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ps-surface);
  font-size: 11px;
  text-align: center;
  padding: 4px;
  transform: translateY(100%);
  transition: transform 0.18s ease;
}
.sp-game:hover {
  transform: translateY(-4px);
}
.sp-game:hover span {
  transform: translateY(0);
}
.sp-promo {
  position: relative;
  max-width: 780px;
  margin: 40px auto 54px;
  isolation: isolate;
  min-height: 235px;
  display: grid;
  align-items: end;
  text-align: center;
  overflow: hidden;
  border-radius: 7px;
}
.sp-promo > img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sp-promo > div {
  padding: 130px 20px 20px;
}
.sp-promo h2 {
  font-size: 20px;
  margin: 0 0 8px;
  text-shadow: 0 1px 4px var(--ps-background);
}
.sp-article {
  border-top: 1px solid var(--ps-line);
  max-width: 1120px;
  margin: 0 auto;
  padding: 52px 28px 60px;
}
.sp-article-intro {
  max-width: 850px;
  margin: 0 auto 46px;
}
.sp-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--ps-gold);
  font-weight: 800;
}
.sp-article-intro h2 {
  font-size: 30px;
  margin: 12px 0 26px;
}
.sp-article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 48px;
}
.sp-toc nav {
  display: grid;
  gap: 16px;
  font-size: 14px;
  position: sticky;
  top: 108px;
}
.sp-toc a {
  color: var(--ps-muted);
  line-height: 1.5;
}
.sp-toc a:hover {
  color: var(--ps-gold);
}
.sp-lang-inline {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  font-size: 14px;
}
.sp-article-body {
  min-width: 0;
}
.sp-article-body > section {
  margin-bottom: 40px;
  scroll-margin-top: 108px;
}
.sp-article-body h2 {
  font-size: 25px;
  margin: 0 0 20px;
}
.sp-article-body h3 {
  font-size: 18px;
  margin: 0 0 12px;
}
.sp-article-body ul {
  padding-left: 20px;
  line-height: 1.75;
}
.sp-table-wrap {
  width: 100%;
}
.sp-site table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.sp-site th,
.sp-site td {
  padding: 14px 12px;
  border: 1px solid var(--ps-line);
  text-align: left;
  vertical-align: top;
}
.sp-site th {
  background: var(--ps-surface);
  color: var(--ps-gold);
}
.sp-voices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.sp-voices blockquote {
  margin: 0;
  padding: 22px;
  background: var(--ps-surface);
  border: 1px solid var(--ps-line);
  border-radius: 6px;
  font-size: 14px;
}
.sp-voices cite {
  font-style: normal;
  color: var(--ps-gold);
  font-weight: 800;
}
.sp-story {
  padding: 20px 0;
  border-bottom: 1px solid var(--ps-line);
}
.sp-story p {
  font-size: 15px;
}
.sp-site details {
  border-bottom: 1px solid var(--ps-line);
  padding: 18px 0;
}
.sp-site summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}
.sp-site details p {
  margin: 16px 0 0;
  font-size: 15px;
  color: var(--ps-muted);
}
.sp-article-cta {
  text-align: center;
  margin-top: 32px;
}
.sp-footer {
  border-top: 1px solid var(--ps-line);
  background: var(--ps-surface);
  padding: 32px 28px;
  text-align: center;
}
.sp-footer > img {
  margin: auto;
}
.sp-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin: 24px 0;
}
.sp-footer nav img {
  display: none;
}
.sp-footer > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  color: var(--ps-muted);
  font-size: 14px;
}
.sp-footer strong {
  border: 2px solid var(--ps-muted);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}
.sp-footer p {
  font-size: 12px;
  color: var(--ps-muted);
  margin: 20px 0 0;
}
@keyframes ps-pulse {
  50% {
    filter: brightness(1.15);
  }
}
@media (min-width: 1600px) {
  .sp-hero {
    min-height: 400px;
  }
  .sp-hero-copy {
    width: 38%;
    margin-right: 10%;
  }
}
@media (max-width: 1050px) {
  .sp-header {
    gap: 15px;
    padding: 0 18px;
  }
  .sp-logo {
    margin-left: 0;
  }
  .sp-header-nav {
    gap: 16px;
  }
  .sp-account .sp-cta,
  .sp-login {
    min-width: 104px;
    padding: 9px 14px;
  }
  .sp-hero-copy {
    width: 45%;
    margin-right: 5%;
  }
  .sp-hero h1 {
    font-size: 28px;
  }
  .sp-article-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 30px;
  }
}
@media (max-width: 767px) {
  .sp-header {
    height: 65px;
    gap: 10px;
    padding: 0 12px;
  }
  .sp-header-nav {
    display: none;
  }
  .sp-logo {
    width: 77px;
    margin-right: auto;
  }
  .sp-logo img {
    height: 50px;
  }
  .sp-account {
    gap: 7px;
  }
  .sp-account .sp-cta,
  .sp-login {
    font-size: 12px;
    padding: 8px 10px;
    min-width: 72px;
    min-height: 36px;
    border-width: 2px;
  }
  .sp-hero {
    display: block;
    min-height: 0;
    overflow: visible;
    background: var(--ps-background);
  }
  .sp-hero-art {
    position: relative;
    height: 220px;
    z-index: 0;
    overflow: hidden;
  }
  .sp-hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 28% center;
  }
  .sp-hero-copy {
    width: auto;
    margin: 0;
    padding: 22px 20px 52px;
    gap: 18px;
    background: var(--ps-header);
  }
  .sp-hero h1 {
    font-size: 26px;
    max-width: 520px;
  }
  .sp-hero-cta {
    font-size: 17px;
    min-height: 50px;
    width: auto;
    max-width: 100%;
  }
  .sp-carousel {
    bottom: 10px;
  }
  .sp-quick-nav {
    gap: 20px;
    padding: 20px 12px;
  }
  .sp-quick-nav .sp-nav-link {
    font-size: 12px;
    gap: 6px;
  }
  .sp-quick-nav img {
    width: 22px;
    height: 22px;
  }
  .sp-lobby {
    padding: 0 14px 22px;
  }
  .sp-rail {
    margin: 18px 0 30px;
  }
  .sp-section-title {
    margin-bottom: 12px;
  }
  .sp-section-title h2 {
    font-size: 16px;
  }
  .sp-section-title > a {
    font-size: 12px;
  }
  .sp-games {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }
  .sp-promo {
    min-height: 180px;
    margin: 32px 0;
  }
  .sp-promo > div {
    padding-top: 100px;
  }
  .sp-promo h2 {
    font-size: 18px;
  }
  .sp-article {
    padding: 34px 18px 40px;
  }
  .sp-article-intro h2 {
    font-size: 25px;
  }
  .sp-article-intro {
    margin-bottom: 30px;
  }
  .sp-article-layout {
    display: block;
  }
  .sp-toc {
    margin-bottom: 32px;
  }
  .sp-toc nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
  }
  .sp-toc nav a {
    font-size: 13px;
  }
  .sp-lang-inline {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
    gap: 18px;
  }
  .sp-article-body h2 {
    font-size: 23px;
  }
  .sp-article-body > section {
    margin-bottom: 32px;
  }
  .sp-voices {
    grid-template-columns: 1fr;
  }
  .sp-site th,
  .sp-site td {
    padding: 10px 7px;
    font-size: 12px;
  }
  .sp-footer {
    padding: 28px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sp-hero-cta {
    animation: none;
  }
  .sp-game,
  .sp-game span {
    transition: none;
  }
}
.sp-header {
  border-bottom: 2px solid #b78025;
}
.sp-logo {
  margin-left: 12px;
}
.sp-header-nav {
  gap: 30px;
}
