/* Simos Camp — Camp Tinder phone app (owner: tinder, prefix tn-). Totally optional, cozy, pink-sunset beach vibes.
 * Phones: the app fills the screen. Wide screens: a cute phone frame in the middle of a warm pastel backdrop. */

/* ================================================================ full-screen backdrop & phone frame */
.ui-fs.tn-fs {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 38%),
    radial-gradient(circle at 85% 88%, rgba(134, 230, 220, .55), rgba(134, 230, 220, 0) 45%),
    linear-gradient(160deg, #ffd3e2 0%, #ffe6cf 48%, #ffd9b8 70%, #bff3ec 100%);
}
.tn-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.tn-bgdeco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; display: none; }
.tn-deco { position: absolute; font-size: 34px; opacity: .55; animation: tn-float 6s ease-in-out infinite; filter: drop-shadow(0 3px 0 rgba(255, 255, 255, .6)); }
.tn-deco0 { left: 12%; top: 18%; } .tn-deco1 { left: 20%; top: 72%; animation-delay: -1s; } .tn-deco2 { left: 8%; top: 46%; animation-delay: -2s; font-size: 26px; }
.tn-deco3 { left: 27%; top: 38%; animation-delay: -3s; font-size: 28px; } .tn-deco4 { right: 12%; top: 22%; animation-delay: -1.5s; }
.tn-deco5 { right: 22%; top: 66%; animation-delay: -2.5s; } .tn-deco6 { right: 8%; top: 48%; animation-delay: -4s; font-size: 28px; } .tn-deco7 { right: 26%; top: 36%; animation-delay: -.5s; font-size: 26px; }
@keyframes tn-float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(6deg); } }

.tn-phone {
  position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden;
  background: var(--panel-bg); color: var(--ink); font-family: var(--font);
}
.tn-status { display: none; }
@media (min-width: 700px) and (min-height: 560px) {
  .tn-bgdeco { display: block; }
  .tn-phone {
    position: relative; inset: auto; width: 400px; height: min(820px, calc(100% - 36px));
    border-radius: 46px; border: 11px solid #4a3b33;
    box-shadow: 0 0 0 3px #7a6558, 0 18px 0 rgba(122, 81, 50, .25), 0 30px 60px rgba(74, 59, 51, .35);
    animation: tn-phone-in .55s var(--ease-spring) both;
  }
  .tn-status {
    display: flex; align-items: center; justify-content: space-between; flex: none; height: 30px; padding: 4px 26px 0;
    font: 600 12px var(--font); color: var(--ink-soft);
  }
  .tn-notch { width: 96px; height: 22px; border-radius: 0 0 16px 16px; background: #4a3b33; margin-top: -8px; }
}
@keyframes tn-phone-in { from { transform: translateY(40px) scale(.92) rotate(-2deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* ================================================================ header, body, bottom nav */
.tn-head {
  flex: none; display: flex; align-items: center; min-height: 58px; padding: calc(var(--safe-top) + 6px) 64px 4px 16px;
}
@media (min-width: 700px) and (min-height: 560px) { .tn-head { padding: 2px 16px 4px; justify-content: center; min-height: 48px; } }
.tn-logo { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 25px; letter-spacing: .2px; }
.tn-logo-ic { font-size: 22px; filter: drop-shadow(0 2px 0 rgba(122, 81, 50, .2)); }
.tn-logo-t {
  background: linear-gradient(90deg, #ff5c8a 0%, #ff7fa8 45%, #ff9f43 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, .8));
}
.tn-logo-h { font-size: 20px; animation: tn-beat 1.6s ease-in-out infinite; display: inline-block; }
@keyframes tn-beat { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.25); } 40% { transform: scale(.95); } }

.tn-body { position: relative; flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 4px 18px 18px; -webkit-overflow-scrolling: touch; touch-action: pan-y; overscroll-behavior: contain; }
.tn-body.tn-scr-deck { overflow: hidden; display: flex; flex-direction: column; padding: 0 16px 8px; touch-action: none; }

.tn-nav {
  flex: none; display: flex; gap: 4px; padding: 6px 10px calc(var(--safe-bottom) + 8px);
  background: var(--paper); border-top: 2px solid var(--sand-dark);
}
.tn-navbtn {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 52px;
  border: 0; border-radius: 16px; background: transparent; color: var(--ink-soft); font: 600 12px var(--font); cursor: pointer;
  transition: background .2s, color .2s, transform .15s var(--ease-spring);
}
.tn-navbtn:active { transform: scale(.94); }
.tn-nav-ic { font-size: 22px; line-height: 1.1; filter: grayscale(.5); transition: filter .2s, transform .25s var(--ease-spring); }
.tn-navbtn.on { background: #ffe3ee; color: #c2356a; }
.tn-navbtn.on .tn-nav-ic { filter: none; transform: translateY(-1px) scale(1.12); }

/* ================================================================ shared bits */
.tn-h { margin: 6px 0 4px; font-size: 24px; font-weight: 700; text-align: center; }
.tn-sub { margin: 0 0 12px; text-align: center; color: var(--ink-soft); font-size: 14px; }
.tn-lead { margin: 4px 4px 10px; text-align: center; color: var(--ink-soft); font-size: 15.5px; line-height: 1.4; }
.tn-lead b { color: #d1386f; }
.tn-faint { color: var(--ink-faint); }
.tn-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.tn-actions .sc-btn { width: 100%; }
.tn-sec-t { margin: 16px 2px 8px; font-weight: 700; font-size: 15px; color: var(--ink); display: flex; align-items: baseline; gap: 6px; }
.tn-note { margin: 6px 2px 0; font-size: 13px; color: var(--ink-soft); }
.tn-empty { text-align: center; padding: 26px 18px; color: var(--ink-soft); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tn-empty h3 { margin: 4px 0 0; color: var(--ink); font-size: 20px; }
.tn-empty p { margin: 0 0 8px; line-height: 1.4; }
.tn-empty-ic { font-size: 56px; line-height: 1.1; animation: tn-float 4s ease-in-out infinite; }
.tn-empty .sc-btn { min-width: 210px; }
.tn-link { margin-top: 12px; background: none; border: 0; color: var(--ink-soft); font: 500 14px var(--font); text-decoration: underline; cursor: pointer; }

/* ================================================================ intro */
.tn-intro-art { position: relative; height: 178px; display: grid; place-items: center; margin-top: 2px; }
.tn-intro-art canvas { position: relative; z-index: 1; }
.tn-intro-halo {
  position: absolute; width: 164px; height: 164px; border-radius: 50%; top: 8px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle at 50% 40%, #fff 0%, #ffe3ee 45%, #ffc2d6 100%); border: 4px solid #fff; box-shadow: 0 6px 0 rgba(255, 127, 168, .25);
}
.tn-intro-heart { position: absolute; z-index: 2; font-size: 24px; animation: tn-float 3.6s ease-in-out infinite; }
.tn-intro-heart.h1 { left: calc(50% - 104px); top: 30px; } .tn-intro-heart.h2 { right: calc(50% - 104px); top: 58px; animation-delay: -1.2s; font-size: 20px; }
.tn-intro-heart.h3 { right: calc(50% - 86px); top: 10px; animation-delay: -2.2s; font-size: 18px; }
.tn-intro-phone { position: absolute; z-index: 2; left: calc(50% + 46px); bottom: 14px; font-size: 26px; transform: rotate(14deg); animation: tn-wiggle 2.4s ease-in-out infinite; }
@keyframes tn-wiggle { 0%, 100% { transform: rotate(14deg); } 50% { transform: rotate(4deg) translateY(-3px); } }
.tn-points { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.tn-points li {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 16px; font-size: 14.5px; line-height: 1.3;
  background: var(--paper); border: 2px solid var(--sand-dark);
}
.tn-points li > span:first-child { font-size: 20px; flex: none; width: 26px; text-align: center; }

/* ================================================================ setup */
.tn-setup-preview .tn-mini {
  display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 18px; background: var(--paper);
  border: 3px solid #ffc2d6; box-shadow: 0 3px 0 rgba(255, 127, 168, .25);
}
.tn-mini-txt { min-width: 0; flex: 1; }
.tn-mini-name { font-weight: 700; font-size: 18px; }
.tn-mini-bio { font-size: 13.5px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-mini-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; font-size: 12.5px; }
.tn-mini-chip { padding: 1px 8px; border-radius: 99px; background: #ffe3ee; color: #a42c58; font-weight: 600; }
.tn-fields { display: flex; flex-direction: column; gap: 7px; }
.tn-field { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 16px; background: var(--paper); border: 2px solid var(--sand-dark); }
.tn-field.off { opacity: .72; }
.tn-field-ic { font-size: 20px; width: 26px; text-align: center; flex: none; }
.tn-field-l { font-weight: 600; font-size: 15px; }
.tn-field-v { font-size: 12.5px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tn-field-v.tn-lock { color: #9b6a40; }
.tn-field .sc-toggle:disabled { opacity: .45; cursor: default; }
.tn-count { margin-left: auto; font-weight: 500; font-size: 13px; color: var(--ink-faint); }
.tn-bio { min-height: 84px; resize: none; line-height: 1.35; padding: 10px 14px; }
.tn-feedback { min-height: 18px; margin: 4px 2px 0; font-size: 13px; color: var(--green-dark); }
.tn-feedback.bad { color: var(--red-dark); }

/* ================================================================ deck */
.tn-hint { flex: none; height: 22px; text-align: center; font-size: 13px; color: var(--ink-faint); }
.tn-stack { position: relative; flex: 1 1 auto; min-height: 0; margin: 2px 4px 38px; }
.tn-card {
  position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 26px; background: var(--paper); border: 4px solid #fff;
  box-shadow: 0 4px 0 rgba(205, 176, 122, .75), 0 14px 26px rgba(74, 59, 51, .2);
  transform: translateY(calc(var(--depth, 0) * 13px)) scale(calc(1 - var(--depth, 0) * .05 + var(--lift, 0) * .05));
  transform-origin: 50% 100%; transition: transform .34s var(--ease-spring), box-shadow .2s;
  touch-action: none; cursor: grab; will-change: transform; -webkit-user-select: none; user-select: none;
}
.tn-card:not(.tn-top) { pointer-events: none; }
.tn-card:not(.tn-top) .tn-card-info { filter: saturate(.8); }
.tn-card.tn-top { transform-origin: 50% 80%; }
.tn-card.tn-top.tn-live { transition: none; }
.tn-card.tn-grab { cursor: grabbing; box-shadow: 0 4px 0 rgba(205, 176, 122, .75), 0 22px 36px rgba(74, 59, 51, .3); }
.tn-card-art { position: relative; flex: 0 0 54%; overflow: hidden; border-radius: 22px 22px 0 0; }
.tn-card-art canvas { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 3; pointer-events: none; }
.tn-card-sun { position: absolute; z-index: 1; width: 64px; height: 64px; border-radius: 50%; top: 13%; right: 13%;
  background: radial-gradient(circle at 42% 40%, #fffbe6, #ffe27a 55%, #ffc24d); box-shadow: 0 0 0 10px rgba(255, 226, 122, .28), 0 0 30px rgba(255, 214, 94, .6); }
.tn-card-sea { position: absolute; z-index: 1; left: -5%; right: -5%; bottom: 20%; height: 22%;
  background: linear-gradient(180deg, #9fe8e0 0%, #46cfd6 45%, #2596c2 100%); border-radius: 50% 50% 0 0 / 12px 12px 0 0; }
.tn-card-sea::after { content: ''; position: absolute; left: 8%; right: 8%; top: 36%; height: 3px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .8) 0 18px, transparent 18px 40px); animation: tn-waves 3s linear infinite; }
@keyframes tn-waves { to { background-position: 80px 0; } }
.tn-card-sand { position: absolute; z-index: 2; left: -8%; right: -8%; bottom: 0; height: 25%;
  background: linear-gradient(180deg, #fff0cf 0%, #f6dfae 100%); border-radius: 50% 50% 0 0 / 22px 22px 0 0; }
.tn-sky-a { background: linear-gradient(180deg, #ffd4e4 0%, #ffe7cf 70%); }
.tn-sky-b { background: linear-gradient(180deg, #bfe9ff 0%, #e8f8ff 70%); }
.tn-sky-c { background: linear-gradient(180deg, #ffc7a6 0%, #ffe3c2 70%); }
.tn-sky-c .tn-card-sun { top: 30%; background: radial-gradient(circle at 45% 40%, #fff1d6, #ffb36b 55%, #ff8a5c); }
.tn-sky-d { background: linear-gradient(180deg, #e2d6ff 0%, #ffe1ef 70%); }
.tn-stamp {
  position: absolute; z-index: 5; top: 22px; padding: 4px 14px 5px; border-radius: 14px; border: 4px solid; opacity: 0;
  font: 700 27px/1.1 var(--font); letter-spacing: 2px; background: rgba(255, 255, 255, .82); pointer-events: none;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .08);
}
.tn-stamp span { font-size: 22px; letter-spacing: 0; }
.tn-stamp-like { left: 16px; color: #ff4f86; border-color: #ff4f86; transform: rotate(-14deg); }
.tn-stamp-pass { right: 16px; color: #1d8fa3; border-color: #2ec4c6; transform: rotate(12deg); border-style: dashed; }
.tn-card-info {
  position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; padding: 10px 16px 14px;
  -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent); mask-image: linear-gradient(180deg, #000 84%, transparent);
}
.tn-card-name { font-weight: 700; font-size: 27px; line-height: 1.1; }
.tn-card-bio { margin: 3px 0 6px; font-size: 15px; color: var(--ink-soft); line-height: 1.3; }
.tn-card-sec { display: flex; gap: 8px; align-items: flex-start; margin-top: 7px; }
.tn-card-sec-ic { flex: none; width: 22px; text-align: center; font-size: 16px; line-height: 26px; }
.tn-card-chips { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.tn-chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font: 600 13px/1.25 var(--font);
  background: #ffe3ee; color: #a42c58; border: 2px solid #ffc2d6; white-space: nowrap; }
.tn-sec-hobbies .tn-chip { background: #dcf7f4; color: #13707e; border-color: #9fe3db; }
.tn-sec-likes .tn-chip { background: #fff4cf; color: #8a6412; border-color: #ffe08a; }
.tn-sec-dislikes .tn-chip { background: #f1ebe4; color: #7a6558; border-color: #dccfc2; }
.tn-sec-height .tn-chip, .tn-sec-look .tn-chip { background: #efe9ff; color: #5b45a8; border-color: #d6c8ff; }
.tn-chip-more { background: var(--sand) !important; color: var(--ink-soft) !important; border-color: var(--sand-dark) !important; }

/* meta pills under the name: country (flag + name) and age RANGE — only when chosen and public */
.tn-card-meta { display: flex; flex-wrap: wrap; gap: 5px; margin: 5px 0 2px; }
.tn-meta {
  display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 2px 10px 2px 7px; border-radius: 999px;
  background: #e8f6ff; color: #1f5f86; border: 2px solid #bfe3f7; font: 600 13px/1.3 var(--font); white-space: nowrap;
}
.tn-meta > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.tn-meta-birthday { background: #fff1e0; color: #9a5a12; border-color: #ffd8a8; padding-left: 9px; }
.tn-flag { font-size: 16px; line-height: 1; flex: none; }
.tn-cc {
  flex: none; display: inline-grid; place-items: center; min-width: 24px; height: 17px; padding: 0 3px; border-radius: 4px;
  background: linear-gradient(180deg, #fff 0%, #eef5fa 100%); border: 1.5px solid #9cc4dc; color: #2f5d7a;
  font: 700 10px/1 var(--font); letter-spacing: .6px; box-shadow: 0 1px 0 rgba(47, 93, 122, .18);
}
.tn-mini-meta { margin: 2px 0 1px; gap: 4px; }
.tn-mini-meta .tn-meta { font-size: 11.5px; padding: 1px 8px 1px 5px; border-width: 1.5px; }
.tn-mini-meta .tn-flag { font-size: 13px; }

.tn-btns { flex: none; display: flex; align-items: center; justify-content: center; gap: 30px; padding: 0 0 4px; transition: opacity .3s; }
.tn-btns.tn-dim { opacity: .3; pointer-events: none; }
.tn-round {
  display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; border: 3px solid; cursor: pointer; padding: 0;
  font-size: 30px; line-height: 1; background: #fff; transition: transform .15s var(--ease-spring), box-shadow .15s;
}
.tn-round:active { transform: translateY(4px); }
.tn-pass { border-color: var(--turq); box-shadow: 0 5px 0 #1d8fa3; }
.tn-pass:active { box-shadow: 0 1px 0 #1d8fa3; }
.tn-like { width: 76px; height: 76px; font-size: 34px; border-color: #ff7fa8; background: linear-gradient(180deg, #fff 0%, #ffe3ee 100%); box-shadow: 0 5px 0 #d9487a; }
.tn-like:active { box-shadow: 0 1px 0 #d9487a; }
.tn-round.tn-pop { animation: tn-pop .45s var(--ease-spring); }
@keyframes tn-pop { 0% { transform: scale(1); } 35% { transform: scale(1.22); } 100% { transform: scale(1); } }
.tn-deck-empty { position: absolute; inset: 0; justify-content: center; border-radius: 26px; background: var(--paper); border: 3px dashed var(--sand-dark); }

/* consent-workshop lock: likes paused (browsing & passing still work) */
.tn-like.tn-locked { position: relative; border-color: #cbbfb2; background: linear-gradient(180deg, #fff 0%, #f3eee8 100%); box-shadow: 0 5px 0 #b3a595; }
.tn-like.tn-locked:active { box-shadow: 0 1px 0 #b3a595; }
.tn-like.tn-locked::after {
  content: '🔒'; position: absolute; right: -6px; bottom: -4px; width: 30px; height: 30px; display: grid; place-items: center;
  font-size: 15px; border-radius: 50%; background: #fff; border: 2px solid #9fdcb2; box-shadow: 0 2px 0 rgba(47, 160, 90, .25);
}
.tn-card.tn-nudge { animation: tn-nudge .5s ease; }
@keyframes tn-nudge { 0%, 100% { transform: none; } 20% { transform: translateX(16px) rotate(2deg); } 45% { transform: translateX(-9px) rotate(-1deg); } 70% { transform: translateX(4px); } }
.tn-lockbar {
  flex: none; display: flex; align-items: center; gap: 10px; margin: 2px 0 8px; padding: 8px 10px 8px 12px; border-radius: 16px;
  background: linear-gradient(180deg, #effcf2 0%, #dff5e6 100%); border: 2px solid #9fdcb2; box-shadow: 0 3px 0 rgba(47, 160, 90, .16);
}
.tn-lockbar-ic { flex: none; font-size: 24px; line-height: 1; }
.tn-lockbar-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; font-size: 13px; line-height: 1.25; color: var(--ink-soft); }
.tn-lockbar-t b { color: var(--ink); font-size: 14.5px; }
.tn-lockbar .sc-btn { flex: none; }
.tn-sheet {
  position: absolute; inset: 0; z-index: 45; display: flex; align-items: flex-end; justify-content: center;
  padding: 16px 14px calc(var(--safe-bottom) + 16px); background: rgba(74, 59, 51, .38);
  animation: tn-fade .25s ease both; transition: opacity .25s ease;
}
.tn-sheet.tn-out { opacity: 0; pointer-events: none; }
.tn-sheet-card {
  width: 100%; max-width: 380px; padding: 16px 18px 16px; border-radius: 26px; text-align: center;
  background: var(--paper); border: 3px solid #9fdcb2; box-shadow: 0 6px 0 rgba(47, 160, 90, .22), 0 20px 40px rgba(74, 59, 51, .3);
  animation: tn-sheet-up .45s var(--ease-spring) both;
}
@keyframes tn-sheet-up { from { transform: translateY(70px); opacity: 0; } to { transform: none; opacity: 1; } }
.tn-sheet-ic { font-size: 46px; line-height: 1.15; display: inline-block; animation: tn-float 4s ease-in-out infinite; }
.tn-sheet-h { margin: 4px 0 8px; font-size: 20px; line-height: 1.2; color: var(--ink); }
.tn-sheet-t { margin: 0 0 8px; font-size: 14.5px; line-height: 1.4; color: var(--ink-soft); }
.tn-sheet .tn-actions { margin-top: 10px; }

/* ================================================================ match celebration */
.tn-match {
  position: absolute; inset: 0; z-index: 40; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 22px calc(var(--safe-bottom) + 20px); text-align: center; overflow: hidden;
  background: radial-gradient(circle at 50% 36%, #fffaf3 0%, #ffe0ec 40%, #ffb3cd 100%);
  animation: tn-fade .3s ease both; transition: opacity .3s ease, transform .3s ease;
}
.tn-match.tn-out { opacity: 0; transform: scale(1.04); pointer-events: none; }
@keyframes tn-fade { from { opacity: 0; } to { opacity: 1; } }
.tn-confetti { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 6; pointer-events: none; }
.tn-match-rays {
  position: absolute; z-index: 0; left: 50%; top: 38%; width: 720px; height: 720px; margin: -360px 0 0 -360px; border-radius: 50%; opacity: .45;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .9) 0 9deg, rgba(255, 255, 255, 0) 9deg 22deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 68%); mask-image: radial-gradient(circle, #000 0%, transparent 68%);
  animation: tn-spin 26s linear infinite;
}
@keyframes tn-spin { to { transform: rotate(360deg); } }
.tn-match > *:not(.tn-match-rays):not(.tn-confetti) { position: relative; z-index: 2; }
.tn-banner {
  padding: 8px 26px 10px; border-radius: 20px; border: 4px solid #fff; transform: rotate(-3deg);
  background: linear-gradient(180deg, #ff9fbf 0%, #ff5c8a 100%); box-shadow: 0 6px 0 #c2356a, 0 14px 26px rgba(194, 53, 106, .35);
  color: #fff; font: 700 36px/1.1 var(--font); text-shadow: 0 3px 0 rgba(163, 32, 82, .55); white-space: nowrap;
  animation: tn-banner .7s var(--ease-spring) 1.05s both;
}
@keyframes tn-banner { from { transform: rotate(-3deg) scale(0) translateY(-40px); opacity: 0; } to { transform: rotate(-3deg) scale(1); opacity: 1; } }
.tn-pair { width: 290px; height: 164px; margin: 20px 0 6px; }
.tn-pp { position: absolute; top: 8px; width: 122px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tn-pp canvas { display: block; width: 112px !important; height: 112px !important; border-radius: 50%; border: 5px solid #fff;
  box-shadow: 0 5px 0 rgba(194, 53, 106, .3), 0 10px 20px rgba(74, 59, 51, .2); }
.tn-pp-a { left: calc(50% - 128px); animation: tn-slide-a .8s var(--ease-spring) .15s both; }
.tn-pp-b { right: calc(50% - 128px); animation: tn-slide-b .8s var(--ease-spring) .15s both; }
.tn-pp-a canvas { background: radial-gradient(circle at 50% 35%, #d9fbf6, #86e6dc); transform: rotate(-5deg); }
.tn-pp-b canvas { background: radial-gradient(circle at 50% 35%, #fff4cf, #ffd75e); transform: rotate(5deg); }
@keyframes tn-slide-a { from { transform: translateX(-190px) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tn-slide-b { from { transform: translateX(190px) rotate(20deg); opacity: 0; } to { transform: none; opacity: 1; } }
.tn-pp-name { padding: 1px 12px 2px; border-radius: 99px; background: #fff; color: #c2356a; font: 700 14px var(--font); box-shadow: 0 2px 0 rgba(194, 53, 106, .25); }
.tn-fly { position: absolute; z-index: 3; top: 48px; font-size: 34px; opacity: 0; filter: drop-shadow(0 3px 0 rgba(255, 255, 255, .8)); }
.tn-fly-a { left: calc(50% - 90px); animation: tn-fly-a .75s cubic-bezier(.5, 0, .5, 1) .55s both; }
.tn-fly-b { left: calc(50% + 56px); animation: tn-fly-b .75s cubic-bezier(.5, 0, .5, 1) .55s both; }
@keyframes tn-fly-a { 0% { opacity: 0; transform: translate(0, 30px) scale(.5); } 25% { opacity: 1; } 60% { transform: translate(48px, -34px) scale(1); opacity: 1; } 100% { transform: translate(73px, -8px) scale(.8); opacity: 0; } }
@keyframes tn-fly-b { 0% { opacity: 0; transform: translate(0, 30px) scale(.5); } 25% { opacity: 1; } 60% { transform: translate(-48px, -34px) scale(1); opacity: 1; } 100% { transform: translate(-73px, -8px) scale(.8); opacity: 0; } }
.tn-merged { position: absolute; z-index: 4; left: 50%; top: 22px; width: 70px; margin-left: -35px; font-size: 56px; line-height: 70px;
  filter: drop-shadow(0 4px 0 rgba(255, 255, 255, .9)) drop-shadow(0 6px 10px rgba(194, 53, 106, .35));
  animation: tn-merge .55s var(--ease-spring) 1.22s both, tn-beat 1.4s ease-in-out 1.9s infinite; }
@keyframes tn-merge { from { transform: scale(0) rotate(-30deg); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.tn-match-t { margin: 8px 0 2px; font-weight: 700; font-size: 20px; color: #7a2446; animation: tn-fade .4s ease 1.3s both; }
.tn-match-tip { margin: 0; font-size: 14.5px; color: #9b4a67; animation: tn-fade .4s ease 1.4s both; }
.tn-match-status { min-height: 20px; margin: 10px 0 0; font-size: 14px; font-weight: 600; color: #7a2446; }
.tn-match-status.good { color: var(--green-dark); }
.tn-match .tn-actions { width: 100%; max-width: 320px; animation: tn-fade .4s ease 1.5s both; }

/* ================================================================ matches list */
.tn-mlist { display: flex; flex-direction: column; gap: 8px; }
.tn-mrow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; background: var(--paper); border: 2px solid #ffc2d6; box-shadow: 0 3px 0 rgba(255, 127, 168, .2); }
.tn-mrow .sc-face { border-color: #ffc2d6; }
.tn-mrow-n { font-weight: 700; font-size: 17px; }
.tn-mrow-s { font-size: 13px; color: var(--ink-soft); }
.tn-mrow-st { font-size: 12.5px; color: #c2356a; min-height: 0; line-height: 1.3; }
.tn-mrow-st.tn-wait { color: #13707e; font-weight: 600; }
.tn-mrow .sc-btn { flex: none; }
.tn-mrow .sc-btn:disabled { opacity: .7; cursor: default; }
.sc-btn.tn-dimbtn { filter: saturate(.45); }
.tn-note.tn-center { text-align: center; margin-top: 14px; }

/* ================================================================ my card & delete */
.tn-mycard { position: relative; height: 370px; max-width: 300px; margin: 8px auto 0; }
.tn-mycard .tn-card-name { font-size: 24px; }
.tn-card.tn-card-static { cursor: default; transform: none; touch-action: pan-y; }
.tn-privacy, .tn-danger { margin-top: 14px; padding: 4px 14px 12px; border-radius: 18px; background: var(--paper); border: 2px solid var(--sand-dark); }
.tn-privacy p, .tn-danger p { margin: 0 0 8px; font-size: 14px; color: var(--ink-soft); line-height: 1.4; }
.tn-privacy .tn-sec-t, .tn-danger .tn-sec-t { margin-top: 10px; }
.tn-danger { border-color: #ffb3b3; background: linear-gradient(180deg, rgba(255, 90, 90, .07), rgba(255, 90, 90, .02)), var(--paper); }
.tn-danger .sc-btn { width: 100%; }
.tn-deleted { min-height: 70%; justify-content: center; }
.tn-deleted .tn-actions { width: 100%; max-width: 300px; }

@media (prefers-reduced-motion: reduce) {
  .tn-deco, .tn-logo-h, .tn-match-rays, .tn-empty-ic, .tn-intro-heart, .tn-intro-phone, .tn-sheet-ic, .tn-card.tn-nudge { animation: none !important; }
  .tn-sheet-card { animation-duration: .01s; }
}
