:root {
  --osrs-ink: #25364c;
  --osrs-muted: #526175;
  --osrs-accent: #2c5282;
  --osrs-surface: #fff;
  --osrs-subtle: #f4f6f9;
  --osrs-border: #dce3ed;
  --osrs-radius: 8px;
  --osrs-space: 24px;
}
.osrs-video noscript a {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: white;
  color: #234b7c;
  padding: 10px;
  z-index: 3;
}
#main-content {
  min-width: 0;
  outline: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 10000;
  background: #fff;
  color: #173d6d;
  padding: 12px 18px;
  border: 2px solid;
  border-radius: 4px;
}
.skip-link:focus {
  top: 12px;
}
:where(a, button, input, select, summary, textarea):focus-visible {
  outline: 3px solid #0b65ae;
  outline-offset: 3px;
}
:where(h1, h2, h3, [id]) {
  scroll-margin-top: 100px;
}
.osrs-video {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  background: #101a2a;
  overflow: hidden;
  border-radius: 8px;
}
.osrs-video img,
.osrs-video iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}
.osrs-video .video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  display: grid;
  place-items: center;
  padding: 0;
}
/* Drawn in CSS because the text triangle renders as a blue emoji on some systems. */
.video-play .video-play-icon {
  display: block;
  width: 72px;
  height: 50px;
  background: #b90000;
  border-radius: 12px;
  position: relative;
}
.video-play .video-play-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -11px 0 0 -7px;
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
}
.video-play:hover .video-play-icon {
  background: #920000;
}
.osrs-video noscript a {
  position: absolute;
  bottom: 0;
  background: white;
  padding: 8px;
}
.search-autocomplete-item {
  flex-direction: row;
  text-align: left;
}
.search-autocomplete-content {
  min-width: 0;
}
.search-autocomplete-title,
.search-autocomplete-category {
  display: block;
  overflow-wrap: anywhere;
}
.search-autocomplete-item[aria-selected="true"] {
  background: #e6effa;
  outline: 2px solid #2c5282;
  outline-offset: -2px;
}
.editorial-note {
  color: var(--osrs-muted);
  font-size: 0.95rem;
}
.osrs-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-section picture {
  position: absolute;
  inset: 0;
}
#creator-filter {
  width: min(100%, 440px);
  padding: 12px;
  margin-bottom: 12px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 768px) {
  .osrs-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Ads: fixed sizes per breakpoint reserve the space, so loading an ad cannot shift the page. */
.osrs-ad {
  margin: 32px auto;
  text-align: center;
}
.osrs-ad-label {
  display: block;
  margin-bottom: 6px;
  color: var(--osrs-muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.osrs-ad-unit {
  width: 300px;
  height: 250px;
  vertical-align: top;
}
@media (max-width: 339px) {
  .osrs-ad-unit {
    width: 250px;
    height: 250px;
  }
}
@media (min-width: 800px) {
  .osrs-ad-unit {
    width: 728px;
    height: 90px;
  }
}
/* Sits in the first screen on phones: a short banner keeps the form close and limits any shift. */
@media (max-width: 799px) {
  .osrs-ad--calculator-top .osrs-ad-unit {
    width: 320px;
    height: 100px;
  }
}
@media (max-width: 359px) {
  .osrs-ad--calculator-top .osrs-ad-unit {
    width: 300px;
  }
}
@media (max-width: 339px) {
  .osrs-ad--calculator-top .osrs-ad-unit {
    width: 250px;
  }
}
.osrs-ad:has(ins[data-ad-status="unfilled"]),
.osrs-ads-blocked .osrs-ad {
  display: none;
}
