/* Приложение «Родные CS» на сайте: кнопка «Скачать приложение» (Android) */
.rcs-apk{position:fixed;left:12px;right:12px;bottom:78px;z-index:2100;display:flex;align-items:center;gap:12px;overflow:hidden;
  padding:12px 10px 12px 12px;border-radius:18px;color:#f3ead7;
  background:linear-gradient(135deg,#1b160e 0%,#120f0a 60%,#1f170b 100%);
  border:1px solid rgba(217,164,65,.5);
  box-shadow:0 14px 34px -14px rgba(0,0,0,.9),0 0 0 1px rgba(245,207,114,.06) inset,0 0 26px -10px rgba(217,164,65,.55);
  font:14px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;animation:rcsApkUp .45s cubic-bezier(.2,.9,.3,1.2)}
.rcs-apk.out{animation:rcsApkDown .3s ease-in forwards}
.rcs-apk__glow{position:absolute;inset:-40% -10% auto auto;width:160px;height:160px;border-radius:50%;
  background:radial-gradient(circle,rgba(245,207,114,.28),transparent 65%);pointer-events:none}
.rcs-apk__icon{position:relative;width:46px;height:46px;border-radius:12px;flex:0 0 auto;box-shadow:0 4px 14px -4px rgba(217,164,65,.8)}
.rcs-apk__text{position:relative;flex:1 1 auto;min-width:0}
.rcs-apk__text b{display:block;font-size:15px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rcs-apk__text span{display:block;font-size:12px;color:#b9a989;margin-top:2px}
.rcs-apk__btn{position:relative;flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;border:0;border-radius:12px;
  padding:10px 14px;font-weight:800;font-size:14px;color:#1b1306;cursor:pointer;
  background:linear-gradient(135deg,#f9dc8a 0%,#f5cf72 40%,#d9a441 100%);
  box-shadow:0 6px 16px -6px rgba(217,164,65,.9),0 1px 0 rgba(255,255,255,.5) inset;animation:rcsApkPulse 2.6s ease-in-out 1.2s 3}
.rcs-apk__btn:active{transform:scale(.97)}
.rcs-apk__close{position:relative;flex:0 0 auto;background:none;border:0;color:#8f846f;font-size:22px;line-height:1;padding:4px 6px;cursor:pointer}
@keyframes rcsApkUp{from{transform:translateY(30px);opacity:0}to{transform:none;opacity:1}}
@keyframes rcsApkDown{to{transform:translateY(30px);opacity:0}}
@keyframes rcsApkPulse{0%,100%{box-shadow:0 6px 16px -6px rgba(217,164,65,.9),0 0 0 0 rgba(245,207,114,.55)}50%{box-shadow:0 6px 16px -6px rgba(217,164,65,.9),0 0 0 8px rgba(245,207,114,0)}}

.rcs-apk-sheet{position:fixed;inset:0;z-index:2200;background:rgba(6,5,3,.72);display:flex;align-items:flex-end;justify-content:center;animation:rcsApkFade .2s ease-out}
.rcs-apk-sheet.out{opacity:0;transition:opacity .25s}
.rcs-apk-sheet__box{width:100%;max-width:480px;box-sizing:border-box;padding:20px 20px 26px;border-radius:22px 22px 0 0;color:#eae4d8;
  background:linear-gradient(180deg,#1a150d,#110e09);border:1px solid rgba(217,164,65,.35);border-bottom:0;
  font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;animation:rcsApkUp .3s ease-out}
.rcs-apk-sheet__head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.rcs-apk-sheet__head img{width:48px;height:48px;border-radius:12px}
.rcs-apk-sheet__head b{display:block;font-size:17px;color:#f5cf72}
.rcs-apk-sheet__head span{font-size:12.5px;color:#9a917f}
.rcs-apk-sheet ol{margin:0 0 12px;padding-left:20px}
.rcs-apk-sheet li{margin:7px 0}
.rcs-apk-sheet li b{color:#fff}
.rcs-apk-sheet__note{margin:0 0 16px;font-size:13px;color:#9a917f}
.rcs-apk-sheet button{width:100%;border:0;border-radius:14px;padding:13px;font-size:15px;font-weight:800;color:#1b1306;
  background:linear-gradient(135deg,#f9dc8a,#d9a441);cursor:pointer}
@keyframes rcsApkFade{from{opacity:0}to{opacity:1}}

.rcs-apk-toast{position:fixed;left:50%;bottom:150px;z-index:2300;transform:translateX(-50%);max-width:90%;padding:10px 16px;border-radius:12px;
  background:#1a150d;border:1px solid rgba(217,164,65,.4);color:#f3ead7;font:14px/1.4 Arial,sans-serif;box-shadow:0 10px 24px -10px #000;transition:opacity .4s}
.rcs-apk-toast.out{opacity:0}

/* В самом приложении: нижнее меню не прячется под «полоской» iPhone */
html.rcs-app .mobile-menu-bottom{padding-bottom:env(safe-area-inset-bottom)}
html.rcs-app body{-webkit-tap-highlight-color:transparent}

/* Значок «сейчас в приложении» у ссылок на профиль. !important — чтобы стили блоков сайта его не растягивали */
.rcs-appb{display:inline-block!important;box-sizing:border-box!important;width:15px!important;height:15px!important;min-width:0!important;max-width:none!important;
  padding:0!important;margin:0 0 0 5px!important;vertical-align:-2px!important;border-radius:5px!important;flex:0 0 auto!important;float:none!important;
  line-height:0!important;font-size:0!important;text-shadow:none!important;transform:none!important;opacity:1!important;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231b1306' d='M7 2h10a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm0 3v13h10V5H7z'/%3E%3C/svg%3E") center/60% 60% no-repeat,linear-gradient(135deg,#f5cf72,#d9a441)!important;
  box-shadow:0 2px 6px -2px rgba(217,164,65,.8)!important}
.rcs-appb::before,.rcs-appb::after{content:none!important;display:none!important}
.rcs-appb.rcs-appb--av{position:absolute!important;right:auto!important;bottom:auto!important;margin:0!important;z-index:5!important;
  border:2px solid #0f1117!important;border-radius:50%!important}

/* Лайк граффити на стене профиля */
.rcs-glike{display:inline-flex!important;align-items:center;gap:6px;margin-top:8px;padding:5px 12px!important;border-radius:999px!important;cursor:pointer;
  background:#1e293b!important;border:1px solid #334155!important;color:#94a3b8!important;font:600 12px/1.2 Arial,sans-serif!important;transition:all .15s}
.rcs-glike:hover{border-color:#f43f5e!important;color:#fda4af!important}
.rcs-glike b{color:#e2e8f0;font-weight:700}
.rcs-glike.liked{background:rgba(244,63,94,.15)!important;border-color:#f43f5e!important;color:#fb7185!important}
.rcs-glike.pop svg{animation:rcsHeart .5s ease}
@keyframes rcsHeart{0%{transform:scale(1)}35%{transform:scale(1.5)}70%{transform:scale(.9)}100%{transform:scale(1)}}
