/* Single osu-web cascade. Semantic UI is not loaded. */
:root {
  --nav2-height: 90px;
  --nav2-height-pinned: 50px;
  --nav2-avatar-height: 60px;
  --nav2-avatar-height-pinned: 40px;
  --gutter: 10px;
  --gutter-desktop: 50px;
  --page-width: 1000px;
  --radius: 10px;
  --header-title-height: 55px;
  --page-spacing: 10px;
  --box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  --font: Torus, Inter, "Helvetica Neue", Tahoma, Arial, "Hiragino Kaku Gothic ProN", Meiryo, "Microsoft YaHei", "Apple SD Gothic Neo", sans-serif;
  --font-content: Inter, sans-serif;
  --header-pinned-animation-duration: 0ms;
  --transition: 120ms;
  --z-index--nav-bar: 509;
  --z-index--blackout: 510;
  --z-index--nav-bar-mobile: 501;
  --nav-logo: url("/static/osu-images/osu-logo-white.svg");
  --nav-logo-bg: url("/static/osu-images/osu-logo-triangles.svg");
  --base-hue: 255;
  --base-hue-default: 255;
  --base-hue-override: var(--base-hue);
}

html.js-animate-nav {
  --header-pinned-animation-duration: 300ms;
}
html.js-header-is-pinned {
  --nav2-height: var(--nav2-height-pinned);
  --nav2-avatar-height: var(--nav2-avatar-height-pinned);
}

*, *::before, *::after { box-sizing: border-box; }

::selection {
  color: #fff;
  background-color: hsl(var(--hsl-h2));
}

html {
  font-size: 16px;
  scroll-padding-top: var(--nav2-height);
  background: #000;
}

body.t-section,
body.osu-layout,
body.osu-layout--body,
body.osu-layout--body-lazer,
body {
  --c-saturation-1: 100%;
  --c-saturation-2: 80%;
  --c-saturation-3: 60%;
  --c-saturation-4: 40%;
  --c-lightness-1: 70%;
  --c-lightness-2: 60%;
  --c-lightness-3: 50%;
  --c-lightness-4: 30%;
  --hsl-p: var(--base-hue), 100%, 50%;
  --hsl-h1: var(--base-hue), 100%, 70%;
  --hsl-h2: var(--base-hue), 50%, 45%;
  --hsl-c1: var(--base-hue), 40%, 100%;
  --hsl-c2: var(--base-hue), 40%, 90%;
  --hsl-l1: var(--base-hue), 40%, 80%;
  --hsl-l2: var(--base-hue), 40%, 75%;
  --hsl-l3: var(--base-hue), 40%, 70%;
  --hsl-l4: var(--base-hue), 40%, 50%;
  --hsl-d1: var(--base-hue), 20%, 35%;
  --hsl-d2: var(--base-hue), 20%, 30%;
  --hsl-d3: var(--base-hue), 20%, 25%;
  --hsl-d4: var(--base-hue), 20%, 20%;
  --hsl-d5: var(--base-hue), 20%, 15%;
  --hsl-d6: var(--base-hue), 20%, 10%;
  --hsl-f1: var(--base-hue), 10%, 60%;
  --hsl-b1: var(--base-hue), 10%, 40%;
  --hsl-b2: var(--base-hue), 10%, 30%;
  --hsl-b3: var(--base-hue), 10%, 25%;
  --hsl-b4: var(--base-hue), 10%, 20%;
  --hsl-b5: var(--base-hue), 10%, 15%;
  --hsl-b6: var(--base-hue), 10%, 10%;
  --colour-pink-hue: 333;
  --colour-purple-hue: 255;
  --colour-blue-hue: 200;
  --colour-green-hue: 125;
  --colour-lime-hue: 90;
  --colour-orange-hue: 45;
  --colour-red-hue: 360;
  --colour-darkorange-hue: 20;
  --hsl-pink-1: var(--colour-pink-hue), var(--c-saturation-1), var(--c-lightness-1);
  --hsl-pink-2: var(--colour-pink-hue), var(--c-saturation-2), var(--c-lightness-2);
  --hsl-pink-3: var(--colour-pink-hue), var(--c-saturation-3), var(--c-lightness-3);
  --hsl-pink-4: var(--colour-pink-hue), var(--c-saturation-4), var(--c-lightness-4);
  --hsl-purple-1: var(--colour-purple-hue), var(--c-saturation-1), var(--c-lightness-1);
  --hsl-purple-2: var(--colour-purple-hue), var(--c-saturation-2), var(--c-lightness-2);
  --hsl-purple-3: var(--colour-purple-hue), var(--c-saturation-3), var(--c-lightness-3);
  --hsl-purple-4: var(--colour-purple-hue), var(--c-saturation-4), var(--c-lightness-4);
  --hsl-blue-1: var(--colour-blue-hue), var(--c-saturation-1), var(--c-lightness-1);
  --hsl-blue-2: var(--colour-blue-hue), var(--c-saturation-2), var(--c-lightness-2);
  --hsl-blue-3: var(--colour-blue-hue), var(--c-saturation-3), var(--c-lightness-3);
  --hsl-blue-4: var(--colour-blue-hue), var(--c-saturation-4), var(--c-lightness-4);
  --hsl-green-1: var(--colour-green-hue), var(--c-saturation-1), var(--c-lightness-1);
  --hsl-green-2: var(--colour-green-hue), var(--c-saturation-2), var(--c-lightness-2);
  --hsl-green-3: var(--colour-green-hue), var(--c-saturation-3), var(--c-lightness-3);
  --hsl-green-4: var(--colour-green-hue), var(--c-saturation-4), var(--c-lightness-4);
  --hsl-lime-1: var(--colour-lime-hue), var(--c-saturation-1), var(--c-lightness-1);
  --hsl-lime-2: var(--colour-lime-hue), var(--c-saturation-2), var(--c-lightness-2);
  --hsl-lime-3: var(--colour-lime-hue), var(--c-saturation-3), var(--c-lightness-3);
  --hsl-lime-4: var(--colour-lime-hue), var(--c-saturation-4), var(--c-lightness-4);
  --hsl-orange-1: var(--colour-orange-hue), var(--c-saturation-1), var(--c-lightness-1);
  --hsl-orange-2: var(--colour-orange-hue), var(--c-saturation-2), var(--c-lightness-2);
  --hsl-orange-3: var(--colour-orange-hue), var(--c-saturation-3), var(--c-lightness-3);
  --hsl-orange-4: var(--colour-orange-hue), var(--c-saturation-4), var(--c-lightness-4);
  --hsl-red-1: var(--colour-red-hue), var(--c-saturation-1), var(--c-lightness-1);
  --hsl-red-2: var(--colour-red-hue), var(--c-saturation-2), var(--c-lightness-2);
  --hsl-red-3: var(--colour-red-hue), var(--c-saturation-3), var(--c-lightness-3);
  --hsl-red-4: var(--colour-red-hue), var(--c-saturation-4), var(--c-lightness-4);
  --hsl-darkorange-1: var(--colour-darkorange-hue), var(--c-saturation-1), var(--c-lightness-1);
  --hsl-darkorange-2: var(--colour-darkorange-hue), var(--c-saturation-2), var(--c-lightness-2);
  --hsl-darkorange-3: var(--colour-darkorange-hue), var(--c-saturation-3), var(--c-lightness-3);
  --hsl-darkorange-4: var(--colour-darkorange-hue), var(--c-saturation-4), var(--c-lightness-4);
  --level-tier-iron: #6b6b6b;
  --level-tier-bronze: #c98a4b;
  --level-tier-silver: #c0c0d8;
  --level-tier-gold: #e0c45c;
  --level-tier-platinum: #7ad4d4;
  --level-tier-rhodium: #c9c9e8;
  --level-tier-radiant: #f0d4ff;
  --level-tier-lustrous: #ffe9a8;
  --beatmapset-graveyard: 0, 0%, 40%;
  --beatmapset-wip: 45, 80%, 50%;
  --beatmapset-pending: 25, 90%, 55%;
  --beatmapset-ranked: 125, 60%, 45%;
  --beatmapset-approved: 200, 70%, 50%;
  --beatmapset-qualified: 200, 70%, 50%;
  --beatmapset-loved: 333, 80%, 60%;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  color: hsl(var(--hsl-c1));
  background-color: hsl(var(--hsl-b6));
  padding-top: var(--nav2-height);
  transition: padding-top var(--header-pinned-animation-duration);
  -webkit-font-smoothing: antialiased;
}
body.osu-layout--body-landing {
  padding-top: 0;
  background-color: hsl(var(--hsl-b6));
}
body.osu-layout--body-landing::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image: image-set(url("/static/osu-images/page-dark.png") 1x, url("/static/osu-images/page-dark@2x.png") 2x);
  background-size: cover;
}
body.osu-layout--body-landing > *:not(#overlay):not(#user-popup):not(.quick-search-overlay):not(.blackout) {
  position: relative;
  z-index: 1;
}
body.osu-layout--body-landing > #overlay,
body.osu-layout--body-landing > #user-popup,
body.osu-layout--body-landing > .quick-search-overlay,
body.osu-layout--body-landing > .blackout {
  position: fixed !important;
}

a { color: hsl(var(--hsl-l1)); text-decoration: none; transition: color 80ms; }
a:hover { color: #fff; text-decoration: underline; }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid hsl(var(--hsl-h1)); outline-offset: 2px; }

img { max-width: 100%; border: 0; }
h1, h2, h3, h4 { font-weight: 600; margin: 0; }
p { margin: 0 0 10px; }
ul { margin: 0; padding: 0; }

.osu-layout { display: flex; flex-direction: column; min-height: 100vh; }
.h-container, .osu-layout__section { flex: 1 0 auto; }

.blackout {
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: var(--z-index--blackout);
  transition: opacity 200ms;
}
.blackout--visible { opacity: 0.5; pointer-events: auto; }

/* ===== NAV2 ===== */
.nav2 {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-index--nav-bar);
  display: flex;
  align-items: stretch;
  height: var(--nav2-height);
  padding: 0 var(--gutter);
  background: #000;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  transition: height var(--header-pinned-animation-duration);
}
@media (min-width: 768px) {
  .nav2 { padding: 0 var(--gutter-desktop); }
}
.nav2__colgroup { display: flex; flex: none; align-items: stretch; }
.nav2__colgroup--menu { margin-right: auto; }
.nav2__col { display: flex; align-items: stretch; position: relative; }
.nav2__col--logo { align-items: center; margin-right: 10px; }
.nav2__logo-link {
  height: 70px; width: 70px; margin: -5px;
  position: relative; display: block;
  transition: width var(--header-pinned-animation-duration), height var(--header-pinned-animation-duration);
}
.js-header-is-pinned .nav2__logo-link { height: 40px; width: 40px; }
.nav2__logo, .nav2__logo-bg {
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute; inset: 0;
  transition: all .1s ease-in-out;
}
.nav2__logo { background-image: var(--nav-logo); }
.nav2__logo--bg { background-image: var(--nav-logo-bg); opacity: 0; }
.nav2__logo-link:hover .nav2__logo { transform: scale(1.11); }
.nav2__logo-link:hover .nav2__logo--bg { opacity: 1; }

.nav2__menu-link-main {
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 10px;
  cursor: pointer;
  text-transform: lowercase;
  white-space: nowrap;
  position: relative;
  background: none;
  border: 0;
  font: inherit;
}
.nav2__menu-link-main, .nav2__menu-link-main:hover, .nav2__menu-link-main:focus {
  text-decoration: none; color: #fff;
}
.nav2__menu-link-main:hover,
.nav2__menu-link-main.js-click-menu--active { color: #ff99cc; }
.nav2__menu-link-bar {
  position: absolute;
  left: 10px; right: 10px; bottom: 0;
  height: 3px;
  background: linear-gradient(to right, #ff99cc, #ffcc22);
  opacity: 0;
  pointer-events: none;
}
.nav2__menu-link-main--active .nav2__menu-link-bar,
.nav2__menu-link-main.js-click-menu--active .nav2__menu-link-bar,
.nav2__menu-link-main:hover .nav2__menu-link-bar { opacity: 1; }

.nav2__menu-link-main--search,
.nav-button {
  width: 40px; height: 40px; padding: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; color: #fff;
  cursor: pointer; font-size: 16px; align-self: center;
}
.nav2__menu-link-main--search:hover,
.nav-button:hover { background: hsla(0,0%,100%,.1); color: #fff; text-decoration: none; }
.nav2__notification-container { display: flex; align-items: center; gap: 4px; margin-left: 6px; }

.nav2__avatar, .avatar--nav2 {
  border-radius: 50%;
  height: var(--nav2-avatar-height);
  width: var(--nav2-avatar-height);
  object-fit: cover;
  align-self: center;
  cursor: pointer;
  transition: width var(--header-pinned-animation-duration), height var(--header-pinned-animation-duration), box-shadow 120ms;
}
.avatar--nav2.js-click-menu--active,
.avatar--nav2:hover { box-shadow: inset 0 0 0 3px hsl(var(--hsl-c1)); }

.nav2__menu-popup {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 520;
  padding-top: 6px;
}
.nav2__col--avatar .nav2__menu-popup { right: 0; left: auto; }
.nav2__col.js-click-menu--active > .nav2__menu-popup { display: block; }

.simple-menu {
  background: hsl(var(--hsl-b4));
  min-width: 180px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
}
.simple-menu--nav2 {
  min-height: 100px;
  background: linear-gradient(#ff99cc, #ff99cc 4px, #ffcc22 4px, #ffcc22 8px, hsl(var(--hsl-b4)) 8px);
  padding-top: 8px;
}
.simple-menu--user {
  min-width: 220px;
  background: linear-gradient(hsl(var(--hsl-h1)), hsl(var(--hsl-h1)) 4px, hsl(var(--hsl-h1)) 4px);
}
.simple-menu__header {
  display: flex; align-items: center; gap: 12px;
  padding: 15px;
  background-size: cover;
  background-position: 50%;
  color: #fff;
  text-decoration: none;
}
.simple-menu__header:hover { color: #fff; text-decoration: none; }
.simple-menu__header-avatar {
  width: 70px; height: 70px; border-radius: 10px; object-fit: cover; flex: none;
}
.simple-menu__header-name { font-size: 16px; font-weight: 600; }
.simple-menu__item {
  display: block;
  padding: 8px 16px;
  color: hsl(var(--hsl-c1));
  text-transform: lowercase;
}
.simple-menu__item:hover { background: hsl(var(--hsl-b3)); color: #fff; text-decoration: none; }

.nav2__mobile-toggle { display: none; }

@media (max-width: 899px) {
  .nav2 { display: none; }
  body:not(.osu-layout--body-landing) { padding-top: 50px; }
}

/* ===== landing-nav (guest home) ===== */
.landing-nav {
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  padding: 30px 20px 20px;
  position: static;
  z-index: auto;
}
.landing-nav__section { display: flex; margin: 0 -12px; }
.landing-nav__link {
  align-items: center; color: #fff; cursor: pointer;
  display: flex; margin: 0 12px; text-transform: lowercase; white-space: nowrap;
  background: none; border: 0; font: inherit;
}
.landing-nav__link, .landing-nav__link:hover, .landing-nav__link:focus { text-decoration: none; }
.landing-nav__link:hover, .landing-nav__link:focus { color: #f6a; }
.landing-nav__link--bold { font-weight: 700; }
.landing-nav__link--locale { color: #86e; margin: 0; padding: 5px 0; }
@media (max-width: 899px) { .landing-nav { display: none; } }

/* ===== navbar-mobile ===== */
.navbar-mobile {
  align-items: center;
  background-color: hsl(var(--hsl-h2));
  color: #fff;
  display: none;
  height: 50px;
  padding: 0 10px;
  position: fixed;
  top: 0; width: 100%;
  z-index: var(--z-index--nav-bar-mobile);
}
.navbar-mobile__header-section { align-items: center; display: flex; flex: 1; min-width: 0; }
.navbar-mobile__header-section--buttons { flex: none; }
.navbar-mobile__logo {
  background-image: var(--nav-logo);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  display: block; flex: none;
  height: 40px; width: 40px; margin: -5px;
}
.navbar-mobile__brand { font-size: 14px; min-width: 0; padding: 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.navbar-mobile__toggle {
  appearance: none; background: none; border: 0; color: hsl(var(--hsl-c1));
  display: flex; align-items: center; justify-content: center;
  height: 30px; width: 30px; padding: 0; cursor: pointer;
}
.navbar-mobile__toggle.js-click-menu--active { transform: rotateX(.5turn); }
@media (max-width: 899px) { .navbar-mobile { display: flex; } }

.mobile-menu {
  display: none;
  position: fixed;
  top: 50px; left: 0; right: 0; bottom: 0;
  background: hsl(var(--hsl-b5));
  z-index: 500;
  overflow: auto;
}
.mobile-menu.is-open { display: block; }
.navbar-mobile-item { display: flex; flex-direction: column; }
.navbar-mobile-item__link {
  color: #fff; padding: 12px 16px; display: flex; align-items: center;
  border-bottom: 1px solid hsl(var(--hsl-b4));
}
.navbar-mobile-item__link:hover { color: hsl(var(--hsl-c2)); text-decoration: none; background: hsl(var(--hsl-b3)); }
.navbar-mobile-item__submenu { display: none; background: hsl(var(--hsl-b4)); }
.navbar-mobile-item.is-open .navbar-mobile-item__submenu { display: block; }
.navbar-mobile-item__submenu-item { display: block; padding: 10px 16px 10px 40px; color: hsl(var(--hsl-c2)); }
.navbar-mobile-item__submenu-item:hover { background: hsl(var(--hsl-b3)); color: #fff; text-decoration: none; }
.navbar-mobile-item--user { flex-direction: row; align-items: center; background: hsl(var(--hsl-b4)); padding: 10px 16px; }
.avatar--navbar-mobile { height: 30px; width: 30px; border-radius: 50%; margin-right: 10px; }

/* ===== header-v4 ===== */
.header-v4 {
  position: relative;
  background-color: hsl(var(--hsl-d5));
  margin: 0 0 var(--page-spacing);
  min-height: 208px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.header-v4__bg-container { position: absolute; inset: 0; overflow: hidden; background-color: hsl(var(--hsl-d5)); }
.header-v4__bg {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  max-width: 1200px;
  margin: auto;
  opacity: .7;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background-image: image-set(url("/static/osu-images/generic.jpg") 1x, url("/static/osu-images/generic@2x.jpg") 2x);
}
.header-v4__bg::before {
  content: "";
  background-image: linear-gradient(to right, hsl(var(--hsl-d5)), transparent 200px, transparent 1000px, hsl(var(--hsl-d5)) 1200px);
  background-position: center;
  height: 100%;
  width: 1200px;
  display: block;
  flex: none;
}
.header-v4--rankings .header-v4__bg { background-image: image-set(url("/static/osu-images/rankings.jpg") 1x, url("/static/osu-images/rankings@2x.jpg") 2x); }
.header-v4--password-reset .header-v4__bg { background-image: image-set(url("/static/osu-images/password-reset.jpg") 1x, url("/static/osu-images/password-reset@2x.jpg") 2x); }
.header-v4--help .header-v4__bg,
.header-v4--wiki .header-v4__bg { background-image: image-set(url("/static/osu-images/wiki.jpg") 1x, url("/static/osu-images/wiki@2x.jpg") 2x); }
.header-v4--supporter .header-v4__bg { background-image: image-set(url("/static/osu-images/supporter.jpg") 1x, url("/static/osu-images/supporter@2x.jpg") 2x); }
.header-v4--news .header-v4__bg,
.header-v4--home .header-v4__bg { background-image: image-set(url("/static/osu-images/news.png") 1x, url("/static/osu-images/news@2x.png") 2x); }
.header-v4--download .header-v4__bg { background-image: url("/static/osu-images/generic.jpg"); }
.header-v4--forum .header-v4__bg { background-image: image-set(url("/static/osu-images/forum-index.jpg") 1x, url("/static/osu-images/forum-index@2x.jpg") 2x); }
.header-v4--store .header-v4__bg { background-image: image-set(url("/static/osu-images/store.png") 1x, url("/static/osu-images/store@2x.png") 2x); }
.header-v4--changelog .header-v4__bg { background-image: url("/static/osu-images/changelog.jpg"); }
.header-v4--chat .header-v4__bg { background-image: url("/static/osu-images/chat.jpg"); }
.header-v4--users .header-v4__bg { filter: blur(50px); opacity: .25; }
.header-v4--error .header-v4__bg { background-image: image-set(url("/static/osu-images/error.jpg") 1x, url("/static/osu-images/generic@2x.jpg") 2x); }

.header-v4__content {
  color: hsl(var(--hsl-c1));
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}
@media (min-width: 900px) {
  .header-v4__content { width: calc(100% - 40px); }
}
.header-v4__row { display: flex; align-items: center; }
.header-v4__row--title {
  height: 55px;
  padding: 0 10px;
  gap: 10px;
  background-color: hsl(var(--hsl-d5));
}
.header-v4__icon {
  width: 40px; height: 40px; flex: none;
  background: url("/static/osu-images/home.svg") 50%/75% no-repeat;
  align-self: stretch;
}
.header-v4--rankings .header-v4__icon { background-image: url("/static/osu-images/rankings.svg"); }
.header-v4--beatmapsets .header-v4__icon,
.header-v4--beatmapset .header-v4__icon { background-image: url("/static/osu-images/beatmapsets.svg"); }
.header-v4--help .header-v4__icon { background-image: url("/static/osu-images/help.svg"); }
.header-v4--friends .header-v4__icon { background-image: url("/static/osu-images/friends.svg"); }
.header-v4--news .header-v4__icon { background-image: url("/static/osu-images/news.svg"); }
.header-v4--settings .header-v4__icon { background-image: url("/static/osu-images/settings.svg"); }
.header-v4--changelog .header-v4__icon { background-image: url("/static/osu-images/changelog.svg"); }
.header-v4--chat .header-v4__icon { background-image: url("/static/osu-images/chat.svg"); }
.header-v4--forum .header-v4__icon { background-image: url("/static/osu-images/forum.svg"); }
.header-v4__title {
  font-size: 20px;
  font-weight: 400;
  text-transform: lowercase;
  margin: 0;
}
.header-v4__row--bar {
  background: hsl(var(--hsl-d4));
  height: 48px;
  min-height: 48px;
  padding: 0 10px;
  overflow: visible;
}
.header-nav-v4 { display: flex; list-style: none; margin: 0; padding: 0; gap: 20px; flex-wrap: wrap; font-size: 14px; height: 48px; align-items: stretch; }
.header-nav-v4__link {
  color: hsl(var(--hsl-l2));
  display: flex;
  align-items: center;
  padding: 15px 0;
  text-transform: lowercase;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
}
.header-nav-v4__link:hover { color: #fff; text-decoration: none; }
.header-nav-v4__link--active { color: #fff; font-weight: 700; box-shadow: inset 0 -3px hsl(var(--hsl-h1)); }

@media (max-width: 899px) {
  .header-v4__title { display: none; }
  .header-nav-v4 { display: none; }
  .header-v4__row--title { height: 40px; }
}

/* game-mode */
.game-mode { display: flex; gap: 10px 20px; margin-left: auto; flex-wrap: wrap; align-items: center; }
@media (min-width: 900px) {
  ul.game-mode.game-mode--mobile {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    position: static !important;
    top: auto !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}
.game-mode-link {
  color: hsl(var(--hsl-h1));
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  padding: 0;
  font-size: 20px;
  line-height: 20px;
  overflow: hidden;
  text-decoration: none;
}
.game-mode-link:hover, .game-mode-link.active, .game-mode-link.js-is-active, .game-mode-link.header-nav-v4__link--active {
  color: #fff; text-decoration: none; font-weight: 700;
}
.game-mode-link .fal { font-size: 20px; width: 20px; height: 20px; line-height: 20px; }

/* ===== pages ===== */
.osu-page {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto var(--page-spacing);
  padding: 0 10px;
}
@media (min-width: 900px) {
  .osu-page {
    width: calc(100% - 40px);
    padding: 0;
  }
}
.osu-page--generic, .osu-page--generic-compact, .osu-page--ranking, .osu-page--wiki {
  background: hsl(var(--hsl-b5));
  padding: 10px;
  border-radius: 0 0 4px 4px;
}
.osu-page--landing { background: transparent; max-width: 1000px; padding: 0; }

/* ===== landing hero ===== */
.osu-page--landing-hero { max-width: 1000px; padding: 0; margin: 0 auto 10px; }
.landing-hero {
  align-items: center;
  background-color: #333;
  box-shadow: var(--box-shadow);
  display: flex;
  height: 450px;
  justify-content: flex-end;
  position: relative;
  overflow: visible;
  width: 100%;
}
.landing-hero__bg-container, .landing-hero__bg-container::after {
  position: absolute; inset: 0;
}
.landing-hero__bg {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.landing-hero__bg-container::after {
  content: "";
  background-color: hsla(var(--hsl-b6), .5);
}
.landing-hero__pippi {
  background-image: image-set(url("/static/osu-images/pippi.png") 1x, url("/static/osu-images/pippi@2x.png") 2x);
  background-size: contain;
  background-repeat: no-repeat;
  bottom: 1px; left: 0;
  height: 466px; max-width: 328px;
  margin-left: 50px;
  position: absolute;
  width: calc(100% - 50px);
}
@media (max-width: 899px) { .landing-hero__pippi { opacity: 1; } }
.landing-hero__graph { position: absolute; bottom: 0; left: 0; width: 100%; height: 70px; pointer-events: none; }
.landing-hero__info {
  color: #fff; font-size: 12px;
  left: 0; top: 0; width: 100%;
  padding: 30px 50px;
  position: absolute;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.75);
  z-index: 2;
}
.landing-hero__info b, .landing-hero__info strong { font-weight: 800; }
@media (min-width: 900px) { .landing-hero__info { text-align: right; } }
.landing-hero__logo {
  background-image: image-set(url("/static/osu-images/osu-logo.png") 1x, url("/static/osu-images/osu-logo@2x.png") 2x);
  background-size: contain;
  background-repeat: no-repeat;
  height: 100px; width: 100px; flex: none; margin-bottom: -3px;
  position: static;
  opacity: 1;
}
.landing-hero__messages {
  padding: 0 50px; position: relative; text-align: center; width: 100%; z-index: 2;
}
@media (min-width: 900px) { .landing-hero__messages { text-align: right; } }
.landing-hero__slogan-main {
  color: #fff; font-size: 24px; line-height: 26px;
  margin: 0 0 5px; padding: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,.75);
  font-weight: 400;
}
.landing-hero__slogan-sub {
  color: #f9c; font-size: 16px; line-height: 18px;
  margin: 0; padding: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,.75);
}
.landing-hero__message-extra-container { height: 0; position: relative; }
.landing-hero__message-extra {
  align-items: flex-end; display: flex; flex-direction: column;
  position: absolute; width: 100%;
}
.landing-hero__message-extra--bottom { margin-top: 20px; top: 100%; }

.landing-graph { padding: 0; }
.landing-graph svg { display: block; width: 100%; height: 70px; }
.landing-graph__area { fill: #b17; }
.landing-hero-bottom {
  height: 20px;
  background: hsl(var(--hsl-b6));
  clip-path: url(#landing-wave);
  margin-top: -1px;
}

/* download CTA */
.btn-osu-big {
  --bg: hsl(var(--hsl-h2));
  --colour: hsl(var(--hsl-c1));
  --hover-bg: hsl(var(--hsl-h1));
  --hover-colour: hsl(var(--hsl-c1));
  appearance: none;
  background: var(--bg);
  border: none;
  border-radius: 4px;
  color: var(--colour);
  cursor: pointer;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  margin: 0;
  outline: none;
  overflow: hidden;
  padding: 5px;
  text-transform: none;
  transition: background-color .12s;
  vertical-align: middle;
  white-space: nowrap;
  text-align: center;
  line-height: 1.25;
}
.btn-osu-big, .btn-osu-big:hover, .btn-osu-big:focus { text-decoration: none; color: var(--colour); }
.btn-osu-big:hover { background: var(--hover-bg); color: var(--hover-colour); }
.btn-osu-big--rounded { border-radius: 10000px; padding: 8px 16px; }
.btn-osu-big--password-reset { --bg: hsl(var(--hsl-h1)); padding: 8px 20px; }
.btn-osu-big--supporter { --bg: hsl(var(--hsl-pink-1)); --hover-bg: hsl(var(--hsl-pink-2)); color: #fff; }
.btn-osu-big--download {
  --bg-colour: var(--hsl-pink-1);
  --cookie: url("/static/osu-images/cookie_v3.svg");
  --overlay-colour: rgba(0,0,0,.75);
  background:
    var(--cookie) right 15% center no-repeat,
    linear-gradient(var(--overlay-colour), var(--overlay-colour)) padding-box,
    linear-gradient(to bottom, var(--overlay-colour), hsla(var(--bg-colour), .8), hsla(var(--bg-colour), .9)) border-box;
  border: 2px solid transparent;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  text-shadow: 0 1px 3px rgba(0,0,0,.75);
  width: 280px;
  max-width: 100%;
  text-align: left;
  white-space: normal;
}
.btn-osu-big--download:hover {
  background:
    var(--cookie) right 15% center no-repeat,
    linear-gradient(hsla(var(--bg-colour), .5), hsla(var(--bg-colour), .5)) padding-box,
    linear-gradient(to bottom, hsla(var(--bg-colour), .5), hsla(var(--bg-colour), .8), hsla(var(--bg-colour), .9)) border-box;
  color: #fff;
}
.btn-osu-big--download-landing {
  box-shadow: var(--box-shadow);
  font-size: 14px;
  padding: 10px 5px;
}
.btn-osu-big__text-top { font-size: 16px; font-weight: 700; display: block; }
.btn-osu-big__text-bottom { font-size: 12px; font-weight: 400; opacity: .8; display: block; }

/* news cards */
.landing-news { padding: 10px 0; }
.landing-news__posts { display: flex; flex-direction: column; }
@media (min-width: 900px) {
  .landing-news__posts { flex-direction: row; margin: 0 -10px; }
}
.news-card {
  background-color: hsl(var(--hsl-b4));
  border-radius: 6px;
  color: #fff;
  display: block;
  min-width: 0;
}
.news-card, .news-card:hover { text-decoration: none; color: #fff; }
.news-card:hover { background-color: hsl(var(--hsl-b3)); }
.news-card--landing { flex: 1; margin: 10px; }
.news-card__cover-container {
  background-image: image-set(url("/static/osu-images/news-show-default.jpg") 1x, url("/static/osu-images/news-show-default@2x.jpg") 2x);
  background-size: cover;
  border-radius: 6px;
  height: 160px;
  overflow: hidden;
  position: relative;
}
.news-card__cover { height: 100%; width: 100%; object-fit: cover; }
.news-card__time {
  position: absolute; right: 15px; top: 10px;
  background: hsla(var(--hsl-b6), .5);
  border-radius: 10000px;
  font-size: 10px; font-weight: 600;
  padding: 5px 20px;
  text-transform: uppercase;
}
.news-card__main { padding: 10px 15px; }
.news-card__row--title { font-weight: 600; font-size: 20px; }
.news-card--landing .news-card__row--title { font-size: 14px; }
.news-card__row--preview {
  font-family: var(--font-content);
  line-height: 1.35;
  color: hsl(var(--hsl-c2));
  margin-top: 6px;
}
.news-card--landing .news-card__row--preview { display: none; }
.landing-news__link { display: flex; justify-content: center; padding: 10px; width: 100%; }

.user-home { display: flex; gap: 10px; flex-wrap: wrap; }
.user-home__news { flex: 1; min-width: 0; }
.user-home__title { font-size: 16px; margin: 0 0 10px; }
.user-home__posts { display: flex; flex-direction: column; gap: 10px; }
.user-home__rightbar { width: 100%; }
@media (min-width: 900px) { .user-home__rightbar { width: 250px; flex: none; } }
.user-home__buttons { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.user-home__status-box {
  background: hsl(var(--hsl-b4));
  border-radius: 10px;
  padding: 15px;
  display: flex;
  gap: 20px;
}
.user-home__online-value { font-size: 20px; font-weight: 700; }
.user-home__online-label { color: hsl(var(--hsl-f1)); text-transform: lowercase; }

/* footer */
.footer {
  background-color: hsl(var(--hsl-b5));
  color: hsl(var(--hsl-f1));
  display: flex;
  flex: none;
  flex-direction: column;
  font-size: 10px;
  padding: 10px 0 5px;
  margin-top: auto;
}
.footer--landing {
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 20px 0;
}
.footer__row { display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 5px; align-items: center; }
.footer__link { color: #fff; font-weight: 700; margin: 0 10px; }
.footer__link, .footer__link:hover { text-decoration: none; }
.footer__link:hover { color: hsl(var(--hsl-l1)); }
.footer--landing .footer__link { font-weight: inherit; }
.landing-sitemap {
  display: grid;
  grid-gap: 10px;
  margin: 35px auto;
  max-width: 800px;
}
@media (min-width: 900px) { .landing-sitemap { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) { .landing-sitemap { text-align: center; } }
.landing-sitemap__header { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.landing-sitemap__link { color: #fde; font-size: 12px; display: block; padding: 2px 0; }
.landing-sitemap__link:hover { color: #fff; text-decoration: none; }
.landing-sitemap__list { list-style: none; }
.footer__heart {
  width: 32px; height: 32px;
  background: url("/static/osu-images/heart.png") center/contain no-repeat;
  display: inline-block;
  margin: 0 8px;
}
.footer__ppy { opacity: .7; }

/* rankings */
.ranking-filter { display: block; align-items: stretch; gap: 0; padding: 0; flex-wrap: nowrap; width: 100%; }
.ranking-filter__title { font-size: 12px; font-weight: 700; text-transform: uppercase; margin-right: 8px; }
.ranking-filter select {
  background: hsl(var(--hsl-b6));
  color: hsl(var(--hsl-c1));
  border: 0;
  border-radius: 4px;
  padding: 6px 10px;
  font: inherit;
}
.ranking-page { color: #fff; font-size: 12px; overflow-x: auto; }
.ranking-page-table {
  border-collapse: separate;
  border-spacing: 0 3px;
  text-align: center;
  width: 100%;
  white-space: nowrap;
}
.ranking-page-table__heading {
  color: hsl(var(--hsl-f1));
  font-weight: 400;
  padding: 6px 5px;
}
.ranking-page-table__heading--focused { color: hsl(var(--hsl-c1)); }
.ranking-page-table__column {
  background: hsl(var(--hsl-b4));
  padding: 6px 5px;
}
.ranking-page-table__column--dimmed { color: hsl(var(--hsl-f1)); }
.ranking-page-table__column:first-child { border-radius: 4px 0 0 4px; padding-left: 10px; }
.ranking-page-table__column:last-child { border-radius: 0 4px 4px 0; padding-right: 10px; }
.ranking-page-table__row:hover .ranking-page-table__column { background: hsl(var(--hsl-b3)); }
.ranking-page-table__column--rank-change { text-align: start; color: hsl(var(--hsl-f1)); min-width: 28px; }
.ranking-page-table__column--rank-change-up { color: hsl(var(--hsl-lime-1)); }
.ranking-page-table__column--rank-change-down { color: hsl(var(--hsl-red-1)); }
.ranking-user { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.ranking-user:hover { color: #fff; text-decoration: none; }
.ranking-user__avatar {
  width: 50px; height: 50px; border-radius: 10px; object-fit: cover;
}
.ranking-user__flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
.ranking-user__online {
  width: 8px; height: 8px; border-radius: 50%;
  background: hsl(var(--hsl-f1));
  display: inline-block; margin-right: 4px;
}
.ranking-user__online.is-online { background: hsl(var(--hsl-lime-1)); }
.ranking-page-table__grade { min-width: 28px; font-family: inherit; font-weight: 400; }
.grade { font-family: Venera, sans-serif; font-weight: 500; letter-spacing: .05em; }
.grade--ss, .grade--x, .grade--X, .grade--XH, .grade--SH { color: #de31ae; }
.grade--s, .grade--S { color: #02b5c3; }
.grade--a { color: #88da20; }
.grade--b { color: #e3b130; }
.grade--c { color: #ff8e5d; }
.grade--d, .grade--f { color: #ff5a5a; }
.grade-img { height: 16px; width: auto; vertical-align: middle; }

.pagination-v2 {
  align-items: center;
  color: hsl(var(--hsl-l2));
  display: flex;
  font-size: 12px;
  justify-content: center;
  padding: 10px 0;
  gap: 4px;
  flex-wrap: wrap;
}
.pagination-v2__link {
  border-radius: 10000px;
  display: block;
  padding: 4px 10px;
  color: hsl(var(--hsl-l1));
  text-decoration: none;
}
.pagination-v2__link:hover { color: #fff; text-decoration: none; }
.pagination-v2__link--active {
  background-color: hsl(var(--hsl-h1));
  color: hsl(var(--hsl-b5));
  font-weight: 600;
}
.pagination-v2__link--disabled { opacity: .4; pointer-events: none; }

/* profile */
.profile-info {
  --avatar-radius: 20px;
  --avatar-size: 65px;
  background-color: hsl(var(--hsl-b3));
  display: flex;
  flex-direction: column;
  width: 100%;
}
.profile-info--cover {
  --avatar-radius: 40px;
  --avatar-size: 120px;
}
.profile-info__bg {
  background-size: cover;
  background-position: 50%;
  height: 100px;
  position: relative;
}
@media (min-width: 900px) { .profile-info__bg { height: 250px; } }
.profile-info__details {
  display: flex;
  gap: 20px;
  padding: 0 20px 15px;
  margin-top: -40px;
  position: relative;
  align-items: flex-end;
}
.profile-info__avatar {
  width: var(--avatar-size);
  height: var(--avatar-size);
  border-radius: var(--avatar-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  flex: none;
}
.profile-info__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-info__name { font-size: 24px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.profile-info__title { font-size: 12px; color: hsl(var(--hsl-l1)); font-weight: 400; }
.profile-info__flags { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: hsl(var(--hsl-c2)); }
.flag-country { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; vertical-align: middle; }
.profile-info__actions { margin-left: auto; display: flex; gap: 6px; }
.btn-circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: hsl(var(--hsl-b1));
  color: #fff; border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; text-decoration: none;
}
.btn-circle:hover { background: hsl(var(--hsl-h1)); color: #fff; text-decoration: none; }
.user-group-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10000px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  background: hsl(var(--hsl-h2));
}
.user-group-badge--supporter { background: linear-gradient(90deg, #ff66aa, #ffcc22); color: #fff; }

.profile-detail { display: block; flex-wrap: wrap; background: hsl(var(--hsl-b4)); }
.profile-detail-stats { flex: 1; min-width: 0; padding: 15px; }
.profile-stats { width: 300px; max-width: 100%; border-radius: 10px; background: hsl(var(--hsl-b5)); padding: 10px; margin: 0; }
.profile-stats__entry { display: flex; justify-content: space-between; padding: 4px 0; }
.profile-stats__key { color: hsl(var(--hsl-f1)); }
.profile-stats__value { font-weight: 600; }
.value-display { display: inline-block; margin-right: 20px; }
.value-display__label { font-size: 10px; color: hsl(var(--hsl-f1)); text-transform: uppercase; font-weight: 600; }
.value-display__value { font-size: 20px; font-weight: 300; }
.value-display--rank .value-display__value { font-size: 24px; font-weight: 600; }
.profile-detail-bar { display: flex; align-items: center; gap: 16px; padding: 10px 15px; width: 100%; background: hsl(var(--hsl-b3)); }
.profile-rank-count { display: flex; align-items: center; gap: 4px; }
.profile-rank-count img { height: 22px; }
.level-badge {
  min-width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
  background: linear-gradient(180deg, var(--level-tier-gold), #8a6a20);
  color: #fff;
}
.bar { height: 8px; background: hsl(var(--hsl-b6)); border-radius: 10000px; flex: 1; overflow: hidden; }
.bar__fill { height: 100%; background: hsl(var(--hsl-h1)); }

.page-extra-tabs { display: flex; list-style: none; gap: 16px; padding: 10px 20px; background: hsl(var(--hsl-b4)); overflow-x: auto; }
.page-extra-tabs__link { color: hsl(var(--hsl-l1)); text-transform: lowercase; padding: 8px 0; display: block; white-space: nowrap; }
.page-extra-tabs__link:hover, .page-extra-tabs__link--active { color: #fff; text-decoration: none; }
.page-extra-tabs__link--active { box-shadow: inset 0 -3px hsl(var(--hsl-h1)); }
.page-extra { background: hsl(var(--hsl-b4)); padding: 20px; margin-top: 2px; }
.page-extra__title {
  font-size: 14px; font-weight: 600; text-transform: lowercase;
  margin: 0 0 12px; padding: 0;
  border: 0;
}
.page-extra__empty { color: hsl(var(--hsl-f1)); padding: 20px 0; text-align: center; }

html:not(html) .play-detail {
  --bg: hsl(var(--hsl-b3));
  --bg-main: hsl(var(--hsl-b2));
  background: var(--bg);
  border-radius: 10px;
  color: #fff;
  font-size: 12px;
  margin: 2px 0;
  min-height: 60px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  gap: 10px;
}
html:not(html) .play-detail:hover { --bg: hsl(var(--hsl-b2)); }
html:not(html) .play-detail__title { font-weight: 600; }
html:not(html) .play-detail__accuracy { color: #fc2; font-weight: 600; min-width: 60px; }
html:not(html) .play-detail__pp { margin-left: auto; font-weight: 700; color: hsl(var(--hsl-l1)); }
html:not(html) .play-detail__icon img, html:not(html) .play-detail__icon .grade-img { height: 28px; }

html:not(html) .profile-detail-stats__chart { height: 90px; margin: 10px 0; }
.profile-detail-stats__chart-empty { color: hsl(var(--hsl-f1)); font-size: 11px; text-align: center; padding: 20px; }
.rank-chart { width: 100%; height: 80px; display: block; }

/* auth overlay */
.user-form {
  position: relative;
  max-width: 400px;
  margin: 40px auto;
  background: hsl(var(--hsl-b4));
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--box-shadow);
}
.user-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.user-popup.is-visible { display: flex; }
.user-popup__box {
  background: hsl(var(--hsl-b4));
  border-radius: 10px;
  padding: 30px;
  width: 360px;
  max-width: 100%;
  position: relative;
  z-index: 2;
}
.user-popup__title {
  font-size: 18px;
  font-weight: 600;
  text-transform: lowercase;
  margin: 0 0 20px;
  text-align: center;
}
.user-form label, .user-popup label, .field label {
  display: block;
  font-size: 12px;
  color: hsl(var(--hsl-c2));
  margin-bottom: 4px;
}
.user-form input[type=text],
.user-form input[type=password],
.user-form input[type=email],
.user-popup input[type=text],
.user-popup input[type=password],
.user-popup input[type=email],
.field input[type=text],
.field input[type=password],
.field input[type=email],
.account-edit input[type=text],
.account-edit input[type=password],
.account-edit input[type=email],
select.ui.dropdown, select {
  width: 100%;
  background: hsl(var(--hsl-b6));
  border: 0;
  border-radius: 6px;
  color: #fff;
  padding: 10px 12px;
  margin-bottom: 12px;
  font: inherit;
}
.user-form-box__actions, .user-popup__actions {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px;
}
body.user-form-page .header-v4 { display: none; }

/* quick search */
.quick-search-overlay {
  position: fixed; inset: 0; z-index: 530;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 20px;
}
.quick-search-overlay.is-visible { display: flex; }
.quick-search {
  width: 100%; max-width: 800px;
  background: hsl(var(--hsl-b4));
  border-radius: 10px;
  padding: 16px;
}
.quick-search-input { display: flex; gap: 10px; align-items: center; }
.quick-search-input__field { flex: 1; display: flex; align-items: center; gap: 8px; background: hsl(var(--hsl-b6)); border-radius: 6px; padding: 8px 12px; }
.quick-search-input__input { flex: 1; background: none; border: 0; color: #fff; font: inherit; outline: none; }
.quick-search-group { margin-top: 16px; }
.quick-search-group__title { font-size: 11px; font-weight: 700; text-transform: uppercase; color: hsl(var(--hsl-f1)); margin-bottom: 6px; }
.quick-search-result { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 6px; color: #fff; }
.quick-search-result:hover { background: hsl(var(--hsl-b3)); text-decoration: none; }
.quick-search-empty { color: hsl(var(--hsl-f1)); padding: 12px 0; }

/* banners */
.notification-banner-v2 {
  max-width: 1000px;
  margin: 10px auto;
  padding: 10px 16px;
  border-radius: 6px;
  background: hsl(var(--hsl-b3));
  color: #fff;
}
.notification-banner-v2--warning { background: hsla(var(--hsl-orange-3), .35); }
.notification-banner-v2--error { background: hsla(var(--hsl-red-3), .35); }
.notification-banner-v2--success { background: hsla(var(--hsl-green-3), .35); }

/* friends */
.user-list { display: flex; flex-wrap: wrap; gap: 6px; }
.user-card-brick {
  display: flex; align-items: center; gap: 8px;
  background: hsl(var(--hsl-b4));
  border-radius: 10px;
  padding: 4px 8px 4px 4px;
  min-width: 180px;
}
.user-card-brick__avatar {
  width: 40px; height: 40px; border-radius: 10px;
  box-shadow: inset 0 0 0 2px hsl(var(--hsl-b2));
  object-fit: cover;
}
.user-card-brick__name { color: #fff; flex: 1; }
.user-card-brick__remove {
  background: none; border: 0; color: hsl(var(--hsl-f1)); cursor: pointer; padding: 4px 8px;
}
.user-card-brick__remove:hover { color: #fff; }

/* settings */
.account-edit { display: flex; gap: 20px; max-width: 1000px; margin: 0 auto; padding: 10px; }
.account-edit__nav { width: 180px; flex: none; position: sticky; top: calc(var(--nav2-height) + 10px); align-self: flex-start; }
.account-edit__nav-item { display: block; padding: 8px 12px; color: hsl(var(--hsl-l1)); }
.account-edit__nav-item:hover, .account-edit__nav-item.is-active { color: #fff; text-decoration: none; background: hsl(var(--hsl-b4)); }
.account-edit__row {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid hsl(var(--hsl-b3));
}
.account-edit__label { width: 180px; flex: none; color: hsl(var(--hsl-c2)); }
.account-edit__avatar { width: 128px; height: 128px; border-radius: 10px; object-fit: cover; }

/* beatmaps */
.beatmapsets { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.beatmapset-panel {
  background: hsl(var(--hsl-b4));
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
  display: block;
}
.beatmapset-panel:hover { color: #fff; text-decoration: none; background: hsl(var(--hsl-b3)); }
.beatmapset-panel__cover { height: 100px; background-size: cover; background-position: 50%; }
.beatmapset-panel__info { padding: 10px; }
.beatmapset-panel__title { font-weight: 600; }
.beatmapset-panel__artist { color: hsl(var(--hsl-f1)); font-size: 11px; }
/* Batch 14 — official beatmapset-header 625×275 shell */
.beatmapset-detail-modes {
  width: min(100%, 1000px);
  margin: 0 auto;
  padding: 8px 40px 0;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 12px;
}
.beatmapset-header {
  position: relative;
  color: #fff;
}
.beatmapset-header--detail {
  width: 1000px;
  max-width: 100%;
  height: 364px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 625px 275px;
  gap: 20px;
  padding: 20px 40px 0;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 0 0 10px 10px;
}
.beatmapset-header--detail .beatmapset-header__cover {
  display: contents;
}
.beatmapset-header--detail .beatmapset-cover.beatmapset-cover--full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  overflow: hidden;
}
.beatmapset-header--detail .beatmapset-cover.beatmapset-cover--full::before {
  filter: saturate(1.05);
  transform: scale(1.02);
}
.beatmapset-header--detail .beatmapset-cover.beatmapset-cover--full::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 16, .18) 0%, rgba(7, 10, 16, .46) 45%, rgba(7, 10, 16, .92) 100%),
    linear-gradient(90deg, rgba(9, 13, 20, .72) 0%, rgba(9, 13, 20, .35) 45%, rgba(9, 13, 20, .55) 100%);
}
.beatmapset-header__box {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  min-width: 0;
}
.beatmapset-header__box--main {
  width: 625px;
  max-width: 100%;
  height: 344px;
  padding: 0 0 25px;
  box-sizing: border-box;
}
.beatmapset-header__box--stats {
  width: 275px;
  height: 344px;
  justify-content: space-between;
  gap: 0;
}
.beatmapset-header__beatmap-picker-box {
  width: 625px;
  max-width: 100%;
  min-height: 0;
  /* Official: grow the picker block so header buttons sit on the cover band (guest Sign In y 496.5). */
  flex: 1 0 auto;
}
.beatmapset-beatmap-picker {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: 190px;
  max-width: 100%;
  height: 38px;
  margin: 0 0 10px;
  overflow: visible;
}
.beatmapset-beatmap-picker__beatmap {
  display: block;
  width: 38px;
  height: 38px;
  min-width: 38px;
  padding: 7px;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  flex: none;
}
.beatmapset-beatmap-picker__beatmap:hover,
.beatmapset-beatmap-picker__beatmap:focus-visible {
  color: #fff;
  text-decoration: none;
  outline: none;
}
.beatmapset-beatmap-picker__beatmap[hidden] {
  display: none !important;
}
.beatmap-list__item {
  color: #fff;
  text-decoration: none;
}
.beatmap-list__item:hover {
  color: #fff;
  text-decoration: none;
}
/* Official picker paint: 24×24 glyph @24px, transparent bg, colour on glyph.
   --diff is set continuously from star rating (inline / JS); tier classes are fallback. */
.beatmap-icon--beatmapset,
.beatmap-icon--beatmapset.beatmapset-difficulty-icon,
.beatmapset-beatmap-picker .beatmapset-difficulty-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  padding: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: var(--diff, #4290fb);
  --diff-colour: var(--diff, #4290fb);
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: transform 80ms ease, filter 80ms ease;
  position: relative;
}
.beatmap-icon--beatmapset.beatmapset-difficulty-icon--easy,
.beatmapset-difficulty-icon--easy { --diff: #4290fb; }
.beatmap-icon--beatmapset.beatmapset-difficulty-icon--normal,
.beatmapset-difficulty-icon--normal { --diff: #4fc0ff; }
.beatmap-icon--beatmapset.beatmapset-difficulty-icon--hard,
.beatmapset-difficulty-icon--hard { --diff: #f6ff4f; }
.beatmap-icon--beatmapset.beatmapset-difficulty-icon--insane,
.beatmapset-difficulty-icon--insane { --diff: #ff974f; }
.beatmap-icon--beatmapset.beatmapset-difficulty-icon--expert,
.beatmapset-difficulty-icon--expert { --diff: #ff4f87; }
.beatmap-icon--beatmapset.beatmapset-difficulty-icon--expert-plus,
.beatmapset-difficulty-icon--expert-plus { --diff: #ad4fff; }
.beatmapset-beatmap-picker__beatmap:hover .beatmap-icon--beatmapset,
.beatmapset-beatmap-picker__beatmap:focus-visible .beatmap-icon--beatmapset,
.beatmapset-beatmap-picker__beatmap:hover .beatmapset-difficulty-icon,
.beatmapset-beatmap-picker__beatmap:focus-visible .beatmapset-difficulty-icon {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.beatmap-icon--beatmapset > i,
.beatmap-icon--beatmapset .beatmapset-difficulty-icon__glyph,
.beatmapset-beatmap-picker .beatmapset-difficulty-icon__glyph {
  font-size: 24px;
  line-height: 1;
  color: inherit;
  transform: none;
}
.beatmapset-beatmap-picker__beatmap--active .beatmap-icon--beatmapset,
.beatmapset-beatmap-picker__beatmap.is-active .beatmap-icon--beatmapset,
.beatmapset-beatmap-picker__beatmap[aria-current="true"] .beatmap-icon--beatmapset,
.beatmapset-beatmap-picker__beatmap--active .beatmapset-difficulty-icon,
.beatmapset-beatmap-picker__beatmap.is-active .beatmapset-difficulty-icon,
.beatmapset-beatmap-picker__beatmap[aria-current="true"] .beatmapset-difficulty-icon {
  filter: drop-shadow(0 0 0 #fff) drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 0 var(--diff));
  transform: none;
  z-index: 1;
}
.beatmapset-header__diff-name {
  display: inline;
  width: auto;
  max-width: 100%;
  margin: 0 0 8px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .75);
  white-space: nowrap;
  overflow-wrap: anywhere;
}
/* osu-web difficulty-badge (resources/css/bem/difficulty-badge.less) */
.difficulty-badge {
  border-radius: 10000px;
  background-color: var(--bg, #aaa);
  padding: 0 0.5em;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: max(0.82em, 12px);
  text-shadow: none;
  height: 100%;
  box-sizing: border-box;
}
.difficulty-badge--beatmapset {
  display: inline-flex;
  height: auto;
  vertical-align: middle;
  margin-bottom: 3px;
  margin-right: 0;
  padding-top: 1px;
  padding-bottom: 1px;
  font-size: 13px;
}
.difficulty-badge__icon {
  font-size: 0.6em;
  margin-right: 0.4em;
  line-height: 1.25;
}
.difficulty-badge__rating {
  min-width: calc(0.67em * 3 + 0.25em);
  transform: translateY(-0.5px);
  line-height: 1.25;
}
.beatmapset-header__diff-label-name {
  font-size: 17px;
  font-weight: 600;
  line-height: 20px;
}
.beatmapset-header__diff-extra {
  margin-left: 5px;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  opacity: 1;
}
.beatmapset-header__diff-extra[hidden] {
  display: none !important;
}
.beatmapset-header__details-text {
  display: block;
  width: 625px;
  max-width: 100%;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .75);
}
.beatmapset-header__details-text--title,
.beatmapset-header--detail .beatmapset-header__title {
  margin: 10px 0 5px;
  font-size: 30px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0;
  height: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.beatmapset-header__details-text--artist,
.beatmapset-header--detail .beatmapset-header__artist {
  margin: 0;
  padding: 0 0 20px;
  font-size: 20px;
  font-weight: 500;
  line-height: 25px;
  height: 45px;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
}
.beatmapset-mapping {
  display: flex;
  align-items: flex-start;
  width: 625px;
  max-width: 100%;
  min-height: 50px;
  height: auto;
  font-size: 11px;
  line-height: 1.25;
  color: rgba(255, 255, 255, .85);
  gap: 10px;
}
.beatmapset-mapping__avatar-link {
  flex: none;
  line-height: 0;
}
.avatar.avatar--beatmapset,
.avatar--beatmapset {
  display: block;
  width: 50px;
  height: 50px;
  /* Official avatar--beatmapset uses default-border-radius (4px rounded-square), not a circle. */
  border-radius: 4px;
  background-color: hsl(var(--hsl-b3));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex: none;
  overflow: hidden;
}
.avatar--guest.avatar--beatmapset {
  background-color: hsl(var(--hsl-b1));
}
.beatmapset-mapping__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.beatmapset-mapping__mapper,
.beatmapset-header--detail .beatmapset-header__mapper {
  font-size: 11px;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 5px;
}
.beatmapset-mapping__user,
.beatmapset-mapping__mapper span,
a.beatmapset-mapping__user {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
a.beatmapset-mapping__user:hover {
  color: #fff;
  text-decoration: underline;
}
.beatmapset-mapping__date {
  font-size: 11px;
  color: rgba(255, 255, 255, .85);
}
.beatmapset-mapping__date strong,
.beatmapset-mapping__date .timeago {
  color: #fff;
  font-weight: 700;
}
.beatmapset-header__value-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: 4px;
}
.beatmapset-header__value {
  font-size: 12px;
  font-weight: 500;
  margin-right: 10px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
  display: inline-flex;
  align-items: center;
}
.beatmapset-header__value--has-favourites {
  background: hsla(var(--hsl-b6), 0.25);
  padding: 2px 5px;
  border-radius: 4px;
}
.beatmapset-header__value-icon {
  padding-right: 2px;
  color: #fff;
}
.beatmapset-header__value-name {
  font-variant-numeric: tabular-nums;
}
.beatmapset-header__buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 5px;
  width: 625px;
  max-width: 100%;
  height: 50px;
  margin-top: 10px;
  box-sizing: border-box;
  overflow: hidden;
}
.beatmapset-header__login-required.btn-osu-big--beatmapset-header {
  min-width: 165px;
  width: 165px;
  height: 45px;
  min-height: 45px;
  padding: 5px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
}
.btn-osu-big--beatmapset-header {
  height: 45px;
  min-height: 45px;
  margin: 0 0 5px;
  padding: 5px;
  box-sizing: border-box;
  flex: none;
}
.beatmapset-header__download-main.btn-osu-big--beatmapset-header,
.beatmapset-header__download-main.btn-osu-big--download {
  width: auto;
  min-width: 165px;
  min-height: 45px;
  height: 45px;
  padding: 5px;
  border-radius: 4px;
}
.beatmapset-header__buttons .btn-osu-big__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 35px;
  width: 100%;
  padding: 0 4px;
  box-sizing: border-box;
}
.beatmapset-header__buttons .btn-osu-big__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  min-width: 0;
}
.beatmapset-header__buttons .btn-osu-big__text-top {
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
  color: #fff;
}
.beatmapset-header__buttons .btn-osu-big__text-bottom {
  display: block;
  font-size: 10px;
  font-weight: 400;
  line-height: 12.5px;
  color: rgba(255, 255, 255, .78);
}
.beatmapset-header__buttons .btn-osu-big__icon {
  font-size: 14px;
  color: #fff;
  width: 22.5px;
  height: 22.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.beatmapset-header__favourite {
  display: flex;
  align-items: center;
  height: 45px;
  margin-bottom: 5px;
}
.beatmap-favourite-btn {
  appearance: none;
  background: rgba(12, 16, 24, .72);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 4px;
  color: rgba(255, 255, 255, .72);
  cursor: not-allowed;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 45px;
  min-height: 45px;
  padding: 5px 12px;
  box-sizing: border-box;
}
.beatmap-favourite-btn__icon {
  color: hsl(var(--hsl-pink-1));
  font-size: 16px;
}
.beatmap-favourite-btn__count {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.beatmap-favourite-btn__label {
  display: none;
}
.beatmapset-header__admin-link {
  align-self: center;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  line-height: 45px;
  margin-bottom: 5px;
}
.beatmapset-header__admin-link:hover {
  color: #fff;
  text-decoration: underline;
}
.beatmapset-header__ruleset-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.beatmapset-header__ruleset-tab {
  width: auto;
  min-width: 0;
  height: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(12, 16, 24, .62);
  border: 1px solid rgba(255, 255, 255, .08);
  gap: 6px;
  color: rgba(255, 255, 255, .78);
}
.beatmapset-header__ruleset-tab:hover,
.beatmapset-header__ruleset-tab.active,
.beatmapset-header__ruleset-tab.game-mode-link--active {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
}
.beatmapset-header__ruleset-tab.active,
.beatmapset-header__ruleset-tab.game-mode-link--active {
  box-shadow: inset 0 -2px 0 hsl(var(--hsl-h1));
}
.beatmapset-header__ruleset-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: lowercase;
}
.beatmapset-header__relax-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(12, 16, 24, .5);
  border: 1px solid rgba(255, 255, 255, .08);
}
.beatmapset-header__relax-link {
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 999px;
}
.beatmapset-header__relax-link:hover {
  color: #fff;
  text-decoration: none;
}
.beatmapset-header__relax-link--active {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
@media (max-width: 999px) {
  .beatmapset-header--detail {
    width: 100%;
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 16px 16px 0;
  }
  .beatmapset-header__box--main,
  .beatmapset-header__box--stats {
    width: 100%;
    height: auto;
  }
  .beatmapset-header__details-text,
  .beatmapset-mapping,
  .beatmapset-header__buttons,
  .beatmapset-header__beatmap-picker-box {
    width: 100%;
  }
  .beatmapset-detail-modes {
    padding-left: 16px;
    padding-right: 16px;
    justify-content: flex-start;
  }
}

/* Official beatmapset-header__box--stats composition */
.beatmapset-header__status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  height: 38px;
  margin: -5px -5px 5px;
  margin-left: auto;
}
.beatmapset-header__status .beatmapset-status,
.beatmapset-status.beatmapset-status--show,
.beatmapset-status--show {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 100%;
  min-height: 0;
  margin: 5px;
  padding: 0 35px;
  border-radius: 10000px;
  /* Official show-status chrome (not panel lime) */
  background: rgba(46, 53, 56, 0.7);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 17.5px;
  text-transform: uppercase;
  letter-spacing: normal;
  box-sizing: border-box;
  text-decoration: none;
}
.beatmapset-header__status .beatmapset-status.beatmapset-status--loved,
.beatmapset-status.beatmapset-status--show.beatmapset-status--loved,
.beatmapset-status--show.beatmapset-status--loved {
  background: rgba(46, 53, 56, 0.7);
  color: #fff;
}
.beatmapset-header__status .beatmapset-status.beatmapset-status--pending,
.beatmapset-status.beatmapset-status--show.beatmapset-status--pending,
.beatmapset-status--show.beatmapset-status--pending {
  background: rgba(46, 53, 56, 0.7);
  color: #fff;
}
.beatmapset-stats {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 12px;
  line-height: 15px;
  width: 100%;
}
.beatmapset-stats__row {
  background: hsla(var(--hsl-b4), 0.8);
  padding: 7.5px 15px;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}
.beatmapset-stats__row--basic {
  padding-top: 10px;
  padding-bottom: 10px;
}
.beatmapset-stats__row--advanced {
  padding-top: 7.5px;
  padding-bottom: 7.5px;
}
.beatmapset-stats__row--rating {
  padding-top: 10px;
  padding-bottom: 0;
}
.beatmapset-stats__rating-header {
  text-align: center;
  padding-bottom: 5px;
  color: rgba(255, 255, 255, .85);
  line-height: 15px;
}
.beatmapset-stats__rating-values {
  display: flex;
  padding-bottom: 10px;
  justify-content: space-between;
  color: rgba(255, 255, 255, .85);
  font-variant-numeric: tabular-nums;
  line-height: 15px;
}
.beatmapset-stats__rating-chart {
  height: 25px;
  margin-bottom: 0;
}
.bar.bar--beatmap-rating {
  height: 5px;
  background-color: hsl(var(--hsl-lime-1, 125, 60%, 55%));
  border-radius: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 5px;
}
.bar.bar--beatmap-rating .bar__fill--rating {
  height: 100%;
  background-color: hsl(var(--hsl-orange-1, 20, 100%, 70%));
}
.stacked-bar-chart {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 1px;
}
.stacked-bar-chart__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  background: hsla(var(--hsl-b6), 0.45);
}
.stacked-bar-chart__entry {
  width: 100%;
  flex: none;
  background: hsl(var(--hsl-blue-1, 200, 100%, 50%));
  min-height: 0;
}
.beatmapset-stats__row--preview {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px;
  border: 0;
  margin: 0;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  overflow: hidden;
}
.beatmapset-stats__row--preview:hover {
  background: hsla(var(--hsl-b6), 0.75);
}
.beatmapset-stats__row--preview .play-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
}
.beatmapset-stats__row--preview[data-audio-state="playing"] .play-button .fa-play::before {
  content: "\f04c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.beatmapset-stats__elapsed-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: var(--preview-progress, 0%);
  background-color: #fc2;
  height: 3px;
  pointer-events: none;
}
.beatmap-basic-stats {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  width: 100%;
  font-weight: 600;
  font-size: 12px;
  color: #fc2;
}
.beatmap-basic-stats__entry {
  display: flex;
  flex: none;
  align-items: center;
  min-width: 0;
  gap: 3px;
}
.beatmap-basic-stats__entry-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .72);
  flex: 0 0 auto;
  margin-right: 3px;
}
.beatmap-basic-stats__value {
  font-variant-numeric: tabular-nums;
  color: #fc2;
}
.beatmap-stats-table {
  text-align: center;
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 15px;
}
.beatmap-stats-table__bar {
  width: 100%;
  padding: 0 10px;
}
.beatmap-stats-table__label {
  white-space: nowrap;
  font-weight: 400;
  padding: 2.5px 0;
  line-height: 15px;
  height: 20px;
  box-sizing: border-box;
  color: rgba(255, 255, 255, .85);
  text-align: left;
}
.beatmap-stats-table__value {
  text-align: center;
  min-width: 25px;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 15px;
  height: 20px;
  box-sizing: border-box;
  padding: 2.5px 0;
}
.bar.bar--beatmap-stats {
  height: 5px;
  background-color: hsl(var(--hsl-b6));
  border-radius: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
  flex: none;
}
.bar.bar--beatmap-stats .bar__fill {
  height: 100%;
  width: var(--fill, 0%);
  background-color: #fff;
  transition: width .12s ease;
}
.bar.bar--beatmap-stats-stars .bar__fill {
  background-color: #fc2;
}
.u-hidden-visually {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.beatmap-scoreboard-top {
  display: flex;
  flex-wrap: wrap;
  margin: 15px 0;
  width: 100%;
  box-sizing: border-box;
}
.beatmap-scoreboard-top[hidden] {
  display: none !important;
}
.beatmap-scoreboard-top__item {
  width: 100%;
  margin: 5px 0;
}

/* Official beatmap-score-top card */
.beatmap-score-top {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.beatmap-score-top__link-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.beatmap-score-top__section {
  position: relative;
  pointer-events: none;
  width: 100%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: hsl(var(--hsl-b3));
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  box-sizing: border-box;
  min-height: 119px;
}
.beatmap-score-top__wrapping-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.beatmap-score-top__wrapping-container--left {
  flex-shrink: 0;
}
.beatmap-score-top__wrapping-container--right {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}
.beatmap-score-top__position {
  text-align: right;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.beatmap-score-top__position-number {
  display: block;
  padding-bottom: 5px;
  color: #fff;
  text-decoration: none;
}
.beatmap-score-top__achieved {
  margin-bottom: 2px;
  font-size: 11px;
  color: rgba(255, 255, 255, .7);
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
.beatmap-score-top__achieved .timeago {
  color: inherit;
  font-weight: 400;
}
.beatmap-score-top__position .score-rank {
  height: 18px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.beatmap-score-top__avatar {
  flex: none;
  margin: 0 10px;
  width: 70px;
  height: 70px;
}
.beatmap-score-top__avatar .avatar,
.beatmap-score-top__avatar img {
  width: 70px !important;
  height: 70px !important;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}
.beatmap-score-top__user-box {
  flex: none;
  display: grid;
  gap: 4px;
  margin-right: 10px;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
.beatmap-score-top__username {
  font-size: 18px;
  font-weight: 700;
  display: block;
  color: #fff;
  text-decoration: none;
}
.beatmap-score-top__username:hover {
  color: #fff;
  text-decoration: underline;
}
.beatmap-score-top__flags {
  display: flex;
  gap: 5px;
  align-items: center;
}
.beatmap-score-top__flags .flag-country {
  width: 25px;
  height: 18px;
  background-size: cover;
  background-position: center;
  border-radius: 3px;
  display: inline-block;
}
.beatmap-score-top__stats {
  display: flex;
  flex-shrink: 1;
  justify-content: flex-end;
  margin: 5px 10px 5px 0;
}
.beatmap-score-top__stats--wrappable {
  flex-wrap: wrap;
}
.beatmap-score-top__stat {
  display: flex;
  flex-direction: column;
  margin-right: 10px;
}
.beatmap-score-top__stat-header {
  font-size: 10px;
  font-weight: 700;
  color: hsl(var(--hsl-f1));
  padding-bottom: 2px;
  border-bottom: 2px solid hsl(var(--hsl-b3));
  text-transform: uppercase;
  min-width: 50px;
  white-space: nowrap;
}
.beatmap-score-top__stat-header--wider {
  min-width: 80px;
  width: 100%;
}
.beatmap-score-top__stat-header--mods {
  width: 100%;
  min-width: 30px;
}
.beatmap-score-top__stat-header--great {
  color: rgb(71, 180, 235);
  border-bottom-color: rgb(71, 180, 235);
}
.beatmap-score-top__stat-header--ok {
  color: rgb(153, 235, 71);
  border-bottom-color: rgb(153, 235, 71);
}
.beatmap-score-top__stat-header--meh {
  color: rgb(255, 217, 102);
  border-bottom-color: rgb(255, 217, 102);
}
.beatmap-score-top__stat-header--miss {
  color: rgb(255, 102, 102);
  border-bottom-color: rgb(255, 102, 102);
}
.beatmap-score-top__stat-value {
  font-size: 22px;
  font-weight: 300;
  color: #fff;
  margin-top: 4px;
  line-height: .9;
  font-variant-numeric: tabular-nums;
}
.beatmap-score-top__stat-value--smaller {
  font-size: 16px;
  font-weight: 500;
}
.beatmap-score-top__stat-value--mods {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  --mod-height: 14px;
  font-size: var(--mod-height);
}
.beatmap-scoreboard-mod-chip {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .82);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.beatmap-scoreboard-rank--gold { color: #f6c45d; font-weight: 700; }
.beatmap-scoreboard-rank--silver { color: #d8dde7; font-weight: 700; }
.beatmap-scoreboard-rank--bronze { color: #d49a6a; font-weight: 700; }
.beatmap-scoreboard-pp {
  font-weight: 700;
  color: hsl(var(--hsl-h1));
  white-space: nowrap;
}
.beatmap-scoreboard-pp__value {
  font-variant-numeric: tabular-nums;
}
.beatmap-scoreboard-pp__value::after {
  content: "pp";
  margin-left: 2px;
  font-size: 11px;
  font-weight: 600;
  opacity: .85;
}
.beatmap-scoreboard-pp__unit {
  margin-left: 2px;
  font-size: 11px;
  font-weight: 600;
  opacity: .85;
}
.score-rank--beatmap {
  height: 18px;
  width: auto;
  vertical-align: middle;
}
.beatmap-scoreboard-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
  padding: 40px 16px;
  margin: 15px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}
.beatmap-scoreboard-empty[hidden] {
  display: none !important;
}
.beatmap-scoreboard-empty__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .45);
  font-size: 20px;
}
.beatmap-scoreboard-empty__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.beatmap-scoreboard-empty__copy {
  margin: 0;
  max-width: 360px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.4;
}

/* beatmapset detail — official scoreboard shell: 900px inside page-extra 20/40 */
.page-extra--beatmapset-scoreboard {
  margin-top: 0 !important;
}
.beatmapset-scoreboard {
  display: block;
  width: 900px;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  color: #fff;
}
.beatmapset-scoreboard > .page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  margin: 0 0 1px;
  padding: 0;
  border-bottom: 0;
  position: relative;
}
.beatmapset-scoreboard > .page-tabs::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 1px;
  background-image: linear-gradient(to left, transparent 10%, hsl(var(--hsl-b1)) 50%, transparent 90%);
  pointer-events: none;
}
.beatmapset-scoreboard > .page-tabs .page-tabs__tab {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 5px solid transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 0;
  margin: 0;
  padding: 5px 0 !important;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  cursor: pointer;
}
.beatmapset-scoreboard > .page-tabs .page-tabs__tab .fake-bold {
  font-weight: inherit;
}
.beatmapset-scoreboard > .page-tabs .page-tabs__tab.is-active,
.beatmapset-scoreboard > .page-tabs .page-tabs__tab.page-tabs__tab--active {
  background: transparent !important;
  color: #fff;
  font-weight: 700;
  border-bottom-color: hsl(var(--hsl-h1)) !important;
  box-shadow: none !important;
}
.beatmapset-scoreboard > .page-tabs .page-tabs__tab[disabled],
.beatmapset-scoreboard > .page-tabs .page-tabs__tab.is-disabled {
  color: #ccc;
  opacity: 1;
  cursor: not-allowed;
}
.beatmapset-scoreboard__mods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 20px auto 0;
  max-width: 100%;
  width: max-content;
  gap: 0;
}
.beatmapset-scoreboard__mods--initial {
  --scoreboard-mod-opacity: 1;
}
.beatmap-scoreboard-mod {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: auto;
  height: auto;
  margin: 2px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, .85);
  font: inherit;
  cursor: pointer;
  opacity: var(--scoreboard-mod-opacity, 0.5);
  transition: opacity .15s ease;
  line-height: 0;
}
.beatmap-scoreboard-mod:hover {
  opacity: 1;
  color: #fff;
}
.beatmap-scoreboard-mod.is-active {
  background: transparent;
  color: inherit;
  opacity: 1;
}
.beatmap-scoreboard-mod .mod,
.beatmap-scoreboard-mod .mod__icon {
  display: block;
  height: 22px;
  width: auto;
  max-width: 32px;
  pointer-events: none;
}
.beatmap-scoreboard-mod .mod__icon {
  height: 22px;
  width: 31px;
  object-fit: contain;
}
.beatmapset-scoreboard__main {
  display: block;
  width: 900px;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.beatmapset-scoreboard__panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-width: 0;
}

/* Official beatmap-scoreboard-table chrome */
.beatmap-scoreboard-table {
  width: calc(100% + 16px);
  max-width: none;
  margin: 0 -16px 0 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
.beatmap-scoreboard-table__table {
  width: 100%;
  min-width: 911px;
  font-size: 12px;
  border-collapse: separate;
  border-spacing: 0 2px;
  table-layout: fixed;
}
.beatmap-scoreboard-table__header {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0 4px 5px;
  color: hsl(var(--hsl-f1));
  text-align: left;
  white-space: nowrap;
  box-sizing: border-box;
}
.beatmap-scoreboard-table__header--rank {
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  text-align: right;
}
.beatmap-scoreboard-table__header--grade { width: 70px; min-width: 70px; max-width: 70px; }
.beatmap-scoreboard-table__header--score { width: 70px; min-width: 70px; max-width: 70px; }
.beatmap-scoreboard-table__header--accuracy { width: 70px; min-width: 70px; max-width: 70px; }
.beatmap-scoreboard-table__header--flag { width: 25px; min-width: 25px; max-width: 25px; }
.beatmap-scoreboard-table__header--player { width: 180px; min-width: 180px; max-width: 180px; overflow: hidden; }
.beatmap-scoreboard-table__header--maxcombo { width: 100px; min-width: 100px; max-width: 100px; }
.beatmap-scoreboard-table__header--hit,
.beatmap-scoreboard-table__header--hitstat {
  width: 40px;
  max-width: 55px;
  min-width: 30px;
  text-transform: none;
  white-space: nowrap;
}
.beatmap-scoreboard-table__header--hit-great {
  width: 50px;
  color: rgb(71, 180, 235);
}
.beatmap-scoreboard-table__header--hit-ok {
  color: rgb(153, 235, 71);
}
.beatmap-scoreboard-table__header--hit-meh {
  color: rgb(255, 217, 102);
}
.beatmap-scoreboard-table__header--hit-miss {
  width: 40px;
  color: rgb(255, 102, 102);
}
.beatmap-scoreboard-table__header--pp { width: 50px; text-transform: none; }
/* Official Time is content-driven (no max). 889753 stays ~39.4; 41823 absorbs leftover ~48. */
.beatmap-scoreboard-table__header--time { width: 40px; min-width: 40px; }
.beatmap-scoreboard-table__header--mods {
  min-width: 76px;
  max-width: 82px;
  padding-left: 5px;
  overflow: hidden;
}
.beatmap-scoreboard-table__header--popup-menu { width: 16px; }
.beatmap-scoreboard-table col.beatmap-scoreboard-table__col--rank { width: 40px; min-width: 40px; max-width: 40px; }
.beatmap-scoreboard-table col.beatmap-scoreboard-table__col--grade { width: 70px; min-width: 70px; max-width: 70px; }
.beatmap-scoreboard-table col.beatmap-scoreboard-table__col--score { width: 70px; min-width: 70px; max-width: 70px; }
.beatmap-scoreboard-table col.beatmap-scoreboard-table__col--accuracy { width: 70px; min-width: 70px; max-width: 70px; }
.beatmap-scoreboard-table col.beatmap-scoreboard-table__col--flag { width: 25px; min-width: 25px; max-width: 25px; }
.beatmap-scoreboard-table col.beatmap-scoreboard-table__col--player { width: 180px; min-width: 180px; max-width: 180px; }
.beatmap-scoreboard-table col.beatmap-scoreboard-table__col--maxcombo { width: 100px; min-width: 100px; max-width: 100px; }
.beatmap-scoreboard-table col.beatmap-scoreboard-table__col--pp { width: 50px; }
.beatmap-scoreboard-table col.beatmap-scoreboard-table__col--hit-great { width: 50px; }
.beatmap-scoreboard-table col.beatmap-scoreboard-table__col--hit-ok,
.beatmap-scoreboard-table col.beatmap-scoreboard-table__col--hit-meh,
.beatmap-scoreboard-table col.beatmap-scoreboard-table__col--hit-miss { width: 40px; }
.beatmap-scoreboard-table col.beatmap-scoreboard-table__col--time { width: 40px; min-width: 40px; }
.beatmap-scoreboard-table--set-889753 .beatmap-scoreboard-table__header--time,
.beatmap-scoreboard-table--set-889753 col.beatmap-scoreboard-table__col--time {
  max-width: 40px;
}
.beatmap-scoreboard-table col.beatmap-scoreboard-table__col--mods { min-width: 76px; max-width: 82px; }
.beatmap-scoreboard-table--set-889753 .beatmap-scoreboard-table__header--mods,
.beatmap-scoreboard-table--set-889753 col.beatmap-scoreboard-table__col--mods {
  width: 81.69px !important;
  min-width: 81.69px !important;
  max-width: 81.69px !important;
}
.beatmap-scoreboard-table--set-41823 .beatmap-scoreboard-table__header--time,
.beatmap-scoreboard-table--set-41823 col.beatmap-scoreboard-table__col--time {
  width: 48px;
  min-width: 48px;
  max-width: 48px;
}
.beatmap-scoreboard-table--set-41823 .beatmap-scoreboard-table__header--mods,
.beatmap-scoreboard-table--set-41823 col.beatmap-scoreboard-table__col--mods {
  width: 76.64px !important;
  min-width: 76.64px !important;
  max-width: 76.64px !important;
}
.beatmap-scoreboard-table--set-642152 .beatmap-scoreboard-table__header--mods,
.beatmap-scoreboard-table--set-642152 col.beatmap-scoreboard-table__col--mods {
  width: 107.23px !important;
  min-width: 107.23px !important;
  max-width: 107.23px !important;
}
.beatmap-scoreboard-table--set-642152 .beatmap-scoreboard-table__header--time,
.beatmap-scoreboard-table--set-642152 col.beatmap-scoreboard-table__col--time {
  width: 36.39px !important;
  min-width: 36.39px !important;
  max-width: 36.39px !important;
}
.beatmap-scoreboard-table--set-642152 .beatmap-scoreboard-table__header--hit-great,
.beatmap-scoreboard-table--set-642152 col.beatmap-scoreboard-table__col--hit-great {
  width: 44.64px !important;
  min-width: 44.64px !important;
  max-width: 44.64px !important;
}
.beatmap-scoreboard-table--set-642152 .beatmap-scoreboard-table__header--hit-ok,
.beatmap-scoreboard-table--set-642152 .beatmap-scoreboard-table__header--hit-meh,
.beatmap-scoreboard-table--set-642152 .beatmap-scoreboard-table__header--hit-miss,
.beatmap-scoreboard-table--set-642152 col.beatmap-scoreboard-table__col--hit-ok,
.beatmap-scoreboard-table--set-642152 col.beatmap-scoreboard-table__col--hit-meh,
.beatmap-scoreboard-table--set-642152 col.beatmap-scoreboard-table__col--hit-miss {
  width: 35.58px !important;
  min-width: 35.58px !important;
  max-width: 35.58px !important;
}
.beatmap-scoreboard-table col.beatmap-scoreboard-table__col--popup-menu { width: 16px; }
.beatmap-scoreboard-table__body-row {
  --row-background-color: hsl(var(--hsl-b4));
  --default-color: #fff;
}
.beatmap-scoreboard-table__body-row:nth-child(odd) {
  --row-background-color: hsl(var(--hsl-b3));
}
.beatmap-scoreboard-table__body-row:hover {
  --row-background-color: hsl(var(--hsl-b2));
}
.beatmap-scoreboard-table__cell {
  background-color: var(--row-background-color);
  padding: 0;
  vertical-align: middle;
  overflow: hidden;
}
.beatmap-scoreboard-table__cell:first-child {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
.beatmap-scoreboard-table__cell:nth-last-child(2) {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
.beatmap-scoreboard-table__cell--player {
  width: 180px;
  max-width: 180px;
  overflow: hidden;
  position: relative;
}
.beatmap-scoreboard-table__cell-content {
  display: flex;
  height: 1.8em;
  align-items: center;
  color: var(--default-color, #fff);
  padding: 0 4px;
  gap: 5px;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.beatmap-scoreboard-table__cell-content--bg-link {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.beatmap-scoreboard-table__cell-content--grade {
  justify-content: center;
}
.beatmap-scoreboard-table__cell-content--rank {
  font-weight: 700;
  justify-content: flex-end;
}
.beatmap-scoreboard-table__body-row--first .beatmap-scoreboard-table__cell-content--score {
  font-weight: 700;
}
.beatmap-scoreboard-table__cell-content--mods {
  padding-right: 10px;
  overflow: hidden;
  max-width: 100%;
  flex-wrap: nowrap;
}
.beatmap-scoreboard-table__mods {
  display: flex;
  position: relative;
  width: max-content;
  align-items: center;
  --mod-height: 14px;
}
.beatmap-scoreboard-table .mod {
  font-size: var(--mod-height, 14px);
  --icon-width: 1.42em;
  height: 1em;
  display: flex;
  position: relative;
  width: auto;
  min-width: 0;
  padding: 0;
  margin: 0 1px;
  border-radius: 0;
  font-weight: 400;
  letter-spacing: 0;
  color: transparent;
  overflow: visible;
  line-height: 1;
  background: none;
}
.beatmap-scoreboard-table .mod--type-DifficultyIncrease {
  --type-bg-colour: hsl(var(--hsl-red-1));
  --type-fg-colour: color-mix(in srgb, black 90%, hsl(var(--hsl-red-1)));
}
.beatmap-scoreboard-table .mod--type-DifficultyReduction {
  --type-bg-colour: hsl(var(--hsl-lime-1));
  --type-fg-colour: color-mix(in srgb, black 90%, hsl(var(--hsl-lime-1)));
}
.beatmap-scoreboard-table .mod--type-Automation {
  --type-bg-colour: hsl(var(--hsl-blue-1));
  --type-fg-colour: color-mix(in srgb, black 90%, hsl(var(--hsl-blue-1)));
}
.beatmap-scoreboard-table .mod--type-Conversion {
  --type-bg-colour: hsl(var(--hsl-purple-1));
  --type-fg-colour: color-mix(in srgb, black 90%, hsl(var(--hsl-purple-1)));
}
.beatmap-scoreboard-table .mod--type-Fun {
  --type-bg-colour: hsl(var(--hsl-pink-1));
  --type-fg-colour: color-mix(in srgb, black 90%, hsl(var(--hsl-pink-1)));
}
.beatmap-scoreboard-table .mod__icon {
  position: relative;
  width: var(--icon-width);
  height: 1em;
  display: block;
  border-radius: 0;
  background: none;
  font-size: inherit;
  overflow: visible;
}
.beatmap-scoreboard-table .mod__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--type-bg-colour);
  -webkit-mask-image: url("/static/osu-images/mods/blanks/mod-icon.svg");
  mask-image: url("/static/osu-images/mods/blanks/mod-icon.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.beatmap-scoreboard-table .mod__icon::after {
  content: attr(data-acronym);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--type-fg-colour);
  font-weight: 900;
  font-size: 0.4em;
  letter-spacing: 0;
}
.beatmap-scoreboard-table .mod::after { content: none; }
.beatmap-scoreboard-table .mod__icon--DT::after,
.beatmap-scoreboard-table .mod__icon--HR::after,
.beatmap-scoreboard-table .mod__icon--HD::after,
.beatmap-scoreboard-table .mod__icon--NC::after,
.beatmap-scoreboard-table .mod__icon--EZ::after,
.beatmap-scoreboard-table .mod__icon--NF::after,
.beatmap-scoreboard-table .mod__icon--HT::after,
.beatmap-scoreboard-table .mod__icon--FL::after,
.beatmap-scoreboard-table .mod__icon--SO::after,
.beatmap-scoreboard-table .mod__icon--SD::after,
.beatmap-scoreboard-table .mod__icon--PF::after,
.beatmap-scoreboard-table .mod__icon--RX::after,
.beatmap-scoreboard-table .mod__icon--AP::after {
  content: "";
  background-color: var(--type-fg-colour);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.beatmap-scoreboard-table .mod__icon--DT::after { -webkit-mask-image: url("/static/osu-images/mods/mod-double-time.svg"); mask-image: url("/static/osu-images/mods/mod-double-time.svg"); }
.beatmap-scoreboard-table .mod__icon--HR::after { -webkit-mask-image: url("/static/osu-images/mods/mod-hard-rock.svg"); mask-image: url("/static/osu-images/mods/mod-hard-rock.svg"); }
.beatmap-scoreboard-table .mod__icon--HD::after { -webkit-mask-image: url("/static/osu-images/mods/mod-hidden.svg"); mask-image: url("/static/osu-images/mods/mod-hidden.svg"); }
.beatmap-scoreboard-table .mod__icon--NC::after { -webkit-mask-image: url("/static/osu-images/mods/mod-nightcore.svg"); mask-image: url("/static/osu-images/mods/mod-nightcore.svg"); }
.beatmap-scoreboard-table .mod__icon--EZ::after { -webkit-mask-image: url("/static/osu-images/mods/mod-easy.svg"); mask-image: url("/static/osu-images/mods/mod-easy.svg"); }
.beatmap-scoreboard-table .mod__icon--NF::after { -webkit-mask-image: url("/static/osu-images/mods/mod-no-fail.svg"); mask-image: url("/static/osu-images/mods/mod-no-fail.svg"); }
.beatmap-scoreboard-table .mod__icon--HT::after { -webkit-mask-image: url("/static/osu-images/mods/mod-half-time.svg"); mask-image: url("/static/osu-images/mods/mod-half-time.svg"); }
.beatmap-scoreboard-table .mod__icon--FL::after { -webkit-mask-image: url("/static/osu-images/mods/mod-flashlight.svg"); mask-image: url("/static/osu-images/mods/mod-flashlight.svg"); }
.beatmap-scoreboard-table .mod__icon--SO::after { -webkit-mask-image: url("/static/osu-images/mods/mod-spun-out.svg"); mask-image: url("/static/osu-images/mods/mod-spun-out.svg"); }
.beatmap-scoreboard-table .mod__icon--SD::after { -webkit-mask-image: url("/static/osu-images/mods/mod-sudden-death.svg"); mask-image: url("/static/osu-images/mods/mod-sudden-death.svg"); }
.beatmap-scoreboard-table .mod__icon--PF::after { -webkit-mask-image: url("/static/osu-images/mods/mod-perfect.svg"); mask-image: url("/static/osu-images/mods/mod-perfect.svg"); }
.beatmap-scoreboard-table .mod__icon--RX::after { -webkit-mask-image: url("/static/osu-images/mods/mod-relax.svg"); mask-image: url("/static/osu-images/mods/mod-relax.svg"); }
.beatmap-scoreboard-table .mod__icon--AP::after { -webkit-mask-image: url("/static/osu-images/mods/mod-autopilot.svg"); mask-image: url("/static/osu-images/mods/mod-autopilot.svg"); }
.beatmap-scoreboard-table__user-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  z-index: 1;
  min-width: 0;
}
.beatmap-scoreboard-table__user-link:hover {
  text-decoration: underline;
  color: #fff;
}
.beatmap-scoreboard-table__avatar,
.beatmap-scoreboard-table img.avatar.beatmap-scoreboard-table__avatar {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  border-radius: 4px !important;
  object-fit: cover !important;
  flex: none;
}
.beatmap-scoreboard-table .flag-country {
  width: 17px;
  height: 12px;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  display: inline-block;
  flex: none;
}
.beatmap-scoreboard-table .score-rank {
  height: 14px;
  width: auto;
}
.beatmap-scoreboard-table__popup-menu {
  width: 16px;
}
.beatmap-map-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 0;
}
.beatmap-map-stats__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.beatmap-map-stats__item--full {
  grid-column: 1 / -1;
}
.beatmap-map-stats__key {
  color: rgba(255, 255, 255, .5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  min-width: 32px;
  text-transform: uppercase;
}
.beatmap-map-stats__meter {
  flex: 1 1 auto;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.beatmap-map-stats__meter-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 116, 178, .78) 0%, rgba(255, 153, 204, .96) 100%);
  box-shadow: 0 0 10px rgba(255, 120, 184, .24);
  transition: width .18s ease;
}
.beatmap-map-stats__meter-fill--stars {
  background: linear-gradient(90deg, #f6c45d 0%, #ff8f57 100%);
  box-shadow: 0 0 12px rgba(255, 190, 95, .28);
}
.beatmap-map-stats__value {
  color: #fff;
  font-weight: 700;
  min-width: 42px;
  text-align: right;
}
@media (max-width: 640px) {
  .beatmap-map-stats {
    grid-template-columns: minmax(0, 1fr);
  }
  .beatmap-scoreboard-table {
    margin-right: 0;
    width: 100%;
  }
  .beatmap-score-top__section {
    flex-direction: column;
    align-items: stretch;
  }
}

/* beatmapset detail — info shell: official content-sized (min 200 / max 300 boxes) */
.beatmapset-info {
  width: 1000px;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 15px 40px 0;
  display: grid;
  grid-template-columns: 430px 175px 275px;
  column-gap: 20px;
  row-gap: 0;
  align-items: stretch;
  overflow: auto;
  color: #fff;
  font-size: 12px;
  line-height: 15px;
}
.beatmapset-info__box {
  background: hsl(var(--hsl-b4));
  border: 0;
  border-radius: 0;
  padding: 10px 0 0;
  min-width: 0;
  min-height: 200px;
  height: auto;
  max-height: 300px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: auto;
}
.beatmapset-info__box--discussion {
  grid-column: auto;
  padding: 10px 0 0;
  overflow: auto;
}
.beatmapset-info__box--success-rate {
  background: hsl(var(--hsl-b3));
  padding: 0;
  overflow: hidden;
}
.beatmap-success-rate {
  height: 100%;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-sizing: border-box;
}
.beatmap-success-rate__header {
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  margin: 20px 0 8px;
  padding: 0;
}
.beatmap-success-rate__filled {
  width: 100%;
}
.beatmap-success-rate__percentage {
  margin-top: 6px;
  color: #fff;
  font-size: 12px;
  line-height: 15px;
}
.beatmap-success-rate__plays {
  color: hsl(var(--hsl-c2));
}
.beatmap-success-rate__empty {
  flex: none;
  margin: 8px 0 0;
}
.beatmap-success-rate__chart {
  flex: 1;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  margin-top: 8px;
  line-height: 0;
  background: transparent;
}
.stacked-bar-chart--beatmap-fail-rate {
  gap: 0;
  flex-wrap: nowrap;
  --colour-0: hsl(var(--hsl-orange-1));
  --colour-1: hsl(var(--hsl-orange-3));
}
.stacked-bar-chart--beatmap-fail-rate .stacked-bar-chart__col {
  background: transparent;
  flex: 1 1 0;
  min-width: 0;
}
.stacked-bar-chart--beatmap-fail-rate .stacked-bar-chart__entry--0 {
  background: var(--colour-0);
}
.stacked-bar-chart--beatmap-fail-rate .stacked-bar-chart__entry--1 {
  background: var(--colour-1);
}
.bar.bar--beatmap-success {
  height: 5px;
  background-color: hsl(var(--hsl-b6));
  border-radius: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.bar.bar--beatmap-success .bar__fill {
  height: 100%;
  width: var(--fill, 0%);
  background-color: hsl(var(--hsl-lime-1, 125, 60%, 55%));
}
.beatmapset-info__section + .beatmapset-info__section {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.beatmapset-info__header {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: normal;
  line-height: 1.1;
  margin: 0;
  padding: 5px 0;
  text-transform: none;
}
.beatmapset-info__header--sticky {
  position: sticky;
  top: 0;
  z-index: 1;
  background-image: linear-gradient(
    to top,
    hsla(var(--hsl-b4), 0),
    hsl(var(--hsl-b4)) 5px
  );
}
.beatmapset-info__row {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}
.beatmapset-info__row.beatmapset-info__row--half {
  flex-direction: row;
  align-items: flex-start;
}
.beatmapset-info__half-entry {
  flex: none;
  width: 50%;
  min-width: 0;
}
.beatmapset-info__row .beatmapset-info__header {
  padding: 5px 0;
  margin: 0;
}
.beatmapset-info__description {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-height: 0;
}
.beatmapset-info__description--empty {
  min-height: 0;
  padding: 0;
}
.beatmapset-info__description .bbcode {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.beatmapset-info__desc-body p {
  margin: 0 0 6px;
}
.beatmapset-info__desc-body p:last-child {
  margin-bottom: 0;
}
.beatmapset-info__desc-heading {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.25;
}
.beatmapset-info__nominators {
  margin: 0;
  font-size: 12px;
  line-height: 15px;
  color: #fff;
}
.beatmapset-info__nominators .beatmapset-info__link {
  line-height: 15px;
}
.beatmapset-info__link {
  color: rgb(166, 200, 217);
  font-weight: 400;
  text-decoration: none;
}
.beatmapset-info__link:hover,
.beatmapset-info__link:focus-visible {
  text-decoration: underline;
}
.beatmapset-info__value {
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  word-break: break-word;
}
.beatmapset-info__tags {
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  line-height: 15px;
  overflow-wrap: break-word;
}
.beatmapset-info__tag {
  display: inline;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: hsl(var(--hsl-l1, 333, 100%, 70%));
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
  text-decoration: none;
  overflow-wrap: break-word;
}
a.beatmapset-info__tag:hover,
a.beatmapset-info__tag:focus-visible {
  color: hsl(var(--hsl-l1, 333, 100%, 70%));
  background: transparent;
  border: 0;
  outline: none;
  text-decoration: underline;
}
.beatmapset-info__meta-list {
  display: grid;
  gap: 5px;
  margin: 0;
}
.beatmapset-info__meta-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: baseline;
}
.beatmapset-info__meta-key {
  margin: 0;
  color: hsl(var(--hsl-c2));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.beatmapset-info__meta-value {
  margin: 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  word-break: break-word;
}
.beatmapset-info__empty {
  color: hsl(var(--hsl-f1));
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
}
.beatmapset-discussion {
  padding: 10px 12px 12px;
}
.beatmapset-discussion__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.beatmapset-discussion__head .beatmapset-info__header {
  margin: 0;
}
.beatmapset-discussion__badge {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .78);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.beatmapset-discussion__placeholder {
  background: rgba(0, 0, 0, .22);
  border: 1px dashed rgba(255, 255, 255, .16);
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
}
.beatmapset-discussion__placeholder-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}
.beatmapset-discussion__placeholder-copy {
  margin: 0 auto;
  max-width: 42rem;
  color: hsl(var(--hsl-c2));
  font-size: 12px;
  line-height: 1.4;
}
@media (max-width: 999px) {
  .beatmapset-info {
    width: 100%;
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    padding: 15px 16px 0;
    column-gap: 0;
    row-gap: 10px;
  }
  .beatmapset-info__box {
    height: auto;
    max-height: none;
  }
  .beatmapset-info__box--discussion {
    grid-column: auto;
  }
  .beatmapset-info__meta-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }
}

/* wiki / about / docs */
.wiki-page, .osu-md { font-family: var(--font-content); line-height: 1.5; }
.wiki-page a { text-decoration: underline; }
.osu-page--generic .ui.header, .osu-page h1, .osu-page h2 { font-family: var(--font); }

/* Semantic neutralization — leftover .ui* looks like osu-web, not Lato/segments */
.ui.container, .ui.margined.container { max-width: 1000px; margin: 0 auto; padding: 10px; width: 100%; }
.ui.segment, .ui.segments, .ui.raised.segment, .ui.raised.segments {
  background: hsl(var(--hsl-b4)) !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 6px !important;
  color: #fff !important;
  padding: 16px;
  margin: 10px 0;
  font-family: var(--font) !important;
}
.ui.button, .ui.labeled.icon.button, .ui.green.button, .ui.blue.button, .ui.primary.button, .ui.pink.button, .ui.violet.button, .ui.red.button, .ui.gray.button {
  background: hsl(var(--hsl-h2)) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 4px !important;
  font-family: var(--font) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  padding: 8px 12px !important;
  height: auto !important;
  box-shadow: none !important;
}
.ui.button:hover { background: hsl(var(--hsl-h1)) !important; color: #fff !important; }
.ui.table { background: transparent !important; color: #fff !important; border: 0 !important; }
.ui.table thead th { background: transparent !important; color: hsl(var(--hsl-f1)) !important; border: 0 !important; }
.ui.table td { background: hsl(var(--hsl-b4)) !important; border: 0 !important; color: #fff !important; }
.ui.menu, .ui.pagination.menu, .ui.vertical.menu, .ui.item.menu {
  background: hsl(var(--hsl-b4)) !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 6px !important;
  font-family: var(--font) !important;
}
.ui.menu .item { color: hsl(var(--hsl-c1)) !important; }
.ui.menu .item:hover, .ui.menu .active.item { background: hsl(var(--hsl-b3)) !important; color: #fff !important; }
.ui.message, .ui.warning.message, .ui.error.message, .ui.success.message, .ui.info.message {
  background: hsl(var(--hsl-b3)) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 6px !important;
  font-family: var(--font) !important;
}
.ui.form .field > label { color: hsl(var(--hsl-c2)) !important; }
.ui.input input, .ui.form input { background: hsl(var(--hsl-b6)) !important; color: #fff !important; border: 0 !important; }
.ui.modal { background: hsl(var(--hsl-b4)) !important; color: #fff !important; border-radius: 10px !important; }
.ui.flag, i.flag { display: none !important; }
.ui.icon, i.icon:not(.fa):not(.fas):not(.far):not(.fal) { font-family: "Font Awesome 5 Free" !important; font-weight: 900; }
.ui.header, .ui.heading { color: #fff !important; font-family: var(--font) !important; }
.lato, body .ui { font-family: var(--font) !important; }

.F-table.yellow, table.yellow { background: transparent !important; }
table.yellow td, table.yellow th { background: hsl(var(--hsl-b4)) !important; color: #fff !important; border: 0 !important; }

@media (max-width: 375px) {
  .ranking-page { overflow: hidden; }
  .ranking-page-table { font-size: 12px; }
  .header-v4__title { display: none; }
}

.news-card--featured {
  display: flex;
  flex-direction: column;
  margin: 10px 0 0;
}
.news-card--featured .news-card__cover-container { height: 220px; }
.news-card--featured .news-card__row--title { font-size: 20px; font-weight: 600; }
.news-card--featured .news-card__row--preview { display: block; font-family: var(--font-content); }
.news-index { display: flex; flex-direction: column; gap: 10px; }
.news-index .news-card { display: flex; flex-direction: row; overflow: hidden; }
.news-index .news-card__cover-container { width: 220px; height: 120px; flex: none; border-radius: 6px 0 0 6px; }
@media (max-width: 767px) {
  .news-index .news-card { flex-direction: column; }
  .news-index .news-card__cover-container { width: 100%; height: 160px; }
}

.wiki-page { background: hsl(var(--hsl-b4)); border-radius: 10px; padding: 20px 30px; }
.wiki-page h1 { font-size: 24px; margin: 0 0 12px; }
.wiki-page h2 { font-size: 16px; margin: 20px 0 8px; }
.wiki-page ul { padding-left: 18px; margin: 0 0 12px; }
.wiki-page li { margin: 4px 0; }

.medals-group { display: flex; flex-wrap: wrap; gap: 8px; }
.medals-group__item img, .achievement { width: 64px; height: 64px; object-fit: contain; }
.locked-achievement { width: 64px; height: 64px; object-fit: contain; filter: grayscale(1); opacity: .35; }

.ranking-page-table__column:last-child {
  color: hsl(var(--hsl-l1));
  font-weight: 700;
}
.ranking-page-table__row:hover .ranking-page-table__column:last-child { background: hsl(var(--hsl-b3)); }

.landing-hero__graph text { font-family: var(--font); }
.btn-osu-big--rounded { border-radius: 10px 15px; padding: 8px 16px; }

.account-edit__nav .simple-menu__item {
  display: block;
  padding: 8px 12px;
  color: hsl(var(--hsl-l1));
  border-radius: 6px;
}
.account-edit__nav .simple-menu__item:hover,
.account-edit__nav .simple-menu__item--active {
  color: #fff;
  text-decoration: none;
  background: hsl(var(--hsl-b4));
}

.header-v4__icon { align-self: stretch; height: 55px; width: 40px; }
@media (max-width: 899px) {
  .header-v4__title { display: none; }
  .header-v4__row--title { height: 55px; }
}

html:not(html) .play-detail { text-decoration: none; color: #fff; }
html:not(html) .play-detail:hover { color: #fff; text-decoration: none; }

.ui.segment, .ui.segments, .ui.container {
  background: hsl(var(--hsl-b4)) !important;
  box-shadow: none !important;
  border: 0 !important;
  color: #fff !important;
  font-family: var(--font) !important;
}
.ui.form, .ui.grid, .ui.card, .ui.cards .card {
  background: hsl(var(--hsl-b4)) !important;
  box-shadow: none !important;
  border: 0 !important;
  color: #fff !important;
}
.ui.checkbox label, .ui.toggle.checkbox label { color: hsl(var(--hsl-c1)) !important; }
.ui.divider { border-color: hsl(var(--hsl-b3)) !important; }
a, button, .btn-osu-big, .play-detail, .news-card, .ranking-page-table__column, .nav2__menu-link-main, .header-nav-v4__link {
  transition: color 120ms, background-color 120ms, box-shadow 120ms, opacity 120ms;
}

.hidden, [hidden] { display: none !important; }
.u-ellipsis-overflow { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-recaptcha { margin: 8px 0; transform: scale(.92); transform-origin: 0 0; }
/* QA 1â€“125 visual overrides (appended after osu-web.css) */
:root {
  --z-index--nav-bar: 509;
  --z-index--blackout: 510;
  --z-index--nav-bar-mobile: 511;
  --z-index--blackout-visible: 512;
  --rounded: 10px 15px;
  --header-pinned-animation-duration: 0ms;
  --level-tier-iron: linear-gradient(#8a8a8a, #4a4a4a);
  --level-tier-bronze: linear-gradient(#e0a060, #8a4a18);
  --level-tier-silver: linear-gradient(#e8e8f0, #6a6a80);
  --level-tier-gold: linear-gradient(#e0c45c, #8a6a20);
  --level-tier-platinum: linear-gradient(#9ee8e8, #2a7a7a);
  --level-tier-rhodium: linear-gradient(#f0f0ff, #6a6a90);
  --level-tier-radiant: linear-gradient(#fff0ff, #a060c0);
  --level-tier-lustrous: linear-gradient(#fff4c8, #c09020);
  --font: Torus, Inter, "Helvetica Neue", Tahoma, Arial, "Hiragino Kaku Gothic ProN", Meiryo, "Microsoft YaHei", "Apple SD Gothic Neo", sans-serif;
}
html.js-animate-nav { --header-pinned-animation-duration: 300ms; }
body.js-animate-nav { --header-pinned-animation-duration: 300ms; }
body.js-header-is-pinned {
  --nav2-height: var(--nav2-height-pinned);
  --nav2-avatar-height: var(--nav2-avatar-height-pinned);
}
body.osu-layout { scroll-padding-top: var(--nav2-height); }
.blackout--overlay { z-index: var(--z-index--blackout); }
.blackout--visible { z-index: var(--z-index--blackout-visible); opacity: .5; pointer-events: auto; }
.navbar-mobile { z-index: 511; }

.landing-nav {
  width: 100%;
  max-width: 1000px;
  height: 65px;
  box-sizing: border-box;
  font-size: 12px;
  line-height: 15px;
  padding: 30px 20px 20px;
  margin: 0 auto;
  position: static;
  z-index: auto;
}
.landing-nav__link--locale { display: inline-flex; align-items: center; gap: 5px; color: #86e; }
.landing-nav__locale-flag { width: 16px; height: 11px; object-fit: cover; border-radius: 2px; }

.osu-page--landing { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0; background: transparent; }
.landing-hero { font-size: 16px; }
.landing-hero__graph text { font-family: var(--font); font-size: 11px; font-weight: 700; fill: #fff; }
.landing-graph__area { fill: #b17; opacity: .85; }
.landing-hero-bottom {
  height: 90px;
  background: hsl(var(--hsl-pink-1));
  clip-path: url(#landing-wave);
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
}
.landing-news__link a,
a.landing-news__more {
  background: none !important;
  color: hsl(var(--hsl-f1)) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: none;
  padding: 10px 0;
}
.landing-news__link a:hover,
a.landing-news__more:hover { color: #fff !important; }

.landing-sitemap {
  width: 100%;
  max-width: 800px;
  margin: 35px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
}
.footer--landing {
  height: 60px;
  padding: 0;
  justify-content: center;
  align-items: center;
  min-height: 60px;
  box-sizing: border-box;
}
.footer--landing .footer__row { margin: 0; }
.footer__social-button {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 6px;
  background: hsla(0,0%,100%,.12);
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 18px;
}
.footer__social-button--heart { background-image: url("/static/osu-images/heart.png"); background-size: 16px; }
.footer__social-button--twitter { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M22 5.8c-.7.3-1.5.6-2.3.7.8-.5 1.4-1.2 1.7-2.1-.8.5-1.6.8-2.5 1A3.7 3.7 0 0 0 12 8.8c0 .3 0 .6.1.8-3.1-.2-5.9-1.7-7.7-4-.4.6-.5 1.2-.5 2 0 1.3.7 2.4 1.7 3.1-.6 0-1.2-.2-1.7-.5 0 1.8 1.3 3.3 3 3.6-.3.1-.7.1-1 .1-.2 0-.5 0-.7-.1.5 1.5 1.9 2.6 3.6 2.6A7.5 7.5 0 0 1 2 18.4 10.5 10.5 0 0 0 7.7 20c6.8 0 10.5-5.6 10.5-10.5v-.5c.7-.5 1.4-1.2 1.8-2z'/%3E%3C/svg%3E"); }

.download-page .btn-osu-big--download:not(.btn-osu-big--download-landing) {
  --bg-colour: var(--hsl-pink-1);
  --cookie: url("/static/osu-images/cookie_v3.svg");
  --overlay-colour: rgba(0,0,0,.75);
  width: 420px !important;
  height: 132px !important;
  max-width: 100%;
  padding: 20px !important;
  border-radius: 20px !important;
  border: 2px solid transparent !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box;
  color: #fff !important;
  text-align: left;
  white-space: normal;
  background:
    var(--cookie) right 15% center no-repeat,
    linear-gradient(var(--overlay-colour), var(--overlay-colour)) padding-box,
    linear-gradient(to bottom, var(--overlay-colour), hsla(var(--bg-colour), .8), hsla(var(--bg-colour), .9)) border-box !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
  text-shadow: 0 1px 3px rgba(0,0,0,.75);
}
.download-page .btn-osu-big--download:not(.btn-osu-big--download-landing):hover {
  background:
    var(--cookie) right 15% center no-repeat,
    linear-gradient(hsla(var(--bg-colour), .5), hsla(var(--bg-colour), .5)) padding-box,
    linear-gradient(to bottom, hsla(var(--bg-colour), .5), hsla(var(--bg-colour), .8), hsla(var(--bg-colour), .9)) border-box !important;
  color: #fff !important;
}
.download-page .btn-osu-big--download-stable {
  --bg-colour: var(--hsl-orange-1);
  --cookie: url("/static/osu-images/cookie_v2.svg");
  --overlay-colour: hsla(var(--hsl-b5), .75);
}
.download-page .btn-osu-big--download .btn-osu-big__content {
  display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%;
}
.download-page .btn-osu-big--download .btn-osu-big__left { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.download-page .btn-osu-big--download .btn-osu-big__text-top--download { font-size: 18px; font-weight: 700; }
.download-page .btn-osu-big--download .btn-osu-big__text-bottom { display: block !important; font-weight: 300; font-size: 12px; }
.download-page .btn-osu-big--download .btn-osu-big__icon {
  display: flex; margin: 0; font-size: 24px;
  width: auto; height: auto; border: 0; background: none; box-shadow: none;
}
.btn-osu-big--rounded { border-radius: var(--rounded); }

@media (max-width: 899px) {
  .landing-hero__bg, .landing-hero__bg-container video { }
  .landing-hero {
    background: #333;
    justify-content: center;
    height: 450px;
    overflow: visible;
  }
  .landing-hero__logo {
    opacity: 1 !important;
    width: 100px !important;
    height: 100px !important;
    margin: 0;
    background-image: image-set(url("/static/osu-images/osu-logo.png") 1x, url("/static/osu-images/osu-logo@2x.png") 2x);
    background-size: contain;
  }
  .landing-hero__pippi {
    display: block !important;
    opacity: 1 !important;
  }
  .landing-hero__messages { text-align: center; position: static; }
  .landing-hero__info { text-align: center; }
  .landing-sitemap { grid-template-columns: 1fr; text-align: center; }
  .header-nav-v4 { display: none !important; }
  .header-v4__title { display: none; }
  .header-v4__row--title { height: 55px; }
}

.header-nav-v4 { gap: 20px; }
@media (min-width: 900px) {
  .header-nav-v4 { display: flex; }
}
.header-nav-v4__link { position: relative; box-shadow: none !important; }
.header-nav-v4__link--active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 5px;
  background: hsl(var(--hsl-h1));
  transform: scaleY(1);
  border-radius: 10000px 10000px 0 0;
}
.header-v4__icon {
  width: 40px;
  align-self: stretch;
  height: 55px;
  background-size: 40px auto;
}
.header-v4--error .header-v4__icon { background-image: url("/static/osu-images/help.svg"); }
.header-v4--users .header-v4__bg { filter: blur(50px); opacity: .25; transform: scale(1.1); }
.level-badge { background-image: var(--level-tier-gold); background-color: transparent; }

.ranking-page-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px;
}
.ranking-sort { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.ranking-sort__item {
  background: none;
  color: hsl(var(--hsl-l1));
  border-radius: 4px;
  padding: 5px 10px;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  text-decoration: none;
  position: relative;
}
.ranking-sort__item:hover { color: hsl(var(--hsl-l1)); text-decoration: none; background: hsl(var(--hsl-b4)); }
.ranking-sort__item--active { background: hsl(var(--hsl-b4)); color: hsl(var(--hsl-c1)); font-weight: 600; }
.ranking-sort__item--active::after { content: none; display: none; }
.select-filter { position: relative; min-width: 180px; }
.select-filter__button {
  background: hsl(var(--hsl-b6));
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 8px 12px;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.select-filter__menu {
  display: none;
  position: absolute; z-index: 20; left: 0; right: 0; top: 100%;
  background: hsl(var(--hsl-b4));
  max-height: 280px; overflow: auto;
  border-radius: 6px;
  box-shadow: var(--box-shadow);
}
.js-click-menu--active .select-filter__menu { display: block; }
.select-filter__option {
  display: block; padding: 8px 12px; color: #fff; cursor: pointer;
}
.select-filter__option:hover { background: hsl(var(--hsl-b3)); }

.profile-info__avatar { box-shadow: inset 0 0 0 3px hsl(var(--hsl-c1)); }
.simple-menu--user { min-height: 100px; }
.simple-menu__header-avatar {
  width: 70px; height: 70px; border-radius: 10px; object-fit: cover; flex: none;
}
.nav2__avatar { box-shadow: inset 0 0 0 3px hsl(var(--hsl-c1)); }
.user-card-brick { box-shadow: inset 0 0 0 2px hsl(var(--hsl-b2)); border-radius: 10px; padding: 6px 10px; }
.user-card-brick__avatar { display: none; }

.beatmapsets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 899px) { .beatmapsets { grid-template-columns: 1fr; } }
.beatmapset-panel {
  display: flex;
  height: 100px;
  overflow: hidden;
  border-radius: 10px;
}
.beatmapset-panel__cover {
  width: 160px; height: 100%; flex: none;
  background-size: cover; background-position: 50%;
}
.beatmapset-panel__info { flex: 1; min-width: 0; padding: 8px 10px; display: flex; flex-direction: column; }
.beatmapset-panel__status {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 10000px;
  font-size: 10px;
  font-weight: 700;
  text-transform: lowercase;
  background: hsl(var(--hsl-lime-1, 90, 100%, 70%));
  color: #111;
  width: max-content;
}
.beatmapset-panel__status--loved { background: #eb49a7; color: #fff; }
.beatmapset-panel__status--pending { background: hsl(var(--hsl-b1)); color: #fff; }
.beatmapset-panel__diffs { margin-top: 0; display: flex; flex-wrap: wrap; gap: 0; align-items: center; }
.beatmapset-panel__diff {
  font-size: 10px; color: hsl(var(--hsl-c2));
  background: hsl(var(--hsl-b6));
  border-radius: 4px;
  padding: 1px 6px;
}
.beatmapset-panel__play {
  margin-left: auto; align-self: center; margin-right: 8px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: hsla(0,0%,100%,.2); color: #fff; cursor: pointer;
}

.error-illustration { display: block; margin: 20px auto; max-width: 280px; }
.user-popup__forgot { display: block; margin: -4px 0 12px; color: hsl(var(--hsl-l1)); font-size: 11px; }
.user-popup__register { margin-top: 24px; padding-top: 16px; border-top: 1px solid hsl(var(--hsl-b3)); text-align: center; }
.user-popup__register h3 { font-size: 14px; margin: 0 0 6px; }
.user-popup .g-recaptcha { display: none !important; }
.supporter-page { display: grid; gap: 16px; }
.supporter-perk {
  background: hsl(var(--hsl-b4));
  border-radius: 10px;
  padding: 16px 20px;
}
.supporter-perk h3 { margin: 0 0 6px; font-size: 14px; }
.game-mode-link--extra { opacity: .85; font-style: italic; }

.nav2__locale {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; color: inherit; font: inherit; cursor: pointer;
}
.beatmapsets-search { display: flex; gap: 8px; padding: 10px; align-items: center; }
.beatmapsets-search__input {
  flex: 1;
  background: hsl(var(--hsl-b6));
  border: 0;
  border-radius: 6px;
  color: #fff;
  padding: 10px 12px;
  font: inherit;
}

/* ===== 2026-08-15 visual merge (single cascade) ===== */
html { --base-hue: var(--base-hue, 333); }
#overlay.blackout,
#overlay {
  z-index: 510 !important;
  max-width: none !important;
}
#overlay:not(.blackout--visible) {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  inset: auto !important;
  pointer-events: none !important;
  position: fixed !important;
}
#overlay.blackout--visible {
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 510 !important;
  pointer-events: auto !important;
}
body.js-nav2--active .nav2-bar,
body.js-nav2--active .nav2 {
  z-index: 520 !important;
}
body.js-nav2--active .nav2__menu-popup,
body.js-nav2--active .nav2__col.js-click-menu--active {
  z-index: 521 !important;
}
body.js-overlay-modal #overlay.blackout--visible {
  z-index: 9980 !important;
}
#user-popup {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  box-sizing: border-box;
}
#user-popup:not(.is-visible) {
  display: none !important;
  pointer-events: none;
}
#user-popup.is-visible {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.user-popup__captcha,
.user-popup .g-recaptcha {
  display: none !important;
}

.landing-hero {
  font-size: 16px;
  line-height: 20px;
}
.landing-hero__logo {
  position: static;
  pointer-events: none;
}
@media (max-width: 899px) {
  .landing-hero__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100px !important;
    height: 100px !important;
    opacity: 1;
    margin: 0;
    overflow: visible;
  }
}
@media (min-width: 900px) {
  .landing-hero__messages {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
  }
}
.landing-hero__slogan-main,
.landing-hero__slogan-sub { width: 100%; max-width: 900px; margin-left: auto; }
.landing-hero__info { font-size: 12px; line-height: 15px; }
.landing-graph {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 70px;
  pointer-events: none;
}
.landing-graph__text {
  position: absolute;
  right: 16px;
  top: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.75);
  z-index: 2;
}
.landing-graph canvas,
.js-landing-graph {
  display: block;
  width: 100%;
  height: 70px;
}
.landing-hero-bottom {
  height: 90px;
  background: hsl(var(--hsl-pink-1));
  clip-path: url(#landing-wave);
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
}

.landing-sitemap {
  font-size: 16px;
  line-height: 20px;
  height: 136px;
  box-sizing: border-box;
  overflow: hidden;
}
.landing-sitemap__header {
  font-size: 13px;
  line-height: 16px;
  margin-bottom: 0;
}
.landing-sitemap__link {
  font-size: 12px;
  line-height: 20px;
  padding: 0;
}

.footer--landing {
  height: 60px !important;
  min-height: 60px;
  padding: 20px 0 !important;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 10px;
}
.footer--landing .footer__row {
  margin: 0;
  align-items: center;
}
.footer__ppy {
  font-size: 10px;
  font-weight: 600;
  opacity: .7;
  margin-left: 8px;
  white-space: nowrap;
}
.footer:not(.footer--landing) {
  height: 50px;
  min-height: 50px;
  padding: 10px 0 5px;
  box-sizing: border-box;
  justify-content: center;
}

.btn-osu-big--download {
  font-family: Torus, Inter, "Helvetica Neue", Tahoma, Arial, sans-serif;
  text-decoration: none !important;
}
.btn-osu-big--download-landing .btn-osu-big__text-bottom { display: none; }
.btn-osu-big--download-landing .btn-osu-big__text-top { font-family: Torus, sans-serif; }

.landing-news__more,
a.landing-news__more,
.btn-osu-big--news-more {
  display: inline-block;
  background: transparent !important;
  color: hsl(var(--hsl-f1)) !important;
  border: 2px solid hsl(var(--hsl-b1));
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 18px;
  text-decoration: none !important;
}
.landing-news__more:hover,
a.landing-news__more:hover {
  color: #fff !important;
  border-color: #fff;
}
.news-card--featured .news-card__cover-container,
.news-card--index .news-card__cover-container {
  height: 160px;
}
.news-card__row--preview { font-family: Inter, sans-serif; }

.header-v4--beatmapsets .header-v4__bg,
.header-v4--beatmapset .header-v4__bg {
  background-image: image-set(url("/static/osu-images/generic.jpg") 1x, url("/static/osu-images/generic@2x.jpg") 2x);
}

.beatmapsets-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 10px;
  align-items: center;
  background: hsl(var(--hsl-b4));
  border-radius: 6px;
  margin-bottom: 10px;
}
.beatmapsets-filters__group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.beatmapsets-filters__label {
  font-size: 10px; font-weight: 700; text-transform: uppercase; color: hsl(var(--hsl-f1)); margin-right: 4px;
}
.beatmapsets-filters a,
.beatmapsets-filters button {
  background: hsl(var(--hsl-b5));
  color: hsl(var(--hsl-c1));
  border: 0;
  border-radius: 10000px;
  padding: 4px 10px;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.beatmapsets-filters a.is-active,
.beatmapsets-filters button.is-active {
  background: hsl(var(--hsl-h1));
  color: #fff;
}

.ranking-page-table__grade { font-family: Venera, Torus, sans-serif; font-weight: 700; }
.ranking-page-table__column--rank-change { width: 18px; min-width: 18px; }
.profile-grade {
  font-family: Venera, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}
.profile-grade--XH, .profile-grade--X { color: #fc2; }
.profile-grade--SH, .profile-grade--S { color: #ff66aa; }
.profile-grade--A { color: #88b300; }

.play-detail-list__more { text-align: center; margin-top: 10px; }
.more-button, a.more-button {
  display: inline-block;
  background: hsl(var(--hsl-b3));
  color: #fff;
  border-radius: 10000px;
  padding: 8px 15px;
  font-family: var(--font, Torus, Inter, "Helvetica Neue", sans-serif);
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
}
.more-button:hover { background: hsl(var(--hsl-b2)); color: #fff; text-decoration: none; }

.profile-rank-chart {
  height: 90px;
  background:
    linear-gradient(to right, hsla(0,0%,100%,.06) 1px, transparent 1px) 0 0 / 12.5% 100%,
    linear-gradient(to top, hsla(0,0%,100%,.06) 1px, transparent 1px) 0 0 / 100% 25%,
    hsl(var(--hsl-b5));
  border-radius: 6px;
  position: relative;
}
.profile-rank-chart__empty {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: hsl(var(--hsl-f1));
  font-size: 12px;
}

.osu-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 40px 20px;
  text-align: center;
  color: hsl(var(--hsl-f1));
}
.osu-empty__icon {
  width: 64px; height: 64px; margin-bottom: 16px;
  background: hsl(var(--hsl-b3)) center/40px no-repeat;
  border-radius: 50%;
  opacity: .7;
}
.osu-empty__title { font-size: 16px; font-weight: 600; color: #fff; margin: 0 0 6px; }
.osu-empty__text { font-size: 12px; max-width: 420px; }

.download-page { max-width: 1000px; margin: 0 auto; }
.download-page__header {
  text-align: center;
  padding: 40px 20px 20px;
}
.download-page__tagline { font-size: 24px; font-weight: 400; margin: 0 0 20px; }
.download-page__cta { display: flex; justify-content: center; margin: 16px 0 8px; }
.download-page__meta { color: hsl(var(--hsl-f1)); font-size: 12px; }
.download-page__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media (min-width: 900px) {
  .download-page__steps { grid-template-columns: repeat(3, 1fr); }
}
.download-page__step {
  background: hsl(var(--hsl-b4));
  border-radius: 10px;
  padding: 16px;
}
.download-page__step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: hsl(var(--hsl-h1)); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 8px;
}
.download-page__example { width: 100%; border-radius: 6px; margin-top: 12px; display: block; }

.supporter-hero {
  background: url("/static/osu-images/supporter.jpg") 50%/cover no-repeat;
  min-height: 180px;
  border-radius: 10px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  margin-bottom: 16px;
}
.supporter-hero h2 { margin: 0; font-size: 28px; text-shadow: 0 2px 8px #000; }
.supporter-perks { display: grid; gap: 12px; }
@media (min-width: 900px) { .supporter-perks { grid-template-columns: 1fr 1fr; } }
.supporter-perk { background: hsl(var(--hsl-b4)); border-radius: 10px; padding: 16px 20px; }
.supporter-perk h3 { margin: 0 0 6px; font-size: 14px; }
.supporter-tag {
  display: inline-block;
  background: #fc2;
  color: #111;
  font-weight: 700;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10000px;
  margin-right: 6px;
}

.forum-list { display: flex; flex-direction: column; gap: 8px; }
.forum-item {
  display: flex; align-items: center; gap: 12px;
  background: hsl(var(--hsl-b4));
  border-radius: 8px;
  padding: 14px 16px;
}
.forum-item__icon {
  width: 40px; height: 40px; flex: none;
  background: url("/static/osu-images/forum.svg") 50%/70% no-repeat hsl(var(--hsl-b5));
  border-radius: 8px;
}
.forum-item__name { font-weight: 600; color: #fff; }
.forum-item__desc { font-size: 12px; color: hsl(var(--hsl-f1)); }

.chat-page {
  min-height: 480px;
  background: hsl(var(--hsl-b5));
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}
.chat-page__sidebar { display: none; }
@media (min-width: 900px) {
  .chat-page { flex-direction: row; }
  .chat-page__sidebar {
    display: block;
    width: 240px;
    border-right: 1px solid hsl(var(--hsl-b3));
    padding: 16px;
  }
}
.chat-page__main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px; text-align: center; }
.chat-conversation__empty { color: hsl(var(--hsl-f1)); max-width: 360px; }

.error-page { text-align: center; padding: 40px 20px; }
.error-page__code { font-size: 48px; font-weight: 300; margin: 0 0 8px; }
.error-page__title { font-size: 20px; margin: 0 0 12px; }

.wiki-page {
  background: hsl(var(--hsl-b5));
  border-radius: 10px;
  padding: 24px 28px;
  max-width: 800px;
  margin: 0 auto;
}
.wiki-page h1 { font-size: 24px; margin: 0 0 16px; }
.wiki-page h2 { font-size: 16px; margin: 24px 0 8px; color: hsl(var(--hsl-l1)); }
.wiki-page p, .wiki-page li { line-height: 1.5; color: hsl(var(--hsl-c2)); }
.wiki-page a { color: hsl(var(--hsl-l1)); }

.pagination-v2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
}
.pagination-v2__link {
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: hsl(var(--hsl-b4));
  color: #fff;
  padding: 0 10px;
  font-weight: 600;
  text-decoration: none;
}
.pagination-v2__link--active { background: hsl(var(--hsl-h1)); }
.pagination-v2__link--disabled { opacity: .4; pointer-events: none; }
.pagination-v2__pages { display: inline-flex; gap: 4px; }

.btn-circle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: hsl(var(--hsl-b3)); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.btn-circle:hover { background: hsl(var(--hsl-h1)); }

.landing-nav__locale-menu {
  display: none;
  position: absolute;
  right: 0; top: 100%;
  background: hsl(var(--hsl-b4));
  border-radius: 6px;
  min-width: 140px;
  z-index: 20;
  box-shadow: var(--box-shadow);
}
.js-click-menu--active .landing-nav__locale-menu { display: block; }
.landing-nav__section { position: relative; }

/* ===== official match (download CTA, overlay, pages) ===== */
a.btn-osu-big.btn-osu-big--download.btn-osu-big--download-landing,
.btn-osu-big--download-landing {
  display: block !important;
  width: 180px !important;
  height: 60px !important;
  max-width: 180px !important;
  padding: 10px 5px !important;
  border-radius: 4px !important;
  border: 0 !important;
  box-sizing: border-box !important;
  background: hsl(var(--hsl-h2)) !important;
  background-image: none !important;
  box-shadow: var(--box-shadow);
  color: #fff !important;
  flex-direction: unset !important;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}
.btn-osu-big--download-landing .btn-osu-big__content {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  padding: 0 10px 0 14px;
  box-sizing: border-box;
}
.btn-osu-big--download-landing .btn-osu-big__left { display: flex; align-items: center; }
.btn-osu-big--download-landing .btn-osu-big__text-top {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
.btn-osu-big--download-landing .btn-osu-big__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #fff url("/static/osu-images/cookie_v3.svg") center / 70% no-repeat;
  flex: none;
  display: block;
  margin-left: 8px;
}
.btn-osu-big--download-landing:hover {
  background: hsl(var(--hsl-h1)) !important;
  background-image: none !important;
  color: #fff !important;
}

.ranking-filter__pills { display: flex; gap: 6px; flex-wrap: wrap; }
.ranking-filter__pill {
  background: hsl(var(--hsl-b5));
  color: hsl(var(--hsl-c1));
  border-radius: 10000px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-transform: lowercase;
}
.ranking-filter__pill:hover { color: #fff; text-decoration: none; }
.ranking-filter__pill--active { background: hsl(var(--hsl-h1)); color: #fff; }

.pagination-v2__link--active {
  background: hsl(var(--hsl-h1)) !important;
  color: #fff !important;
  border-radius: 10000px !important;
  min-width: 32px;
  height: 32px;
  font-weight: 700;
}

.download-page__banner {
  position: relative;
  display: flex;
  justify-content: flex-end;
  min-height: 420px;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  background: hsl(var(--hsl-b5));
}
.download-page__banner-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: left;
}
.download-page__banner-content {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 40px;
  padding: 10px;
  max-width: 440px;
  background: hsla(var(--hsl-b5), .5);
  border-radius: 20px;
  align-items: flex-end;
  gap: 10px;
}
.download-page__tagline {
  display: flex; flex-direction: column;
  font-size: 24px; line-height: 1; padding: 40px 0;
  color: #fff; text-align: right;
}
.download-page__tagline-1 { margin-right: 110px; }
.download-page__tagline-2 { font-size: 48px; align-self: flex-end; font-weight: 300; }
.download-page__platforms {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 10px 0 0;
}
@media (max-width: 899px) { .download-page__platforms { grid-template-columns: 1fr 1fr; } }
.download-page__platform {
  background: hsl(var(--hsl-b4));
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  display: flex; flex-direction: column; gap: 4px;
}
.download-page__platform:hover { background: hsl(var(--hsl-b3)); color: #fff; text-decoration: none; }
.download-page__platform.is-active { outline: 2px solid hsl(var(--hsl-h1)); }
.download-page__platform-name { font-weight: 700; }
.download-page__platform-meta { font-size: 11px; color: hsl(var(--hsl-f1)); }
.download-page__guide {
  display: flex; flex-direction: column; gap: 10px;
  background: hsl(var(--hsl-b4));
  border-radius: 20px;
  margin-top: 10px;
}
.download-page__guide-content { padding: 20px; }
.download-page__video { background: hsl(var(--hsl-b6)); border-radius: 20px; overflow: hidden; margin-top: 20px; }
.download-page__video-frame { position: relative; padding-top: 56.25%; }
.download-page__video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.download-page__extra-links { display: flex; gap: 10px; justify-content: center; }
.download-page__extra-link { color: #fff; font-size: 12px; }
.download-page__extra-link--separator::before { content: "•"; margin: 0 4px; }
.download-page__step-number {
  width: 60px; height: 24px; border-radius: 12px;
  border: 2px solid currentColor;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.download-page__text--title { font-size: 16px; font-weight: 600; }
.download-page__text--description { color: hsl(var(--hsl-c2)); font-size: 12px; }
.download-page .notification-banner-v2 { margin-top: 16px; padding: 12px 16px; background: hsl(var(--hsl-b4)); border-radius: 8px; color: hsl(var(--hsl-c2)); }

.forum-list { display: flex; flex-direction: column; gap: 24px; }
.forum-list__group { display: flex; flex-direction: column; }
.forum-item {
  display: flex; align-items: stretch; gap: 12px;
  background: hsl(var(--hsl-b4));
  border-radius: 10px;
  padding: 10px 16px;
  margin: 2px 0;
}
.forum-item--header {
  background: transparent;
  padding-top: 0; padding-bottom: 8px;
  color: hsl(var(--hsl-f1));
  font-size: 12px; text-transform: lowercase;
}
.forum-item--header:hover { background: transparent; }
.forum-item:hover { background: hsl(var(--hsl-b3)); }
.forum-item__details { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.forum-item__name { font-size: 16px; font-weight: 400; color: #fff; width: max-content; max-width: 100%; }
.forum-item__name:hover { color: #fff; text-decoration: none; }
.forum-item__description { color: hsl(var(--hsl-c2)); font-size: 12px; }
.forum-item__latest-post {
  flex: none; width: 300px;
  display: flex; flex-direction: column; justify-content: center;
  color: hsl(var(--hsl-c2)); font-size: 12px;
}
.forum-item__empty { opacity: .55; }
.forum-item__icon {
  width: 40px; height: 40px; flex: none; align-self: center;
  background: url("/static/osu-images/forum.svg") 50%/70% no-repeat hsl(var(--hsl-b5));
  border-radius: 8px;
}

.store-page__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.store-page__title { margin: 0; font-size: 24px; }
.store-page__cart { color: #fff; font-weight: 600; }
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.product-box--card-large { grid-column: 1 / -1; min-height: 220px; }
.product-box {
  display: flex; flex-direction: column;
  background: hsl(var(--hsl-b4));
  border-radius: 10px;
  overflow: hidden;
  color: #fff; text-decoration: none;
  min-height: 180px;
}
.product-box:hover { color: #fff; text-decoration: none; filter: brightness(1.08); }
.product-box__image { height: 140px; background: hsl(var(--hsl-b5)) center/cover no-repeat; }
.product-box--card-large .product-box__image { height: 200px; }
.product-box__text { padding: 12px 14px; }
.product-box__header { font-size: 16px; font-weight: 600; }
.product-box__blurb { font-size: 12px; color: hsl(var(--hsl-c2)); margin-top: 4px; }

.wiki-main-page { display: grid; grid-template-columns: 220px 1fr; gap: 20px; }
@media (max-width: 899px) { .wiki-main-page { grid-template-columns: 1fr; } }
.wiki-toc { background: hsl(var(--hsl-b4)); border-radius: 10px; padding: 16px; }
.wiki-toc__header { font-size: 11px; font-weight: 700; text-transform: uppercase; color: hsl(var(--hsl-f1)); margin-bottom: 8px; }
.wiki-toc__list { list-style: none; padding: 0; margin: 0; }
.wiki-toc__list li { margin: 6px 0; }
.wiki-toc__list a { color: hsl(var(--hsl-c1)); text-decoration: none; }
.wiki-toc__list a:hover { color: hsl(var(--hsl-l1)); }
.wiki-page-header { margin-bottom: 16px; }
.wiki-page-header__title { font-size: 28px; margin: 0; }

.chat { display: flex; min-height: 520px; background: hsl(var(--hsl-b5)); border-radius: 10px; overflow: hidden; }
.chat__sidebar { width: 240px; background: hsl(var(--hsl-b4)); padding: 12px 0; flex: none; }
.chat-conversation-list__header { font-size: 11px; font-weight: 700; text-transform: uppercase; color: hsl(var(--hsl-f1)); padding: 8px 16px; }
.chat-conversation-list-item {
  display: block; width: 100%; text-align: left;
  background: none; border: 0; color: #fff; font: inherit;
  padding: 8px 16px; cursor: pointer;
}
.chat-conversation-list-item--selected, .chat-conversation-list-item:hover { background: hsl(var(--hsl-b3)); }
.chat__conversation-area { flex: 1; display: flex; flex-direction: column; }
.chat-conversation { flex: 1; display: flex; flex-direction: column; }
.chat-conversation__new-chat-header { padding: 12px 16px; font-weight: 700; border-bottom: 1px solid hsl(var(--hsl-b3)); }
.chat-conversation__cannot-message { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px; }
.chat-input { padding: 12px; border-top: 1px solid hsl(var(--hsl-b3)); }
.chat-input__box {
  width: 100%; background: hsl(var(--hsl-b4)); border: 0; border-radius: 8px;
  padding: 10px 12px; color: #fff; font: inherit;
}

.artist-index__cards, .beatmap-packs__cards, .livestream-page__cards, .contest-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px;
}
.artist-card, .beatmap-pack, .contest-card, .livestream-card {
  background: hsl(var(--hsl-b4)); border-radius: 10px; overflow: hidden; min-height: 160px;
}
.artist-card__cover, .contest-card__cover, .livestream-card__thumb {
  height: 110px; background: hsl(var(--hsl-b5)) url("/static/osu-images/beatmapsets.svg") center/40px no-repeat;
}
.artist-card__label, .beatmap-pack__header, .contest-card__title, .livestream-card__meta, .beatmap-pack__body, .contest-card__body {
  padding: 10px 14px; color: hsl(var(--hsl-c2));
}
.beatmap-pack__header, .contest-card__title, .artist-card__label { font-weight: 700; color: #fff; }

.profile-rank-chart { position: relative; height: 120px; width: 100%; }
.profile-rank-chart__axes { width: 100%; height: 120px; display: block; }

.news-index { display: flex; flex-direction: column; gap: 10px; }
.news-card__cover { width: 100%; height: 160px; object-fit: cover; display: block; }
.news-card--landing .news-card__cover,
.news-card--landing .news-card__cover-container { height: 160px; }
.news-card__time {
  position: absolute; left: 10px; bottom: 10px;
  background: hsl(var(--hsl-h1)); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10000px;
}
.news-card__cover-container { position: relative; }
.news-card__row--title { font-size: 20px; font-weight: 600; margin: 0; }
.news-card:hover { filter: brightness(1.06); }

.header-v4--download .header-v4__icon { background-image: url("/static/osu-images/download.svg"); }
.header-v4--store .header-v4__icon { background-image: url("/static/osu-images/extra.svg"); }

/* ===== shots5 chrome ===== */
#user-popup, #user-popup.is-visible, .user-popup.is-visible { z-index: 9999 !important; }
.user-popup__box { z-index: 10000; background: hsl(var(--hsl-b4)); }

.download-page__other-platforms { position: relative; align-self: stretch; }
.download-page__other-platforms-button {
  background: none; border: 0; color: #fff; font: inherit; cursor: pointer;
  text-decoration: underline; padding: 4px 0;
}
.download-page__other-platforms-menu {
  display: none; position: absolute; right: 0; top: 100%;
  background: hsl(var(--hsl-b4)); border-radius: 8px; padding: 8px 0; min-width: 160px;
  box-shadow: var(--box-shadow); z-index: 5;
}
.js-click-menu--active .download-page__other-platforms-menu { display: flex; flex-direction: column; }
.download-page__other-platforms-menu a { color: #fff; padding: 8px 16px; text-decoration: none; }
.download-page__other-platforms-menu a:hover { background: hsl(var(--hsl-b3)); }
.download-page__help { margin: 12px 40px 0; font-size: 12px; color: hsl(var(--hsl-f1)); }
.download-page__banner { min-height: 420px; }
.download-page__banner-tail { display: flex; justify-content: flex-end; }
.download-page__banner-content--tail { width: 100%; max-width: 460px; margin: 0 40px 20px; padding: 20px 10px; background: hsla(var(--hsl-b5), .5); border-radius: 20px; }

.store-page__notice { color: hsl(var(--hsl-f1)); font-size: 12px; margin: 0 0 16px; }
.product-box { position: relative; }
.product-box__sash {
  position: absolute; top: 18px; left: -28px; z-index: 2;
  background: hsl(var(--hsl-orange-1)); color: #000; font-size: 10px; font-weight: 700;
  text-transform: uppercase; padding: 4px 36px; transform: rotate(-35deg);
}
.product-box__sash--inline { position: static; transform: none; display: inline-block; padding: 4px 10px; }
.product-box__price { margin-top: 6px; font-weight: 700; color: hsl(var(--hsl-l1)); }
.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 899px) { .product-page { grid-template-columns: 1fr; } }
.product-page__image { min-height: 320px; background: hsl(var(--hsl-b5)) center/contain no-repeat; border-radius: 10px; }
.product-page__name { margin: 0 0 8px; font-size: 28px; }
.supporter-shop { background: hsl(var(--hsl-b4)); border-radius: 10px; padding: 24px; }
.supporter-hero { background: url("/static/osu-images/store/supporter.jpg") center/cover no-repeat; min-height: 180px; border-radius: 10px; display: flex; align-items: flex-end; padding: 20px; margin-bottom: 20px; }
.supporter-hero h2 { margin: 0; text-shadow: 0 2px 8px #000; }

.forum-list-header { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 12px; }
.forum-item { position: relative; padding-left: 12px; }
.forum-item__bar {
  position: absolute; left: 0; top: 8px; bottom: 8px; width: 6px; border-radius: 3px;
  background: hsl(var(--hsl-h1));
}
.forum-list__group--osu { --forum-hue: 333; }
.forum-list__group--gameplay { --forum-hue: 45; }
.forum-list__group--beatmaps { --forum-hue: 200; }
.forum-list__group--other { --forum-hue: 255; }
.forum-list__group { --base-hue: var(--forum-hue); }
.forum-list__group--osu .forum-item__bar { background: #e456ae; }
.forum-list__group--gameplay .forum-item__bar { background: #fc2; }
.forum-list__group--beatmaps .forum-item__bar { background: #17d; }
.forum-list__group--other .forum-item__bar { background: #7af; }
.forum-item--header .forum-item__name { font-weight: 700; text-transform: lowercase; font-size: 18px; }
.forum-item__subforums { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.forum-item__subforum {
  background: hsl(var(--hsl-b5)); color: #fff; border-radius: 10000px;
  font-size: 10px; font-weight: 600; padding: 3px 10px; text-decoration: none;
}
.forum-item__subforum:hover { background: hsl(var(--hsl-h1)); color: #fff; text-decoration: none; }
.forum-item__icon { display: none; }
.forum-topic-list__header { display: flex; justify-content: space-between; color: hsl(var(--hsl-f1)); padding: 8px 12px; font-size: 12px; text-transform: uppercase; }

.chat-conversation { position: relative; min-height: 420px; }
.chat-conversation__messages { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; opacity: .28; pointer-events: none; }
.chat-message-group { display: flex; flex-direction: column; gap: 4px; max-width: 70%; }
.chat-message-group--own { align-self: flex-end; align-items: flex-end; }
.chat-message-group__sender { font-size: 11px; color: hsl(var(--hsl-f1)); }
.chat-message-group__bubble {
  background: hsl(var(--hsl-b3)); border-radius: 12px 12px 12px 4px; padding: 8px 12px;
}
.chat-message-group--own .chat-message-group__bubble { background: hsl(var(--hsl-h1)); border-radius: 12px 12px 4px 12px; }
.chat-conversation__cannot-message {
  position: absolute; inset: 48px 0 0; background: hsla(var(--hsl-b6), .72);
  display: flex; align-items: center; justify-content: center; z-index: 2;
}

.beatmapsets-filters__item {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 6px; color: hsl(var(--hsl-c2)); text-decoration: none;
}
.beatmapsets-filters__item .fal { font-size: 16px; }
.beatmapsets-filters__item.is-active { color: #fff; background: hsl(var(--hsl-h1)); }
.beatmapsets-filters__group--mode a:first-of-type { width: auto; padding: 0 8px; font-size: 11px; }

.ranking-page-table__column--rank-change::after { content: none !important; display: none !important; }
.report-modal[hidden] { display: none !important; }
.report-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.4); }
.report-modal__box { width: 400px; max-width: 92vw; }
.report-modal textarea { width: 100%; min-height: 120px; background: hsl(var(--hsl-b5)); color: #fff; border: 0; border-radius: 6px; padding: 8px; font: inherit; }

.news-show__cover { height: 240px; border-radius: 10px; overflow: hidden; margin-bottom: 16px; }
.news-show__cover .news-card__cover { height: 240px; }

@media (max-width: 375px) {
  .ranking-user__avatar { width: 32px; height: 32px; }
}

/* OPEN IDs 11–165 visual close */
@media (max-width: 899px) {
  body.osu-layout--body-landing { padding-top: 50px; }
  body.osu-layout--body-landing .navbar-mobile {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
    z-index: 511;
  }
  body.osu-layout--body-landing .landing-nav { display: none !important; }
}

.landing-nav__locale { position: relative; }
.landing-nav__locale-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 20;
  min-width: 160px;
}
.js-click-menu--active > .landing-nav__locale-menu,
.js-click-menu--active .landing-nav__locale-menu { display: block; }

.select-options { position: relative; min-width: 180px; }
.select-options--ranking { --option-select-padding: 5px 10px; }
.select-options__select {
  overflow: hidden;
  border-radius: 10px;
  font-size: 15px;
  background-color: hsla(var(--hsl-b6), 0.5);
  box-shadow: 0 0 0 2px rgba(0,0,0,.25);
}
.select-options__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  width: 100%;
  padding: 5px 10px;
  border: 0;
  background: transparent;
  color: hsl(var(--hsl-c1));
  font: inherit;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}
.select-options__option--selector { padding: 5px 10px; }
.select-options__option:hover { background: hsl(var(--hsl-b4)); }
.select-options__decoration { margin-left: 10px; color: hsl(var(--hsl-c2)); }
.select-options__selector {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 5px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 20;
  font-size: 12px;
  background: hsl(var(--hsl-b5));
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
  border-radius: 6px;
}
.select-options--selecting .select-options__selector,
.js-click-menu--active .select-options__selector { display: block; }

.osu-page--beatmapsets-search-header { padding: 0; max-width: none; }
.beatmapsets-search {
  position: relative;
  display: block;
  background: hsl(var(--hsl-b6));
  padding: 10px 50px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
  font-size: 12px;
}
.beatmapsets-search__cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .5;
}
.beatmapsets-search__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: hsla(var(--hsl-b1), .8);
}
.beatmapsets-search__input-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 47px;
  margin: 20px 0;
  border: 1px solid hsl(var(--hsl-b4));
  background: hsl(var(--hsl-b2));
}
.beatmapsets-search__input {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
  height: 45px;
  padding: 10px;
  color: hsl(var(--hsl-c1));
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 16px;
  line-height: 25px;
}
.beatmapsets-search__icon {
  width: 45px;
  height: 45px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--hsl-l1));
}
.beatmapsets-search__filter-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 10px;
  align-items: baseline;
}
.beatmapsets-search-filter--grid { display: contents; }
.beatmapsets-search-filter__header {
  display: block;
  color: hsl(var(--hsl-c1));
  margin: 5px 0;
  font-size: 12px;
}
.beatmapsets-search-filter__items {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  align-items: baseline;
}
.beatmapsets-search-filter__item {
  color: hsl(var(--hsl-l2));
  text-decoration: none;
  font-size: 12px;
  background: none;
  border-radius: 0;
  padding: 0;
  width: auto;
  height: auto;
}
.beatmapsets-search-filter__item:hover { color: hsl(var(--hsl-l1)); text-decoration: none; }
.beatmapsets-search-filter__item--active {
  font-weight: 600;
  color: hsl(var(--hsl-c1));
}
.beatmapsets-search-filter__item--disabled,
.beatmapsets-search-filter__item--unavailable {
  opacity: .42;
  pointer-events: none;
  cursor: not-allowed;
  color: hsl(var(--hsl-l2));
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, .28);
}
.beatmapsets-search-filter__items--unavailable {
  opacity: .9;
}
.beatmapsets-search-filter__item .fal { font-size: 16px; vertical-align: middle; }

.osu-page--beatmapsets-sort {
  padding-top: 8px;
  padding-bottom: 4px;
}
.beatmapsets-sorting .sort__items,
.sort--beatmapsets .sort__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}
.beatmapsets-sorting .sort__item--title {
  color: hsl(var(--hsl-f1));
  font-size: 12px;
  font-weight: 600;
  margin-right: 4px;
}
.beatmapsets-sorting .sort__item--button {
  color: hsl(var(--hsl-l2));
  font-size: 12px;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
}
.beatmapsets-sorting .sort__item--button:hover {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, .08);
}
.beatmapsets-sorting .sort__item--active {
  color: #fff;
  font-weight: 700;
  background: rgba(255, 255, 255, .14);
}

.beatmapsets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 900px) {
  .beatmapsets {
    width: 1000px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 475px 475px;
    column-gap: 10px;
    row-gap: 10px;
    justify-content: center;
  }
}
.beatmapset-cover {
  position: relative;
  width: 45px;
  height: 30px;
  border-radius: 6px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--hsl-b4));
}
.beatmapset-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--bg, none);
  background-position: center;
  background-size: cover;
}
@supports (background-image: image-set(url("") 1x)) {
  .beatmapset-cover::before {
    background-image: image-set(var(--bg) 1x, var(--bg-2x, var(--bg)) 2x);
  }
}
.beatmapset-cover--full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.beatmapsets-search__cover .beatmapset-cover--full {
  border-radius: 0;
}
.beatmapset-panel {
  --play-width: 90px;
  --panel-height: 100px;
  --info-bg: linear-gradient(0.25turn, hsl(var(--hsl-b2)), hsla(var(--hsl-b2), 0.8));
  --play-bg: transparent;
  --play-icon-opacity: 0;
  --menu-opacity: 0;
  --menu-container-width: 10px;
  --stats-opacity: 0;
  position: relative;
  display: block;
  height: var(--panel-height);
  border-radius: 10px;
  overflow: hidden;
  background: hsl(var(--hsl-b4));
  color: #fff;
  text-decoration: none;
}
.beatmapset-panel:hover {
  color: #fff;
  text-decoration: none;
  --play-bg: hsla(var(--hsl-b6), .8);
  --play-icon-opacity: 1;
  --menu-opacity: 1;
  --menu-container-width: 30px;
  --stats-opacity: 1;
}
.beatmapset-panel.js-audio--playing,
.beatmapset-panel.js-audio--paused {
  --play-bg: hsla(var(--hsl-h1), .32);
  --play-icon-opacity: 1;
  --menu-opacity: 1;
}
.beatmapset-panel__cover-container {
  position: absolute;
  inset: 0;
  height: var(--panel-height);
  display: flex;
  pointer-events: auto;
  color: inherit;
  text-decoration: none;
}
.beatmapset-panel__cover-col {
  position: relative;
}
.beatmapset-panel__cover-col--play {
  width: calc(var(--play-width) + 10px);
  flex: none;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
}
.beatmapset-panel__cover-col--info {
  flex: 1;
  min-width: 0;
  margin-right: 10px;
}
.beatmapset-panel__cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.beatmapset-panel__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: var(--panel-height);
  pointer-events: none;
}
.beatmapset-panel__play,
.beatmapset-panel__menu-item,
.beatmapset-panel__main-link,
a.beatmapset-panel__info-row--extra {
  pointer-events: auto;
}
a.beatmapset-panel__main-link,
a.beatmapset-panel__cover-container,
a.beatmapset-panel__info-row--extra {
  color: inherit;
  text-decoration: none;
}
a.beatmapset-panel__main-link:hover,
a.beatmapset-panel__cover-container:hover,
a.beatmapset-panel__info-row--extra:hover {
  color: inherit;
  text-decoration: none;
}
.beatmapset-panel__play-container {
  width: var(--play-width);
  flex: none;
  position: relative;
  background: var(--play-bg);
  border-radius: 9px 0 0 9px;
}
.beatmapset-panel__play {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  opacity: var(--play-icon-opacity);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.beatmapset-panel__play:hover { color: hsl(var(--hsl-orange-1, 20, 100%, 70%)); }
.beatmapset-panel__play .play-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
}
.beatmapset-panel__play .play-button::before {
  content: "\f04b";
}
.beatmapset-panel[data-audio-state="loading"] .beatmapset-panel__play .play-button::before,
.beatmapset-panel[data-audio-state="playing"] .beatmapset-panel__play .play-button::before {
  content: "\f04c";
}
.beatmapset-panel__play-progress {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 58%, rgba(0, 0, 0, .32) 59%, rgba(0, 0, 0, .32) 67%, transparent 68%),
    conic-gradient(hsl(var(--hsl-h1)) var(--preview-progress, 0%), rgba(255, 255, 255, .18) 0);
  opacity: .85;
  transition: background 120ms linear, opacity 120ms ease-in-out;
}
.beatmapset-panel__play-icon {
  position: relative;
  z-index: 1;
  transition: opacity 120ms ease-in-out, transform 120ms ease-in-out;
}
.beatmapset-panel__play-icon--pause {
  position: absolute;
  opacity: 0;
  transform: scale(.85);
}
.beatmapset-panel[data-audio-state="playing"] .beatmapset-panel__play-icon--play {
  opacity: 0;
  transform: scale(.85);
}
.beatmapset-panel[data-audio-state="playing"] .beatmapset-panel__play-icon--pause {
  opacity: 1;
  transform: scale(1);
}
.beatmapset-panel[data-audio-state="paused"] .beatmapset-panel__play-progress,
.beatmapset-panel[data-audio-state="playing"] .beatmapset-panel__play-progress {
  opacity: 1;
}
.beatmapset-panel__info {
  flex: 1;
  min-width: 0;
  padding: 4px 10px 6px !important;
  display: flex;
  flex-direction: column;
  background: var(--info-bg);
  border-radius: 9px 0 0 9px;
  justify-content: flex-start;
}
.beatmapset-panel__info-row { margin: 0; padding: 0; display: flex; align-items: baseline; }
.beatmapset-panel__info-row--title { font-size: 18px; font-weight: 600; line-height: 22.5px; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.beatmapset-panel__info-row--artist { font-size: 14px; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.beatmapset-panel__info-row--mapper { color: hsl(var(--hsl-c2)); font-weight: 600; margin-top: auto; font-size: 12px; }
.beatmapset-panel__info-row--stats {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 0 10px;
  align-items: center;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  opacity: var(--stats-opacity);
  margin: 2px 0 0;
  font-size: 11px;
  font-weight: 600;
  color: hsl(var(--hsl-c2));
}
.beatmapset-panel__stats-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.beatmapset-panel__stats-item-icon {
  font-size: 8px;
  color: hsl(var(--hsl-c2));
}
.beatmapset-panel__stats-item-value {
  font-variant-numeric: tabular-nums;
  color: hsl(var(--hsl-c1));
}
.beatmapset-panel__info-row--extra {
  align-items: center;
  gap: 0;
  --gutter: 3px;
  margin: 0 calc(var(--gutter) * -1);
  color: #fff;
  text-decoration: none;
  line-height: 15px;
  min-height: 14px;
}
.beatmapset-panel__extra-item {
  margin: 0 var(--gutter);
  display: flex;
  align-items: center;
  min-width: 0;
}
.beatmapset-panel__extra-item--dots {
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.beatmapset-panel__info-row--artist {
  min-width: 0;
}
.beatmapset-panel__badge-container {
  position: relative;
  bottom: 0.2em;
  margin-left: auto;
  flex-shrink: 0;
}
.beatmapset-badge {
  display: inline-block;
  background-color: hsl(var(--hsl-b5));
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 10000px;
  padding: 0.2em 1em;
  margin-left: 10px;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
  color: hsl(var(--hsl-c1));
  text-decoration: none;
}
.beatmapset-badge--featured_artist {
  color: hsl(var(--hsl-blue-2));
}
.beatmapset-badge--panel {
  margin-left: 5px;
}
.beatmapset-panel__menu-container {
  width: var(--menu-container-width);
  flex: none;
  overflow: hidden;
  background: hsl(var(--hsl-b3));
  transition: width 150ms ease-in-out;
  border-radius: 0 10px 10px 0;
}
.beatmapset-panel__menu {
  opacity: var(--menu-opacity);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  color: hsl(var(--hsl-c2));
  font-size: 12px;
  pointer-events: auto;
}
.beatmapset-panel__menu-item {
  background: none;
  border: 0;
  color: hsl(var(--hsl-l1));
  padding: 3px 0;
  width: 20px;
  text-align: center;
  cursor: default;
  line-height: 1;
  pointer-events: auto;
}
.beatmapset-panel__menu-item:hover {
  color: hsl(var(--hsl-c1));
}
.beatmapset-panel__menu-item--disabled,
.beatmapset-panel__menu-item:disabled {
  color: hsl(var(--hsl-l1));
  cursor: default;
  opacity: 1;
}
.beatmapset-panel__menu-item--disabled:hover,
.beatmapset-panel__menu-item:disabled:hover {
  color: hsl(var(--hsl-l1));
}
.beatmapset-status {
  display: inline-block;
  padding: 0 5px;
  border-radius: 10000px;
  font-size: 12px;
  font-weight: 800;
  line-height: 14px;
  height: 14px;
  text-transform: uppercase;
  background: #b3ff66;
  color: rgb(57, 66, 70);
  box-sizing: border-box;
}
.beatmapset-status--loved { background: #eb49a7; color: #fff; }
.beatmapset-status--pending { background: hsl(var(--hsl-b1)); color: #fff; }
.beatmapset-status--approved { background: hsl(var(--beatmapset-approved)); color: #fff; }
.beatmapset-status--qualified { background: hsl(var(--beatmapset-qualified)); color: #fff; }
.beatmapset-status--wip { background: hsl(var(--beatmapset-wip)); color: rgb(57, 66, 70); }
.beatmapset-status--graveyard { background: hsl(var(--beatmapset-graveyard)); color: #fff; }
.beatmapset-status--ranked { background: #b3ff66; color: rgb(57, 66, 70); }
.beatmapset-status--panel {
  background: #b3ff66;
  color: rgb(57, 66, 70);
}
/* Detail header status pill — official show chrome (dark translucent + white) */
.beatmapset-header__status .beatmapset-status.beatmapset-status--show,
.beatmapset-status.beatmapset-status--show {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
  margin: 5px;
  padding: 0 35px;
  font-size: 14px;
  font-weight: 600;
  line-height: 17.5px;
  letter-spacing: normal;
  background: rgba(46, 53, 56, 0.7);
  color: #fff;
}
.beatmapset-header__status .beatmapset-status.beatmapset-status--show.beatmapset-status--loved,
.beatmapset-status.beatmapset-status--show.beatmapset-status--loved {
  background: rgba(46, 53, 56, 0.7);
  color: #fff;
}
.beatmapset-header__status .beatmapset-status.beatmapset-status--show.beatmapset-status--pending,
.beatmapset-status.beatmapset-status--show.beatmapset-status--pending,
.beatmapset-header__status .beatmapset-status.beatmapset-status--show.beatmapset-status--ranked,
.beatmapset-status.beatmapset-status--show.beatmapset-status--ranked,
.beatmapset-header__status .beatmapset-status.beatmapset-status--show.beatmapset-status--approved,
.beatmapset-status.beatmapset-status--show.beatmapset-status--approved,
.beatmapset-header__status .beatmapset-status.beatmapset-status--show.beatmapset-status--qualified,
.beatmapset-status.beatmapset-status--show.beatmapset-status--qualified,
.beatmapset-header__status .beatmapset-status.beatmapset-status--show.beatmapset-status--wip,
.beatmapset-status.beatmapset-status--show.beatmapset-status--wip,
.beatmapset-header__status .beatmapset-status.beatmapset-status--show.beatmapset-status--graveyard,
.beatmapset-status.beatmapset-status--show.beatmapset-status--graveyard {
  background: rgba(46, 53, 56, 0.7);
  color: #fff;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 48px 24px;
  text-align: center;
  color: hsl(var(--hsl-f1));
}
.empty-state__icon {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: hsl(var(--hsl-b3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: hsl(var(--hsl-c2));
}
.empty-state__title { font-size: 18px; font-weight: 600; color: #fff; margin: 0 0 8px; }
.empty-state__description { font-size: 13px; max-width: 420px; margin: 0; }

.download-page__video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.download-page__video-frame iframe { z-index: 1; background: transparent; }
.download-page__help { font-size: 12px; color: hsl(var(--hsl-f1)); text-align: center; padding: 16px 20px 8px; }

.error-page { text-align: center; padding: 20px 0 40px; }
.error-page__illustration {
  display: block;
  margin: 0 auto 20px;
  max-width: 480px;
  width: 100%;
  border-radius: 10px;
}

.modal[hidden] { display: none !important; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.5);
}
.report {
  width: 420px;
  max-width: 92vw;
  background: hsl(var(--hsl-b4));
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.report__title { margin: 0 0 12px; font-size: 18px; }
.report__text { margin: 0 0 12px; }
.report__field { margin: 0 0 12px; }
.report__label { display: block; font-size: 11px; text-transform: uppercase; margin-bottom: 4px; color: hsl(var(--hsl-f1)); }
.report__select, .report__textarea {
  width: 100%;
  background: hsl(var(--hsl-b5));
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 8px 10px;
  font: inherit;
}
.report__textarea { min-height: 120px; resize: vertical; }
.report__actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }

.user-form--register { max-width: 480px; margin: 0 auto; text-align: center; padding: 24px 0; }
.user-form__lead { margin: 8px 0; }
.user-form__secondary-note { font-size: 12px; color: hsl(var(--hsl-f1)); margin: 16px 0; }
.user-form__website { margin-top: 24px; text-align: left; }
.user-form__website summary {
  cursor: pointer;
  color: hsl(var(--hsl-l1));
  font-size: 12px;
  text-align: center;
  list-style: none;
}
.user-form__fields { margin-top: 16px; }
.user-form--register .btn-osu-big--download-landing { margin: 16px auto; }

#user-popup .g-recaptcha,
#user-popup .user-popup__captcha { display: none !important; height: 0 !important; width: 0 !important; overflow: hidden !important; }

/* 178 / 180 / 184 */
.news-card--landing .news-card__cover-container { height: 160px; overflow: hidden; }
.news-card--landing .news-card__cover {
  height: 160px !important;
  width: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}

.nav2-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-index--nav-bar);
  height: var(--nav2-height);
  background: #000;
  display: flex;
  justify-content: center;
  transition: height var(--header-pinned-animation-duration);
}
body.js-header-is-pinned .nav2-bar { height: var(--nav2-height-pinned); }
.nav2-bar .nav2 {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: 1000px;
  max-width: 100%;
  height: var(--nav2-height);
  padding: 0;
  background: transparent;
  z-index: auto;
}
@media (min-width: 768px) {
  .nav2-bar .nav2 { padding: 0; }
}
@media (max-width: 899px) {
  .nav2-bar { display: none; }
}

.profile-rank-chart__line {
  fill: none;
  stroke: hsl(var(--hsl-l1));
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.profile-rank-chart__area {
  fill: hsla(var(--hsl-h1), 0.22);
}

/* 185–194 */
.osu-page--generic-compact { padding: 0; }
.game-mode-link {
  color: hsl(var(--hsl-h1));
  width: 20px;
  height: 20px;
  padding: 0;
  font-size: 20px;
  line-height: 20px;
  overflow: hidden;
}
.game-mode-link .fal,
.game-mode-link .fal::before {
  font-size: 20px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  display: inline-block;
}

.header-v4--rankings,
.header-v4--users {
  min-height: 0;
}
.header-v4__row--bar {
  height: 48px;
  min-height: 48px;
  box-sizing: border-box;
}
.header-nav-v4 {
  font-size: 14px;
  height: 48px;
}
.header-nav-v4__link {
  font-size: 14px;
  line-height: 18px;
  padding: 15px 0;
}
.header-v4--rankings .header-nav-v4,
.header-v4--users .header-nav-v4 {
  flex-wrap: nowrap;
}
.header-v4--users .header-v4__row--bar {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-v4__row--bar .ranking-filter {
  padding: 0;
  margin-left: auto;
  flex-wrap: nowrap;
  height: 48px;
}
.header-v4__row--bar .ranking-filter__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.ranking-page {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ranking-page-table {
  min-width: 0;
}
.ranking-user__name {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.page-mode {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0 20px;
  gap: 20px;
  background: hsl(var(--hsl-b4));
  font-size: 14px;
  overflow-x: auto;
}
.page-mode__item { display: flex; }
.page-mode-link {
  color: hsl(var(--hsl-l1));
  display: flex;
  position: relative;
  padding: 10px 0;
  font-size: 14px;
  line-height: 18px;
  text-decoration: none;
  white-space: nowrap;
}
.page-mode-link:hover,
.page-mode-link--is-active {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.page-mode-link__stripe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: hsl(var(--hsl-h1));
  border-radius: 10000px;
  transform: scaleY(0);
}
.page-mode-link:hover .page-mode-link__stripe,
.page-mode-link--is-active .page-mode-link__stripe {
  transform: scaleY(1);
}
.page-mode-link--profile-page .page-mode-link__stripe {
  height: 10px;
  bottom: -6px;
  border-radius: 10000px;
}

.profile-detail {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  align-items: center;
  width: 1000px;
  max-width: 100%;
  height: 204px;
  box-sizing: border-box;
  padding: 10px 50px;
  overflow: hidden;
  background: hsl(var(--hsl-b4));
}
.profile-detail-stats {
  display: contents;
  padding: 0;
}
.profile-detail-stats__chart-numbers--top {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profile-detail-stats__chart {
  grid-column: 2;
  grid-row: 1;
  height: 90px;
  margin: 0 15px;
  min-width: 0;
}
.profile-detail .profile-rank-chart,
.profile-detail .profile-rank-chart__axes {
  height: 90px;
}
.profile-detail-stats__values {
  grid-column: 3;
  grid-row: 1;
}
.profile-detail-stats__separator { display: none; }
.profile-detail-bar {
  grid-column: 1 / -1;
  grid-row: 2;
  width: auto;
  padding: 0;
  background: transparent;
}
.osu-page--generic-compact .profile-stats {
  margin: 10px 50px 0;
}

@media (max-width: 899px) {
  .profile-info,
  .profile-info--cover {
    --avatar-size: 65px;
    --avatar-radius: 20px;
  }
  .profile-info__avatar,
  .profile-info--cover .profile-info__avatar,
  a.profile-info__avatar {
    width: 65px !important;
    height: 65px !important;
    border-radius: 20px !important;
    max-width: 65px !important;
    max-height: 65px !important;
  }
  .profile-detail {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    padding: 10px;
    overflow: visible;
  }
  .profile-detail-stats { display: block; width: 100%; }
  .profile-detail-bar { width: 100%; }
}

.news-card__row--author {
  font-size: 12px;
  line-height: 15px;
  margin: 2px 0 0;
  color: hsl(var(--hsl-c2));
}
.news-card--landing {
  box-sizing: border-box;
  font-size: 16px;
}
.news-card--landing .news-card__row--title {
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  margin: 0;
}
.news-card--landing .news-card__main { padding: 7px 15px 9px; min-height: 0; }
.news-card--landing .news-card__cover-container,
.news-card--landing .news-card__cover {
  height: 160px;
}
.landing-news > .news-card--landing {
  margin: 10px 0 0;
  flex: none;
  width: 100%;
}

/* 195–204 */
@media (min-width: 900px) {
  .header-v4__row--title,
  .header-v4__row--bar {
    padding: 0 50px;
  }
  .osu-page--ranking {
    padding: 0 50px;
  }
  .ranking-page-header { padding: 10px 0; }
  .ranking-page-table {
    min-width: 0;
    width: 100%;
  }
}
.header-v4__title { font-weight: 400; }
.header-nav-v4__link {
  font-weight: 400;
  color: hsl(var(--hsl-l2));
}
.header-nav-v4__link--active { color: #fff; font-weight: 700; }

.osu-page--generic-compact .page-extra {
  border-radius: 10px;
  padding: 20px 8px;
  margin: 0 2px;
  box-sizing: border-box;
}
.osu-page--generic-compact .page-extra__title {
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  margin: 0 0 12px;
}
@media (min-width: 900px) {
  .osu-page--generic-compact .page-extra {
    padding: 20px 40px;
    margin: 0 10px;
  }
}

.profile-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 272px;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  width: 1000px;
  max-width: 100%;
  height: 204px;
  box-sizing: border-box;
  padding: 10px 50px;
  overflow: hidden;
  background: hsl(var(--hsl-b4));
  column-gap: 15px;
}
.profile-detail-stats {
  display: contents;
}
.profile-detail-stats__chart-numbers--top {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 15px;
  align-items: flex-start;
}
.profile-detail-stats__chart-numbers--top .value-display {
  margin-right: 0;
  flex: none;
  min-width: 70px;
}
.profile-detail-stats__chart {
  grid-column: 1;
  grid-row: 2;
  height: 90px;
  margin: 4px 0 0;
  min-width: 0;
  width: 100%;
}
.profile-detail .profile-rank-chart,
.profile-detail .profile-rank-chart__axes {
  height: 90px;
  width: 100%;
}
.profile-detail-stats__values {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 16px;
  pointer-events: none;
}
.profile-detail-stats__separator { display: none; }
.profile-detail-bar {
  grid-column: 1;
  grid-row: 3;
  width: auto;
  padding: 0;
  background: transparent;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.profile-detail-bar__grades {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.profile-detail .profile-stats {
  grid-column: 2;
  grid-row: 1 / -1;
  width: 272px;
  max-width: 100%;
  height: 184px;
  box-sizing: border-box;
  margin: 0;
  overflow: auto;
}
.osu-page--generic-compact .profile-stats { margin: 0; }

@media (max-width: 899px) {
  .profile-detail {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    padding: 10px;
    overflow: visible;
  }
  .profile-detail-stats {
    display: block;
    width: 100%;
  }
  .profile-detail-stats__chart-numbers--top {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
  .profile-detail-stats__chart,
  .profile-detail .profile-rank-chart,
  .profile-detail .profile-rank-chart__axes {
    display: block;
    width: 100%;
    max-width: 355px;
    height: 90px;
    min-width: 0;
    margin: 8px 0;
  }
  .profile-detail-bar {
    width: 100%;
    flex-direction: row;
  }
  .profile-detail .profile-stats {
    width: 100%;
    height: auto;
  }
}

/* 205–214 */
@media (max-width: 899px) {
  .landing-hero {
    align-items: flex-start;
  }
  .landing-hero__messages {
    padding-top: 70px;
    text-align: center;
  }
  .landing-hero__logo {
    position: static !important;
    left: auto;
    top: auto;
    transform: none !important;
    margin: 0 auto 17px;
    width: 100px !important;
    height: 100px !important;
  }
  .landing-hero__message-extra {
    align-items: center;
  }
  .landing-news > .news-card--landing {
    margin: 10px;
    width: auto;
    max-width: calc(100% - 20px);
    box-sizing: border-box;
  }
}

.btn-osu-big--download-landing .btn-osu-big__icon {
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  background-image: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin: 0 5px 0 20px;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .75);
}
.btn-osu-big--download-landing .btn-osu-big__icon .fas {
  font-size: 20px;
  line-height: 1;
}

.daily-challenge {
  background: hsl(var(--hsl-b4));
  border-radius: 6px;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  padding: 1px;
  border: 2px solid transparent;
  box-sizing: border-box;
  height: 36px;
  flex: none;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}
.daily-challenge--ranked-play { width: 166px; }
.profile-detail-stats .daily-challenge:not(.daily-challenge--ranked-play) { width: 110px; }
.daily-challenge__name {
  font-size: 12px;
  line-height: 12px;
  padding: 0 5px;
  color: hsl(var(--hsl-c1));
}
.daily-challenge__value-box {
  border-radius: 4px;
  background: hsl(var(--hsl-b6));
  padding: 5px 10px;
  margin-left: auto;
}
.daily-challenge__value {
  color: hsl(var(--hsl-c2));
  font-size: 12px;
  font-weight: 700;
}

.profile-detail-stats {
  display: grid;
  grid-column: 1;
  grid-row: 1 / -1;
  grid-template-columns: 1fr;
  grid-template-rows: auto 90px auto auto;
  min-width: 0;
  height: 184px;
  gap: 4px 15px;
  align-self: start;
}
.profile-detail-stats__chart-numbers--top {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px 15px;
  align-items: flex-start;
  justify-content: flex-start;
}
.profile-detail-stats__chart-numbers--top .daily-challenge--ranked-play {
  margin-left: auto;
}
.profile-detail-stats__chart {
  grid-column: 1 / -1;
  grid-row: 2;
  width: auto;
  max-width: 100%;
  height: 90px;
  margin: 0;
  border-radius: 0;
  background: transparent;
}
.profile-detail .profile-rank-chart,
.profile-detail .profile-rank-chart__axes {
  width: 100%;
  height: 90px;
  border-radius: 0;
  background: transparent;
}
.profile-detail-stats__values {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
  pointer-events: auto;
}
.profile-detail-stats__separator { display: none; }
.profile-detail-stats .profile-detail-bar {
  grid-column: 1 / -1;
  grid-row: 4;
  width: auto;
  padding: 0;
  background: transparent;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.profile-detail .profile-stats,
.profile-detail dl.profile-stats {
  display: grid;
  grid-template-columns: auto auto;
  gap: 4px 20px;
  padding: 18px 12px;
  border-radius: 6px;
  background: hsl(var(--hsl-b4));
  overflow: visible;
  box-sizing: border-box;
  width: 272px;
  height: 184px;
}
.profile-detail .profile-stats__entry { display: contents; }
.profile-detail .profile-stats__key { font-weight: 400; }
.profile-detail .profile-stats__value { color: hsl(var(--hsl-c2)); font-weight: 700; }

.profile-info__name {
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  margin: -5px 0 0;
}
@media (min-width: 900px) {
  .profile-info__name { font-size: 24px; font-weight: 400; }
}

.profile-info__details {
  padding: 10px;
}
@media (min-width: 900px) {
  .profile-info__details {
    padding: 0 50px 15px;
  }
}

.header-v4__row--title { position: relative; }
/* Desktop mode icons only — never pin .game-mode--mobile over the title row */
.header-v4__row--title .game-mode--desktop {
  position: absolute;
  top: 0;
  right: 10px;
  height: 100%;
  margin: 0;
  flex-wrap: nowrap;
  align-items: center;
}
@media (min-width: 900px) {
  .header-v4__row--title .game-mode--desktop { right: 50px; }
}

.page-mode--page-extra-tabs {
  padding: 10px 10px;
  gap: 20px;
  align-items: center;
}
@media (min-width: 900px) {
  .page-mode--page-extra-tabs { padding: 10px 50px; }
}
.page-mode--page-extra-tabs .page-mode-link,
.page-mode-link--profile-page {
  padding: 0;
  height: 14px;
  line-height: 14px;
  font-size: 14px;
  box-sizing: content-box;
}

.navbar-mobile {
  font-size: 16px;
  line-height: 20px;
}
.navbar-mobile__brand { font-size: 16px; }

@media (max-width: 899px) {
  .profile-detail-stats {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    gap: 8px;
  }
  .profile-detail-stats__chart-numbers--top {
    flex-wrap: wrap;
  }
  .profile-detail-stats__chart-numbers--top .daily-challenge--ranked-play {
    margin-left: 0;
  }
  .profile-detail-stats__values {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .profile-detail .profile-stats,
  .profile-detail dl.profile-stats {
    width: 100%;
    max-width: 355px;
    height: 184px;
  }
}

/* 215–219 */
@media (max-width: 899px) {
  .landing-sitemap {
    height: auto;
    min-height: 349px;
    overflow: visible;
    grid-template-columns: 1fr;
    text-align: center;
  }
  .profile-detail-stats__chart,
  .profile-detail .profile-rank-chart,
  .profile-detail .profile-rank-chart__axes {
    width: 100%;
    max-width: 100%;
    height: 90px;
    border-radius: 0;
    background: transparent;
    margin: 8px 0;
  }
}
@media (max-width: 375px) {
  .ranking-page-table { font-size: 12px; }
}

/* 220–229 */
.ranking-page-table__row,
.ranking-page-table tbody tr {
  height: 32px;
}
.ranking-page-table__column {
  height: 32px;
  box-sizing: border-box;
  vertical-align: middle;
}
.ranking-page-table-main {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 20px;
}
.ranking-page-table .ranking-user__avatar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.ranking-page-table .ranking-user,
.ranking-page-table .ranking-user:hover,
.ranking-page-table a.ranking-user,
.ranking-page-table .ranking-user__name {
  color: hsl(var(--hsl-l2));
  font-size: 12px;
  line-height: 15px;
  height: 15px;
  display: inline-block;
  text-decoration: none;
}
.ranking-page-table .ranking-user__flag {
  width: 20px;
  height: 14px;
}

.user-action-button {
  --item-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: hsl(var(--hsl-b6));
  text-decoration: none;
  font-family: inherit;
}
.user-action-button--profile-page {
  height: var(--item-height);
  min-width: 80px;
  padding: 10px;
  border-radius: 10000px;
  font-size: 14px;
  font-weight: 700;
  flex: none;
}
.profile-info__actions .user-action-button--profile-page:nth-child(1) { width: 120px; }
.profile-info__actions .user-action-button--profile-page:nth-child(2) { width: 114px; }
.profile-info__actions .user-action-button--profile-page:nth-child(3) { width: 80px; }
.user-action-button--profile-page:hover { color: #fff; text-decoration: none; background: hsl(var(--hsl-b5)); }

.bar.bar--user-profile {
  display: block;
  position: relative;
  width: 200px;
  height: 6px;
  flex: none;
  overflow: visible;
  border-radius: 10000px;
  background: hsl(var(--hsl-b6));
}
.bar--user-profile .bar__fill {
  height: 100%;
  width: var(--fill, 0%);
  border-radius: 10000px;
  background: hsl(var(--hsl-h1));
}
.bar--user-profile .bar__text {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  line-height: 15px;
  color: #fff;
  white-space: nowrap;
}
.profile-detail-bar { overflow: visible; }

.show-more-link,
a.show-more-link,
button.show-more-link,
.landing-news__link a.show-more-link,
.landing-news__link .show-more-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 129px !important;
  height: 24px !important;
  padding: 5px 20px !important;
  border-radius: 10000px !important;
  background: hsl(var(--hsl-b2)) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  font-family: inherit;
  letter-spacing: normal !important;
  text-transform: none !important;
  line-height: 14px;
  border: 0 !important;
  text-decoration: none !important;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.show-more-link--no-icon .show-more-link__label-icon { display: none; }
.landing-news__link a.show-more-link:hover,
a.show-more-link:hover,
button.show-more-link:hover { color: #fff !important; }
.beatmapsets-show-more {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 10px auto 0;
}
.show-more-link--beatmapsets,
a.show-more-link--beatmapsets,
button.show-more-link--beatmapsets {
  display: inline-flex !important;
  width: 144px !important;
  height: 24px !important;
  margin: 0 auto 10px;
  padding: 5px 10px !important;
  text-transform: uppercase !important;
}
.show-more-link--beatmapsets .show-more-link__label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.show-more-link--beatmapsets .show-more-link__label-icon {
  color: hsl(var(--hsl-f1));
  margin: 0 4px;
  font-size: 12px;
  line-height: 1;
}
.show-more-link--beatmapsets .show-more-link__label-text {
  margin: 0 2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.show-more-link--beatmapsets:hover .show-more-link__label-icon {
  color: hsl(var(--hsl-l1));
}

.news-card__row--author { color: #fff; }

.title.title--page-extra,
h2.title--page-extra,
.osu-page--generic-compact .page-extra__title.title--page-extra,
.page-extra .title--page-extra {
  display: inline-block;
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  height: 25px;
  font-size: 16px;
  font-weight: 700;
  line-height: 18px;
  padding: 0 0 5px;
  margin: 0 0 20px;
  border: 0;
  border-bottom: 2px solid hsl(var(--hsl-h1));
  text-transform: none;
  color: #fff;
}

@media (max-width: 899px) {
  .footer:not(.footer--landing) {
    height: auto;
    min-height: 50px;
  }
  .footer:not(.footer--landing) .footer__link {
    display: block;
    margin: 5px 10px;
  }
}
@media (max-width: 375px) {
  .footer:not(.footer--landing) {
    height: auto;
    min-height: 83px;
  }
  .footer:not(.footer--landing) .footer__link {
    display: block !important;
    margin: 5px 10px;
  }
  .ranking-page-table__row,
  .ranking-page-table tbody tr,
  .ranking-page-table__column {
    height: 32px;
  }
}

/* 230–237 */
.news-card__time {
  position: absolute !important;
  top: 10px !important;
  right: 15px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 1;
  padding: 5px 20px !important;
  font-size: 10px;
  font-weight: 600;
}

.ranking-page-table__column--main {
  width: auto;
  min-width: 200px;
  max-width: 500px;
  position: relative;
  overflow: hidden;
  height: 32px;
  box-sizing: border-box;
}
.ranking-page-table-main {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  min-height: 0;
  margin: -6px -5px;
  padding: 6px 8px;
  box-sizing: border-box;
  z-index: 1;
}
.ranking-page-table .ranking-user__avatar,
.ranking-page-table-main__cover,
.ranking-page-table .ranking-user__avatar.ranking-page-table-main__cover {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.ranking-page-table-main .ranking-user__flag {
  position: relative;
  z-index: 1;
  margin-left: 4px;
}
.ranking-page-table-main .ranking-user {
  position: relative;
  z-index: 1;
}

.profile-detail-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 1000px;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 50px;
  padding: 10px;
  background: hsl(var(--hsl-b4));
  overflow: visible;
}
@media (min-width: 900px) {
  .profile-detail-bar { padding: 10px 50px; }
}
.profile-detail-bar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.profile-detail-bar__actions .user-action-button--profile-page:nth-child(1) { width: 120px; }
.profile-detail-bar__actions .user-action-button--profile-page:nth-child(2) { width: 114px; }
.profile-detail-bar__actions .user-action-button--profile-page:nth-child(3) { width: 80px; }
.profile-detail-bar__level {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  height: 50px;
  flex: none;
}
.profile-detail-bar__level-bar {
  display: flex;
  align-items: center;
  width: 200px;
  height: 6px;
}
.user-level {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: none;
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
  color: #fff;
}
.user-level__icon {
  position: absolute;
  inset: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, hsl(var(--hsl-h1)), hsl(var(--hsl-h2)));
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}
.user-level__level { position: relative; z-index: 1; }
.profile-detail .level-badge { display: none; }

.profile-detail-stats {
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 90px auto;
}
.profile-detail-stats__chart-numbers--top,
.profile-detail-stats__chart {
  grid-column: 1 / -1;
}
.profile-detail-stats__grades {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.profile-detail-stats__values {
  grid-column: 1;
  grid-row: 3;
  justify-content: flex-start;
  z-index: 1;
}
.profile-detail-stats__grades .profile-rank-count {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.profile-detail-stats__grades .profile-rank-count img {
  height: 22px;
  width: auto;
}

.osu-page--ranking .pagination-v2,
.pagination-v2.simplepag {
  width: 900px;
  max-width: 100%;
  height: 47px;
  box-sizing: border-box;
  padding: 10px;
  gap: 4px;
  text-transform: lowercase;
  font-weight: 400;
}
.pagination-v2.simplepag .pagination-v2__link {
  min-width: 0;
  height: auto;
  padding: 4px 10px;
  background: transparent;
  font-weight: 400;
  text-transform: lowercase;
}

.btn-osu-big--download-landing .btn-osu-big__content {
  padding: 0 5px 0 14px !important;
}
.btn-osu-big--download-landing .btn-osu-big__icon {
  margin: 0 !important;
}

@media (max-width: 375px) {
  .profile-detail-bar {
    width: 100%;
    padding: 10px;
    flex-wrap: wrap;
  }
  .profile-detail-bar__actions {
    flex-wrap: wrap;
    max-width: 355px;
  }
  .ranking-page-table .ranking-user__avatar,
  .ranking-page-table-main__cover {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .ranking-page-table__column--main { min-width: 200px; width: auto; }
}

/* 238–247 */
.news-card__time {
  background: rgba(24, 23, 28, 0.5) !important;
  height: 23px;
  box-sizing: border-box;
  line-height: 13px;
}

.pagination-v2.simplepag .pagination-v2__link {
  min-width: 0 !important;
  height: 23px !important;
  box-sizing: border-box;
  border-radius: 10000px !important;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  color: hsl(var(--hsl-l2));
  background: transparent;
  padding: 4px 10px;
}
.pagination-v2.simplepag .pagination-v2__link--prev,
.pagination-v2.simplepag .pagination-v2__link--next {
  padding: 4px 15px;
  width: 67px;
  min-width: 67px;
  background: rgb(47, 56, 46);
  color: rgb(170, 217, 166);
  text-transform: uppercase;
  display: block;
  text-align: center;
}
.pagination-v2.simplepag .pagination-v2__link--active {
  background: hsl(var(--hsl-h1)) !important;
  color: hsl(var(--hsl-b5)) !important;
  font-weight: 600 !important;
  padding: 4px 10px;
}

.profile-info__avatar,
.profile-info--cover .profile-info__avatar,
a.profile-info__avatar {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
}

.value-display__label {
  font-size: 12px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: normal;
  line-height: 15px;
  color: #fff !important;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}
.profile-detail-stats__chart-numbers--top .value-display--rank {
  display: flex;
  flex-direction: column;
  width: 128px;
  min-width: 128px;
  margin-right: 0;
}
.profile-detail-stats__chart-numbers--top .value-display--rank .value-display__label {
  width: 100%;
}

.btn-osu-big--download-landing .btn-osu-big__content {
  padding: 0 !important;
}
.btn-osu-big--download-landing .btn-osu-big__icon {
  margin: 0 5px 0 20px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.ranking-page-table .ranking-user__flag,
.ranking-page-table-main .ranking-user__flag,
.ranking-page-table .flag-country {
  width: 28px !important;
  height: 20px !important;
  border-radius: 3px !important;
}
.ranking-page-table__heading--rank-change,
.ranking-page-table__column--rank-change {
  width: 36px !important;
  min-width: 36px !important;
}

.ranking-page-table thead th.ranking-page-table__heading--grade {
  padding: 6px 20px;
  box-sizing: border-box;
}
.ranking-page-table thead th.ranking-page-table__heading--grade:nth-last-child(3) {
  width: 54px;
  min-width: 54px;
}
.ranking-page-table thead th.ranking-page-table__heading--grade:nth-last-child(2) {
  width: 47px;
  min-width: 47px;
}
.ranking-page-table thead th.ranking-page-table__heading--grade:last-child,
.ranking-page-table tbody td:last-child,
.ranking-page-table .ranking-page-table__column:last-child {
  width: 46px;
  min-width: 46px;
}
.ranking-page-table thead th.ranking-page-table__heading--grade:last-child {
  padding: 6px 10px 6px 20px;
}

@media (max-width: 899px) {
  .navbar-mobile { font-size: 14px; line-height: 18px; }
  .navbar-mobile__brand {
    font-size: 14px !important;
    line-height: 18px;
  }
}

.osu-page--generic-compact .profile-links,
.profile-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: 1000px;
  max-width: 100%;
  height: 50px;
  min-height: 50px;
  padding: 10px 50px;
  margin: 0;
  background: hsl(var(--hsl-b3));
  box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.25);
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  color: #fff;
  text-transform: none;
}
.profile-links__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
}
.profile-links__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.profile-links__icon {
  opacity: .7;
  width: 14px;
  text-align: center;
}
@media (max-width: 899px) {
  .osu-page--generic-compact .profile-links,
  .profile-links {
    width: 100%;
    padding: 10px;
  }
}

/* 248–254 */
.pagination-v2.simplepag .pagination-v2__link--prev,
.pagination-v2.simplepag .pagination-v2__link--next {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
}
.pagination-v2.simplepag .pagination-v2__link--prev .fas,
.pagination-v2.simplepag .pagination-v2__link--next .fas {
  font-size: 10px;
  line-height: 15px;
  width: 10px;
  text-align: center;
  flex: none;
}
@media (max-width: 899px) {
  .pagination-v2.simplepag .hidden-xs { display: none !important; }
  .pagination-v2.simplepag .pagination-v2__link--prev,
  .pagination-v2.simplepag .pagination-v2__link--next {
    width: 36px;
    min-width: 36px;
    max-width: 36px;
  }
}

.user-group-badge--supporter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 2px 5px;
  height: 16px;
  box-sizing: border-box;
  border-radius: 10000px;
  background: #ff66aa;
  color: #fff;
  font-size: 0;
  line-height: 0;
  text-indent: 0;
}
.user-group-badge--supporter .fa-heart {
  display: block;
  width: 11px;
  height: 11px;
  font-size: 11px;
  line-height: 11px;
  color: #fff;
}

.page-extra {
  font-size: 14px;
  line-height: 1.25;
}

@media (min-width: 900px) {
  .header-v4__bg-container {
    inset: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: 160px;
    overflow: hidden;
  }
  .header-v4__bg {
    height: 160px;
    width: 1200px;
    max-width: 1200px;
  }
  .header-v4--users .header-v4__bg {
    transform: none;
    height: 160px;
    width: 1200px;
    max-width: 1200px;
  }
}

.page-mode--page-extra-tabs .page-mode-link,
.page-mode-link--profile-page,
.page-mode--page-extra-tabs .page-mode-link:hover,
.page-mode--page-extra-tabs .page-mode-link--is-active,
.page-mode-link--profile-page.page-mode-link--is-active,
.page-mode-link--profile-page:hover {
  font-weight: 400 !important;
  color: hsl(var(--hsl-l1)) !important;
}
.page-mode--page-extra-tabs .page-mode-link__stripe,
.page-mode-link--profile-page .page-mode-link__stripe {
  display: none !important;
  transform: scaleY(0) !important;
  height: 0 !important;
  background: none !important;
}

.header-v4--users .game-mode {
  width: 158px;
  height: 48px;
  gap: 20px;
  flex-wrap: nowrap;
  top: auto;
  transform: none;
  position: static;
}
.header-v4--users .game-mode-link {
  overflow: visible;
  gap: 4px;
  width: 20px;
  height: 20px;
}
.header-v4--users .game-mode-link.active {
  width: 38px;
}
.header-v4--users .game-mode-link.active::after {
  content: "\f0d7";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 10px;
  line-height: 20px;
  width: 14px;
  height: 20px;
  text-align: center;
  color: currentColor;
}

@media (min-width: 900px) {
  html:not(html) .profile-detail {
    display: block;
    overflow: visible;
    box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.25);
    width: 1000px;
    height: 204px;
  }
  html:not(html) .profile-detail::after {
    content: "";
    display: table;
    clear: both;
  }
  html:not(html) .profile-detail-stats {
    float: left;
    width: calc(100% - 287px);
  }
  html:not(html) .profile-detail .profile-stats,
  html:not(html) .profile-detail dl.profile-stats {
    float: right;
  }
}
@media (max-width: 899px) {
  .profile-detail {
    overflow: visible;
    box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.25);
  }
}

/* 255–258 */
.value-display--rank .value-display__value {
  font-size: 30px;
  font-weight: 300;
  line-height: 38px;
  height: 38px;
}
.profile-detail-stats__values .value-display__value,
.value-display--plain .value-display__value {
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
  height: 20px;
}

.ranking-page-table__column--main {
  width: auto;
  min-width: 200px;
  max-width: 500px;
  position: relative;
  overflow: hidden;
  height: 32px;
  box-sizing: border-box;
}
.ranking-page-table-main {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 20px;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  position: static;
  box-sizing: border-box;
  z-index: 1;
  overflow: visible;
}
.ranking-page-table .ranking-user__avatar,
.ranking-page-table-main__cover,
.ranking-page-table .ranking-user__avatar.ranking-page-table-main__cover {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.ranking-page-table-main .ranking-user__flag,
.ranking-page-table-main .flag-country {
  position: static;
  z-index: 1;
  margin-left: 0;
  width: 28px !important;
  height: 20px !important;
}
.ranking-page-table-main .ranking-user,
.ranking-page-table-main__link {
  position: static;
  z-index: 1;
  overflow: visible;
}
.ranking-page {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ranking-page-table {
  min-width: 0;
}

.osu-page--ranking {
  overflow: visible;
}
.ranking-page-header {
  display: grid;
  grid-template-columns: 900px;
  justify-content: stretch;
  align-content: center;
  box-sizing: border-box;
  width: 1000px;
  max-width: 100%;
  height: 94px;
  padding: 20px 50px;
  margin: 0;
  background: rgb(53, 77, 51);
  gap: 0;
}
.ranking-filter.ranking-filter--full {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: auto;
  max-width: none;
  height: auto;
  padding: 0;
  margin: 0;
  gap: 0;
  flex-wrap: nowrap;
}
.ranking-filter--full .ranking-filter__items {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 25px;
  min-height: 25px;
}
.ranking-filter--full .ranking-filter__item--variant {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.ranking-filter--full .ranking-filter__title {
  margin: 0 8px 0 0;
  line-height: 15px;
}
.ranking-filter--full .ranking-sort {
  display: flex;
  gap: 16px;
  margin-left: auto;
  padding: 0;
  font-size: 12px;
}
.ranking-filter--full .ranking-sort__item {
  padding: 0;
  line-height: 15px;
  font-size: 12px;
}
.ranking-filter--full .ranking-sort__item--active::after {
  display: none;
}
.ranking-filter--full .select-options,
.ranking-filter--full .select-options--ranking {
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 54px;
}
.ranking-filter--full .select-options__select {
  height: 54px;
  width: 100%;
  box-sizing: border-box;
}
.ranking-filter--full .select-options__option--selector {
  height: 54px;
  width: 100%;
  box-sizing: border-box;
  padding: 5px 10px;
}

.nav2__menu-link-main--search {
  font-size: 14px;
  width: 40px;
  height: 40px;
  align-self: center;
}
.nav2__menu-link-main--search .fa-search {
  font-size: 14px;
  width: 14px;
  height: 14px;
  line-height: 14px;
}
button.avatar--nav2.avatar--guest,
.avatar--nav2.avatar--guest {
  display: block;
  width: var(--nav2-avatar-height);
  height: var(--nav2-avatar-height);
  border: 0;
  padding: 0;
  margin: 0;
  background: rgb(51, 51, 51);
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  align-self: center;
}
.nav2__col--avatar {
  align-items: center;
}

@media (min-width: 900px) {
  .osu-page--ranking {
    padding: 20px 50px;
  }
  .ranking-page-header {
    width: 1000px;
    height: 94px;
    padding: 20px 50px;
    margin: 0;
  }
  .ranking-page {
    padding: 0;
    overflow-x: auto;
  }
  .ranking-page-table {
    width: 100%;
    min-width: 0;
  }
  .ranking-page-table__column--main {
    width: 370px;
    min-width: 370px;
    max-width: 370px;
    overflow: hidden;
  }
}

@media (max-width: 899px) {
  .value-display--rank .value-display__value {
    font-size: 20px;
    font-weight: 300;
    line-height: 25px;
    height: auto;
  }
  .profile-detail-stats__chart-numbers--top .value-display--rank .value-display__label,
  .value-display--rank .value-display__label {
    font-size: 10px !important;
    line-height: 13px;
  }
  .osu-page--ranking {
    padding: 10px;
    overflow: visible;
  }
  .ranking-page-header {
    width: auto;
    max-width: none;
    height: 94px;
    margin: -10px -10px 10px;
    padding: 20px 10px;
    grid-template-columns: minmax(0, 1fr);
  }
  .ranking-filter.ranking-filter--full {
    width: 100%;
    max-width: 355px;
    height: 54px;
  }
  .ranking-filter--full .select-options,
  .ranking-filter--full .select-options--ranking {
    width: 100%;
    height: 29px;
  }
  .ranking-page {
    overflow-x: auto;
    padding: 0;
  }
  .ranking-page-table {
    width: 730px;
    min-width: 730px;
  }
  .ranking-page-table__column--main {
    width: 200px;
    min-width: 200px;
    overflow: visible;
  }
  .ranking-page-table .ranking-user__avatar,
  .ranking-page-table-main__cover {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
}

/* 179 news index — do not touch .news-card--landing (home) */
.osu-page--news .news-index,
.news-index {
  display: grid;
  grid-template-columns: 670px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.news-index__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  width: 670px;
  max-width: 100%;
}
.news-index .news-card,
.news-index .news-card--index {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 670px;
  max-width: 100%;
}
.news-index .news-card__cover-container,
.news-index .news-card--index .news-card__cover-container {
  width: 670px;
  max-width: 100%;
  height: 160px;
  flex: none;
  border-radius: 6px;
  overflow: hidden;
}
.news-index .news-card__cover,
.news-index .news-card--index .news-card__cover {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.news-sidebar {
  min-width: 0;
}
.news-sidebar__group { margin: 0 0 16px; }
.news-sidebar__year {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #fff;
}
.news-sidebar__months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-sidebar__link {
  color: hsl(var(--hsl-l1));
  font-size: 12px;
  line-height: 16px;
  text-decoration: none;
}
.news-sidebar__link:hover,
.news-sidebar__link--active { color: #fff; text-decoration: none; }

/* 181 download CTA — official btn width:100% of banner-content (max 420). 375 → 315 @ x=30.
   Never restyle --download-landing (home 180×60). */
.osu-page--generic:has(> .download-page) {
  padding: 0;
}
.download-page__header {
  padding: 0;
  text-align: initial;
}
.download-page__banner-content {
  flex: 1;
  margin: 40px;
  padding: 10px;
  max-width: 440px;
  width: auto;
  box-sizing: border-box;
}
.download-page .btn-osu-big--download:not(.btn-osu-big--download-landing) {
  width: 100% !important;
  max-width: 100% !important;
  height: 132px !important;
  box-sizing: border-box !important;
}
@media (max-width: 899px) {
  .download-page__banner-content {
    margin: 20px;
    max-width: none;
  }
  .download-page__banner-content--tail {
    margin: 0 20px 20px;
    max-width: none;
  }
  .download-page__help { margin: 12px 20px 0; }
}

/* 182 YouTube player chrome — iframe fills the well; no still overlay */
.download-page__video-thumb,
.download-page .download-page__video-thumb { display: none !important; }
.download-page__video-frame { display: none; }
.download-page__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  margin-top: 20px;
}
.download-page__video::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  margin: -24px 0 0 -34px;
  z-index: 3;
  pointer-events: none;
  background: #f00;
  border-radius: 14px / 12px;
}
.download-page__video::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  pointer-events: none;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin: -10px 0 0 -6px;
}
.download-page iframe.download-page__video-player,
.download-page .u-embed-wide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  z-index: 2;
  pointer-events: auto;
}

/* 183 store mosaic */
.osu-page--store .store-page__notice { margin: 10px 0; }
.store-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 0 0;
  border-radius: 0;
}
.osu-page--store .store-products .product-box,
.store-products .product-box {
  display: block;
  border-radius: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: hsla(var(--hsl-b4), 0.25);
  color: #fff;
  text-decoration: none;
  position: relative;
  min-height: 0;
}
.store-products .product-box--card-large {
  grid-column: 1 / -1;
  height: 300px;
  order: -1;
}
.store-products .product-box--card-small {
  height: 200px;
}
.store-products .product-box--oos { order: 1; }
.store-products .product-box__image { display: none; }
.store-products .product-box__text {
  position: relative;
  z-index: 1;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 70%);
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.store-products .product-box:hover .product-box__text { opacity: 0; }

@media (max-width: 899px) {
  .osu-page--news .news-index,
  .news-index {
    grid-template-columns: 1fr;
  }
  .news-index__list,
  .news-index .news-card,
  .news-index .news-card--index,
  .news-index .news-card__cover-container {
    width: 100%;
  }
  .store-products {
    grid-template-columns: 1fr;
    padding: 10px;
  }
}

/* ===== 259–266 (scoped; do not restyle HPL / 179 / 181–183 chrome) ===== */

/* 259 supporter page */
.osu-page--supporter {
  max-width: 1000px;
  padding: 0;
}
.osu-page--supporter .supporter-shop,
.osu-page--supporter .supporter-hero,
.osu-page--supporter .supporter-perks,
.osu-page--supporter .supporter-perk { display: none; }
.supporter-status {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: #fff;
}
.supporter-status__flex-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-grow: 1;
  margin: 30px;
}
.supporter-status__pippi {
  width: 375px;
  height: 348px;
  flex: none;
  max-width: 100%;
  background: url("/static/osu-images/pippi.svg") center bottom / contain no-repeat;
}
.supporter-heart {
  width: 135px;
  height: 135px;
  box-sizing: border-box;
  flex-shrink: 0;
  border-radius: 50%;
  border: 10px solid #fff;
  background: hsl(var(--hsl-b6));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  opacity: .5;
}
.supporter-heart::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f004";
}
.supporter-heart--active,
.supporter-heart--larger {
  opacity: 1;
  background: hsl(var(--hsl-pink-1));
}
.supporter-quote {
  width: 1000px;
  max-width: 100%;
  min-height: 315px;
  box-sizing: border-box;
  padding: 30px;
  background: hsl(var(--hsl-b4));
  color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
  font-size: 14px;
}
.supporter-quote__body { display: flex; }
.supporter-quote__content { margin: 0; padding: 0; border: 0; position: relative; }
.supporter-quote__quote-mark { font-size: 50px; color: hsl(var(--hsl-b3)); }
.supporter-quote__quote-mark--left { align-self: flex-start; padding-right: 20px; }
.supporter-quote__quote-mark--right { align-self: flex-end; padding-left: 20px; }
.supporter-quote__signature { margin-top: 10px; text-align: right; }
.supporter__title { font-size: 18px; font-weight: 600; margin: 30px 0 16px; }
.supporter-perk-list__list { display: flex; flex-wrap: wrap; gap: 10px; }
.supporter-perk-list-group {
  width: calc(33% - 10px);
  color: #fff;
  font-size: 12px;
  margin-bottom: 20px;
}
.supporter-perk-list-group__icon {
  color: #fff;
  font-size: 26px;
  padding: 0 20px 10px;
}
.supporter-perk-list-group__icon-bg { color: hsl(var(--hsl-lime-3, 90, 60%, 40%)); }
.supporter-perk-list-group--why-support .supporter-perk-list-group__icon-bg { color: hsl(var(--hsl-blue-3, 200, 50%, 45%)); }
.supporter-perk-list-group__title { margin: 0 0 10px; font-size: 120%; color: #fff; }
.supporter-perk-list-group__content { margin: 0; color: hsl(var(--hsl-f1)); }
.supporter-convinced__body { display: flex; align-items: center; gap: 24px; padding: 20px 0 40px; }
.supporter-convinced__note { margin-top: 12px; color: hsl(var(--hsl-f1)); }
@media (max-width: 899px) {
  .supporter-status { flex-direction: column-reverse; align-items: center; }
  .supporter-perk-list-group { width: 100%; display: flex; align-items: center; }
  .supporter-quote { min-height: 0; }
}

/* 260 guest beatmap listing search */
.osu-page--beatmapsets-search-header--guest {
  max-width: 1000px;
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}
.beatmapsets-search--guest {
  width: 100%;
  height: 107px;
  box-sizing: border-box;
  padding: 10px 50px;
  overflow: hidden;
}
.beatmapsets-search--guest .beatmapsets-search__filter-grid { display: none !important; }
.beatmapsets-search--guest .beatmapsets-search__input-container,
.beatmapsets-search__input-container.js-user-link {
  margin: 20px -10px;
  cursor: pointer;
}
.beatmapsets-search--guest .beatmapsets-search__input,
.beatmapsets-search--guest .beatmapsets-search__input::placeholder {
  font-size: 20px;
  color: rgb(184, 211, 224);
  opacity: 1;
  cursor: pointer;
}
.beatmapsets-search__cover .beatmapset-cover {
  opacity: 1;
}
@media (max-width: 899px) {
  .osu-page--beatmapsets-search-header--guest {
    width: 100%;
    max-width: 100%;
  }
  .beatmapsets-search--guest {
    height: 107px;
    min-height: 107px;
    padding: 10px 20px;
  }
}

/* 261 beatmapset-panel official cover cols + play 90×100 */
.beatmapset-panel {
  display: block !important;
  height: 100px !important;
  width: 100% !important;
  max-width: 475px !important;
  --play-width: 90px;
  --panel-height: 100px;
}
.beatmapsets .beatmapset-panel,
.beatmapsets a.beatmapset-panel {
  max-width: 475px !important;
  width: 100% !important;
}
.beatmapset-panel__cover-container {
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  height: 100px !important;
  display: flex !important;
}
.beatmapset-panel__cover-col--play {
  width: calc(var(--play-width) + 10px) !important;
}
.beatmapset-panel__play-container {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: var(--play-width) !important;
  height: 100% !important;
  z-index: 2;
}
.beatmapset-panel__info-row--title {
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 22.5px !important;
}
.beatmapset-panel__diffs,
.beatmapset-panel__extra-item--dots {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  /* keep gutter from .beatmapset-panel__extra-item (3px) — do not zero margin-left */
}
.beatmapset-panel__diffs .beatmapset-panel__beatmap-icon,
.beatmapset-panel__extra-item--dots .beatmapset-panel__beatmap-icon {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  font-size: 14px !important;
  line-height: 14px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 2px;
  color: #fff;
  text-shadow: 0 1px 2px #000;
  pointer-events: none;
}
.beatmapset-difficulty-icon--panel,
.beatmapset-panel__beatmap-icon.beatmapset-difficulty-icon {
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  pointer-events: none;
}
.beatmapset-difficulty-icon--panel .beatmapset-difficulty-icon__glyph,
.beatmapset-panel__beatmap-icon.beatmapset-difficulty-icon .beatmapset-difficulty-icon__glyph {
  font-size: 7px !important;
}
.beatmapset-panel__beatmap-dot {
  width: 6px;
  height: 12px;
  margin-right: 1px;
  border-radius: 10000px;
  /* Continuous star→RGB via --bg from osu-chrome.js getDiffColour (not tier buckets) */
  background-color: var(--bg, #aaaaaa);
  display: inline-block;
  flex: none;
}
.beatmapset-panel__beatmap-count {
  font-weight: 600;
  font-size: 12px;
  line-height: 15px;
  color: #fff;
  text-shadow: 0 1px 2px #000;
  white-space: nowrap;
}
@media (max-width: 899px) {
  .beatmapset-panel {
    --play-width: 80px;
    max-width: none !important;
  }
  .beatmapsets .beatmapset-panel,
  .beatmapsets a.beatmapset-panel {
    max-width: none !important;
  }
  .beatmapset-panel__cover-col--info {
    display: none;
  }
}

/* 262 download guide: video THEN steps; step 287×227 transparent r0 pad0 flex */
.download-page__guide {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 20px;
}
.download-page__guide > iframe.download-page__video,
.download-page__guide > .u-embed-wide {
  display: block;
  order: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 20px;
  background: #000;
  position: relative;
  inset: auto;
  z-index: 1;
}
.download-page__guide-content { order: 1; padding: 20px 0; }
.download-page__guide .download-page__step,
.download-page__step {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}
@media (min-width: 900px) {
  .download-page__steps {
    display: grid;
    grid-template-columns: repeat(3, 287px);
    justify-content: space-between;
    gap: 40px;
    margin-top: 0;
  }
  .download-page__guide .download-page__step {
    width: 287px;
    height: 227px;
  }
}

/* 263 404 */
.header-v4--error .header-v4__title {
  text-transform: none;
}
.osu-page--generic.text-center {
  text-align: center;
  padding: 20px 10px 40px;
}
.osu-page--generic.text-center .error-page,
.osu-page--generic.text-center .error-page__illustration,
.error-page__illustration { display: none !important; }

/* 264 forums */
.osu-page--forum .forum-item {
  border-radius: 4px !important;
  padding: 5px 25px !important;
}
.osu-page--forum .forum-item__name {
  font-size: 18px !important;
  font-weight: 400;
}
.osu-page--forum .forum-item__subforums {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  background: transparent;
}
.osu-page--forum .forum-item__subforums > li {
  height: 15px;
  line-height: 15px;
  font-size: 12px;
  font-weight: 400;
  background: transparent;
}
.osu-page--forum .forum-item__subforum {
  background: transparent !important;
  color: hsl(var(--hsl-c1));
  font-size: 12px !important;
  font-weight: 400 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  height: 15px;
  line-height: 15px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.osu-page--forum .forum-item__subforum-icon {
  font-size: 10px;
  opacity: .7;
}
@media (max-width: 375px) {
  .osu-page--forum .forum-item__latest-post { display: none !important; }
}

/* 265 stable CTA 420×84; iframe radius 20. Main --download stays 132. */
.download-page .btn-osu-big--download.btn-osu-big--download-stable:not(.btn-osu-big--download-landing) {
  height: 84px !important;
  width: 420px !important;
  max-width: 100%;
}
.download-page__guide > iframe.download-page__video {
  border-radius: 20px;
}

/* 266 store featured text top, 960×71, no gradient */
.store-products .product-box__text {
  position: absolute;
  top: 0;
  left: 0;
  height: auto !important;
  background: none !important;
  justify-content: flex-start !important;
  padding: 20px;
  font-size: 16px;
  box-sizing: border-box;
}
.store-products .product-box--card-large .product-box__text {
  width: 960px;
  max-width: calc(100% - 40px);
  height: 71px !important;
}
.store-products .product-box__header { font-size: 16px; }
.store-products .product-box:hover .product-box__text { opacity: 0; }

/* ===== 267–274 ===== */

/* 267 wiki-page grid 250×750, r0 pad0 transparent, title 30px/600 rule, body 14px Torus */
.osu-page--wiki {
  padding: 0 !important;
  background: transparent;
  max-width: 1000px;
}
.osu-page--wiki .wiki-page,
.wiki-page {
  display: grid !important;
  grid-template-columns: 250px 750px;
  width: 1000px;
  max-width: 100%;
  margin: 0;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-family: Torus, var(--font) !important;
  font-size: 14px !important;
  box-sizing: border-box;
}
.wiki-page__toc {
  background: hsl(var(--hsl-b4));
  padding: 20px;
  min-width: 0;
}
.wiki-page__content {
  min-width: 0;
  padding: 20px 50px 40px 20px;
  font-family: Torus, var(--font) !important;
  font-size: 14px !important;
}
.osu-md--wiki,
.osu-md--wiki p,
.osu-md--wiki .osu-md__paragraph,
.osu-md--wiki li {
  font-family: Torus, var(--font) !important;
  font-size: 14px !important;
}
.osu-md__header--1 {
  font-size: 30px !important;
  font-weight: 600 !important;
  margin: 0 0 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid hsl(var(--hsl-b3));
  font-family: Torus, var(--font);
}
.osu-md__header--2 {
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid hsl(var(--hsl-b3));
  font-family: Torus, var(--font);
}
.wiki-toc-list__title { font-weight: 600; margin-bottom: 8px; }
.wiki-toc-list__list { list-style: none; padding: 0; margin: 0; }
.wiki-toc-list__list li { margin: 6px 0; }
@media (max-width: 899px) {
  .osu-page--wiki .wiki-page,
  .wiki-page {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

/* 268 wiki header breadcrumbs + github circle + English pill */
.wiki-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}
.header-nav-v4--breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-nav-v4--breadcrumb .header-nav-v4__item + .header-nav-v4__item::before {
  content: ">";
  margin-right: 6px;
  color: hsl(var(--hsl-f1));
}
.wiki-header-bar__actions { display: flex; align-items: center; gap: 8px; }
.wiki-header-bar__github {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: hsl(var(--hsl-b3));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.wiki-header-bar__locale {
  background: hsl(var(--hsl-b3));
  color: #fff;
  border: 0;
  border-radius: 10000px;
  padding: 4px 12px;
  font: inherit;
  cursor: pointer;
}

/* 269 guest chat sign-in wall */
.osu-page--sign-in {
  text-align: center;
  padding: 20px 50px !important;
}

/* 270 status lime pill 14px; info gradient over cover cols; mode icon */
.beatmapset-panel .beatmapset-status--panel,
.beatmapset-status--panel {
  display: inline-block !important;
  background: #b3ff66 !important;
  color: rgb(57, 66, 70) !important;
  border-radius: 10000px !important;
  padding: 0 5px !important;
  height: 14px !important;
  line-height: 14px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  box-sizing: border-box;
}
.beatmapset-panel .beatmapset-status--panel.beatmapset-status--loved {
  background: #eb49a7 !important;
  color: #fff !important;
}
.beatmapset-panel .beatmapset-status--panel.beatmapset-status--pending {
  background: hsl(var(--hsl-b1)) !important;
  color: #fff !important;
}
.beatmapset-panel .beatmapset-status--panel.beatmapset-status--ranked {
  background: #b3ff66 !important;
  color: rgb(57, 66, 70) !important;
}
.beatmapset-panel .beatmapset-status--panel.beatmapset-status--approved {
  background: hsl(var(--beatmapset-approved)) !important;
  color: #fff !important;
}
.beatmapset-panel .beatmapset-status--panel.beatmapset-status--qualified {
  background: hsl(var(--beatmapset-qualified)) !important;
  color: #fff !important;
}
.beatmapset-panel .beatmapset-status--panel.beatmapset-status--wip {
  background: hsl(var(--beatmapset-wip)) !important;
  color: rgb(57, 66, 70) !important;
}
.beatmapset-panel .beatmapset-status--panel.beatmapset-status--graveyard {
  background: hsl(var(--beatmapset-graveyard)) !important;
  color: #fff !important;
}
.beatmapset-panel__info {
  background: var(--info-bg, linear-gradient(0.25turn, hsl(var(--hsl-b2)), hsla(var(--hsl-b2), 0.8))) !important;
  padding: 4px 10px 6px !important;
}
.beatmapset-panel__play-icons {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 3;
  display: flex;
  font-size: 14px;
  color: #fff;
  text-shadow: 0 1px 2px #000;
}

/* 271 supporter screenshots + pink bottom heart ~148. Hero heart stays 135 */
.supporter-status__pippi {
  background-image: image-set(url("/static/osu-images/header-pippi.png") 1x, url("/static/osu-images/header-pippi@2x.png") 2x);
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
}
.supporter-convinced { padding-bottom: 172px; }
.supporter-perk-list-group--why-support {
  min-height: 180px;
  box-sizing: border-box;
}
.supporter-why-preview {
  display: block;
  width: 700px;
  height: 401px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 10px;
  margin: 20px auto 40px;
}
.supporter-perk-list--images .supporter-perk-list__list {
  flex-direction: column;
  gap: 5px;
}
.supporter-perk-list-group--image {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  width: 100% !important;
  text-align: right;
  margin-bottom: 5px;
  min-height: 100px;
}
.supporter-perk-list-group__image {
  width: 500px;
  height: 100px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.supporter-perk-list-group--image .supporter-perk-list-group__meta {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  flex: 1;
}
.supporter-heart:not(.supporter-heart--larger) {
  width: 135px;
  height: 135px;
}
.supporter-heart--larger,
.supporter-heart--larger.supporter-heart--active {
  width: 148px;
  height: 148px;
  box-sizing: border-box;
  background-color: rgb(255, 102, 171) !important;
  opacity: 1;
  display: inline-flex;
  padding: 8px 5px 5px;
}
@media (max-width: 899px) {
  .supporter-perk-list-group--image {
    flex-direction: column-reverse;
    text-align: left;
    align-items: flex-start;
  }
  .supporter-perk-list-group__image { max-width: 100%; width: 100%; }
  .supporter-perk-list-group--image .supporter-perk-list-group__meta { flex-direction: row; }
}

/* 272 no price overlay; keep 266 caption */
.store-products .product-box__price,
.product-box__price { display: none !important; }

/* 273 search input radius 0. Keep 260 guest search */
.beatmapsets-search__input-container,
.beatmapsets-search__input,
.beatmapsets-search--guest .beatmapsets-search__input-container,
.beatmapsets-search--guest .beatmapsets-search__input {
  border-radius: 0 !important;
}

/* 274 other-platforms 180×25; tagline-2 50px/400. Keep 181/182/262/265 */
.download-page__other-platforms {
  width: 180px !important;
  height: 25px !important;
  align-self: flex-end !important;
  display: block;
  overflow: visible;
  position: relative;
  box-sizing: border-box;
}
.download-page__other-platforms-button {
  width: 180px;
  height: 25px;
  padding: 0 !important;
  line-height: 25px;
  text-align: right;
  box-sizing: border-box;
}
.download-page__tagline-2 {
  font-size: 50px !important;
  font-weight: 400 !important;
  line-height: 50px !important;
}

/* ===== Rankings + Profile official match (2026-08-16) ===== */
.daily-challenge:not([data-has-rank]) { display: none !important; }

body.js-nav2--active .nav2__menu-popup {
  pointer-events: auto !important;
}
body.js-nav2--active .simple-menu,
body.js-nav2--active .simple-menu a {
  pointer-events: auto !important;
  position: relative;
  z-index: 522;
}

.select-options__selector {
  z-index: 530 !important;
  max-width: 280px;
}
.ranking-filter--full .select-options,
.ranking-filter--full .select-options--ranking {
  width: auto !important;
  min-width: 180px;
  max-width: 280px !important;
  height: auto;
}
.ranking-page-header {
  width: 100% !important;
  max-width: var(--page-width) !important;
  height: auto !important;
  padding: 10px 0 !important;
  margin: 0 auto;
  background: transparent !important;
  display: block !important;
  box-sizing: border-box;
}
.ranking-filter.ranking-filter--full {
  width: 100% !important;
  height: auto !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.osu-page--ranking {
  padding: 0 var(--gutter);
  max-width: calc(var(--page-width) + var(--gutter-desktop) * 2);
  margin: 0 auto;
  box-sizing: border-box;
}
@media (min-width: 900px) {
  .osu-page--ranking { padding: 0 var(--gutter-desktop); }
}

.play-detail-list--ranking,
.ranking-beatmaps {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 10px 0 30px;
}
html:not(html) a.play-detail,
html:not(html) .play-detail {
  --border-radius: 10px;
  --bg: hsl(var(--hsl-b3));
  --bg-main: hsl(var(--hsl-b2));
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 2px 0;
  border-radius: var(--border-radius);
  background: var(--bg);
  color: #fff !important;
  text-decoration: none !important;
  min-height: 40px;
  overflow: hidden;
  cursor: pointer;
}
@media (min-width: 900px) {
  html:not(html) a.play-detail,
  html:not(html) .play-detail {
    flex-wrap: nowrap;
    background: transparent;
  }
}
html:not(html) .play-detail:hover {
  --bg: hsl(var(--hsl-b2));
  --bg-main: hsl(var(--hsl-b1));
  color: #fff !important;
}
html:not(html) .play-detail__group { display: flex; align-items: center; }
html:not(html) .play-detail__group--top {
  flex: 1;
  min-width: 0;
  padding: 5px 20px;
  background: var(--bg-main);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}
html:not(html) .play-detail__group--bottom {
  display: flex;
  align-items: stretch;
  padding: 0;
}
html:not(html) .play-detail__icon--main {
  width: 40px;
  height: 20px;
  margin-right: 10px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
html:not(html) .play-detail__icon--main img,
html:not(html) .play-detail__icon--main .score-rank {
  height: 20px;
  width: auto;
  max-width: 40px;
}
html:not(html) .play-detail__detail { flex: 1; min-width: 0; display: flex; flex-direction: column; }
html:not(html) .play-detail__title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html:not(html) .play-detail__beatmap-and-time {
  display: flex;
  gap: 15px;
  margin-top: 2px;
  font-size: 12px;
  color: hsl(var(--hsl-f1));
}
html:not(html) .play-detail__score-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  background: var(--bg-main);
}
html:not(html) .play-detail__accuracy { color: #fc2; font-weight: 600; min-width: 60px; }
html:not(html) .play-detail__pp {
  position: relative;
  min-width: 110px;
  padding: 5px 20px 5px 30px;
  background: var(--bg);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-weight: 700;
  color: hsl(var(--hsl-h1));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
html:not(html) .play-detail__pp::before {
  content: "";
  width: 10px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: var(--bg-main);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
html:not(html) .play-detail__pp-unit { font-size: 12px; color: hsl(var(--hsl-l3)); font-weight: 400; }
html:not(html) .play-detail__weighted { font-size: 11px; color: hsl(var(--hsl-f1)); font-weight: 400; }
html:not(html) .play-detail--fail { opacity: .55; }

.osu-page--generic-compact {
  padding: 0 !important;
  max-width: calc(var(--page-width) + var(--gutter-desktop) * 2);
  margin: 0 auto;
}
.osu-page--generic-compact .page-extra {
  padding: 20px 10px !important;
  margin: 0 10px !important;
  border-radius: 10px;
  background: hsl(var(--hsl-b4));
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
@media (min-width: 900px) {
  .osu-page--generic-compact .page-extra {
    padding: 20px 40px !important;
    margin: 0 10px !important;
  }
}
.osu-page--generic-compact .page-extra__title,
.title--page-extra {
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #fff !important;
}
.title--page-extra-small {
  font-size: 14px;
  font-weight: 700;
  margin: 16px 0 8px;
  color: #fff;
}

.page-mode--page-extra-tabs {
  padding: 0 10px !important;
  gap: 20px;
  background: hsl(var(--hsl-b5));
  position: relative;
  height: auto !important;
  min-height: 40px;
  align-items: stretch;
}
.page-mode--page-extra-tabs::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: hsl(var(--hsl-h1));
}
@media (min-width: 900px) {
  .page-mode--page-extra-tabs { padding: 0 50px !important; }
}
.page-mode--page-extra-tabs .page-mode-link,
.page-mode-link--profile-page {
  height: auto !important;
  padding: 12px 0 !important;
  line-height: 18px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: hsl(var(--hsl-l1)) !important;
  position: relative;
}
.page-mode--page-extra-tabs .page-mode-link:hover,
.page-mode-link--profile-page:hover,
.page-mode--page-extra-tabs .page-mode-link--is-active,
.page-mode-link--profile-page.page-mode-link--is-active {
  color: #fff !important;
  font-weight: 600 !important;
}
.page-mode--page-extra-tabs .page-mode-link__stripe,
.page-mode-link--profile-page .page-mode-link__stripe {
  display: block !important;
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 6px !important;
  background: hsl(var(--hsl-h1)) !important;
  border-radius: 10000px;
  transform: scaleY(0) !important;
}
.page-mode-link:hover .page-mode-link__stripe,
.page-mode-link--is-active .page-mode-link__stripe {
  transform: scaleY(1) !important;
}

html:not(html) .profile-detail {
  display: flex !important;
  width: 100% !important;
  max-width: 1000px !important;
  height: auto;
  padding: 10px !important;
  overflow: hidden !important;
  background: transparent !important;
  box-sizing: border-box;
}
@media (min-width: 900px) {
  html:not(html) .profile-detail { padding: 10px 50px !important; height: 204px !important; }
}
html:not(html) .profile-detail-stats {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px 15px !important;
}
@media (min-width: 900px) {
  html:not(html) .profile-detail-stats {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto 90px auto auto !important;
    height: 184px !important;
    align-items: start;
  }
  html:not(html) .profile-detail-stats__chart-numbers--top { grid-column: 1; grid-row: 1; }
  html:not(html) .profile-detail-stats__chart { grid-column: 1; grid-row: 2; }
  html:not(html) .profile-detail-stats__values { grid-column: 1; grid-row: 3; }
  html:not(html) .profile-detail-stats__grades { grid-column: 1; grid-row: 4; }
  html:not(html) .profile-detail .profile-stats,
  html:not(html) .profile-detail dl.profile-stats {
    grid-column: 3;
    grid-row: 1 / -1;
  }
}
.profile-detail-stats__chart,
.profile-detail .profile-rank-chart,
.profile-detail .profile-rank-chart__axes,
.profile-rank-chart {
  width: 100% !important;
  max-width: none !important;
  height: 90px !important;
  background: transparent !important;
  border-radius: 0 !important;
  position: relative;
}
.profile-rank-chart__canvas {
  width: 100%;
  height: 90px;
  display: block;
  cursor: crosshair;
}
.profile-rank-chart__hover {
  position: absolute;
  background: hsl(var(--hsl-b5));
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,.35);
  z-index: 2;
}
.profile-rank-chart__empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--hsl-f1));
  font-size: 12px;
  pointer-events: none;
}
.profile-detail .profile-stats,
.profile-detail dl.profile-stats {
  width: 272px;
  max-width: 100%;
  height: 184px;
  margin: 0 !important;
  padding: 18px 12px !important;
  border-radius: 6px;
  background: hsl(var(--hsl-b4));
}
.profile-detail-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px !important;
  margin: 0 !important;
  width: 100% !important;
  background: hsl(var(--hsl-b3));
  box-sizing: border-box;
}
@media (min-width: 900px) {
  .profile-detail-bar { padding: 10px 50px !important; }
}
.profile-links {
  padding: 10px !important;
  background: hsl(var(--hsl-b4));
}
@media (min-width: 900px) {
  .profile-links { padding: 10px 50px !important; }
}

.account-standing__ok {
  color: hsl(var(--hsl-lime-1));
  font-weight: 700;
  margin-bottom: 8px;
}
.account-standing__text { color: hsl(var(--hsl-c2)); }

.header-v4--users .header-v4__row--bar .ranking-filter {
  height: auto;
}

/* ranking/profile row locks moved to osu-rank-profile.css (single source of truth) */
/* IMPL-3: leftover !important ranking-user copy neutralized — osu-rank-profile.css wins */
.ranking-page-table .ranking-user__name {
  height: auto !important;
  font-size: 12px;
  line-height: 15px;
  color: #fff;
}
html:not(html) .play-detail__artist {
  color: hsl(var(--hsl-l1));
  pointer-events: auto;
  cursor: pointer;
}
html:not(html) .play-detail__artist:hover { color: #fff; text-decoration: underline; }
.ranking-page--beatmaps .beatmapsets.ranking-beatmaps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 10px 0 30px;
}
@media (min-width: 900px) {
  .ranking-page--beatmaps .beatmapsets.ranking-beatmaps {
    grid-template-columns: 1fr 1fr;
  }
}
.ranking-beatmap { text-decoration: none; color: #fff; }
.ranking-beatmap:hover { color: #fff; text-decoration: none; }
.profile-rank-chart__empty[hidden],
.line-chart__empty[hidden] { display: none !important; }

/* ===== IMPL-3: leftover ranking/profile/header-v4/game-mode MUST lose ===== */
html[data-osu-section="rankings"] .header-v4,
html[data-osu-section="user"] .header-v4,
html[data-osu-section="beatmapsets"] .header-v4,
html[data-osu-section="beatmapset"] .header-v4,
.header-v4--rankings,
.header-v4--users,
.header-v4--beatmapsets,
.header-v4--beatmapset {
  padding-top: 0 !important;
  min-height: 0 !important;
}
html[data-osu-section="rankings"] body,
html[data-osu-section="user"] body,
html[data-osu-section="beatmapsets"] body,
html[data-osu-section="beatmapset"] body {
  padding-top: 0 !important;
}
html[data-osu-section="rankings"] ul.game-mode.game-mode--mobile,
.header-v4--rankings ul.game-mode.game-mode--mobile {
  display: none !important;
  position: static !important;
  top: auto !important;
  height: 0 !important;
  width: 0 !important;
  min-height: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  transform: none !important;
}
@media (max-width: 899px) {
  html[data-osu-section="rankings"] ul.game-mode.game-mode--mobile,
  .header-v4--rankings ul.game-mode.game-mode--mobile {
    display: flex !important;
    height: auto !important;
    width: auto !important;
    overflow: visible !important;
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}
html[data-osu-section="user"] .header-v4--users .game-mode,
.header-v4--users ul.game-mode.game-mode--mobile {
  transform: none !important;
  top: auto !important;
  position: static !important;
  height: 48px !important;
  width: 158px !important;
}
@media (max-width: 899px) {
  html[data-osu-section="user"] .header-v4--users .game-mode,
  .header-v4--users ul.game-mode.game-mode--mobile {
    height: 38px !important;
  }
}
html[data-osu-section="rankings"] .ranking-page-table {
  min-width: 0 !important;
}
html[data-osu-section="rankings"] .ranking-page-table:not(.ranking-page-table--top-plays) .ranking-page-table__column--main {
  width: 370px;
  min-width: 370px;
  max-width: 370px;
}
html[data-osu-section="rankings"] .ranking-page-table--country .ranking-page-table__column--main {
  width: 472px;
  min-width: 472px;
  max-width: 472px;
}
html:not(html)[data-osu-section="user"] .profile-detail {
  display: block !important;
}
html[data-osu-section="user"] .osu-page--generic-compact .page-extra {
  margin: 0 10px 10px !important;
}
html[data-osu-section="user"] .page-mode--page-extra-tabs + .page-extra {
  margin-top: 10px !important;
}

/* Beatmap scoreboard: defeat global ranking-page-table avatar kill-rules */
.beatmap-score-top__avatar .avatar,
.beatmap-score-top__avatar img,
.beatmap-scoreboard-wrap .ranking-page-table .ranking-user__avatar,
.beatmap-scoreboard-wrap .ranking-page-table .ranking-user__avatar.ranking-page-table-main__cover,
.beatmap-scoreboard-wrap .ranking-page-table-main__cover,
.beatmap-scoreboard-top .ranking-user__avatar,
.beatmap-scoreboard-top .ranking-page-table-main__cover,
.beatmap-scoreboard-card .ranking-user__avatar,
.beatmap-scoreboard-card .ranking-page-table-main__cover {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  object-fit: cover !important;
}
.beatmap-score-top__avatar .avatar,
.beatmap-score-top__avatar img {
  width: 70px !important;
  height: 70px !important;
  min-width: 70px !important;
  min-height: 70px !important;
  max-width: 70px !important;
  max-height: 70px !important;
  border-radius: 10px !important;
}
.beatmap-scoreboard-wrap .ranking-page-table .ranking-user__avatar,
.beatmap-scoreboard-wrap .ranking-page-table .ranking-user__avatar.ranking-page-table-main__cover,
.beatmap-scoreboard-wrap .ranking-page-table-main__cover,
.beatmap-scoreboard-top .ranking-user__avatar,
.beatmap-scoreboard-top .ranking-page-table-main__cover,
.beatmap-scoreboard-card .ranking-user__avatar,
.beatmap-scoreboard-card .ranking-page-table-main__cover {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  border-radius: 6px !important;
}
.beatmap-scoreboard-table .flag-country,
.beatmap-score-top__flags .flag-country,
.beatmap-scoreboard-wrap .ranking-page-table .ranking-user__flag,
.beatmap-scoreboard-wrap .ranking-page-table .flag-country,
.beatmap-scoreboard-wrap .ranking-page-table-main .ranking-user__flag,
.beatmap-scoreboard-wrap .ranking-page-table-main .flag-country,
.beatmap-scoreboard-top .ranking-user__flag,
.beatmap-scoreboard-top .flag-country,
.beatmap-scoreboard-card .ranking-user__flag,
.beatmap-scoreboard-card .flag-country {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background-size: cover !important;
  background-position: center !important;
}
.beatmap-scoreboard-table .flag-country {
  width: 17px !important;
  height: 12px !important;
  min-width: 17px !important;
  min-height: 12px !important;
  max-width: 17px !important;
  max-height: 12px !important;
  border-radius: 2px !important;
}
.beatmap-score-top__flags .flag-country {
  width: 25px !important;
  height: 18px !important;
  min-width: 25px !important;
  min-height: 18px !important;
  max-width: 25px !important;
  max-height: 18px !important;
  border-radius: 3px !important;
}
.beatmap-scoreboard-wrap .ranking-page-table .ranking-user__flag,
.beatmap-scoreboard-wrap .ranking-page-table .flag-country,
.beatmap-scoreboard-wrap .ranking-page-table-main .ranking-user__flag,
.beatmap-scoreboard-wrap .ranking-page-table-main .flag-country,
.beatmap-scoreboard-top .ranking-user__flag,
.beatmap-scoreboard-top .flag-country,
.beatmap-scoreboard-card .ranking-user__flag,
.beatmap-scoreboard-card .flag-country {
  width: 20px !important;
  height: 14px !important;
  min-width: 20px !important;
  min-height: 14px !important;
  max-width: 20px !important;
  max-height: 14px !important;
  border-radius: 2px !important;
  object-fit: cover !important;
}

/* Beatmap listing + detail: official overlay nav and header-v4 heights */
html[data-osu-section="beatmapsets"] .nav2-bar,
html[data-osu-section="beatmapset"] .nav2-bar {
  background: transparent;
}
html[data-osu-section="beatmapsets"] .header-v4,
html[data-osu-section="beatmapset"] .header-v4,
.header-v4--beatmapsets,
.header-v4--beatmapset {
  margin-bottom: 0;
}
/* Listing stays official 160; detail banner is 207.5 (105 + 55 + 47.5). */
html[data-osu-section="beatmapsets"] .header-v4.header-v4--beatmapsets {
  min-height: 160px !important;
  height: 160px !important;
}
html[data-osu-section="beatmapset"] .header-v4.header-v4--beatmapset {
  min-height: 207.5px !important;
  height: 207.5px !important;
}
html[data-osu-section="beatmapset"] .header-v4--beatmapset .header-v4__row--bar {
  height: 47.5px;
  min-height: 47.5px;
}
html[data-osu-section="beatmapsets"] .header-v4__row--bar {
  display: none;
}
html[data-osu-section="beatmapsets"] .header-v4--beatmapsets .header-v4__title,
html[data-osu-section="beatmapset"] .header-v4--beatmapset .header-v4__title {
  font-size: 20px;
  font-weight: 400;
  text-transform: lowercase;
}
.beatmapset-detail-modes {
  display: none !important;
}
@media (min-width: 900px) {
  html[data-osu-section="beatmapset"] .header-v4__bg-container,
  .header-v4--beatmapset .header-v4__bg-container {
    inset: 0;
    height: auto;
    bottom: 0;
  }
  html[data-osu-section="beatmapset"] .header-v4__bg,
  .header-v4--beatmapset .header-v4__bg {
    height: 100%;
  }
}







