/* KVANTYRA WALLET STARS PHOTO V166 */
body.kv-v166-photo-mode #createSub,
body.kv-v166-photo-mode #kvStudioModelHintV157,
body.kv-v166-photo-mode #create .panel > #genOut,
body.kv-v166-photo-mode #create #genOut{
  display:none!important;visibility:hidden!important;opacity:0!important;
  width:0!important;height:0!important;min-height:0!important;max-height:0!important;
  margin:0!important;padding:0!important;border:0!important;overflow:hidden!important
}

#billing.kv-wallet-v160-screen{padding-bottom:calc(220px + env(safe-area-inset-bottom,0px))!important;scroll-padding-bottom:calc(220px + env(safe-area-inset-bottom,0px))}
#billing .kv-wallet-v160{display:grid;gap:14px;width:100%;max-width:760px;margin:0 auto}
#billing .kv-wallet-v160-hero,
#billing .kv-wallet-v160-currency,
#billing .kv-wallet-v160-pack,
#billing .kv-wallet-v160-checkout{
  position:relative;overflow:hidden;border:1px solid rgba(208,176,255,.18);
  background:radial-gradient(circle at 5% 0,rgba(143,88,255,.25),transparent 34%),linear-gradient(150deg,rgba(26,25,61,.97),rgba(7,9,26,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 20px 55px rgba(0,0,0,.25)
}
#billing .kv-wallet-v160-hero{padding:19px;border-radius:30px}
#billing .kv-wallet-v160-hero:after{content:"";position:absolute;width:180px;height:180px;right:-70px;top:-85px;border-radius:50%;background:radial-gradient(circle,rgba(187,70,255,.28),transparent 68%);pointer-events:none}
#billing .kv-wallet-v160-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px}
#billing .kv-wallet-v160-back{min-width:44px;height:44px;padding:0 13px;border:1px solid rgba(219,196,255,.17);border-radius:15px;background:rgba(255,255,255,.06);color:#fff;font:900 13px/1 system-ui}
#billing .kv-wallet-v160-brand{display:flex;align-items:center;gap:9px;min-width:0}
#billing .kv-wallet-v160-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:15px;color:#fff;font:1000 21px/1 system-ui;background:linear-gradient(145deg,#668bff,#b943ff);box-shadow:0 10px 28px rgba(141,73,255,.35),inset 0 1px 0 rgba(255,255,255,.34)}
#billing .kv-wallet-v160-brand span:last-child{display:grid;gap:2px;min-width:0}
#billing .kv-wallet-v160-brand b{color:#fff;font:1000 13px/1 system-ui;letter-spacing:.12em}
#billing .kv-wallet-v160-brand small{color:rgba(227,215,255,.55);font:850 9px/1 system-ui;letter-spacing:.14em;text-transform:uppercase}
#billing .kv-wallet-v160-title{position:relative;z-index:1;margin-top:22px}
#billing .kv-wallet-v160-title>span{color:#bca1ff;font:1000 10px/1 system-ui;letter-spacing:.22em;text-transform:uppercase}
#billing .kv-wallet-v160-title h2{margin:7px 0 0;color:#fff;font:1000 clamp(31px,8vw,42px)/.98 system-ui;letter-spacing:-.055em}
#billing .kv-wallet-v160-title p{margin:10px 0 0;max-width:530px;color:rgba(229,219,251,.65);font:750 13px/1.45 system-ui}
#billing .kv-wallet-v160-balance{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin-top:18px;padding:15px;border-radius:22px;border:1px solid rgba(221,197,255,.17);background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(91,66,163,.10))}
#billing .kv-wallet-v160-balance small{display:block;color:rgba(226,214,249,.58);font:900 10px/1 system-ui;letter-spacing:.14em;text-transform:uppercase}
#billing .kv-wallet-v160-balance strong{display:block;margin-top:7px;color:#fff;font:1000 33px/.9 system-ui;letter-spacing:-.045em}
#billing .kv-wallet-v160-balance strong em{color:#c592ff;font:1000 16px/1 system-ui;font-style:normal;margin-left:5px}
#billing .kv-wallet-v160-secure{align-self:center;display:flex;align-items:center;gap:7px;color:#9df2c9;font:900 10px/1.2 system-ui}
#billing .kv-wallet-v160-secure i{width:8px;height:8px;border-radius:50%;background:#5ce2a5;box-shadow:0 0 16px #5ce2a5}

#billing .kv-wallet-v160-currency{padding:15px;border-radius:26px}
#billing .kv-wallet-v160-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin-bottom:12px}
#billing .kv-wallet-v160-section-head div{min-width:0}
#billing .kv-wallet-v160-section-head span{display:block;color:#bda4ff;font:1000 9px/1 system-ui;letter-spacing:.18em;text-transform:uppercase}
#billing .kv-wallet-v160-section-head h3{margin:6px 0 0;color:#fff;font:1000 21px/1 system-ui;letter-spacing:-.035em}
#billing .kv-wallet-v160-section-head small{color:rgba(225,214,249,.52);font:800 10px/1.25 system-ui;text-align:right}
#billing .kv-wallet-v160-currencies{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
#billing .kv-wallet-v160-currencies::-webkit-scrollbar{display:none}
#billing .kv-wallet-v160-currencies button{flex:0 0 auto;min-width:62px;height:43px;padding:0 13px;border:1px solid rgba(213,189,255,.14);border-radius:14px;background:rgba(255,255,255,.045);color:rgba(236,228,255,.63);font:950 12px/1 system-ui}
#billing .kv-wallet-v160-currencies button.active{border-color:rgba(206,164,255,.54);background:linear-gradient(135deg,#6387ff,#b43fff);color:#fff;box-shadow:0 10px 25px rgba(129,68,255,.27),inset 0 1px 0 rgba(255,255,255,.25)}
#billing .kv-wallet-v160-note{display:flex;gap:9px;align-items:flex-start;margin-top:11px;color:rgba(224,214,247,.57);font:750 10px/1.4 system-ui}
#billing .kv-wallet-v160-note b{flex:0 0 auto;color:#ffd98b}

#billing .kv-wallet-v160-packs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#billing .kv-wallet-v160-pack{min-width:0;padding:15px;border-radius:25px;text-align:left;color:#fff;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
#billing .kv-wallet-v160-pack:active{transform:scale(.985)}
#billing .kv-wallet-v160-pack.selected{border-color:rgba(207,155,255,.72);box-shadow:0 0 0 2px rgba(145,80,255,.13),0 18px 45px rgba(77,40,161,.24),inset 0 1px 0 rgba(255,255,255,.14)}
#billing .kv-wallet-v160-pack.popular:before{content:"Выбор авторов";position:absolute;right:10px;top:10px;padding:6px 8px;border-radius:999px;background:linear-gradient(135deg,#ffbd4e,#ff6b96);color:#25102b;font:1000 8px/1 system-ui;letter-spacing:.06em;text-transform:uppercase}
#billing .kv-wallet-v160-pack-eyebrow{display:block;max-width:70%;color:#bca4ff;font:1000 9px/1.15 system-ui;letter-spacing:.11em;text-transform:uppercase}
#billing .kv-wallet-v160-pack h4{margin:15px 0 0;color:#fff;font:1000 22px/1 system-ui;letter-spacing:-.04em}
#billing .kv-wallet-v160-k{display:flex;align-items:baseline;gap:5px;margin-top:8px;color:#fff;font:1000 34px/.9 system-ui;letter-spacing:-.05em}
#billing .kv-wallet-v160-k i{color:#c493ff;font:1000 15px/1 system-ui;font-style:normal;letter-spacing:0}
#billing .kv-wallet-v160-pack p{min-height:34px;margin:11px 0 0;color:rgba(226,216,248,.58);font:750 10px/1.35 system-ui}
#billing .kv-wallet-v160-pack-price{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}
#billing .kv-wallet-v160-pack-price b{color:#fff;font:1000 15px/1 system-ui;white-space:nowrap}
#billing .kv-wallet-v160-pack-price small{color:rgba(224,213,248,.50);font:850 9px/1.2 system-ui;text-align:right}

#billing .kv-wallet-v160-checkout{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;border-radius:25px}
#billing .kv-wallet-v160-summary{min-width:0}
#billing .kv-wallet-v160-summary small{display:block;color:rgba(226,216,249,.54);font:850 9px/1 system-ui;letter-spacing:.12em;text-transform:uppercase}
#billing .kv-wallet-v160-summary strong{display:block;margin-top:6px;color:#fff;font:1000 18px/1.05 system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#billing .kv-wallet-v160-summary span{display:block;margin-top:5px;color:#bda6ff;font:850 10px/1 system-ui}
#billing .kv-wallet-v160-pay{min-width:154px;height:56px;padding:0 16px;border:0;border-radius:18px;background:linear-gradient(135deg,#6487ff,#b73fff 78%);color:#fff;font:1000 14px/1 system-ui;box-shadow:0 13px 30px rgba(126,65,255,.33),inset 0 1px 0 rgba(255,255,255,.28)}
#billing .kv-wallet-v160-pay:disabled{opacity:.55;filter:saturate(.55)}
#billing .kv-wallet-v160-status{grid-column:1/-1;display:none;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.05);color:rgba(231,223,251,.72);font:800 11px/1.35 system-ui}
#billing .kv-wallet-v160-status.show{display:block}
#billing .kv-wallet-v160-status.success{color:#a4f4ce;background:rgba(50,205,139,.08)}
#billing .kv-wallet-v160-status.error{color:#ffb4d2;background:rgba(255,77,142,.08)}

#account .kv-account-v121-currency{grid-template-columns:repeat(4,minmax(0,1fr))!important}
#account .kv-account-v121-currency button{min-width:0!important}

@media(max-width:520px){
  #billing .kv-wallet-v160-packs{grid-template-columns:1fr 1fr}
  #billing .kv-wallet-v160-pack{padding:13px;border-radius:22px}
  #billing .kv-wallet-v160-pack h4{font-size:19px}
  #billing .kv-wallet-v160-k{font-size:29px}
  #billing .kv-wallet-v160-pack p{min-height:42px}
  #billing .kv-wallet-v160-checkout{grid-template-columns:1fr}
  #billing .kv-wallet-v160-pay{width:100%}
}
@media(max-width:365px){
  #billing .kv-wallet-v160-packs{grid-template-columns:1fr}
  #billing .kv-wallet-v160-pack p{min-height:0}
  #account .kv-account-v121-currency{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}


/* V166: one clear owner for the photo-only status area. */
body.kv-v166-photo-mode #create #genOut,
body.kv-v166-photo-mode #createSub,
body.kv-v166-photo-mode #kvStudioModelHintV157{
  display:none!important;visibility:hidden!important;opacity:0!important;
  width:0!important;height:0!important;min-height:0!important;max-height:0!important;
  margin:0!important;padding:0!important;border:0!important;overflow:hidden!important
}
#billing .kv-wallet-v160-pack-head{padding:4px 4px 0}
#billing .kv-wallet-v160-pack-head span{display:block;color:#bda4ff;font:1000 9px/1 system-ui;letter-spacing:.18em}
#billing .kv-wallet-v160-pack-head h3{margin:7px 0 0;color:#fff;font:1000 24px/1 system-ui;letter-spacing:-.04em}
#billing .kv-wallet-v160-pack-head p{margin:8px 0 0;color:rgba(226,216,248,.58);font:750 11px/1.42 system-ui}
#billing .kv-wallet-v160-pack.selected:after{content:"Выбрано ✓";position:absolute;right:12px;bottom:12px;padding:6px 9px;border-radius:999px;background:rgba(130,83,255,.22);border:1px solid rgba(205,174,255,.28);color:#dfcdff;font:950 8px/1 system-ui;letter-spacing:.05em;text-transform:uppercase}
@media(max-width:520px){
  #billing .kv-wallet-v160{gap:16px}
  #billing .kv-wallet-v160-hero{padding:21px 18px;border-radius:30px}
  #billing .kv-wallet-v160-currency{padding:18px;border-radius:27px}
  #billing .kv-wallet-v160-currencies{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}
  #billing .kv-wallet-v160-currencies button{min-width:0;padding:0 5px}
  #billing .kv-wallet-v160-packs{grid-template-columns:1fr}
  #billing .kv-wallet-v160-pack{padding:18px 17px;min-height:174px;border-radius:27px}
  #billing .kv-wallet-v160-pack h4{font-size:23px}
  #billing .kv-wallet-v160-k{font-size:36px}
  #billing .kv-wallet-v160-pack p{max-width:78%;min-height:0;font-size:11px}
  #billing .kv-wallet-v160-pack-price{padding-right:86px}
  #billing .kv-wallet-v160-checkout{padding:17px;border-radius:27px}
  #billing .kv-wallet-v160-pay{height:60px;font-size:15px}
}
@media(max-width:365px){#billing .kv-wallet-v160-currencies{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* KVANTYRA GALLERY DELETE + COMPACT WALLET V168 */
#billing .kv-wallet-v160-top{justify-content:flex-start}
#billing .kv-wallet-v160-title{text-align:center;margin-top:12px}
#billing .kv-wallet-v160-title p{margin-left:auto;margin-right:auto}
#billing .kv-wallet-v160-pack-head{text-align:center;padding:5px 14px 0}
#billing .kv-wallet-v160-pack-head p{max-width:430px;margin-left:auto;margin-right:auto}
#billing .kv-wallet-v160-packs{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#billing .kv-wallet-v160-pack{
  min-height:104px;padding:14px 13px;border-radius:21px;display:grid;
  grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 1fr auto;
  align-items:start;gap:6px 8px
}
#billing .kv-wallet-v160-pack:after{display:none!important;content:none!important}
#billing .kv-wallet-v160-pack.popular:before{
  content:"Хит";right:9px;top:9px;padding:5px 7px;font-size:7px
}
#billing .kv-wallet-v160-pack-name{
  grid-column:1/-1;display:block;max-width:72%;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap;color:rgba(235,226,255,.64);font:950 10px/1.1 system-ui;
  letter-spacing:.08em;text-transform:uppercase
}
#billing .kv-wallet-v160-pack>strong{
  align-self:end;color:#fff;font:1000 22px/.95 system-ui;letter-spacing:-.04em;white-space:nowrap
}
#billing .kv-wallet-v160-pack>strong i{color:#c492ff;font:1000 11px/1 system-ui;font-style:normal}
#billing .kv-wallet-v160-pack>small{
  grid-column:1/2;color:rgba(224,214,247,.52);font:800 9px/1.15 system-ui;white-space:nowrap
}
#billing .kv-wallet-v160-pack>b{
  grid-column:2/3;grid-row:2/4;align-self:center;display:grid;place-items:center;width:27px;height:27px;
  border-radius:10px;background:rgba(255,255,255,.045);border:1px solid rgba(207,184,255,.11);
  color:transparent;font:1000 12px/1 system-ui
}
#billing .kv-wallet-v160-pack.selected>b{
  color:#fff;background:linear-gradient(135deg,#6389ff,#b742ff);border-color:rgba(222,198,255,.36);
  box-shadow:0 8px 22px rgba(131,65,255,.3)
}
#billing .kv-wallet-v168-detail{
  position:relative;overflow:hidden;padding:16px;border-radius:25px;border:1px solid rgba(208,176,255,.18);
  background:radial-gradient(circle at 92% 0,rgba(152,79,255,.25),transparent 34%),linear-gradient(150deg,rgba(26,25,61,.97),rgba(7,9,26,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 20px 55px rgba(0,0,0,.22)
}
#billing .kv-wallet-v168-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
#billing .kv-wallet-v168-detail-head small{display:block;color:#bda4ff;font:1000 9px/1 system-ui;letter-spacing:.16em;text-transform:uppercase}
#billing .kv-wallet-v168-detail-head h4{margin:7px 0 0;color:#fff;font:1000 22px/1 system-ui;letter-spacing:-.035em}
#billing .kv-wallet-v168-detail-head>strong{color:#fff;font:1000 25px/1 system-ui;white-space:nowrap;letter-spacing:-.04em}
#billing .kv-wallet-v168-detail>p{margin:13px 0 0;color:rgba(229,220,249,.66);font:750 11px/1.45 system-ui}
#billing .kv-wallet-v168-detail-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}
#billing .kv-wallet-v168-detail-meta span{color:#fff;font:1000 15px/1 system-ui}
#billing .kv-wallet-v168-detail-meta b{color:#d1bcff;font:900 11px/1 system-ui}

#kvGalleryTaskV1361 .kv-g1361-actions .kv-g168-delete{
  border-color:rgba(255,91,137,.38);background:rgba(122,25,61,.28);color:#ff8eb2
}
#kvGalleryDeleteConfirmV168{
  position:fixed;z-index:12450;inset:0;display:none;align-items:flex-end;justify-content:center;
  padding:16px;background:rgba(2,3,12,.82);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)
}
#kvGalleryDeleteConfirmV168.active{display:flex}
#kvGalleryDeleteConfirmV168 .kv-g168-confirm-card{
  width:min(480px,100%);padding:20px;border-radius:28px;border:1px solid rgba(255,122,163,.24);
  background:radial-gradient(circle at 100% 0,rgba(200,52,111,.22),transparent 38%),linear-gradient(155deg,#211536,#080916 72%);
  box-shadow:0 34px 100px rgba(0,0,0,.64);color:#fff;text-align:center
}
#kvGalleryDeleteConfirmV168 .kv-g168-confirm-icon{
  display:grid;place-items:center;width:58px;height:58px;margin:0 auto 14px;border-radius:19px;
  background:rgba(255,68,126,.13);border:1px solid rgba(255,115,160,.22);color:#ff7da8;font-size:25px
}
#kvGalleryDeleteConfirmV168 h3{margin:0;font:1000 24px/1.05 system-ui}
#kvGalleryDeleteConfirmV168 p{margin:10px auto 0;max-width:360px;color:rgba(236,224,241,.66);font:750 12px/1.5 system-ui}
#kvGalleryDeleteConfirmV168 .kv-g168-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
#kvGalleryDeleteConfirmV168 button{min-height:52px;border-radius:17px;border:1px solid rgba(203,179,232,.16);background:rgba(255,255,255,.055);color:#fff;font:950 13px/1 system-ui}
#kvGalleryDeleteConfirmV168 .kv-g168-confirm-delete{border-color:rgba(255,91,137,.38);background:linear-gradient(135deg,#ba285f,#f14b78);box-shadow:0 12px 28px rgba(190,35,91,.24)}
#kvGalleryDeleteConfirmV168 button:disabled{opacity:.55;pointer-events:none}

@media(max-width:520px){
  #billing .kv-wallet-v160-packs{grid-template-columns:1fr 1fr}
  #billing .kv-wallet-v160-pack{min-height:100px;padding:13px 12px;border-radius:20px}
  #billing .kv-wallet-v160-pack>strong{font-size:20px}
  #billing .kv-wallet-v168-detail{padding:15px;border-radius:24px}
}
@media(max-width:350px){
  #billing .kv-wallet-v160-packs{grid-template-columns:1fr}
  #billing .kv-wallet-v160-pack{min-height:88px}
}


/* KVANTYRA V167 PHOTO ACTION CLEANUP */
body.kv-v166-photo-mode #create #kvPhotoFormV10 .kv-photo-cost-v10,
#create.kv-studio-v157 #kvStudioPhotoActionsV157 > .kv-photo-cost-v10{
  display:none!important;visibility:hidden!important;width:0!important;height:0!important;
  min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;
  border:0!important;overflow:hidden!important
}

/* KVANTYRA media retention notice v173 */
.kv-media-retention-v173{display:grid;gap:5px;margin:0 0 13px;padding:12px 13px;border:1px solid rgba(185,140,255,.18);border-radius:17px;background:linear-gradient(135deg,rgba(77,141,255,.08),rgba(154,92,255,.09));color:rgba(238,240,255,.68);font-size:12px;line-height:1.4}
.kv-media-retention-v173 b{color:#eee8ff;font-size:13px}.kv-media-retention-v173 span{display:block}

/* KVANTYRA retention control v175 */
body .kv-retention-v174-trigger{
  -webkit-appearance:none!important;appearance:none!important;position:relative;isolation:isolate;overflow:hidden;
  display:grid!important;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;
  width:calc(100% - 24px)!important;min-height:58px!important;margin:11px auto 7px!important;padding:9px 10px!important;
  border:1px solid rgba(166,133,255,.2)!important;border-radius:20px!important;
  background:radial-gradient(circle at 88% 0,rgba(151,70,255,.17),transparent 38%),linear-gradient(145deg,rgba(21,24,61,.96),rgba(8,9,26,.98))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 12px 32px rgba(0,0,0,.18)!important;
  color:#fff!important;text-align:left!important;font-family:inherit!important;line-height:1!important;cursor:pointer;touch-action:manipulation
}
body .kv-retention-v174-trigger:before{content:"";position:absolute;z-index:-1;inset:auto 18% -26px;height:38px;background:rgba(111,66,255,.18);filter:blur(20px)}
body .kv-retention-v174-trigger-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(184,155,255,.18);border-radius:13px;background:linear-gradient(145deg,rgba(92,128,255,.2),rgba(153,70,255,.24));box-shadow:inset 0 1px 0 rgba(255,255,255,.08);color:#c5afff}
body .kv-retention-v174-trigger-icon svg{width:20px;height:20px}
body .kv-retention-v174-trigger-copy{display:grid;gap:5px;min-width:0}
body .kv-retention-v174-trigger-copy b{overflow:hidden;color:#f8f6ff;font-size:13px;font-weight:1000;letter-spacing:-.015em;text-overflow:ellipsis;white-space:nowrap}
body .kv-retention-v174-trigger-copy small{overflow:hidden;color:rgba(211,204,233,.57);font-size:10px;font-weight:800;letter-spacing:.015em;text-overflow:ellipsis;white-space:nowrap}
body .kv-retention-v174-trigger-action{display:flex;align-items:center;gap:3px;min-height:32px;padding:0 8px 0 10px;border:1px solid rgba(190,159,255,.17);border-radius:11px;background:rgba(133,83,234,.12);color:#cbb8ff;font-size:9px;font-weight:950;letter-spacing:.035em;text-transform:uppercase}
body .kv-retention-v174-trigger-action svg{width:15px;height:15px}
body .kv-retention-v174-trigger:active{transform:scale(.988)}

body .kv-retention-v174-overlay[hidden]{display:none!important}
body .kv-retention-v174-overlay{
  position:fixed!important;z-index:12550!important;inset:0!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;
  box-sizing:border-box!important;padding:14px!important;background:rgba(2,3,13,.8)!important;
  backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;animation:kvRetentionBackdropV175 .2s ease both
}
body .kv-retention-v174-sheet{
  position:relative!important;box-sizing:border-box!important;width:min(480px,100%)!important;
  padding:15px 18px calc(18px + env(safe-area-inset-bottom))!important;overflow:hidden!important;
  border:1px solid rgba(190,154,255,.22)!important;border-radius:28px!important;
  background:radial-gradient(circle at 96% 0,rgba(147,65,255,.28),transparent 40%),linear-gradient(155deg,#19183d,#080918 74%)!important;
  box-shadow:0 35px 100px rgba(0,0,0,.7),inset 0 1px 0 rgba(255,255,255,.09)!important;
  color:#fff!important;font-family:inherit!important;animation:kvRetentionSheetV175 .26s cubic-bezier(.2,.8,.2,1) both
}
body .kv-retention-v174-handle{display:block;width:38px;height:4px;margin:0 auto 15px;border-radius:999px;background:rgba(222,210,255,.23)}
body .kv-retention-v174-close{-webkit-appearance:none!important;appearance:none!important;position:absolute;top:15px;right:15px;display:grid!important;place-items:center;width:36px!important;height:36px!important;min-height:0!important;padding:0!important;border:1px solid rgba(203,185,255,.15)!important;border-radius:13px!important;background:rgba(255,255,255,.055)!important;box-shadow:none!important;color:#eee9ff!important;font-family:inherit!important;font-size:23px!important;font-weight:500!important;line-height:1!important}
body .kv-retention-v174-icon{display:grid;place-items:center;width:50px;height:50px;margin-bottom:14px;border:1px solid rgba(190,152,255,.2);border-radius:17px;background:linear-gradient(145deg,rgba(87,137,255,.21),rgba(157,74,255,.25));color:#d5c5ff;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 28px rgba(91,49,205,.18)}
body .kv-retention-v174-icon svg{width:25px;height:25px}
body .kv-retention-v174-kicker{display:block;color:#b99fff;font-size:9px;font-weight:1000;line-height:1;letter-spacing:.18em;text-transform:uppercase}
body .kv-retention-v174-sheet h3{margin:8px 0 0;color:#fff;font-family:inherit;font-size:25px;font-weight:1000;line-height:1.08;letter-spacing:-.04em}
body .kv-retention-v174-facts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:17px}
body .kv-retention-v174-facts>div{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;min-height:67px;padding:10px;border:1px solid rgba(178,146,255,.14);border-radius:17px;background:rgba(255,255,255,.035)}
body .kv-retention-v174-facts>div>span{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:rgba(139,82,244,.14);color:#cbb7ff;font-size:14px;font-weight:1000}
body .kv-retention-v174-facts p{display:grid;gap:5px;margin:0!important;min-width:0}
body .kv-retention-v174-facts b{color:#f7f4ff;font-size:11px;font-weight:950;line-height:1.2}
body .kv-retention-v174-facts small{color:rgba(215,208,233,.55);font-size:9px;font-weight:750;line-height:1.35}
body .kv-retention-v174-note{margin:12px 2px 0!important;color:rgba(222,216,240,.62)!important;font-size:11px!important;font-weight:750!important;line-height:1.45!important}
body .kv-retention-v174-ok{-webkit-appearance:none!important;appearance:none!important;width:100%!important;min-height:50px!important;margin:17px 0 0!important;padding:0 16px!important;border:1px solid rgba(220,197,255,.2)!important;border-radius:17px!important;background:linear-gradient(135deg,#617cff,#ac42f2)!important;box-shadow:0 14px 32px rgba(111,61,223,.3)!important;color:#fff!important;font-family:inherit!important;font-size:13px!important;font-weight:1000!important;line-height:1!important}
@keyframes kvRetentionBackdropV175{from{opacity:0}to{opacity:1}}
@keyframes kvRetentionSheetV175{from{opacity:0;transform:translateY(24px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:370px){body .kv-retention-v174-trigger-action{width:32px;padding:0;justify-content:center;font-size:0}body .kv-retention-v174-facts{grid-template-columns:1fr}}

/* KVANTYRA primary YooKassa checkout v1904.1 */
#billing .kv-wallet-v1904-provider{
  position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:15px 16px;border:1px solid rgba(105,211,255,.25);border-radius:24px;
  background:radial-gradient(circle at 92% 0,rgba(31,194,255,.2),transparent 42%),linear-gradient(145deg,rgba(18,33,65,.98),rgba(7,10,27,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 18px 48px rgba(0,0,0,.2)
}
#billing .kv-wallet-v1904-provider>div{min-width:0}
#billing .kv-wallet-v1904-provider span{display:block;color:#69d9ff;font:1000 8px/1 system-ui;letter-spacing:.17em}
#billing .kv-wallet-v1904-provider h3{margin:7px 0 0;color:#fff;font:1000 23px/1 system-ui;letter-spacing:-.035em}
#billing .kv-wallet-v1904-provider p{max-width:390px;margin:8px 0 0;color:rgba(224,237,255,.66);font:750 10px/1.42 system-ui}
#billing .kv-wallet-v1904-provider>b{display:grid;flex:0 0 auto;place-items:center;width:46px;height:46px;border:1px solid rgba(126,224,255,.3);border-radius:16px;background:linear-gradient(145deg,rgba(38,179,240,.3),rgba(77,98,255,.26));color:#fff;font:1000 25px/1 system-ui;box-shadow:inset 0 1px 0 rgba(255,255,255,.13)}
#billing .kv-wallet-v19041-provider-state{display:block!important;width:max-content;max-width:100%;margin-top:10px;padding:5px 8px;border:1px solid rgba(105,217,255,.18);border-radius:999px;background:rgba(52,190,239,.08);color:#9de9ff!important;font:900 8px/1.15 system-ui!important;letter-spacing:.04em!important;text-transform:none!important}
#billing .kv-wallet-v1904-provider.preview{border-color:rgba(189,167,235,.18);filter:saturate(.72)}
#billing .kv-wallet-v1904-provider.preview .kv-wallet-v19041-provider-state{border-color:rgba(255,207,119,.16);background:rgba(255,190,77,.065);color:#ffd891!important}
#billing .kv-wallet-v1904-provider.checking .kv-wallet-v19041-provider-state{opacity:.72}
#billing .kv-wallet-v160-secure.preview{color:#d7c6f5}
#billing .kv-wallet-v160-secure.preview i{background:#a992d5;box-shadow:0 0 16px rgba(169,146,213,.7)}
#billing .kv-wallet-v1904-checkout{grid-template-columns:1fr!important;gap:10px!important;margin-bottom:24px}
#billing .kv-wallet-v1904-yookassa{width:100%;min-width:0!important;height:58px!important;background:linear-gradient(135deg,#198fe9,#426cff 72%)!important;box-shadow:0 14px 34px rgba(39,118,235,.34),inset 0 1px 0 rgba(255,255,255,.28)!important}
#billing .kv-wallet-v1904-yookassa:disabled{cursor:not-allowed;box-shadow:none!important}
#billing .kv-wallet-v19041-receipt[hidden]{display:none!important}
#billing .kv-wallet-v19041-receipt{display:grid;gap:7px;padding:11px;border:1px solid rgba(112,197,255,.16);border-radius:16px;background:rgba(41,107,164,.075)}
#billing .kv-wallet-v19041-receipt>span{color:#e9f5ff;font:900 10px/1 system-ui}
#billing .kv-wallet-v19041-receipt>input{box-sizing:border-box;width:100%;height:46px;padding:0 13px;border:1px solid rgba(164,210,255,.22);border-radius:13px;outline:0;background:rgba(4,10,25,.62);color:#fff;font:800 13px/1 system-ui}
#billing .kv-wallet-v19041-receipt>input:focus{border-color:rgba(94,190,255,.72);box-shadow:0 0 0 3px rgba(47,149,240,.12)}
#billing .kv-wallet-v19041-receipt>small{color:rgba(224,237,255,.57);font:750 9px/1.35 system-ui}
#billing .kv-wallet-v1904-vpn{display:flex;align-items:flex-start;gap:8px;padding:10px 11px;border:1px solid rgba(255,215,139,.15);border-radius:14px;background:rgba(255,190,77,.055);color:rgba(235,226,247,.66);font:750 10px/1.4 system-ui}
#billing .kv-wallet-v1904-vpn b{flex:0 0 auto;color:#ffd98b;font-weight:1000}
#billing .kv-wallet-v1904-stars{-webkit-appearance:none;appearance:none;justify-self:center;min-height:34px;padding:0 12px;border:0;background:transparent;color:rgba(205,197,227,.55);font:850 10px/1 system-ui;text-decoration:underline;text-decoration-color:rgba(205,197,227,.2);text-underline-offset:4px}
#billing .kv-wallet-v1904-stars:disabled{opacity:.42}
#billing .kv-wallet-v1904-checkout .kv-wallet-v160-status{grid-column:1!important}

/* KVANTYRA visible update and subscription preview v1904.2 */
#billing .kv-wallet-v160-top{justify-content:space-between}
#billing .kv-wallet-v19042-build{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:1px solid rgba(112,225,255,.2);border-radius:999px;background:rgba(51,191,238,.08);color:#9be8ff;font:950 8px/1 system-ui;letter-spacing:.08em;white-space:nowrap}
#billing .kv-wallet-v19042-subscription{position:relative;overflow:hidden;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:14px 15px;border:1px solid rgba(199,153,255,.24);border-radius:23px;background:radial-gradient(circle at 95% 0,rgba(171,69,255,.24),transparent 44%),linear-gradient(145deg,rgba(34,24,68,.98),rgba(9,9,27,.98));box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 18px 42px rgba(0,0,0,.18)}
#billing .kv-wallet-v19042-subscription-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(211,174,255,.24);border-radius:15px;background:rgba(144,76,239,.14);color:#d8bdff;font:1000 24px/1 system-ui}
#billing .kv-wallet-v19042-subscription>div:nth-child(2){min-width:0}
#billing .kv-wallet-v19042-subscription span{display:block;color:#c3a6ff;font:1000 8px/1 system-ui;letter-spacing:.17em}
#billing .kv-wallet-v19042-subscription h3{margin:6px 0 0;color:#fff;font:1000 18px/1.05 system-ui;letter-spacing:-.03em}
#billing .kv-wallet-v19042-subscription p{max-width:410px;margin:7px 0 0;color:rgba(226,216,247,.61);font:750 9px/1.4 system-ui}
#billing .kv-wallet-v19042-subscription>b{align-self:start;padding:6px 8px;border:1px solid rgba(218,185,255,.2);border-radius:999px;background:rgba(167,91,255,.12);color:#dcc5ff;font:1000 8px/1 system-ui;letter-spacing:.08em}
@media(max-width:365px){
  #billing .kv-wallet-v19042-build{padding:0 8px;font-size:7px}
  #billing .kv-wallet-v19042-subscription{grid-template-columns:minmax(0,1fr) auto}
  #billing .kv-wallet-v19042-subscription-icon{display:none}
}

/* KVANTYRA premium checkout V1905 */
#billing.kv-wallet-v160-screen{
  padding:8px 12px calc(158px + env(safe-area-inset-bottom,0px))!important;
  background:
    radial-gradient(circle at 88% 2%,rgba(139,61,255,.18),transparent 27%),
    radial-gradient(circle at 3% 48%,rgba(49,104,255,.10),transparent 34%)!important;
}
#billing .kv-wallet-v1905{
  display:grid;gap:18px;width:100%;max-width:760px;margin:0 auto;color:#fff;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Display",system-ui,sans-serif
}
#billing .kv-wallet-v1905 [hidden]{display:none!important}
#billing .kv-wallet-v1905 button{font-family:inherit;touch-action:manipulation}
#billing .kv-wallet-v1905-hero{
  position:relative;overflow:hidden;padding:17px 17px 20px;border:1px solid rgba(202,175,255,.15);
  border-radius:31px;background:
    radial-gradient(circle at 92% 0,rgba(172,67,255,.28),transparent 35%),
    radial-gradient(circle at 8% 92%,rgba(70,109,255,.17),transparent 40%),
    linear-gradient(150deg,rgba(24,23,57,.98),rgba(6,8,22,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 24px 65px rgba(0,0,0,.28)
}
#billing .kv-wallet-v1905-hero:after{
  content:"";position:absolute;right:-82px;top:115px;width:255px;height:255px;border:1px solid rgba(180,128,255,.08);
  border-radius:50%;box-shadow:0 0 0 38px rgba(137,73,255,.025),0 0 0 78px rgba(85,110,255,.018);pointer-events:none
}
#billing .kv-wallet-v1905-top{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px}
#billing .kv-wallet-v1905-back{
  display:grid;place-items:center;width:43px;height:43px;min-width:43px;padding:0;border:1px solid rgba(220,202,255,.14);
  border-radius:15px;background:rgba(255,255,255,.055);color:#fff;font-size:18px;font-weight:900;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06)
}
#billing .kv-wallet-v1905-balance{
  display:flex;align-items:center;gap:7px;min-height:43px;padding:0 13px;border:1px solid rgba(215,193,255,.14);
  border-radius:15px;background:rgba(255,255,255,.055);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)
}
#billing .kv-wallet-v1905-balance>i{width:8px;height:8px;border-radius:50%;background:#aa67ff;box-shadow:0 0 15px rgba(170,103,255,.95)}
#billing .kv-wallet-v1905-balance>span{color:rgba(235,227,250,.48);font-size:9px;font-weight:850}
#billing .kv-wallet-v1905-balance>strong{display:flex;gap:4px;align-items:baseline;color:#fff;font-size:14px;font-weight:1000;white-space:nowrap}
#billing .kv-wallet-v1905-balance>strong>b{font:inherit}
#billing .kv-wallet-v1905-title{position:relative;z-index:2;margin-top:30px}
#billing .kv-wallet-v1905-title>span{display:block;color:#b992ff;font-size:9px;font-weight:1000;line-height:1;letter-spacing:.19em}
#billing .kv-wallet-v1905-title h2{max-width:570px;margin:10px 0 0;color:#fff;font-size:clamp(34px,8.6vw,48px);font-weight:1000;line-height:.98;letter-spacing:-.058em}
#billing .kv-wallet-v1905-title p{max-width:520px;margin:13px 0 0;color:rgba(231,224,248,.62);font-size:12px;font-weight:720;line-height:1.48}
#billing .kv-wallet-v1905-tabs{
  position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:23px;padding:5px;
  border:1px solid rgba(216,192,255,.11);border-radius:18px;background:rgba(255,255,255,.035)
}
#billing .kv-wallet-v1905-tabs button{
  min-width:0;height:44px;padding:0 8px;border:0;border-radius:14px;background:transparent;color:rgba(235,228,249,.48);
  font-size:11px;font-weight:950;white-space:nowrap
}
#billing .kv-wallet-v1905-tabs button.active{
  background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(151,103,241,.10));color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 9px 25px rgba(0,0,0,.2)
}
#billing .kv-wallet-v1905-tabs em{display:inline-flex;margin-left:4px;padding:4px 6px;border-radius:999px;background:rgba(168,91,255,.13);color:#d8bbff;font-size:6px;font-style:normal;font-weight:1000;letter-spacing:.05em;text-transform:uppercase;vertical-align:1px}
#billing .kv-wallet-v1905-one-time{display:grid;gap:13px;padding-bottom:0}
#billing .kv-wallet-v1905-pack-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:2px 5px 0}
#billing .kv-wallet-v1905-pack-head span{display:block;color:#b798fa;font-size:8px;font-weight:1000;line-height:1;letter-spacing:.18em}
#billing .kv-wallet-v1905-pack-head h3{margin:7px 0 0;color:#fff;font-size:23px;font-weight:1000;line-height:1;letter-spacing:-.04em}
#billing .kv-wallet-v1905-pack-head>small{color:rgba(227,217,247,.43);font-size:9px;font-weight:800;line-height:1.35;text-align:right}
#billing .kv-wallet-v1905-packs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
#billing .kv-wallet-v1905-pack{
  position:relative;min-width:0!important;min-height:112px!important;padding:14px 13px!important;overflow:hidden!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto 1fr auto!important;
  align-items:start!important;gap:6px 8px!important;border:1px solid rgba(204,183,245,.105)!important;border-radius:22px!important;
  background:linear-gradient(145deg,rgba(28,29,64,.78),rgba(9,10,25,.92))!important;color:#fff!important;text-align:left!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 13px 32px rgba(0,0,0,.12)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease!important
}
#billing .kv-wallet-v1905-pack:active{transform:scale(.982)}
#billing .kv-wallet-v1905-pack:before,#billing .kv-wallet-v1905-pack:after{display:none!important;content:none!important}
#billing .kv-wallet-v1905-pack.selected{
  border-color:rgba(186,132,255,.68)!important;background:
    radial-gradient(circle at 100% 0,rgba(168,71,255,.26),transparent 45%),
    linear-gradient(145deg,rgba(42,31,81,.96),rgba(12,12,31,.97))!important;
  box-shadow:0 0 0 2px rgba(145,78,255,.1),0 18px 42px rgba(67,34,141,.22),inset 0 1px 0 rgba(255,255,255,.11)!important
}
#billing .kv-wallet-v1905-pack .kv-wallet-v160-pack-name{
  grid-column:1/-1;display:block;max-width:48%;overflow:hidden;color:rgba(235,226,252,.58);
  font-size:9px;font-weight:1000;line-height:1.1;letter-spacing:.1em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap
}
#billing .kv-wallet-v1905-pack>em{
  position:absolute;top:10px;right:10px;max-width:48%;padding:5px 7px;border:1px solid rgba(199,160,255,.14);
  border-radius:999px;background:rgba(161,87,255,.11);color:#d6b9ff;font-size:6px;font-style:normal;font-weight:1000;
  line-height:1;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
#billing .kv-wallet-v1905-pack.popular>em{border:0;background:linear-gradient(135deg,#ffb957,#ff6f9e);color:#271124}
#billing .kv-wallet-v1905-pack>strong{
  grid-column:1/2;align-self:end;color:#fff;font-size:23px!important;font-weight:1000!important;line-height:.95!important;letter-spacing:-.045em!important;white-space:nowrap
}
#billing .kv-wallet-v1905-pack>strong i{color:#c697ff!important;font-size:10px!important;font-style:normal!important;font-weight:1000!important}
#billing .kv-wallet-v1905-pack>small{grid-column:1/2;color:rgba(230,221,248,.48)!important;font-size:9px!important;font-weight:850!important;line-height:1!important;white-space:nowrap}
#billing .kv-wallet-v1905-pack>b{
  grid-column:2/3!important;grid-row:2/4!important;align-self:center!important;display:grid!important;place-items:center!important;
  width:29px!important;height:29px!important;padding:0!important;border:1px solid rgba(205,183,245,.11)!important;border-radius:10px!important;
  background:rgba(255,255,255,.035)!important;color:transparent!important;font-size:11px!important
}
#billing .kv-wallet-v1905-pack.selected>b{border-color:rgba(221,198,255,.3)!important;background:linear-gradient(135deg,#657fff,#b443ef)!important;color:#fff!important;box-shadow:0 9px 23px rgba(116,62,222,.31)!important}
@media(max-width:639px){#billing .kv-wallet-v1905-pack[data-pack="scale"]{grid-column:1/-1!important;min-height:96px!important}}
#billing .kv-wallet-v1905-promise{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#billing .kv-wallet-v1905-promise>div{min-width:0;padding:10px 6px;border:1px solid rgba(208,186,248,.08);border-radius:16px;background:rgba(255,255,255,.025);text-align:center}
#billing .kv-wallet-v1905-promise i{display:grid;place-items:center;width:24px;height:24px;margin:0 auto 7px;border-radius:9px;background:rgba(143,82,239,.11);color:#c9acff;font-size:11px;font-style:normal;font-weight:1000}
#billing .kv-wallet-v19052-card-icon svg{display:block;width:16px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#billing .kv-wallet-v1905-promise b{display:block;color:#f8f6ff;font-size:9px;font-weight:950;line-height:1.1;white-space:nowrap}
#billing .kv-wallet-v1905-promise small{display:block;margin-top:4px;color:rgba(224,214,243,.39);font-size:7px;font-weight:750;line-height:1.25}
#billing .kv-wallet-v1905-subscription{
  position:relative;overflow:hidden;min-height:390px;padding:27px 20px 20px;border:1px solid rgba(190,151,255,.2);border-radius:30px;
  background:radial-gradient(circle at 50% 4%,rgba(97,130,255,.26),transparent 29%),radial-gradient(circle at 94% 78%,rgba(171,62,255,.19),transparent 32%),linear-gradient(155deg,rgba(21,27,67,.98),rgba(7,8,24,.99));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 23px 60px rgba(0,0,0,.25);text-align:center
}
#billing .kv-wallet-v1905-orbit{position:relative;display:grid;place-items:center;width:90px;height:90px;margin:0 auto 23px;border:1px solid rgba(160,190,255,.2);border-radius:50%;box-shadow:0 0 0 15px rgba(100,117,255,.045),0 0 0 30px rgba(148,72,255,.025),0 0 45px rgba(104,92,255,.22)}
#billing .kv-wallet-v1905-orbit:before{content:"";position:absolute;inset:12px;border-radius:50%;background:linear-gradient(145deg,#708dff,#a743f1);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 13px 30px rgba(100,59,220,.35)}
#billing .kv-wallet-v1905-orbit>i{position:relative;z-index:1;color:#fff;font-size:30px;font-style:normal;font-weight:1000}
#billing .kv-wallet-v1905-orbit>span{position:absolute;right:2px;top:12px;width:10px;height:10px;border-radius:50%;background:#61e1ff;box-shadow:0 0 18px #61e1ff}
#billing .kv-wallet-v1905-sub-kicker{color:#a7c4ff;font-size:8px;font-weight:1000;letter-spacing:.19em}
#billing .kv-wallet-v1905-subscription h3{margin:8px 0 0;color:#fff;font-size:29px;font-weight:1000;line-height:1;letter-spacing:-.045em}
#billing .kv-wallet-v1905-subscription>p{max-width:490px;margin:12px auto 0;color:rgba(228,224,249,.58);font-size:11px;font-weight:750;line-height:1.5}
#billing .kv-wallet-v1905-sub-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:21px}
#billing .kv-wallet-v1905-sub-benefits>div{padding:12px 6px;border:1px solid rgba(193,181,255,.09);border-radius:16px;background:rgba(255,255,255,.03)}
#billing .kv-wallet-v1905-sub-benefits b{display:block;color:#f8f6ff;font-size:9px;font-weight:950;line-height:1.2}
#billing .kv-wallet-v1905-sub-benefits small{display:block;margin-top:5px;color:rgba(226,219,245,.4);font-size:7px;font-weight:750;line-height:1.25}
#billing .kv-wallet-v1905-subscription>button{width:100%;height:53px;margin-top:18px;border:1px solid rgba(200,177,255,.14);border-radius:18px;background:rgba(255,255,255,.055);color:rgba(239,234,251,.45);font-size:11px;font-weight:950}
#billing .kv-wallet-v1905-dock{
  position:relative;z-index:5;bottom:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;
  align-items:center;gap:5px 12px;padding:12px;border:1px solid rgba(206,181,255,.17);border-radius:25px;
  background:linear-gradient(145deg,rgba(27,25,57,.94),rgba(8,9,24,.96));box-shadow:0 23px 65px rgba(0,0,0,.52),inset 0 1px 0 rgba(255,255,255,.09);
  backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)
}
#billing .kv-wallet-v1905-dock>div{min-width:0;padding-left:3px}
#billing .kv-wallet-v1905-dock>div small{display:block;color:rgba(225,215,245,.43);font-size:7px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
#billing .kv-wallet-v1905-dock>div strong{display:block;margin-top:5px;overflow:hidden;color:#fff;font-size:14px;font-weight:1000;line-height:1;letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap}
#billing .kv-wallet-v1905-dock>b{justify-self:end;color:#fff;font-size:17px;font-weight:1000;line-height:1;white-space:nowrap}
#billing .kv-wallet-v1905-dock>button{grid-column:1/-1;width:100%;height:53px;border:0;border-radius:17px;background:linear-gradient(135deg,#637fff,#b243ee);box-shadow:0 13px 32px rgba(107,57,218,.35),inset 0 1px 0 rgba(255,255,255,.28);color:#fff;font-size:12px;font-weight:1000}
body.kv-wallet-v1905-checkout-open{overflow:hidden!important}
#billing .kv-wallet-v1905-sheet{
  position:fixed;z-index:13200;inset:0;display:flex;align-items:flex-end;justify-content:center;padding:0;
  color:#fff;animation:kvWalletV1905Backdrop .18s ease both
}
#billing .kv-wallet-v1905-sheet-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(1,2,9,.76);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
#billing .kv-wallet-v1905-sheet-card{
  position:relative;z-index:1;width:min(560px,100%);max-height:min(91vh,820px);overflow:auto;overscroll-behavior:contain;
  padding:11px 17px calc(124px + env(safe-area-inset-bottom,0px));border:1px solid rgba(205,187,238,.16);border-bottom:0;border-radius:31px 31px 0 0;
  background:radial-gradient(circle at 90% 0,rgba(143,65,255,.18),transparent 31%),linear-gradient(160deg,#17172d,#090a17 68%);
  box-shadow:0 -30px 90px rgba(0,0,0,.68),inset 0 1px 0 rgba(255,255,255,.08);animation:kvWalletV1905Sheet .25s cubic-bezier(.2,.8,.2,1) both
}
#billing .kv-wallet-v1905-handle{display:block;width:38px;height:4px;margin:0 auto 17px;border-radius:999px;background:rgba(222,211,245,.2)}
#billing .kv-wallet-v1905-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
#billing .kv-wallet-v1905-sheet-head>div>span{display:block;color:#b99bfb;font-size:8px;font-weight:1000;line-height:1;letter-spacing:.17em}
#billing .kv-wallet-v1905-sheet-head h3{margin:8px 0 0;color:#fff;font-size:27px;font-weight:1000;line-height:1;letter-spacing:-.045em}
#billing .kv-wallet-v1905-sheet-head h3>b{font:inherit}
#billing .kv-wallet-v1905-sheet-head>button{display:grid;place-items:center;width:39px;height:39px;min-width:39px;padding:0;border:1px solid rgba(216,199,245,.12);border-radius:13px;background:rgba(255,255,255,.045);color:#fff;font-size:21px;font-weight:500}
#billing .kv-wallet-v1905-order{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding:14px;border:1px solid rgba(207,188,243,.1);border-radius:20px;background:rgba(255,255,255,.035)}
#billing .kv-wallet-v1905-order>div{min-width:0}
#billing .kv-wallet-v1905-order small{display:block;color:rgba(226,218,243,.45);font-size:8px;font-weight:800;line-height:1.25}
#billing .kv-wallet-v1905-order strong{display:block;margin-top:6px;overflow:hidden;color:#fff;font-size:15px;font-weight:1000;line-height:1;text-overflow:ellipsis;white-space:nowrap}
#billing .kv-wallet-v1905-order>b{color:#fff;font-size:19px;font-weight:1000;line-height:1;white-space:nowrap}
#billing .kv-wallet-v1905-method-label{display:block;margin:20px 2px 9px;color:rgba(224,213,245,.42);font-size:8px;font-weight:1000;letter-spacing:.16em}
#billing .kv-wallet-v1905-method{display:grid;grid-template-columns:45px minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px;border:1px solid rgba(178,135,255,.36);border-radius:20px;background:linear-gradient(145deg,rgba(84,57,135,.25),rgba(255,255,255,.035));box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
#billing .kv-wallet-v1905-method>i{display:grid;place-items:center;width:45px;height:45px;border:1px solid rgba(205,178,255,.2);border-radius:15px;background:linear-gradient(145deg,#8259f3,#5579ff);box-shadow:0 10px 24px rgba(83,73,214,.25),inset 0 1px 0 rgba(255,255,255,.24);color:#fff;font-size:20px;font-style:normal;font-weight:1000}
#billing .kv-wallet-v1905-method>i.kv-wallet-v19052-card-icon svg{width:27px;height:21px;stroke-width:1.65}
#billing .kv-wallet-v1905-method>i.kv-wallet-v19053-sbp{box-sizing:border-box;overflow:hidden;padding:6px;border-color:rgba(255,255,255,.36);background:#fff;box-shadow:0 10px 24px rgba(13,144,205,.18),inset 0 0 0 1px rgba(29,19,70,.04)}
#billing .kv-wallet-v1905-method>i.kv-wallet-v19053-sbp img{display:block;width:32px;height:32px;object-fit:contain}
#billing .kv-wallet-v1905-method>div{min-width:0}
#billing .kv-wallet-v1905-method>div>b{display:block;color:#fff;font-size:12px;font-weight:1000;line-height:1.15}
#billing .kv-wallet-v1905-method>div>small{display:block;margin-top:5px;color:rgba(227,220,245,.45);font-size:8px;font-weight:750;line-height:1.35}
#billing .kv-wallet-v1905-method>em{padding:5px 7px;border-radius:999px;background:rgba(103,225,176,.1);color:#92ebc6;font-size:7px;font-style:normal;font-weight:1000;white-space:nowrap}
#billing .kv-wallet-v1905-method.preview>em{background:rgba(255,198,92,.09);color:#ffd282}
#billing .kv-wallet-v1905-method.checking>em{background:rgba(173,152,218,.09);color:#c9b7ed}
#billing .kv-wallet-v1905-receipt{display:grid;gap:7px;margin-top:10px;padding:11px;border:1px solid rgba(188,157,255,.13);border-radius:16px;background:rgba(115,72,190,.06)}
#billing .kv-wallet-v1905-receipt>span{color:#f0eaff;font-size:9px;font-weight:950}
#billing .kv-wallet-v1905-receipt>input{box-sizing:border-box;width:100%;height:44px;padding:0 12px;border:1px solid rgba(202,179,255,.17);border-radius:13px;outline:0;background:rgba(4,5,15,.58);color:#fff;font-size:12px;font-weight:800}
#billing .kv-wallet-v1905-receipt>input:focus{border-color:rgba(167,111,255,.62);box-shadow:0 0 0 3px rgba(145,77,255,.11)}
#billing .kv-wallet-v1905-receipt>small{color:rgba(225,215,245,.43);font-size:8px;font-weight:750;line-height:1.35}
#billing .kv-wallet-v1905-legal{display:grid;gap:8px;margin-top:11px;padding:12px;border:1px solid rgba(188,157,255,.13);border-radius:16px;background:rgba(115,72,190,.06)}
#billing .kv-wallet-v1905-legal-hint{margin:-1px 0 2px;padding:9px 10px;border:1px solid rgba(255,198,92,.18);border-radius:12px;background:rgba(255,192,75,.06);color:rgba(255,218,151,.82);font-size:9px;font-weight:850;line-height:1.35}
#billing .kv-wallet-v1905-legal-hint.ready{border-color:rgba(103,225,176,.18);background:rgba(103,225,176,.06);color:#a1eecb}
#billing .kv-wallet-v1905-legal label{display:flex;align-items:flex-start;gap:8px;color:rgba(239,232,250,.8);font-size:9px;font-weight:750;line-height:1.35}
#billing .kv-wallet-v1905-legal input{width:16px;height:16px;flex:0 0 auto;margin:0;accent-color:#8c6bff}
#billing .kv-wallet-v1905-legal a{color:#c7b1ff;text-decoration:underline;text-underline-offset:2px}
#billing .kv-wallet-v1905-legal p{margin:0;color:rgba(225,215,245,.43);font-size:8px;font-weight:750;line-height:1.35}
#billing .kv-wallet-v1905-vpn{display:flex;align-items:flex-start;gap:8px;margin-top:10px;padding:10px 11px;border:1px solid rgba(255,207,118,.12);border-radius:14px;background:rgba(255,192,75,.045);color:rgba(230,221,243,.55);font-size:9px;font-weight:750;line-height:1.42}
#billing .kv-wallet-v1905-vpn>b{display:grid;place-items:center;flex:0 0 auto;width:17px;height:17px;border:1px solid rgba(255,214,137,.25);border-radius:50%;color:#ffd68a;font-size:9px;font-weight:1000}
#billing .kv-wallet-v1905-pay{width:100%!important;height:56px!important;margin-top:14px!important;border:0!important;border-radius:18px!important;background:linear-gradient(135deg,#647fff,#b043ed)!important;box-shadow:0 14px 34px rgba(107,58,216,.36),inset 0 1px 0 rgba(255,255,255,.27)!important;color:#fff!important;font-size:12px!important;font-weight:1000!important}
#billing .kv-wallet-v1905-pay:disabled{opacity:.48!important;box-shadow:none!important}
#billing .kv-wallet-v1905-status{display:none;margin-top:4px;padding:10px 11px;border-radius:14px;background:rgba(255,255,255,.045);color:rgba(231,224,247,.65);font-size:9px;font-weight:800;line-height:1.4}
#billing .kv-wallet-v1905-status.show{display:block}
#billing .kv-wallet-v1905-status.success{background:rgba(54,205,143,.075);color:#9ef0ca}
#billing .kv-wallet-v1905-status.error{background:rgba(255,78,139,.075);color:#ffb0ce}
@keyframes kvWalletV1905Backdrop{from{opacity:0}to{opacity:1}}
@keyframes kvWalletV1905Sheet{from{opacity:.3;transform:translateY(35px)}to{opacity:1;transform:none}}
@media(min-width:640px){
  #billing .kv-wallet-v1905-packs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  #billing .kv-wallet-v1905-pack{min-height:125px!important}
  #billing .kv-wallet-v1905-dock{grid-template-columns:minmax(0,1fr) auto minmax(210px,.8fr);gap:12px}
  #billing .kv-wallet-v1905-dock>button{grid-column:auto}
}
@media(max-width:370px){
  #billing.kv-wallet-v160-screen{padding-left:9px!important;padding-right:9px!important}
  #billing .kv-wallet-v1905-hero{padding:15px;border-radius:27px}
  #billing .kv-wallet-v1905-title h2{font-size:31px}
  #billing .kv-wallet-v1905-tabs button{font-size:10px}
  #billing .kv-wallet-v1905-tabs em{display:none}
  #billing .kv-wallet-v1905-pack{min-height:106px!important;padding:12px 11px!important}
  #billing .kv-wallet-v1905-pack>strong{font-size:20px!important}
  #billing .kv-wallet-v1905-pack>em{font-size:5px;max-width:49%;padding:5px 6px}
  #billing .kv-wallet-v1905-promise b{font-size:8px}
  #billing .kv-wallet-v1905-sub-benefits{grid-template-columns:1fr}
  #billing .kv-wallet-v1905-subscription{min-height:0}
}

/* KVANTYRA V254 ACTIVE BILLING VISUAL V2
   These rules target the markup produced by renderBilling(), not the older
   static billing mockup. The Telegram chrome, balance source and payment
   actions remain outside this visual layer. */
#billing .kv-wallet-v1905-one-time{
  padding:17px 15px 19px!important;
  border:1px solid rgba(202,177,255,.22)!important;
  border-radius:31px!important;
  background:
    radial-gradient(circle at 0 0,rgba(139,74,255,.16),transparent 34%),
    linear-gradient(145deg,rgba(23,23,53,.88),rgba(7,9,25,.96))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 24px 60px rgba(0,0,0,.28)!important;
}
#billing .kv-wallet-v1905-pack-head{padding:4px 4px 1px!important;align-items:flex-end!important}
#billing .kv-wallet-v1905-pack-head span{color:#c79fff!important;font-size:11px!important;letter-spacing:.22em!important}
#billing .kv-wallet-v1905-pack-head h3{font-size:30px!important;line-height:.98!important;letter-spacing:-.055em!important}
#billing .kv-wallet-v1905-pack-head>small{max-width:none!important;color:rgba(232,222,249,.64)!important;font-size:12px!important;line-height:1.15!important;white-space:nowrap!important}
#billing .kv-wallet-v1905-packs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack{
  min-height:184px!important;padding:16px 14px 13px!important;border-radius:26px!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto 1fr auto auto!important;
  gap:0 8px!important;border:1px solid rgba(161,145,211,.28)!important;
  background:
    radial-gradient(circle at 0 0,rgba(117,96,193,.20),transparent 43%),
    linear-gradient(145deg,rgba(28,28,65,.96),rgba(8,11,30,.98))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 16px 34px rgba(0,0,0,.24)!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack.selected{
  border-color:rgba(180,110,255,.88)!important;
  background:
    radial-gradient(circle at 0 0,rgba(143,95,239,.30),transparent 47%),
    linear-gradient(145deg,rgba(46,31,94,.98),rgba(10,11,35,.98))!important;
  box-shadow:0 0 0 1px rgba(205,127,255,.36),0 0 28px rgba(159,75,255,.32),inset 0 1px 0 rgba(255,255,255,.16)!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack .kv-wallet-v160-pack-name{
  grid-column:1/-1!important;max-width:56%!important;color:rgba(226,219,249,.70)!important;
  font-size:13px!important;line-height:1!important;letter-spacing:.22em!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>em.kv-wallet-v1905-benefit{
  position:absolute!important;right:13px!important;top:13px!important;display:inline-flex!important;
  align-items:center!important;justify-content:center!important;min-width:58px!important;height:30px!important;
  padding:0 9px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:999px!important;
  color:#fff!important;font-size:12px!important;line-height:1!important;font-style:normal!important;font-weight:1000!important;
  letter-spacing:.02em!important;white-space:nowrap!important;
  background:linear-gradient(135deg,#7d6dff,#a44cff)!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>em.benefit-0{background:linear-gradient(135deg,rgba(139,86,235,.38),rgba(121,82,223,.20))!important;color:#d4b8ff!important}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>em.benefit-10{background:linear-gradient(135deg,rgba(77,123,255,.55),rgba(123,92,255,.44))!important;color:#cce1ff!important}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>em.benefit-20{background:linear-gradient(135deg,#ffb13b,#ee3e9a)!important}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>em.benefit-30{background:linear-gradient(135deg,#dd53ec,#f33594)!important}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>em.benefit-40{background:linear-gradient(135deg,#a95cff,#e347b9)!important}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>em.benefit-50{background:linear-gradient(135deg,#f07d5c,#e93291)!important}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>strong{
  grid-column:1/2!important;align-self:end!important;margin-top:35px!important;color:#fff!important;
  font-size:36px!important;line-height:.92!important;letter-spacing:-.055em!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>strong i{color:#bd84ff!important;font-size:17px!important;letter-spacing:0!important}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>small{
  grid-column:1/2!important;margin-top:10px!important;color:rgba(233,226,252,.62)!important;
  font-size:15px!important;line-height:1!important;font-weight:850!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>.kv-wallet-v1905-photo-estimate{
  grid-column:1/2!important;margin-top:8px!important;color:rgba(234,227,252,.58)!important;
  font-size:13px!important;line-height:1!important;font-weight:900!important;white-space:nowrap!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>b{
  position:absolute!important;right:14px!important;bottom:14px!important;display:grid!important;place-items:center!important;
  width:43px!important;height:43px!important;border-radius:15px!important;border:1px solid rgba(213,197,255,.25)!important;
  background:rgba(20,21,51,.48)!important;color:transparent!important;font-size:25px!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack.selected>b{
  border-color:transparent!important;background:linear-gradient(135deg,#7d6dff,#a44cff)!important;
  color:#fff!important;box-shadow:0 10px 24px rgba(126,70,255,.40)!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack.popular:before,
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack.popular:after{display:none!important;content:none!important}
#billing .kv-wallet-v1905-pack[data-pack="scale"]{grid-column:auto!important;min-height:184px!important}

/* Checkout sheet keeps the approved second-window hierarchy while remaining
   the same Robokassa/consent DOM and payment flow. */
#billing .kv-wallet-v1905-sheet-card{padding:16px 18px calc(124px + env(safe-area-inset-bottom,0px))!important}
#billing .kv-wallet-v1905-sheet-head h3{font-size:clamp(30px,8vw,40px)!important}
#billing .kv-wallet-v1905-order{padding:17px!important;border-radius:22px!important}
#billing .kv-wallet-v1905-order strong{font-size:18px!important}
#billing .kv-wallet-v1905-order>b{font-size:26px!important}
#billing .kv-wallet-v1905-method{padding:14px!important;border-radius:22px!important}
#billing .kv-wallet-v1905-method>div>b{font-size:15px!important}
#billing .kv-wallet-v1905-method>div>small{font-size:10px!important}
#billing .kv-wallet-v1905-legal{padding:15px!important;border-radius:20px!important}
#billing .kv-wallet-v1905-legal label{font-size:11px!important}
#billing .kv-wallet-v1905-legal p{font-size:10px!important}

@media(max-width:390px){
  #billing .kv-wallet-v1905-one-time{padding:15px 12px 17px!important;border-radius:28px!important}
  #billing .kv-wallet-v1905-pack-head h3{font-size:26px!important}
  #billing .kv-wallet-v1905-pack-head>small{font-size:10px!important}
  #billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack{min-height:176px!important;padding:14px 11px 12px!important;border-radius:23px!important}
  #billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>strong{font-size:32px!important}
  #billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>small{font-size:13px!important}
  #billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>.kv-wallet-v1905-photo-estimate{font-size:12px!important}
  #billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>b{right:11px!important;bottom:11px!important;width:38px!important;height:38px!important;font-size:22px!important}
}

/* KVANTYRA V254 ACTIVE BILLING VISUAL V3
   Card-only spacing fix: keep the package name readable and reserve a real
   column for the selected-state checkmark so it cannot cover the amount/K. */
#billing .kv-wallet-v1905-one-time{
  padding-left:8px!important;
  padding-right:8px!important;
}
#billing .kv-wallet-v1905-pack-head{
  padding-left:2px!important;
  padding-right:2px!important;
}
#billing .kv-wallet-v1905-packs{
  gap:8px!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack{
  padding-left:11px!important;
  padding-right:11px!important;
  grid-template-columns:minmax(0,1fr) 38px!important;
  grid-template-rows:auto minmax(0,1fr) auto auto!important;
  column-gap:6px!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack .kv-wallet-v160-pack-name{
  grid-column:1/2!important;
  width:100%!important;
  max-width:none!important;
  overflow:visible!important;
  text-overflow:clip!important;
  font-size:11px!important;
  letter-spacing:.12em!important;
  white-space:nowrap!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>strong{
  grid-column:1/2!important;
  grid-row:2!important;
  min-width:0!important;
  max-width:100%!important;
  margin-top:35px!important;
  font-size:33px!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>small{
  grid-column:1/2!important;
  grid-row:3!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>.kv-wallet-v1905-photo-estimate{
  grid-column:1/2!important;
  grid-row:4!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>em.kv-wallet-v1905-benefit{
  right:11px!important;
  top:11px!important;
  min-width:54px!important;
  height:29px!important;
  padding:0 8px!important;
  font-size:11px!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>b{
  position:static!important;
  grid-column:2/3!important;
  grid-row:2/5!important;
  align-self:center!important;
  justify-self:end!important;
  width:36px!important;
  height:36px!important;
  border-radius:12px!important;
  font-size:22px!important;
}

@media(max-width:390px){
  #billing .kv-wallet-v1905-one-time{
    padding-left:8px!important;
    padding-right:8px!important;
  }
  #billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack{
    min-height:176px!important;
    padding:14px 9px 12px!important;
    grid-template-columns:minmax(0,1fr) 34px!important;
    column-gap:5px!important;
  }
  #billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack .kv-wallet-v160-pack-name{
    font-size:10px!important;
    letter-spacing:.09em!important;
  }
  #billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>strong{
    margin-top:32px!important;
    font-size:30px!important;
  }
  #billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>em.kv-wallet-v1905-benefit{
    right:9px!important;
    top:10px!important;
    min-width:50px!important;
    height:27px!important;
    padding:0 7px!important;
    font-size:10px!important;
  }
  #billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>b{
    width:34px!important;
    height:34px!important;
    border-radius:11px!important;
    font-size:21px!important;
  }
}


/* KVANTYRA PAYMENT EXPERIENCE V299A START
   CSS-only modernization. Payment data, Robokassa request construction,
   explicit legal consent DOM and payment handlers are intentionally untouched. */

#billing.kv-wallet-v160-screen{
  padding-left:clamp(10px,2.5vw,18px)!important;
  padding-right:clamp(10px,2.5vw,18px)!important;
  padding-bottom:calc(220px + env(safe-area-inset-bottom,0px))!important;
  background:
    radial-gradient(circle at 18% 2%,rgba(111,77,255,.08),transparent 25%),
    radial-gradient(circle at 86% 18%,rgba(69,116,255,.055),transparent 28%)!important;
}
#billing .kv-wallet-v1905{
  width:min(100%,720px)!important;
  gap:11px!important;
}

/* Compact product header: keep the same content, remove the old billboard feel. */
#billing .kv-wallet-v1905-hero{
  min-height:0!important;
  padding:14px 15px 13px!important;
  border-radius:25px!important;
  border:1px solid rgba(183,159,255,.16)!important;
  background:
    radial-gradient(circle at 92% -18%,rgba(141,80,255,.20),transparent 38%),
    radial-gradient(circle at 4% 108%,rgba(68,100,255,.13),transparent 35%),
    linear-gradient(150deg,rgba(23,23,54,.93),rgba(8,10,28,.98))!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 14px 38px rgba(0,0,0,.22)!important;
}
#billing .kv-wallet-v1905-hero:before,
#billing .kv-wallet-v1905-hero:after{opacity:.38!important}
#billing .kv-wallet-v1905-top{margin:0 0 11px!important;min-height:40px!important}
#billing .kv-wallet-v1905-back{
  width:40px!important;height:40px!important;min-width:40px!important;
  border-radius:14px!important;border:1px solid rgba(209,193,255,.16)!important;
  background:rgba(255,255,255,.045)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;font-size:20px!important
}
#billing .kv-wallet-v1905-balance{
  min-height:40px!important;padding:0 12px!important;border-radius:14px!important;
  border:1px solid rgba(204,185,255,.13)!important;background:rgba(255,255,255,.038)!important;
  box-shadow:none!important
}
#billing .kv-wallet-v1905-balance span{font-size:8px!important;letter-spacing:.04em!important}
#billing .kv-wallet-v1905-balance strong{font-size:16px!important}
#billing .kv-wallet-v1905-title{margin:0!important;padding:1px 2px 12px!important}
#billing .kv-wallet-v1905-title>span{
  font-size:8px!important;letter-spacing:.20em!important;color:rgba(190,157,255,.78)!important
}
#billing .kv-wallet-v1905-title h2{
  margin:6px 0 0!important;max-width:560px!important;font-size:clamp(28px,7.5vw,38px)!important;
  line-height:.96!important;letter-spacing:-.055em!important
}
#billing .kv-wallet-v1905-title p{
  margin:7px 0 0!important;max-width:590px!important;font-size:11.5px!important;
  line-height:1.35!important;color:rgba(226,219,243,.54)!important
}
#billing .kv-wallet-v1905-tabs{
  min-height:48px!important;padding:4px!important;border-radius:16px!important;
  border:1px solid rgba(204,184,255,.11)!important;background:rgba(4,6,18,.40)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important
}
#billing .kv-wallet-v1905-tabs button{
  min-height:40px!important;border-radius:12px!important;font-size:10.5px!important;letter-spacing:-.01em!important
}
#billing .kv-wallet-v1905-tabs button.active{
  background:linear-gradient(145deg,rgba(112,96,203,.48),rgba(72,75,151,.31))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 5px 15px rgba(0,0,0,.15)!important
}
#billing .kv-wallet-v1905-tabs em{
  margin-left:6px!important;padding:4px 7px!important;font-size:7px!important;letter-spacing:.08em!important
}

/* Package selector: dense 2 x 3 premium grid on phones/tablets. */
#billing .kv-wallet-v1905-one-time{
  padding:13px 12px 12px!important;border-radius:25px!important;
  border:1px solid rgba(184,159,255,.15)!important;
  background:
    radial-gradient(circle at 4% -8%,rgba(109,77,255,.13),transparent 34%),
    linear-gradient(150deg,rgba(20,21,48,.91),rgba(7,9,25,.97))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 15px 42px rgba(0,0,0,.22)!important
}
#billing .kv-wallet-v1905-pack-head{padding:1px 2px 10px!important;align-items:flex-end!important}
#billing .kv-wallet-v1905-pack-head span{
  font-size:8px!important;letter-spacing:.19em!important;color:rgba(187,151,255,.78)!important
}
#billing .kv-wallet-v1905-pack-head h3{
  margin-top:4px!important;font-size:26px!important;line-height:.98!important;letter-spacing:-.05em!important
}
#billing .kv-wallet-v1905-pack-head>small{
  max-width:150px!important;font-size:10px!important;line-height:1.2!important;
  white-space:normal!important;text-align:right!important;color:rgba(224,217,241,.46)!important
}
#billing .kv-wallet-v1905-packs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack,
#billing .kv-wallet-v1905-pack[data-pack="scale"]{
  min-height:146px!important;padding:12px 11px 10px!important;border-radius:20px!important;
  grid-template-columns:minmax(0,1fr) 32px!important;
  grid-template-rows:auto minmax(0,1fr) auto auto!important;column-gap:5px!important;
  border:1px solid rgba(165,151,208,.19)!important;
  background:
    radial-gradient(circle at 7% 0,rgba(118,94,197,.14),transparent 42%),
    linear-gradient(148deg,rgba(24,25,58,.93),rgba(8,10,29,.98))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 9px 24px rgba(0,0,0,.17)!important;
  transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease!important
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack:active{transform:scale(.985)!important}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack.selected{
  border-color:rgba(176,113,255,.72)!important;
  background:
    radial-gradient(circle at 0 0,rgba(139,87,236,.23),transparent 47%),
    linear-gradient(148deg,rgba(38,29,80,.97),rgba(9,10,31,.99))!important;
  box-shadow:0 0 0 1px rgba(183,121,255,.15),0 8px 26px rgba(111,64,213,.18),
    inset 0 1px 0 rgba(255,255,255,.08)!important
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack .kv-wallet-v160-pack-name{
  grid-column:1/2!important;font-size:9px!important;line-height:1!important;
  letter-spacing:.14em!important;color:rgba(225,217,247,.63)!important
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>strong{
  grid-column:1/2!important;grid-row:2!important;align-self:end!important;
  margin-top:21px!important;font-size:30px!important;line-height:.92!important;letter-spacing:-.05em!important
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>strong i{font-size:14px!important;color:#bc87ff!important}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>small{
  grid-column:1/2!important;grid-row:3!important;margin-top:7px!important;
  font-size:12px!important;line-height:1!important;color:rgba(232,225,248,.61)!important
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>.kv-wallet-v1905-photo-estimate{
  grid-column:1/2!important;grid-row:4!important;margin-top:6px!important;
  font-size:10px!important;line-height:1!important;color:rgba(225,219,241,.47)!important
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>em.kv-wallet-v1905-benefit{
  right:9px!important;top:9px!important;min-width:48px!important;height:25px!important;
  padding:0 7px!important;border-radius:999px!important;font-size:9px!important;box-shadow:none!important
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>b{
  right:9px!important;bottom:9px!important;width:32px!important;height:32px!important;
  border-radius:11px!important;font-size:19px!important;border-color:rgba(200,186,242,.16)!important;
  background:rgba(11,13,34,.58)!important;box-shadow:none!important
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack.selected>b{
  background:linear-gradient(145deg,#756eff,#9d4df2)!important;
  box-shadow:0 7px 18px rgba(112,69,228,.28)!important
}

/* Compact trust strip. */
#billing .kv-wallet-v1905-promise{gap:6px!important;margin-top:9px!important}
#billing .kv-wallet-v1905-promise>div{
  min-height:68px!important;padding:8px 5px!important;border-radius:14px!important;
  border-color:rgba(196,179,232,.07)!important;background:rgba(255,255,255,.018)!important
}
#billing .kv-wallet-v1905-promise i{
  width:22px!important;height:22px!important;margin-bottom:5px!important;border-radius:8px!important;font-size:10px!important
}
#billing .kv-wallet-v1905-promise b{font-size:8.5px!important}
#billing .kv-wallet-v1905-promise small{margin-top:3px!important;font-size:7px!important;line-height:1.2!important}

/* Modern persistent order summary above the main navigation. */
#billing .kv-wallet-v1905-dock{
  position:sticky!important;z-index:82!important;
  bottom:calc(94px + env(safe-area-inset-bottom,0px))!important;
  padding:9px 10px!important;gap:4px 10px!important;border-radius:20px!important;
  border:1px solid rgba(193,170,255,.18)!important;background:rgba(12,14,34,.90)!important;
  backdrop-filter:blur(22px) saturate(1.15)!important;
  -webkit-backdrop-filter:blur(22px) saturate(1.15)!important;
  box-shadow:0 15px 44px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.06)!important
}
#billing .kv-wallet-v1905-dock>div small{font-size:6.5px!important;letter-spacing:.12em!important}
#billing .kv-wallet-v1905-dock>div strong{margin-top:4px!important;font-size:12px!important}
#billing .kv-wallet-v1905-dock>b{font-size:16px!important}
#billing .kv-wallet-v1905-dock>button{
  height:48px!important;border-radius:14px!important;font-size:11px!important;
  background:linear-gradient(135deg,#667cff,#a845ee)!important;
  box-shadow:0 9px 24px rgba(100,57,211,.27),inset 0 1px 0 rgba(255,255,255,.21)!important
}

/* Subscription preview: useful placeholder, not a giant promo billboard. */
#billing .kv-wallet-v1905-subscription{
  min-height:0!important;padding:22px 16px 16px!important;border-radius:25px!important;
  border-color:rgba(183,158,255,.14)!important;
  background:
    radial-gradient(circle at 50% 0,rgba(88,113,255,.15),transparent 34%),
    linear-gradient(150deg,rgba(19,23,55,.95),rgba(7,9,26,.99))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 15px 38px rgba(0,0,0,.20)!important
}
#billing .kv-wallet-v1905-orbit{
  width:66px!important;height:66px!important;margin:0 auto 16px!important;
  box-shadow:0 0 0 10px rgba(100,117,255,.03),0 0 28px rgba(104,92,255,.14)!important
}
#billing .kv-wallet-v1905-subscription h2{
  font-size:27px!important;line-height:1!important;letter-spacing:-.045em!important
}
#billing .kv-wallet-v1905-subscription>p{
  max-width:520px!important;margin:9px auto 15px!important;font-size:10.5px!important;line-height:1.4!important
}
#billing .kv-wallet-v1905-sub-benefits{gap:6px!important}
#billing .kv-wallet-v1905-sub-benefits>div{
  min-height:62px!important;padding:9px 6px!important;border-radius:14px!important
}
#billing .kv-wallet-v1905-sub-benefits b{font-size:8.5px!important}
#billing .kv-wallet-v1905-sub-benefits small{font-size:7px!important}
#billing .kv-wallet-v1905-subscription>button{
  height:48px!important;margin-top:12px!important;border-radius:14px!important;font-size:10px!important
}

/* Checkout: same Robokassa + legal DOM, cleaner hierarchy. */
#billing .kv-wallet-v1905-sheet-backdrop{
  background:rgba(1,2,9,.80)!important;backdrop-filter:blur(13px)!important;
  -webkit-backdrop-filter:blur(13px)!important
}
#billing .kv-wallet-v1905-sheet-card{
  width:min(540px,100%)!important;max-height:min(90vh,780px)!important;
  padding:10px 15px calc(112px + env(safe-area-inset-bottom,0px))!important;
  border-radius:27px 27px 0 0!important;border-color:rgba(204,187,240,.14)!important;
  background:radial-gradient(circle at 94% -5%,rgba(137,72,255,.14),transparent 32%),
    linear-gradient(160deg,#151628,#080a16 70%)!important;
  box-shadow:0 -22px 70px rgba(0,0,0,.62),inset 0 1px 0 rgba(255,255,255,.06)!important
}
#billing .kv-wallet-v1905-handle{
  width:34px!important;height:4px!important;margin-bottom:13px!important;background:rgba(219,210,240,.16)!important
}
#billing .kv-wallet-v1905-sheet-head h3{
  font-size:clamp(27px,7vw,34px)!important;line-height:1!important;letter-spacing:-.045em!important
}
#billing .kv-wallet-v1905-sheet-head>button{width:38px!important;height:38px!important;border-radius:13px!important}
#billing .kv-wallet-v1905-order{
  padding:13px!important;border-radius:17px!important;border-color:rgba(199,182,235,.10)!important;
  background:rgba(255,255,255,.025)!important
}
#billing .kv-wallet-v1905-order strong{font-size:15px!important}
#billing .kv-wallet-v1905-order>b{font-size:22px!important}
#billing .kv-wallet-v1905-method-label{margin-top:13px!important;font-size:7px!important;letter-spacing:.16em!important}
#billing .kv-wallet-v1905-method{
  padding:11px!important;border-radius:17px!important;border-color:rgba(188,167,236,.10)!important;
  background:rgba(255,255,255,.025)!important
}
#billing .kv-wallet-v1905-method>div>b{font-size:13px!important}
#billing .kv-wallet-v1905-method>div>small{margin-top:3px!important;font-size:8.5px!important;line-height:1.3!important}
#billing .kv-wallet-v1905-method>em{font-size:7px!important;border-radius:999px!important}
#billing .kv-wallet-v1905-legal{
  margin-top:10px!important;padding:11px!important;border-radius:16px!important;
  border-color:rgba(190,171,232,.09)!important;background:rgba(255,255,255,.018)!important
}
#billing .kv-wallet-v1905-legal-hint{margin-bottom:8px!important;font-size:8.5px!important}
#billing .kv-wallet-v1905-legal label{
  gap:8px!important;padding:7px 0!important;font-size:9.5px!important;line-height:1.35!important
}
#billing .kv-wallet-v1905-legal input[type="checkbox"]{
  width:19px!important;height:19px!important;min-width:19px!important
}
#billing .kv-wallet-v1905-legal p{margin-top:7px!important;font-size:8.5px!important;line-height:1.4!important}
#billing .kv-wallet-v1905-pay{
  height:52px!important;margin-top:11px!important;border-radius:15px!important;font-size:11px!important;
  background:linear-gradient(135deg,#687fff,#a945ef)!important;
  box-shadow:0 10px 26px rgba(99,58,211,.29),inset 0 1px 0 rgba(255,255,255,.20)!important
}
#billing .kv-wallet-v1905-status{margin-top:6px!important;border-radius:12px!important;font-size:8.5px!important}

@media(min-width:640px){
  #billing .kv-wallet-v1905-packs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack,
  #billing .kv-wallet-v1905-pack[data-pack="scale"]{min-height:146px!important}
  #billing .kv-wallet-v1905-dock{
    grid-template-columns:minmax(0,1fr) auto minmax(190px,.72fr)!important;gap:10px!important
  }
  #billing .kv-wallet-v1905-dock>button{grid-column:auto!important}
}

@media(max-width:390px){
  #billing.kv-wallet-v160-screen{padding-left:8px!important;padding-right:8px!important}
  #billing .kv-wallet-v1905-hero{padding:12px!important;border-radius:22px!important}
  #billing .kv-wallet-v1905-title h2{font-size:27px!important}
  #billing .kv-wallet-v1905-title p{font-size:10.5px!important}
  #billing .kv-wallet-v1905-one-time{padding:11px 9px!important;border-radius:22px!important}
  #billing .kv-wallet-v1905-pack-head h3{font-size:23px!important}
  #billing .kv-wallet-v1905-pack-head>small{font-size:8.5px!important;max-width:120px!important}
  #billing .kv-wallet-v1905-packs{gap:6px!important}
  #billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack,
  #billing .kv-wallet-v1905-pack[data-pack="scale"]{
    min-height:140px!important;padding:11px 9px 9px!important;border-radius:18px!important;
    grid-template-columns:minmax(0,1fr) 29px!important
  }
  #billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>strong{margin-top:20px!important;font-size:27px!important}
  #billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>em.kv-wallet-v1905-benefit{
    right:7px!important;top:8px!important;min-width:44px!important;height:23px!important;
    padding:0 6px!important;font-size:8px!important
  }
  #billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>b{
    right:7px!important;bottom:8px!important;width:29px!important;height:29px!important;border-radius:10px!important
  }
  #billing .kv-wallet-v1905-dock{bottom:calc(91px + env(safe-area-inset-bottom,0px))!important}
}

@media(max-width:330px){
  #billing .kv-wallet-v1905-packs{grid-template-columns:1fr!important}
}

@media(prefers-reduced-motion:reduce){
  #billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack{transition:none!important}
  #billing .kv-wallet-v1905-sheet,
  #billing .kv-wallet-v1905-sheet-card{animation:none!important}
}
/* KVANTYRA PAYMENT EXPERIENCE V299A END */


/* KVANTYRA PAYMENT EXPERIENCE V299B START
   Final checkout polish. No payment behavior is implemented here. */

#billing.kv-wallet-v160-screen{
  padding-bottom:calc(132px + env(safe-area-inset-bottom,0px))!important;
}

/* Calm safe-scroll veil under Telegram chrome. */
#billing.kv-wallet-v160-screen:after{
  content:"";
  position:fixed;
  z-index:44;
  top:0;left:0;right:0;
  height:max(84px,calc(env(safe-area-inset-top,0px) + 60px));
  pointer-events:none;
  background:linear-gradient(
    180deg,
    rgba(2,4,15,.96) 0%,
    rgba(2,4,15,.79) 50%,
    rgba(2,4,15,0) 100%
  );
}

/* Turn the hero into a checkout header instead of a promo billboard. */
#billing .kv-wallet-v1905-hero{
  padding:12px 14px 11px!important;
  border-radius:22px!important;
}
#billing .kv-wallet-v1905-top{
  min-height:38px!important;
  margin-bottom:8px!important;
}
#billing .kv-wallet-v1905-back{
  width:38px!important;height:38px!important;min-width:38px!important;
}
#billing .kv-wallet-v1905-balance{
  min-height:38px!important;
}
#billing .kv-wallet-v1905-title{
  padding:0 2px 10px!important;
}
#billing .kv-wallet-v1905-title>span{
  font-size:7.5px!important;
  letter-spacing:.17em!important;
}
#billing .kv-wallet-v1905-title h2{
  margin-top:4px!important;
  font-size:clamp(27px,7vw,34px)!important;
  line-height:1!important;
}
#billing .kv-wallet-v1905-title p{
  margin-top:6px!important;
  max-width:470px!important;
  font-size:10px!important;
  line-height:1.35!important;
}
#billing .kv-wallet-v1905-tabs{
  min-height:44px!important;
  border-radius:14px!important;
}
#billing .kv-wallet-v1905-tabs button{
  min-height:36px!important;
  border-radius:10px!important;
}

/* More familiar pricing hierarchy and less visual weight. */
#billing .kv-wallet-v1905-one-time{
  padding:11px 10px 10px!important;
  border-radius:22px!important;
}
#billing .kv-wallet-v1905-pack-head{
  padding:1px 2px 8px!important;
}
#billing .kv-wallet-v1905-pack-head span{
  font-size:7.5px!important;
}
#billing .kv-wallet-v1905-pack-head h3{
  margin-top:3px!important;
  font-size:24px!important;
}
#billing .kv-wallet-v1905-pack-head>small{
  font-size:9px!important;
  max-width:135px!important;
}
#billing .kv-wallet-v1905-packs{gap:7px!important}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack,
#billing .kv-wallet-v1905-pack[data-pack="scale"]{
  min-height:132px!important;
  padding:10px 9px 9px!important;
  border-radius:18px!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack .kv-wallet-v160-pack-name{
  font-size:8px!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>strong{
  margin-top:18px!important;
  font-size:28px!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>strong i{
  font-size:13px!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>small{
  margin-top:5px!important;
  font-size:11px!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>.kv-wallet-v1905-photo-estimate{
  margin-top:5px!important;
  font-size:9px!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>em.kv-wallet-v1905-benefit{
  right:8px!important;top:8px!important;
  min-width:45px!important;height:23px!important;
  font-size:8px!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>b{
  right:8px!important;bottom:8px!important;
  width:29px!important;height:29px!important;
  border-radius:10px!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack.selected{
  box-shadow:
    0 0 0 1px rgba(182,122,255,.13),
    0 8px 22px rgba(105,63,202,.14),
    inset 0 1px 0 rgba(255,255,255,.07)!important;
}

/* Trust strip reads as one concise system row. */
#billing .kv-wallet-v1905-promise{
  margin-top:8px!important;
  gap:5px!important;
}
#billing .kv-wallet-v1905-promise>div{
  min-height:58px!important;
  padding:7px 4px!important;
  border-radius:12px!important;
}
#billing .kv-wallet-v1905-promise i{
  width:20px!important;height:20px!important;
  margin-bottom:4px!important;
}
#billing .kv-wallet-v1905-promise b{font-size:8px!important}
#billing .kv-wallet-v1905-promise small{font-size:6.5px!important}

/* Important: summary no longer floats over package content. */
#billing .kv-wallet-v1905-dock{
  position:relative!important;
  z-index:2!important;
  bottom:auto!important;
  margin:10px 0 0!important;
  padding:10px!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,rgba(22,24,51,.96),rgba(9,11,28,.98))!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 10px 26px rgba(0,0,0,.18)!important;
}
#billing .kv-wallet-v1905-dock>button{
  height:46px!important;
  border-radius:13px!important;
  font-size:10.5px!important;
}

/* Subscription preview becomes secondary, not louder than the real purchase path. */
#billing .kv-wallet-v1905-subscription{
  padding:18px 14px 14px!important;
  border-radius:22px!important;
}
#billing .kv-wallet-v1905-orbit{
  width:56px!important;height:56px!important;
  margin-bottom:13px!important;
}
#billing .kv-wallet-v1905-subscription h2{
  font-size:25px!important;
}
#billing .kv-wallet-v1905-subscription>p{
  margin:8px auto 12px!important;
  font-size:9.5px!important;
}
#billing .kv-wallet-v1905-sub-benefits>div{
  min-height:56px!important;
}
#billing .kv-wallet-v1905-subscription>button{
  height:44px!important;
}

/* Checkout sheet: keep consents visible, but let the order + CTA dominate. */
#billing .kv-wallet-v1905-sheet-card{
  padding-left:13px!important;
  padding-right:13px!important;
}
#billing .kv-wallet-v1905-order{
  padding:12px!important;
}
#billing .kv-wallet-v1905-method{
  padding:10px!important;
}
#billing .kv-wallet-v1905-legal{
  padding:10px!important;
}
#billing .kv-wallet-v1905-pay{
  height:50px!important;
}

@media(min-width:640px){
  #billing .kv-wallet-v1905-dock{
    grid-template-columns:minmax(0,1fr) auto minmax(190px,.72fr)!important;
  }
}
@media(max-width:390px){
  #billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack,
  #billing .kv-wallet-v1905-pack[data-pack="scale"]{
    min-height:126px!important;
  }
  #billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>strong{
    font-size:26px!important;
  }
}
/* KVANTYRA PAYMENT EXPERIENCE V299B END */


/* KVANTYRA PAYMENT EXPERIENCE V299C START
   Checkout focus + final visual hierarchy. Robokassa/payment semantics unchanged. */

/* Main purchase page: less nested-card feeling, more product UI. */
#billing .kv-wallet-v1905-hero,
#billing .kv-wallet-v1905-one-time{
  border-color:rgba(190,170,244,.12)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 12px 30px rgba(0,0,0,.16)!important;
}
#billing .kv-wallet-v1905-hero{
  background:
    radial-gradient(circle at 88% 0,rgba(134,82,255,.14),transparent 34%),
    linear-gradient(150deg,rgba(20,21,49,.88),rgba(8,10,27,.96))!important;
}
#billing .kv-wallet-v1905-one-time{
  background:
    radial-gradient(circle at 4% -8%,rgba(106,80,240,.09),transparent 31%),
    linear-gradient(150deg,rgba(18,20,45,.89),rgba(7,9,24,.97))!important;
}

/* Package cards: quieter unselected state, sharper selected state. */
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack,
#billing .kv-wallet-v1905-pack[data-pack="scale"]{
  border-color:rgba(174,160,216,.14)!important;
  background:linear-gradient(150deg,rgba(22,24,54,.88),rgba(7,9,27,.97))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack.selected{
  border-color:rgba(174,112,255,.76)!important;
  background:
    radial-gradient(circle at 0 0,rgba(135,84,236,.22),transparent 48%),
    linear-gradient(148deg,rgba(34,28,74,.96),rgba(8,10,30,.99))!important;
  box-shadow:
    0 0 0 1px rgba(177,115,255,.13),
    0 10px 26px rgba(105,61,205,.15),
    inset 0 1px 0 rgba(255,255,255,.075)!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack.selected:before{
  content:"";
  position:absolute;
  left:14px;right:14px;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(201,157,255,.9),transparent);
  pointer-events:none;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>em.benefit-0{
  background:rgba(132,110,190,.11)!important;
  border-color:rgba(189,168,237,.10)!important;
  color:rgba(215,200,245,.58)!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack>b{
  border-radius:50%!important;
  background:rgba(255,255,255,.018)!important;
}
#billing .kv-wallet-v1905-pack.kv-wallet-v254-active-pack.selected>b{
  background:linear-gradient(145deg,#756eff,#9c4df0)!important;
  box-shadow:0 6px 16px rgba(111,69,226,.25)!important;
}

/* Trust row behaves as one quiet reassurance strip. */
#billing .kv-wallet-v1905-promise{
  padding-top:2px!important;
}
#billing .kv-wallet-v1905-promise>div{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
#billing .kv-wallet-v1905-promise>div+div{
  border-left:1px solid rgba(205,190,240,.07)!important;
  border-radius:0!important;
}

/* Order summary: visually belongs to checkout, not another large card. */
#billing .kv-wallet-v1905-dock{
  border-color:rgba(190,169,242,.12)!important;
  background:
    linear-gradient(145deg,rgba(19,21,46,.94),rgba(8,10,27,.98))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 9px 22px rgba(0,0,0,.15)!important;
}
#billing .kv-wallet-v1905-dock>button{
  background:linear-gradient(135deg,#687dff,#a94af0)!important;
  box-shadow:0 8px 20px rgba(99,58,211,.22),inset 0 1px 0 rgba(255,255,255,.17)!important;
}

/* Checkout is a focused modal: main navigation disappears while paying. */
body.kv-wallet-v1905-checkout-open .bottom{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
#billing .kv-wallet-v1905-sheet-backdrop{
  background:rgba(1,2,10,.84)!important;
  backdrop-filter:blur(18px) saturate(.9)!important;
  -webkit-backdrop-filter:blur(18px) saturate(.9)!important;
}
#billing .kv-wallet-v1905-sheet-card{
  max-height:calc(100vh - 92px)!important;
  max-height:calc(100dvh - 92px)!important;
  padding:10px 13px calc(22px + env(safe-area-inset-bottom,0px))!important;
  border-radius:28px 28px 0 0!important;
  background:
    radial-gradient(circle at 92% -4%,rgba(132,74,255,.13),transparent 29%),
    linear-gradient(160deg,#15172b,#080a17 70%)!important;
  box-shadow:0 -24px 80px rgba(0,0,0,.68),inset 0 1px 0 rgba(255,255,255,.055)!important;
  scroll-padding-bottom:24px!important;
}
#billing .kv-wallet-v1905-handle{
  width:31px!important;
  height:3px!important;
  margin-bottom:12px!important;
  background:rgba(224,214,245,.14)!important;
}
#billing .kv-wallet-v1905-sheet-head{
  align-items:center!important;
}
#billing .kv-wallet-v1905-sheet-head>div>span{
  color:rgba(191,157,255,.78)!important;
}
#billing .kv-wallet-v1905-sheet-head h3{
  margin-top:6px!important;
}
#billing .kv-wallet-v1905-sheet-head>button{
  width:36px!important;height:36px!important;min-width:36px!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.03)!important;
}

/* Order and provider become clean system rows. */
#billing .kv-wallet-v1905-order{
  margin-top:14px!important;
  border-color:rgba(199,183,234,.08)!important;
  background:rgba(255,255,255,.018)!important;
}
#billing .kv-wallet-v1905-method-label{
  margin:12px 2px 7px!important;
}
#billing .kv-wallet-v1905-method{
  border-color:rgba(163,122,255,.20)!important;
  background:
    linear-gradient(145deg,rgba(87,59,145,.15),rgba(255,255,255,.018))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045)!important;
}
#billing .kv-wallet-v1905-method>em{
  border-color:rgba(100,220,174,.13)!important;
  background:rgba(62,173,126,.10)!important;
  color:#87dcb6!important;
}

/* Legal requirements stay explicit but read like modern consent controls. */
#billing .kv-wallet-v1905-legal{
  margin-top:10px!important;
  padding:8px!important;
  border-color:rgba(191,172,232,.08)!important;
  background:rgba(255,255,255,.012)!important;
}
#billing .kv-wallet-v1905-legal-hint{
  min-height:34px!important;
  margin:0 0 6px!important;
  padding:7px 9px!important;
  display:flex!important;
  align-items:center!important;
  border-radius:11px!important;
  border-color:rgba(210,177,108,.16)!important;
  background:rgba(145,102,34,.07)!important;
  color:rgba(232,203,146,.76)!important;
  line-height:1.25!important;
}
#billing .kv-wallet-v1905-legal-hint.ready{
  border-color:rgba(102,207,160,.15)!important;
  background:rgba(63,165,119,.07)!important;
  color:rgba(151,225,189,.82)!important;
}
#billing .kv-wallet-v1905-legal label{
  margin-top:6px!important;
  padding:9px 9px!important;
  border:1px solid rgba(201,184,238,.07)!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.014)!important;
  transition:border-color .14s ease,background .14s ease!important;
}
#billing .kv-wallet-v1905-legal label:has(input:checked){
  border-color:rgba(142,107,242,.20)!important;
  background:rgba(122,83,224,.055)!important;
}
#billing .kv-wallet-v1905-legal input[type="checkbox"]{
  width:18px!important;height:18px!important;min-width:18px!important;
  accent-color:#8b63f4!important;
}
#billing .kv-wallet-v1905-legal p{
  margin:8px 4px 2px!important;
  color:rgba(220,211,237,.37)!important;
}
#billing .kv-wallet-v1905-legal a{
  color:rgba(205,176,255,.86)!important;
  text-underline-offset:2px!important;
}

/* The CTA has a clear locked/ready state. */
#billing .kv-wallet-v1905-pay{
  margin-top:10px!important;
  height:50px!important;
}
#billing .kv-wallet-v1905-pay:disabled{
  opacity:.48!important;
  background:linear-gradient(135deg,rgba(102,111,180,.58),rgba(118,76,156,.58))!important;
  box-shadow:none!important;
}
#billing .kv-wallet-v1905-pay:not(:disabled){
  opacity:1!important;
  background:linear-gradient(135deg,#657dff,#aa45ef)!important;
  box-shadow:0 9px 24px rgba(99,58,211,.28),inset 0 1px 0 rgba(255,255,255,.18)!important;
}
#billing .kv-wallet-v1905-status{
  margin-top:7px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  font-size:8.5px!important;
  line-height:1.35!important;
}
#billing .kv-wallet-v1905-status.show{
  padding:8px 9px!important;
  border-radius:11px!important;
}
#billing .kv-wallet-v1905-status.show.error{
  border:1px solid rgba(255,90,142,.12)!important;
  background:rgba(128,28,63,.10)!important;
}

/* Subscription remains intentionally secondary until recurring billing exists. */
#billing .kv-wallet-v1905-subscription{
  border-color:rgba(180,160,231,.10)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 10px 24px rgba(0,0,0,.15)!important;
}

@media(max-width:390px){
  #billing .kv-wallet-v1905-sheet-card{
    max-height:calc(100dvh - 82px)!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }
  #billing .kv-wallet-v1905-legal label{
    padding:8px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  #billing .kv-wallet-v1905-legal label{transition:none!important}
}
/* KVANTYRA PAYMENT EXPERIENCE V299C END */
