/* t131: шапка «Испытай свою удачу» + лента-рулетка + карточка шанса из сборки Никиты (nikita-home3 /t997/roulette.css).
   Отличия от оригинала: ширина по контейнеру сайта, карточки из настроек колеса, без правок чужих блоков. */
/* t997b — bonus roulette + chance overlays */
.t997-hero{
  position:relative;
  width:1200px;
  height:408px;
  margin:12px 0 24px;
  font-family:Montserrat,Arial,sans-serif;
  overflow:visible;
}
.t997-crumbs{
  position:absolute;top:0;left:0;
  display:flex;align-items:center;gap:8px;
  height:21px;
  font-size:12px;line-height:21px;letter-spacing:-.5px;
}
.t997-crumbs a{color:#a0a8b5;font-weight:500;text-decoration:none}
.t997-crumbs a:hover{color:#687388}
.t997-crumbs-cur{color:#687388;font-weight:600}
.t997-crumbs-sep{width:10px;height:10px;position:relative;display:inline-block}
.t997-crumbs-sep::before{
  content:"";position:absolute;inset:15% 20% 15% 35%;
  border-right:1.6px solid #a0a8b5;border-bottom:1.6px solid #a0a8b5;
  transform:rotate(-45deg);border-radius:1px;
}
.t997-copy{position:absolute;top:41px;left:0;width:320px}
.t997-title-wrap{position:relative;width:320px}
html body .t997-hero h1.t997-title{
  margin:0;padding:0;
  font-family:Montserrat,Arial,sans-serif;
  font-weight:700;font-size:48px;line-height:48px;letter-spacing:-.24px;
  text-transform:none;
}
.t997-title-a{display:block;color:#ff8d28;font-size:inherit;line-height:inherit;font-weight:inherit;white-space:nowrap}
.t997-title-b{display:block;color:#202838;font-size:inherit;line-height:inherit;font-weight:inherit;white-space:nowrap}
.t997-lead{
  margin:16px 0 0;width:261px;
  font-weight:500;font-size:16px;line-height:20px;letter-spacing:-.5px;color:#687388;
}
.t997-star{
  position:absolute;display:block;pointer-events:none;user-select:none;
  transform-origin:50% 50%;
  animation:t997-star-spin 9s linear infinite;
  will-change:transform;
}
.t997-star img{display:block;width:100%;height:100%;transform-origin:50% 50%;animation:t997-star-twinkle 2.4s ease-in-out infinite}
.t997-star-a{width:16px;height:16px;top:-15px;left:100px;animation-duration:8s}
.t997-star-a img{animation-duration:2.1s}
.t997-star-b{width:20px;height:20px;top:-14px;left:234px;animation-duration:11s;animation-delay:-3s}
.t997-star-b img{animation-duration:2.6s;animation-delay:.35s}
.t997-star-c{width:30px;height:30px;top:18px;left:248px;animation-duration:13s;animation-delay:-6s}
.t997-star-c img{animation-duration:3s;animation-delay:.8s}
@keyframes t997-star-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes t997-star-twinkle{
  0%,100%{opacity:.4;transform:scale(.82)}
  50%{opacity:1;transform:scale(1.18)}
}

.t997-cta{position:absolute;top:252px;left:0;display:flex;align-items:center}
/* inherit .g-btn.blue.h50; only set width, kill shadow */
html body .t997-hero .t997-spin.g-btn{
  width:250px;
  box-shadow:none !important;
  filter:none;
}
html body .t997-hero .t997-spin.g-btn:hover{filter:none}

/* ---- wheel ---- */
.t997-wheel{
  position:absolute;top:28px;left:350px;
  width:850px;height:300px;
  border-radius:20px;
  overflow:hidden;
  background:linear-gradient(95deg,#268bf3 0%,#268bf3 28%,#a9c8ef 52%,#268bf3 76%,#268bf3 100%);
  box-shadow:0 10px 28px rgba(38,139,243,.16);
}
.t997-wheel.is-spin{
  box-shadow:0 12px 36px rgba(38,139,243,.32),0 0 0 1px rgba(38,139,243,.2);
}
.t997-wheel::before{
  content:"";position:absolute;inset:0;z-index:4;pointer-events:none;border-radius:20px;padding:4px;
  background:linear-gradient(264deg,#7db7ec 0%,#dcecfd 50%,#268bf3 100%);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask-composite:exclude;
}
.t997-view{position:absolute;inset:0;overflow:hidden}
.t997-strip{
  position:absolute;top:38px;left:0;
  display:flex;align-items:stretch;gap:16px;
  height:225px;will-change:transform;
}
.t997-fade{position:absolute;top:-7px;width:56px;height:314px;z-index:3;pointer-events:none}
.t997-fade-l{left:0;background:linear-gradient(90deg,rgba(58,114,201,.88) 0%,rgba(58,114,201,0) 100%)}
.t997-fade-r{right:0;background:linear-gradient(270deg,rgba(58,114,201,.88) 0%,rgba(58,114,201,0) 100%)}

/* blue pointer (top + bottom) */
/* t997 pointers (chevrons), higher contrast */
.t997-marker{
  position:absolute;left:50%;top:0;z-index:6;pointer-events:none;
  width:3px;height:100%;
  transform:translateX(-50%);
  background:transparent;
}
.t997-marker::before,
.t997-marker::after{
  content:"";
  position:absolute;left:50%;
  width:0;height:0;
  transform:translateX(-50%);
  border-left:8px solid transparent;
  border-right:8px solid transparent;
  filter:drop-shadow(0 1px 0 rgba(17,21,28,.85))
    drop-shadow(0 -1px 0 rgba(17,21,28,.85))
    drop-shadow(1px 0 0 rgba(17,21,28,.85))
    drop-shadow(-1px 0 0 rgba(17,21,28,.85))
    drop-shadow(0 2px 3px rgba(0,0,0,.35));
}
.t997-marker::before{top:0;border-top:10px solid #fff}
.t997-marker::after{bottom:0;border-bottom:10px solid #fff}
.t997-marker-t,.t997-marker-b{display:none} /* leftover from t997b, unused */

/* sparkles */
.t997-sparks{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden}
.t997-spark{
  position:absolute;width:10px;height:10px;
  background:url("roulette-img/star-8.svg") center/contain no-repeat;
  opacity:.0;animation:t997-twinkle 3.2s ease-in-out infinite;
  filter:drop-shadow(0 0 4px rgba(255,255,255,.8));
}
.t997-spark:nth-child(1){left:8%;top:14%;animation-delay:0s;width:12px;height:12px}
.t997-spark:nth-child(2){left:22%;top:78%;animation-delay:.4s;width:8px;height:8px}
.t997-spark:nth-child(3){left:48%;top:10%;animation-delay:.9s;width:14px;height:14px}
.t997-spark:nth-child(4){left:63%;top:80%;animation-delay:1.3s;width:9px;height:9px}
.t997-spark:nth-child(5){left:78%;top:16%;animation-delay:1.7s;width:11px;height:11px}
.t997-spark:nth-child(6){left:91%;top:72%;animation-delay:2.1s;width:8px;height:8px}
.t997-spark:nth-child(7){left:36%;top:84%;animation-delay:2.5s;width:10px;height:10px}
.t997-spark:nth-child(8){left:14%;top:42%;animation-delay:.6s;width:7px;height:7px}
@keyframes t997-twinkle{
  0%,100%{opacity:0;transform:scale(.6) rotate(0deg)}
  35%{opacity:.95;transform:scale(1) rotate(20deg)}
  70%{opacity:.25;transform:scale(.8) rotate(-10deg)}
}

/* cards in strip */
.t997-card{position:relative;flex:0 0 187px;width:187px;height:225px;border-radius:20px;overflow:hidden;box-sizing:border-box}
.t997-card.is-bonus{background:#f5edff;border:3px solid #f1dcfa}
.t997-card.is-secret{border:3px solid #fff3e6;background:radial-gradient(50% 50% at 171% 54%,#fff3e6 0%,#fff3e6 31%)}
.t997-card.is-mc{background:#edf7e6;border:2px solid #6eb83f}
.t997-card.is-game{background:#dcecfd;border:3px solid #dcecfd}
.t997-card-art{position:absolute;top:10px;left:10px;width:167px;height:110px;object-fit:cover;border-radius:8px}
.t997-card.is-bonus .t997-card-art{top:0;left:30px;width:128px;height:128px;object-fit:contain;border-radius:0}
.t997-card.is-secret .t997-card-art{top:13px;left:43px;width:102px;height:105px;object-fit:contain;border-radius:0}
.t997-card-tx{position:absolute;top:132px;left:16px;width:152px;display:flex;flex-direction:column;gap:8px}
.t997-card-tx b{font-size:14px;line-height:15px;letter-spacing:-.5px;font-weight:700;color:#202838}
.t997-card-tx span{font-size:14px;line-height:18px;letter-spacing:-.5px;font-weight:500;color:#687388}
.t997-card-ft{position:absolute;top:183px;left:16px;display:flex;align-items:center;gap:8px;height:26px}
.t997-badge{display:inline-flex;align-items:center;justify-content:center;gap:4px;height:26px;padding:0 8px;border-radius:8px;font-size:16px;line-height:26px;font-weight:700;letter-spacing:-.5px;color:#fff;white-space:nowrap}
.t997-badge img{width:18px;height:18px;display:block}
.t997-badge.is-bonus{background:#8f5cf6;padding:0 10px}
.t997-badge.is-prize{background:#ff8d28}
.t997-badge.is-price{background:#6eb83f}
.t997-badge.is-key{width:26px;padding:0;background:#268bf3}
.t997-sale{font-size:16px;line-height:30px;font-weight:700;letter-spacing:-.5px;color:#6eb83f}
.t997-mult{position:absolute;top:42px;left:0;right:0;font-size:38px;line-height:46px;font-weight:700;letter-spacing:-.5px;color:#fff;text-align:center;text-shadow:0 2px 8px rgba(0,0,0,.35);pointer-events:none}
.t997-card.is-win{box-shadow:0 0 0 3px #fff,0 0 0 6px #268bf3,0 10px 28px rgba(38,139,243,.4);z-index:2;transform:translateY(-2px) scale(1.04)}

/* ---- stats: same height, rounded, aligned ---- */
/* stats: site chip language (.g-ok / .g-whp .tr / .g-btn) */
.t997-stats{
  position:absolute;top:348px;left:350px;
  display:flex;align-items:stretch;gap:12px;
  width:850px;
}
.t997-st{
  box-sizing:border-box;
  flex:1 1 0;min-width:0;height:60px;
  display:flex;align-items:center;justify-content:space-between;
  gap:8px;padding:8px 8px 8px 12px;
  border-radius:12px;
}
.t997-st-cd{background:#eef1f6}
.t997-st-free{background:#edf7e6}
.t997-st-win{background:#dcecfd}
.t997-st-lab{
  font-weight:600;font-size:14px;line-height:20px;letter-spacing:0;
  min-width:0;text-align:left;
  color:#687388;
}
.t997-st-cd .t997-st-lab{color:#687388}
.t997-st-free .t997-st-lab{color:#6eb83f}
.t997-st-win .t997-st-lab{color:#268bf3}
.t997-st-pill{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:44px;border-radius:12px;color:#fff;
  font-weight:700;font-size:14px;line-height:20px;white-space:nowrap;flex:none;
}
.t997-st-pill img{width:16px;height:16px;display:block;flex:0 0 16px}
.t997-st-time{padding:0 16px;background:#a0a8b5;font-variant-numeric:tabular-nums}
.t997-st-n{width:44px;padding:0;background:#6eb83f}
.t997-st-people{padding:0 16px;background:#268bf3}

@keyframes t997-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.t997-copy,.t997-cta{animation:t997-in .45s ease both}
.t997-wheel{animation:t997-in .55s .08s ease both}
.t997-stats{animation:t997-in .45s .16s ease both}

/* ---- dark ---- */
html[data-theme=dark] .t997-crumbs a{color:#8f9cb0}
html[data-theme=dark] .t997-crumbs a:hover{color:#8f9cb0}
html[data-theme=dark] .t997-crumbs-cur{color:#8f9cb0}
html[data-theme=dark] .t997-crumbs-sep::before{border-color:#8f9cb0}
html[data-theme=dark] .t997-title-b{color:#f4f7fb}
html[data-theme=dark] .t997-lead{color:#8f9cb0}
html[data-theme=dark] .t997-wheel{
  background:linear-gradient(95deg,#262d3a 0%,#262d3a 40%,#1b2a3d 52%,#262d3a 100%);
  box-shadow:0 10px 28px rgba(0,0,0,.35),0 0 0 1px rgba(38,139,243,.28);
}
html[data-theme=dark] .t997-wheel.is-spin{box-shadow:0 12px 36px rgba(38,139,243,.28),0 0 0 1px rgba(38,139,243,.4)}
html[data-theme=dark] .t997-wheel::before{background:linear-gradient(264deg,#187de5 0%,#268bf3 50%,#1e242f 100%)}
html[data-theme=dark] .t997-fade-l{background:linear-gradient(90deg,rgba(26,34,46,.92) 0%,rgba(26,34,46,0) 100%)}
html[data-theme=dark] .t997-fade-r{background:linear-gradient(270deg,rgba(26,34,46,.92) 0%,rgba(26,34,46,0) 100%)}
html[data-theme=dark] .t997-marker::before,
html[data-theme=dark] .t997-marker::after{
  filter:drop-shadow(0 1px 0 rgba(0,0,0,.9))
    drop-shadow(0 -1px 0 rgba(0,0,0,.9))
    drop-shadow(1px 0 0 rgba(0,0,0,.9))
    drop-shadow(-1px 0 0 rgba(0,0,0,.9))
    drop-shadow(0 2px 4px rgba(0,0,0,.55));
}
html[data-theme=dark] .t997-st-cd,
html[data-theme=dark] .t997-st-free,
html[data-theme=dark] .t997-st-win{background:#1e242f}
html[data-theme=dark] .t997-st-lab,
html[data-theme=dark] .t997-st-cd .t997-st-lab{color:#8f9cb0}
html[data-theme=dark] .t997-st-free .t997-st-lab{color:#6eb83f}
html[data-theme=dark] .t997-st-win .t997-st-lab{color:#268bf3}
html[data-theme=dark] .t997-st-time{background:#262d3a}

/* ---- mobile ---- */
html[data-device=mobile] .t997-hero{
  display:flex;flex-direction:column;
  position:relative;width:auto;max-width:100%;height:auto;
  margin:0 0 20px;padding:0;box-sizing:border-box;
  overflow-x:hidden;
}
html[data-device=mobile] .t997-crumbs{position:static;margin:0 0 8px;order:0}
html[data-device=mobile] .t997-copy{position:static;width:auto;margin:0 0 12px;order:1}
html[data-device=mobile] .t997-title-wrap{width:auto}
html[data-device=mobile] body .t997-hero h1.t997-title,
html[data-device=mobile] body .t997-hero h1.t997-title{
  font-size:40px;line-height:44px;
}
html[data-device=mobile] .t997-lead{width:auto;margin-top:8px;font-size:14px;line-height:20px}
html[data-device=mobile] .t997-star-a{width:12px;height:12px;top:-8px;left:86px}
html[data-device=mobile] .t997-star-b{width:16px;height:16px;top:-10px;left:188px}
html[data-device=mobile] .t997-star-c{width:22px;height:22px;top:12px;left:200px}
html[data-device=mobile] body .t997-hero .t997-wheel,
html[data-device=mobile] .t997-wheel{
  position:static;order:2;
  width:100%;max-width:100%;height:230px;
  margin:20px 0 0;border-radius:16px;
  left:auto;top:auto;
  box-sizing:border-box;overflow:hidden;
  box-shadow:0 8px 20px rgba(38,139,243,.12);
}
html[data-device=mobile] .t997-wheel::before{border-radius:16px}
html[data-device=mobile] .t997-view,
html[data-device=mobile] .t997-sparks{overflow:hidden;max-width:100%}
html[data-device=mobile] .t997-strip{top:26px;height:178px;gap:10px}
html[data-device=mobile] .t997-card{flex-basis:148px;width:148px;height:178px;border-radius:16px}
html[data-device=mobile] .t997-card-art{top:8px;left:8px;width:132px;height:86px}
html[data-device=mobile] .t997-card.is-bonus .t997-card-art{top:0;left:22px;width:104px;height:104px}
html[data-device=mobile] .t997-card.is-secret .t997-card-art{top:10px;left:32px;width:84px;height:86px}
html[data-device=mobile] .t997-card-tx{top:100px;left:12px;width:124px;gap:4px}
html[data-device=mobile] .t997-card-tx b{font-size:12px;line-height:14px}
html[data-device=mobile] .t997-card-tx span{font-size:12px;line-height:15px}
html[data-device=mobile] .t997-card-ft{top:146px;left:12px;height:22px;gap:8px}
html[data-device=mobile] .t997-badge{height:22px;font-size:14px;line-height:22px;padding:0 8px}
html[data-device=mobile] .t997-badge img{width:14px;height:14px}
html[data-device=mobile] .t997-badge.is-key{width:22px}
html[data-device=mobile] .t997-sale{font-size:14px;line-height:22px}
html[data-device=mobile] .t997-mult{top:28px;font-size:28px;line-height:34px}
html[data-device=mobile] .t997-fade{width:36px}
html[data-device=mobile] .t997-marker{width:3px;height:100%;top:0;left:50%}
html[data-device=mobile] .t997-marker::before,
html[data-device=mobile] .t997-marker::after{border-left-width:7px;border-right-width:7px}
html[data-device=mobile] .t997-marker::before{border-top-width:9px}
html[data-device=mobile] .t997-marker::after{border-bottom-width:9px}
html[data-device=mobile] .t997-cta{
  position:static;order:3;margin:20px 0 0;width:100%;
}
html body[data-device=mobile] .t997-hero .t997-spin.g-btn,
html[data-device=mobile] body .t997-hero .t997-spin.g-btn{
  width:100%;height:35px;border-radius:8px;font-size:14px;font-weight:600;padding:0 16px;line-height:20px;
}
html[data-device=mobile] .t997-stats{
  position:static;order:4;left:auto;top:auto;
  width:auto;max-width:100%;
  display:flex;flex-direction:column;align-items:stretch;
  gap:12px;margin-top:20px;
}
html[data-device=mobile] .t997-st{width:auto;flex:none;height:60px}

/* ---- chance overlay: style from design, size fits the prize card ---- */
html .g-prz{overflow:visible}
html .g-pz{position:relative;overflow:hidden;cursor:pointer}
.t997-tip{
  position:absolute;inset:0;z-index:5;
  box-sizing:border-box;
  border-radius:inherit;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:8px;padding:12px 10px;
  background:linear-gradient(180deg,rgba(28,34,48,.86) 0%,rgba(28,34,48,.94) 100%);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  color:#fff;
  font-family:Montserrat,Arial,sans-serif;
  text-align:center;
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .18s ease,visibility .18s ease;
}
@media (hover:hover) and (pointer:fine){
  html .g-pz:hover .t997-tip,
  html .g-pz:focus-visible .t997-tip{opacity:1;visibility:visible}
}
html .g-pz.is-tip .t997-tip{opacity:1;visibility:visible}
.t997-tip-rarity{
  font-size:12px;line-height:normal;font-weight:600;letter-spacing:.4px;text-transform:uppercase;
}
.t997-tip[data-rarity="legendary"] .t997-tip-rarity{color:#ffcc31}
.t997-tip[data-rarity="rare"] .t997-tip-rarity{color:#6fb2ff}
.t997-tip[data-rarity="uncommon"] .t997-tip-rarity{color:#ff8d28}
.t997-tip[data-rarity="common"] .t997-tip-rarity{color:#c6cedb}
.t997-tip-cap,
.t997-tip-odds{
  font-size:12px;line-height:normal;font-weight:600;letter-spacing:-.3px;color:#ffffff9e;
}
.t997-tip-pct{
  font-size:clamp(28px, 18cqi, 36px);line-height:1;font-weight:700;letter-spacing:-1.5px;color:#fff;
  white-space:nowrap;
}
.t997-tip-bar{
  width:64%;max-width:120px;height:4px;margin-top:2px;
  background:#ffffff29;border-radius:2px;overflow:visible;
}
.t997-tip-bar>i{
  display:block;height:4px;width:0;max-width:100%;
  border-radius:2px;background:#c6cedb;
  transition:width .45s ease;
}
.t997-tip[data-rarity="legendary"] .t997-tip-bar>i{background:#ffcc31}
.t997-tip[data-rarity="rare"] .t997-tip-bar>i{background:#7fb6ff}
.t997-tip[data-rarity="uncommon"] .t997-tip-bar>i{background:#ff8d28}
.t997-tip[data-rarity="common"] .t997-tip-bar>i{background:#c6cedb}
@media (hover:hover) and (pointer:fine){
  html .g-pz:hover .t997-tip-bar>i,
  html .g-pz:focus-visible .t997-tip-bar>i{width:var(--fill,6%)}
  html .g-pz:hover .t997-tip[data-rarity="legendary"] .t997-tip-bar>i,
  html .g-pz:focus-visible .t997-tip[data-rarity="legendary"] .t997-tip-bar>i{
    width:var(--fill,6%);
    animation:t997-leg-pulse 1.6s ease-in-out .45s infinite;
  }
}
html .g-pz.is-tip .t997-tip-bar>i{width:var(--fill,6%)}
html .g-pz.is-tip .t997-tip[data-rarity="legendary"] .t997-tip-bar>i{
  width:var(--fill,6%);
  animation:t997-leg-pulse 1.6s ease-in-out .45s infinite;
}
@keyframes t997-leg-pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(255,204,49,0);filter:brightness(1)}
  50%{box-shadow:0 0 7px 1px rgba(255,204,49,.75);filter:brightness(1.28)}
}
html[data-device=mobile] .t997-tip-rarity{font-size:11px}
html[data-device=mobile] .t997-tip-cap,
html[data-device=mobile] .t997-tip-odds{font-size:12px}
html[data-device=mobile] .t997-tip-pct{font-size:28px;letter-spacing:-1px}

@media (prefers-reduced-motion:reduce){
  .t997-copy,.t997-cta,.t997-wheel,.t997-stats,.t997-spark,
  .t997-star,.t997-star img{animation:none}
  .t997-tip{transition:none}
  .t997-card.is-win{transition:none}
  html .g-pz:hover .t997-tip-bar>i,
  html .g-pz:focus-visible .t997-tip-bar>i,
  html .g-pz.is-tip .t997-tip-bar>i,
  html .g-pz:hover .t997-tip[data-rarity="legendary"] .t997-tip-bar>i,
  html .g-pz.is-tip .t997-tip[data-rarity="legendary"] .t997-tip-bar>i{
    animation:none;transition:none;width:var(--fill,6%);filter:none;box-shadow:none
  }
}
html[data-device=mobile] body .t997-hero h1.t997-title{font-size:40px;line-height:44px;letter-spacing:-.24px}


/* ---- t131: подгонка под сайт ---- */
html[data-device=desktop] .t997-hero,html:not([data-device=mobile]) .t997-hero{width:100%;max-width:1200px}
html:not([data-device=mobile]) .t997-wheel{left:350px;width:calc(100% - 350px)}
html:not([data-device=mobile]) .t997-stats{left:350px;width:calc(100% - 350px)}
html body .g-whp.n-wheel-off{display:none!important}
.t997-card-tx b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.t997-card.is-game .t997-card-art{background:#fff}
.t997-card.is-mc .t997-card-art[src*="gift"]{top:13px;left:43px;width:102px;height:105px;object-fit:contain;border-radius:0}
.n-rl-old{font-size:14px;line-height:26px;font-weight:500;color:#a0a8b5;white-space:nowrap}
.t997-spin[aria-busy=true]{opacity:.7;pointer-events:none}
.t997-st-pill span{font:inherit;color:inherit}
html[data-theme=dark] .t997-card.is-game{background:#1f3550;border-color:#1f3550}
html[data-theme=dark] .t997-card.is-bonus{background:#2a2340;border-color:#3a2f5a}
html[data-theme=dark] .t997-card.is-secret{background:#3a2b1d;border-color:#4a3622}
html[data-theme=dark] .t997-card.is-mc{background:#22331b;border-color:#6eb83f}
html[data-theme=dark] .t997-card-tx b{color:#f4f7fb}
html[data-theme=dark] .t997-card-tx span{color:#8f9cb0}
html[data-theme=dark] .t997-card.is-game .t997-card-art{background:#262d3a}
html[data-device=mobile] .t997-card.is-mc .t997-card-art[src*="gift"]{top:10px;left:32px;width:84px;height:86px}
html[data-device=mobile] .n-rl-old{font-size:12px;line-height:22px}
html[data-device=mobile] .t997-wheel{position:relative!important;height:230px}
html[data-device=mobile] .t997-hero .t997-crumbs{display:flex}
/* подсказка шанса: моб. нажатие (класс из fix.js) */
html .g-pz.is-chance .t997-tip{opacity:1;visibility:visible}
html .g-pz.is-chance .t997-tip-bar>i{width:var(--fill,6%)}
html .g-pz.is-chance .t997-tip[data-rarity="legendary"] .t997-tip-bar>i{animation:t997-leg-pulse 1.6s ease-in-out .45s infinite}
