/*
 * Q-R.com.tr — Hazır NFC kartlar (Google yorum · WhatsApp · IBAN).
 * Kart iskeleti physical-cards.css'teki .pcd'den gelir (85,6 × 54 mm,
 * container query ölçeği: 100cqw = kart genişliği, 1em = 4cqw).
 * Kart yüksekliği ≈ 63cqw.
 */

.rc .rc-stars { display: inline-flex; gap: .12em; }
.rc .rc-stars svg { width: 1em; height: 1em; display: block; }
.rc .tap { position: absolute; display: inline-flex; align-items: center; gap: .45em; font-size: .56em; font-weight: 600; letter-spacing: .01em; }
.rc .tap i { display: block; width: 1.5em; height: 1.5em; }
.rc .kick { position: absolute; font-family: var(--mono); font-size: .5em; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Ortak arka yüz ---------- */
.rc.rc--back .deco { position: absolute; inset: 0; pointer-events: none; }
.rc.rc--back .qrbox { position: absolute; left: 5.6cqw; top: 5.6cqw; width: 36cqw; height: 36cqw; padding: .55em; border-radius: .8em; background: #fff; color: #0b0d12; }
.rc.rc--back .info { position: absolute; left: 47cqw; right: 5.6cqw; top: 6.4cqw; }
.rc.rc--back .info b { display: block; font-family: var(--display); font-weight: 800; font-size: .98em; line-height: 1.05; letter-spacing: -.02em; }
.rc.rc--back .info ol { margin-top: .75em; padding-left: 1.2em; display: grid; gap: .4em; font-size: .54em; line-height: 1.3; }
.rc.rc--back .info .alt { margin-top: .9em; font-size: .44em; line-height: 1.35; opacity: .7; }
.rc.rc--back .foot { position: absolute; left: 5.6cqw; right: 5.6cqw; bottom: 4.4cqw; display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: .48em; letter-spacing: .1em; text-transform: uppercase; }
.rc.rc--back .foot .nfc { display: block; width: 1.9em; height: 1.9em; }

/* ================================================================
   GOOGLE YORUM — Yıldız (açık)
   ================================================================ */
.rc--g-yildiz { background: #fff8ea; color: #1d1a14; }
.rc--g-yildiz::before { content: ''; position: absolute; right: -14cqw; top: -18cqw; width: 58cqw; height: 58cqw; border-radius: 50%; background: radial-gradient(circle, #ffe6a3 0%, #fff1cc 45%, transparent 70%); }
.rc--g-yildiz .kick { left: 6.4cqw; top: 6cqw; color: #8a6a12; }
.rc--g-yildiz .quote { position: absolute; right: 5cqw; top: -4cqw; font-family: var(--serif); font-size: 6.4em; line-height: 1; color: #f5b301; opacity: .35; }
.rc--g-yildiz .main { position: absolute; left: 6.4cqw; right: 6.4cqw; top: 14.4cqw; }
.rc--g-yildiz .main .rc-stars { display: inline-flex; margin: 0; font-size: 1.15em; color: #f5b301; filter: drop-shadow(0 .04em 0 rgba(140, 95, 0, .35)); }
.rc--g-yildiz .main b { display: block; margin-top: .35em; font-family: var(--display); font-weight: 800; font-size: 1.6em; line-height: .95; letter-spacing: -.045em; }
.rc--g-yildiz .main span { display: block; margin-top: .45em; font-size: .72em; font-weight: 600; color: #6b5a33; }
.rc--g-yildiz .tap { left: 6.4cqw; bottom: 5.6cqw; padding: .55em .9em .55em .6em; border-radius: 999px; background: #1d1a14; color: #fff8ea; }
.rc--g-yildiz.rc--back { background: #fff8ea; }
.rc--g-yildiz.rc--back .qrbox { box-shadow: 0 0 0 .07em #ecdcb5; }
.rc--g-yildiz.rc--back .info ol { color: #4a4030; }
.rc--g-yildiz.rc--back .foot { color: #8a6a12; }
.rc--g-yildiz.rc--back .deco { background: linear-gradient(0deg, #f5b301 0 1.1cqw, transparent 1.1cqw); }

/* ================================================================
   GOOGLE YORUM — Gece (koyu)
   ================================================================ */
.rc--g-gece { background: radial-gradient(80% 100% at 50% 110%, #2a3a73 0%, transparent 60%), #121a2f; color: #fff; }
.rc--g-gece .arc { position: absolute; left: 50%; top: 40cqw; width: 0; height: 0; }
.rc--g-gece .arc i { position: absolute; left: 0; top: 0; width: 1.6em; height: 1.6em; color: #ffc533; transform: rotate(calc(-56deg + var(--i) * 28deg)) translateY(-7em) rotate(calc(56deg - var(--i) * 28deg)); margin: -.8em 0 0 -.8em; filter: drop-shadow(0 0 .35em rgba(255, 197, 51, .55)); }
.rc--g-gece .arc i:nth-child(3) { width: 2em; height: 2em; margin: -1em 0 0 -1em; }
.rc--g-gece .arc svg { width: 100%; height: 100%; display: block; }
.rc--g-gece .main { position: absolute; left: 6cqw; right: 6cqw; top: 30cqw; text-align: center; }
.rc--g-gece .main b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.5em; line-height: 1; letter-spacing: -.035em; }
.rc--g-gece .main span { display: block; margin-top: .5em; font-size: .66em; color: #c4cbe3; }
.rc--g-gece .tap { left: 50%; transform: translateX(-50%); bottom: 5.2cqw; color: #ffc533; white-space: nowrap; }
.rc--g-gece.rc--back { background: #121a2f; color: #fff; }
.rc--g-gece.rc--back .qrbox { background: #fff7e0; }
.rc--g-gece.rc--back .info ol { color: #c4cbe3; }
.rc--g-gece.rc--back .foot { color: #ffc533; }
.rc--g-gece.rc--back .deco { background: radial-gradient(60% 90% at 100% 100%, #2a3a73 0%, transparent 60%); }

/* ================================================================
   WHATSAPP — Yeşil
   ================================================================ */
.rc--w-yesil { background: linear-gradient(140deg, #22c55e 0%, #15803d 55%, #0b4f2a 100%); color: #fff; --rc-dot: #15803d; }
.rc--w-yesil .big { position: absolute; right: -6cqw; top: 6cqw; width: 50cqw; height: 50cqw; color: rgba(255, 255, 255, .95); transform: rotate(-6deg); filter: drop-shadow(0 1.2cqw 2cqw rgba(0, 0, 0, .22)); }
.rc--w-yesil .big svg { width: 100%; height: 100%; display: block; }
.rc--w-yesil .kick { left: 6.4cqw; top: 6cqw; color: #dcfce7; }
.rc--w-yesil .main { position: absolute; left: 6.4cqw; top: 20cqw; width: 52cqw; }
.rc--w-yesil .main b { display: block; font-family: var(--display); font-weight: 800; font-size: 2.2em; line-height: .9; letter-spacing: -.05em; }
.rc--w-yesil .main span { display: block; margin-top: .55em; font-size: .68em; color: #dcfce7; font-weight: 500; }
.rc--w-yesil .tap { left: 6.4cqw; bottom: 5.6cqw; padding: .55em .9em .55em .6em; border-radius: 999px; background: #fff; color: #0b4f2a; }
.rc--w-yesil.rc--back { background: #f0fdf4; color: #0b3d22; }
.rc--w-yesil.rc--back .qrbox { box-shadow: 0 0 0 .07em #bbf7d0; }
.rc--w-yesil.rc--back .info ol { color: #24543a; }
.rc--w-yesil.rc--back .foot { color: #15803d; }
.rc--w-yesil.rc--back .deco { background: linear-gradient(90deg, #22c55e, #15803d); height: 1.6cqw; inset: auto 0 0 0; }

/* ================================================================
   WHATSAPP — Sohbet (açık)
   ================================================================ */
.rc--w-sohbet { background: #eef7f0; color: #0f2a1b; --rc-dot: #eef7f0; }
.rc--w-sohbet::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(21, 128, 61, .09) .09em, transparent .1em); background-size: .8em .8em; }
.rc--w-sohbet .chat { position: absolute; right: 5.6cqw; top: 5.6cqw; width: 50cqw; display: grid; gap: .4em; font-size: .5em; }
.rc--w-sohbet .chat > div { padding: .65em .85em; border-radius: 1em; line-height: 1.3; max-width: 92%; box-shadow: 0 .08em .15em rgba(0, 0, 0, .08); }
.rc--w-sohbet .chat .in { justify-self: start; background: #fff; border-top-left-radius: .2em; }
.rc--w-sohbet .chat .out { justify-self: end; background: #c9f2d3; border-top-right-radius: .2em; }
.rc--w-sohbet .chat .out small { margin-left: .5em; color: #2e9e57; font-size: .85em; }
.rc--w-sohbet .chat .typing { justify-self: start; display: flex; gap: .3em; padding: .75em .9em; background: #fff; }
.rc--w-sohbet .chat .typing i { width: .45em; height: .45em; border-radius: 50%; background: #9bb8a5; }
.rc--w-sohbet .main { position: absolute; left: 6.4cqw; bottom: 15.6cqw; width: 52cqw; }
.rc--w-sohbet .main .ic { display: block; width: 2.1em; height: 2.1em; color: #16a34a; margin-bottom: .35em; }
.rc--w-sohbet .main .ic svg { width: 100%; height: 100%; display: block; }
.rc--w-sohbet .main b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.85em; line-height: .92; letter-spacing: -.045em; }
.rc--w-sohbet .main span { display: block; margin-top: .45em; font-size: .62em; color: #3c6b4e; font-weight: 500; }
.rc--w-sohbet .tap { left: 6.4cqw; bottom: 5.6cqw; color: #15803d; }
.rc--w-sohbet.rc--back { background: #0f2a1b; color: #eef7f0; }
.rc--w-sohbet.rc--back .info ol { color: #b7d7c1; }
.rc--w-sohbet.rc--back .foot { color: #4ade80; }

/* ================================================================
   IBAN — Lacivert
   ================================================================ */
.rc--i-lacivert { background: linear-gradient(150deg, #1d3a8a 0%, #13265c 55%, #0b1638 100%); color: #fff; }
.rc--i-lacivert .guil { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, .13); }
.rc--i-lacivert .word { position: absolute; left: 5.6cqw; top: 3.2cqw; font-family: var(--mono); font-weight: 500; font-size: 3.1em; letter-spacing: .04em; line-height: 1; color: transparent; -webkit-text-stroke: .025em rgba(255, 255, 255, .55); }
.rc--i-lacivert .nfc { position: absolute; right: 5.6cqw; top: 5.6cqw; width: 7.6cqw; height: 7.6cqw; color: #9fc0ff; }
.rc--i-lacivert .main { position: absolute; left: 6cqw; right: 6cqw; top: 26cqw; }
.rc--i-lacivert .main b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.6em; line-height: .95; letter-spacing: -.04em; }
.rc--i-lacivert .main span { display: block; margin-top: .45em; font-size: .64em; color: #b9c8ef; }
.rc--i-lacivert .pill { position: absolute; left: 6cqw; bottom: 5.6cqw; display: inline-flex; align-items: center; gap: .45em; padding: .55em .95em .55em .7em; border-radius: 999px; background: #fff; color: #13265c; font-size: .58em; font-weight: 700; }
.rc--i-lacivert .pill i { display: block; width: 1.35em; height: 1.35em; }
.rc--i-lacivert .pill svg { width: 100%; height: 100%; display: block; }
.rc--i-lacivert.rc--back { background: #f3f6fd; color: #13265c; }
.rc--i-lacivert.rc--back .qrbox { box-shadow: 0 0 0 .07em #d6def3; }
.rc--i-lacivert.rc--back .info ol { color: #3b4a73; }
.rc--i-lacivert.rc--back .foot { color: #1d3a8a; }
.rc--i-lacivert.rc--back .deco { background: linear-gradient(90deg, #1d3a8a, #13265c); height: 1.6cqw; inset: auto 0 0 0; }

/* ================================================================
   IBAN — Lira (nane)
   ================================================================ */
.rc--i-lira { background: #d9f7e8; color: #06331f; }
.rc--i-lira .lira { position: absolute; right: -3cqw; bottom: -14cqw; font-family: var(--display); font-weight: 800; font-size: 13em; line-height: 1; color: #0f9f5f; opacity: .9; letter-spacing: -.05em; }
.rc--i-lira::after { content: ''; position: absolute; right: 6cqw; top: 6cqw; width: 9cqw; height: 9cqw; border-radius: 50%; background: #ffd54a; box-shadow: -3.6cqw 2.4cqw 0 -.8cqw #ffe489; }
.rc--i-lira .kick { left: 6.4cqw; top: 6cqw; color: #0b6e43; }
.rc--i-lira .main { position: absolute; left: 6.4cqw; top: 17.6cqw; width: 56cqw; }
.rc--i-lira .main b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.85em; line-height: .92; letter-spacing: -.045em; }
.rc--i-lira .main span { display: block; margin-top: .5em; font-size: .66em; color: #24624a; font-weight: 600; }
.rc--i-lira .tap { left: 6.4cqw; bottom: 5.6cqw; padding: .55em .9em .55em .6em; border-radius: 999px; background: #06331f; color: #d9f7e8; }
.rc--i-lira.rc--back { background: #06331f; color: #e6fbf1; }
.rc--i-lira.rc--back::after { display: none; }
.rc--i-lira.rc--back .info ol { color: #a7dcc3; }
.rc--i-lira.rc--back .foot { color: #4ee3a0; }
.rc--i-lira.rc--back .deco::after { content: '₺'; position: absolute; right: 3cqw; bottom: -6cqw; font-family: var(--display); font-weight: 800; font-size: 7em; line-height: 1; color: rgba(78, 227, 160, .1); }
