/* ── Weddings window (js/socialpanels.js weddingsWindow): a warm rose-to-violet card with floating hearts, icon tabs,
   the partner chosen by their photo, the rings as pictures, short words. ── */
.wd-wrap { background: rgba(14, 4, 30, .66); backdrop-filter: blur(3px); }
.wd-window { color: #fff; border-radius: 26px; border: 1px solid rgba(255, 255, 255, .18);
  background: radial-gradient(120% 70% at 50% 0, #ff7eb3 0, #c2408a 38%, #6b2bbf 78%, #3d1677 100%);
  box-shadow: 0 30px 60px -20px rgba(70, 10, 90, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
/* soft hearts drifting up behind the content (the old clouds) */
.wd-clouds { inset: 0; height: auto; background: none; overflow: hidden; }
.wd-clouds::before, .wd-clouds::after { content: '💗 💞 💕 ✨ 💗 💖'; position: absolute; left: -10%; right: -10%; bottom: -20px; font-size: 22px;
  letter-spacing: 34px; opacity: .22; white-space: nowrap; animation: wdFloat 14s linear infinite; }
.wd-clouds::after { content: '✨ 💖 💗 💞 ✨ 💕'; font-size: 16px; animation-duration: 19s; animation-delay: -7s; letter-spacing: 46px; }
@keyframes wdFloat { from { transform: translateY(0); } to { transform: translateY(-120%); } }
.wd-close { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; font-size: 15px; top: 12px; }

/* icon tabs */
.wd-tabs { gap: 6px; padding: 14px 52px 4px; border: 0; }
.wd-tab { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; margin: 0; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .14); color: #fff; font-weight: 800; font-size: .82rem; white-space: nowrap; }
.wd-tab.on { background: #fff; color: #b0306f; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); }
.wd-tab-ico { font-size: 17px; line-height: 1; }

/* (content taller than the window starts at its top: a centred grid would push it out of reach above) */
.wd-body { padding: 16px 18px 26px; gap: 14px; align-content: safe center; }
.wd-body h3 { font-size: 1.25rem; font-weight: 900; text-shadow: 0 2px 6px rgba(80, 0, 60, .35); }
.wd-body p { font-size: .9rem; color: #ffe3f1; }
.wd-hero { width: 120px; height: 120px; display: grid; place-items: center; border-radius: 50%; margin-top: 6px;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .5), rgba(255, 255, 255, .06) 70%); box-shadow: 0 0 40px rgba(255, 210, 240, .5);
  animation: wdGlow 3s ease-in-out infinite; }
.wd-hero-pic { width: 92px; height: 92px; object-fit: contain; font-size: 64px; line-height: 92px; text-align: center; filter: drop-shadow(0 6px 10px rgba(60, 0, 50, .45)); }
@keyframes wdGlow { 50% { box-shadow: 0 0 60px rgba(255, 220, 245, .75); transform: scale(1.03); } }
.btn.wd-green { border-radius: 999px; padding: .75em 2.2em; font-weight: 900; color: #7a1047;
  background: linear-gradient(180deg, #fff3a6, #ffc93c); box-shadow: 0 6px 16px -6px rgba(255, 190, 40, .9), inset 0 -2px 0 rgba(0, 0, 0, .1); }
.btn.wd-green:disabled { filter: grayscale(.6); opacity: .6; }

/* the partner: their photo */
.wd-people { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; }
.wd-person { display: grid; justify-items: center; gap: 4px; padding: 4px; border-radius: 18px; color: #fff; max-width: 84px; }
.wd-person-ava { width: 64px; height: 64px; border-radius: 50%; background: center / cover #fff3; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.wd-person small { font-weight: 800; font-size: .72rem; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wd-person.on .wd-person-ava { box-shadow: 0 0 0 3px #ffd84a, 0 0 18px rgba(255, 216, 74, .8); }
/* an invited guest: a check on the photo */
.wd-person { position: relative; }
.wd-person:disabled.on::after { content: '✓'; position: absolute; top: 2px; inset-inline-end: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #3bc46b; color: #fff; font-weight: 900; font-size: .8rem; box-shadow: 0 0 0 2px #fff; }
.wd-empty { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 16px; background: rgba(255, 255, 255, .16); }
.wd-empty span { font-size: 26px; }
.wd-empty b { font-size: .9rem; }

/* the rings */
.wd-rings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 420px; }
.wd-ring { display: grid; justify-items: center; gap: 2px; padding: 8px 4px 6px; border-radius: 18px; color: #fff;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); }
.wd-ring-pic { width: 68px; height: 68px; object-fit: contain; font-size: 40px; line-height: 60px; text-align: center; filter: drop-shadow(0 4px 6px rgba(40, 0, 40, .45)); }
.wd-ring small { font-size: .66rem; font-weight: 800; line-height: 1.15; text-align: center; opacity: .9; }
.wd-ring .price { font-size: .72rem; color: #fff; }
.wd-ring.on { background: rgba(255, 255, 255, .26); border-color: #ffd84a; box-shadow: 0 0 0 2px #ffd84a, 0 8px 18px -8px rgba(255, 216, 74, .9); }

/* decorations, lists */
.wd-opt { background: rgba(255, 255, 255, .14); color: #fff; }
.wd-opt.on { box-shadow: inset 0 0 0 3px #ffd84a; }
.wd-opt .wd-pic { width: 36px; height: 36px; font-size: 28px; }
.wd-type small { color: #ffe3f1; }
.wd-inv { background: rgba(255, 255, 255, .14); border-radius: 14px; }
.wd-warn { color: #fff3a6; }

/* a phone: the tabs you are not on show their icon only (they fit beside the ✕); the window as tall as its content */
@media (max-width: 480px) {
  .wd-tabs { padding: 12px 50px 4px 12px; justify-content: flex-start; }
  [dir="rtl"] .wd-tabs { padding: 12px 12px 4px 50px; }
  .wd-tab { padding: 0 12px; }
  .wd-tab:not(.on) > span:not(.wd-tab-ico) { display: none; }
  .wd-window { min-height: 0; }
}

/* the couple: two photos, the sign between them */
.wd-couple { display: flex; align-items: center; justify-content: center; gap: 10px; }
.wd-c-ava { width: 72px; height: 72px; border-radius: 50%; background: center / cover #fff3; box-shadow: 0 0 0 3px #fff, 0 8px 20px -8px rgba(60, 0, 50, .7); }
.wd-c-sign { font-size: 30px; filter: drop-shadow(0 3px 6px rgba(60, 0, 50, .5)); animation: wdBeat 1.6s ease-in-out infinite; }
@keyframes wdBeat { 50% { transform: scale(1.15); } }
.wd-when { padding: 6px 14px; border-radius: 999px; background: rgba(0, 0, 0, .22); font-weight: 900; font-variant-numeric: tabular-nums; }
.btn.ghost.wd-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .12); }

/* the seven decorations: icons lighting up, a count */
.wd-steps { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .18); }
.wd-step { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 15px; background: rgba(255, 255, 255, .1); filter: grayscale(1); opacity: .55; }
.wd-step.on { filter: none; opacity: 1; background: rgba(255, 216, 74, .3); box-shadow: 0 0 0 2px #ffd84a; }
.wd-steps b { margin-inline-start: 4px; font-size: .8rem; }

/* each decoration: its icon, then its choices */
.wd-decor { gap: 8px; }
.wd-type { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 16px; background: rgba(0, 0, 0, .12); }
.wd-type.done { background: rgba(255, 216, 74, .12); }
.wd-type-ico { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; font-size: 20px; background: rgba(255, 255, 255, .16); }
.wd-type .wd-opts { flex: 1; min-width: 0; padding-bottom: 0; }
.wd-type .wd-opt { min-width: 62px; padding: 5px 4px; }
.wd-opt span { font-size: .7rem; font-weight: 800; }

/* cost · invite · cancel, kept in view at the bottom */
.wd-bar { position: sticky; bottom: -26px; display: flex; align-items: center; justify-content: center; gap: 10px; width: calc(100% + 36px); margin: 0 -18px -26px;
  padding: 12px 14px 16px; background: linear-gradient(180deg, rgba(61, 22, 119, 0), rgba(61, 22, 119, .95) 30%); }
.wd-bar .wd-cost .price { font-size: .95rem; color: #fff; }
.wd-bar .btn.wd-green.small { padding: .55em 1.2em; font-size: .85rem; }
.wd-cancel-ico { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .16); font-size: 17px; }

/* invitations: a ticket header (price per guest · how many invited), then the table and friends as cards */
.wd-inv-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 20px; background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.wd-inv-head > div { display: grid; gap: 2px; flex: 1; text-align: start; }
.wd-inv-head b { font-size: 1.1rem; }
.wd-inv-ticket { font-size: 2rem; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .25)); transform: rotate(-12deg); }
.wd-inv-price { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; opacity: .9; }
.wd-inv-count { padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .22); font-weight: 800; white-space: nowrap; }
.wd-g-group { display: grid; grid-template-columns: 34px 1fr; gap: 8px; align-items: start; text-align: start; }
.wd-g-ico { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); font-size: 1.1rem; }
.wd-guests { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wd-inv-head, .wd-g-group { justify-self: stretch; width: 100%; box-sizing: border-box; }
.wd-guest { display: grid; justify-items: center; gap: 5px; padding: 10px 6px 8px; border-radius: 18px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); min-width: 0; transition: background .2s; }
.wd-guest.on { background: rgba(59, 196, 107, .22); box-shadow: inset 0 0 0 1.5px #3bc46b; }
.wd-guest .wd-person-ava { width: 54px; height: 54px; }
.wd-guest small { font-weight: 800; font-size: .74rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wd-g-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 28px; padding: 0 10px; border-radius: 999px; font-weight: 900; color: #5a2a00; background: linear-gradient(#ffe27a, #f5b301); box-shadow: 0 3px 0 #c98400; }
.wd-g-btn .price { gap: 3px; }
.wd-g-btn.on { color: #fff; background: #3bc46b; box-shadow: 0 3px 0 #23914b; }
.wd-g-btn:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 #c98400; }

/* the wedding is on: a pulsing live badge */
.wd-live { display: inline-flex; align-items: center; gap: 8px; justify-self: center; padding: 6px 14px; border-radius: 999px; background: #ff3d6e; font-weight: 900; box-shadow: 0 6px 16px rgba(255, 61, 110, .45); }
.wd-live i { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: wd-blink 1s infinite; }
.wd-live.small, .wd-when.small { font-size: .78rem; padding: 4px 10px; }
@keyframes wd-blink { 50% { opacity: .2; } }
/* married: days together, a heart filling with happiness, how to raise it, divorce */
.wd-since { justify-self: center; padding: 4px 12px; border-radius: 999px; background: rgba(0, 0, 0, .2); font-weight: 800; }
.wd-heart { position: relative; justify-self: center; width: 120px; height: 110px; display: grid; place-items: center; overflow: hidden;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21.6 1.7 11.5C-1.6 8.2.4 1.2 6 1c2.6-.1 4.5 1.5 6 3.4C13.5 2.5 15.4.9 18 1c5.6.2 7.6 7.2 4.3 10.5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21.6 1.7 11.5C-1.6 8.2.4 1.2 6 1c2.6-.1 4.5 1.5 6 3.4C13.5 2.5 15.4.9 18 1c5.6.2 7.6 7.2 4.3 10.5z'/%3E%3C/svg%3E") center / contain no-repeat; background: rgba(255, 255, 255, .2); }
.wd-heart-fill { position: absolute; inset: auto 0 0; background: linear-gradient(#ff7aa2, #ff2d6f); transition: height .6s; }
.wd-heart.low .wd-heart-fill { background: linear-gradient(#ffb36b, #ff5a3d); }
.wd-heart b { position: relative; font-size: 1.5rem; font-weight: 900; text-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.wd-happy-row { justify-self: center; font-size: 1.2rem; }
.wd-happy-row b { color: #7dffa8; }
.wd-divorce { justify-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; color: #fff; background: rgba(0, 0, 0, .22); font-weight: 800; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
/* a proposal to me */
.wd-prop { position: relative; justify-self: center; }
.wd-c-ava.big { display: block; width: 110px; height: 110px; }
.wd-prop-ring { position: absolute; inset-inline-end: -14px; bottom: -6px; width: 54px; height: 54px; font-size: 2.4rem; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); }
.wd-answer { display: flex; justify-content: center; gap: 22px; }
.wd-answer button { width: 64px; height: 64px; border-radius: 50%; font-size: 1.6rem; font-weight: 900; color: #fff; }
.wd-yes { background: linear-gradient(#ffe27a, #f5b301); box-shadow: 0 4px 0 #c98400, 0 0 20px rgba(255, 216, 74, .6); }
.wd-no { background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3); }
/* invitations */
.wd-invs { display: grid; gap: 10px; justify-self: stretch; }
.wd-inv { display: grid; justify-items: center; gap: 8px; padding: 12px; border-radius: 20px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.wd-inv .wd-c-ava { width: 56px; height: 56px; }
/* a type with more than three choices (the six bouquets): a grid of three, the type's icon above it */
.wd-type.many { flex-direction: column; align-items: stretch; }
.wd-type.many .wd-type-ico { align-self: center; }
.wd-type.many .wd-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; overflow: visible; }
.wd-type.many .wd-opt { min-width: 0; padding: 8px 4px; }
.wd-type.many .wd-opt .wd-pic { width: 48px; height: 48px; font-size: 36px; }
/* the steps are buttons: the one shown is raised */
button.wd-step { border: 0; padding: 0; cursor: pointer; }
.wd-step.cur { transform: scale(1.18); box-shadow: 0 0 0 2px #ffd84a; }
/* the wedding backgrounds: landscape thumbnails */
.wd-type.t-hall .wd-opt .wd-thumb { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 10px; background: center / cover no-repeat rgba(255, 255, 255, .15); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.wd-step.cur { filter: none; opacity: 1; }
/* what just happened (the other side's answer, a divorce …): a card on top of the window */
.wd-flash { display: flex; align-items: center; gap: 10px; justify-self: stretch; padding: 10px 14px; border-radius: 18px; text-align: start; font-size: .92rem;
  background: linear-gradient(135deg, rgba(59, 196, 107, .35), rgba(255, 255, 255, .12)); box-shadow: inset 0 0 0 1.5px rgba(125, 255, 168, .6); animation: wd-flash-in .4s ease-out; }
.wd-flash.sad { background: linear-gradient(135deg, rgba(255, 61, 110, .35), rgba(255, 255, 255, .1)); box-shadow: inset 0 0 0 1.5px rgba(255, 140, 170, .7); }
.wd-flash-ico { font-size: 1.6rem; line-height: 1; }
@keyframes wd-flash-in { from { transform: translateY(-8px); opacity: 0; } }
/* several proposals waiting: a card each (photo + ring, name + time left, ✕ · 💍) */
.wd-many { font-weight: 700; opacity: .9; }
.wd-props { display: grid; gap: 10px; justify-self: stretch; }
.wd-prop-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 20px; text-align: start;
  background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.wd-prop.small .wd-c-ava { display: block; width: 56px; height: 56px; }
.wd-prop.small .wd-prop-ring { width: 30px; height: 30px; inset-inline-end: -8px; bottom: -4px; font-size: 1.4rem; }
.wd-prop-who { display: grid; gap: 2px; min-width: 0; }
.wd-prop-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wd-prop-who small { opacity: .85; font-weight: 700; }
.wd-answer.small { gap: 8px; }
.wd-answer.small button { width: 42px; height: 42px; font-size: 1.1rem; }
.wd-tab { position: relative; }
.wd-tab-n { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center;
  font-size: .7rem; font-weight: 900; color: #fff; background: #ff2d6f; box-shadow: 0 0 0 2px #fff; }

/* our ring in the married view and the window to change it (2026-11-12): its picture, name and daily points */
.wd-myring { justify-self: stretch; display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 16px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.wd-myring-pic { width: 58px; height: 58px; object-fit: contain; display: grid; place-items: center; font-size: 34px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .35)); }
.wd-myring-txt { display: grid; gap: 2px; text-align: start; min-width: 0; }
.wd-myring-txt b { font-size: 15px; }
.wd-myring-txt small { font-size: 12px; opacity: .92; }
.wd-ring-change { padding: 7px 12px; border-radius: 999px; background: linear-gradient(135deg, #ffcc4d, #ff8a3d); color: #4a1d00; font-weight: 800; font-size: 13px; white-space: nowrap; box-shadow: 0 3px 8px rgba(0, 0, 0, .2); }
.wd-ringpick-wrap { padding: 10px 12px 16px; }
.wd-ringpick-hint { margin: 0 0 10px; font-size: 13px; color: #6a5d80; line-height: 1.5; }
.wd-ringpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.wd-ringpick-it { display: grid; justify-items: center; gap: 4px; padding: 10px 6px; border-radius: 16px; background: linear-gradient(180deg, #fff8fc, #f6eaff); border: 1.5px solid #ecd6f7; color: #3a2350; }
.wd-ringpick-it:active { transform: scale(.97); }
.wd-ringpick-pic { width: 76px; height: 76px; object-fit: contain; }
.wd-ringpick-it b { font-size: 13px; text-align: center; }
.wd-ringpick-it small { font-size: 11px; color: #8e1670; font-weight: 700; }
/* the Events card: the ring between the two photos */
.nt-ring .nt-ring-pic { width: 64px; height: 64px; object-fit: contain; display: grid; place-items: center; font-size: 40px; filter: drop-shadow(0 4px 8px rgba(140, 20, 100, .35)); animation: ntAdmPop .5s ease-out both; }
.wd-ringpick-wrap { max-height: 64vh; overflow-y: auto; padding: 4px 2px 10px; }
.wd-ringpick-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 16px; }
.wd-ringpick-back { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff; font-size: 22px; line-height: 1; }
.wd-wrap .wd-ringpick-hint { color: rgba(255, 255, 255, .9); }
/* the invitation's two ways: friends, or the wedding guests (bots, free) */
.wd-invchoice { display: grid; gap: 12px; margin-top: 8px; }
.wd-invopt { display: grid; justify-items: center; gap: 6px; padding: 16px 12px; border-radius: 18px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); color: #fff; }
.wd-invopt b { font-size: 16px; }
.wd-invopt small { font-size: 12.5px; opacity: .92; line-height: 1.45; display: inline-flex; align-items: center; gap: 4px; }
.wd-invopt-ico { font-size: 32px; }
.wd-invopt.bots { background: linear-gradient(135deg, rgba(255, 214, 102, .35), rgba(255, 105, 180, .3)); }
.wd-invopt.done { opacity: .75; }
.wd-bots-faces { display: flex; }
.wd-bots-faces .wd-person-ava { width: 44px; height: 44px; margin-inline-start: -8px; border: 2px solid #fff; border-radius: 50%; background-size: cover; background-position: center; }
.wd-bots-faces .wd-person-ava:first-child { margin-inline-start: 0; }
/* the proposal's rings: what each one brings every day (2026-11-12) */
.wd-ring-daily { display: block; margin-top: 2px; font-size: 11px; font-weight: 800; color: #ffe08a; white-space: nowrap; }
.wd-ring-explain { margin: 4px 6px 8px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .14); font-size: 12.5px; line-height: 1.5; text-align: center; }
/* a marriage achievement at the table: the couple with the ring between them */
.ak-event.ak-couple { background: linear-gradient(135deg, #ffe3f1 0%, #fbd3ff 55%, #ffe9b8 100%); border: 1.5px solid #f3a6d4; }
.ak-couple .ak-mid { display: grid; justify-items: center; gap: 2px; text-align: center; }
.ak-couple .ak-ring { width: 54px; height: 54px; object-fit: contain; display: grid; place-items: center; font-size: 34px; filter: drop-shadow(0 3px 6px rgba(140, 20, 100, .35)); }
.ak-couple .ak-name { color: #8e1670; }
.nt-cach .nt-adm-pts b { font-size: 15px; }

/* the couple's tab in the chat (couple.js): their card, the fund, the private chat */
.couple-view { display: flex; flex-direction: column; gap: 10px; }
.cp-card { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 16px 10px; border-radius: 20px; border: 3px solid #f6b6dc; background: linear-gradient(135deg, #ffe3f1, #f3d6ff 55%, #ffe9b8); background-size: cover; background-position: center; box-shadow: 0 6px 18px rgba(140, 40, 120, .2); }
.cp-face { display: grid; justify-items: center; gap: 4px; }
.cp-face img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .25); }
.cp-face small { font-weight: 800; font-size: 12px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-mid { display: grid; justify-items: center; gap: 2px; }
.cp-ring { width: 72px; height: 72px; object-fit: contain; display: grid; place-items: center; font-size: 44px; filter: drop-shadow(0 4px 8px rgba(80, 0, 60, .45)); }
.cp-days { padding: 2px 10px; border-radius: 999px; background: rgba(0, 0, 0, .3); color: #fff; font-weight: 800; font-size: 11.5px; }
.cp-fund { display: grid; gap: 8px; padding: 10px 12px; border-radius: 16px; background: #fff7fb; border: 1.5px solid #f6d3e8; }
.cp-fund-n { display: flex; justify-content: space-between; align-items: center; font-weight: 800; color: #7d1a62; }
.cp-fund-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.cp-btn { flex: 1 1 auto; padding: 7px 10px; border-radius: 999px; background: linear-gradient(135deg, #ff7fb8, #b56bff); color: #fff; font-weight: 800; font-size: 12.5px; white-space: nowrap; }
.cp-btn.small { flex: 0 0 auto; background: #efe3fb; color: #6a3b8f; }
.cp-msgs { display: flex; flex-direction: column; gap: 8px; }
.cp-line { display: flex; align-items: flex-end; gap: 6px; }
.cp-line.mine { flex-direction: row-reverse; }
.cp-line-ava { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.cp-bubble { max-width: 75%; padding: 7px 11px; border-radius: 16px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); display: grid; gap: 2px; }
.cp-line.mine .cp-bubble { background: linear-gradient(135deg, #ffd6ea, #ecd9ff); }
.cp-bubble small { font-size: 10px; color: #9a8aa8; justify-self: end; }
.cp-sheet { display: grid; gap: 10px; }
.cp-sheet-head { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.cp-back { width: 32px; height: 32px; border-radius: 50%; background: #efe3fb; color: #6a3b8f; font-size: 20px; }
.cp-hint { margin: 0; font-size: 12.5px; color: #6a5d80; line-height: 1.5; }
.cp-sub { font-size: 13px; color: #7d1a62; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cp-chip { padding: 5px 10px; border-radius: 999px; background: #fff3d6; border: 1px solid #ffd27a; }
.cp-amount { padding: 9px 12px; border-radius: 12px; border: 1.5px solid #e6dff0; font-size: 15px; }
.cp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.cp-item { display: grid; justify-items: center; gap: 4px; padding: 8px 6px; border-radius: 14px; background: #fbf7ff; border: 1.5px solid #ecdff7; color: #3a2350; font-size: 12px; }
.cp-item.on { border-color: #b56bff; background: #f4ecff; }
.cp-bg { width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; background-size: cover; background-position: center; }
.cp-frame { width: 54px; height: 54px; border-radius: 14px; border: 4px solid; background: #fff; }
.cp-ringpic { width: 60px; height: 60px; object-fit: contain; }
.cp-daily { color: #8e1670; font-weight: 800; }
.cp-pay { display: grid; gap: 8px; text-align: center; }
.cp-log { display: grid; gap: 6px; }
.cp-log-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px; align-items: center; padding: 6px 10px; border-radius: 10px; background: #fff; font-size: 12.5px; }
.cp-log-n.plus { color: #1b8a3a; font-weight: 800; }
.cp-log-n.minus { color: #c62828; font-weight: 800; }
.chat.in-couple .side-btns { display: none; }
/* (the couple view: the card and the fund fixed on top, compact on a phone; the lines scroll under them) */
.chat-body > .couple-view { overflow: hidden; padding: 8px 10px; }
.chat-body > .couple-view > .cp-msgs { flex: 1; min-height: 60px; overflow-y: auto; padding: 4px 2px; }
/* the fold bar, the folding card and the fund keep their own height, so the lines below them are what scrolls
   (without this the card could grow and leave the chat with nowhere to scroll) */
.chat-body > .couple-view > .cp-foldbar,
.chat-body > .couple-view > .cp-top,
.chat-body > .couple-view > .cp-fund { flex: none; }
.cp-top { display: flex; flex-direction: column; gap: 10px; }
.cp-top[hidden] { display: none; }
.chat-body > .couple-view > .cp-sheet { overflow-y: auto; min-height: 0; flex: 1; }
@media (max-width: 950px) {
  .cp-card { padding: 8px 8px; gap: 4px; }
  .cp-face img { width: 46px; height: 46px; border-width: 2px; }
  .cp-ring { width: 50px; height: 50px; font-size: 32px; }
  .cp-fund { padding: 6px 8px; gap: 6px; }
  .cp-btn { padding: 5px 8px; font-size: 12px; }
}
.chat-body > .couple-view { justify-content: flex-start; }
.chat-body > .couple-view > :first-child { margin-top: 0 !important; }
.chat-body.with-side > .chat-list.couple-view { padding-top: 8px; }

/* The couple card's looks (couple.js LOOKS, 2026-11-12): bought in the couple tab, worn on the two's profiles
   (.couple-card), on the card at the top of the couple tab (.cp-card) and on the shop's samples */
.cc-bg-rose { background: radial-gradient(120% 140% at 85% 50%, #fff 0%, #ffe1ef 45%, #ffc2dc 100%) !important; }
.cc-bg-gold { background: radial-gradient(120% 140% at 85% 50%, #fffaf0 0%, #fbe9b7 45%, #f2cf6b 100%) !important; }
.cc-bg-night { background: radial-gradient(120% 140% at 85% 50%, #3a3f8f 0%, #1d1f4f 55%, #0d0e2b 100%) !important; }
.cc-bg-night .cc-label, .cc-bg-night .cc-name, .cc-bg-night .cp-face small { color: #fff !important; }
.cc-bg-lavender { background: radial-gradient(120% 140% at 85% 50%, #fff 0%, #ece0ff 45%, #cdb4ff 100%) !important; }
.cc-bg-ocean { background: radial-gradient(120% 140% at 85% 50%, #f2fdff 0%, #bfeefa 45%, #6fcbe8 100%) !important; }
.cc-bg-sunset { background: linear-gradient(135deg, #ffd59e 0%, #ff9a8b 45%, #ff6a88 75%, #c06cff 100%) !important; }
.cc-bg-sunset .cc-label, .cc-bg-sunset .cc-name { color: #4a1030 !important; }
.cc-fr-gold { box-shadow: inset 0 0 0 3px #f5b301, 0 3px 12px rgba(245, 179, 1, .35) !important; }
.cc-fr-rose { box-shadow: inset 0 0 0 3px #ff6fae, 0 3px 12px rgba(255, 111, 174, .35) !important; }
.cc-fr-silver { box-shadow: inset 0 0 0 3px #b9c2d0, 0 3px 12px rgba(120, 130, 150, .35) !important; }
.cc-fr-violet { box-shadow: inset 0 0 0 3px #a66bff, 0 3px 12px rgba(166, 107, 255, .35) !important; }
.cc-fr-ruby { box-shadow: inset 0 0 0 3px #e0245e, 0 3px 12px rgba(224, 36, 94, .35) !important; }
.cc-fr-sky { box-shadow: inset 0 0 0 3px #4fc3f7, 0 3px 12px rgba(79, 195, 247, .35) !important; }
.cc-bar-pink .cc-happy i { background: linear-gradient(180deg, #ff9ccc, #ff4f9a) !important; }
.cc-bar-rainbow .cc-happy i { background: linear-gradient(90deg, #ff5f6d, #ffc371, #7ee8a2, #5ec8ff, #b06cff) !important; }
.cc-bar-emerald .cc-happy i { background: linear-gradient(180deg, #7ef0b0, #18b46b) !important; }
.cc-bar-ruby .cc-happy i { background: linear-gradient(180deg, #ff7a9a, #c4123f) !important; }
.cc-bar-ice .cc-happy i { background: linear-gradient(180deg, #e6fbff, #7fd8f5) !important; }
.cc-bar-ice .cc-happy b { color: #1f5f7a !important; text-shadow: none !important; }
.cc-bar-royal .cc-happy i { background: linear-gradient(180deg, #c49bff, #6a2fd6) !important; }
/* the couple tab's own card: its happiness bar under the ring */
.cp-card { background: radial-gradient(120% 140% at 50% 50%, #fff 0%, #e9f3ff 45%, #d6e8fb 100%); border: 0; box-shadow: inset 0 0 0 1px #c9dcf3; }
.cp-card .cp-face small { color: #1d3557; text-shadow: none; }
.cp-card .cc-happy { margin-top: 4px; min-width: 120px; }
/* the shop's samples: a little couple card wearing the choice */
.cp-sample.couple-card { width: 100%; height: 46px; padding: 6px; gap: 6px; border-radius: 10px; }
.cp-sample.couple-card::before { width: 34%; opacity: .45; }
.cp-sample-ph { flex: none; width: 22px; height: 22px; border-radius: 6px; background: rgba(120, 90, 160, .35); }
.cp-sample .cc-happy { height: 10px; flex: 1; margin: 0; }
/* a ring's upgrade price: the original crossed out, the worn ring taken off, what is left */
.wd-up { display: grid; justify-items: center; gap: 0; font-size: 11px; line-height: 1.25; }
.wd-up s { opacity: .65; }
.wd-up small { color: #1b8a3a; font-weight: 800; }
.wd-up b { display: inline-flex; align-items: center; gap: 3px; }

/* the couple card, more alive (2026-11-12, the owner): their own picture, any colour for the bar, the bar's effects
   (.cc-barfx-*) and the whole card's (.cc-fx-*) */
.cc-bg-custom { background-size: cover !important; background-position: center !important; }
.cc-bg-custom .cc-label, .cc-bg-custom .cc-name, .cc-bg-custom .cp-face small { color: #fff !important; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.cc-barc .cc-happy i { background: linear-gradient(180deg, color-mix(in srgb, var(--barc) 70%, #fff), var(--barc)) !important; }
.cc-happy { isolation: isolate; }
.cc-happy::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
/* the bar's effects */
.cc-barfx-shine .cc-happy::after { background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .75) 45%, transparent 60%); background-size: 250% 100%; animation: ccShine 2.4s ease-in-out infinite; }
@keyframes ccShine { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.cc-barfx-rainbow .cc-happy i { background: linear-gradient(90deg, #ff5f6d, #ffc371, #7ee8a2, #5ec8ff, #b06cff, #ff5f6d) !important; background-size: 300% 100% !important; animation: ccFlow 3s linear infinite; }
@keyframes ccFlow { to { background-position: 300% 0; } }
.cc-barfx-pulse .cc-happy { animation: ccPulse 1.6s ease-in-out infinite; }
@keyframes ccPulse { 50% { box-shadow: 0 0 10px 2px rgba(255, 90, 170, .75), inset 0 1px 2px rgba(0, 0, 0, .15); } }
.cc-barfx-sparkle .cc-happy::after { background-image: radial-gradient(circle, #fff 0 1.4px, transparent 2px), radial-gradient(circle, #fff 0 1px, transparent 1.6px); background-size: 22px 20px, 15px 14px; background-position: 0 0, 7px 6px; animation: ccTwinkle 1.4s steps(2) infinite; }
@keyframes ccTwinkle { 50% { opacity: .2; } }
.cc-barfx-hearts .cc-happy::after { content: '♥ ♥ ♥ ♥ ♥ ♥'; color: rgba(255, 255, 255, .9); font-size: 10px; line-height: 20px; white-space: nowrap; letter-spacing: 6px; animation: ccDrift 4s linear infinite; }
@keyframes ccDrift { from { transform: translateX(-30%); } to { transform: translateX(30%); } }
/* the whole card's effects */
.couple-card::after, .cp-card::after { content: none; }
.cc-fx-rainbow { animation: ccRainbowEdge 3s linear infinite; }
@keyframes ccRainbowEdge { 0% { box-shadow: inset 0 0 0 3px #ff5f6d, 0 0 12px #ff5f6d; } 25% { box-shadow: inset 0 0 0 3px #ffc371, 0 0 12px #ffc371; } 50% { box-shadow: inset 0 0 0 3px #7ee8a2, 0 0 12px #7ee8a2; } 75% { box-shadow: inset 0 0 0 3px #5ec8ff, 0 0 12px #5ec8ff; } 100% { box-shadow: inset 0 0 0 3px #b06cff, 0 0 12px #b06cff; } }
.cc-fx-glow { animation: ccGlow 2s ease-in-out infinite; }
@keyframes ccGlow { 50% { box-shadow: 0 0 18px 4px rgba(255, 140, 200, .75); } }
.cc-fx-sparkle::after, .cc-fx-hearts::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
.cc-fx-sparkle::after { background-image: radial-gradient(circle, #fff 0 1.6px, transparent 2.2px), radial-gradient(circle, #ffe9a6 0 1.2px, transparent 1.8px); background-size: 34px 30px, 23px 26px; background-position: 4px 6px, 15px 14px; animation: ccTwinkle 1.6s steps(2) infinite; }
.cc-fx-hearts::after { content: '💗'; font-size: 16px; display: grid; place-items: end center; padding-bottom: 4px; animation: ccFloat 3.2s ease-in infinite; }
@keyframes ccFloat { 0% { transform: translateY(30%); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-80%); opacity: 0; } }
.couple-card, .cp-card { position: relative; }
/* the shop's own-picture and any-colour tiles */
.cp-own .cp-bg { display: grid; place-items: center; font-size: 22px; background: #efe3fb; }
.cp-color { width: 54px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; }

/* the ring's daily league points on the couple card, and when the next day lands (2026-11-16) */
.cp-lp { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 10px; margin-top: 4px; }
.cp-lp-day { display: inline-flex; align-items: baseline; gap: 3px; font-size: .78rem; font-weight: 900; color: #b23a76; }
.cp-lp-day small { font-size: .7rem; font-weight: 700; opacity: .9; }
.cp-lp-next { display: inline-flex; align-items: baseline; gap: 3px; font-size: .72rem; font-weight: 700; color: #6b5a86; }
.cp-lp-next b { font-weight: 900; color: #3a2a5e; }

/* the couple card folds away so it never crowds the couple's own chat (2026-11-16) */
.cp-foldbar { display: flex; align-items: center; gap: 8px; padding: 4px 10px; }
.cp-fold { flex: none; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: #f1ebfd; color: #6b3fb5; font-size: 13px; font-weight: 900; cursor: pointer; }
.cp-foldname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; font-weight: 800; color: #6b5a86; }
.cp-foldlp { flex: none; display: inline-flex; align-items: baseline; gap: 3px; font-size: .78rem; font-weight: 900; color: #b23a76; }
