/* ===== 💞 PupsiChatik (основа — раздел «Любовь» PupsiChatik) — в стиле экрана входа PupsiChatik:
   тёмный верх, розово-фиолетово-синий градиент и «звёзды». ===== */
:root {
  --love-pink: #ff4fb3;
  --love-violet: #a45cf0;
  --love-card: rgba(58, 33, 110, .62);
  --love-card-border: rgba(255, 255, 255, .16);
  --love-text: #fff;
  --love-muted: rgba(255, 255, 255, .72);
  --love-tile: rgba(255, 255, 255, .1);
  --love-tile-hover: rgba(255, 255, 255, .18);
  --love-selected: #ff7ac6;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--love-text);
  background: #1a1333;
  -webkit-tap-highlight-color: transparent;
}
.love-bg {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background:
    linear-gradient(180deg, #0f0b24 0, #0f0b24 70px, transparent 140px),
    radial-gradient(120% 90% at 0% 20%, #e25fb6 0%, transparent 55%),
    radial-gradient(120% 90% at 100% 60%, #4c63c4 0%, transparent 60%),
    linear-gradient(135deg, #c95db4 0%, #7a55c0 50%, #4b5bb8 100%);
}
.love-stars span {
  position: absolute; border-radius: 50%; background: #fff;
  opacity: .55; animation: love-twinkle 4s ease-in-out infinite;
}
@keyframes love-twinkle { 0%, 100% { opacity: .2; } 50% { opacity: .8; } }

.love-app {
  position: relative; z-index: 1;
  max-width: 440px; margin: 0 auto;
  padding: 12px 16px 40px;
  min-height: 100vh;
}
.love-top { display: flex; align-items: center; gap: 12px; height: 44px; }
.love-back, .love-exit {
  width: 36px; height: 36px; flex: 0 0 36px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff;
  font-size: 24px; line-height: 36px; text-align: center; text-decoration: none;
  cursor: pointer;
}
.love-exit { font-size: 16px; }
.love-back[hidden] { visibility: hidden; display: block; }
.love-progress { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.love-progress[hidden] { visibility: hidden; display: block; }
.love-progress-bar { height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--love-pink), var(--love-violet)); transition: width .35s ease; }

.love-logo { text-align: center; margin: 14px 0 8px; }
.love-logo[hidden] { display: none; }
.love-logo-heart { font-size: 34px; vertical-align: middle; }
.love-logo-text {
  font-size: 32px; font-weight: 800; vertical-align: middle;
  background: linear-gradient(90deg, #ffb3e0, #c9a7ff 60%, #9fb6ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.love-logo-sub { display: block; color: var(--love-muted); font-size: 14px; margin-top: 2px; }

.love-screen { animation: love-in .3s ease; }
@keyframes love-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.love-title { font-size: 24px; font-weight: 800; text-align: center; margin: 14px 0 6px; line-height: 1.25; }
.love-sub { text-align: center; color: var(--love-muted); font-size: 14px; margin: 0 0 16px; }

/* Большие кнопки «Я принцесса / Я принц» */
.love-big-choices { display: grid; gap: 12px; margin-top: 18px; }
.love-big {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: 0; border-radius: 18px;
  background: #fff; color: #2a1b4a; text-align: left; cursor: pointer;
  box-shadow: 0 8px 24px rgba(20, 8, 50, .25);
  transition: transform .15s ease;
}
.love-big:active { transform: scale(.98); }
.love-big-emoji { font-size: 38px; }
.love-big b { display: block; font-size: 18px; }
.love-big small { display: block; margin-top: 3px; color: #7a6a95; font-size: 13px; font-style: italic; line-height: 1.35; }

/* Сетка карточек-картинок 2×2 */
.love-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.love-tile {
  position: relative; padding: 0; border: 2px solid transparent; border-radius: 16px;
  background: var(--love-tile); color: #fff; cursor: pointer; overflow: hidden;
  text-align: center; font: inherit;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.love-tile:hover { background: var(--love-tile-hover); }
.love-tile:active { transform: scale(.98); }
.love-tile.selected { border-color: var(--love-selected); background: rgba(255, 122, 198, .22); }
.love-tile-pic {
  position: relative; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .05));
  font-size: 64px;
}
.love-tile-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.love-tile-label { display: block; padding: 10px 6px 12px; font-weight: 700; font-size: 15px; }
.love-check {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 24px; height: 24px; border-radius: 7px;
  border: 2px solid rgba(255, 255, 255, .85); background: rgba(0, 0, 0, .15);
  font-size: 15px; line-height: 20px; color: #fff;
}
.love-tile.selected .love-check { background: var(--love-selected); border-color: var(--love-selected); }
.love-tile.selected .love-check::after { content: '✓'; }

/* Список вариантов (цель знакомства) */
.love-list { display: grid; gap: 10px; }
.love-row {
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
  padding: 16px; border: 2px solid transparent; border-radius: 16px;
  background: var(--love-tile); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
.love-row span { font-size: 28px; }
.love-row.selected { border-color: var(--love-selected); background: rgba(255, 122, 198, .22); }
.love-wide { grid-column: 1 / -1; padding: 14px; }

.love-btn {
  display: block; width: 100%; margin-top: 18px; padding: 15px;
  border: 0; border-radius: 16px; cursor: pointer;
  background: linear-gradient(90deg, var(--love-pink), var(--love-violet));
  color: #fff; font: inherit; font-size: 17px; font-weight: 800;
  box-shadow: 0 8px 22px rgba(255, 79, 179, .35);
}
.love-btn:disabled { opacity: .45; cursor: default; box-shadow: none; }
.love-btn.ghost { background: rgba(255, 255, 255, .14); box-shadow: none; font-weight: 700; }
.love-btn.danger { background: rgba(120, 20, 40, .55); box-shadow: none; font-weight: 700; }
.love-link { display: block; text-align: center; margin: 14px auto 0; background: none; border: 0; color: var(--love-muted); font: inherit; text-decoration: underline; cursor: pointer; }

/* Поля ввода */
.love-card {
  background: var(--love-card); border: 1px solid var(--love-card-border);
  border-radius: 22px; padding: 20px 18px;
  box-shadow: 0 18px 40px rgba(20, 8, 50, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.love-label { display: block; font-weight: 700; margin: 0 0 8px; }
.love-input, .love-select, .love-textarea {
  width: 100%; padding: 13px 14px; border: 2px solid transparent; border-radius: 14px;
  background: #eef2ff; color: #22163d; font: inherit; font-size: 16px; outline: none;
}
.love-input:focus, .love-select:focus, .love-textarea:focus { border-color: var(--love-selected); }
.love-textarea { min-height: 96px; resize: vertical; }
.love-hint { color: var(--love-muted); font-size: 13px; margin-top: 8px; text-align: center; }
.love-error { color: #ffd0d8; background: rgba(160, 20, 50, .35); border-radius: 10px; padding: 8px 10px; margin-top: 10px; font-size: 14px; text-align: center; }
.love-error:empty { display: none; }
.love-date { display: grid; grid-template-columns: 1fr 1.4fr 1.1fr; gap: 8px; }

.love-city { position: relative; }
.love-city-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 5;
  max-height: 230px; overflow-y: auto; border-radius: 14px;
  background: #fff; color: #22163d; box-shadow: 0 12px 30px rgba(20, 8, 50, .35);
}
.love-city-list button { display: block; width: 100%; padding: 10px 14px; border: 0; background: none; text-align: left; font: inherit; cursor: pointer; color: inherit; }
.love-city-list button:hover, .love-city-list button:focus { background: #f1e8ff; outline: none; }
.love-city-list small { color: #8a7ca3; margin-left: 4px; }

/* Фото */
.love-photo-drop {
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
  width: 190px; height: 250px; margin: 6px auto 0; border-radius: 20px; overflow: hidden;
  border: 2px dashed rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08);
  cursor: pointer; color: var(--love-muted); font-weight: 700; position: relative;
}
.love-photo-drop span { font-size: 44px; }
.love-photo-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.love-photo-drop.has-photo { border-style: solid; border-color: var(--love-selected); }

/* «Отлично!» и «Ищем совпадения…» */
.love-hero { text-align: center; padding-top: 30px; }
.love-hero-pic { font-size: 110px; line-height: 1.1; animation: love-bounce 1.6s ease-in-out infinite; }
@keyframes love-bounce { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(4deg); } }
.love-hero h2 { font-size: 34px; margin: 12px 0 8px; }
.love-hero p { color: var(--love-muted); font-size: 16px; line-height: 1.45; margin: 0 0 8px; }
.love-search-circle {
  width: 170px; height: 170px; margin: 40px auto 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 84px;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 0 rgba(255, 122, 198, .6); animation: love-pulse 1.4s ease-out infinite;
}
@keyframes love-pulse { to { box-shadow: 0 0 0 36px rgba(255, 122, 198, 0); } }
.love-search-bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.love-search-bar div { height: 100%; width: 0; background: linear-gradient(90deg, var(--love-pink), var(--love-violet)); transition: width 2.4s linear; }
.love-floating { position: fixed; bottom: -40px; font-size: 26px; pointer-events: none; z-index: 3; animation: love-float 3.2s ease-in forwards; }
@keyframes love-float { to { transform: translateY(-110vh) rotate(25deg); opacity: 0; } }

/* Готовая анкета */
.love-profile-card { border-radius: 24px; overflow: hidden; background: #fff; color: #22163d; box-shadow: 0 18px 40px rgba(20, 8, 50, .35); }
.love-profile-photo { position: relative; aspect-ratio: 3 / 4; background: #ddd; }
.love-profile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.love-profile-name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .65)); color: #fff;
}
.love-profile-name b { font-size: 24px; }
.love-profile-name small { display: block; opacity: .9; margin-top: 2px; }
.love-profile-body { padding: 14px 16px 16px; font-size: 15px; line-height: 1.45; }
.love-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.love-chip { padding: 5px 10px; border-radius: 12px; background: #f1e8ff; color: #5a3d8f; font-size: 13px; font-weight: 600; }
.love-soon { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .14); text-align: center; color: var(--love-muted); font-size: 14px; }

.love-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 10; transform: translateX(-50%) translateY(20px);
  max-width: calc(100% - 32px); padding: 11px 16px; border-radius: 14px;
  background: rgba(20, 12, 45, .92); color: #fff; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.love-toast.show { opacity: 1; transform: translateX(-50%); }
.love-center { text-align: center; padding-top: 40px; }
.love-center .love-hero-pic { animation: none; font-size: 80px; }

@media (prefers-reduced-motion: reduce) {
  .love-hero-pic, .love-search-circle, .love-stars span, .love-floating { animation: none; }
}

/* ===== Лента анкет: полоса карточек, листается влево-вправо ===== */
.love-app.wide { max-width: 1100px; }
.feed-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 6px 0 4px; }
.feed-head .love-logo-text { font-size: 24px; }
.feed-head-btns { display: flex; gap: 8px; }
.feed-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; border-radius: 20px;
  background: rgba(255, 255, 255, .16); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
.feed-pill b { background: var(--love-pink); border-radius: 10px; padding: 0 7px; font-size: 13px; }
.feed-wrap { position: relative; margin: 10px -16px 0; }
.feed-strip {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px 16px 18px; scroll-padding: 0 16px; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.feed-strip::-webkit-scrollbar { display: none; }
.feed-card {
  flex: 0 0 min(78vw, 300px); scroll-snap-align: center; position: relative;
  border-radius: 22px; overflow: hidden; background: #fff; color: #22163d;
  box-shadow: 0 14px 34px rgba(20, 8, 50, .35);
  display: flex; flex-direction: column;
}
.feed-photo { position: relative; aspect-ratio: 3 / 4; background: #e9e2f5; }
.feed-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feed-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); color: #fff; }
.feed-name b { font-size: 21px; }
.feed-name small { display: block; opacity: .92; margin-top: 2px; }
.feed-body { padding: 10px 14px 14px; font-size: 14px; line-height: 1.4; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.feed-about { color: #5a4a78; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feed-like {
  margin-top: auto; align-self: center; width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; box-shadow: 0 6px 18px rgba(255, 79, 179, .35); font-size: 30px; line-height: 64px;
  transition: transform .15s ease;
}
.feed-like:active { transform: scale(.9); }
.feed-like.on { background: linear-gradient(135deg, var(--love-pink), var(--love-violet)); }
.feed-like.pop { animation: love-pop .45s ease; }
@keyframes love-pop { 40% { transform: scale(1.3); } }
.feed-mutual { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 12px; background: var(--love-pink); color: #fff; font-size: 12px; font-weight: 800; }
/* Пустая карточка «Ждём твоё фото» */
.feed-card.empty { background: rgba(255, 255, 255, .1); color: #fff; border: 2px dashed rgba(255, 255, 255, .45); box-shadow: none; }
.feed-card.empty .feed-photo { background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 16px; }
.feed-card.empty .feed-photo span { font-size: 64px; opacity: .9; }
.feed-card.empty .feed-photo b { font-size: 18px; }
.feed-card.empty .feed-photo small { color: var(--love-muted); }
.feed-arrow {
  position: absolute; top: 40%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .9); color: #2a1b4a; font-size: 26px; line-height: 44px; box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}
.feed-arrow.prev { left: 6px; }
.feed-arrow.next { right: 6px; }
@media (hover: none) { .feed-arrow { display: none; } }
.feed-hint { text-align: center; color: var(--love-muted); font-size: 13px; }

/* Маленькая полоса на первом экране */
.mini-strip { display: flex; gap: 10px; overflow-x: auto; margin: 22px -16px 0; padding: 4px 16px 10px; scrollbar-width: none; }
.mini-strip::-webkit-scrollbar { display: none; }
.mini-card {
  flex: 0 0 96px; height: 128px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-size: 12px; font-weight: 700; text-align: center; padding: 6px;
}
.mini-card span { font-size: 30px; }
.mini-card.taken { background: linear-gradient(160deg, rgba(255, 122, 198, .55), rgba(164, 92, 240, .55)); }
.mini-card.free { border: 2px dashed rgba(255, 255, 255, .5); color: var(--love-muted); cursor: pointer; background: none; font: inherit; font-size: 12px; font-weight: 700; }

/* «Это взаимно!» */
.match-overlay {
  position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(20, 10, 45, .82); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: love-in .25s ease;
}
.match-box { text-align: center; max-width: 360px; }
.match-box h2 { font-size: 34px; margin: 16px 0 6px; }
.match-pics { display: flex; justify-content: center; }
.match-pics img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
.match-pics img + img { margin-left: -26px; }

/* Симпатии */
.match-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.match-grid .feed-card { flex: none; }
.feed-pill { white-space: nowrap; }
.feed-head .love-logo-text { white-space: nowrap; }
@media (max-width: 480px) {
  .feed-head .love-logo-text { font-size: 19px; }
  .feed-pill { padding: 8px 11px; font-size: 14px; }
}

/* ===== Переписка ===== */
.chat-list { display: grid; gap: 8px; }
.chat-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 16px; width: 100%;
  background: rgba(255, 255, 255, .92); color: #22163d; text-align: left; font: inherit; cursor: pointer;
}
.chat-row img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 56px; }
.chat-row .chat-row-text { flex: 1; min-width: 0; }
.chat-row b { display: block; font-size: 16px; }
.chat-row small { display: block; color: #6c5b8a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-row .chat-unread { background: var(--love-pink); color: #fff; border-radius: 12px; padding: 2px 9px; font-weight: 800; font-size: 13px; }
.feed-pill i { font-style: normal; background: #ff3b5c; border-radius: 10px; padding: 0 7px; font-size: 13px; }

.chat-screen { display: flex; flex-direction: column; height: calc(100vh - 80px); height: calc(100dvh - 80px); }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 4px 0 10px; }
.chat-top img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.chat-top b { display: block; font-size: 17px; }
.chat-top small { color: var(--love-muted); }
.chat-box {
  flex: 1; overflow-y: auto; padding: 12px; border-radius: 18px; background: rgba(20, 10, 45, .35);
  display: flex; flex-direction: column; gap: 6px;
}
.chat-msg { max-width: 80%; padding: 8px 12px; border-radius: 16px; line-height: 1.4; white-space: pre-wrap; word-break: break-word; font-size: 15px; }
.chat-msg.their { align-self: flex-start; background: #fff; color: #22163d; border-bottom-left-radius: 4px; }
.chat-msg.mine { align-self: flex-end; background: linear-gradient(135deg, var(--love-pink), var(--love-violet)); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg time { display: block; font-size: 11px; opacity: .65; margin-top: 2px; text-align: right; }
.chat-warn {
  align-self: flex-start; max-width: 85%; margin: -2px 0 4px; padding: 8px 10px; border-radius: 12px;
  background: #fff4c2; color: #5a4300; font-size: 13px; line-height: 1.35;
}
.chat-day { align-self: center; font-size: 12px; color: var(--love-muted); margin: 6px 0; }
.chat-empty { margin: auto; text-align: center; color: var(--love-muted); padding: 20px; }
.chat-empty span { display: block; font-size: 48px; }
.chat-input { display: flex; gap: 8px; padding-top: 10px; }
.chat-input textarea {
  flex: 1; min-height: 46px; max-height: 120px; resize: none; padding: 12px 14px; border: 2px solid transparent; border-radius: 22px;
  background: #eef2ff; color: #22163d; font: inherit; font-size: 16px; outline: none;
}
.chat-input textarea:focus { border-color: var(--love-selected); }
.chat-input button {
  width: 48px; height: 48px; flex: 0 0 48px; border: 0; border-radius: 50%; cursor: pointer; font-size: 22px;
  background: linear-gradient(135deg, var(--love-pink), var(--love-violet)); color: #fff;
}
.chat-closed { padding: 12px; text-align: center; color: var(--love-muted); font-size: 14px; }
.chat-list { grid-template-columns: minmax(0, 1fr); }
.chat-row { min-width: 0; }
.chat-row .chat-unread { flex: 0 0 auto; }
.feed-head { flex-wrap: wrap; }
.feed-head-btns { flex-wrap: wrap; justify-content: center; }
@media (max-width: 480px) {
  .feed-head { justify-content: center; }
  .feed-head .love-logo-text { width: 100%; text-align: center; }
  .feed-head-btns { justify-content: center; width: 100%; }
}

/* ===== «⋯» на анкете и в переписке: пожаловаться / заблокировать ===== */
.feed-more {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: rgba(20, 10, 45, .45); color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.feed-more:active { transform: scale(.92); }
.feed-mutual.likes-me { background: linear-gradient(135deg, #ff8fb8, #b77cff); }
.chat-more {
  margin-left: auto; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .16); color: #fff; font-size: 22px; line-height: 1;
}
.love-sheet-overlay {
  position: fixed; inset: 0; z-index: 30; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(20, 10, 45, .6); animation: love-in .2s ease;
}
.love-sheet {
  width: 100%; max-width: 440px; padding: 16px 16px max(16px, env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0; background: #fff; color: #22163d; display: flex; flex-direction: column; gap: 8px;
}
.love-sheet-title { text-align: center; font-weight: 800; font-size: 17px; padding: 2px 0 4px; }
.love-sheet-sub { text-align: center; color: #6c5b8a; font-size: 13px; line-height: 1.35; margin-bottom: 4px; }
.love-sheet-btn {
  width: 100%; padding: 14px; border: 0; border-radius: 16px; background: #f3effb; color: #22163d;
  font: inherit; font-size: 16px; font-weight: 700; text-align: left; cursor: pointer;
}
.love-sheet-btn:active { transform: scale(.98); }
.love-sheet-btn.danger { color: #d62755; }
.love-sheet-btn.cancel { text-align: center; background: none; color: #6c5b8a; }
.feed-pill.unblock { flex: 0 0 auto; background: #f3effb; color: #6a3fc0; font-size: 13px; padding: 8px 12px; }

/* ===== Уведомление «Вы понравились …» ===== */
.love-notice {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 8px 0 2px;
  padding: 11px 14px; border: 0; border-radius: 16px; cursor: pointer; font: inherit; font-weight: 800; font-size: 15px;
  color: #fff; background: linear-gradient(135deg, #ff7ac6, #a45cf0); box-shadow: 0 8px 22px rgba(255, 79, 179, .35);
  animation: love-pop .5s ease;
}
.love-notice span { opacity: .9; font-weight: 700; }

/* ===== Фото в переписке ===== */
.chat-photo-btn {
  background: rgba(255, 255, 255, .16) !important; font-size: 20px !important;
}
.chat-msg.has-photo { padding: 4px; }
.chat-msg.has-photo time { padding: 0 6px 2px; }
.chat-photo { display: block; }
.chat-photo img { display: block; max-width: min(240px, 62vw); max-height: 320px; border-radius: 12px; object-fit: cover; }

/* ================================================================
   ===== PupsiChatik: логотип, 6 фото в анкете, галерея на карточке
   ================================================================ */
.love-logo-text { letter-spacing: -.5px; }
.love-logo-sub { letter-spacing: .2px; }
.pp-check { display: flex; align-items: center; gap: 8px; text-align: left; margin-top: 10px; cursor: pointer; }
.pp-check input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--love-pink); }
.pp-check a { color: inherit; }

/* Сетка из 6 ячеек для фото анкеты */
.pp-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 4px; }
.pp-slot {
  position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.pp-slot.empty { border: 2px dashed rgba(255, 255, 255, .22); }
.pp-slot.add {
  cursor: pointer; border: 2px dashed rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1);
  color: #fff; transition: background .2s ease;
}
.pp-slot.add:hover { background: rgba(255, 255, 255, .18); }
.pp-slot.add span { font-size: 34px; line-height: 1; }
.pp-slot.add small { font-size: 12px; color: var(--love-muted); text-align: center; padding: 0 4px; }
.pp-slot.has-photo { box-shadow: 0 6px 16px rgba(10, 4, 30, .35); }
.pp-slot.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-slot.main { outline: 3px solid var(--love-pink); outline-offset: -3px; }
.pp-slot-main {
  position: absolute; left: 6px; bottom: 6px; padding: 3px 8px; border-radius: 10px;
  background: var(--love-pink); color: #fff; font-size: 11px; font-weight: 800;
}
.pp-slot-del, .pp-slot-star {
  position: absolute; top: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(20, 10, 45, .6); color: #fff; font-size: 13px; line-height: 28px; padding: 0;
}
.pp-slot-del { right: 6px; }
.pp-slot-star { left: 6px; }

/* Галерея: несколько фото на карточке, полоски сверху как в сторис */
.pp-gallery { cursor: pointer; }
.pp-gallery .pp-gimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .2s ease; }
.pp-gallery .pp-gimg.on { opacity: 1; }
.pp-gallery .pp-gimg:only-of-type { position: static; opacity: 1; }
.pp-bars { position: absolute; top: 8px; left: 10px; right: 56px; z-index: 2; display: flex; gap: 4px; }
.pp-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .45); }
.pp-bars i.on { background: #fff; }
.love-profile-photo .pp-bars { right: 10px; }
.pp-gallery .feed-mutual { top: 18px; }
.pp-gallery .feed-more { top: 16px; }
.pp-gallery .feed-name, .pp-gallery .love-profile-name { z-index: 1; }

/* «Аватарки», заменённые на свои картинки (админка → «🎨 Оформление») */
.pp-ui-img { width: 1em; height: 1em; object-fit: cover; border-radius: 24%; vertical-align: middle; display: inline-block; }
.love-big-emoji .pp-ui-img { width: 1.3em; height: 1.3em; border-radius: 50%; }
.love-hero-pic .pp-ui-img, .love-search-circle .pp-ui-img { border-radius: 28%; }
.love-logo-heart .pp-ui-img { width: 1.1em; height: 1.1em; }
.feed-goal .pp-ui-img { width: 1.25em; height: 1.25em; }

/* ================================================================
   ===== Подарки =====
   ================================================================ */
.feed-actions { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 16px; }
.feed-actions .feed-like { margin-top: 0; align-self: auto; }
.feed-gift {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; font-size: 24px; line-height: 52px; padding: 0;
  background: linear-gradient(135deg, #fff4d6, #ffe0a3); box-shadow: 0 6px 16px rgba(240, 170, 60, .35); transition: transform .15s ease;
}
.feed-gift:active { transform: scale(.9); }
.feed-gifts { font-size: 18px; color: #5a4a78; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.feed-gifts small { font-size: 12px; font-weight: 800; color: #8a5cd0; margin-left: 1px; }
.love-profile-body .feed-gifts { margin-top: 10px; }
.feed-pill i { font-style: normal; background: #ff3b5c; border-radius: 10px; padding: 0 7px; font-size: 13px; }
.chat-gift { background: linear-gradient(135deg, #ffe7a8, #ffc75a) !important; font-size: 20px !important; margin-left: auto; }
.chat-gift + .chat-more { margin-left: 8px; }

/* Витрина */
.gift-head { display: flex; align-items: center; gap: 12px; padding: 4px 0 8px; }
.gift-head img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255, 255, 255, .8); }
.gift-head b { display: block; font-size: 18px; }
.gift-head small { color: var(--love-muted); font-size: 13px; }
.gift-head small b { display: inline; font-size: 13px; color: #ffe08a; }
.gift-sec h3 { margin: 14px 0 8px; font-size: 15px; color: rgba(255, 255, 255, .85); }
/* Витрина подарков: всегда 4 в ряд (24 подарка = 6 рядов), плитки одной высоты */
.gift-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gift-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; padding: 10px 4px; border-radius: 16px; cursor: pointer;
  min-width: 0; height: 100%; text-align: center;
  border: 2px solid transparent; background: rgba(255, 255, 255, .92); color: #22163d; font: inherit; transition: transform .15s ease, border-color .15s ease;
}
.gift-tile:hover:not(:disabled) { transform: translateY(-2px); }
.gift-tile .gift-emoji { font-size: 34px; line-height: 1.15; }
.gift-tile b {
  font-size: 12.5px; line-height: 1.2; width: 100%; min-height: 2.4em; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; /* максимум 2 строки */
}
.gift-tile small { font-size: 11.5px; color: #8a6d2a; font-weight: 700; margin-top: auto; white-space: nowrap; }
@media (max-width: 420px) {
  .gift-grid { gap: 6px; }
  .gift-tile { padding: 8px 2px; border-radius: 14px; }
  .gift-tile .gift-emoji { font-size: 28px; }
  .gift-tile b { font-size: 11px; }
  .gift-tile small { font-size: 10.5px; }
}
.gift-tile.selected { border-color: var(--love-pink); box-shadow: 0 0 0 3px rgba(255, 79, 179, .35); }
.gift-tile:disabled { opacity: .45; cursor: not-allowed; }
.gift-tile.rarity-rare { background: linear-gradient(160deg, #fff, #f1e6ff); }
.gift-tile.rarity-epic { background: linear-gradient(160deg, #fff, #dff1ff); }
.gift-tile.rarity-legendary { background: linear-gradient(160deg, #fffbe6, #ffe6a8); }
.gift-bottom {
  position: sticky; bottom: 0; margin-top: 14px; padding: 12px; border-radius: 18px;
  background: rgba(30, 16, 60, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.gift-chosen { font-weight: 800; margin-bottom: 8px; }
.gift-chosen span { font-size: 26px; vertical-align: middle; }
.gift-chosen small { color: var(--love-muted); font-weight: 600; }
.gift-big { font-size: 110px; line-height: 1.1; animation: love-pop .7s ease; }

/* Подарок в переписке (без цены) */
.chat-msg.has-gift { padding: 4px; }
.gift-msg {
  display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 150px; padding: 12px 16px 8px;
  border-radius: 14px; background: linear-gradient(160deg, #fff7fb, #ffe3f3); color: #22163d; text-align: center;
}
.gift-msg.rarity-rare { background: linear-gradient(160deg, #fbf7ff, #eadcff); }
.gift-msg.rarity-epic { background: linear-gradient(160deg, #f5fbff, #d6ecff); }
.gift-msg.rarity-legendary { background: linear-gradient(160deg, #fffbe9, #ffe19a); }
.gift-msg-emoji { font-size: 54px; line-height: 1.1; animation: love-pop .6s ease; }
.gift-msg b { font-size: 14px; }
.gift-msg-note { font-size: 14px; color: #5a4a78; white-space: pre-wrap; }
.chat-msg.has-gift time { padding: 0 6px 2px; }

/* «Мои подарки» */
.gift-row { position: relative; }
.gift-row.new { box-shadow: 0 0 0 3px var(--love-pink); }
.gift-row-emoji { font-size: 30px; flex: 0 0 auto; }
.gift-liked { font-size: 22px; flex: 0 0 auto; }
/* Своя картинка подарка (админка → «🎁 Подарки») */
.gift-img { width: 1em; height: 1em; object-fit: contain; vertical-align: middle; display: inline-block; }
.gift-big .gift-img { width: 1.1em; height: 1.1em; }
/* «Показать раньше» в переписке */
.chat-more-old {
  align-self: center; margin: 2px 0 8px; padding: 7px 16px; border: 0; border-radius: 16px; cursor: pointer;
  background: rgba(255, 255, 255, .16); color: #fff; font: inherit; font-size: 13px; font-weight: 700;
}
.chat-more-old:hover { background: rgba(255, 255, 255, .26); }

/* ================================================================
   ===== Интересы, «о себе», значки, онлайн =====
   ================================================================ */
.int-grid, .det-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.int-grid { margin-top: 6px; }
.int-chip {
  padding: 9px 13px; border: 2px solid transparent; border-radius: 20px; cursor: pointer;
  background: var(--love-tile); color: #fff; font: inherit; font-size: 15px; font-weight: 600;
  transition: transform .12s ease, background .12s ease;
}
.int-chip:hover:not(:disabled) { background: var(--love-tile-hover); }
.int-chip:active:not(:disabled) { transform: scale(.95); }
.int-chip.selected { border-color: var(--love-selected); background: rgba(255, 122, 198, .3); }
.int-chip:disabled { opacity: .4; cursor: default; }
.det-row { justify-content: flex-start; }
.det-row .int-chip { font-size: 14px; padding: 8px 12px; }
.det-label { margin-top: 16px; }
.int-line { display: flex; flex-wrap: wrap; gap: 5px; }
.love-profile-body .int-line, .love-profile-body .det-list { margin-top: 10px; }
.int-tag { padding: 3px 9px; border-radius: 12px; background: #f1e8ff; color: #5a3d8f; font-size: 12.5px; font-weight: 600; }
.int-tag.common { background: linear-gradient(135deg, #ffd6ec, #e6d4ff); color: #b0206f; box-shadow: inset 0 0 0 1.5px #ff7ac6; }
.int-tag.more { background: #f3effb; color: #8a7aa8; }
.det-list { display: flex; flex-wrap: wrap; gap: 6px 12px; color: #5a4a78; font-size: 14px; }

.pp-badge { display: inline-block; margin-left: 5px; font-size: .8em; vertical-align: 2px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.badge-chip { padding: 4px 10px; border-radius: 12px; font-size: 13px; font-weight: 700; background: #f1e8ff; color: #5a3d8f; }
.badge-chip.b-verified { background: #dff6ea; color: #137a45; }
.badge-chip.b-premium { background: linear-gradient(135deg, #fff1c4, #ffd76b); color: #7a4d00; }
.badge-chip.b-generous { background: #ffe6f2; color: #b0206f; }
.badge-chip.b-popular { background: #ffe7dc; color: #b3410e; }
.pp-online {
  display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; vertical-align: 1px;
  background: #36d67a; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85);
}
.person-online { font-size: 14px; color: #5a4a78; margin-bottom: 8px; }
.person-about { margin: 8px 0 0; }
.person-common { margin-top: 10px; font-weight: 700; color: #b0206f; }

/* Карточка ленты: кнопки */
.feed-mutual.super { background: linear-gradient(135deg, #ffb800, #ff6a3d); }
.feed-actions { gap: 10px; flex-wrap: wrap; }
.feed-info {
  flex: 1 0 100%; padding: 7px; border: 0; border-radius: 12px; cursor: pointer;
  background: #f3effb; color: #6a3fc0; font: inherit; font-size: 14px; font-weight: 700;
}
.feed-super {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; font-size: 24px; line-height: 52px; padding: 0;
  background: linear-gradient(135deg, #e9f3ff, #cfe2ff); box-shadow: 0 6px 16px rgba(60, 120, 240, .3); transition: transform .15s ease;
}
.feed-super:active { transform: scale(.9); }
.feed-super.on { background: linear-gradient(135deg, #ffd24d, #ff8a3d); box-shadow: 0 6px 16px rgba(255, 150, 40, .45); }
.person-actions { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 16px; }
.person-actions .feed-like { margin-top: 0; align-self: auto; }
.person-act {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; font-size: 22px;
  background: rgba(255, 255, 255, .16); color: #fff;
}

/* Мой статус (Премиум, буст, суперлайки) */
.perks-box {
  margin-top: 14px; padding: 12px 14px; border-radius: 16px; line-height: 1.6; font-size: 14px;
  background: rgba(255, 215, 107, .16); border: 1px solid rgba(255, 215, 107, .45);
}
.love-btn.gold, .love-sheet-btn.gold {
  background: linear-gradient(90deg, #ffcf4d, #ff8a3d); color: #3b2200; box-shadow: 0 8px 22px rgba(255, 160, 50, .35);
}
.love-sheet-btn.gold { text-align: center; }
.feed-pill.gold { background: linear-gradient(90deg, #ffcf4d, #ff8a3d); color: #3b2200; }
.feed-pill.active { background: rgba(255, 255, 255, .32); box-shadow: inset 0 0 0 2px #fff; }
label.love-btn { text-align: center; }

/* ===== Фильтры ===== */
.flt-age { display: flex; align-items: center; gap: 10px; }
.flt-age span { color: var(--love-muted); }
.flt-radios { display: flex; flex-direction: column; gap: 8px; }
.flt-radios label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.flt-radios input[type=radio] { width: 18px; height: 18px; accent-color: var(--love-pink); }
.flt-check { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; color: #fff; cursor: pointer; }
.flt-check input { width: 18px; height: 18px; accent-color: var(--love-pink); }

/* ===== Гости ===== */
.locked-box { text-align: center; padding: 26px 18px; margin-top: 10px; border-radius: 22px; background: var(--love-card); border: 1px solid var(--love-card-border); }
.locked-box h2 { margin: 6px 0; }
.locked-faces { display: flex; justify-content: center; gap: 6px; margin: 14px 0 2px; }
.locked-faces span { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .2); font-size: 28px; line-height: 48px; filter: blur(3px); }
.chat-row.new { box-shadow: inset 0 0 0 2px var(--love-pink); }

/* ===== Приватность ===== */
.pv-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); cursor: pointer; }
.pv-row:last-of-type { border-bottom: 0; }
.pv-row > span { flex: 1; }
.pv-row b { display: block; font-size: 16px; }
.pv-row small { display: block; color: var(--love-muted); font-size: 13px; margin-top: 2px; line-height: 1.35; }
.pv-switch {
  appearance: none; -webkit-appearance: none; flex: 0 0 50px; width: 50px; height: 30px; border-radius: 15px; cursor: pointer;
  background: rgba(255, 255, 255, .25); position: relative; transition: background .2s ease; margin: 0;
}
.pv-switch::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff;
  transition: transform .2s ease; box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.pv-switch:checked { background: linear-gradient(90deg, var(--love-pink), var(--love-violet)); }
.pv-switch:checked::after { transform: translateX(20px); }

/* ===== Проверка селфи ===== */
.love-notice.warn { background: rgba(160, 20, 50, .55); box-shadow: none; cursor: default; font-weight: 700; animation: none; }
.verify-card { text-align: center; }
.verify-gesture { font-size: 84px; line-height: 1.1; animation: love-pop 1s ease; }
.verify-text { display: block; font-size: 18px; margin-top: 6px; }
.verify-steps { text-align: left; margin: 14px 0 0; padding-left: 20px; line-height: 1.55; color: var(--love-muted); font-size: 14px; }
.verify-preview { display: block; width: 180px; height: 240px; object-fit: cover; margin: 16px auto 0; border-radius: 16px; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); }

/* ===== Магазин ===== */
.shop-test {
  margin: 4px 0 6px; padding: 10px 12px; border-radius: 14px; text-align: center; font-size: 14px; font-weight: 700;
  background: #fff4c2; color: #5a4300;
}
.shop-sec { margin-top: 18px; }
.shop-sec h3 { margin: 0; font-size: 18px; }
.shop-sec .love-hint { text-align: left; margin-top: 4px; }
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.shop-item {
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 14px 12px; border: 0; border-radius: 16px; cursor: pointer;
  background: #fff; color: #22163d; font: inherit; text-align: left; box-shadow: 0 8px 20px rgba(20, 8, 50, .25);
  transition: transform .12s ease;
}
.shop-item:active { transform: scale(.96); }
.shop-item:disabled { opacity: .5; }
.shop-item b { font-size: 14.5px; line-height: 1.3; }
.shop-item span { font-size: 17px; font-weight: 800; color: #b0206f; }
.shop-item.g-premium { background: linear-gradient(135deg, #fffaf0, #ffecb5); }
.shop-item.g-premium span { color: #9a5b00; }
.super-star { font-size: 54px; margin: -30px 0 0; position: relative; animation: love-pop .8s ease; }

/* ===== Стикеры и ледоколы в переписке ===== */
.chat-stickers {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin-top: 8px; padding: 8px; border-radius: 16px;
  background: rgba(255, 255, 255, .95); max-height: 200px; overflow-y: auto;
}
.chat-stickers[hidden] { display: none; }
.chat-stickers button { border: 0; background: none; font-size: 28px; padding: 4px 0; cursor: pointer; border-radius: 10px; }
.chat-stickers button:hover { background: #f3effb; }
.chat-msg.is-sticker { background: none !important; padding: 0 4px; }
.chat-sticker { display: block; font-size: 64px; line-height: 1.1; animation: love-pop .4s ease; }
.chat-msg.is-sticker time { color: var(--love-muted); opacity: 1; }
.ice-box { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.ice-title { font-size: 14px; color: var(--love-muted); }
.ice-btn {
  padding: 10px 14px; border: 0; border-radius: 16px; cursor: pointer; text-align: left;
  background: rgba(255, 255, 255, .92); color: #22163d; font: inherit; font-size: 14.5px; line-height: 1.35;
}
.ice-btn:hover { background: #fff; }
.chat-top-who { min-width: 0; }
@media (max-width: 400px) {
  .feed-gift, .feed-super { width: 46px; height: 46px; line-height: 46px; font-size: 21px; }
  .chat-stickers { grid-template-columns: repeat(6, 1fr); }
}
.love-btn[hidden], .feed-pill[hidden] { display: none; }
.feed-info .pp-ui-img { width: 20px; height: 20px; object-fit: contain; vertical-align: -4px; }
/* Свои картинки на экранах опроса — крупно (смайлики не меняются) */
.love-search-circle .pp-ui-img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; }
.love-hero .love-hero-pic .pp-ui-img { width: 170px; height: 170px; border-radius: 26px; object-fit: cover; box-shadow: 0 12px 30px rgba(20, 8, 50, .4); }
.love-row span .pp-ui-img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }

/* Правила в окошке при регистрации и ссылки на документы */
.rules-frame { display: block; width: 100%; height: 260px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; background: #2a1850; margin: 4px 0 6px; }
.doc-links { text-align: center; margin-top: 16px; font-size: 14px; color: var(--love-muted); }
.doc-links a { color: #ffd0ec; }

/* PupsiChatik: 2-second opening splash */
body.splash-active { overflow: hidden; }
.pupsi-splash {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 20% 25%, rgba(255,255,255,.9) 0 1.5px, transparent 2px),
    radial-gradient(circle at 76% 18%, rgba(255,255,255,.75) 0 1.3px, transparent 1.9px),
    radial-gradient(circle at 68% 70%, rgba(255,255,255,.7) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 30% 78%, rgba(255,255,255,.65) 0 1.1px, transparent 1.7px),
    radial-gradient(ellipse at 18% 28%, rgba(244,77,185,.88) 0%, rgba(198,83,203,.65) 31%, transparent 58%),
    linear-gradient(160deg, #0d0823 0%, #231044 17%, #d151b8 43%, #8558cf 68%, #4d68c7 100%);
  background-size: 190px 190px, 250px 250px, 310px 310px, 370px 370px, 100% 100%, 100% 100%;
  opacity: 1; visibility: visible;
  transition: opacity .45s ease, visibility .45s ease;
}
.pupsi-splash.pupsi-splash-hide { opacity: 0; visibility: hidden; }
.pupsi-splash-logo {
  width: min(72vw, 320px); height: auto; display: block;
  transform-origin: center center;
  will-change: transform;
  animation: pupsi-heartbeat 1.35s cubic-bezier(.45,.05,.55,.95) infinite;
}
@keyframes pupsi-heartbeat {
  0%, 100% { transform: scale(1); }
  45%      { transform: scale(1.06); }
  70%      { transform: scale(1.015); }
}

/* ===== 📸 Живые фото и лимит фото в переписке ===== */
.chat-quota { font-size: 11.5px; color: var(--love-muted, #a99cc4); text-align: center; padding: 4px 8px 0; }
.live-tag { display: block; font-size: 11.5px; font-weight: 700; margin-top: 4px; color: #ffd66b; }
.chat-msg.live-req { text-align: center; }
.chat-msg.live-req .live-now { margin-top: 8px; padding: 8px 14px; font-size: 14px; width: auto; }
.sheet-wrap { position: fixed; inset: 0; background: rgba(10, 5, 25, .6); z-index: 1000; display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 480px; background: #1f1733; border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 10px; }
.sheet-note { margin: 0 0 4px; font-size: 13px; color: #cbbde6; text-align: center; }
.cam-wrap { position: fixed; inset: 0; background: #000; z-index: 1001; display: flex; align-items: center; justify-content: center; }
.cam { width: 100%; max-width: 560px; height: 100%; display: flex; flex-direction: column; }
.cam-video { flex: 1; width: 100%; min-height: 0; object-fit: cover; background: #111; }
.cam-video.mirror { transform: scaleX(-1); }
.cam-hint { color: #eee; font-size: 13px; text-align: center; margin: 8px 12px 0; }
.cam-bar { display: flex; gap: 10px; padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
.cam-bar .love-btn { margin: 0; }
.cam-bar .ghost { flex: 0 0 64px; }
.cam-bar .cam-shot { flex: 1; }

/* ===== 📷 Одна кнопка камеры с золотой меткой и подсказка ===== */
.chat-cam { position: relative; }
.chat-cam-badge { position: absolute; right: -4px; top: -6px; font-style: normal; font-size: 12px; background: #ffc83d; border-radius: 10px; padding: 0 3px; line-height: 16px; box-shadow: 0 0 0 2px rgba(0,0,0,.25); }
.chat-tip { position: relative; margin: 6px 10px 0; padding: 8px 34px 8px 12px; border-radius: 12px; background: #ffc83d; color: #2a1a00; font-size: 13px; font-weight: 700; }
.chat-tip::after { content: ''; position: absolute; left: 18px; bottom: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: #ffc83d; }
.chat-tip button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 14px; cursor: pointer; color: #2a1a00; }
.sheet .sheet-live { background: linear-gradient(135deg, #ffc83d, #ff8a3d); color: #2a1a00; font-weight: 800; }

/* ===== 📖 Гид ===== */
.guide { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.guide-lead { margin: 0; text-align: center; font-weight: 700; line-height: 1.4; }
.guide-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; }
.guide-track::-webkit-scrollbar { display: none; }
.guide-card { flex: 0 0 100%; scroll-snap-align: start; box-sizing: border-box; padding: 20px 18px; min-height: 340px; background: rgba(255,255,255,.08); border-radius: 22px; }
.guide-card h2 { margin: 6px 0 12px; font-size: 21px; text-align: center; }
.guide-card p { margin: 0 0 10px; line-height: 1.45; font-size: 15px; }
.guide-emoji { font-size: 52px; text-align: center; }
.guide-cam { position: relative; display: inline-block; padding: 1px 6px; border-radius: 10px; background: rgba(255,255,255,.18); }
.guide-cam i { position: absolute; right: -6px; top: -8px; font-style: normal; font-size: 10px; background: #ffc83d; border-radius: 8px; padding: 0 2px; }
.guide-dots { display: flex; justify-content: center; gap: 8px; }
.guide-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; }
.guide-dots i.on { background: #fff; width: 22px; border-radius: 5px; }
.guide-mail { color: #ffd66b; font-weight: 700; word-break: break-all; }

/* ===== ✓ Значок «Проверенный»: белая галочка в голубом кружке ===== */
.vmark { display: inline-flex; align-items: center; justify-content: center; width: 1.05em; height: 1.05em; min-width: 18px; min-height: 18px;
  margin-left: 6px; border-radius: 50%; background: #1d9bf0; color: #fff; font-size: .75em; font-weight: 900; line-height: 1;
  vertical-align: .12em; box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(0,0,0,.35); font-family: Arial, sans-serif; }
.badge-chip .vmark { margin: 0 2px 0 0; min-width: 16px; min-height: 16px; font-size: 11px; box-shadow: none; }
