html:has(body.og-v5-hub),.og-v5-hub { scroll-behavior:auto!important }
.og-v5-hub :where(.v5-featured,.stats,.v5-season,.v5-hero),
.og-v5-hub :where(.v5-featured,.stats,.v5-season,.v5-hero) *,
.og-v5-hub :where(.v5-featured,.stats,.v5-season,.v5-hero) *::before,
.og-v5-hub :where(.v5-featured,.stats,.v5-season,.v5-hero) *::after {
  animation:none!important;
}
.og-v5-hub #acceptance-profile,.og-v5-hub .v5-world-state { display:none!important }
.og-v5-hub .v5-books a.v5-feature-title { color:inherit;text-decoration:none }
.og-v5-hub .v5-books a.v5-feature-title:focus-visible { outline:2px solid currentColor;outline-offset:3px }
#seasonOv .season-dialog {
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  gap:8px;
  overflow:hidden;
  height:min(710px,calc(100dvh - 26px));
  max-height:calc(100dvh - 26px);
}
#seasonFrame { width:100%;height:100%;min-height:0;border:0;border-radius:10px }
.og-v5-hub .v5-top [data-premium-ink],
.og-v5-hub button:not(.prem-tag) > [data-premium-ink] { transform:translateY(1px) }
.og-v5-hub .preview-phone-link {
  display:inline-flex;align-items:center;min-height:44px;
  color:var(--v5-ink);text-decoration:none;font-size:.86rem;font-weight:650;
  padding-inline:12px;border:1px solid var(--v5-border);border-radius:11px;background:var(--v5-panel);
}
.og-v5-hub .preview-phone-link:focus-visible{outline:2px solid currentColor;outline-offset:-3px}

.og-v5-hub[data-rc9-home] #npath .rc9-diary-progress:empty {
  min-block-size: 1.25em;
}

.og-v5-hub[data-rc9-home] #npath progress {
  grid-row: 3;
}

.og-v5-hub[data-rc9-home] .v5-book-links > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 46px;
}

.og-v5-hub[data-rc9-home] .v5-book-links > a > span {
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 16px;
}

.og-v5-hub[data-rc9-home] .rc9-repeat-stats {
  display: grid;
  gap: 2px;
}

.og-v5-hub[data-rc9-home] #povtRound:empty {
  display: none;
}

#og-library .og-library-group {
  margin-block-start: 4px;
}

#og-library .og-library-group a {
  min-height: 48px;
}

#og-library .og-library-group > h3 {
  padding-inline: 10px;
  margin-block-end: 4px;
  font-size: 15px;
}

#og-library .og-library-group + .og-library-group:has(> h3) {
  margin-block-start: 16px;
}

#og-library .og-library-group a:has(.og-library-duel-dot) {grid-template-columns:21px minmax(0,1fr)}
#og-library .og-library-group > p {margin:0;padding:4px 10px 6px;color:var(--v5-muted);font-size:14px}
#og-library .og-library-duel-name {display:inline-flex;align-items:center;gap:7px;justify-self:start}
#og-library .og-library-duel-dot {flex:none}

.og-v5-hub[data-rc9-home] .sec .game .row h3 {font-family:var(--f-body);font-weight:550;letter-spacing:normal}
.og-v5-hub[data-rc9-home] .semini .seic > * {display:block;width:10px;height:10px;flex:none}
.og-v5-hub[data-rc9-home] .stats :is(#sStars,#sStreak,#sFriends,#sMailN) {min-inline-size:1ch;font-variant-numeric:tabular-nums}
.og-v5-hub[data-rc9-home] .stats .stat .v > svg {flex:none}

@media (min-width:768px) {
  .og-v5-hub[data-rc9-home] .stats > .stat:not(.rk) {min-inline-size:65px}
}

#og-library #og-library-heading {
  line-height: 1.2;
}

@media (min-width: 960px) {
  .og-v5-hub[data-rc9-home] .v5-featured .v5-books {
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  }

  .og-v5-hub[data-rc9-home] .v5-books .v5-book-art {
    grid-area: 1/2;
    justify-self: end;
    max-inline-size: 200px;
  }

  .og-v5-hub[data-rc9-home] .v5-books .v5-book-links {
    grid-area: 2/1/3/-1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .og-v5-hub[data-rc9-home] .v5-books .v5-book-links > a {
    font-size: clamp(13px, 1.55vw, 16px);
    font-family:Nunito,var(--f-body);
    font-weight:750;
    white-space: nowrap;
    min-height: 38px;
  }

  .og-v5-hub[data-rc9-home] .sec[aria-labelledby="hSt"] .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .og-v5-hub[data-rc9-home] .sec[aria-labelledby="hSt"] .grid > a.game {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    grid-template-rows: 1fr;
    gap: 8px;
    align-items: center;
    padding: 8px 26px 8px 9px;
  }

  .og-v5-hub[data-rc9-home] .sec[aria-labelledby="hSt"] .grid > a.game > .pic {
    grid-area: 1/1;
    block-size: 35px;
    inline-size: 35px;
  }

  .og-v5-hub[data-rc9-home] .sec[aria-labelledby="hSt"] .grid > a.game > .body {
    grid-area: 1/2;
    display: grid;
    min-width: 0;
    gap: 4px;
    text-align: left;
  }

  .og-v5-hub[data-rc9-home] .sec[aria-labelledby="hSt"] .game :is(.row,.pl) {
    grid-area: auto;
    display: grid;
    justify-items: start;
    gap: 4px;
    min-width: 0;
    min-height: 0;
    padding: 0;
  }

  .og-v5-hub[data-rc9-home] .sec[aria-labelledby="hSt"] .game h3 {
    white-space: normal;
    overflow-wrap: normal;
  }

  .og-v5-hub[data-rc9-home] .sec[aria-labelledby="hSt"] .game .prem-tag {
    margin: 0;
  }

  .og-v5-hub[data-rc9-home] .sec[aria-labelledby="hSt"] .grid > a.game::after {
    inset-inline-end: 9px;
  }
}

@media (min-width: 1260px) {
  .og-v5-hub[data-rc9-home] .sec[aria-labelledby="hSt"] .grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .og-v5-hub[data-rc9-home] #npath progress {
    grid-row: 5;
  }

  .og-v5-hub[data-rc9-home] .v5-featured #npath .ref.novice.v6-novice {
    grid-template-rows: auto auto minmax(92px, 1fr) auto auto;
  }

  .og-v5-hub[data-rc9-home] #npath .novice.v6-novice::before {
    inset: 62px 0 42px;
    translate: none;
    aspect-ratio: auto;
    background-size: contain;
    mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  }

  .og-v5-hub[data-rc9-home] .v5-featured .v5-wellor .v5-wellor-art {
    width: calc(100% - 12px);
    max-height: 105px;
    right: 6px;
    bottom: 5px;
  }
}

@media (max-width: 599px) {
  :root:has(.og-v5-hub[data-rc9-home]),
  .og-v5-hub[data-rc9-home] :is(#aboutOv > .box,#aboutOv .v5-modal-scroll),
  #og-library .og-library-body {scrollbar-width:none;scrollbar-gutter:auto}
  :root:has(.og-v5-hub[data-rc9-home])::-webkit-scrollbar,
  .og-v5-hub[data-rc9-home] :is(#aboutOv > .box,#aboutOv .v5-modal-scroll)::-webkit-scrollbar,
  #og-library .og-library-body::-webkit-scrollbar {display:none}
  .og-v5-hub[data-rc9-home] :is(.v5-reference .v5-feature-arrow,.v5-world-entry span) {display:none}
  .og-v5-hub[data-rc9-home] .v5-reference .v5-feature-title {grid-template-columns:auto minmax(0,1fr)}

  .og-v5-hub[data-rc9-home] .sec .grid > a.game {
    grid-template-columns: clamp(23px, 6.8vw, 33px) minmax(0, 1fr);
    gap: 7px;
    padding: 8px 13px 15px 8px;
    justify-items: stretch;
    text-align: left;
  }

  .og-v5-hub[data-rc9-home] .sec .grid > a.game > .body {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    justify-items: start;
    justify-self: stretch;
    text-align: left;
  }

  .og-v5-hub[data-rc9-home] .sec .grid > a.game .row {
    justify-content: start;
    margin: 0;
  }

  .og-v5-hub[data-rc9-home] .sec .grid > a.game .body > .pl {
    justify-self: start;
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
    margin: 0;
  }

  .og-v5-hub[data-rc9-home] .sec .grid > a.game .row h3 {
    word-break: normal;
    overflow-wrap: normal;
    font-size: clamp(11px, 3.3vw, 15px);
  }

  .og-v5-hub[data-rc9-home] .sec .grid > a.game .prem-tag {
    margin: 0;
    justify-self: start;
    font-size: 11px;
  }

  .og-v5-hub[data-rc9-home] .sec .grid > a.game .pl {
    overflow-wrap: normal;
  }

  .og-v5-hub[data-rc9-home] .sec .grid > a.game::after,
  .og-v5-hub[data-rc9-home] #oxygenGames .oxygen-theme .card-arrow {
    inset: auto 10px 4px auto;
  }

  .og-v5-hub[data-rc9-home] #duelCard > .body > .pl {
    grid-column: auto;
  }

  .og-v5-hub[data-rc9-home] #duelNote > span {
    overflow-wrap: normal;
  }

  .og-v5-hub[data-rc9-home] #duelBandits {display:none}
  .og-v5-hub[data-rc9-home] .sec[aria-labelledby="hFun"] .grid > a.game {min-height:70px}
  .og-v5-hub[data-rc9-home] #oxygenGames .oxygen-theme {
    align-items:center;
    padding-block:8px;
  }
  .og-v5-hub[data-rc9-home] #oxygenGames .oxygen-theme .body {align-self:center}
}
