@font-face {
  font-family: Rubik;
  src: url('/fonts/Rubik/rubik3.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Rubik;
  src: url('/fonts/Rubik/rubik6.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212;
}
@font-face {
  font-family: Hagin;
  src: url('/fonts/Hagin2/Hagin.woff2') format('woff2');
  font-display: swap;
}

:root {
  --page: #eaf5fd;
  --paper: #f7fbff;
  --ink: #234260;
  --muted: #4b6581;
  --rule: #ccdfef;
  --blue: #316793;
  --frame: 1216px;
  scroll-behavior: smooth;
  scroll-padding-top: 103px;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 14px/1.52 Rubik, Arial, sans-serif;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Hagin, Georgia, serif; font-weight: 400; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid #3884b8;
  outline-offset: 4px;
}
[hidden] { display: none !important; }
[id] { scroll-margin-top: 20px; }
.frame { width: min(var(--frame), 100% - 72px); margin-inline: auto; }

.masthead {
  position: sticky;
  z-index: 5;
  top: 0;
  height: 0;
  color: #f5fbff;
}
.masthead > .frame { transform: translateY(21px); }
.masthead-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 65px;
  gap: 16px;
  padding: 8px 18px;
  color: #173652;
  border: 1px solid #b5d4ea;
  border-radius: 12px;
  background: #eaf6ffef;
  box-shadow: 0 5px 18px #132e502b;
}
.brand { display: flex; align-items: center; gap: 8px; justify-self: start; }
.brand img { object-fit: contain; }
.brand h1 { font-size: 31px; line-height: .98; }
.main-nav, .main-nav-resources, .account-links { display: flex; align-items: center; }
.main-nav { gap: 6px; }
.main-nav-resources { gap: inherit; }
.account-links { gap: 8px; justify-self: end; font-size: 13px; }
.account-trainer { display: flex; align-items: center; gap: 6px; min-width: 0; color: #294d6d; }
.account-trainer img { flex: none; border-radius: 50%; background: #deedf9; object-fit: cover; }
.account-trainer span { max-width: 112px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-links .PPUIButton { position: relative; }
.main-nav a, .join-link { display: block; color: #294d6d; padding: 7px 11px; border-radius: 7px; white-space: nowrap; }
.main-nav a:hover, .join-link:hover { background: #d5e9f8; color: #173e61; }
.main-nav a[aria-current="location"] { background: #c9e4f7; color: #16496f; font-weight: 500; }
.masthead a:focus-visible { outline-color: #437cab; }
.HomepagePage .masthead .mobile-nav-toggle, .main-nav .mobile-account-link { display: none; }

.event { position: relative; }
.event-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 690px;
  min-height: max(650px, 100svh);
  overflow: hidden;
  background: #193c67;
}
.event-art { position: absolute; z-index: -3; inset: -7px; display: block; }
.event-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 52%; }
.event-stage::before, .event-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.event-stage::before {
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 85%, #337fba73 0%, transparent 62%),
    linear-gradient(90deg, #112845f5 0%, #193963d9 26%, #1e4d7d55 57%, transparent 80%),
    linear-gradient(0deg, #164778d1, transparent 42%);
}
.event-stage::after {
  inset: auto -2% -28px;
  height: clamp(71px, 9.5vh, 124px);
  border-radius: 56% 45% 0 0 / 55% 65% 0 0;
  background: var(--page);
  transform: rotate(-1.6deg);
}
.event-curator {
  position:absolute;
  z-index:-1;
  width:min(63vw,92vh,940px);
  height:auto;
  right:max(0px,calc((100% - var(--frame)) / 2 - 34px));
  bottom:28px;
  filter:drop-shadow(12px 12px 25px #132c5478);
  pointer-events:none;
}
.event-content { padding-block: 136px 160px; }
.event-main { width: min(56%, 680px); color: #f7fbff; }
.event-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid #a8d8ff73;
  border-radius: 50px;
  background: #4e97d23b;
  color: #e3f5ff;
  font-size: 12px;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.event h2 {
  margin-block: 18px 19px;
  font-size: clamp(63px, 7.3vw, 118px);
  line-height: .89;
  text-shadow: 0 3px 23px #101e3a71;
}
.event h2 span { display: block; color: #bfe4ff; }
.event-summary {
  max-width: 325px;
  margin: 0 0 22px;
  color: #eef8ff;
  font-size: 17px;
  text-shadow: 0 2px 9px #11284d;
}
.event-countdown { width: fit-content; margin: 0 0 17px; }
.event-countdown p { margin: 0 0 7px; color: #e8f6ff; font-size: 13px; text-shadow: 0 1px 5px #173c61; }
.event-countdown time { color: #fff; font-weight: 500; }
.event-countdown dl { display: grid; grid-template-columns: repeat(4,minmax(45px,1fr)); gap: 6px; margin: 0; }
.event-countdown dl > div { display: flex; flex-direction: column-reverse; min-width: 0; align-items: center; padding: 5px 7px; border: 1px solid #91c9f370; border-radius: 8px; background: #1a4267d9; }
.event-countdown dt { color: #bfe0f7; font-size: 10px; line-height: 1.25; }
.event-countdown dd { margin: 0 0 2px; color: #fff; font-size: 21px; line-height: 1.02; font-variant-numeric: tabular-nums; }
.event-link { position: relative; }

.event-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: end;
  align-items: end;
  gap: 24px;
  min-height: 116px;
  margin-top: -120px;
}
.event-socials {
  position: absolute;
  top: 86px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: translateY(-50%);
}
.HomepagePage .event-socials .PPUIButton {
  --pp-action-bg: #247db3;
  --pp-action-ink: #fff;
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: 0 3px 10px #1a416746 !important;
}
.HomepagePage .event-socials .PPUIButton:last-child { --pp-action-bg: #386fc0; }
.HomepagePage .event-socials .PPUIButton:hover { --pp-action-bg: #245b94; --pp-action-ink: #fff; }
.event-socials i { font-size: 18px; line-height: 1; }
.reward-strip {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 149px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  width: min(100%, 471px);
  min-height: 116px;
  padding: 12px 16px 12px 12px;
  overflow: hidden;
  border: 1px solid #c6e5fc;
  border-radius: 25px;
  background: linear-gradient(114deg, #daeeff, #f4faff 77%);
  box-shadow: 0 10px 26px #2a67962e;
}
.reward-strip::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 158px;
  height: 135px;
  left: 6px;
  top: -11px;
  border-radius: 50%;
  border: 1px solid #aecfe966;
  box-shadow: 0 0 0 10px #a7d1f327, 0 0 0 21px #a7d1f317;
  transform: rotate(-9deg);
}
.reward-art { position: relative; min-height: 89px; }
.reward-art img { position: absolute; height: auto; object-fit: contain; filter: drop-shadow(0 4px 5px #254c763b); }
.reward-treats { width: 59px; top: 2px; left: 1px; transform: rotate(-9deg); }
.reward-chest { width: 103px; top: -6px; left: 40px; }
.reward-crystal { width: 55px; top: 36px; left: 7px; transform: rotate(8deg); }
.reward-strip h3 { font-size: 28px; line-height: 1.03; margin-bottom: 5px; }
.reward-strip p { color: #3e5d7c; font-size: 13px; }
.hero-activity .hero-activity-art {
  width: 128px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero-activity-counts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 0; }
.hero-activity-counts > div + div { border-inline-start: 1px solid #bbd8ec; padding-inline-start: 13px; }
.hero-activity-counts dt { color: #456984; font-size: 12px; line-height: 1.3; }
.hero-activity-online::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-inline-end: 5px; border-radius: 50%; background: #53ab8d; vertical-align: 1px; }
.hero-activity-counts dd { margin: 5px 0 0; color: #234e71; font-size: 26px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }

.publication-board {
  display: grid;
  grid-template-columns: minmax(0, 1.23fr) minmax(0, 1fr);
  gap: clamp(28px, 4.3vw, 57px);
  align-items: start;
  padding-block: 49px 65px;
}
.about-game { margin-bottom: 48px; }
.season-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  align-items: center;
  gap: 25px;
  padding: clamp(18px, 3vw, 36px);
  margin-bottom: 48px;
  border: 1px solid #c6e0f3;
  border-radius: 25px;
  background: linear-gradient(120deg, #f1faff, #dcedfb);
}
.season-copy h2 { font-size: clamp(35px, 3.6vw, 52px); line-height: 1; }
.season-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 12px; }
.season-copy .season-label { margin-bottom: 7px; color: #36698f; font-size: 13px; }
.season-soon { padding: 5px 10px; border-radius: 30px; background: #cee5f9; color: #23577a; font-size: 13px; }
.season-copy h3 { margin: 16px 0 4px; font: 500 17px/1.35 Rubik, Arial, sans-serif; }
.season-copy p { max-width: 50ch; color: var(--muted); font-size: 15px; }
.season-preview { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.season-preview img { display: block; width: 100%; height: auto; border-radius: 15px; box-shadow: 0 6px 18px #244b6d35; }
.season-section .reward-strip { grid-column: 1; width: 100%; }
.season-event {
  grid-column: 1 / -1;
  padding: 16px 19px;
  border: 1px solid #c7e0f2;
  border-radius: 13px;
  background: #f3faffc9;
}
.season-event h3 { font-size: clamp(23px, 2.25vw, 31px); line-height: 1.12; }
.season-event p { max-width: 72ch; margin-top: 6px; color: var(--muted); }
.about-game .board-heading { gap: 12px 20px; }
.about-intro { max-width: 62ch; margin-top: 8px; color: var(--muted); font-size: 15px; }
.about-slide {
  --about-shade: #183b3e;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(325px, 32vw, 390px);
  overflow: hidden;
  border-radius: 25px;
  background: var(--about-shade);
  color: #f8fbff;
}
.about-slide-team { --about-shade: #264f54; }
.about-slide-battle { --about-shade: #253b63; }
.about-slide-story { --about-shade: #223e57; }
.about-slide::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, var(--about-shade) 3%, color-mix(in srgb, var(--about-shade), transparent 10%) 32%, transparent 69%);
}
.about-scene {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-pokemon {
  position: absolute;
  bottom: 8%;
  right: 12%;
  width: clamp(140px, 25%, 280px);
  height: 81%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px #142c5055);
  pointer-events: none;
}
.about-shot {
  position: absolute;
  top: 50%;
  right: 4.5%;
  width: 50%;
  max-height: 75%;
  object-fit: contain;
  border: 1px solid #bfe2ff66;
  border-radius: 11px;
  box-shadow: 0 12px 36px #11243473;
  transform: translateY(-50%);
}
.about-copy { position: relative; width: min(49%, 545px); padding: clamp(23px, 4.6vw, 56px); }
.about-copy h3 { margin-bottom: 12px; font-size: clamp(34px, 4.2vw, 58px); line-height: 1; text-wrap: balance; }
.about-copy p { max-width: 390px; color: #e9f5ff; font-size: 16px; }
.about-copy p + p { margin-top: 8px; }
.about-game .PPUICarouselControls { margin-top: 13px; }
.HomepagePage :is(.about-game .PPUICarouselControls,.publication-board .archive-nav) > .PPUIButton {
  --pp-action-bg: #d5eafa;
  --pp-action-border: #bdd9ef;
  --pp-action-ink: #346b98;
}
.HomepagePage .about-game .PPUICarouselControls > .PPUIButton {
  min-height: 36px !important;
  min-width: 36px !important;
  font-size: 21px !important;
  line-height: 1 !important;
}
.HomepagePage :is(.about-game .PPUICarouselControls,.publication-board .archive-nav) > .PPUIButton:hover:not(:disabled) { --pp-action-bg: #c3e1f7; }
.HomepagePage .about-game .PPUICarouselStage > .PPUICarouselPlaybackOverlay {
  --pp-action-bg: #eaf5fef2;
  --pp-action-border: #cde7f0;
  --pp-action-ink: #25567f;
  width: 38px;
  min-height: 38px !important;
  padding: 0 !important;
}
.HomepagePage .about-game .PPUICarouselStage > .PPUICarouselPlaybackOverlay:hover { --pp-action-bg: #fff; }
.archive-intro {
  padding: 116px 0 28px;
  border-bottom: 1px solid var(--rule);
}
.archive-intro h2 { margin-top: 15px; font-size: clamp(38px, 6.3vw, 80px); line-height: 1.04; }
.archive-intro p { margin-top: 6px; color: var(--muted); font-size: 16px; }
.public-news-archive .publication-board { padding-top: 26px; }
.public-news-archive .story:target { outline: 2px solid #5a92c3; outline-offset: 3px; }
.public-news-archive .story-date { position: static; padding: 0; background: none; }
.archive-discussion { display: inline-block; margin-top: 7px; color: #316793; font-size: 12px; }
.archive-discussion:hover { color: #153c5c; }
.board-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.board-heading h2 { font-size: clamp(34px, 3.3vw, 48px); line-height: 1; }
.text-link {
  color: #285c8b;
  background: #d9edfc;
  border-radius: 50px;
  padding: 7px 12px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
}
.text-link:hover { background: #cce6fa; }

.news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.story {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d4e6f5;
  border-radius: 17px;
  background: #f3faff;
  text-decoration: none;
}
.story:first-child {
  grid-column: 1 / -1;
  border-radius: 24px;
  background: #f8fcff;
  box-shadow: 0 8px 26px #406c9320;
}
.story-image { display: block; overflow: hidden; background: #cfe3f4; aspect-ratio: 2.45; }
.story:first-child .story-image { aspect-ratio: 2.15; }
.story img { display: block; width: 100%; height: 100%; object-fit: cover; }
.story-copy { position: relative; min-width: 0; padding: 11px 13px 14px; }
.story:first-child .story-copy { padding: 22px 21px 17px; }
.story-date { display: block; color: var(--muted); font-size: 11px; margin-bottom: 5px; }
.story:first-child .story-date {
  position: absolute;
  top: -13px;
  margin: 0;
  border-radius: 50px;
  background: #dcefff;
  color: #234c70;
  padding: 5px 9px;
}
.story h3 { font-size: 24px; line-height: 1.05; overflow-wrap: anywhere; }
.story:first-child h3 { font-size: 33px; }
.story:hover h3 { color: #22649b; }
.story p { margin-top: 7px; color: #4a6782; font-size: 13px; }

.updates .board-heading { margin-bottom: 17px; }
.update-list { display: grid; gap: 7px; }
.patch {
  border: 1px solid #d2e6f6;
  border-radius: 16px;
  background: var(--paper);
}
.patch summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 23px;
  gap: 10px;
  align-items: center;
  padding: 9px 11px;
  border-radius: 15px;
  list-style: none;
  cursor: pointer;
}
.patch summary::-webkit-details-marker { display: none; }
.patch summary::marker { content: ''; }
.patch summary:hover, .patch[open] summary { background: #e5f3ff; }
.patch[open] summary { border-radius: 15px 15px 0 0; }
.patch-number {
  display: grid;
  place-items: center;
  width: 45px;
  min-height: 36px;
  border-radius: 12px;
  background: #dcefff;
  color: #315a7e;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.patch-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.patch-date { color: var(--muted); font-size: 11px; white-space: nowrap; }
.patch-title { font-size: 14px; line-height: 1.35; font-weight: 600; overflow-wrap: anywhere; }
.patch-preview {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
.patch[open] .patch-preview { display: none; }
.patch-chevron {
  justify-self: center;
  width: 6px;
  height: 6px;
  border: solid #4e7ba1;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.patch[open] .patch-chevron { transform: rotate(225deg); }
.patch-body { padding: 9px 15px 13px 18px; color: var(--ink); overflow-wrap: anywhere; }
.patch-body .GameUpdateContent { margin: 0; line-height: 1.58; }
.patch-body ul { padding-inline-start: 19px; }
.patch-body li::marker { color: #6388a5; }
.patch-body li + li, .patch-body p + p { margin-top: 5px; }
.archive-nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding-top: 14px; }
.archive-nav span { justify-self: center; color: var(--muted); font-size: 12px; }
.feed-status { padding: 13px; color: var(--muted); }

.footer {
  border-radius: 42px 42px 0 0;
  background: linear-gradient(115deg, #cde7f9, #dbeffd 58%, #cbe5f8);
}
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-block: 25px; }
.footer-brand { display: inline-flex; align-items: center; gap: 7px; font: 26px Hagin, Georgia, serif; text-decoration: none; }
.footer-brand img { object-fit: contain; }
.footer nav { display: flex; flex-wrap: wrap; gap: 7px 20px; font-size: 13px; }
.footer nav a { color: #335777; padding:3px 6px; border-radius:5px; }
.footer nav a:hover { background:#edf8ff; color:#204667; }
.footer-legal { flex-basis:100%; color:#476680; font-size:12px; padding-top:8px; border-top:1px solid #bfdaed; }

@media (prefers-reduced-motion: no-preference) {
  .event-main { animation: settle-in .5s ease-out both; }
  .event-art { transform: translate(var(--scene-x, 0), var(--scene-y, 0)); transition: transform .25s ease-out; }
  .event-curator { translate:var(--portrait-x,0) var(--portrait-y,0); transition:translate .25s ease-out; }
  .reward-art img { transition: transform .28s ease; }
  .reward-strip:hover .reward-treats { transform: translateY(-4px) rotate(-13deg); }
  .reward-strip:hover .reward-chest { transform: translateY(-3px); }
  .reward-strip:hover .reward-crystal { transform: translateY(-2px) rotate(12deg); }
  .story img { transition: transform .44s cubic-bezier(.22,.61,.36,1); }
  .story:hover img, .story:focus-visible img { transform: scale(1.045); }
  .patch summary, .main-nav a, .text-link { transition: background .18s ease; }
  .patch-chevron { transition: transform .24s ease; }
  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    .patch { interpolate-size: allow-keywords; }
    .patch::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size .24s ease, content-visibility .24s allow-discrete;
    }
    .patch[open]::details-content { block-size: auto; }
  }
}
@keyframes settle-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  :root { scroll-padding-top: 140px; }
  .masthead-content { grid-template-columns: minmax(0, 1fr) auto; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; flex-wrap: wrap; }
  .archive-intro { padding-top: 149px; }
}
@media (max-width: 900px) {
  .frame { width: calc(100% - 42px); }
  .masthead-content { gap: 12px; padding-inline: 12px; }
  .brand h1 { font-size: 27px; }
  .brand img { width: 34px; height: 34px; }
  .main-nav { gap: 2px; }
  .main-nav a { padding-inline: 7px; }
  .account-links { gap: 10px; font-size: 12px; }
  .event-curator { width:min(67vw,74vh,720px); right:-3%; }
  .publication-board { gap: 24px; }
  .patch-heading { flex-wrap: wrap; gap: 1px 5px; }
}
@media (max-width: 700px) {
  .frame { width: calc(100% - 32px); }
  :root { scroll-padding-top: 53px; }
  .masthead > .frame { width: 100%; transform: none; }
  .masthead-content {
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 51px;
    gap: 0 4px;
    padding: 8px 8px 8px 12px;
    border-width: 0 0 1px;
    border-radius: 0;
    background: #e9f5fd;
    box-shadow: 0 2px 10px #132e501f;
  }
  .masthead-content { position: relative; }
  .masthead .main-nav {
    position: absolute;
    inset: calc(100% + 4px) 8px auto auto;
    grid-area: auto;
    width: min(calc(100% - 16px), 255px);
    max-height: calc(100dvh - 63px);
    overflow: auto;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: start;
    align-items: stretch;
    gap: 2px;
    padding: 6px;
    border: 1px solid #b5d4ea;
    border-radius: 12px;
    background: #eef8ff;
    box-shadow: 0 8px 22px #132e5038;
  }
  .masthead .main-nav:not(.is-open), .masthead .account-links .join-link { display: none; }
  .masthead .main-nav-resources { flex-direction: column; align-items: stretch; padding-block: 3px; border-block: 1px solid #d3e6f4; }
  .masthead .main-nav a { display: block; padding: 10px 12px; font-size: 14px; }
  .HomepagePage .masthead .mobile-nav-toggle {
    --pp-action-bg: transparent;
    --pp-action-border: transparent;
    --pp-action-ink: #507d9e;
    display: grid;
    place-items: center;
    width: 42px;
    padding: 0 !important;
  }
  .HomepagePage .masthead .mobile-nav-toggle:is(:hover, [aria-expanded="true"]) {
    --pp-action-bg: #dcecf8;
    --pp-action-ink: #346c96;
  }
  .mobile-nav-toggle span { position: relative; width: 18px; height: 12px; }
  .mobile-nav-toggle span::before, .mobile-nav-toggle span::after {
    content: '';
    position: absolute;
    right: 0;
    height: 1.5px;
    border-radius: 1px;
    background: currentColor;
  }
  .mobile-nav-toggle span::before { top: 3px; width: 18px; }
  .mobile-nav-toggle span::after { top: 8px; width: 12px; }
  .mobile-nav-toggle[aria-expanded="true"] span::before,
  .mobile-nav-toggle[aria-expanded="true"] span::after { top: 5px; right: 1px; width: 16px; }
  .mobile-nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
  .mobile-nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }
  .brand { gap: 5px; }
  .brand h1 { font-size: 21px; }
  .brand img { width: 27px; height: 27px; }
  .account-links { gap: 6px; }
  .account-trainer img { width: 28px; height: 28px; }
  .event-stage { align-items: start; min-height: 570px; min-height: max(525px, 89svh); }
  .event-content { padding-block: clamp(88px, 12vh, 124px) 138px; }
  .event-main { width: 100%; }
  .event h2 { font-size: clamp(42px, 11.7vw, 76px); margin-block: 13px; }
  .event-summary { max-width: min(76%, 280px); margin-bottom: 16px; font-size: 14px; }
  .event-countdown { margin-bottom: 12px; }
  .event-countdown dl { grid-template-columns: repeat(4,minmax(39px,1fr)); gap: 5px; }
  .event-countdown dd { font-size: 18px; }
  .event-art img { object-position: 67% 50%; }
  .event-stage::before {
    background: linear-gradient(90deg, #112b4aea, #214e7ba3 54%, #223a5a14 96%), linear-gradient(0deg, #154e7caa, transparent 53%);
  }
  .event-stage::after { bottom: -38px; height: 91px; }
  .event-curator { width:min(103vw,510px); right:-5%; bottom:46px; }
  .event-bottom { min-height: 15px; margin-top: 8px; }
  .event-socials { top: -52px; }
  .reward-strip { grid-template-columns: 106px minmax(0, 1fr); min-height: 87px; gap: 9px; width: 100%; padding: 8px 11px 8px 6px; border-radius: 17px; }
  .reward-strip::before { width: 110px; height: 101px; top: -7px; left: 2px; }
  .reward-art { min-height: 65px; }
  .hero-activity { grid-template-columns: clamp(72px,24vw,98px) minmax(0,1fr); }
  .hero-activity .hero-activity-art { width: 95px; }
  .hero-activity-counts { gap: 8px; }
  .hero-activity-counts > div + div { padding-inline-start: 8px; }
  .hero-activity-counts dt { font-size: 11px; }
  .hero-activity-counts dd { font-size: 22px; }
  .reward-treats { width: 43px; left: 3px; }
  .reward-chest { width: 76px; left: 28px; top: -3px; }
  .reward-crystal { width: 40px; left: 6px; top: 26px; }
  .reward-strip h3 { font-size: 23px; }
  .reward-strip p { font-size: 12px; }
  .season-section { grid-template-columns: minmax(0, 1fr); gap: 14px; border-radius: 19px; }
  .season-preview { grid-column: auto; grid-row: auto; }
  .publication-board { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 18px 38px; }
  .about-slide { align-items: end; min-height: 345px; padding-top: 158px; border-radius: 19px; }
  .about-slide::before { background: linear-gradient(0deg, var(--about-shade) 22%, color-mix(in srgb, var(--about-shade), transparent 10%) 42%, transparent 81%); }
  .about-scene { height: 78%; }
  .about-pokemon { bottom: auto; top: 3%; right: 10%; width: 48%; height: 48%; }
  .about-shot { top: 24%; right: 5%; width: 90%; }
  .about-copy { width: auto; padding: 18px 18px 52px; }
  .about-copy h3 { font-size: clamp(30px, 6.3vw, 43px); margin-bottom: 7px; }
  .about-copy p { font-size: 14px; }
  .board-heading h2 { font-size: 34px; }
  .board-heading { margin-bottom: 13px; }
  .story:first-child h3 { font-size: 28px; }
  .story h3 { font-size: 22px; }
  .story:first-child .story-copy { padding-inline: 14px; }
  .story { border-radius: 14px; }
  .story:first-child { border-radius: 19px; }
  .news-list { gap: 10px; }
  .story p { font-size: 13px; }
  .patch-body { padding-inline-start: 13px; }
  .footer { border-radius: 30px 30px 0 0; }
  .footer-content { gap: 10px; padding-block: 17px 22px; }
  .archive-intro { padding: 85px 0 20px; }
}
@media (max-width: 550px) {
  .account-trainer span { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
}
@media (max-width: 365px) {
  .frame { width: calc(100% - 24px); }
  .brand h1 { font-size: 19px; }
  .brand img { width: 23px; height: 23px; }
  .account-links { gap: 7px; font-size: 11px; }
  .join-link { padding-inline: 4px; }
  .event h2 { font-size: 40px; }
  .patch summary { grid-template-columns: auto minmax(0, 1fr) 16px; gap: 8px; padding-inline: 8px; }
  .patch-number { width: 39px; }
  .patch-heading { display: block; }
  .patch-date { margin-inline-start: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
