:root {
  --ink: #202321;
  --muted: #858984;
  --paper: #f7f5f2;
  --white: #fff;
  --line: #ece9e4;
  --coral: #ff6d59;
  --coral-dark: #ed5948;
  --mint: #dff2e9;
  --green: #287b5b;
  --lav: #e9e5fb;
  --shadow: 0 18px 60px rgba(35, 35, 30, 0.09);
  --radius: 24px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, .brand, .serif {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.045em;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.sidebar {
  position: sticky; top: 0; height: 100vh; background: #fff;
  border-right: 1px solid var(--line); padding: 30px 20px;
  display: flex; flex-direction: column; z-index: 20;
}
.brand {
  display: flex; align-items: center; gap: 11px; font-size: 25px; font-weight: 800;
  letter-spacing: -1.5px; padding: 0 13px 38px; text-decoration: none; color: var(--ink);
}
.brand-mark {
  width: 35px; height: 35px; border-radius: 12px; background: var(--coral);
  display: grid; place-items: center; color: white; flex-shrink: 0;
}
.brand-mark svg { width: 20px; height: 20px; display: block; }
.brand-mark.has-image { background: #fff; border: 1px solid var(--line); overflow: hidden; }
.brand-mark.has-image img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 3px; }
.brand-preview {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; border: 1px solid var(--line); border-radius: 16px;
  background: #faf8f5; margin-bottom: 16px;
}
.brand-preview .brand-mark { margin: 0; }
.favicon-preview {
  width: 32px; height: 32px; border-radius: 8px; object-fit: contain;
  background: #fff; border: 1px solid var(--line); flex-shrink: 0;
}
.icon { display: block; flex-shrink: 0; }
.primary-btn .icon, .secondary-btn .icon, .text-link .icon, .tile-button .icon, .filter-button .icon {
  display: inline-block; vertical-align: -2px; margin-left: 4px;
}
.filter-button .icon { margin-left: 0; margin-right: 6px; }
.brand small {
  font-size: 9px; letter-spacing: 0.16em; display: block; color: #9b9d98;
  font-family: "DM Sans", sans-serif; font-weight: 700; margin-top: -2px;
}
.nav-label {
  font-size: 10px; letter-spacing: 0.15em; color: #a6a8a3; font-weight: 700;
  padding: 0 14px; margin: 8px 0 12px;
}
.side-nav { display: grid; gap: 7px; }
.nav-item-custom {
  border: 0; background: transparent; color: #7b807b; border-radius: 15px;
  padding: 13px 14px; display: flex; align-items: center; gap: 14px;
  text-align: left; font-size: 14px; font-weight: 600; transition: 0.2s;
  text-decoration: none;
}
.nav-item-custom .nav-icon {
  width: 22px; height: 22px; display: grid; place-items: center; flex-shrink: 0;
}
.nav-item-custom .nav-icon svg { width: 20px; height: 20px; }
.nav-item-custom:hover { background: #faf8f5; color: var(--ink); }
.nav-item-custom.active { background: #fff0ed; color: var(--coral-dark); }
.nav-item-custom .count {
  margin-left: auto; background: #f2efea; border-radius: 20px;
  padding: 3px 7px; font-size: 10px; color: #777;
}
.side-bottom { margin-top: auto; }
.upgrade-card {
  background: #f8f3ee; border-radius: 20px; padding: 18px; margin: 18px 3px 24px;
  position: relative; overflow: hidden;
}
.upgrade-card:after {
  content: ""; position: absolute; width: 88px; height: 88px; right: -8px; top: -14px;
  background: #f1dfd5;
  clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%);
}
.upgrade-card h3 { font-size: 16px; font-weight: 800; position: relative; z-index: 1; margin: 0; }
.upgrade-card p {
  font-size: 11px; line-height: 1.6; color: #777; margin: 8px 0 15px; position: relative; z-index: 1;
}
.upgrade-card a, .upgrade-card button {
  border: 0; background: var(--ink); color: white; border-radius: 11px;
  padding: 10px 12px; font-size: 11px; font-weight: 700; position: relative; z-index: 1;
  text-decoration: none; display: inline-block;
}
.user-mini {
  display: flex; align-items: center; gap: 11px; padding: 12px 10px 0;
  border-top: 1px solid var(--line); text-decoration: none; color: inherit;
}
.avatar { width: 39px; height: 39px; border-radius: 50%; object-fit: cover; background: #eee; }
.user-mini strong { font-size: 12px; display: block; }
.user-mini small { font-size: 10px; color: var(--muted); }
.user-mini .dots { margin-left: auto; color: #8d918c; display: grid; place-items: center; }

.main-area { min-width: 0; }
.topbar {
  height: 88px; padding: 0 clamp(22px, 4vw, 60px);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(229, 225, 218, 0.7);
  background: rgba(247, 245, 242, 0.88); backdrop-filter: blur(15px);
  position: sticky; top: 0; z-index: 15;
}
.eyebrow {
  font-size: 10px; color: var(--muted); font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 4px;
}
.topbar h1 { font-size: 22px; margin: 0; font-weight: 800; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  height: 42px; width: 42px; border-radius: 14px; background: white;
  border: 1px solid var(--line); display: grid; place-items: center;
  color: #5f645f; position: relative; text-decoration: none;
}
.icon-btn svg { width: 18px; height: 18px; }
.notification-dot {
  position: absolute; width: 7px; height: 7px; background: var(--coral);
  border: 2px solid white; border-radius: 50%; right: 8px; top: 7px;
}
.online-pill {
  display: flex; align-items: center; gap: 8px; background: white;
  border: 1px solid var(--line); border-radius: 30px; padding: 9px 13px;
  font-size: 11px; font-weight: 700;
}
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: #55b88a; box-shadow: 0 0 0 4px #e5f5ed; }
.content { padding: 32px clamp(22px, 4vw, 60px) 70px; max-width: 1500px; margin: 0 auto; }
.flash { border-radius: 15px; padding: 12px 16px; margin-bottom: 18px; font-size: 13px; }
.flash-error { background: #fff0ed; color: var(--coral-dark); }
.flash-success { background: var(--mint); color: var(--green); }

.discover-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 34px; align-items: start; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.section-heading h2 { font-size: 28px; font-weight: 800; margin: 0 0 7px; }
.section-heading p { font-size: 13px; color: var(--muted); margin: 0; }
.filter-button {
  border: 1px solid var(--line); background: white; border-radius: 13px;
  padding: 11px 14px; font-size: 12px; font-weight: 700; display: flex;
  align-items: center; gap: 8px; text-decoration: none; color: inherit;
}
.profile-stage { display: flex; justify-content: center; position: relative; min-height: 620px; padding: 0 0 18px; }
.profile-card {
  position: relative; width: min(100%, 430px); height: 570px; border-radius: 30px;
  overflow: hidden; background: #ddd; box-shadow: var(--shadow); isolation: isolate;
  transition: transform 0.35s ease, opacity 0.35s ease; touch-action: none;
}
.profile-card:before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, transparent 30%, transparent 48%, rgba(0,0,0,.76) 100%);
  z-index: 1; pointer-events: none;
}
.profile-photo { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; transition: opacity .2s ease; }
.photo-counter { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 5px; z-index: 3; }
.photo-counter span { height: 3px; flex: 1; background: rgba(255,255,255,.45); border-radius: 4px; }
.photo-counter span.is-on { background: white; }
.card-top-tags { position: absolute; top: 32px; left: 18px; right: 18px; z-index: 3; display: flex; justify-content: space-between; align-items: center; }
.verified {
  background: rgba(255,255,255,.93); border-radius: 30px; padding: 7px 10px;
  font-size: 10px; font-weight: 700; color: #2f795a; display: flex; align-items: center; gap: 5px;
}
.distance { font-size: 10px; color: white; background: rgba(20,20,20,.25); backdrop-filter: blur(10px); padding: 7px 10px; border-radius: 30px; }
.card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 25px 23px; color: white; z-index: 2; }
.name-line { display: flex; align-items: center; gap: 8px; }
.name-line h2 { font-size: 32px; font-weight: 800; margin: 0; letter-spacing: -1.5px; }
.age { font-weight: 500; }
.verified-check { width: 18px; height: 18px; background: #6ab7ef; border-radius: 50%; display: grid; place-items: center; color: white; }
.verified-check svg { width: 11px; height: 11px; }
.verified svg { width: 12px; height: 12px; }
.job-line { font-size: 12px; color: rgba(255,255,255,.85); margin-top: 5px; }
.bio { font-size: 12px; line-height: 1.55; color: rgba(255,255,255,.9); margin: 13px 0 14px; max-width: 330px; }
.interests { display: flex; gap: 7px; flex-wrap: wrap; }
.interest {
  border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px); border-radius: 30px; padding: 7px 10px; font-size: 10px; color: white;
}
.card-actions { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: -3px; position: relative; z-index: 4; }
.action-circle {
  width: 55px; height: 55px; border-radius: 50%; background: white; border: 0;
  box-shadow: 0 9px 24px rgba(28,28,25,.08); display: grid; place-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
}
.action-circle svg { width: 22px; height: 22px; }
.action-circle:hover { transform: translateY(-4px); box-shadow: 0 14px 25px rgba(28,28,25,.14); }
.action-circle.pass { color: #8e9a95; width: 51px; height: 51px; font-size: 21px; }
.action-circle.like { color: var(--coral); width: 67px; height: 67px; }
.action-circle.like svg { width: 26px; height: 26px; }
.action-circle.star { color: #7c70c7; width: 51px; height: 51px; }
.action-circle.star svg { width: 20px; height: 20px; }
.action-circle:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.action-hint { text-align: center; font-size: 10px; color: #a3a49e; margin-top: 13px; }
.rewind-row { text-align: center; margin-top: 10px; }
.keyboard-hint { display: inline-flex; gap: 5px; align-items: center; margin: 0 5px; }
.key { border: 1px solid #dedbd5; border-radius: 5px; background: white; padding: 2px 5px; font-size: 9px; color: #777; }
.card-stamp {
  position: absolute; top: 18%; z-index: 4; font-weight: 800; letter-spacing: 0.12em;
  border: 3px solid; padding: 0.3rem 0.7rem; border-radius: 12px; opacity: 0; transform: rotate(-12deg); font-size: 22px;
}
.card-stamp.like { left: 18px; color: #7dcea0; border-color: #7dcea0; }
.card-stamp.pass { right: 18px; color: #f5b7b1; border-color: #f5b7b1; }

.right-rail { padding-top: 3px; }
.rail-card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 20px; margin-bottom: 16px; }
.rail-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.rail-title h3 { font-size: 15px; font-weight: 800; margin: 0; }
.text-link { border: 0; background: transparent; color: var(--coral-dark); font-size: 11px; font-weight: 700; padding: 0; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.match-avatars { display: flex; gap: 13px; overflow: hidden; }
.match-avatar { text-align: center; min-width: 54px; text-decoration: none; color: inherit; }
.match-avatar .photo-wrap { width: 52px; height: 52px; border-radius: 18px; overflow: hidden; position: relative; margin: 0 auto 7px; }
.match-avatar img { width: 100%; height: 100%; object-fit: cover; }
.match-avatar.new .photo-wrap:after {
  content: ""; position: absolute; inset: 0; background: rgba(255,109,89,.23);
  border: 2px solid var(--coral); border-radius: 18px;
}
.match-avatar small { font-size: 10px; color: #626762; }
.match-avatar .new-label { font-size: 8px; display: block; color: var(--coral); font-weight: 800; margin-top: 2px; }
.empty-avatar {
  width: 52px; height: 52px; border-radius: 18px; background: #f7f4f0; color: #b3b1aa;
  display: grid; place-items: center; font-size: 20px; margin: 0 auto 7px;
}
.prompt-card { background: #e8f4ed; border: 0; position: relative; overflow: hidden; }
.prompt-card:after {
  content: ""; position: absolute; width: 110px; height: 110px; right: -12px; bottom: -28px;
  background: #d4eadd;
  clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%);
}
.prompt-card .eyebrow { color: #63937a; }
.prompt-card h3 { font-size: 19px; line-height: 1.25; font-weight: 800; max-width: 180px; margin: 8px 0 12px; position: relative; z-index: 1; }
.prompt-card p { font-size: 11px; line-height: 1.6; color: #62806e; max-width: 190px; position: relative; z-index: 1; }
.prompt-card a, .prompt-card button {
  border: 0; background: #244e3b; color: white; border-radius: 11px;
  padding: 10px 13px; font-size: 11px; font-weight: 700; position: relative; z-index: 1;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.activity-row { display: flex; align-items: center; gap: 11px; margin: 13px 0; }
.activity-row img { height: 39px; width: 39px; border-radius: 14px; object-fit: cover; }
.activity-row p { font-size: 11px; margin: 0; line-height: 1.5; color: #555; }
.activity-row strong { color: var(--ink); }
.activity-row small { display: block; color: #a1a39d; font-size: 9px; margin-top: 2px; }

.page-intro { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 25px; gap: 16px; }
.page-intro h2 { font-size: 32px; font-weight: 800; margin: 0 0 8px; }
.page-intro p { font-size: 13px; color: var(--muted); margin: 0; }
.search-box {
  display: flex; align-items: center; gap: 10px; background: white;
  border: 1px solid var(--line); padding: 12px 15px; border-radius: 14px; width: min(100%, 300px);
}
.search-box input { border: 0; outline: 0; width: 100%; font-size: 12px; background: transparent; }
.search-box svg { color: #9b9d98; flex-shrink: 0; }
.matches-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.person-tile {
  background: white; border: 1px solid var(--line); border-radius: 21px; padding: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.person-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.person-tile .tile-photo { height: 190px; width: 100%; object-fit: cover; border-radius: 15px; }
.tile-photo-wrap { position: relative; }
.tile-kind {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px; border-radius: 9px;
  background: rgba(255,255,255,.94); color: var(--coral);
  display: grid; place-items: center; box-shadow: 0 4px 12px #0001;
}
.tile-kind.is-super { background: var(--lav); color: #5d52a8; }
.likes-tabs, .likes-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.likes-tab, .likes-filter {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 14px; font-size: 12px; font-weight: 700; color: #7b807b;
  text-decoration: none;
}
.tile-kind.is-verified { background: var(--mint); color: var(--green); }
.likes-tab.active, .likes-filter.active {
  background: #fff0ed; color: var(--coral-dark); border-color: transparent;
}
.likes-count {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px;
  margin-left: 6px; border-radius: 20px; background: #f2efea; font-size: 10px; color: #777;
}
.likes-tab.active .likes-count { background: #ffdcd6; color: var(--coral-dark); }
.tile-person-line { display: flex; align-items: center; justify-content: space-between; margin: 12px 2px 4px; }
.tile-person-line strong { font-size: 14px; }
.tile-person-line span, .tile-heart { font-size: 11px; color: var(--coral); }
.tile-heart svg, .tile-person-line .icon { width: 14px; height: 14px; }
.tile-sub { font-size: 10px; color: var(--muted); margin: 0 2px 12px; }
.tile-button {
  border: 1px solid var(--line); background: #faf9f7; border-radius: 11px;
  padding: 10px; width: 100%; font-size: 11px; font-weight: 700;
  text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 6px; color: inherit;
}

.messages-layout {
  display: grid; grid-template-columns: 310px minmax(0, 1fr); background: white;
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden; min-height: 590px;
}
.chat-list { border-right: 1px solid var(--line); padding: 20px 14px; }
.chat-list-head { padding: 0 7px 18px; }
.chat-list-head h3 { font-size: 20px; font-weight: 800; margin: 0 0 14px; }
.chat-search { width: 100%; background: #f7f5f2; border: 0; border-radius: 12px; padding: 11px 13px; font-size: 11px; outline: none; }
.chat-contact {
  display: flex; align-items: center; gap: 11px; padding: 12px 9px; border-radius: 15px;
  cursor: pointer; transition: 0.2s; text-decoration: none; color: inherit;
}
.chat-contact:hover, .chat-contact.active { background: #faf2ef; }
.chat-contact img { width: 44px; height: 44px; border-radius: 16px; object-fit: cover; }
.contact-copy { min-width: 0; flex: 1; }
.contact-copy strong { font-size: 12px; display: block; }
.contact-copy p { font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 4px 0 0; }
.contact-meta { font-size: 9px; color: #a2a49e; align-self: flex-start; padding-top: 3px; }
.chat-window { display: flex; flex-direction: column; min-width: 0; }
.chat-window .empty-state { flex: 1; display: grid; place-items: center; min-height: 320px; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 17px 22px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 43px; height: 43px; border-radius: 15px; object-fit: cover; }
.chat-head strong { font-size: 13px; display: block; }
.chat-head small { font-size: 10px; color: #52a17c; }
.chat-head .chat-more { margin-left: auto; border: 0; background: transparent; color: #777; display: grid; place-items: center; }
.menu { position: relative; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; font-size: 22px; color: #777; }
.menu summary::-webkit-details-marker { display: none; }
.menu-pop {
  position: absolute; right: 0; top: 120%; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow); min-width: 180px; display: grid; padding: 0.35rem; z-index: 5;
}
.menu-pop button { border: 0; background: transparent; text-align: left; padding: 0.6rem 0.7rem; border-radius: 10px; cursor: pointer; font-size: 12px; }
.menu-pop button:hover { background: #f7f5f2; }
.chat-messages {
  flex: 1; padding: 22px; display: flex; flex-direction: column; gap: 12px;
  overflow: auto; max-height: 420px; background: linear-gradient(#fff, #fdfcfb);
}
.chat-day { text-align: center; font-size: 9px; color: #a4a49e; margin: 4px 0 8px; }
.bubble { max-width: min(75%, 380px); padding: 12px 15px; font-size: 12px; line-height: 1.55; border-radius: 16px; }
.bubble.received, .bubble.them { background: #f3f1ed; align-self: flex-start; border-bottom-left-radius: 5px; }
.bubble.sent, .bubble.me { background: var(--coral); color: white; align-self: flex-end; border-bottom-right-radius: 5px; }
.bubble-time, .bubble time { font-size: 9px; color: #aaa; margin-top: 4px; display: block; }
.bubble.sent .bubble-time, .bubble.me time { color: rgba(255,255,255,.75); text-align: right; }
.chat-compose { display: flex; gap: 10px; padding: 17px; border-top: 1px solid var(--line); }
.chat-compose input { flex: 1; min-width: 0; background: #f7f5f2; border: 0; border-radius: 13px; padding: 13px 15px; font-size: 12px; outline: none; }
.qa-panel { border-top: 1px solid var(--line); padding: 14px 17px 16px; background: #fff; }
.qa-progress { position: relative; display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; padding-bottom: 10px; }
.qa-progress strong { font-size: 14px; font-weight: 800; }
.qa-progress span { font-size: 11px; color: var(--muted); }
.qa-progress i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--coral); border-radius: 4px; }
.qa-progress:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #efeae4; border-radius: 4px; z-index: 0; }
.qa-progress i { z-index: 1; }
.qa-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.qa-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.qa-chip { border: 1px solid var(--line); background: #faf8f5; border-radius: 20px; padding: 8px 12px; font-size: 11px; font-weight: 600; text-align: left; max-width: 100%; }
.qa-chip:hover { border-color: var(--coral); color: var(--coral-dark); }
.qa-compose { display: flex; gap: 10px; }
.qa-compose input { flex: 1; min-width: 0; background: #f7f5f2; border: 0; border-radius: 13px; padding: 13px 15px; font-size: 12px; outline: none; }
.qa-wait { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.qa-decision { margin-top: 12px; background: #fff0ed; border-radius: 16px; padding: 14px; }
.qa-decision p { font-size: 12px; margin: 0 0 10px; }
.qa-decision-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.qa-card { background: #f7f5f2; border-radius: 16px; padding: 12px 14px; max-width: min(90%, 420px); }
.qa-card.is-mine { align-self: flex-end; background: #fff0ed; }
.qa-meta { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; font-weight: 700; }
.qa-q { font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.qa-a { font-size: 12px; margin: 0; line-height: 1.5; }
.qa-a.is-wait { color: var(--muted); font-style: italic; }
.send-btn { width: 44px; border: 0; border-radius: 13px; background: var(--coral); color: white; display: grid; place-items: center; }
.send-btn svg { width: 18px; height: 18px; }

.profile-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 22px; }
#edit-form, #privacy { scroll-margin-top: 100px; }
.profile-summary, .settings-card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 23px; }
.profile-cover { height: 110px; border-radius: 16px; background: linear-gradient(120deg, #f9c6b9, #f6e4d7 55%, #dbeee4); margin-bottom: -46px; }
.profile-big-avatar { width: 92px; height: 92px; border-radius: 27px; object-fit: cover; border: 5px solid white; position: relative; margin-left: 17px; }
.profile-summary h3 { font-size: 20px; font-weight: 800; margin: 13px 0 5px; }
.profile-summary .sub { font-size: 11px; color: var(--muted); }
.profile-stat-row { display: flex; gap: 8px; margin: 18px 0; }
.stat-chip { background: #f7f5f2; border-radius: 12px; padding: 10px; flex: 1; text-align: center; }
.stat-chip strong { font-size: 15px; display: block; }
.stat-chip small { font-size: 9px; color: var(--muted); }
.primary-btn, .btn-primary {
  border: 0; border-radius: 12px; background: var(--coral); color: white;
  font-size: 12px; font-weight: 700; padding: 12px 16px; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.secondary-btn, .btn-ghost {
  border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink);
  font-size: 12px; font-weight: 700; padding: 12px 16px; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.btn-danger { border: 0; border-radius: 12px; background: #9b2c2c; color: #fff; font-size: 12px; font-weight: 700; padding: 12px 16px; cursor: pointer; }
.profile-summary .primary-btn { width: 100%; }
.settings-card h3 { font-size: 19px; font-weight: 800; margin: 0 0 5px; }
.settings-card > p { font-size: 12px; color: var(--muted); margin: 0 0 22px; }
.setting-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 17px 0; border-bottom: 1px solid var(--line);
}
.setting-row:last-child { border-bottom: 0; }
.setting-row strong { display: block; font-size: 12px; }
.setting-row small { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; }
.switch { appearance: none; width: 40px; height: 23px; background: #e7e4df; border-radius: 30px; position: relative; flex-shrink: 0; transition: 0.2s; }
.switch:before {
  content: ""; position: absolute; width: 17px; height: 17px; top: 3px; left: 3px;
  border-radius: 50%; background: white; box-shadow: 0 1px 3px #0002; transition: 0.2s;
}
.switch:checked { background: var(--coral); }
.switch:checked:before { left: 20px; }

.stack { display: grid; gap: 1rem; }
label { display: grid; gap: 0.4rem; font-weight: 600; font-size: 12px; }
.stack label input, .stack label textarea, .stack label select,
.settings-card input[type=text], .settings-card input[type=password], .settings-card input[type=number], .settings-card input[type=email], .settings-card textarea, .settings-card select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; background: #fff; font-size: 13px;
}
textarea { resize: vertical; min-height: 110px; }
.form-error { color: var(--coral-dark); font-size: 12px; margin: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.5rem; border: 0; padding: 0; }
.choice-row legend { font-weight: 700; margin-bottom: 0.4rem; width: 100%; font-size: 12px; }
.chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.85rem;
  background: #fff; cursor: pointer; font-weight: 600; font-size: 12px;
}
.chip input { display: none; }
.chip:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.photo-tile { position: relative; aspect-ratio: 3/4; border-radius: 16px; overflow: hidden; background: #f7f4f0; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile button {
  position: absolute; top: 6px; right: 6px; border: 0; border-radius: 99px;
  width: 28px; height: 28px; background: rgba(0,0,0,.6); color: #fff; cursor: pointer;
}
.file-btn { position: relative; overflow: hidden; text-align: center; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.banner-warn { background: #fff4e5; border-radius: 16px; padding: 1rem 1.1rem; margin-bottom: 18px; font-size: 13px; }
.pwa-banner {
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: min(calc(100% - 32px), 520px);
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 14px 16px; z-index: 35;
}
html[data-pwa="available"] .pwa-banner:not([hidden]) { display: flex; }
.pwa-banner[hidden] { display: none !important; }
.pwa-banner strong { display: block; font-size: 13px; }
.pwa-banner small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.pwa-banner .primary-btn { flex-shrink: 0; }
[data-pwa-card] .js-pwa-install { margin-top: 4px; }
.pwa-ios-steps {
  list-style: none; margin: 18px 0 22px; padding: 0; text-align: left; display: grid; gap: 12px;
}
.pwa-ios-steps li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 12px; line-height: 1.55; color: #555;
}
.pwa-ios-steps li span {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: #fff0ed; color: var(--coral-dark);
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
}
.pwa-ios-steps strong { color: var(--ink); }
html[data-pwa="installed"] [data-pwa-card] .js-pwa-install { display: none; }
.plan-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.plan { background: #fff; border-radius: 22px; padding: 1.25rem; border: 1px solid var(--line); }
.plan.featured { border-color: var(--coral); }
.plan h3 { font-size: 20px; font-weight: 800; margin: 0 0 8px; }
.plan ul { margin: 12px 0 0; padding-left: 18px; font-size: 13px; color: #555; line-height: 1.85; }
.likes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.8rem; }
.like-card { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.like-card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.like-card div { padding: 0.7rem; }
.preview-full { background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.preview-full img { width: 100%; max-height: 520px; object-fit: cover; }
.preview-body { padding: 1.2rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags span { background: #f7f5f2; border-radius: 999px; padding: 0.25rem 0.7rem; font-size: 0.85rem; }
.empty-state { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }
.skeleton-card {
  height: 570px; max-width: 430px; margin: 0 auto; border-radius: 30px;
  background: linear-gradient(90deg, #ece9e4, #f7f5f2, #ece9e4); background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.toast-custom {
  position: fixed; bottom: 25px; right: 25px; background: #222825; color: white;
  padding: 15px 19px; border-radius: 15px; box-shadow: var(--shadow); font-size: 12px;
  z-index: 100; display: flex; gap: 10px; align-items: center;
  transform: translateY(20px); opacity: 0; pointer-events: none; transition: 0.25s;
}
.toast-custom.show { transform: translateY(0); opacity: 1; }
.toast-icon { width: 28px; height: 28px; border-radius: 9px; background: #3c5e4b; display: grid; place-items: center; }
.modal-backdrop-custom {
  position: fixed; inset: 0; background: rgba(28, 29, 27, 0.55); backdrop-filter: blur(7px);
  z-index: 80; display: none; place-items: center; padding: 20px;
}
.modal-backdrop-custom.show { display: grid; }
.match-modal {
  background: white; border-radius: 28px; padding: 30px; text-align: center;
  width: min(100%, 390px); position: relative; overflow: hidden; animation: pop 0.3s ease;
}
.match-modal:before {
  content: ""; position: absolute; width: 180px; height: 180px; color: #fff0ed; top: -48px; left: -40px;
  background: #fff0ed;
  clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%);
}
.match-modal > * { position: relative; }
.match-modal .sparkle { color: var(--coral); display: grid; place-items: center; }
.match-modal .sparkle svg { width: 38px; height: 38px; }
.match-modal .primary-btn { gap: 8px; }
.match-modal h2 { font-size: 31px; font-weight: 800; margin: 10px 0; }
.match-modal p { font-size: 12px; color: var(--muted); line-height: 1.6; }
.match-pics { display: flex; justify-content: center; align-items: center; margin: 22px 0; }
.match-pics img { width: 92px; height: 92px; border: 5px solid white; border-radius: 30px; object-fit: cover; box-shadow: 0 7px 25px #0001; }
.match-pics img + img { margin-left: -17px; transform: rotate(7deg); }
.match-modal .primary-btn { width: 100%; margin-bottom: 9px; }
.match-modal .secondary-btn { width: 100%; }
@keyframes pop { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.mobile-nav { display: none; }
.mobile-nav-item {
  border: 0; background: transparent; color: #999e98; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 4px; min-width: 0;
}
.mobile-nav-ico {
  width: 24px; height: 24px; display: grid; place-items: center;
}
.mobile-nav-ico svg { width: 22px; height: 22px; display: block; }
.mobile-nav-label { font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: 0.01em; }
.footer-note { text-align: center; color: #b0b0a9; font-size: 9px; padding: 25px 0 0; }

.guest-shell { min-height: 100vh; }
.hero { min-height: 100vh; padding: 28px; }
.hero-frame {
  min-height: calc(100vh - 56px); border-radius: 32px; padding: 28px 32px 40px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.hero-top { display: flex; justify-content: space-between; align-items: center; grid-column: 1 / -1; }
.hero-top .brand { padding: 0; }
.hero-copy h1 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; margin: 0 0 16px; }
.hero-copy .lead { font-size: 15px; color: var(--muted); max-width: 460px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 12px; }
.fineprint { font-size: 11px; color: var(--muted); }
.fineprint a { color: var(--coral-dark); font-weight: 700; text-decoration: none; }
.how-section { padding: 0 28px 28px; }
.how-inner {
  background: #fff; border: 1px solid var(--line); border-radius: 32px;
  padding: 40px 36px; box-shadow: var(--shadow);
}
.how-inner h2 { font-size: 28px; font-weight: 800; margin: 8px 0 8px; }
.how-lead { color: var(--muted); max-width: 520px; font-size: 15px; line-height: 1.6; margin: 0; }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.how-card h3, .help-card h3 { font-size: 18px; font-weight: 800; margin: 14px 0 8px; }
.how-card p, .help-card p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }
.how-num {
  width: 36px; height: 36px; border-radius: 12px; background: #fff0ed;
  color: var(--coral-dark); font-weight: 800; display: grid; place-items: center;
  font-family: "Manrope", sans-serif;
}
.rules-inner h2 { margin-bottom: 18px; }
.rules-list { margin: 0 0 22px; padding-left: 18px; color: var(--ink); font-size: 14px; line-height: 1.7; }
.rules-list li { margin-bottom: 8px; }
.guest-footer {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
  padding: 8px 28px 40px; font-size: 12px; color: var(--muted);
}
.guest-footer a { color: var(--coral-dark); font-weight: 700; text-decoration: none; }
.help-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 32px 0; max-width: 960px; margin: 0 auto;
}
.help-top .brand { padding: 0; }
.help-page { max-width: 960px; margin: 0 auto; padding: 28px 32px 48px; }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.help-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 22px 20px; box-shadow: var(--shadow);
}
.preview-card { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); max-width: 360px; margin-left: auto; background: #ddd; position: relative; height: 480px; }
.preview-photo {
  width: 100%; height: 100%;
  background:
    linear-gradient(180deg, transparent 40%, rgba(0,0,0,.7)),
    url("https://images.unsplash.com/photo-1534528741775-53994a69daeb?auto=format&fit=crop&w=800&q=80") center/cover;
}
.preview-meta { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; color: #fff; }
.preview-meta span { display: block; font-size: 12px; opacity: 0.85; }
.auth-wrap {
  max-width: 440px; margin: 48px auto; background: #fff; border: 1px solid var(--line);
  border-radius: 28px; padding: 36px 32px; box-shadow: var(--shadow);
}
.auth-wrap .brand { padding: 0 0 18px; }
.auth-wrap.wide { max-width: 640px; }
.auth-wrap h1 { font-size: 28px; font-weight: 800; margin: 12px 0 8px; }
.auth-wrap .muted, .muted { color: var(--muted); font-size: 13px; }
.settings-card .stack h3 { margin-top: 8px; }
.admin-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px;
}
.admin-stats .stat-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px; text-align: left;
}
.admin-stats .stat-chip strong {
  font-size: 26px; font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -0.04em;
}
.badge-pill {
  font-size: 10px; font-weight: 700; border-radius: 20px; padding: 4px 8px; display: inline-block;
}
.badge-pill.is-ok { background: var(--mint); color: var(--green); }
.badge-pill.is-warn { background: #fff0ed; color: var(--coral-dark); }
.badge-pill.is-muted { background: #f2efea; color: #777; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-home .settings-card { margin-bottom: 0; }
.profile-summary .verified-check { display: inline-grid; vertical-align: middle; margin-left: 6px; }
.preview-full .verified-check { display: inline-grid; vertical-align: middle; }
.auth-links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 16px; }
.auth-links a { color: var(--coral-dark); font-size: 12px; font-weight: 700; text-decoration: none; }
.toggle { display: flex; align-items: center; gap: 0.7rem; font-weight: 400; }
.toggle input.switch { width: 40px; }

@media (max-width: 1180px) {
  .discover-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; }
  .matches-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .content { padding-left: 28px; padding-right: 28px; }
  .profile-stage { min-height: 600px; }
  .profile-card { height: 540px; }
}
@media (max-width: 900px) {
  .app-shell { grid-template-columns: 78px minmax(0, 1fr); }
  .sidebar { padding: 24px 10px; align-items: center; }
  .brand { padding: 0 0 38px; font-size: 0; }
  .brand small, .nav-label, .nav-item-custom .nav-text, .nav-item-custom .count, .upgrade-card, .user-mini .user-details, .user-mini .dots { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .side-nav { width: 100%; }
  .nav-item-custom { justify-content: center; padding: 13px 0; }
  .nav-item-custom .nav-icon svg { width: 22px; height: 22px; }
  .user-mini { padding: 18px 0 0; justify-content: center; width: 100%; }
  .discover-layout { grid-template-columns: minmax(0, 1fr); }
  .right-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .rail-card { margin: 0; }
  .prompt-card { grid-column: span 2; }
  .hero-frame { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .app-shell { display: block; }
  .sidebar { display: none; }
  .topbar { height: 73px; padding: 0 19px; }
  .topbar h1 { font-size: 19px; }
  .eyebrow { font-size: 8px; }
  .online-pill { display: none; }
  .content { padding: 25px 17px 95px; }
  .section-heading { align-items: flex-start; gap: 10px; }
  .section-heading h2 { font-size: 24px; }
  .section-heading p { font-size: 11px; max-width: 240px; line-height: 1.5; }
  .filter-button { padding: 10px; font-size: 0; gap: 0; }
  .filter-button svg { width: 17px; height: 17px; margin: 0; }
  .action-circle { width: 49px; height: 49px; }
  .action-circle.like { width: 60px; height: 60px; }
  .action-circle.pass, .action-circle.star { width: 45px; height: 45px; }
  .profile-stage { min-height: 0; display: block; padding-bottom: 0; }
  .profile-card { height: min(65vh, 560px); min-height: 420px; width: 100%; border-radius: 25px; }
  .card-actions { margin-top: 16px; }
  .right-rail { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .prompt-card { grid-column: auto; }
  .page-intro { display: block; }
  .search-box { margin-top: 17px; width: 100%; }
  .matches-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .messages-layout { display: block; border-radius: 19px; min-height: unset; }
  .chat-list { border-right: 0; }
  .chat-window { border-top: 1px solid var(--line); min-height: 450px; }
  .profile-layout { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .how-section { padding: 0 17px 20px; }
  .how-inner { padding: 28px 20px; border-radius: 24px; }
  .help-top { padding: 20px 17px 0; }
  .help-page { padding: 20px 17px 95px; }
  .admin-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .toast-custom { left: 15px; right: 15px; bottom: 82px; justify-content: center; }
  .pwa-banner {
    left: 15px; right: 15px; transform: none; width: auto;
    bottom: calc(80px + env(safe-area-inset-bottom));
  }
  .mobile-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
    display: flex; justify-content: space-around; align-items: center;
    height: calc(64px + env(safe-area-inset-bottom));
    padding: 0 8px env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--line);
    overflow: hidden;
  }
  .mobile-nav-item {
    width: auto; min-width: 55px; max-width: 25%; height: auto;
    padding: 0;
    justify-content: center; gap: 4px;
  }
  .mobile-nav-item.active { color: var(--coral-dark); }
  .mobile-nav-label { font-size: 9px; }
  .mobile-discover .mobile-nav-ico {
    width: 36px; height: 36px; border-radius: 12px;
    background: var(--coral); color: #fff;
    box-shadow: 0 4px 10px #ff6d5940;
  }
  .mobile-discover .mobile-nav-ico svg { width: 18px; height: 18px; stroke-width: 2.35; }
  .mobile-discover.active { color: var(--coral-dark); }
}
.cupidon-loader {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  background: #fff8fa;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .22s ease, visibility .22s ease;
}
.cupidon-loader:not(.is-on) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cupidon-loader-card {
  --rose: #f04f78;
  --rose-dark: #d92d61;
  width: min(320px, 92vw);
  padding: 24px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.cupidon-loader .scene {
  width: 220px;
  height: 170px;
  position: relative;
  overflow: hidden;
}
.cupidon-loader .halo {
  position: absolute;
  width: 138px;
  height: 138px;
  left: 41px;
  top: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe4ec 0%, #fff0f4 58%, transparent 72%);
}
.cupidon-loader .spark {
  position: absolute;
  color: #f4a6ba;
  font-size: 15px;
  animation: cupidon-twinkle 1.8s ease-in-out infinite;
}
.cupidon-loader .spark.s1 { left: 23px; top: 40px; }
.cupidon-loader .spark.s2 { right: 24px; top: 27px; animation-delay: .5s; }
.cupidon-loader .spark.s3 { right: 29px; bottom: 31px; font-size: 11px; animation-delay: .9s; }
.cupidon-loader .cupid {
  position: absolute;
  width: 130px;
  height: 130px;
  left: 42px;
  top: 22px;
  transform-origin: 70% 65%;
  animation: cupidon-aim 2.4s ease-in-out infinite;
}
.cupidon-loader .bow {
  position: absolute;
  width: 40px;
  height: 66px;
  right: 0;
  top: 37px;
  border: 4px solid #d92d61;
  border-left-color: transparent;
  border-radius: 0 52% 52% 0;
  transform: rotate(-9deg);
}
.cupidon-loader .bow::after {
  content: "";
  position: absolute;
  width: 37px;
  height: 2px;
  background: #b77a8c;
  left: -20px;
  top: 30px;
  transform: rotate(9deg);
}
.cupidon-loader .wing {
  position: absolute;
  width: 36px;
  height: 50px;
  left: 19px;
  top: 18px;
  background: #fff;
  border: 2px solid #f3b7c8;
  border-radius: 80% 20% 70% 30%;
  transform: rotate(-35deg);
  box-shadow: inset 7px 0 0 #ffe5ed;
}
.cupidon-loader .wing.w2 {
  left: 30px;
  top: 26px;
  width: 29px;
  height: 41px;
  transform: rotate(-5deg);
  background: #fff7fa;
}
.cupidon-loader .body {
  position: absolute;
  left: 38px;
  top: 66px;
  width: 39px;
  height: 42px;
  background: #ffd6a8;
  border-radius: 48% 48% 42% 42%;
  transform: rotate(-12deg);
  border: 1px solid #f3bd8d;
}
.cupidon-loader .toga {
  position: absolute;
  left: 35px;
  top: 83px;
  width: 45px;
  height: 31px;
  background: #fff;
  border: 2px solid #f0dbe2;
  border-radius: 55% 45% 40% 40%;
  transform: rotate(-12deg);
}
.cupidon-loader .head {
  position: absolute;
  left: 38px;
  top: 39px;
  width: 40px;
  height: 39px;
  background: #ffd6a8;
  border: 1px solid #f3bd8d;
  border-radius: 48% 52% 48% 48%;
  transform: rotate(-8deg);
  z-index: 2;
}
.cupidon-loader .hair {
  position: absolute;
  left: 35px;
  top: 34px;
  width: 43px;
  height: 23px;
  background: #f2bd4b;
  border-radius: 60% 55% 25% 30%;
  transform: rotate(-8deg);
  z-index: 3;
}
.cupidon-loader .hair::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 18px;
  left: 1px;
  top: 7px;
  background: #f2bd4b;
  border-radius: 50%;
}
.cupidon-loader .eye {
  position: absolute;
  width: 3px;
  height: 4px;
  left: 64px;
  top: 56px;
  background: #5a3a40;
  border-radius: 50%;
  z-index: 4;
}
.cupidon-loader .smile {
  position: absolute;
  left: 61px;
  top: 64px;
  width: 8px;
  height: 4px;
  border-bottom: 1.5px solid #b75d6d;
  border-radius: 50%;
  z-index: 4;
}
.cupidon-loader .arm {
  position: absolute;
  width: 27px;
  height: 7px;
  left: 65px;
  top: 76px;
  background: #ffd6a8;
  border-radius: 8px;
  transform: rotate(-24deg);
  transform-origin: left center;
  z-index: 5;
}
.cupidon-loader .arrow {
  position: absolute;
  width: 78px;
  height: 3px;
  left: 99px;
  top: 83px;
  background: #d92d61;
  border-radius: 4px;
  opacity: 0;
  transform: rotate(-14deg);
  transform-origin: left center;
  animation: cupidon-shoot 2.4s ease-in-out infinite;
  z-index: 8;
}
.cupidon-loader .arrow::before {
  content: "♥";
  position: absolute;
  right: -10px;
  top: -12px;
  font-size: 18px;
  line-height: 1;
  color: #f04f78;
  transform: rotate(14deg);
}
.cupidon-loader .arrow::after {
  content: "";
  position: absolute;
  left: -1px;
  top: -4px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 10px solid #d92d61;
}
.cupidon-loader .target-heart {
  position: absolute;
  right: 16px;
  top: 66px;
  font-size: 24px;
  color: #f7a0b6;
  opacity: .9;
  animation: cupidon-target 2.4s ease-in-out infinite;
}
.cupidon-loader .loading-text {
  color: #33232c;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}
.cupidon-loader .loading-text::after {
  content: "";
  display: inline-block;
  width: 1.2em;
  text-align: left;
  animation: cupidon-dots 1.2s steps(4, end) infinite;
}
.cupidon-loader .subtext {
  color: #8e7b85;
  font-size: 12px;
  margin-top: -3px;
}
@keyframes cupidon-aim {
  0%, 20%, 100% { transform: rotate(0deg) translateY(0); }
  32%, 48% { transform: rotate(-4deg) translateY(-2px); }
  58% { transform: rotate(2deg) translateY(0); }
  72% { transform: rotate(0deg); }
}
@keyframes cupidon-shoot {
  0%, 34% { opacity: 0; transform: translate(0, 0) rotate(-14deg) scaleX(.35); }
  40% { opacity: 1; transform: translate(0, 0) rotate(-14deg) scaleX(.5); }
  58% { opacity: 1; transform: translate(62px, -15px) rotate(-14deg) scaleX(1); }
  62%, 100% { opacity: 0; transform: translate(72px, -18px) rotate(-14deg) scaleX(1); }
}
@keyframes cupidon-target {
  0%, 52% { transform: scale(1); opacity: .8; }
  59% { transform: scale(1.55); opacity: 1; }
  67% { transform: scale(1.05); opacity: .35; }
  78%, 100% { transform: scale(1); opacity: .8; }
}
@keyframes cupidon-twinkle {
  0%, 100% { opacity: .45; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.18); }
}
@keyframes cupidon-dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75%, 100% { content: "..."; }
}

@media (prefers-reduced-motion: reduce) {
  body > *:not(#cupidon-loader),
  body > *:not(#cupidon-loader) * {
    animation: none !important;
    transition: none !important;
  }
  .cupidon-loader,
  .cupidon-loader *,
  .cupidon-loader *::before,
  .cupidon-loader *::after {
    animation-duration: 8s !important;
  }
}
