/* PlatSer Club · карта клуба v21: тёмно-синий «металл», латунный край, PT Serif. */
@font-face { font-family: "PT Serif PlatSer"; src: url("/assets/fonts/pt-serif-regular.ttf") format("truetype"); font-display: swap; }

:root body .membership-section.has-club-card .status-track,
:root body .membership-section.has-club-card .membership-current-status { display: none; }

.pcc { margin: 18px 0 6px; }
.pcc[hidden] { display: none; }
.pcc-card { --pcc-x: 30%; --pcc-rx: 0deg; --pcc-ry: 0deg;
  display: block; width: 100%; max-width: 420px; margin: 0 auto; padding: 0; border: 0; background: none; cursor: pointer;
  perspective: 1100px; -webkit-tap-highlight-color: transparent; color: inherit; font: inherit; text-align: left; }
.pcc-card:focus-visible { outline: 2px solid #83b14e; outline-offset: 6px; border-radius: 22px; }
.pcc-card__inner { position: relative; display: block; aspect-ratio: 1.586; transform-style: preserve-3d;
  transform: rotateX(var(--pcc-rx)) rotateY(var(--pcc-ry)); transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.pcc.is-flipped .pcc-card__inner { transform: rotateY(180deg); }

.pcc-face { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px;
  padding: clamp(16px, 5.2vw, 24px) clamp(18px, 5.6vw, 26px); color: #f5f4ee; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(127, 183, 123, .22), transparent 55%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px),
    linear-gradient(140deg, #254b34 0%, #183423 46%, #0f2216 100%);
  box-shadow: inset 0 0 0 1px rgba(186, 228, 137, .55), inset 0 0 0 4px rgba(19, 40, 27, .9), inset 0 0 0 5px rgba(131, 177, 78, .35),
    0 22px 40px -18px rgba(12, 30, 19, .55), 0 2px 6px rgba(12, 30, 19, .18); }
.pcc-face--back { transform: rotateY(180deg); flex-direction: row; align-items: center; gap: clamp(14px, 4.5vw, 22px); }

.pcc-sheen { position: absolute; inset: -40%; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 244, 222, .14) 47%, rgba(255, 255, 255, .22) 50%, rgba(255, 244, 222, .1) 53%, transparent 62%);
  transform: translateX(calc(var(--pcc-x) - 50%)); transition: transform .5s ease; }
.pcc-card:not(:hover) .pcc-sheen { animation: pcc-sweep 3.2s 1s cubic-bezier(.45, 0, .2, 1) 1 both; }
@keyframes pcc-sweep { from { transform: translateX(-65%); } to { transform: translateX(60%); } }

.pcc-top, .pcc-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pcc-brand { font: 400 clamp(12px, 3.6vw, 15px)/1 "Cormorant Garamond", Georgia, serif; letter-spacing: .3em; color: #f3ead8; }
.pcc-emblem { display: grid; place-items: center; width: clamp(34px, 10vw, 42px); aspect-ratio: 1.25; border-radius: 8px;
  background: linear-gradient(135deg, #335d43, #183423); box-shadow: inset 0 0 0 1px rgba(234, 232, 218, .55), 0 1px 2px rgba(0, 0, 0, .3); }
.pcc-emblem .pcc-mark { width: 54%; height: auto; }

.pcc-identity { position: relative; display: flex; align-items: center; gap: 14px; margin: auto 0; min-width: 0; }
.pcc-photo { flex: none; display: grid; place-items: center; width: clamp(46px, 14vw, 58px); aspect-ratio: 1; overflow: hidden; border-radius: 50%;
  background: #21402d; box-shadow: 0 0 0 1px rgba(186, 228, 137, .6), 0 0 0 4px rgba(131, 177, 78, .15); }
.pcc-photo img { width: 100%; height: 100%; object-fit: cover; }
.pcc-photo.is-empty .pcc-mark { width: 52%; height: auto; object-fit: contain; }
.pcc-names { display: flex; flex-direction: column; min-width: 0; }
.pcc-label { display: block; font-size: 9px; letter-spacing: .22em; color: #b7c1ac; line-height: 1.4; }
.pcc-name { margin-top: 4px; font: 400 clamp(24px, 7.4vw, 32px)/1.05 "Cormorant Garamond", Georgia, serif; color: #fff; letter-spacing: -.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcc-breed { margin-top: 5px; font-size: 12px; color: #d6d8c7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pcc-bottom { align-items: flex-end; }
.pcc-id-value { display: block; margin-top: 3px; font: 500 clamp(14px, 4.2vw, 17px)/1.1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .12em; color: #f3ead8; }
.pcc-tier { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.pcc-tier-value { font: 400 clamp(14px, 4vw, 17px)/1 "Cormorant Garamond", Georgia, serif; letter-spacing: .2em;
  background: linear-gradient(180deg, #d3f2af, #94c75a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pcc-tier .pcc-label { margin-top: 4px; }

.pcc-qr { flex: none; display: grid; place-items: center; width: clamp(104px, 34%, 140px); aspect-ratio: 1; padding: 8px; border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 1px rgba(186, 228, 137, .7); }
.pcc-qr img, .pcc-qr canvas { display: block; width: 100% !important; height: auto !important; image-rendering: pixelated; }
.pcc-qr-fallback { font: 400 28px "Cormorant Garamond", Georgia, serif; color: #13281b; }
.pcc-back-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pcc-back-title { font: 400 clamp(16px, 4.6vw, 20px)/1.2 "Cormorant Garamond", Georgia, serif; color: #fff; overflow-wrap: anywhere; }
.pcc-back-id { font: 500 13px/1.2 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .1em; color: #c3ea97; white-space: nowrap; }
.pcc-back-text { margin-top: 2px; font-size: 11px; line-height: 1.45; color: #cacfbd; }

.pcc-actions { display: flex; gap: 10px; max-width: 420px; margin: 14px auto 0; }
:root body .pcc-action { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; height: auto; margin: 0;
  padding: 10px 12px; border-radius: 14px; border: 1px solid #dddecd; background: #fff; color: #264e35; box-shadow: none;
  font-size: 13px; font-weight: 500; line-height: 1.2; letter-spacing: 0; text-transform: none; white-space: nowrap; cursor: pointer; }
:root body .pcc-action--primary { background: #264e35; border-color: #264e35; color: #fff; }
:root body .pcc-action:hover { border-color: #264e35; }
.pcc-status { max-width: 420px; margin: 8px auto 0; min-height: 1em; font-size: 12px; color: #637c6c; text-align: center; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  .pcc-card__inner { transition: opacity .2s ease; transform: none !important; }
  .pcc-sheen { animation: none !important; }
  .pcc-face--back { transform: none; opacity: 0; }
  .pcc.is-flipped .pcc-face--back { opacity: 1; }
  .pcc.is-flipped .pcc-face--front { opacity: 0; }
}

/* Карта лояльности в магазине — та же гамма (разметка club-membership.js не меняется) */
:root body .member-card { color: #f5f4ee; border: 0; border-radius: 20px;
  background: radial-gradient(120% 90% at 0% 0%, rgba(127, 183, 123, .22), transparent 55%), repeating-linear-gradient(115deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px), linear-gradient(140deg, #254b34 0%, #183423 46%, #0f2216 100%);
  box-shadow: inset 0 0 0 1px rgba(186, 228, 137, .55), inset 0 0 0 4px rgba(19, 40, 27, .9), inset 0 0 0 5px rgba(131, 177, 78, .35), 0 22px 40px -18px rgba(12, 30, 19, .55); }
:root body .member-card::before, :root body .member-card::after { opacity: 0; }
:root body .member-card__brand { color: #f3ead8; font-family: "Cormorant Garamond", Georgia, serif; letter-spacing: .28em; }
:root body .member-card__tier { border-color: rgba(186, 228, 137, .55); background: rgba(131, 177, 78, .12); color: #c3ea97; font-size: 10px; }
:root body .member-card__identity > span { color: #b7c1ac; font-size: 9px; }
:root body .member-card h2 { color: #fff; font-family: "Cormorant Garamond", Georgia, serif; }
:root body .member-card__pet { color: #d6d8c7; }
:root body .member-card__pet img { border-color: rgba(186, 228, 137, .6); }
:root body .member-card__pet strong { color: #f6f5f1; font-size: 13px; }
:root body .member-card__pet small { color: #b7c1ac; font-size: 11px; }
:root body .member-card__bottom { border-top-color: rgba(183, 193, 172, .25); color: #f3ead8; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px; letter-spacing: .14em; }
:root body .member-card__bottom small { color: #b7c1ac; font-family: inherit; font-size: 10px; letter-spacing: .02em; }
:root body .member-card__bottom small.is-active { color: #9fd3b8; }

/* Знак бренда в центре колеса подарков (вместо простой лапки v20; разметка колеса не меняется) */
:root body .daily-gift-wheel__paw { display: none; }
:root body .daily-gift-wheel::after { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 13%; aspect-ratio: 1;
  transform: translate(-50%, -64%); background: url("/assets/brand-mark/paw-white.webp") center / contain no-repeat; pointer-events: none; }
