/* Родные CS — подарки */
.rg-host{position:relative}
.rg-avwrap{position:relative;display:block;width:max-content;margin:0 auto}
.rg-avwrap > img{display:block}
.rg-ava{position:absolute;left:4%;right:4%;bottom:-6%;z-index:5;display:flex;justify-content:center;align-items:flex-end;pointer-events:none}
.rg-ava:empty{display:none}
.rg-a{pointer-events:auto;flex:0 0 auto;width:11%;max-width:32px;min-width:14px;aspect-ratio:1/1;margin:0 -1.2%;padding:0;border:0;background:none;cursor:pointer;
  filter:drop-shadow(0 2px 2px rgba(0,0,0,.6));animation:rgPop .45s cubic-bezier(.2,1.6,.4,1) backwards;animation-delay:calc(var(--i) * 60ms);transition:transform .2s cubic-bezier(.2,1.6,.4,1)}
.rg-a img{width:100%;height:100%;display:block;object-fit:contain}
.rg-a:hover,.rg-a:focus-visible{transform:translateY(-4px) scale(1.35);z-index:3;outline:0}
.pv3-av .rg-ava{left:0;right:0;bottom:-10%}
.pv3-av .rg-a{width:22%;margin:0 -3%}

.rg-bar{display:flex;flex-direction:column;gap:7px;margin:14px 0 4px}
.rg-bar:empty{display:none}
.rg-bar--app{margin:10px 12px 2px;align-items:center}
.rg-chip{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 14px;border-radius:12px;border:1px solid var(--line,#2c261b);background:var(--card,#17140f);color:var(--text,#f1ebdd);font:700 13.5px/1 inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.rg-chip svg{width:17px;height:17px;color:var(--accent,#d9a441)}
.rg-chip i{font-style:normal;min-width:20px;padding:2px 6px;border-radius:99px;background:rgba(217,164,65,.16);color:var(--accent2,#f5cf72);font-size:11.5px;font-weight:800;text-align:center}
.rg-chip em{font-style:normal;font-size:14px}
.rg-chip:active{transform:scale(.97)}
.rg-mnote{margin:-4px 0 10px;font-size:13px;color:#f9a8d4}
.rg-menu{display:flex;flex-direction:column;gap:8px;text-align:left}
.rg-menu button{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border-radius:16px;border:1px solid #2c2419;background:#17130e;color:#f1ebdd;font-family:inherit;cursor:pointer;text-align:left}
.rg-menu button > span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:2px}
.rg-menu b{font-size:15px}.rg-menu small{font-size:12px;color:#a39885}.rg-menu i{font-style:normal;color:#7c7464;font-size:20px}
.rg-menu__i{flex:0 0 40px;height:40px;display:grid;place-items:center;border-radius:12px;background:rgba(217,164,65,.14);color:#f5cf72;font-size:18px}
.rg-menu__i svg{width:20px;height:20px}
.rg-menu__i--2{background:rgba(255,255,255,.06);color:#cfc6b4}
.modal .uprof .rg-bar{margin:12px 0 6px}
.rg-bday{padding:8px 12px;border-radius:14px;text-align:center;font-weight:900;font-size:13px;color:#fff;background:linear-gradient(135deg,#f472b6,#a855f7);box-shadow:0 8px 20px -12px #f472b6;animation:rgBday 2.4s ease-in-out infinite}
.rg-give{position:relative;overflow:hidden;width:100%;display:flex;align-items:center;justify-content:center;gap:7px;height:44px;border:0;border-radius:14px;cursor:pointer;
  background:linear-gradient(135deg,#ff7aa8,#e83e8c 50%,#9d3cf0);color:#fff;font:900 15px/1 Arial,sans-serif;box-shadow:0 10px 22px -12px #e83e8c,inset 0 1px 0 rgba(255,255,255,.35)}
.rg-give span{font-size:18px;display:inline-block;animation:rgWob 2.4s ease-in-out infinite}
.rg-give::after{content:"";position:absolute;top:0;bottom:0;width:35%;left:-50%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.5),transparent);transform:skewX(-20deg);animation:rgShine 3s ease-in-out infinite}
.rg-give.is-bday{animation:rgBday 2.4s ease-in-out infinite}
.rg-give:active{transform:scale(.97)}
.rg-all{width:100%;height:36px;border-radius:12px;border:1px solid rgba(245,207,114,.3);background:rgba(245,207,114,.08);color:#f5cf72;font:800 13px/1 Arial,sans-serif;cursor:pointer}
.rg-all i{font-style:normal;margin-left:4px;padding:2px 7px;border-radius:99px;background:rgba(245,207,114,.2)}
.rg-all--mine{height:40px}

/* окна */
.rg-modal{position:fixed;inset:0;z-index:10050;display:flex;align-items:center;justify-content:center;padding:14px;background:rgba(5,4,8,0);transition:background .2s}
.rg-modal.modal{padding:14px!important;align-items:center!important}
.rg-modal.is-on{background:rgba(5,4,8,.78)}
.rg-pop{position:relative;width:100%;max-width:440px;max-height:92vh;overflow-y:auto;overflow-x:hidden;padding:18px 16px 16px;border-radius:26px;text-align:center;color:#f1ebdd;font-family:Arial,sans-serif;box-sizing:border-box;
  background:radial-gradient(90% 50% at 50% 0%,rgba(255,92,147,.16),transparent 70%),linear-gradient(180deg,#1d1612,#0f0c0a);border:1px solid rgba(245,207,114,.35);box-shadow:0 30px 70px -20px #000,0 0 40px -20px #ff5c93;
  transform:scale(.88);opacity:0;transition:transform .3s cubic-bezier(.2,1.5,.4,1),opacity .2s;scrollbar-width:none}
.rg-modal.is-on .rg-pop{transform:none;opacity:1}
.rg-modal--gc .rg-pop{max-width:560px;text-align:left}
.rg-x{position:absolute;top:10px;right:10px;z-index:3;width:34px;height:34px;border-radius:11px;border:0;background:rgba(255,255,255,.08);color:#fff;font-size:22px;line-height:1;cursor:pointer}
.rg-title{font-size:18px;font-weight:900;margin:2px 34px 12px}
.rg-title span{color:#f5cf72}
.rg-big{position:relative;width:150px;height:150px;margin:4px auto 8px;display:grid;place-items:center}
.rg-big img{position:relative;width:100%;height:100%;object-fit:contain;animation:rgFloat 2.6s ease-in-out infinite;filter:drop-shadow(0 12px 14px rgba(0,0,0,.5))}
.rg-rays{position:absolute;inset:-30px;border-radius:50%;background:repeating-conic-gradient(from 0deg,rgba(255,214,102,.22) 0 9deg,transparent 9deg 22deg);-webkit-mask:radial-gradient(circle,#000 20%,transparent 68%);mask:radial-gradient(circle,#000 20%,transparent 68%);animation:rgSpin 10s linear infinite}
.rg-emo{font-size:30px;line-height:1}
.rg-emo--big{position:relative;font-size:84px;animation:rgFloat 2.6s ease-in-out infinite}
.rg-name{font-size:19px;font-weight:900;margin-bottom:8px;text-align:center}
.rg-from{display:inline-flex;align-items:center;gap:8px;padding:6px 14px 6px 6px;border-radius:99px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);color:#f1ebdd!important;text-decoration:none!important;text-align:left}
.rg-from img{width:32px;height:32px;border-radius:50%;object-fit:cover}
.rg-from small{display:block;font-size:10.5px;color:#a39885}
.rg-from b{font-size:14px}
.rg-msg{margin:12px auto 0;max-width:320px;padding:10px 14px;border-radius:16px;background:rgba(255,92,147,.1);border:1px solid rgba(255,92,147,.25);font-size:14.5px;line-height:1.4;font-style:italic;word-wrap:break-word}
.rg-date{margin-top:10px;font-size:12px;color:#8a8070;text-align:center}
.rg-empty{padding:22px 10px;text-align:center;font-size:13.5px;line-height:1.45;color:#a39885}
.rg-skel{height:58px;margin-bottom:6px;border-radius:14px;background:linear-gradient(100deg,rgba(255,255,255,.03) 40%,rgba(255,255,255,.08) 50%,rgba(255,255,255,.03) 60%);background-size:200% 100%;animation:rgShim 1.3s linear infinite}
.rg-skel--c{height:130px;margin:0}
.rg-list{text-align:left}
.rg-row{width:100%;display:flex;align-items:center;gap:10px;margin-bottom:6px;padding:8px 10px;border-radius:14px;border:1px solid #2a2419;background:#16120d;color:#f1ebdd;text-align:left;cursor:pointer;font-family:inherit}
.rg-row__i{flex:0 0 40px;height:40px;display:grid;place-items:center;border-radius:12px;background:rgba(255,255,255,.04)}
.rg-row__i img{width:36px;height:36px;object-fit:contain}
.rg-row__i .rg-emo{font-size:22px}
.rg-row__t{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.rg-row__t small{font-size:11.5px;color:#a39885}
.rg-row__t small b{color:#e7dcc4}
.rg-row__t > b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rg-row__t em{font-size:12px;color:#f9a8d4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rg-row__d{flex:0 0 auto;font-size:11px;color:#7c7464}
.rg-btn2{margin-top:8px;padding:9px 16px;border-radius:12px;border:1px solid #3a3020;background:#1b1610;color:#f5cf72;font-weight:800;cursor:pointer}
.rg-load{font-size:12.5px;color:#a39885}

/* центр подарков */
.rg-gc__head{margin:0 36px 10px 2px}
.rg-gc__head b{display:block;font-size:18px;font-weight:900}
.rg-gc__head b span{color:#f5cf72}
.rg-gc__head em{display:inline-block;margin-top:4px;padding:2px 9px;border-radius:99px;background:linear-gradient(135deg,#f472b6,#a855f7);color:#fff;font-style:normal;font-size:11.5px;font-weight:800}
.rg-gc__head small{display:block;margin-top:4px;font-size:11.5px;color:#8a8070}
.rg-tabs{display:flex;gap:6px;overflow-x:auto;margin:0 -16px 12px;padding:0 16px 2px;scrollbar-width:none}
.rg-tabs::-webkit-scrollbar{display:none}
.rg-tabs button{flex:0 0 auto;height:36px;padding:0 13px;border-radius:99px;border:1px solid #2c2419;background:#17130e;color:#cfc6b4;font:800 13px/1 Arial,sans-serif;cursor:pointer}
.rg-tabs button.is-on{background:linear-gradient(135deg,#ff7aa8,#9d3cf0);border-color:transparent;color:#fff;box-shadow:0 8px 18px -10px #e83e8c}
.rg-gc__body{min-height:200px}
.rg-gc__bal{margin-top:12px;padding-top:10px;border-top:1px solid #2a2419;font-size:13px;color:#a39885;text-align:center}
.rg-gc__bal b{color:#f5cf72}
.rg-gc__bal a,.rg-err a{color:#fde68a!important;font-weight:900}
.rg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.rg-prod{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:8px 6px 9px;border-radius:16px;border:1px solid #2c2419;background:#17130e;color:#f1ebdd;cursor:pointer;font-family:inherit;transition:transform .15s,border-color .15s}
.rg-prod img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:11px;background:#221c14}
.rg-prod--item img{object-fit:contain;background:none;width:72%}
.rg-prod .rg-emo{width:100%;aspect-ratio:1/1;display:grid;place-items:center;border-radius:11px;background:#221c14;font-size:34px}
.rg-prod b{max-width:100%;font-size:12px;font-weight:800;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-align:center}
.rg-prod em{font-style:normal;font-size:12px;font-weight:900;color:#f5cf72}
.rg-prod em s{color:#7c7464;font-weight:600;font-size:10.5px}
.rg-prod:hover{border-color:rgba(255,92,147,.5);transform:translateY(-2px)}
.rg-prod.is-sel{border-color:#ff5c93;box-shadow:0 0 0 2px #ff5c93}
.rg-hint{margin-bottom:8px;font-size:12.5px;color:#a39885;text-align:center}
.rg-back{margin-bottom:8px;padding:6px 10px;border-radius:10px;border:0;background:rgba(255,255,255,.06);color:#e7dcc4;font:800 13px Arial,sans-serif;cursor:pointer}
.rg-pd{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.rg-pd img{width:72px;height:72px;border-radius:14px;object-fit:cover;background:#221c14}
.rg-pd b{font-size:16px;font-weight:900}
.rg-tarifs{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:6px;margin-bottom:10px}
.rg-tarifs button{display:flex;flex-direction:column;gap:3px;padding:9px 10px;border-radius:12px;border:1px solid #2c2419;background:#17130e;color:#e7dcc4;text-align:left;cursor:pointer;font-family:inherit}
.rg-tarifs button span{font-size:12.5px}
.rg-tarifs button b{font-size:13.5px;color:#f5cf72}
.rg-tarifs button.is-on{border-color:#ff5c93;box-shadow:0 0 0 2px rgba(255,92,147,.6)}
.rg-param{display:block;margin-bottom:8px}
.rg-param span{display:block;margin-bottom:4px;font-size:12px;color:#a39885}
.rg-param span i{font-style:normal;color:#86efac}
.rg-param input,.rg-amt input{width:100%;box-sizing:border-box;height:42px;padding:0 12px;border-radius:12px;border:1px solid #3a3020;background:#14110c;color:#f1ebdd;font:15px Arial,sans-serif;outline:0}
.rg-param input[readonly]{color:#86efac;background:rgba(34,197,94,.07);border-color:rgba(34,197,94,.3)}
.rg-note{position:relative;display:block;margin-top:8px}
.rg-note textarea{width:100%;box-sizing:border-box;resize:none;padding:10px 12px;border-radius:14px;border:1px solid #3a3020;background:#14110c;color:#f1ebdd;font:14px/1.35 Arial,sans-serif;outline:0}
.rg-note textarea:focus,.rg-param input:focus,.rg-amt input:focus{border-color:rgba(255,92,147,.6)}
.rg-err{margin-top:8px;padding:8px 10px;border-radius:12px;background:rgba(239,68,68,.12);color:#fca5a5;font-size:13px;text-align:center}
.rg-send{width:100%;height:48px;margin-top:10px;border:0;border-radius:15px;cursor:pointer;font:900 15.5px/1 Arial,sans-serif;color:#fff;background:linear-gradient(135deg,#ff7aa8,#e83e8c 50%,#9d3cf0);box-shadow:0 12px 26px -12px #e83e8c,inset 0 1px 0 rgba(255,255,255,.35)}
.rg-send:disabled{opacity:.5;cursor:default}
.rg-fine{margin-top:8px;font-size:11px;line-height:1.4;color:#7c7464;text-align:center}
.rg-money{text-align:center}
.rg-money__ico{font-size:54px;line-height:1.1;animation:rgFloat 2.6s ease-in-out infinite}
.rg-money > b{display:block;margin:6px 0 10px;font-size:15px}
.rg-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-bottom:10px}
.rg-chips button{height:34px;padding:0 14px;border-radius:99px;border:1px solid #3a3020;background:#17130e;color:#f5cf72;font:800 13px Arial,sans-serif;cursor:pointer}
.rg-amt{position:relative;display:block}
.rg-amt span{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#a39885}
.rg-done{position:relative;z-index:1;text-align:center;padding-top:6px}
.rg-sparks{position:absolute;left:50%;top:120px;width:0;height:0;pointer-events:none}
.rg-sparks i{position:absolute;width:8px;height:8px;margin:-4px;border-radius:2px;opacity:0;animation:rgBurst 1s cubic-bezier(.2,.8,.3,1) forwards;animation-delay:var(--d)}
.rg-gc__body{position:relative}
.rg-bnote{margin-top:6px;font-size:12px;color:#f9a8d4}
.rg-toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%);z-index:10060;max-width:86vw;padding:10px 14px;border-radius:12px;background:#2a241a;color:#f1ebdd;font:13px Arial,sans-serif;box-shadow:0 10px 30px rgba(0,0,0,.5)}
/* «Сегодня день рождения» на главной */
.rg-bs{position:relative;overflow:hidden;display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:10px 12px;border-radius:18px;color:#fff;font-family:inherit;
  background:linear-gradient(110deg,#db2777,#9333ea 55%,#4f46e5);box-shadow:0 12px 28px -14px #db2777,inset 0 1px 0 rgba(255,255,255,.25);animation:rgBsIn .5s cubic-bezier(.2,1.4,.4,1)}
.rg-bs--app{margin:0 0 10px}
.rg-bs__fx{position:absolute;inset:0;pointer-events:none}
.rg-bs__fx i{position:absolute;top:-10px;width:6px;height:10px;border-radius:2px;opacity:.8;animation:rgBsFall 4s linear infinite}
.rg-bs__fx i:nth-child(1){left:8%;background:#fde047;animation-delay:0s}.rg-bs__fx i:nth-child(2){left:24%;background:#7dd3fc;animation-delay:1.3s}
.rg-bs__fx i:nth-child(3){left:41%;background:#fff;animation-delay:2.4s}.rg-bs__fx i:nth-child(4){left:63%;background:#86efac;animation-delay:.7s}
.rg-bs__fx i:nth-child(5){left:79%;background:#fde047;animation-delay:3.1s}.rg-bs__fx i:nth-child(6){left:92%;background:#f9a8d4;animation-delay:1.9s}
.rg-bs__cake{position:relative;flex:0 0 auto;font-size:26px;line-height:1;animation:rgWob 2.2s ease-in-out infinite}
.rg-bs__av{position:relative;flex:0 0 auto;display:flex}
.rg-bs__av img{position:relative;width:34px;height:34px;margin-left:-10px;border-radius:50%;object-fit:cover;border:2px solid #fff;background:#3b0764}
.rg-bs__av img:first-child{margin-left:0}
.rg-bs__t{position:relative;flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}
.rg-bs__t small{font-size:11.5px;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rg-bs__t b{font-size:15px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rg-bs__t a{color:#fff!important;text-decoration:none!important}
.rg-bs__t.is-many b{white-space:normal;font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.rg-bs__t a:hover{text-decoration:underline!important}
.rg-bs__go{position:relative;flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;height:36px;padding:0 13px;border-radius:12px;background:#fff;color:#9d174d!important;font:900 13px/1 Arial,sans-serif;text-decoration:none!important;box-shadow:0 6px 14px -6px rgba(0,0,0,.5)}
@media (max-width:440px){.rg-bs__go span{display:none}.rg-bs__go{width:40px;padding:0;justify-content:center;font-size:18px}}
/* на сайте полоска золотая, переливается */
.rg-bs:not(.rg-bs--app){color:#2a1600;border:1px solid rgba(255,236,170,.7);
  background:linear-gradient(110deg,#7a4b0b 0%,#c88a1c 14%,#f5cf72 28%,#fff6d0 36%,#f2b93b 46%,#a86a12 60%,#e9b44c 74%,#fff3c4 84%,#c88a1c 100%);
  background-size:260% 100%;animation:rgBsIn .5s cubic-bezier(.2,1.4,.4,1),rgGold 6s linear infinite;
  box-shadow:0 12px 30px -14px rgba(217,164,65,.95),inset 0 1px 0 rgba(255,255,255,.6),inset 0 -2px 0 rgba(90,58,6,.35)}
.rg-bs:not(.rg-bs--app)::after{content:"";position:absolute;top:0;bottom:0;width:30%;left:-40%;pointer-events:none;background:linear-gradient(100deg,transparent,rgba(255,255,255,.65),transparent);transform:skewX(-20deg);animation:rgShine 3.5s ease-in-out infinite}
.rg-bs:not(.rg-bs--app) .rg-bs__t a{color:#2a1600!important;text-shadow:0 1px 0 rgba(255,246,208,.6)}
.rg-bs:not(.rg-bs--app) .rg-bs__t small{opacity:1;color:#5a3a06;font-weight:700}
.rg-bs:not(.rg-bs--app) .rg-bs__av img{border-color:#fff6d0;background:#5a3a06;box-shadow:0 2px 6px rgba(90,58,6,.5)}
.rg-bs:not(.rg-bs--app) .rg-bs__go{background:linear-gradient(180deg,#2a1d0c,#140e06);color:#f5cf72!important;border:1px solid rgba(90,58,6,.6)}
.rg-bs:not(.rg-bs--app) .rg-bs__fx i{opacity:.55}
@keyframes rgGold{from{background-position:0% 50%}to{background-position:260% 50%}}
@keyframes rgBsIn{from{transform:translateY(-8px) scale(.97);opacity:0}}
@keyframes rgBsFall{0%{transform:translateY(0) rotate(0)}100%{transform:translateY(90px) rotate(360deg)}}
@keyframes rgPop{from{transform:translateY(10px) scale(.3);opacity:0}}
@keyframes rgBday{50%{box-shadow:0 0 0 3px rgba(244,114,182,.35),0 10px 24px -10px #f472b6}}
@keyframes rgShim{to{background-position:-200% 0}}
@keyframes rgWob{0%,100%{transform:rotate(0)}25%{transform:rotate(-12deg) scale(1.1)}75%{transform:rotate(10deg)}}
@keyframes rgShine{0%,60%{left:-50%}100%{left:130%}}
@keyframes rgFloat{50%{transform:translateY(-8px) rotate(3deg)}}
@keyframes rgSpin{to{transform:rotate(360deg)}}
@keyframes rgBurst{0%{opacity:1;transform:translate(0,0) rotate(0)}100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(300deg)}}
@media (max-width:420px){.rg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rg-grid--items{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (prefers-reduced-motion:reduce){.rg-bs,.rg-bs::after,.rg-bs__fx i,.rg-bs__cake,.rg-a,.rg-give span,.rg-give::after,.rg-big img,.rg-rays,.rg-bday,.rg-give.is-bday,.rg-emo--big,.rg-money__ico{animation:none}}
