/* Homepage bank emphasis, shared column alignment and compact music panel. */
body.max-theme.radio-modern .game-stats {
  --stats-pad: 30px;
  padding: 25px var(--stats-pad) 26px;
}
body.max-theme.radio-modern .game-stats h2 { font-size: 23px; }
.game-stats .game-stats-values {
  gap: 12px;
  margin: 22px calc(0px - var(--stats-pad) - 1px) 0;
}
.game-stats .game-stat,
.game-stats .game-stat + .game-stat,
.game-stats .game-stat:first-child,
.game-stats .game-stat:last-child {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 28px;
  border: 0;
}
.game-stats .game-stat + .game-stat::before {
  content: "";
  position: absolute;
  width: 1px;
  top: 10px;
  bottom: 10px;
  left: -6.5px;
  background: #70549355;
}
.game-stats .game-stat dt { min-height: 34px; font-size: 14px; gap: 10px; }
.game-stats .game-stat-icon { width: 32px; height: 32px; flex-basis: 32px; border-radius: 10px; }
.game-stats .game-stat-icon svg { width: 21px; height: 21px; }
.game-stats .game-stat dd { margin: 12px 0 0; font-size: clamp(30px,3.2vw,42px); }
.game-stats .game-stat--bank:first-child {
  margin: 0 16px 0 calc(var(--stats-pad) + 1px);
  padding: 16px 20px;
  border: 1px solid #7a67b54d;
  border-radius: 16px;
  background: linear-gradient(112deg,#152f47 0%,#20244a 52%,#2b1c40 100%);
  box-shadow: inset 0 1px 0 #a3d8ff07;
}
.game-stats .game-stat--bank dt { min-height: 26px; gap: 8px; color: #d2d5e7; font-size: 13px; }
.game-stats .game-stat--bank .game-stat-icon {
  width: 20px; height: 24px; flex-basis: 20px;
  border: 0; background: transparent; border-radius: 0; color: #67d6ff;
}
.game-stats .game-stat--bank .game-stat-icon svg { width: 20px; height: 20px; }
.game-stats .game-stat--bank dd {
  font-size: clamp(34px,3.5vw,46px);
  margin-top: 9px;
  line-height: 1.1;
  color: #74d6ff;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.game-stats .game-stat--bank .game-stat-currency { color: #76b6ff; }

body.max-theme.radio-modern .history-with-hint {
  grid-template-columns: minmax(0,1.08fr) minmax(0,1fr);
  border-radius: 24px;
  background: linear-gradient(108deg,#111018 0%,#10101e 53%,#1a1033 100%) padding-box,
    linear-gradient(110deg,#3bbcff8c,#54508470 50%,#ad4bffad) border-box;
}
body.max-theme.radio-modern .history-with-hint .history-card { padding: 22px 28px 20px; }
.history-with-hint .history-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 10px; }
body.max-theme.radio-modern .history-with-hint .history-card h2 { margin: 0; font-size: 24px; line-height: 1.2; }
body.max-theme.radio-modern .history-with-hint .history-actions { margin: 0; flex-shrink: 0; }
body.max-theme.radio-modern .history-with-hint .history-card .playlist-open-btn {
  min-height: 30px; padding: 4px 0; gap: 6px;
  border: 0; border-radius: 5px; background: none; box-shadow: none;
  color: #bfc1dd; font-size: 12px; line-height: 1.4;
}
.history-with-hint .history-card .playlist-open-btn { --action-bg: transparent; --action-hover: transparent; --action-shadow: none; }
body.max-theme.radio-modern .history-with-hint .history-card .playlist-open-btn::before { content: none; }
.history-with-hint .playlist-open-btn svg { width: 15px; height: 15px; color: #70d2ff; }
body.max-theme.radio-modern .history-with-hint .history-card .playlist-open-btn:hover { color: #7ee1ff; background: none; box-shadow: none; transform: none; }
body.max-theme.radio-modern .history-with-hint .history-item {
  grid-template-columns: 42px 38px minmax(0,1fr); gap: 12px;
  min-height: 49px; padding: 5px 0;
}
body.max-theme.radio-modern .history-with-hint .history-cover { width: 38px; height: 38px; border-radius: 8px; }
body.max-theme.radio-modern .history-with-hint .history-title-link { text-decoration-color: #32cbff40; text-underline-offset: 2px; }
body.max-theme.radio-modern .history-with-hint .history-artist { margin-top: 2px; }
.history-with-hint .history-hint {
  min-height: 0;
  padding: 25px 28px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 105% 5%,#7134b13d,transparent 51%),
    radial-gradient(ellipse at 95% 95%,#12378333,transparent 58%);
}
.history-with-hint .history-hint::before { z-index: 2; top: 22px; bottom: 22px; }
.history-with-hint .history-hint::after {
  content: ""; position: absolute; z-index: -1;
  inset: 0 0 0 45%; pointer-events: none;
  background-image: radial-gradient(#8070ff8c .7px,transparent .85px);
  background-size: 5px 5px;
  mask-image: radial-gradient(ellipse at 100% 55%,#000,transparent 72%);
  opacity: .45;
}
.history-with-hint .history-hint-copy { position: relative; z-index: 1; width: 66%; max-width: 310px; }
.history-with-hint .history-hint-headphones {
  z-index: -1;
  top: 50%; right: 0; width: 53%; max-width: 300px;
  transform: translateY(-50%) rotate(6deg);
  opacity: 1; mask-image: none;
  filter: brightness(1.18) saturate(1.12);
}
body.max-theme.radio-modern .history-with-hint .history-hint h3 { font-size: 30px; line-height: 1.13; }
body.max-theme.radio-modern .history-with-hint .history-hint-description { max-width: 240px; margin: 18px 0 21px; font-size: 17px; line-height: 1.45; }
.history-with-hint .yandex-music-link { min-height: 44px; padding: 8px 15px; gap: 10px; font-size: 14px; white-space: nowrap; border-color: #8156e3; }
.history-with-hint .yandex-music-link img { width: 27px; height: 27px; }
.history-with-hint .yandex-music-arrow { width: 20px; height: 20px; margin-left: 3px; color: #72daff; }

@media (min-width: 761px) and (max-width: 1100px) {
  body.max-theme.radio-modern .game-stats { --stats-pad: 24px; }
  .game-stats .game-stat { padding: 15px 18px; }
  .game-stats .game-stat dt { font-size: 12px; gap: 8px; }
  .game-stats .game-stat dd { font-size: 32px; }
  .game-stats .game-stat--bank:first-child { margin-right: 12px; padding: 16px 16px; }
  .game-stats .game-stat--bank dt { font-size: 12px; }
  .game-stats .game-stat--bank dd { font-size: 36px; }
  .game-stats .game-stat-icon { width: 28px; height: 28px; flex-basis: 28px; border-radius: 9px; }
  .game-stats .game-stat-icon svg { width: 19px; height: 19px; }
  .game-stats .game-stat--bank .game-stat-icon { width: 20px; flex-basis: 20px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  body.max-theme.radio-modern .history-with-hint .history-card { padding: 22px 22px 20px; }
  body.max-theme.radio-modern .history-with-hint .history-card h2 { font-size: 21px; }
  body.max-theme.radio-modern .history-with-hint .playlist-open-btn { font-size: 10px; }
  body.max-theme.radio-modern .history-with-hint .history-item { grid-template-columns: 34px 36px minmax(0,1fr); gap: 10px; }
  body.max-theme.radio-modern .history-with-hint .history-cover { width: 36px; height: 36px; }
  .history-with-hint .history-hint { padding: 23px; }
  .history-with-hint .history-hint-copy { width: 72%; }
  body.max-theme.radio-modern .history-with-hint .history-hint h3 { font-size: 26px; }
  body.max-theme.radio-modern .history-with-hint .history-hint-description { font-size: 15px; max-width: 210px; }
  .history-with-hint .history-hint-headphones { width: 48%; right: -5px; }
  .history-with-hint .yandex-music-link { padding: 8px 12px; font-size: 13px; gap: 8px; }
}
@media (max-width: 900px) {
  body.max-theme.radio-modern .history-with-hint { grid-template-columns: 1fr; }
  .history-with-hint .history-hint { padding: 30px 28px; min-height: 245px; }
  .history-with-hint .history-hint::before { top: 0; bottom: auto; left: 28px; right: 28px; }
  .history-with-hint .history-hint-copy { width: 65%; max-width: 350px; }
  .history-with-hint .history-hint-headphones { width: 43%; max-width: 280px; right: 22px; }
  body.max-theme.radio-modern .history-with-hint .history-hint-description { max-width: 270px; }
}
@media (max-width: 760px) {
  body.max-theme.radio-modern .game-stats { --stats-pad: 22px; padding: 23px var(--stats-pad) 24px; }
  body.max-theme.radio-modern .game-stats h2 { font-size: 21px; }
  .game-stats .game-stats-heading h2 span { display: block; }
  .game-stats .game-stats-values { margin: 20px 0 0; gap: 0; }
  .game-stats .game-stat,
  .game-stats .game-stat:last-child { padding: 19px 0; }
  .game-stats .game-stat:last-child { padding-bottom: 0; }
  .game-stats .game-stat + .game-stat { border: 0; }
  .game-stats .game-stat + .game-stat::before { top: 0; left: 0; right: 0; width: auto; height: 1px; bottom: auto; }
  .game-stats .game-stat--bank + .game-stat::before { display: none; }
  .game-stats .game-stat--bank:first-child { margin: 0; padding: 16px 20px; }
  .game-stats .game-stat dt { font-size: 14px; }
  .game-stats .game-stat dd { margin: 9px 0 0 42px; font-size: 36px; }
  .game-stats .game-stat--bank dd { margin: 9px 0 0; font-size: 44px; }
}
@media (max-width: 520px) {
  body.max-theme.radio-modern .history-with-hint .history-card { padding: 22px 20px 20px; }
  .history-with-hint .history-card-heading { align-items: flex-start; flex-wrap: wrap; gap: 3px 12px; margin-bottom: 12px; }
  body.max-theme.radio-modern .history-with-hint .history-card h2 { font-size: 24px; }
  body.max-theme.radio-modern .history-with-hint .playlist-open-btn { font-size: 11px; min-height: 26px; }
  body.max-theme.radio-modern .history-with-hint .history-item { grid-template-columns: 32px 38px minmax(0,1fr); gap: 10px; padding: 7px 0; min-height: 53px; }
  .history-with-hint .history-hint { padding: 25px 22px; min-height: 0; }
  .history-with-hint .history-hint::before { left: 20px; right: 20px; }
  .history-with-hint .history-hint-copy { width: 100%; }
  body.max-theme.radio-modern .history-with-hint .history-hint h3 { font-size: 28px; }
  body.max-theme.radio-modern .history-with-hint .history-hint-description { max-width: 55%; margin: 18px 0 20px; font-size: 16px; }
  .history-with-hint .history-hint-headphones { width: 45%; max-width: 210px; right: 0; top: 57%; opacity: .95; }
  .history-with-hint .yandex-music-link { font-size: 14px; }
}
@media (max-width: 359px) {
  body.max-theme.radio-modern .game-stats { --stats-pad: 18px; }
  body.max-theme.radio-modern .game-stats h2 { font-size: 20px; }
  .game-stats .game-stat dd { font-size: 31px; }
  .game-stats .game-stat--bank dd { font-size: 40px; }
  body.max-theme.radio-modern .history-with-hint .history-hint h3 { font-size: 25px; }
  body.max-theme.radio-modern .history-with-hint .history-hint-description { max-width: 55%; font-size: 15px; }
}
