/* Large game scenes integrated into the overview's existing colour field.
   Text, currency conversion, click targets and game/detail artwork are native. */
.pu-root .трн-шапка .трн-часы {
  height:38px;
  padding:0 14px;
  gap:8px;
  border-radius:15px;
  font-size:15px;
  line-height:1;
  color:#d2d8e6;
}
.pu-root .трн-шапка .трн-часы s { width:7px;height:7px; }
.pu-root .trn-overview-visual { isolation:isolate; }
.pu-root .trn-overview-visual .трн-верх { gap:18px; }
.pu-root .trn-overview-visual .трн-тк { position:relative;z-index:3; }
.pu-root .trn-overview-visual .трн-мет { max-width:72%;white-space:normal;overflow:visible; }
.pu-root .trn-overview-visual .трн-сум {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:10px;
  min-height:72px;
}
.pu-root .trn-overview-visual .трн-фонд {
  text-shadow:0 2px 18px #0a0e1744;
}
.pu-root .trn-overview-visual .trn-overview-art {
  position:absolute;
  z-index:1;
  right:-8px;
  top:25px;
  bottom:27px;
  width:52%;
  display:grid;
  place-items:center;
  pointer-events:none;
  user-select:none;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(180deg,#000 79%,transparent);
  mask-image:linear-gradient(180deg,#000 79%,transparent);
}
.pu-root .trn-overview-art > svg {
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  display:block;
  width:100%;
  height:auto;
  overflow:visible;
}
.pu-root .trn-overview-visual .трн-ход { position:relative;z-index:3;margin-top:22px; }
.pu-root .trn-overview-visual::after {
  z-index:2;
  opacity:1;
  background:linear-gradient(0deg,var(--трм) 0%,transparent 23%);
  mask-image:none;
  -webkit-mask-image:none;
}
.pu-root .trn-overview-mines > div { transform:rotate(-12deg) scale(1.2)!important; }
.pu-root .trn-overview-rocket > svg { height:100%;width:auto;max-width:100%; }
.pu-root .trn-overview-art .rk-preview-flight { animation:none; }
@media(max-width:360px) {
  .pu-root .trn-overview-visual { padding-inline:14px; }
  .pu-root .trn-overview-visual .трн-мет { max-width:70%; }
  .pu-root .trn-overview-visual .trn-overview-art { width:49%;right:-9px;top:31px;bottom:28px; }
  .pu-root .trn-overview-mines > div { transform:rotate(-12deg) scale(1)!important; }
}
/* The dial is a complete object; fit both dimensions without cutting its top. */
.pu-root .trn-overview-visual .trn-overview-upgrade {
  top:12px;
  bottom:29px;
  right:-2px;
  width:50%;
  overflow:visible;
  -webkit-mask-image:none;
  mask-image:none;
}
.pu-root .trn-overview-upgrade > svg {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  transform:none;
}
.pu-root .trn-overview-visual .trn-overview-jump {
  top:18px;
  bottom:31px;
  right:4px;
  overflow:visible;
  -webkit-mask-image:none;
  mask-image:none;
}
.pu-root .trn-overview-jump > svg {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  transform:scaleX(-1);
  transform-origin:center;
}
/* Restore the original large Arena scene. Anchor its SVG at the top instead
   of vertically centring an oversized image inside a shorter clipping box. */
.pu-root .trn-overview-visual .trn-overview-arena {
  top:15px;
  bottom:23px;
  right:-8px;
  width:55%;
  overflow:visible;
  -webkit-mask-image:linear-gradient(180deg,#000 78%,transparent);
  mask-image:linear-gradient(180deg,#000 78%,transparent);
}
.pu-root .trn-overview-arena > svg {
  position:absolute;
  inset:0 auto auto 0;
  width:100%;
  height:auto;
  transform:none;
}
.pu-root [data-tournament-game=arena] .трн-мет { max-width:50%; }
@media(max-width:360px) {
  .pu-root .trn-overview-visual .trn-overview-upgrade { width:47%; }
  .pu-root .trn-overview-visual .trn-overview-arena { width:49%;right:-5px;top:25px; }
}
/* Monthly contest is quieter than the game cards: one tonal award, no motion,
   extra scores, change to its fund node or replacement of the native click. */
.pu-root .trn-monthly-visual { isolation:isolate; }
.pu-root .trn-monthly-visual .trn-monthly-art {
  position:absolute;
  right:14px;
  top:17px;
  width:clamp(100px,28vw,132px);
  height:120px;
  z-index:1;
  opacity:.88;
  pointer-events:none;
  user-select:none;
}
.pu-root .trn-monthly-art > svg { display:block;width:100%;height:100%; }
.pu-root .trn-monthly-visual .трн-сум { justify-content:flex-start;gap:7px 8px;padding-right:116px; }
.pu-root .trn-monthly-visual .трн-мет { max-width:calc(100% - 96px);white-space:normal;overflow:visible; }
.pu-root .trn-monthly-visual::after { opacity:.2; }
@media(max-width:360px) {
  .pu-root .trn-monthly-visual .trn-monthly-art { right:8px;top:26px;width:100px; }
  .pu-root .trn-monthly-visual .трн-сум { padding-right:96px; }
  .pu-root .trn-monthly-visual .трн-мет { max-width:calc(100% - 86px); }
}

/* Tournament illustrations are static; native game previews keep their motion. */
.pu-root :is(.trn-overview-art,.trn-monthly-art),
.pu-root :is(.trn-overview-art,.trn-monthly-art) *{animation:none!important;transition:none!important;will-change:auto!important}
.pu-root .trn-overview-mines > div{transform:scale(1.2)!important}
@media(max-width:360px){.pu-root .trn-overview-mines > div{transform:scale(1)!important}}
[data-display-currency]:not([data-display-currency=RUB]) .trn-upgrade-target{font-size:20px}
[data-display-currency]:not([data-display-currency=RUB]) .trn-upgrade-unit{font-size:16px}
