* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  padding: 14px 8px 28px;
  display: flex;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
  color: #72462f;
  background: #dff3fb;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.app-shell {
  position: relative;
  width: min(100%, 430px);
  min-height: 100vh;
  overflow: hidden;
  padding: 14px 12px 18px;
  border-radius: 32px;
  background:
    linear-gradient(rgba(255, 250, 240, .74), rgba(255, 238, 218, .70)),
    url("./assets/kotopad_png_assets_ready_v3_transparent/02_background_garden.png") center top / cover no-repeat;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.76),
    0 22px 60px rgba(114,74,52,.22);
}

/* ===== HERO ===== */

.hero {
  position: relative;
  min-height: 245px;
}

.profile-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 142px;
  min-height: 76px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 24px;
  background: rgba(255, 248, 234, .94);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 10px 22px rgba(114,74,52,.14);
}

.profile-avatar {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.profile-info {
  display: grid;
}

.profile-info b {
  font-size: 14px;
  line-height: 1;
}

.profile-info span {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #95684d;
}

.profile-card i {
  position: absolute;
  right: -5px;
  bottom: -5px;
  min-width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(180deg, #7ed0ff, #4a95dc);
  color: #fff;
  font-size: 11px;
  font-weight: 1000;
  font-style: normal;
}

.wallet-card,
.shop-card {
  position: absolute;
  right: 0;
  width: 150px;
  min-height: 54px;
  padding: 7px 8px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 10px 20px rgba(114,74,52,.13);
}

.wallet-card {
  top: 0;
  display: grid;
  grid-template-columns: 34px 1fr 24px;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #fff9eb, #f7e4c7);
  z-index: 4;
}

.wallet-card img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.wallet-card b {
  font-size: 14px;
  font-weight: 1000;
}

.wallet-card span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #9bea86, #59c865);
  color: #fff;
  font-size: 18px;
  font-weight: 1000;
}

.shop-card {
  top: 62px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #d9f5dd, #bff0cb);
  z-index: 3;
  overflow: visible;
}

.shop-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  font-size: 18px;
}

.shop-text {
  display: grid;
  text-align: left;
}

.shop-text b {
  font-size: 13px;
  line-height: 1;
  color: #2d7b59;
}

.shop-text span {
  margin-top: 3px;
  font-size: 8px;
  font-weight: 700;
  color: #5f8b72;
}

.shop-card em {
  position: absolute;
  right: 6px;
  top: -7px;
  min-width: 26px;
  padding: 2px 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9bb9, #ef7298);
  color: #fff;
  font-size: 8px;
  font-weight: 1000;
  font-style: normal;
  box-shadow: 0 4px 8px rgba(165,70,94,.18);
}

.logo-wrap {
  padding-top: 118px;
  text-align: center;
}

.logo-wrap img {
  width: min(100%, 286px);
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 10px rgba(114,74,52,.15));
}

.logo-ribbon {
  display: inline-block;
  margin-top: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff0c7, #ffd892);
  color: #9b6240;
  font-size: 10px;
  font-weight: 900;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.46),
    0 8px 16px rgba(114,74,52,.10);
}

/* ===== TOP STRIP ===== */

.top-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 8px;
  margin-top: 4px;
  align-items: stretch;
}

.score-card {
  position: relative;
  width: 100%;
  max-width: 245px;
  min-height: 86px;
  padding: 11px 72px 9px 14px;
  justify-self: start;
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 18%, rgba(255,255,255,.96), transparent 24%),
    linear-gradient(180deg, rgba(255,252,244,.98), rgba(255,239,216,.96));
  border: 2px solid rgba(255,255,255,.78);
  box-shadow:
    0 13px 24px rgba(114,74,52,.14),
    inset 0 0 0 1px rgba(229,188,132,.25);
}

.score-label {
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 1000;
  line-height: 1;
  color: #8e5d3f;
  text-transform: uppercase;
}

.score-value {
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", "Segoe UI", sans-serif;
  margin-top: 4px;
  font-size: 28px;
  line-height: 1;
  font-weight: 1000;
  color: #72412b;
  letter-spacing: .5px;
}

.score-record {
  margin-top: 6px;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  color: #9d7057;
}

.combo-badge {
  position: absolute;
  right: -2px;
  top: -8px;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.55), transparent 24%),
    linear-gradient(180deg, #ff9eb8, #ef6b95);
  color: #fff;
  border: 3px solid rgba(255,225,218,.9);
  box-shadow:
    0 10px 18px rgba(164,70,94,.22),
    inset 0 0 0 2px rgba(255,255,255,.18);
}

.combo-badge span {
  font-size: 9px;
  font-weight: 1000;
  line-height: 1;
}

.combo-badge b {
  margin-top: 2px;
  font-size: 23px;
  line-height: 1;
  text-shadow: 0 3px 0 rgba(121,42,67,.15);
}

.next-card {
  min-height: 86px;
  padding: 6px 5px;
  display: grid;
  justify-items: center;
  align-content: center;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,252,244,.98), rgba(255,239,216,.96));
  border: 2px solid rgba(255,255,255,.76);
  box-shadow: 0 13px 24px rgba(114,74,52,.13);
  text-align: center;
}

.next-cat {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff3cf;
  font-size: 21px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.72);
}

.next-card b {
  display: block;
  margin-top: 5px;
  font-size: 8px;
  text-transform: uppercase;
  color: #5d9fba;
}

.next-card span {
  display: block;
  margin-top: 2px;
  font-size: 8px;
  font-weight: 800;
  color: #9b7056;
  line-height: 1.05;
}

/* ===== CONTENT ===== */

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 8px;
  align-items: start;
  margin-top: 10px;
}

.warning {
  height: 34px;
  margin-bottom: 8px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(255,252,247,.93);
  color: #e87798;
  font-size: 10px;
  font-weight: 1000;
  box-shadow: 0 8px 14px rgba(114,74,52,.08);
}

.warning b {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #ffd884;
  color: #fff;
}

.board-frame {
  padding: 8px;
  border-radius: 25px;
  background: linear-gradient(180deg, #ffe9c9, #ffd5b7);
  box-shadow:
    inset 0 0 0 4px rgba(255,255,255,.28),
    0 16px 28px rgba(114,74,52,.14);
}

.board-inner {
  position: relative;
  height: 540px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(173,117,77,.08) 1px, transparent 1px) 0 0 / 46px 100%,
    radial-gradient(circle at 28% 12%, rgba(255,255,255,.62), transparent 22%),
    linear-gradient(180deg, #fffdf2, #f7ead5);
  border: 4px solid rgba(255,255,255,.92);
  box-shadow:
    inset 0 0 0 4px rgba(163,132,96,.10),
    inset 0 -30px 70px rgba(210,160,105,.16);
}

.drop-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,220,82,.96), rgba(255,188,45,.96));
  box-shadow: 0 0 12px rgba(255,198,46,.45);
}

.empty-note {
  position: absolute;
  inset: auto 18px 24px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  color: rgba(126,82,55,.52);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

/* ===== SIDE ===== */

.side-column {
  display: grid;
  gap: 10px;
}

.leaders-card,
.vpn-card {
  border-radius: 22px;
  padding: 9px;
  box-shadow: 0 14px 26px rgba(114,74,52,.14);
}

.leaders-card {
  background: linear-gradient(180deg, rgba(255,251,239,.98), rgba(255,239,211,.96));
  border: 1px solid rgba(255,255,255,.82);
}

.leaders-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1;
  text-align: center;
  font-weight: 1000;
}

.leader-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 4px;
  align-items: center;
  min-height: 32px;
  margin-bottom: 6px;
  padding: 0 6px;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  font-size: 9px;
  font-weight: 900;
}

.leader-row.first {
  background: linear-gradient(180deg, #ffe987, #ffd967);
}

.leader-row.mine {
  background: linear-gradient(180deg, #eaf4ff, #d6ecff);
}

.leader-row i {
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.64);
  font-style: normal;
}

.leader-row span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.vpn-card {
  min-height: 184px;
  color: #1c6597;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.44), transparent 28%),
    linear-gradient(180deg, #c1efff 0%, #7acff8 100%);
  border: 1px solid rgba(255,255,255,.82);
  text-align: center;
}

.vpn-badge {
  width: 44px;
  height: 23px;
  display: grid;
  place-items: center;
  margin: 0 auto 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  font-size: 11px;
  font-weight: 1000;
}

.vpn-card h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1;
  font-weight: 1000;
}

.vpn-card p {
  margin: 7px 0 11px;
  font-size: 10px;
  line-height: 1.12;
  font-weight: 900;
}

.vpn-card button {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(180deg, #3eb4f7, #178de2);
  font-size: 11px;
  font-weight: 1000;
}

/* ===== BOTTOM ===== */

.bottom-nav {
  position: sticky;
  bottom: 8px;
  z-index: 10;
  margin-top: 12px;
  min-height: 78px;
  padding: 6px 6px 8px;
  display: grid;
  grid-template-columns: 1fr 1fr 72px 1fr 1fr;
  gap: 4px;
  align-items: end;
  border-radius: 24px;
  background: rgba(255,246,226,.94);
  box-shadow: 0 18px 34px rgba(114,74,52,.17);
  backdrop-filter: blur(10px);
}

.bottom-nav button {
  min-height: 62px;
  border: 0;
  padding: 4px 2px 5px;
  display: grid;
  justify-items: center;
  align-content: center;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,252,244,.98), rgba(250,238,214,.96));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.85),
    0 8px 14px rgba(114,74,52,.10);
}

.bottom-nav img {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 5px 6px rgba(114,74,52,.12));
}

.bottom-nav span {
  margin-top: 2px;
  font-size: 8px;
  line-height: 1;
  font-weight: 1000;
  color: #72462f;
}

.bottom-nav .main-paw {
  min-height: 72px;
  background: transparent;
  box-shadow: none;
  transform: translateY(-8px);
}

.bottom-nav .main-paw img {
  width: 76px;
  height: 76px;
}

.bottom-tip {
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(234,177,151,.92), rgba(213,143,122,.90));
  color: #fff;
  text-align: center;
  font-size: 9px;
  font-weight: 900;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.30);
}

/* ===== SMALL PHONES ===== */

@media (max-width: 390px) {
  .profile-card {
    width: 130px;
  }

  .wallet-card,
  .shop-card {
    width: 138px;
  }

  .logo-wrap {
    padding-top: 116px;
  }

  .logo-wrap img {
    width: 270px;
  }

  .top-strip {
    grid-template-columns: minmax(0, 1fr) 82px;
  }

  .score-card {
    max-width: 228px;
    min-height: 82px;
    padding: 10px 66px 8px 12px;
  }

  .score-value {
    font-size: 26px;
  }

  .combo-badge {
    width: 70px;
    height: 70px;
  }

  .combo-badge b {
    font-size: 21px;
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr) 102px;
    gap: 7px;
  }

  .board-inner {
    height: 510px;
  }

  .leader-row {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    font-size: 8px;
  }

  .bottom-nav {
    grid-template-columns: 1fr 1fr 66px 1fr 1fr;
    gap: 3px;
  }

  .bottom-nav img {
    width: 39px;
    height: 39px;
  }

  .bottom-nav .main-paw img {
    width: 70px;
    height: 70px;
  }

  .bottom-nav span {
    font-size: 7px;
  }
}

/* ===== V40.4 VPN CAT + CANVAS SLOT ===== */

/* VPN-блок делаем более рекламным и живым */
.vpn-card {
  position: relative !important;
  min-height: 208px !important;
  overflow: hidden !important;
  padding: 8px 8px 10px !important;
  background:
    radial-gradient(circle at 80% 18%, rgba(255,255,255,.62), transparent 28%),
    radial-gradient(circle at 35% 48%, rgba(255,255,255,.32), transparent 30%),
    linear-gradient(180deg, #c6f2ff 0%, #79cdf8 100%) !important;
}

.vpn-card::before {
  content: "⌁";
  position: absolute;
  right: 10px;
  top: 42px;
  color: rgba(255,255,255,.72);
  font-size: 32px;
  font-weight: 1000;
  transform: rotate(-18deg);
}

.vpn-badge {
  position: relative !important;
  z-index: 2 !important;
  margin-bottom: 4px !important;
}

.vpn-card h2 {
  position: relative !important;
  z-index: 2 !important;
  font-size: 25px !important;
  margin-bottom: 4px !important;
}

.vpn-cat-figure {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
  margin: 1px auto 5px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.30);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.48),
    0 8px 14px rgba(33,103,147,.16);
}

.vpn-cat-figure img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 5px 6px rgba(40,80,100,.18));
}

.vpn-card p {
  position: relative !important;
  z-index: 2 !important;
  margin: 4px 0 9px !important;
  font-size: 10px !important;
  line-height: 1.08 !important;
}

.vpn-card button {
  position: relative !important;
  z-index: 2 !important;
  min-height: 34px !important;
}

/* Поле готовим под настоящий canvas */
.board-inner {
  isolation: isolate !important;
}

.live-canvas-slot {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.drop-line {
  z-index: 3 !important;
}

.empty-note {
  z-index: 4 !important;
  bottom: 22px !important;
  background: rgba(255,255,255,.66) !important;
}

/* Визуально поле чуть чище и ближе к продакшну */
.board-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 8%, rgba(255,255,255,.34), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,226,178,.08));
}

/* маленькие экраны */
@media (max-width: 390px) {
  .vpn-card {
    min-height: 194px !important;
    padding: 7px !important;
  }

  .vpn-cat-figure {
    width: 54px !important;
    height: 54px !important;
    margin-bottom: 4px !important;
  }

  .vpn-cat-figure img {
    width: 51px !important;
    height: 51px !important;
  }

  .vpn-card h2 {
    font-size: 23px !important;
  }

  .vpn-card p {
    font-size: 9px !important;
  }
}

/* ===== V40.5 REFERENCE VPN CAT CARD ===== */

.vpn-card-ref {
  position: relative !important;
  min-height: 232px !important;
  padding: 8px 8px 10px !important;
  overflow: hidden !important;
  color: #1c6597 !important;
  text-align: center !important;
  background:
    radial-gradient(circle at 78% 26%, rgba(255,255,255,.62), transparent 30%),
    linear-gradient(180deg, #c7f1ff 0%, #7ccff8 100%) !important;
}

.vpn-card-ref .vpn-badge {
  position: relative !important;
  z-index: 3 !important;
  margin-bottom: 3px !important;
}

.vpn-card-ref h2 {
  position: relative !important;
  z-index: 3 !important;
  margin: 0 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
}

.vpn-ref-cat {
  position: relative !important;
  z-index: 2 !important;
  width: 86px !important;
  height: 68px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 2px auto 2px !important;
  filter: drop-shadow(0 8px 8px rgba(38,91,128,.20)) !important;
}

.vpn-card-ref p {
  position: relative !important;
  z-index: 3 !important;
  margin: 2px 0 5px !important;
  font-size: 11px !important;
  line-height: 1.05 !important;
  font-weight: 1000 !important;
}

.vpn-list {
  position: relative !important;
  z-index: 3 !important;
  list-style: none !important;
  margin: 0 0 7px !important;
  padding: 0 !important;
  display: grid !important;
  gap: 2px !important;
  text-align: left !important;
  color: #1e6899 !important;
  font-size: 8px !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
}

.vpn-list li {
  position: relative !important;
  padding-left: 12px !important;
}

.vpn-list li::before {
  content: "✓" !important;
  position: absolute !important;
  left: 0 !important;
  top: -1px !important;
  color: #2fbf6b !important;
  font-size: 10px !important;
  font-weight: 1000 !important;
}

.vpn-card-ref button {
  position: relative !important;
  z-index: 3 !important;
  min-height: 33px !important;
  border-radius: 14px !important;
  font-size: 10px !important;
}

/* маленькие экраны */
@media (max-width: 390px) {
  .vpn-card-ref {
    min-height: 218px !important;
    padding: 7px !important;
  }

  .vpn-ref-cat {
    width: 78px !important;
    height: 62px !important;
  }

  .vpn-card-ref h2 {
    font-size: 22px !important;
  }

  .vpn-card-ref p {
    font-size: 10px !important;
  }

  .vpn-list {
    font-size: 7px !important;
  }
}

/* ===== V40.6 BEAUTIFUL SHOP PNG FIX ===== */

.shop-card-png {
  position: absolute !important;
  top: 62px !important;
  right: 0 !important;
  width: 150px !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  z-index: 4 !important;
  filter: drop-shadow(0 10px 14px rgba(114,74,52,.13)) !important;
}

.shop-card-png img {
  width: 150px !important;
  height: 54px !important;
  display: block !important;
  object-fit: contain !important;
}

/* деньги сверху, магазин строго ниже */
.wallet-card {
  top: 0 !important;
  right: 0 !important;
  width: 150px !important;
  min-height: 54px !important;
  z-index: 5 !important;
}

/* логотип ниже, чтобы магазин не залезал */
.logo-wrap {
  padding-top: 122px !important;
}

/* на маленьких экранах */
@media (max-width: 390px) {
  .shop-card-png {
    width: 138px !important;
    height: 50px !important;
  }

  .shop-card-png img {
    width: 138px !important;
    height: 50px !important;
  }

  .wallet-card {
    width: 138px !important;
  }

  .logo-wrap {
    padding-top: 118px !important;
  }
}

/* ===== V40.7 SHOP SIZE TUNE ===== */

:root {
  --wallet-w: 150px;
  --wallet-h: 54px;
}

/* деньги */
.wallet-card {
  width: var(--wallet-w) !important;
  min-height: var(--wallet-h) !important;
  height: var(--wallet-h) !important;
  top: 0 !important;
  right: 0 !important;
}

/* магазин - тот же габаритный блок */
.shop-card-png {
  top: 64px !important;
  right: 0 !important;
  width: var(--wallet-w) !important;
  height: var(--wallet-h) !important;
  min-height: var(--wallet-h) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  z-index: 4 !important;
}

/* сам PNG подгоняем красиво внутрь блока */
.shop-card-png img {
  display: block !important;
  width: 148px !important;
  height: auto !important;
  max-height: 54px !important;
  object-fit: contain !important;
}

/* чтобы логотип не задело */
.logo-wrap {
  padding-top: 124px !important;
}

/* мобильная версия */
@media (max-width: 390px) {
  :root {
    --wallet-w: 138px;
    --wallet-h: 50px;
  }

  .shop-card-png {
    top: 60px !important;
  }

  .shop-card-png img {
    width: 136px !important;
    max-height: 50px !important;
  }

  .logo-wrap {
    padding-top: 118px !important;
  }
}

/* ===== V40.8 SHOP EXACTLY LIKE WALLET ===== */

:root {
  --wallet-w-exact: 150px;
  --wallet-h-exact: 54px;
}

.wallet-card {
  width: var(--wallet-w-exact) !important;
  height: var(--wallet-h-exact) !important;
  min-height: var(--wallet-h-exact) !important;
}

.shop-card-png {
  top: 64px !important;
  right: 0 !important;
  width: var(--wallet-w-exact) !important;
  height: var(--wallet-h-exact) !important;
  min-height: var(--wallet-h-exact) !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

/* PNG заполняет контейнер почти полностью */
.shop-card-png img {
  width: 150px !important;
  height: 54px !important;
  max-width: 150px !important;
  max-height: 54px !important;
  object-fit: contain !important;
  display: block !important;
}

/* чтобы не давило логотип */
.logo-wrap {
  padding-top: 124px !important;
}

@media (max-width: 390px) {
  :root {
    --wallet-w-exact: 138px;
    --wallet-h-exact: 50px;
  }

  .shop-card-png {
    top: 60px !important;
  }

  .shop-card-png img {
    width: 138px !important;
    height: 50px !important;
    max-width: 138px !important;
    max-height: 50px !important;
  }

  .logo-wrap {
    padding-top: 118px !important;
  }
}

/* ===== V40.9 LIVE SHOP BLOCK PRODUCTION ===== */

/* общий размер: магазин 1 в 1 как деньги */
:root {
  --top-card-w: 150px;
  --top-card-h: 54px;
}

/* деньги */
.wallet-card {
  top: 0 !important;
  right: 0 !important;
  width: var(--top-card-w) !important;
  height: var(--top-card-h) !important;
  min-height: var(--top-card-h) !important;
}

/* живой магазин */
.shop-card-live {
  position: absolute !important;
  top: 64px !important;
  right: 0 !important;
  width: var(--top-card-w) !important;
  height: var(--top-card-h) !important;
  min-height: var(--top-card-h) !important;

  display: grid !important;
  grid-template-columns: 38px 1fr !important;
  align-items: center !important;
  gap: 6px !important;

  padding: 7px 9px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.88) !important;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.88), transparent 28%),
    linear-gradient(180deg, #def8e8 0%, #b8edc8 100%) !important;

  box-shadow:
    0 10px 20px rgba(114,74,52,.13),
    inset 0 0 0 1px rgba(255,255,255,.38) !important;

  overflow: visible !important;
  z-index: 4 !important;
}

/* убираем старые настройки PNG-магазина */
.shop-card-png,
.shop-card-png img {
  all: unset;
}

.shop-live-icon {
  width: 36px !important;
  height: 36px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 13px !important;
  background: rgba(255,255,255,.56) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.74),
    0 5px 9px rgba(60,120,90,.10) !important;
}

.shop-live-icon img {
  width: 31px !important;
  height: 31px !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 4px 5px rgba(60,120,90,.14)) !important;
}

.shop-live-text {
  min-width: 0 !important;
  display: grid !important;
  text-align: left !important;
}

.shop-live-text b {
  display: block !important;
  margin: 0 !important;
  color: #2d7b59 !important;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", "Segoe UI", sans-serif !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  letter-spacing: .2px !important;
}

.shop-live-text small {
  display: block !important;
  margin-top: 3px !important;
  color: #5a9275 !important;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", "Segoe UI", sans-serif !important;
  font-size: 7.5px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

.shop-card-live em {
  position: absolute !important;
  top: -8px !important;
  right: 5px !important;
  min-width: 29px !important;
  height: 18px !important;
  padding: 0 6px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #ff9bb9, #ef7298) !important;
  color: #fff !important;
  font-size: 8px !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  font-style: normal !important;
  transform: rotate(7deg) !important;
  box-shadow: 0 4px 8px rgba(165,70,94,.18) !important;
}

/* чтобы магазин не лез на лого */
.logo-wrap {
  padding-top: 126px !important;
}

/* маленькие экраны */
@media (max-width: 390px) {
  :root {
    --top-card-w: 138px;
    --top-card-h: 50px;
  }

  .shop-card-live {
    top: 60px !important;
    grid-template-columns: 35px 1fr !important;
    gap: 5px !important;
    padding: 6px 8px !important;
  }

  .shop-live-icon {
    width: 33px !important;
    height: 33px !important;
    border-radius: 12px !important;
  }

  .shop-live-icon img {
    width: 29px !important;
    height: 29px !important;
  }

  .shop-live-text b {
    font-size: 12px !important;
  }

  .shop-live-text small {
    font-size: 7px !important;
  }

  .logo-wrap {
    padding-top: 120px !important;
  }
}
