/* PokeJourney portal: permanent left navigation, task in the center, helpful right rail. */
.portal-account {
  border: 1px solid #365663;
  border-radius: 12px;
  overflow: hidden;
  background: #102b38;
  min-height: 570px;
}
.portal-account .account-drawer {
  position: static;
  width: auto;
  padding: 34px;
  transform: none;
  transition: none;
  overflow: visible;
  border: 0;
  background: none;
  box-shadow: none;
}
.portal-account .drawer-head {
  padding: 0 0 23px;
  border-bottom: 1px solid #355664;
  margin-bottom: 24px;
  position: relative;
}
.portal-account .drawer-head::after {
  content: "";
  width: 54px;
  height: 54px;
  background: url("assets/journey-mark.svg") center/contain no-repeat;
  flex-shrink: 0;
}
.portal-account .drawer-head h2 {
  font-size: 32px;
  margin-bottom: 0;
  line-height: 1.15;
}
.portal-account .drawer-head .kicker {
  font-size: 12px;
}
.portal-account .drawer-notice {
  background: #3a38254d;
  border-color: #6b6240;
}
.portal-account .drawer-notice p {
  font-size: 13px;
}
.portal-account .account-tabs {
  border-bottom: 1px solid #355664;
  padding-bottom: 14px;
  gap: 10px;
}
.portal-account .account-tabs button {
  font-size: 14px;
  flex: 1;
}
.portal-account .account-panel {
  max-width: 560px;
  margin-inline: auto;
}
.portal-account .account-panel h3 {
  font-size: 25px;
  margin-bottom: 13px;
}
.portal-account .account-panel > p {
  font-size: 15px;
}
.portal-account .demo-form {
  gap: 11px;
}
.portal-account .demo-form input,
.portal-account .demo-form select {
  font-size: 16px;
  min-height: 48px;
}
.portal-account .demo-form label {
  font-size: 14px;
}
.portal-account .form-row {
  margin-top: 8px;
}
.portal-account .form-row label {
  display: block;
  margin-bottom: 6px;
}
.portal-account .demo-form .button {
  font-size: 14px;
}
.portal-ready .portal-main > [data-portal-panel]:not([hidden]) {
  margin-top: 0;
}
.portal-ready
  .portal-main
  > [data-portal-panel]:not([hidden])
  ~ [data-portal-panel]:not([hidden]) {
  margin-top: 22px;
}
.portal-main .player-search {
  background: #102b38;
  border: 1px solid #2d4c59;
  border-radius: 12px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.portal-main .player-search .search-help {
  grid-column: 1;
  font-size: 13px;
}
.portal-main .player-search h3 {
  font-size: 29px;
}
.portal-main .player-search .search-form input {
  font-size: 16px;
}
.portal-main .profile-result {
  gap: 17px;
  flex-wrap: wrap;
}
.portal-main .rankings-intro {
  display: block;
  margin-bottom: 25px;
}
.portal-main .demo-badge {
  display: inline-flex;
  margin-top: 18px;
}
.portal-main .rankings-intro > div > p:last-child {
  font-size: 15px;
}
.portal-main .rankings-panel {
  border-color: #365663;
}
.portal-main .ranking-toolbar {
  padding: 18px;
}
.portal-main .ranking-tabs {
  gap: 3px;
}
.portal-main .ranking-tabs button {
  padding: 10px 12px;
  font-size: 13px;
}
.portal-main .ranking-filters {
  flex-wrap: wrap;
}
.portal-main .ranking-filters label {
  flex: 1;
  min-width: 180px;
  justify-content: space-between;
}
.portal-main .ranking-filters select {
  min-width: 100px;
  width: 100%;
  max-width: 210px;
}
.portal-main .ranking-summary {
  display: block;
  padding: 22px 20px 0;
}
.portal-main .ranking-summary > p {
  max-width: 100%;
  margin-top: 14px;
}
.portal-main .ranking-podium {
  padding: 22px 16px;
  gap: 10px;
}
.portal-main .podium-card {
  padding: 25px 8px 20px;
  min-height: 200px;
  text-align: center;
}
.portal-main .podium-card strong {
  font-size: 14px;
}
.portal-main .podium-card small {
  font-size: 12px;
  line-height: 1.5;
}
.portal-main .podium-card b {
  font-size: 23px;
}
.portal-main .table-wrap {
  margin: 0 16px;
}
.portal-main .rankings-panel th,
.portal-main .rankings-panel td {
  padding: 13px 9px;
}
.portal-main .rankings-panel th {
  font-size: 10px;
  letter-spacing: 0.02em;
}
.portal-main .rankings-panel td {
  font-size: 13px;
}
.portal-main .player-cell {
  gap: 9px;
}
.portal-main .player-cell .player-avatar {
  width: 32px;
  height: 32px;
  font-size: 12px;
}
.portal-main .ranking-pagination {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 14px;
}
.portal-main .ranking-pagination > div {
  width: 100%;
  justify-content: space-between;
}
.portal-main .ranking-footnote {
  font-size: 12px;
  text-align: left;
  padding: 0 16px 20px;
}
.rail-ranking section + section {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.rail-ranking h3 {
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 12px 0;
}
.rail-leaders {
  padding: 0;
  list-style: none;
  margin: 0;
}
.rail-leaders li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
}
.rail-position {
  font-size: 11px;
  color: #89adbc;
}
.rail-leaders strong {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.rail-leaders small {
  display: block;
  font-size: 11px;
  color: #96b9c5;
  margin-top: 3px;
}
.rail-leaders b {
  font-size: 12px;
  color: var(--yellow);
  font-weight: 650;
}
.rail-category-link {
  display: inline-flex;
  font-size: 12px;
  color: #9ad4de;
  min-height: 35px;
  align-items: center;
  margin-top: 6px;
}
.rail-category-link:hover {
  color: var(--yellow);
}
@media (max-width: 600px) {
  .portal-account .account-drawer {
    padding: 24px 20px;
  }
  .portal-account .drawer-head h2 {
    font-size: 28px;
  }
  .portal-account .drawer-head::after {
    width: 42px;
    height: 42px;
  }
  .portal-account .account-tabs {
    gap: 5px;
  }
  .portal-account .account-tabs button {
    font-size: 13px;
    padding: 11px 8px;
  }
  .portal-account .demo-form .button {
    font-size: 12px;
  }
  .portal-account .form-row {
    flex-direction: column;
  }
  .portal-main .player-search {
    padding: 23px 20px;
  }
  .portal-main .ranking-tabs button {
    font-size: 12px;
  }
  .portal-main .ranking-podium {
    gap: 6px;
    padding: 18px 10px;
  }
  .portal-main .podium-card {
    padding: 25px 5px 14px;
  }
  .portal-main .podium-card strong {
    font-size: 12px;
  }
  .portal-main .podium-card small {
    font-size: 11px;
  }
  .portal-main .podium-avatar {
    width: 42px;
    height: 42px;
    font-size: 14px;
  }
}
:root {
  --portal-width: min(1580px, calc(100% - 48px));
  --left-rail: 232px;
  --right-rail: 238px;
  --portal-gap: 22px;
  --header: 84px;
}
body {
  background: #071a25;
  background-image: radial-gradient(
    ellipse at 50% 0,
    #16445180,
    transparent 750px
  );
}
.site-header {
  background: #0a2230;
  border-bottom: 1px solid #34515c;
  box-shadow: 0 8px 30px #0002;
}
.site-nav {
  width: var(--portal-width);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}
.header-actions > a {
  font-size: 14px;
  color: #c6d8de;
}
.header-actions .nav-download {
  color: var(--yellow);
  font-weight: 700;
}
.header-actions .button {
  background: #163644;
}
.header-actions > a:hover {
  color: var(--yellow);
}
.portal-layout {
  width: var(--portal-width);
  margin: 28px auto 60px;
  display: grid;
  grid-template-columns: var(--left-rail) minmax(0, 1fr) var(--right-rail);
  gap: var(--portal-gap);
  align-items: start;
}
.portal-main {
  min-width: 0;
}
.portal-sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
  min-width: 0;
  max-height: calc(100dvh - 40px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #3a6270 transparent;
  border: 1px solid #2b4c59;
  border-radius: 12px;
  background: #0c2532;
  box-shadow: 0 12px 30px #0002;
}
.portal-sidebar .nav-menu {
  position: static;
  display: block;
  padding: 0;
  background: none;
  box-shadow: none;
  border: 0;
}
.sidebar-heading {
  padding: 19px 18px 17px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-heading > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #a3c4d0;
}
.sidebar-close {
  display: none;
}
.portal-sidebar .nav-menu > a,
.menu-group > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  margin: 3px 9px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  min-height: 43px;
  color: #cfdee2;
  transition:
    background 0.2s,
    color 0.2s;
}
.portal-sidebar .nav-menu > a:hover,
.menu-group > a:hover {
  background: #173d4c;
  color: #fff;
}
.portal-sidebar .nav-menu > a[aria-current="page"],
.menu-group > a[aria-current="page"] {
  background: #1d4754;
  color: var(--yellow);
  font-weight: 700;
  box-shadow: inset 3px 0 var(--yellow);
}
.portal-sidebar .sidebar-home {
  margin-top: 12px;
}
.nav-icon {
  width: 22px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  font:
    400 21px/1.2 "Segoe UI Symbol",
    sans-serif;
  color: #74bcc9;
}
.nav-arrow {
  margin-left: auto;
  font-size: 21px;
  color: var(--yellow);
}
.menu-group {
  padding: 12px 0 6px;
}
.menu-group h2 {
  display: flex;
  justify-content: space-between;
  margin: 6px 18px 12px;
  letter-spacing: 0.095em;
  font-size: 10px;
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.4;
  color: #89aab7;
}
.menu-group h2 > span {
  opacity: 0.5;
}
.sidebar-note {
  display: flex;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding: 18px;
}
.sidebar-note > span {
  font-size: 28px;
  color: var(--yellow);
}
.sidebar-note p {
  font-size: 12px;
  margin: 0;
  color: #b6d1d8;
}
.sidebar-note strong {
  color: var(--ink);
}
.sidebar-backdrop {
  display: none;
}
.portal-pagebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  min-height: 42px;
  margin: -6px 0 15px;
  padding: 0 2px;
}
.portal-pagebar p {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #85adb9;
}
.portal-pagebar p > span {
  margin: 0 9px;
  color: #537580;
}
.portal-pagebar strong {
  color: #d7e7eb;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 500;
}
.portal-language {
  font-size: 11px;
  color: #91b1bc;
}
.portal-main .shell {
  width: 100%;
  margin: 0;
}
.portal-main .section {
  padding: 32px;
  background: #102b38;
  border: 1px solid #2d4c59;
  border-radius: 12px;
  margin-top: 22px;
}
.portal-main .section-heading {
  margin-bottom: 24px;
  gap: 20px;
}
.portal-main .section-heading h2,
.portal-main .rankings-intro h2 {
  font-size: 34px;
  line-height: 1.13;
}
.portal-main h2 em {
  color: var(--teal);
}
.portal-main .kicker {
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.portal-main .section-heading--center {
  text-align: left;
  justify-content: start;
}
.portal-main .section-heading--center p {
  margin-left: 0 !important;
}
.portal-main .section-side-note {
  display: none;
}
.portal-main .hero {
  height: 450px;
  min-height: 0;
  max-height: none;
  border: 1px solid #52797a;
  border-radius: 12px;
  box-shadow: 0 15px 45px #0003;
}
.portal-main .hero-content {
  width: auto;
  padding: 38px 32px 76px;
  margin: 0;
}
.portal-main .hero h1,
.portal-main .hero h2 {
  font-size: clamp(37px, 3.5vw, 55px);
  max-width: 570px;
  line-height: 1;
}
.portal-main .hero h1 em,
.portal-main .hero h2 em {
  color: var(--yellow);
}
.portal-main .eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
  margin-bottom: 17px;
  gap: 8px;
}
.portal-main .hero-lead {
  font-size: 14px;
  line-height: 1.6;
  max-width: 315px;
  margin-bottom: 21px;
}
.portal-main .hero-actions {
  gap: 10px;
  align-items: center;
}
.portal-main .hero-actions .button {
  font-size: 11px;
  min-height: 44px;
  padding: 12px 17px;
  gap: 16px;
}
.portal-main .hero-actions .text-link {
  font-size: 12px;
}
.portal-main .hero-bottom {
  width: auto;
  left: 28px;
  right: 28px;
  bottom: 12px;
  margin: 0;
}
.portal-main .scroll-cue {
  display: none;
}
.portal-main .hero-dot.is-active span {
  width: 42px;
}
.portal-main .hero-dot span {
  width: 20px;
}
.portal-main .hero-pagination {
  gap: 12px;
}
.portal-main .hero-controls button {
  min-height: 36px;
}
.portal-main .hero-controls .hero-pause {
  font-size: 11px;
}
.portal-main .signal-bar {
  background: #102e3a;
  border: 1px solid #2e4d59;
  border-radius: 10px;
  margin-top: 16px;
}
.portal-main .signal-grid {
  grid-template-columns: 1fr 1fr;
  padding: 17px 20px;
  gap: 15px;
}
.portal-main .signal-grid p {
  padding: 0;
  border: 0;
}
.portal-main .signal-grid small {
  font-size: 10px;
  letter-spacing: 0.04em;
}
.portal-main .signal-grid strong {
  font-size: 14px;
}
.portal-main .signal-grid a,
.portal-main .effects-toggle {
  font-size: 13px;
}
.portal-main .news-grid {
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.portal-main .news-card--featured {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 24px;
}
.portal-main .news-art {
  height: 160px;
  border-radius: 8px;
}
.portal-main .news-card--featured .news-art {
  min-height: 200px;
  height: 100%;
}
.portal-main .news-card--featured .news-content {
  padding-top: 0;
}
.portal-main .news-content {
  padding: 17px 0;
}
.portal-main .news-content h3 {
  font-size: 21px;
}
.portal-main .news-content > p:not(.news-meta) {
  font-size: 14px;
}
.portal-main .news-meta {
  font-size: 11px;
  gap: 9px;
  flex-wrap: wrap;
}
.portal-main .card-link {
  font-size: 13px;
}
.portal-main .universe-layout {
  grid-template-columns: 1fr;
  gap: 32px;
}
.portal-main .universe-copy h2 {
  font-size: 40px;
}
.portal-main .universe-art {
  height: 320px;
  max-width: 100%;
}
.portal-main .pillars-grid {
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 35px;
}
.portal-main .pillars-grid p {
  font-size: 14px;
}
.portal-main .ecosystem-grid {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.portal-main .ecosystem-card {
  padding: 20px;
}
.portal-main .ecosystem-card--wide {
  display: block;
}
.portal-main .support-links {
  margin-top: 20px;
  flex-wrap: wrap;
}
.portal-main .download-layout {
  grid-template-columns: 1fr;
  gap: 26px;
}
.portal-main .download-copy h2 {
  font-size: 40px;
}
.portal-main .journey-steps {
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 25px;
}
.portal-main .journey-steps li {
  padding-top: 22px;
}
.portal-main .faq-layout {
  grid-template-columns: 1fr;
  gap: 22px;
}
.portal-main .faq-layout h2 {
  font-size: 36px;
}
.portal-main .faq-list summary {
  font-size: 16px;
}
.portal-main .closing-cta {
  margin-top: 22px;
  border: 1px solid #3b6069;
  border-radius: 12px;
  padding: 40px 25px;
}
.portal-main .closing-inner h2 {
  font-size: 42px;
}
.portal-main .closing-actions {
  flex-wrap: wrap;
  gap: 16px;
}
.portal-main .closing-actions .button {
  font-size: 12px;
}
.portal-rail {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.rail-play {
  padding: 145px 20px 18px;
  border: 1px solid #45615e;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #0a273108 15%, #0a2731eb 55%, #0a2731 100%),
    url("assets/journey-world-r1.webp") 87% top/auto 275px no-repeat;
  text-align: center;
  overflow: hidden;
}
.rail-play .kicker {
  font-size: 10px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  color: var(--yellow);
}
.rail-play h2 {
  font:
    700 32px/1.06 BarlowCondensed,
    var(--font);
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 18px;
}
.rail-play .button {
  width: 100%;
  font-size: 12px;
  min-height: 46px;
  gap: 12px;
  padding: 10px;
}
.rail-play > p:last-child {
  font-size: 11px;
  color: #bdd0d4;
  margin: 12px 0 0;
}
.rail-card {
  border: 1px solid #2e4e5b;
  border-radius: 12px;
  background: #0d2835;
  overflow: hidden;
}
.rail-title {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 17px 15px;
  border-bottom: 1px solid var(--line);
  background: #163642;
}
.rail-title h2 {
  font-size: 14px;
  letter-spacing: -0.015em;
  margin: 0;
}
.rail-title .nav-icon {
  font-size: 22px;
  color: var(--yellow);
}
.rail-maintenance {
  margin: 13px 15px 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--yellow);
}

.maintenance-notice {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0d2835;
}
.maintenance-notice .status-pill {
  color: var(--yellow);
  font-size: 0.875rem;
}
.maintenance-notice p,
.rail-ranking p {
  line-height: 1.7;
}
.portal-main .maintenance-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}
.rail-ranking {
  padding: 5px 15px 14px;
}
.rail-ranking p {
  font-size: 13px;
  margin: 12px 0 0;
}
.rail-link {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding: 15px;
  font-size: 12px;
  color: var(--teal);
}
.rail-link:hover {
  background: #153c4b;
}
.rail-shortcut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 17px 15px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.rail-shortcut:last-child {
  border: 0;
}
.rail-shortcut:hover {
  color: var(--yellow);
  background: #173b46;
}
.rail-shortcut small {
  display: block;
  font-size: 11px;
  color: #9abdc9;
  line-height: 1.5;
  margin-top: 3px;
}
.rail-disclaimer {
  font-size: 11px;
  text-align: center;
  line-height: 1.65;
  padding: 0 14px;
  color: #83a4b3;
  margin: 0;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px 0 22px;
}
.site-footer .shell {
  width: var(--portal-width);
}
.site-footer .footer-grid {
  gap: 40px;
}
.site-footer .footer-brand p {
  font-size: 13px;
}
@media (max-width: 1280px) {
  :root {
    --portal-width: calc(100% - 32px);
    --left-rail: 215px;
    --right-rail: 210px;
    --portal-gap: 16px;
  }
  .header-actions {
    gap: 20px;
  }
  .portal-main .section {
    padding: 25px;
  }
  .portal-main .hero h1,
  .portal-main .hero h2 {
    font-size: 43px;
  }
  .portal-main .hero-content {
    padding-inline: 25px;
  }
  .portal-main .hero-actions {
    gap: 6px;
  }
  .portal-main .hero-actions .text-link {
    display: none;
  }
  .portal-main .news-card--featured {
    display: block;
  }
  .portal-main .news-card--featured .news-art {
    height: 200px;
    min-height: 0;
  }
  .portal-main .news-card--featured .news-content {
    padding-top: 20px;
  }
  .portal-main .news-content h3 {
    font-size: 20px;
  }
  .portal-main .section-heading h2,
  .portal-main .rankings-intro h2 {
    font-size: 30px;
  }
}
@media (max-width: 1080px) {
  :root {
    --right-rail: 0px;
  }
  .portal-layout {
    grid-template-columns: var(--left-rail) minmax(0, 1fr);
  }
  .portal-rail {
    grid-column: 2;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .portal-rail .rail-play {
    display: none;
  }
  .rail-disclaimer {
    grid-column: 1/-1;
  }
  .portal-main .hero h1,
  .portal-main .hero h2 {
    font-size: 48px;
  }
  .header-actions > a:not(.nav-download) {
    display: none;
  }
}
@media (max-width: 820px) {
  :root {
    --portal-width: calc(100% - 28px);
    --header: 74px;
  }
  .site-nav {
    gap: 15px;
  }
  .site-nav .nav-toggle {
    order: 3;
  }
  .header-actions {
    margin-left: auto;
  }
  .header-actions .button {
    display: none;
  }
  .header-actions .nav-download {
    font-size: 13px;
  }
  .portal-layout {
    display: block;
    margin-top: 16px;
  }
  .portal-sidebar {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 61;
    width: min(310px, calc(100% - 48px));
    max-height: 100dvh;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 0 80px #0008;
  }
  .nav-open .portal-sidebar {
    display: block;
  }
  .nav-open {
    overflow: hidden;
  }
  .portal-sidebar .nav-menu {
    display: block;
    box-shadow: none;
    padding-bottom: 24px;
  }
  .sidebar-heading {
    padding: 18px;
  }
  .sidebar-close {
    display: block;
    background: #214654;
    font-size: 26px;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    line-height: 1;
  }
  .sidebar-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 60;
    background: #03121dcc;
    backdrop-filter: blur(3px);
  }
  .portal-sidebar .nav-menu > a,
  .menu-group > a {
    font-size: 16px;
    padding-block: 12px;
  }
  .menu-group h2 {
    font-size: 12px;
    margin-top: 8px;
  }
  .portal-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 22px;
  }
  .portal-main .hero {
    height: 470px;
  }
  .portal-main .hero-content {
    padding: 35px 28px 80px;
  }
  .portal-main .hero h1,
  .portal-main .hero h2 {
    font-size: 50px;
  }
  .portal-main .hero-actions .text-link {
    display: inline-flex;
  }
  .portal-main .news-card--featured {
    display: grid;
  }
  .portal-main .news-card--featured .news-art {
    height: 100%;
  }
  .portal-main .news-card--featured .news-content {
    padding-top: 0;
  }
  .portal-main .section-heading h2,
  .portal-main .rankings-intro h2 {
    font-size: 34px;
  }
  .portal-language {
    font-size: 11px;
  }
}
@media (max-width: 540px) {
  .header-actions {
    display: none;
  }
  .site-nav .nav-toggle {
    margin-left: auto;
  }
  .portal-pagebar {
    margin-bottom: 11px;
  }
  .portal-main .hero {
    height: 570px;
  }
  .portal-main .hero-slide {
    background-size: auto 355px;
    background-position: 76% bottom;
  }
  .portal-main .hero-content {
    padding: 27px 20px 75px;
  }
  .portal-main .hero h1,
  .portal-main .hero h2 {
    font-size: 43px;
  }
  .portal-main .hero-lead {
    font-size: 14px;
    max-width: 285px;
    line-height: 1.55;
  }
  .portal-main .hero-shade {
    background: linear-gradient(
      180deg,
      var(--bg) 28%,
      #071c27ad 57%,
      transparent 79%,
      var(--bg) 99%
    );
  }
  .portal-main .hero-slide--02 .hero-shade {
    background: linear-gradient(
      180deg,
      var(--bg) 28%,
      #071c27c4 58%,
      transparent 79%,
      var(--bg) 99%
    );
  }
  .portal-main .hero-actions {
    align-items: start;
  }
  .portal-main .hero-actions .text-link {
    display: none;
  }
  .portal-main .hero-bottom {
    left: 16px;
    right: 16px;
    bottom: 7px;
  }
  .portal-main .hero-dot.is-active span {
    width: 26px;
  }
  .portal-main .hero-controls button {
    min-width: 34px;
  }
  .portal-main .hero-controls .hero-pause {
    min-width: 59px;
  }
  .portal-main .signal-grid {
    padding: 17px 16px;
    gap: 15px;
  }
  .portal-main .signal-grid small {
    font-size: 9px;
  }
  .portal-main .signal-grid p {
    gap: 4px;
  }
  .portal-main .signal-grid strong {
    font-size: 12px;
  }
  .portal-main .signal-grid a,
  .portal-main .effects-toggle {
    font-size: 12px;
  }
  .portal-main .section {
    padding: 23px 20px;
    margin-top: 17px;
  }
  .portal-main .section-heading h2,
  .portal-main .rankings-intro h2 {
    font-size: 29px;
  }
  .portal-main .news-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .portal-main .news-card--featured {
    display: block;
  }
  .portal-main .news-card--featured .news-art {
    height: 180px;
  }
  .portal-main .news-card--featured .news-content {
    padding-top: 18px;
  }
  .portal-main .news-art {
    height: 180px;
  }
  .portal-main .ecosystem-grid {
    grid-template-columns: 1fr;
  }
  .portal-main .universe-copy h2,
  .portal-main .download-copy h2 {
    font-size: 32px;
  }
  .portal-main .universe-art {
    height: 260px;
  }
  .portal-main .closing-inner h2 {
    font-size: 37px;
  }
  .portal-main .closing-actions .button {
    font-size: 11px;
  }
  .portal-rail {
    grid-template-columns: 1fr;
  }
  .site-footer .footer-grid {
    gap: 26px;
  }
  .site-footer .footer-bottom {
    margin-top: 25px;
  }
}

/* Readable UI text: system-hinted fonts for small controls; artwork and display
   typography retain their original fonts. These floors also apply on mobile. */
.header-actions .button,
:root .portal-main .button,
.rail-play .button {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0;
}
.header-actions > a,
.portal-sidebar .nav-menu > a,
.menu-group > a {
  font-size: 0.9375rem;
  line-height: 1.5;
}
.portal-sidebar .nav-menu > a[aria-current="page"],
.menu-group > a[aria-current="page"] {
  font-weight: 600;
}
:root .portal-main .text-link,
:root .portal-main .card-link,
.portal-main .hero-controls .hero-pause,
.portal-main .hero-dot,
.portal-main .signal-grid a,
.portal-main .effects-toggle,
:root .ranking-tabs button,
:root .account-tabs button,
.ranking-pagination button,
.rail-link,
.rail-ranking a,
:root .footer-bottom a,
.footer-grid > div:not(:first-child) a,
.footer-grid > div:not(:first-child) button {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}
.ranking-tabs button[aria-selected="true"],
.account-tabs button[aria-selected="true"] {
  font-weight: 600;
}
.portal-main .ranking-filters select,
.portal-main .searchbox input,
.portal-account input {
  font-size: 1rem;
}
.sidebar-heading > span,
.menu-group h2,
.portal-main .signal-grid small,
.portal-language,
.rail-shortcut small {
  font-size: 0.75rem;
}
.sidebar-heading > span {
  font-weight: 600;
  letter-spacing: 0.08em;
}
@media (max-width: 540px) {
  .portal-main .hero-actions {
    flex-wrap: wrap;
  }
  .portal-account .account-tabs {
    flex-wrap: wrap;
  }
}
