/* ───────── shared page bits ───────── */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-title { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 34px); line-height: 1.3; }
.page-title span { display: inline-block; animation: bob 3.2s ease-in-out infinite; }
.page-sub { color: var(--ink-3); font-weight: 600; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sec { display: flex; flex-direction: column; gap: 12px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sec-head h2 { font-family: var(--display); font-weight: 400; font-size: 22px; }
.tip { padding: 10px 14px; border-radius: 14px; border: 1.5px dashed var(--line); background: color-mix(in srgb, var(--card) 70%, transparent); color: var(--ink-2); font-size: 14px; }
@keyframes pol-float { 50% { translate: 0 -10px; } }
@keyframes kenburns { from { transform: scale(1.16) translate(1.5%, 1.5%); } to { transform: scale(1) translate(0, 0); } }

/* ───────── toolbar + board ───────── */
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toolbar .chips-scroll { flex: 1 1 200px; }
.mini-search { flex: 1 1 90px; min-width: 0; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink-3); }
.mini-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; }
.search-note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--ink-2); font-weight: 600; }

.board { columns: 4 240px; column-gap: 26px; padding-top: 14px; }
.board.is-empty { columns: auto; }
.gcard { position: relative; display: block; break-inside: avoid; margin: 0 0 28px; padding: 10px 10px 14px; border-radius: 22px; background: var(--card); cursor: pointer; outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 16px 36px -20px var(--shadow-c); transform: rotate(var(--rot)); transition: transform .5s var(--spring), box-shadow .3s; -webkit-tap-highlight-color: transparent; }
.gcard:hover, .gcard:focus-visible { z-index: 2; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px) scale(1.025);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 28px 54px -22px var(--shadow-c), 0 0 0 2px color-mix(in srgb, var(--o1) 30%, transparent); }
.gcard:active { transform: scale(.98); }
.gcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .55), transparent 46%); mix-blend-mode: soft-light; }
.gcard:hover::after { opacity: 1; }
.anim .gcard { animation: card-in .7s var(--spring) backwards; animation-delay: var(--d); }
@keyframes card-in { from { opacity: 0; transform: translateY(40px) rotate(calc(var(--rot) * 4)) scale(.9); } }
.tape { position: absolute; z-index: 3; top: -11px; left: 50%; width: 86px; height: 24px; border-radius: 4px; opacity: .92; pointer-events: none;
  transform: translateX(-50%) rotate(calc(var(--rot) * -1.8)); background: color-mix(in srgb, var(--o1) 28%, rgba(255, 255, 255, .72)); box-shadow: 0 2px 6px -2px rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.gcard-photo { position: relative; overflow: hidden; border-radius: 15px; background: var(--o-soft); }
.gcard-photo img { width: 100%; height: auto; max-height: 380px; object-fit: cover; transition: transform .9s var(--ease); }
.gcard:hover .gcard-photo img { transform: scale(1.07); }
.gcard-photo.no-photo { aspect-ratio: 4 / 3.3; display: flex; align-items: center; justify-content: center; }
.media-emoji { font-size: 74px; line-height: 1; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .16)); transition: transform .5s var(--spring); }
.gcard:hover .media-emoji { transform: scale(1.16) rotate(-7deg); }
.gcard-top { position: absolute; top: 10px; inset-inline: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.gcard-ring { position: absolute; bottom: 10px; inset-inline-end: 10px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .93);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); }
.gcard-ring .ring { position: absolute; inset: 0; }
.gcard-ring b { font-size: 12.5px; font-weight: 800; color: var(--o-ink); line-height: 1; }
.gcard-ring small { font-size: 9px; }
.gcard-body { padding: 12px 6px 0; }
.gcard-body h3 { font-size: 16px; font-weight: 800; line-height: 1.55; }
.gcard .why { margin-top: 4px; color: var(--ink-2); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gcard-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gcard.is-done .gcard-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 214, 102, .25), transparent 60%); }
.owner-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.cheer-count { font-size: 12px; font-weight: 700; color: var(--o-ink); }
.heart-btn { display: inline-flex; align-items: center; gap: 4px; height: 30px; min-width: 32px; padding: 0 9px; border: 0; border-radius: 99px; background: var(--o-soft); font-size: 14px; cursor: pointer; transition: transform .25s var(--spring), filter .2s; }
.heart-btn:not(.on) { background: color-mix(in srgb, var(--o-soft) 55%, #fff); box-shadow: inset 0 0 0 1.5px var(--o-soft); }
.heart-btn:hover { transform: scale(1.12); }
.heart-btn b { font-size: 12px; color: var(--o-ink); }
.heart-btn.pop { animation: heart-pop .5s var(--spring); }
@keyframes heart-pop { 40% { transform: scale(1.4); } }
@media (max-width: 640px) {
  .board { columns: 2 140px; column-gap: 14px; padding-top: 10px; }
  .gcard { margin-bottom: 20px; padding: 7px 7px 10px; border-radius: 18px; }
  .gcard-photo { border-radius: 13px; }
  .gcard-body { padding: 8px 3px 0; }
  .gcard-body h3 { font-size: 14px; }
  .gcard .why { font-size: 12.5px; }
  .gcard-top .chip-glass:first-child { display: none; }
  .media-emoji { font-size: 54px; }
  .tape { width: 64px; height: 20px; top: -9px; }
  .gcard-foot .hearts { display: none; }
}

/* ───────── home ───────── */
.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 24px; min-height: 290px; padding: 34px 38px;
  border-radius: 32px; background: var(--hero); color: #fff; box-shadow: 0 26px 54px -26px var(--glow); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); pointer-events: none; }
.hero::before { width: 340px; height: 340px; top: -140px; left: -90px; }
.hero::after { width: 210px; height: 210px; bottom: -100px; right: 34%; }
.hero-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.hero-date { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; background: rgba(255, 255, 255, .2); font-size: 13px; font-weight: 600; }
.hero-title { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.35; }
.wave { display: inline-block; transform-origin: 70% 80%; animation: wave 2.6s ease-in-out infinite; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-8deg); } }
.hero-quote { max-width: 470px; font-size: 16px; opacity: .93; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hero-art { position: relative; height: 240px; }
.hero-pol { position: absolute; width: 152px; padding: 7px 7px 10px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 20px 38px -16px rgba(0, 0, 0, .4); animation: pol-float 6s ease-in-out infinite; }
.hero-pol b { display: block; margin-top: 6px; padding: 0 3px; font-size: 12.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-pol-media { height: 112px; border-radius: 11px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-pol-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-pol-media .media-emoji { font-size: 48px; }
.hp0 { top: 0; left: calc(50% - 76px); rotate: -5deg; z-index: 3; }
.hp1 { top: 62px; right: 2%; rotate: 8deg; z-index: 2; animation-delay: -2s; }
.hp2 { top: 72px; left: 2%; rotate: -11deg; z-index: 1; animation-delay: -4s; }
.hero-float { position: absolute; font-size: 66px; animation: pol-float 5s ease-in-out infinite; }
.f1 { top: 6px; left: 42%; } .f2 { top: 110px; right: 12%; animation-delay: -1.6s; } .f3 { top: 120px; left: 8%; animation-delay: -3.2s; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 22px 20px 24px; gap: 8px; border-radius: 26px; }
  .hero-art { order: -1; height: 150px; }
  .hero-pol { width: 112px; padding: 5px 5px 8px; border-radius: 13px; }
  .hero-pol-media { height: 78px; }
  .hero-pol b { font-size: 11px; }
  .hp0 { left: calc(50% - 56px); } .hp1 { top: 30px; } .hp2 { top: 36px; }
  .hero-float { font-size: 46px; } .f2 { top: 60px; } .f3 { top: 66px; }
}

.bubbles { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none; }
.bubbles::-webkit-scrollbar { display: none; }
.bubble { flex: none; width: 80px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bubble-ring { width: 74px; height: 74px; padding: 3px; border-radius: 26px; display: flex; align-items: center; justify-content: center;
  background: conic-gradient(from 210deg, var(--o2), var(--o1), #b18cff, #ffc94d, var(--o2)); transition: transform .35s var(--spring); }
.bubble-ring .av { border-radius: 23px; box-shadow: 0 0 0 3px var(--bg); }
.bubble:hover .bubble-ring { transform: scale(1.07) rotate(-4deg); }
.bubble small { max-width: 84px; font-size: 12px; font-weight: 700; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bubble small i { font-style: normal; }
.bubble.add .bubble-ring { background: none; border: 2px dashed var(--line); color: var(--ink-3); }
.bubble:disabled { opacity: .45; cursor: default; }
.bubble:disabled .bubble-ring { background: var(--line); }
.bubble.loading .bubble-ring { animation: spin 1.1s linear infinite; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 16px 18px; border-radius: 22px; background: var(--card); border: 1px solid var(--line-2);
  box-shadow: 0 1px 2px rgba(20, 20, 60, .04), 0 14px 30px -20px var(--shadow-c); transition: transform .3s var(--spring); }
.stat:hover { transform: translateY(-3px); }
.stat-ic { position: absolute; top: 12px; inset-inline-end: 14px; font-size: 28px; }
.stat b { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1.3; color: var(--accent-ink); }
.stat b.stat-money { font-size: 23px; padding-top: 8px; padding-bottom: 4px; padding-inline-end: 38px; }
.stat small { font-size: 13px; font-weight: 600; color: var(--ink-3); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; } .stat b { font-size: 30px; } }

.home-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; }
@media (max-width: 1180px) { .home-grid { grid-template-columns: 1fr 1fr; } .next-tile { grid-column: 1 / -1; } }
@media (max-width: 640px) { .home-grid { grid-template-columns: 1fr; } }
.tile { display: flex; flex-direction: column; gap: 12px; }
.tile-head { display: flex; align-items: center; gap: 8px; }
.tile-head h2 { font-size: 16px; font-weight: 800; }
.tile-ic { font-size: 22px; }
.dice-tile .btn { margin-top: auto; }
.next-goal { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 18px; background: var(--o-soft); transition: transform .3s var(--spring); }
.next-goal:hover { transform: translateY(-3px); }
.next-media { width: 98px; height: 98px; flex: none; overflow: hidden; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.next-media img { width: 100%; height: 100%; object-fit: cover; }
.next-media .media-emoji { font-size: 46px; }
.next-info { display: flex; flex-direction: column; min-width: 0; }
.next-info b { font-size: 15px; font-weight: 800; }
.next-count { font-family: var(--display); font-size: 32px; line-height: 1.35; color: var(--o-ink); }
.next-count em { font-style: normal; }
.next-info small { color: var(--ink-3); }
.overall-tile { flex-direction: row; align-items: center; gap: 16px; }
.overall-tile h2 { font-size: 16px; font-weight: 800; }
.big-ring { position: relative; flex: none; display: flex; align-items: center; justify-content: center; }
.big-ring b { position: absolute; font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--o-ink); }
.big-ring b small { font-size: 16px; }
.big-ring em { font-style: normal; }

.hscroll { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.mcard { flex: none; width: 220px; padding: 8px; border-radius: 20px; background: var(--card); border: 1px solid var(--line-2); scroll-snap-align: start;
  box-shadow: 0 12px 28px -20px var(--shadow-c); transition: transform .35s var(--spring); }
.mcard:hover { transform: translateY(-4px) rotate(-1deg); }
.mcard-media { height: 132px; overflow: hidden; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.mcard-media img { width: 100%; height: 100%; object-fit: cover; }
.mcard-media .media-emoji { font-size: 52px; }
.mcard-body { display: flex; flex-direction: column; gap: 6px; padding: 8px 4px 2px; }
.mcard-owner { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.mcard-body b { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cheer-feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.cheer-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 10px 24px -20px var(--shadow-c); transition: transform .3s var(--spring); }
.cheer-item:hover { transform: translateY(-2px); }
.cheer-item q { display: block; margin-top: 2px; color: var(--ink-2); font-size: 14px; }
.cheer-item small { color: var(--ink-3); font-size: 12px; }
.cheer-emoji { font-size: 18px; }

.invite-nudge { display: flex; align-items: center; gap: 18px; background: linear-gradient(135deg, var(--accent-softer), var(--card) 70%); }
.invite-nudge h2 { font-size: 17px; font-weight: 800; }
.nudge-emoji { font-size: 56px; animation: bob 3s ease-in-out infinite; }
@media (max-width: 760px) { .invite-nudge { flex-direction: column; text-align: center; } }

.empty-home { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 20px; text-align: center; }
.empty-home h2 { font-family: var(--display); font-weight: 400; font-size: 26px; }
.idea-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 660px; }

.dice-window { position: relative; height: 216px; overflow: hidden; border-radius: 20px; background: var(--accent-softer);
  -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.dice-window::after { content: ""; position: absolute; inset-inline: 10px; top: 72px; height: 72px; border-radius: 16px; box-shadow: inset 0 0 0 2px var(--accent); pointer-events: none; }
.dice-item { height: 72px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; font-size: 17px; font-weight: 800; }
.dice-item span { font-size: 30px; }
.dice-item b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dice-result { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; text-align: center; animation: rise .5s var(--spring); }
.dice-step { padding: 10px 12px; border-radius: 14px; background: var(--accent-softer); font-size: 14px; }

/* ───────── goal detail ───────── */
.gd-hero { position: relative; height: clamp(300px, 48vh, 480px); overflow: hidden; border-radius: 32px; box-shadow: 0 28px 60px -30px var(--shadow-c); }
.gd-media { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; user-select: none; -webkit-user-select: none; }
.gd-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 16s ease-out forwards; }
.gd-emoji { font-size: clamp(96px, 14vw, 156px); line-height: 1; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .2)); animation: bob 4.2s ease-in-out infinite; margin-bottom: 60px; }
.gd-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(12, 8, 30, .72) 0%, rgba(12, 8, 30, .14) 46%, transparent 72%); }
.gd-media.no-photo + .gd-shade { background: linear-gradient(to top, rgba(12, 8, 30, .5) 0%, transparent 55%); }
.gd-back { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 3; background: rgba(255, 255, 255, .86); color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gd-back:hover { background: #fff; }
.gd-hero-info { position: absolute; z-index: 2; inset-inline: 26px; bottom: 24px; display: flex; flex-direction: column; gap: 10px; color: #fff; pointer-events: none; }
.gd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gd-chips .av { --s: 20px !important; }
.gd-title { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 4vw, 48px); line-height: 1.3; text-shadow: 0 4px 22px rgba(0, 0, 0, .3); }
.gd-hint { font-size: 13px; opacity: .85; }
.gd-hero .stamp { top: 40%; }
.gd-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn-win { animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 12px 30px -8px var(--glow), 0 0 0 7px color-mix(in srgb, var(--accent) 14%, transparent); } }
.gd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; margin-top: 18px; }
.gd-main, .gd-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 1100px) {
  .gd-grid { grid-template-columns: 1fr; }
  .gd-side { order: -1; display: grid; grid-template-columns: 1fr 1fr; }
  .gd-side .piggy, .gd-side .link-card, .gd-meta { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .gd-hero { border-radius: 26px; height: 340px; }
  .gd-hero-info { inset-inline: 18px; bottom: 18px; }
  .gd-side .big-ring svg { width: 104px; height: 104px; }
  .gd-side .card { padding: 16px; }
}
.why-card { position: relative; overflow: hidden; padding: 24px 26px; border: 0; background: var(--o-grad); color: #fff; }
.why-mark { position: absolute; top: -34px; inset-inline-end: 16px; font: 160px/1 Georgia, serif; opacity: .2; }
.why-card small { font-weight: 700; opacity: .88; }
.why-card p { margin-top: 4px; font-size: clamp(18px, 2vw, 22px); font-weight: 700; line-height: 1.85; }
.memory { background: linear-gradient(135deg, #fff8df, var(--card) 70%); border-color: #ffe7a3; }
.memory-head { margin-bottom: 6px; font-weight: 800; color: #8f6200; }
.steps { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.step { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; background: var(--card-2); transition: background-color .3s; }
.chk { width: 30px; height: 30px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 2px solid color-mix(in srgb, var(--o1) 45%, transparent);
  background: #fff; color: transparent; cursor: pointer; transition: transform .25s var(--spring), background .25s; }
.chk:hover:not(:disabled) { transform: scale(1.12); }
.chk:disabled { cursor: default; }
.step.done { background: color-mix(in srgb, var(--o-soft) 60%, var(--card)); }
.step.done .chk { border-color: transparent; background: var(--o-grad); color: #fff; animation: chk .45s var(--spring); }
@keyframes chk { 40% { transform: scale(1.3) rotate(-10deg); } }
.step-text { flex: 1; min-width: 0; }
.step.done .step-text { color: var(--ink-3); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--o1) 50%, transparent); }
.step-del { opacity: 0; transition: opacity .2s; }
.step:hover .step-del { opacity: 1; }
@media (hover: none) { .step-del { opacity: .55; } }
.step-add { display: flex; gap: 8px; }
.step-add .input { flex: 1; }
.cheer-compose { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; padding: 12px; border-radius: 18px; background: var(--o-soft); }
.cheer-emojis { display: flex; flex-wrap: wrap; gap: 6px; }
.cheer-btn { width: 42px; height: 42px; border: 0; border-radius: 14px; background: #fff; font-size: 22px; cursor: pointer; box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .25); transition: transform .25s var(--spring); }
.cheer-btn:hover { transform: scale(1.2) rotate(-8deg); }
.cheer-btn:active { transform: scale(.88); }
.cheer-form { display: flex; gap: 8px; }
.cheer-form .input { flex: 1; }
.cheer-list { display: flex; flex-direction: column; gap: 12px; }
.cheer-list li { display: flex; align-items: flex-start; gap: 10px; }
.cheer-list small { color: var(--ink-3); font-size: 12px; }
.cheer-list p { display: inline-block; margin-top: 4px; padding: 6px 12px; border-radius: 14px; border-start-start-radius: 4px; background: var(--card-2); }
.prog-card { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.prog-meta { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.prog-meta .hearts { font-size: 20px; gap: 2px; }
.prog-meta small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.range-row { display: flex; flex-direction: column; gap: 4px; width: 100%; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.date-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; }
.date-big { font-family: var(--display); font-size: 56px; line-height: 1.3; color: var(--o-ink); }
.date-big.late { color: #d6204f; }
.date-card b { font-weight: 800; }
.date-card small { color: var(--ink-3); }
.late-note { margin-top: 6px; }
.piggy-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.piggy-amount b { font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--o-ink); }
.piggy-amount small { color: var(--ink-3); font-weight: 600; }
.piggy-add { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.link-card { display: flex; align-items: center; gap: 8px; padding: 14px 18px; color: var(--accent-ink); font-weight: 700; }
.link-card span { direction: ltr; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gd-meta { text-align: center; color: var(--ink-3); font-size: 12.5px; }

/* ───────── editor ───────── */
.ed { display: flex; flex-direction: column; gap: 18px; }
.ed-cover { position: relative; height: 230px; margin-top: 6px; overflow: hidden; border-radius: 22px; }
.ed-cover-media { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: background .4s; }
.ed-cover-media img { width: 100%; height: 100%; object-fit: cover; animation: rise .4s var(--ease); }
.ed-cover-emoji { margin-bottom: 40px; font-size: 86px; line-height: 1; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .18)); animation: bob 4s ease-in-out infinite; }
.ed-cover-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, .3), transparent 55%); }
.ed-cover.has-photo .ed-cover-shade { background: linear-gradient(to top, rgba(0, 0, 0, .6), transparent 60%); }
.ed-cover-title { position: absolute; inset-inline: 18px; bottom: 58px; color: #fff; font-family: var(--display); font-size: 26px; line-height: 1.35; text-shadow: 0 2px 14px rgba(0, 0, 0, .3); }
.muted-w { opacity: .78; }
.ed-cover-actions { position: absolute; inset-inline: 14px; bottom: 12px; display: flex; gap: 8px; }
.ed-cover-actions label { cursor: pointer; }
.ed-uploading { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; font-weight: 600; }
.ed-covers { display: flex; flex-direction: column; gap: 8px; margin-top: -6px; }
.ed-covers small { color: var(--ink-3); font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 38px; height: 38px; border-radius: 12px; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; transition: transform .25s var(--spring), box-shadow .2s; }
.swatch.on { transform: scale(1.12); box-shadow: 0 0 0 2.5px var(--accent); }
.emoji-strip { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, 42px); grid-auto-columns: 42px; gap: 6px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.emoji-opt { border: 0; border-radius: 12px; background: var(--card-2); font-size: 22px; cursor: pointer; transition: transform .2s var(--spring); }
.emoji-opt:hover { transform: scale(1.14); }
.emoji-opt.on { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.hearts-in { display: flex; align-items: center; gap: 2px; height: 46px; }
.heart-opt { padding: 0 2px; border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: color-mix(in srgb, var(--accent) 20%, transparent); transition: transform .25s var(--spring), color .2s; }
.heart-opt.on { color: var(--accent); }
.heart-opt:hover { transform: scale(1.25); }
.prio-word { margin-inline-start: 10px; font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.date-btn { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--ink-2); font-weight: 600; text-align: start; }
.date-panel { display: flex; flex-direction: column; gap: 10px; margin-top: -6px; padding: 12px; border-radius: 18px; background: var(--card-2); animation: rise .3s var(--ease); }
.ed-steps { display: flex; flex-direction: column; gap: 6px; }
.ed-steps:empty { display: none; }
.ed-steps li { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 12px; background: var(--card-2); animation: rise .3s var(--ease); }
.ed-steps li span:nth-child(2) { flex: 1; }
.ed-step-n { width: 24px; height: 24px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; font-weight: 800; }
.ed-foot { position: sticky; bottom: -22px; z-index: 2; margin: 0 -22px -22px; padding: 14px 22px 18px; background: linear-gradient(to top, var(--card) 72%, transparent); }
@media (max-width: 1023px) { .ed-foot { padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); } }

/* Jalali calendar */
.jc { padding: 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); }
.jc-head { display: flex; align-items: center; gap: 2px; margin-bottom: 6px; }
.jc-title { flex: 1; text-align: center; font-weight: 800; }
.jc-week, .jc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.jc-week span { padding: 4px 0; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.jc-d { height: 38px; border: 0; border-radius: 11px; background: transparent; font-weight: 600; cursor: pointer; transition: background-color .15s; }
.jc-d:hover { background: var(--accent-softer); }
.jc-d.today { box-shadow: inset 0 0 0 1.5px var(--accent); }
.jc-d.on { background: var(--grad); color: #fff; box-shadow: 0 6px 14px -6px var(--glow); }

/* achieve dialog */
.win { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 2px 2px; text-align: center; }
.win-emoji { font-size: 72px; line-height: 1.2; animation: bob 2s ease-in-out infinite; }
.win h2 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.4; }
.win p { color: var(--ink-2); }

/* ───────── stories ───────── */
.stories { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; background: rgba(8, 5, 20, .94); opacity: 0; transition: opacity .25s; }
.stories.in { opacity: 1; }
.st-frame { position: relative; width: min(440px, 100vw); height: min(860px, 100dvh); overflow: hidden; border-radius: 28px; background: #111;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .7); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
@media (max-width: 600px) { .st-frame { width: 100vw; height: 100dvh; border-radius: 0; } }
.st-bars { position: absolute; z-index: 6; top: calc(12px + env(safe-area-inset-top, 0px)); inset-inline: 12px; display: flex; gap: 4px; }
.st-bar { flex: 1; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.st-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: #fff; }
.st-slide { position: absolute; inset: 0; }
.st-media { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.st-media img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.st-media.kb img { animation: kenburns 8s ease-out forwards; }
.st-emoji { margin-bottom: 160px; font-size: 150px; line-height: 1; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .25)); animation: bob 3.6s ease-in-out infinite; }
.st-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(0, 0, 0, .45) 0%, transparent 20%, transparent 42%, rgba(0, 0, 0, .82) 100%); }
.st-head { position: absolute; z-index: 5; top: calc(28px + env(safe-area-inset-top, 0px)); inset-inline: 14px 60px; display: flex; align-items: center; gap: 10px; color: #fff; }
.st-head b { display: block; font-size: 14px; line-height: 1.5; }
.st-head small { display: block; font-size: 12px; opacity: .85; line-height: 1.5; }
.st-close { position: absolute; z-index: 7; top: calc(24px + env(safe-area-inset-top, 0px)); inset-inline-end: 8px; color: #fff; }
.st-close:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.st-body { position: absolute; z-index: 5; inset-inline: 18px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 10px; color: #fff; animation: st-in .5s var(--ease); }
@keyframes st-in { from { opacity: 0; transform: translateY(26px); } }
.st-body .stamp { position: relative; top: auto; left: auto; align-self: flex-start; transform: rotate(-8deg); font-size: 22px; }
.st-title { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.3; text-shadow: 0 4px 22px rgba(0, 0, 0, .35); }
.st-why { font-size: 16px; line-height: 1.85; opacity: .93; }
.st-prog { display: flex; align-items: center; gap: 10px; }
.st-prog .bar { flex: 1; height: 7px; background: rgba(255, 255, 255, .25); }
.st-prog .bar i { background: #fff; }
.st-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.st-reacts { flex: 1 0 100%; display: flex; gap: 6px; }
.st-react { width: 48px; height: 48px; border: 0; border-radius: 16px; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 24px; cursor: pointer; transition: transform .25s var(--spring); }
.st-react:hover { transform: scale(1.15) translateY(-3px); }
.st-react:active { transform: scale(.86); }
.st-step { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.st-tap { position: absolute; z-index: 4; top: 80px; bottom: 46%; width: 42%; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st-prev { right: 0; }
.st-next { left: 0; }
.st-paused { position: absolute; z-index: 8; top: 40%; left: 50%; width: 72px; height: 72px; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff;
  display: flex; align-items: center; justify-content: center; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: all .2s; }
.stories.paused .st-paused { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.stories.paused .st-media img, .stories.paused .st-emoji { animation-play-state: paused; }

/* ───────── road ───────── */
.road { --xa: 20%; position: relative; width: 100%; max-width: 820px; margin: 0 auto; padding: 8px 0 30px; }
.road-svg { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.road-base { fill: none; stroke: color-mix(in srgb, var(--accent) 14%, var(--card)); stroke-width: 30; stroke-linecap: round; stroke-linejoin: round; }
.road-walked { fill: none; stroke-width: 30; stroke-linecap: round; opacity: .85; }
.stop1 { stop-color: var(--accent-2); }
.stop2 { stop-color: var(--accent); }
.road-dash { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 14; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.rd-node { position: relative; height: 150px; animation: rise .6s var(--ease) backwards; animation-delay: var(--d); }
.rd-dot { position: absolute; top: 50%; z-index: 2; width: 56px; height: 56px; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; font-size: 26px;
  box-shadow: 0 10px 24px -10px var(--shadow-c), 0 0 0 6px color-mix(in srgb, var(--card) 70%, transparent); }
.rd-node.a .rd-dot { inset-inline-start: var(--xa); transform: translate(50%, -50%); }
.rd-node.b .rd-dot { inset-inline-end: var(--xa); transform: translate(-50%, -50%); }
.rd-dot-sm { width: 44px; height: 44px; font-size: 20px; }
.rd-dot-lg { width: 78px; height: 78px; font-size: 40px; }
.rd-card { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: min(330px, calc(100% - var(--xa) - 74px)); display: flex; flex-direction: column; gap: 3px; padding: 12px 16px;
  border-radius: 18px; border: 1px solid var(--line-2); background: var(--card); box-shadow: 0 12px 28px -18px var(--shadow-c); text-align: start; font: inherit; color: inherit; }
.rd-node.a .rd-card { inset-inline-start: calc(var(--xa) + 52px); }
.rd-node.b .rd-card { inset-inline-end: calc(var(--xa) + 52px); }
button.rd-card { cursor: pointer; transition: scale .3s var(--spring); }
button.rd-card:hover { scale: 1.03; }
.rd-card b { font-size: 15px; font-weight: 800; line-height: 1.55; }
.rd-card small { color: var(--ink-3); font-size: 12.5px; }
.rd-card .bar { margin-top: 5px; }
.rd-photo { width: 92px; height: 92px; padding: 0; border: 0; cursor: pointer; transition: scale .3s var(--spring); }
.rd-photo:hover { scale: 1.08; }
.rd-photo .ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.rd-photo-in { position: absolute; inset: 9px; overflow: hidden; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.rd-photo-in img { width: 100%; height: 100%; object-fit: cover; }
.rd-photo-in .media-emoji { font-size: 32px; }
.rd-badge { position: absolute; bottom: 2px; inset-inline-end: 2px; width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--card); background: #f5b70a; color: #fff; display: flex; align-items: center; justify-content: center; }
.rd-done .ring-fg { stroke: #f5b70a; }
.rd-late .ring-fg { stroke: #f43f6e; }
.rd-late .rd-card { border-color: #ffd3dc; }
.rd-pin { font-size: 30px; animation: pin 1.8s ease-in-out infinite; }
.rd-pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); animation: pulse 1.8s ease-out infinite; }
@keyframes pin { 50% { translate: 0 -6px; } }
@keyframes pulse { from { opacity: .8; scale: .85; } to { opacity: 0; scale: 1.6; } }
.rd-now .rd-card { border: 0; background: var(--grad); color: #fff; box-shadow: 0 14px 30px -14px var(--glow); }
.rd-now .rd-card small { color: rgba(255, 255, 255, .88); }
.rd-start .rd-card, .rd-label .rd-card { border: 0; background: transparent; box-shadow: none; }
.rd-peak .rd-card { background: linear-gradient(135deg, #fff8df, var(--card) 70%); border-color: #ffe7a3; }
@media (max-width: 640px) {
  .road { --xa: 12%; }
  .rd-node { height: 132px; }
  .rd-card { padding: 10px 12px; width: calc(100% - var(--xa) - 66px); }
  .rd-node.a .rd-card { inset-inline-start: calc(var(--xa) + 44px); }
  .rd-node.b .rd-card { inset-inline-end: calc(var(--xa) + 44px); }
  .rd-photo { width: 76px; height: 76px; }
  .rd-card b { font-size: 14px; }
}

/* ───────── loved ones ───────── */
.loved-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
@media (max-width: 900px) { .loved-top { grid-template-columns: 1fr; } }
.invite-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; border: 0; background: var(--hero); color: #fff; }
.invite-deco { position: absolute; top: -12px; inset-inline-end: -6px; font-size: 116px; opacity: .25; rotate: 14deg; pointer-events: none; }
.invite-card > small { font-weight: 700; opacity: .88; }
.invite-code { font-size: clamp(36px, 5vw, 50px); font-weight: 900; letter-spacing: .12em; line-height: 1.2; text-align: right; text-shadow: 0 4px 18px rgba(0, 0, 0, .15); }
.invite-card p { max-width: 460px; font-size: 14px; opacity: .93; }
.invite-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.lan-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .16); font-size: 13px; }
.code-input { text-align: center; letter-spacing: .2em; font-weight: 800; text-transform: uppercase; }
.label-pick { margin-top: 6px; }
.label-pick.big { justify-content: center; padding: 8px 0 4px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.person { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--spring); }
.person:hover { transform: translateY(-3px); }
.person::before { content: ""; position: absolute; inset: 0 0 auto; height: 74px; background: var(--o-grad); opacity: .16; pointer-events: none; }
.person-top { position: relative; display: flex; align-items: center; gap: 14px; }
.person-info { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.person-info h3 { font-size: 18px; font-weight: 800; }
.person-label { border: 0; background: var(--o-soft); color: var(--o-ink); }
.love-days { display: flex; flex-direction: column; align-items: center; padding: 12px; border: 0; border-radius: 16px; background: var(--o-grad); color: #fff; font-weight: 700; cursor: pointer; transition: transform .25s var(--spring); }
.love-days:hover { transform: scale(1.02); }
.love-days b { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.3; }
.love-days small { font-weight: 600; opacity: .88; }
.person-stats { display: flex; justify-content: space-around; padding: 10px; border-radius: 16px; background: var(--card-2); text-align: center; }
.person-stats span { display: flex; flex-direction: column; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.person-stats b { font-family: var(--display); font-weight: 400; font-size: 21px; color: var(--ink); }
.person-actions { display: flex; align-items: center; gap: 8px; }
.person-actions .btn { flex: 1; }
.person-hero { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 30px 28px; border-radius: 32px; background: var(--o-hero); color: #fff;
  box-shadow: 0 26px 54px -28px var(--o1); }
.person-hero::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .12); top: -110px; left: -60px; pointer-events: none; }
.person-hero .av { background: rgba(255, 255, 255, .25); box-shadow: 0 0 0 4px rgba(255, 255, 255, .4); }
.person-hero-info { flex: 1; min-width: 200px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.person-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.3; }
.person-back { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; background: rgba(255, 255, 255, .2); color: #fff; }
.person-back:hover { background: rgba(255, 255, 255, .32); color: #fff; }

/* ───────── settings, gender & avatar pickers ───────── */
.settings { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 420px) { .settings { grid-template-columns: 1fr; } }
.profile-row { display: flex; align-items: flex-start; gap: 16px; }
.about .btn { margin-top: 12px; }
.avatar-grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 8px; }
.avatar-grid.sm { grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); }
.avatar-opt { aspect-ratio: 1; border: 0; border-radius: 14px; background: var(--card-2); font-size: 24px; cursor: pointer; transition: transform .25s var(--spring); }
.avatar-opt:hover { transform: scale(1.12) rotate(-6deg); }
.avatar-opt.on { background: var(--accent-soft); box-shadow: inset 0 0 0 2.5px var(--accent); }
.gender-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.gender-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 12px 18px; border-radius: 22px; border: 2px solid var(--line);
  background: var(--card); cursor: pointer; transition: transform .35s var(--spring), border-color .25s, background-color .25s, box-shadow .25s; }
.gender-card:hover { transform: translateY(-3px); }
.g-blue { --c1: #5aa2ff; --c2: #3b82f6; --c3: #22c3ee; --cs: #e3eeff; }
.g-pink { --c1: #ff8fbf; --c2: #f0468e; --c3: #b18cff; --cs: #ffe6f0; }
.gender-card.on { border-color: var(--c2); background: var(--cs); box-shadow: 0 16px 32px -16px var(--c2); transform: translateY(-3px); }
.gender-card.on::after { content: "✓"; position: absolute; top: 10px; inset-inline-end: 10px; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--c2); color: #fff; font-size: 13px; font-weight: 900; animation: ping-in .4s var(--spring); }
.gender-swatch { display: flex; gap: 4px; margin-bottom: 4px; }
.gender-swatch i { width: 18px; height: 18px; border-radius: 6px; }
.gender-swatch i:nth-child(1) { background: var(--c1); }
.gender-swatch i:nth-child(2) { background: var(--c2); }
.gender-swatch i:nth-child(3) { background: var(--c3); }
.gender-emoji { font-size: 44px; line-height: 1.3; transition: transform .4s var(--spring); }
.gender-card.on .gender-emoji { transform: scale(1.18); }
.gender-card b { font-size: 17px; font-weight: 800; }
.gender-card small { color: var(--ink-3); font-weight: 600; }

/* ───────── auth ───────── */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-art { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--hero); color: #fff; }
.auth-art::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(255, 255, 255, .1); top: -200px; right: -160px; }
.auth-art-in { position: relative; width: 100%; max-width: 560px; height: 560px; }
.demo-card { position: absolute; width: 172px; padding: 8px 8px 12px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 26px 46px -20px rgba(0, 0, 0, .5); animation: pol-float 7s ease-in-out infinite; }
.demo-media { height: 120px; display: flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 58px; }
.demo-card b { display: block; margin: 8px 3px 6px; font-size: 13px; font-weight: 800; }
.demo-card .bar { --o1: var(--accent); --o-grad: var(--grad); }
.dc0 { top: 10px; right: 8%; rotate: 6deg; }
.dc1 { top: 40px; left: 6%; rotate: -8deg; animation-delay: -2s; }
.dc2 { top: 200px; left: 34%; rotate: -2deg; z-index: 2; animation-delay: -4s; }
.dc3 { top: 250px; right: 1%; rotate: 9deg; animation-delay: -1s; }
.dc4 { top: 270px; left: 0; rotate: -6deg; animation-delay: -3s; }
.auth-art-text { position: absolute; inset-inline: 0; bottom: 6px; text-align: center; }
.auth-art-text h2 { font-family: var(--display); font-weight: 400; font-size: 34px; }
.auth-art-text p { opacity: .92; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.auth-card { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 14px; }
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.auth-brand b { display: block; font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.2; }
.auth-brand small { color: var(--ink-3); font-weight: 600; }
.auth-tabs { display: flex; }
.auth-tabs button { flex: 1; height: 40px; }
.auth-title { margin-top: 6px; font-family: var(--display); font-weight: 400; font-size: 28px; }
.auth-sub { margin-top: -10px; color: var(--ink-3); }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.pass-wrap { position: relative; }
.pass-wrap .input { padding-right: 46px; }
.pass-eye { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); }
.auth-foot { text-align: center; color: var(--ink-3); font-size: 13px; }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .auth-art { min-height: 0; padding: 18px 0 16px; }
  .auth-art-in { height: 230px; max-width: 420px; }
  .demo-card { width: 120px; padding: 6px 6px 9px; border-radius: 14px; }
  .demo-media { height: 78px; font-size: 40px; }
  .demo-card b { font-size: 11px; }
  .dc2, .dc3, .dc4 { display: none; }
  .dc0 { top: 10px; right: 12%; } .dc1 { top: 26px; left: 12%; }
  .auth-art-text { bottom: 0; }
  .auth-art-text h2 { font-size: 24px; }
  .auth-art-text p { font-size: 13px; }
  .auth-panel { align-items: flex-start; padding: 22px 18px 32px; }
}

/* ───────── onboarding ───────── */
.onb { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.onb-card { width: 100%; max-width: 560px; padding: 32px 28px; border-radius: 32px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--card) 88%, transparent);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 34px 80px -34px var(--shadow-c); }
.onb-dots { display: flex; justify-content: center; gap: 6px; margin-bottom: 18px; }
.onb-dots i { width: 8px; height: 8px; border-radius: 9px; background: var(--line); transition: all .35s var(--spring); }
.onb-dots i.on { width: 30px; background: var(--grad); }
.onb-dots i.past { background: var(--accent); }
.onb-body { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.onb-emoji { font-size: 66px; line-height: 1.2; animation: bob 3s ease-in-out infinite; }
.onb-emoji.big { font-size: 88px; }
.onb-emoji.pop { animation: emoji-pop .5s var(--spring), bob 3s ease-in-out .5s infinite; }
@keyframes emoji-pop { 0% { transform: scale(.4) rotate(-20deg); } 100% { transform: scale(1); } }
.onb-body h1 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.45; }
.onb-body p { color: var(--ink-2); }
.onb-body .gender-pick { width: 100%; }
.onb-row { display: flex; justify-content: space-between; gap: 10px; width: 100%; margin-top: 8px; }
.wish-input { position: relative; width: 100%; }
.wish-emoji { position: absolute; top: 50%; inset-inline-start: 14px; transform: translateY(-50%); font-size: 26px; }
.wish-input .input { padding-inline-start: 54px; }

/* ───────── «ما دوتا» — both people's wishes together ───────── */
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.2); } 28% { transform: scale(1); } 42% { transform: scale(1.12); } 56% { transform: scale(1); } }
.us-switch { padding-bottom: 2px; }
.us-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 30px 24px 26px; border-radius: 32px; color: #fff; text-align: center;
  background: linear-gradient(100deg, var(--c-them) 0%, color-mix(in srgb, var(--c-them) 45%, var(--c-me)) 50%, var(--c-me) 100%);
  box-shadow: 0 26px 56px -30px var(--c-them), 0 26px 56px -34px var(--c-me); }
.us-hero::before, .us-hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); pointer-events: none; }
.us-hero::before { width: 320px; height: 320px; top: -170px; left: -70px; }
.us-hero::after { width: 240px; height: 240px; bottom: -130px; right: -40px; }
.us-hero-empty { background: var(--hero); }
.us-pair { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 5vw, 56px); }
.us-person { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; transition: transform .35s var(--spring); }
a.us-person:hover { transform: translateY(-4px); }
.us-person .av { border-radius: 30px; background: rgba(255, 255, 255, .22); box-shadow: 0 0 0 4px rgba(255, 255, 255, .5), 0 16px 34px -14px rgba(0, 0, 0, .4); }
.us-person b { font-size: 17px; font-weight: 800; }
.us-person small { margin-top: -4px; font-weight: 600; opacity: .9; }
.us-ghost { border: 2px dashed rgba(255, 255, 255, .7); color: #fff; font-weight: 900; }
.us-heart-big { font-size: 48px; animation: beat 1.6s ease-in-out infinite; }
.us-mid { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.us-rings { position: relative; width: 146px; height: 146px; flex: none; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .35); }
.us-rings .dual-ring { position: absolute; inset: 7px; }
.dr-bg { fill: none; stroke-width: 10; }
.dr-bg.me { stroke: color-mix(in srgb, var(--c-me) 14%, transparent); }
.dr-bg.them { stroke: color-mix(in srgb, var(--c-them) 14%, transparent); }
.dr-fg { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease); }
.dr-fg.me { stroke: var(--c-me); }
.dr-fg.them { stroke: var(--c-them); }
.us-heart { font-size: 38px; line-height: 1; animation: beat 1.6s ease-in-out infinite; }
.us-legend { display: flex; gap: 12px; padding: 3px 12px; border-radius: 99px; background: rgba(255, 255, 255, .22); font-size: 13px; font-weight: 800; }
.us-legend span { display: inline-flex; align-items: center; gap: 5px; }
.lg-me, .lg-them, .lg-both { display: inline-block; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--c-me); box-shadow: 0 0 0 2px #fff; }
.lg-them { background: var(--c-them); }
.lg-both { background: linear-gradient(90deg, var(--c-them), var(--c-me)); }
.us-title { position: relative; z-index: 1; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.3; text-shadow: 0 4px 20px rgba(0, 0, 0, .18); }
.us-lead { position: relative; z-index: 1; max-width: 520px; opacity: .95; }
.us-facts { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.us-facts > * { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, .2); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13.5px; font-weight: 600; }
.us-facts b { font-size: 15px; font-weight: 900; }
.us-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.us-actions .btn-white { color: var(--ink); }
.us-match { display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: linear-gradient(100deg, color-mix(in srgb, var(--c-them) 10%, var(--card)), color-mix(in srgb, var(--c-me) 10%, var(--card))); }
.us-match-ic { font-size: 30px; animation: bob 3s ease-in-out infinite; }
.us-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.us-key { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.us-key i:not(:first-child) { margin-inline-start: 8px; }

/* side by side */
.us-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.us-col { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.us-col-head { position: sticky; top: 78px; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 18px; border: 1.5px solid var(--line-2);
  background: color-mix(in srgb, var(--card) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 24px -18px var(--shadow-c); }
.us-col-head b { flex: 1; min-width: 0; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.us-col-head > span:last-child { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 99px; background: var(--card-2); display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 800; }
.us-col-me .us-col-head { border-color: color-mix(in srgb, var(--c-me) 40%, transparent); }
.us-col-them .us-col-head { border-color: color-mix(in srgb, var(--c-them) 40%, transparent); }
.us-col-ours .us-col-head { border: 0; background: linear-gradient(100deg, var(--c-them), var(--c-me)); color: #fff; }
.us-col-ours .us-col-head > span:last-child { background: rgba(255, 255, 255, .25); }
.us-col-ic { width: 30px; text-align: center; font-size: 22px; }
.us-stack { display: flex; flex-direction: column; padding-top: 8px; }
.us-stack .gcard { margin-bottom: 22px; }
.us-col .gcard-foot .hearts { display: none; }
.us-col-ours .us-stack { padding: 16px 14px 0; border-radius: 26px; background: linear-gradient(180deg, color-mix(in srgb, var(--c-them) 9%, transparent), color-mix(in srgb, var(--c-me) 9%, transparent)); }
.us-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 16px; padding: 26px 12px; border-radius: 20px; border: 2px dashed var(--line); color: var(--ink-3); font-size: 14px; font-weight: 600; text-align: center; }
@media (max-width: 1180px) {
  .us-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .us-col-ours { grid-column: 1 / -1; order: -1; }
  .us-col-ours .us-stack { flex-direction: row; gap: 16px; overflow-x: auto; padding: 18px 14px 2px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .us-col-ours .us-stack::-webkit-scrollbar { display: none; }
  .us-col-ours .gcard { flex: 0 0 230px; scroll-snap-align: start; }
  .us-col-ours .us-empty { flex: 1; }
}
@media (max-width: 640px) {
  .us-hero { padding: 22px 14px 20px; border-radius: 26px; }
  .us-person .av { --s: 64px !important; border-radius: 22px; }
  .us-rings { width: 112px; height: 112px; }
  .us-rings .dual-ring { inset: 4px; width: 104px; height: 104px; }
  .us-heart { font-size: 30px; }
  .us-cols { gap: 12px; }
  .us-col-head { top: calc(70px + env(safe-area-inset-top, 0px)); gap: 6px; padding: 6px 8px; border-radius: 14px; }
  .us-col-head .av { --s: 24px !important; }
  .us-col-head b { font-size: 12.5px; }
  .us-col-ours .gcard { flex-basis: 168px; }
  .us-match { flex-wrap: wrap; }
  .us-match .btn { width: 100%; }
  .us-key { display: none; }
  .us-bar .seg { width: 100%; }
  .us-bar .seg button { flex: 1; }
}

/* one shared timeline */
.us-line { position: relative; display: flex; flex-direction: column; gap: 12px; max-width: 920px; width: 100%; margin: 0 auto; padding: 6px 0 4px; }
.us-line::before { content: ""; position: absolute; top: 0; bottom: 60px; left: 50%; width: 4px; margin-left: -2px; border-radius: 4px;
  background: linear-gradient(180deg, var(--c-me), var(--c-them), var(--c-me)); opacity: .45; }
.ul-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); align-items: center; animation: rise .5s var(--ease) backwards; }
.ul-dot { grid-column: 2; grid-row: 1; justify-self: center; z-index: 1; width: 18px; height: 18px; border-radius: 50%; border: 4px solid var(--o1); background: var(--card); color: #fff; display: flex; align-items: center; justify-content: center; }
.ul-row.is-done .ul-dot { width: 24px; height: 24px; border: 0; background: #f5b70a; box-shadow: 0 0 0 4px var(--bg); }
.ul-card { position: relative; grid-row: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--card);
  box-shadow: 0 12px 26px -20px var(--shadow-c); transition: transform .3s var(--spring), box-shadow .3s; }
.ul-card:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 18px 34px -20px var(--shadow-c); }
.ul-me .ul-card { grid-column: 1; border-inline-end: 4px solid var(--c-me); }
.ul-them .ul-card { grid-column: 3; border-inline-start: 4px solid var(--c-them); }
.ul-both .ul-dot { display: none; }
.ul-both .ul-card { grid-column: 1 / -1; justify-self: center; z-index: 2; width: min(460px, 100%); border: 2px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(100deg, var(--c-them), var(--c-me)) border-box; }
.ul-row.is-done .ul-card { background-image: linear-gradient(135deg, #fff9e6, var(--card) 60%); }
.ul-both.is-done .ul-card { background: linear-gradient(135deg, #fff9e6, var(--card) 60%) padding-box, linear-gradient(100deg, var(--c-them), var(--c-me)) border-box; }
.ul-thumb { width: 54px; height: 54px; flex: none; overflow: hidden; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.ul-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ul-thumb .media-emoji { font-size: 28px; }
.ul-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ul-info b { font-size: 14.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ul-info small { color: var(--ink-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ul-info .bar { height: 6px; margin-top: 4px; }
.ul-avs { flex: none; display: flex; }
.ul-avs .av { box-shadow: 0 0 0 2px var(--card); }
.ul-avs .av + .av { margin-inline-start: -8px; }
.ul-mark, .ul-now { position: relative; z-index: 1; display: flex; justify-content: center; margin: 6px 0; }
.ul-mark span { padding: 4px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font-size: 13px; font-weight: 800; box-shadow: 0 6px 16px -12px var(--shadow-c); }
.ul-now span { padding: 6px 16px; border-radius: 99px; background: var(--grad); color: #fff; font-size: 13px; font-weight: 800; box-shadow: 0 10px 24px -10px var(--glow); }
.ul-end { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 8px; }
.ul-end span { width: 72px; height: 72px; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; font-size: 38px; box-shadow: 0 14px 30px -16px var(--shadow-c); }
.ul-end small { font-weight: 800; color: var(--ink-2); }
@media (max-width: 640px) {
  .ul-row { grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr); }
  .ul-card { gap: 8px; padding: 8px; border-radius: 14px; }
  .ul-thumb { width: 38px; height: 38px; border-radius: 10px; }
  .ul-thumb .media-emoji { font-size: 20px; }
  .ul-info b { font-size: 12.5px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .ul-info small { font-size: 10.5px; white-space: normal; }
  .ul-dot { width: 14px; height: 14px; border-width: 3px; }
  .ul-avs { display: none; }
}

/* home: «من و …» card */
.us-card { position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 24px; color: #fff;
  background: linear-gradient(100deg, var(--c-them), color-mix(in srgb, var(--c-them) 45%, var(--c-me)), var(--c-me)); box-shadow: 0 18px 40px -24px var(--c-them); transition: transform .35s var(--spring); }
.us-card:hover { transform: translateY(-3px); }
.us-card::after { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; background: rgba(255, 255, 255, .12); left: -50px; top: -100px; pointer-events: none; }
.us-card-avs { position: relative; z-index: 1; display: flex; align-items: center; flex: none; }
.us-card-avs .av { border-radius: 18px; background: rgba(255, 255, 255, .25); box-shadow: 0 0 0 3px rgba(255, 255, 255, .55); }
.us-card-avs i { z-index: 1; margin: 0 -6px; font-size: 22px; font-style: normal; animation: beat 1.6s ease-in-out infinite; }
.us-card-txt { position: relative; z-index: 1; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.us-card-txt b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.4; }
.us-card-txt small { font-weight: 600; opacity: .93; }
.us-card-go { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 14px; background: rgba(255, 255, 255, .2); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) {
  .us-card { flex-wrap: wrap; padding: 14px; gap: 12px; }
  .us-card-avs .av { --s: 44px !important; }
  .us-card-go { width: 100%; justify-content: center; }
}

/* ───────── polish ───────── */
.tb-date { margin-inline-end: auto; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 72%, transparent); color: var(--ink-2); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.tb-date .ic { color: var(--accent); }
.bell-dot { top: -3px; inset-inline-end: -3px; }
.main { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--accent) 30%, transparent) transparent; }
.toast { background: color-mix(in srgb, var(--ink) 88%, var(--accent)); }
.page-title::after { content: ""; display: block; width: 78px; height: 10px; margin-top: 2px; background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 10'%3E%3Cpath d='M2 6C8 1 12 1 18 6S28 11 34 6 44 1 50 6 60 11 66 6 74 2 76 4' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 10'%3E%3Cpath d='M2 6C8 1 12 1 18 6S28 11 34 6 44 1 50 6 60 11 66 6 74 2 76 4' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.sec-head h2 { display: inline-flex; align-items: center; gap: 8px; }
.sec-head h2::before { content: ""; width: 8px; height: 22px; border-radius: 4px; background: var(--grad); }
/* washi tape with stripes, in the owner's colour */
.tape { background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--o1) 36%, rgba(255, 255, 255, .72)) 0 6px, color-mix(in srgb, var(--o1) 16%, rgba(255, 255, 255, .85)) 6px 12px); }
.gcard-body h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gcard.is-done { box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 38px -20px rgba(245, 176, 10, .6), 0 0 0 2px rgba(245, 176, 10, .38); }
.gcard.is-done .tape { background: repeating-linear-gradient(-45deg, rgba(255, 214, 102, .85) 0 6px, rgba(255, 240, 190, .9) 6px 12px); }
.card, .stat, .mcard, .cheer-item { transition: transform .35s var(--spring), box-shadow .3s; }
.hero, .us-hero, .person-hero, .invite-card, .us-card { isolation: isolate; }
.hero-quote { padding-inline-start: 12px; border-inline-start: 3px solid rgba(255, 255, 255, .5); }
@media (max-width: 640px) {
  .toolbar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
  .toolbar .seg, .toolbar .chips-scroll { grid-column: 1 / -1; }
  .toolbar .seg { display: flex; }
  .toolbar .seg button { flex: 1; }
  .page-head { align-items: flex-start; }
  .page-actions { width: 100%; }
  .page-actions .btn { flex: 1; }
}

/* invite link & banner */
.invite-code { align-self: stretch; border: 0; background: none; color: inherit; cursor: pointer; padding: 0; }
.invite-code:hover { opacity: .9; }
.invite-link { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(0, 0, 0, .14); font-size: 13px; font-weight: 600; }
.invite-link span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.invite-banner { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; border: 1.5px solid var(--accent-soft);
  background: linear-gradient(135deg, var(--accent-softer), var(--card)); animation: rise .5s var(--spring); }
.invite-banner small { display: block; color: var(--ink-3); font-size: 12.5px; }
@media (max-width: 1180px) { .us-col-ours .us-col-head { position: static; } }

/* ───────── no auto-zoom on phones ─────────
   iOS Safari zooms into any field whose text is under 16px when it gets focus.
   Keep every field ≥16px on touch screens; pinch-zoom stays available. */
@media (pointer: coarse), (max-width: 1023px) {
  input:not([type="range"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not(.input-lg), textarea, select { font-size: 16px !important; }
}
/* no double-tap-to-zoom (double-tapping a photo sends a heart instead) */
html { touch-action: manipulation; }
