
.rf-card {
  box-sizing: border-box;
  width: 500px; height: 700px; padding: 18px; position: relative;
  border-radius: var(--r); background: var(--edgeBg);
  box-shadow: 0 18px 50px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.25);
  color: var(--ink);
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.rf-card *, .rf-card *::before, .rf-card *::after { box-sizing: border-box; }
.rf-inner {
  position: relative;
  height: 100%; border-radius: var(--ri); background: var(--paperBg);
  display: flex; flex-direction: column; padding: 12px 14px 10px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
  font-family: var(--font);
}
.rf-top { display: flex; align-items: center; gap: 10px; height: 44px; }
.rf-kind {
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: var(--kindBg); color: var(--kindInk); padding: 4px 9px; border-radius: var(--chip);
  white-space: nowrap;
}
.rf-name {
  font-size: var(--nameSize, 30px); font-weight: var(--nameW); font-style: var(--nameStyle);
  letter-spacing: var(--nameTrack, -.01em); flex: 1; line-height: 1;
  font-family: var(--nameFont); text-transform: var(--case); text-shadow: var(--nameShadow);
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rf-badge {
  flex: none;
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accentInk);
  display: grid; place-items: center; font-size: 20px; line-height: 1;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.5);
}
.rf-art {
  margin-top: 8px; height: 262px; flex: none; border-radius: var(--artR); position: relative; overflow: hidden;
  box-shadow: inset 0 0 0 3px var(--frame), inset 0 0 0 4px rgba(0,0,0,.25);
}
.rf-pic { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: var(--strip); }
.rf-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rf-art-frame { position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 3px var(--frame), inset 0 0 0 4px rgba(0,0,0,.25); z-index: 1; }
.rf-strip {
  margin: 8px 6px 0; padding: 5px 12px; border-radius: var(--chip); background: var(--strip); color: var(--stripInk);
  font-size: 13px; font-weight: 600; text-align: center; letter-spacing: .01em; line-height: 1.33;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rf-stats { margin-top: 12px; display: grid; gap: 9px; padding: 0 4px; }
.rf-stat { display: grid; grid-template-columns: 132px 1fr 34px; align-items: center; gap: 10px; height: 30px; }
.rf-stat b { font-size: 19px; font-weight: 800; text-transform: var(--statCase); white-space: nowrap; }
.rf-pips { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.rf-pips i { height: 12px; border-radius: var(--pipR); background: var(--pipOff); }
.rf-pips i.rf-on { background: var(--accent); }
.rf-stat span { font-size: 22px; font-weight: 800; text-align: right; color: var(--num); }
.rf-stat-empty .rf-pips i { opacity: .55; }
.rf-flavor {
  margin-top: auto; padding: 10px 14px; border-radius: var(--artR);
  border: var(--flavorBorder); background: var(--flavorBg);
  font-family: var(--flavorFont); font-style: var(--flavorStyle); font-size: 16px; line-height: 1.35;
  overflow-wrap: anywhere;
}
.rf-foot {
  margin-top: 8px; display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75;
}
.rf-mark { display: inline-flex; align-items: center; gap: 6px; }
.rf-mark i { width: 12px; height: 12px; transform: rotate(45deg); background: var(--accent); display: inline-block; border-radius: 2px; }

.rf-card.rf-t-arcade {
  --edge: #ff3fa4; --edge2: #2ee6d6;
  border-radius: 0;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 2px, rgba(0,0,0,0) 2px 4px),
    linear-gradient(135deg, var(--edge) 0%, #7b4dff 50%, var(--edge2) 100%);
  clip-path: polygon(0 12px, 6px 12px, 6px 6px, 12px 6px, 12px 0, calc(100% - 12px) 0, calc(100% - 12px) 6px, calc(100% - 6px) 6px, calc(100% - 6px) 12px, 100% 12px,
    100% calc(100% - 12px), calc(100% - 6px) calc(100% - 12px), calc(100% - 6px) calc(100% - 6px), calc(100% - 12px) calc(100% - 6px), calc(100% - 12px) 100%,
    12px 100%, 12px calc(100% - 6px), 6px calc(100% - 6px), 6px calc(100% - 12px), 0 calc(100% - 12px));
}
.rf-t-arcade .rf-inner {
  border-radius: 0;
  background:
    linear-gradient(rgba(46,230,214,.05) 1px, transparent 1px) 0 0 / 100% 6px,
    var(--paper);
  box-shadow: inset 0 0 0 2px #000, inset 0 0 0 4px rgba(46,230,214,.35);
  clip-path: polygon(0 8px, 4px 8px, 4px 4px, 8px 4px, 8px 0, calc(100% - 8px) 0, calc(100% - 8px) 4px, calc(100% - 4px) 4px, calc(100% - 4px) 8px, 100% 8px,
    100% calc(100% - 8px), calc(100% - 4px) calc(100% - 8px), calc(100% - 4px) calc(100% - 4px), calc(100% - 8px) calc(100% - 4px), calc(100% - 8px) 100%,
    8px 100%, 8px calc(100% - 4px), 4px calc(100% - 4px), 4px calc(100% - 8px), 0 calc(100% - 8px));
}
.rf-t-arcade .rf-kind { border-radius: 0; background: #ff3fa4; color: #121733; font-family: "IBM Plex Mono", monospace; }
.rf-t-arcade .rf-name { font-family: "IBM Plex Mono", monospace; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; text-shadow: 2px 2px 0 #ff3fa4; }
.rf-t-arcade .rf-badge { border-radius: 0; box-shadow: inset 0 0 0 2px #121733, 0 0 0 2px var(--accent); }
.rf-t-arcade .rf-art { border-radius: 0; box-shadow: inset 0 0 0 3px var(--edge2), inset 0 0 0 4px rgba(0,0,0,.4); }
.rf-t-arcade .rf-strip { border-radius: 0; font-family: "IBM Plex Mono", monospace; font-weight: 700; color: #cfe0ff; }
.rf-t-arcade .rf-stat b { font-family: "IBM Plex Mono", monospace; font-weight: 700; text-transform: uppercase; font-size: 18px; letter-spacing: .02em; }
.rf-t-arcade .rf-pips i { border-radius: 0; background: rgba(255,255,255,.1); }
.rf-t-arcade .rf-pips i.rf-on { background: var(--accent); box-shadow: 0 0 6px rgba(46,230,214,.7); }
.rf-t-arcade .rf-stat span { font-family: "IBM Plex Mono", monospace; color: #ff6fbd; }
.rf-t-arcade .rf-flavor {
  border-radius: 0; border: 1.5px dashed rgba(46,230,214,.6); background: rgba(0,0,0,.25);
  font-family: "IBM Plex Mono", monospace; font-style: normal; font-size: 15px; color: #dfe8ff;
}
.rf-t-arcade .rf-foot { font-family: "IBM Plex Mono", monospace; }
.rf-t-arcade .rf-mark i { border-radius: 0; background: var(--accent); }

.rf-card.rf-t-stage {
  --edge: #2a2226; --edge2: #e0412b;
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 8px, var(--edge2) 8px, var(--edge2) 11px, transparent 11px, transparent calc(100% - 11px), var(--edge2) calc(100% - 11px), var(--edge2) calc(100% - 8px), transparent calc(100% - 8px)),
    linear-gradient(0deg, transparent 8px, var(--edge2) 8px, var(--edge2) 11px, transparent 11px, transparent calc(100% - 11px), var(--edge2) calc(100% - 11px), var(--edge2) calc(100% - 8px), transparent calc(100% - 8px)),
    var(--edge);
  box-shadow: 0 18px 50px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.12);
}
.rf-t-stage .rf-inner {
  border-radius: 3px;
  background:
    radial-gradient(circle at 100% 0, rgba(224,65,43,.22) 0 1.6px, transparent 2px) 0 0 / 7px 7px,
    var(--paper);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.rf-t-stage .rf-inner::before {
  content: ""; position: absolute; inset: 0; border-radius: 3px; pointer-events: none;
  background: linear-gradient(200deg, rgba(239,231,214,0) 0%, var(--paper) 30%);
}
.rf-t-stage .rf-inner > :not(.rf-full):not(.rf-orn):not(.rf-fin):not(.rf-motion):not(.rf-backdrop) { position: relative; }
.rf-t-stage .rf-kind { border-radius: 2px; background: var(--accent); color: #fff; font-family: "Barlow Condensed", sans-serif; letter-spacing: .16em; }
.rf-t-stage .rf-name { font-family: Anton, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .03em; font-size: 32px; }
.rf-t-stage .rf-badge { box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.rf-t-stage .rf-art { border-radius: 2px; box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px rgba(0,0,0,.25); }
.rf-t-stage .rf-art img { filter: grayscale(.15) contrast(1.08); }
.rf-t-stage .rf-strip { border-radius: 2px; color: var(--paper); text-transform: uppercase; letter-spacing: .1em; font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 12.5px; }
.rf-t-stage .rf-stat b { font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 19px; }
.rf-t-stage .rf-pips { gap: 4px; }
.rf-t-stage .rf-pips i { border-radius: 1px; background: rgba(23,19,26,.13); }
.rf-t-stage .rf-pips i.rf-on { background: var(--accent); }
.rf-t-stage .rf-stat span { font-family: Anton, sans-serif; font-weight: 400; font-size: 24px; line-height: 1; }
.rf-t-stage .rf-flavor {
  border-radius: 2px; border: 2px solid var(--ink); background: rgba(255,255,255,.35);
  font-family: "Barlow Condensed", Selawik, sans-serif; font-style: normal; font-size: 16px;
}
.rf-t-stage .rf-foot { font-family: "Barlow Condensed", sans-serif; opacity: .9; }
.rf-t-stage .rf-mark i { background: var(--accent); border-radius: 0; }

.rf-card.rf-t-sketch {
  --edge: #b98d5f; --edge2: #8c6440;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 30%, rgba(60,35,10,.18) 0 1px, transparent 1.5px) 0 0 / 9px 11px,
    radial-gradient(circle at 70% 60%, rgba(255,240,210,.25) 0 1px, transparent 1.5px) 0 0 / 13px 7px,
    linear-gradient(160deg, var(--edge), var(--edge2));
  box-shadow: 0 18px 50px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.15);
}
.rf-t-sketch .rf-inner {
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 22px, rgba(214,80,80,.28) 22px, rgba(214,80,80,.28) 23.5px, transparent 23.5px),
    repeating-linear-gradient(180deg, transparent 0 27px, rgba(43,79,168,.11) 27px 28px),
    var(--paper);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 3px 3px 0 rgba(0,0,0,.12);
}
.rf-t-sketch .rf-kind { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: 6px 10px 7px 9px; font-family: Kalam, Selawik, sans-serif; letter-spacing: .08em; }
.rf-t-sketch .rf-name { font-family: Kalam, Selawik, sans-serif; font-weight: 700; font-size: 30px; letter-spacing: 0; }
.rf-t-sketch .rf-badge { background: var(--accent); border-radius: 48% 52% 50% 46%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.45), 0 0 0 1.5px var(--ink); }
.rf-t-sketch .rf-art { border-radius: 2px; box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px rgba(0,0,0,.18); overflow: visible; }
.rf-t-sketch .rf-pic { border-radius: 2px; }
.rf-t-sketch .rf-art::before, .rf-t-sketch .rf-art::after {
  content: ""; position: absolute; width: 84px; height: 24px; background: rgba(214,196,160,.82);
  box-shadow: 0 1px 2px rgba(0,0,0,.12); z-index: 2;
}
.rf-t-sketch .rf-art::before { top: -9px; left: -14px; transform: rotate(-24deg); }
.rf-t-sketch .rf-art::after { top: -9px; right: -14px; transform: rotate(24deg); }
.rf-t-sketch .rf-strip { border-radius: 2px; transform: rotate(-.6deg); font-family: Kalam, Selawik, sans-serif; font-size: 12.5px; font-weight: 700; padding: 4px 12px 6px; }
.rf-t-sketch .rf-stat b { font-family: Kalam, Selawik, sans-serif; font-weight: 700; font-size: 18px; }
.rf-t-sketch .rf-pips i { border-radius: 2px 4px 3px 2px; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(31,42,72,.35); }
.rf-t-sketch .rf-pips i.rf-on { background: repeating-linear-gradient(-45deg, var(--accent) 0 2px, rgba(43,79,168,.65) 2px 3.5px); box-shadow: inset 0 0 0 1.5px var(--accent); }
.rf-t-sketch .rf-stat span { font-family: Kalam, Selawik, sans-serif; font-weight: 700; font-size: 22px; color: var(--accent); }
.rf-t-sketch .rf-flavor {
  border-radius: 4px; border: 1.5px dashed rgba(31,42,72,.45); background: rgba(255,255,255,.6);
  font-family: Caveat, Kalam, cursive; font-style: normal; font-size: 17px; line-height: 1.25; font-weight: 700;
}
.rf-t-sketch .rf-foot { font-family: Kalam, sans-serif; letter-spacing: .04em; line-height: 1.2; }
.rf-t-sketch .rf-name, .rf-t-sketch .rf-kind, .rf-t-sketch .rf-strip, .rf-t-sketch .rf-stat b, .rf-t-sketch .rf-stat span { line-height: 1.15; }
.rf-t-sketch .rf-mark i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }

.rf-card.rf-t-cozy {
  --edge: #f6c7bf; --edge2: #c7b6ee;
  border-radius: 44px;
  background:
    radial-gradient(circle, rgba(255,255,255,.55) 0 3px, transparent 3.5px) 6px 6px / 26px 26px,
    linear-gradient(160deg, var(--edge), #f3d9e8 50%, var(--edge2));
  box-shadow: 0 18px 50px rgba(0,0,0,.55), inset 0 0 0 3px rgba(255,255,255,.55);
}
.rf-t-cozy .rf-inner { border-radius: 30px; box-shadow: inset 0 0 0 2px rgba(224,112,138,.22); }
.rf-t-cozy .rf-kind { background: var(--accent); color: #fff; border-radius: 99px; font-family: Rubik, sans-serif; letter-spacing: .1em; }
.rf-t-cozy .rf-name { font-family: Rubik, Selawik, sans-serif; font-weight: 700; letter-spacing: 0; }
.rf-t-cozy .rf-badge { box-shadow: inset 0 0 0 3px rgba(255,255,255,.6); }
.rf-t-cozy .rf-art { border-radius: 24px; box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 6px rgba(224,112,138,.25); }
.rf-t-cozy .rf-strip { font-family: Rubik, sans-serif; color: #6b3f55; }
.rf-t-cozy .rf-stat b { font-family: Rubik, sans-serif; font-weight: 700; }
.rf-t-cozy .rf-pips { gap: 4px; }
.rf-t-cozy .rf-pips i { border-radius: 99px; background: rgba(224,112,138,.15); }
.rf-t-cozy .rf-pips i.rf-on { background: linear-gradient(180deg, #ef8fa5, var(--accent)); }
.rf-t-cozy .rf-stat span { font-family: Rubik, sans-serif; color: #b84d68; }
.rf-t-cozy .rf-flavor {
  border-radius: 22px; border: none; background: #fff; box-shadow: 0 2px 0 rgba(224,112,138,.18), inset 0 0 0 1.5px rgba(224,112,138,.25);
  font-family: Rubik, Selawik, sans-serif; font-style: italic; font-size: 16px;
}
.rf-t-cozy .rf-foot { font-family: Rubik, sans-serif; }
.rf-t-cozy .rf-mark i { background: var(--accent); border-radius: 50%; transform: none; }

.rf-t-starter .rf-badge i { width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 2px; display: block; }
.rf-t-starter .rf-pic { display: grid; place-items: center; background: linear-gradient(180deg, #dcdfe6, #c3c8d3); }
.rf-t-starter .rf-pic img { position: static; width: 196px; height: 196px; border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,.18), 0 0 0 3px #fff; }
.rf-t-starter .rf-invite {
  margin-top: 12px; flex: 1; border-radius: 10px;
  border: 2px dashed rgba(28,27,34,.22);
  display: grid; place-items: center; text-align: center; padding: 20px 28px;
}
.rf-t-starter .rf-invite p { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.3; letter-spacing: -.005em; }
.rf-t-starter .rf-invite em { font-style: normal; color: #5a45d6; white-space: nowrap; }
.rf-t-starter .rf-mark i { background: var(--ink); }

.rf-orn {
  position: absolute; left: 14px; right: 14px; top: 56px; height: 8px;
  pointer-events: none; display: block; z-index: 1;
}
.rf-seal {
  position: absolute; right: 18px; bottom: 18px; z-index: 2;
  scale: 1.3; transform-origin: 100% 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: .94; pointer-events: none;
}
.rf-seal span { font-weight: 700; line-height: 1; letter-spacing: .04em; white-space: nowrap; }
.rf-card .rf-foot.rf-foot-styled {
  margin: 8px -14px -10px; padding: 8px 14px; opacity: 1;
  border-radius: 0 0 var(--ri) var(--ri);
  font-family: "IBM Plex Mono", monospace; font-weight: 600;
  background: var(--ink); color: var(--paperSolid);
}
.rf-card .rf-foot-mrz { background: var(--plate); color: var(--mrzInk); border-top: 1px solid var(--hair); }
.rf-card .rf-foot-field { background: var(--field); color: var(--ink); box-shadow: inset 0 3px 0 var(--accent); }
.rf-card .rf-foot-ticket {
  -webkit-mask-image: radial-gradient(circle at 6px 0, transparent 0 5px, #000 5px);
  mask-image: radial-gradient(circle at 6px 0, transparent 0 5px, #000 5px);
  -webkit-mask-size: 12px 100%; mask-size: 12px 100%;
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
  padding-top: 10px;
}

.rf-hdr-band .rf-top, .rf-hdr-panel .rf-top {
  margin: -12px -14px 0; padding: 12px 14px 0; height: 56px;
  border-radius: var(--ri) var(--ri) 0 0; background: var(--headerBg); color: var(--onHeader);
}
.rf-hdr-panel .rf-top { border-bottom: 3px solid var(--ink); height: 59px; }
.rf-hdr-band .rf-name, .rf-hdr-panel .rf-name { color: var(--onHeader); }
.rf-hdr-rule .rf-top { border-bottom: 1px solid var(--accent); }
.rf-hdr-plate .rf-top { border: 1px solid var(--accent); padding: 0 8px; }

.rf-card.rf-c-colours .rf-inner { background: var(--paperBg); }
.rf-card.rf-c-colours .rf-kind { background: var(--kindBg); color: var(--kindInk); }
.rf-card.rf-c-colours .rf-name { color: var(--ink); text-shadow: var(--nameShadow); }
.rf-card.rf-c-colours .rf-strip { background: var(--strip); color: var(--stripInk); }
.rf-card.rf-c-colours .rf-art { box-shadow: inset 0 0 0 3px var(--frame), inset 0 0 0 4px rgba(0,0,0,.25); }
.rf-card.rf-c-colours .rf-pips i { background: var(--pipOff); box-shadow: none; }
.rf-card.rf-c-colours .rf-pips i.rf-on { background: var(--accent); }
.rf-card.rf-c-colours .rf-stat span { color: var(--num); }
.rf-card.rf-c-colours .rf-flavor { background: var(--flavorBg); border: var(--flavorBorder); color: var(--ink); box-shadow: none; }
.rf-card.rf-c-colours .rf-foot { color: var(--ink); }
.rf-card.rf-c-colours { background: var(--edgeBg); }
.rf-card.rf-c-name .rf-name {
  font-family: var(--nameFont); font-weight: var(--nameW); text-transform: var(--case);
  letter-spacing: var(--nameTrack, -.01em); font-style: normal;
}
.rf-card.rf-c-text .rf-inner, .rf-card.rf-c-text .rf-kind, .rf-card.rf-c-text .rf-strip,
.rf-card.rf-c-text .rf-stat b, .rf-card.rf-c-text .rf-stat span { font-family: var(--font); }
.rf-card.rf-c-corners { border-radius: var(--r); }
.rf-card.rf-c-corners .rf-inner { border-radius: var(--ri); }
.rf-card.rf-c-corners .rf-art, .rf-card.rf-c-corners .rf-flavor { border-radius: var(--artR); }
.rf-card.rf-c-corners .rf-kind, .rf-card.rf-c-corners .rf-strip { border-radius: var(--chip); }
.rf-card.rf-c-bars .rf-pips i { border-radius: var(--pipR); }
.rf-card.rf-c-desc .rf-flavor { font-family: var(--flavorFont); font-style: var(--flavorStyle); }

.rf-full { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: 0; }
.rf-full img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rf-full::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--paperSolid) 0, transparent 16%, transparent 44%, var(--paperSolid) 74%);
  opacity: .92;
}
.rf-fullart .rf-inner > :not(.rf-full):not(.rf-orn):not(.rf-fin):not(.rf-motion):not(.rf-backdrop) { position: relative; z-index: 1; }
.rf-fullart .rf-art { box-shadow: none; }
.rf-fullart .rf-art > .rf-pic, .rf-fullart .rf-art > .rf-art-frame { visibility: hidden; }

.rf-pack { width: 340px; height: 520px; position: relative; transform: scale(1.28); filter: drop-shadow(0 20px 30px rgba(0,0,0,.55));
  font-family: Selawik, sans-serif; color: #fff; }
.rf-pack *, .rf-pack *::before, .rf-pack *::after { box-sizing: border-box; }
.rf-crimp { position: absolute; left: 0; right: 0; height: 34px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 2px, rgba(0,0,0,.18) 2px 5px, transparent 5px 7px),
    linear-gradient(180deg, #8e96b0, #c9cfe0 50%, #8e96b0); }
.rf-crimp-t { top: 0; border-radius: 6px 6px 0 0; }
.rf-crimp-b { bottom: 0; border-radius: 0 0 6px 6px; }
.rf-pack-body { position: absolute; left: 0; right: 0; top: 34px; bottom: 34px; overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255,255,255,0) 10%, rgba(255,170,235,.35) 30%, rgba(140,220,255,.4) 45%, rgba(190,255,200,.25) 58%, rgba(255,255,255,0) 75%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 14px, rgba(255,255,255,0) 14px 28px),
    linear-gradient(170deg, #3b2a8c 0%, #5a45d6 45%, #2a1f5e 100%);
  box-shadow: inset 4px 0 8px rgba(0,0,0,.25), inset -4px 0 8px rgba(0,0,0,.25); }
.rf-pack-pfp { position: absolute; left: 50%; top: 46px; width: 178px; height: 178px; margin-left: -89px; border-radius: 50%;
  overflow: hidden; background: linear-gradient(135deg, #3b2a8c, #d15a9a);
  box-shadow: 0 0 0 5px #fff, 0 0 0 9px rgba(255,255,255,.25), 0 10px 24px rgba(0,0,0,.4); }
.rf-pack-pfp img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rf-pack-logo { position: absolute; left: 18px; right: 18px; top: 186px; text-align: center; transform: rotate(-5deg); }
.rf-pack-word { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #1c1b22;
  padding: 6px 18px 8px; border-radius: 10px; box-shadow: 0 6px 0 #1c1b22, 0 0 0 3px #1c1b22;
  font-size: 44px; font-weight: 700; font-style: italic; letter-spacing: -.02em; line-height: 1; }
.rf-pack-word i { width: 22px; height: 22px; background: #5a45d6; transform: rotate(45deg); border-radius: 3px; display: block;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.45); }
.rf-pack-tcg { display: inline-block; margin-top: 12px; background: #1c1b22; color: #fff; font-size: 14px; font-weight: 700;
  letter-spacing: .32em; padding: 4px 8px 4px 13px; border-radius: 4px; }
.rf-pack-clock { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; }
.rf-pack-clock b { display: block; font-size: 58px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums;
  text-shadow: 0 3px 0 rgba(0,0,0,.35); }
.rf-pack-bar { width: 200px; height: 6px; margin: 10px auto 12px; border-radius: 99px; background: rgba(255,255,255,.22); overflow: hidden; }
.rf-pack-bar u { display: block; height: 100%; background: #fff; border-radius: 99px; }
.rf-pack-count { display: inline-block; font-size: 17px; font-weight: 700; padding: 5px 14px; border-radius: 99px;
  background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.rf-pack.rf-torn .rf-pack-body { top: 52px; }
.rf-pack-tear { position: absolute; left: 0; right: 0; top: 0; height: 64px; transform: translate(-24px, -34px) rotate(-11deg);
  transform-origin: 0 100%; filter: drop-shadow(0 8px 10px rgba(0,0,0,.4)); z-index: 2; }
.rf-pack-seam { position: absolute; left: 0; top: 56px; height: 3px; width: 100%; z-index: 3; border-radius: 3px;
  background: #fff; box-shadow: 0 0 10px #fff, 0 0 22px rgba(200,190,255,.9); opacity: 0; }
.rf-pack-lip { position: absolute; left: 0; right: 0; top: 34px; height: 30px; background: linear-gradient(170deg, #3b2a8c, #5a45d6); }
.rf-pack-burst { position: absolute; left: 50%; top: 40px; width: 460px; height: 300px; margin-left: -230px;
  background: radial-gradient(ellipse at 50% 60%, rgba(255,255,255,.75), rgba(200,190,255,.35) 30%, transparent 62%); }
.rf-pack-peek { position: absolute; width: 150px; height: 210px; border-radius: 12px;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.12) 0 2px, transparent 2px 16px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.12) 0 2px, transparent 2px 16px), linear-gradient(160deg, #3a2c86, #221a4f);
  box-shadow: inset 0 0 0 5px #b9c2d6, 0 6px 16px rgba(0,0,0,.4); }
.rf-pack-peek.rf-p1 { left: 70px; top: 10px; transform: rotate(-8deg); }
.rf-pack-peek.rf-p2 { left: 120px; top: -14px; transform: rotate(3deg); }
.rf-pack-peek.rf-p3 { left: 160px; top: 6px; transform: rotate(11deg); }
.rf-spark { position: absolute; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 2px; box-shadow: 0 0 12px #fff; }
.rf-counter { position: absolute; left: 50%; top: -52px; transform: translateX(-50%); white-space: nowrap;
  font-family: Selawik, sans-serif; font-size: 19px; font-weight: 700; color: #fff; padding: 6px 18px; border-radius: 99px;
  background: rgba(0,0,0,.55); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }

.rf-flip { position: relative; }
.rf-backface { position: absolute; inset: 0; border-radius: 26px; opacity: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.1) 0 2px, transparent 2px 28px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.1) 0 2px, transparent 2px 28px), linear-gradient(160deg, #3a2c86, #221a4f);
  box-shadow: inset 0 0 0 18px #b9c2d6, inset 0 0 0 20px rgba(0,0,0,.2), 0 18px 50px rgba(0,0,0,.55); }
.rf-backface::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: #fff; transform: rotate(45deg); border-radius: 8px; box-shadow: 0 0 30px rgba(255,255,255,.6); }
.rf-sheen { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.55) 48%, rgba(200,180,255,.35) 52%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0; mix-blend-mode: screen; }

@keyframes rf-rise {
  0% { transform: translateY(80px) scale(.84); opacity: 0; }
  14% { opacity: 1; }
  70% { transform: translateY(-10px) scale(1.02); }
  100% { transform: none; opacity: 1; }
}
@keyframes rf-back-turn {
  0% { transform: scaleX(1); opacity: 1; }
  38% { transform: scaleX(0); opacity: 1; }
  38.1%, 100% { transform: scaleX(0); opacity: 0; }
}
@keyframes rf-front-turn {
  0%, 38% { transform: scaleX(0); opacity: 0; }
  38.1% { transform: scaleX(0); opacity: 1; }
  72% { transform: scaleX(1.05); }
  86% { transform: scaleX(.985); }
  100% { transform: none; opacity: 1; }
}
@keyframes rf-sheen { from { background-position: 130% 0; } to { background-position: -40% 0; } }
@keyframes rf-leave { to { transform: translateY(46px) scale(.92); opacity: 0; } }
@keyframes rf-pop { 0% { transform: translateX(-50%) scale(.6); opacity: 0; } 70% { transform: translateX(-50%) scale(1.08); opacity: 1; }
  100% { transform: translateX(-50%) scale(1); opacity: 1; } }
.rf-enter .rf-flip { animation: rf-rise 1000ms cubic-bezier(.2,.8,.2,1) both; }
.rf-enter .rf-backface { animation: rf-back-turn 1000ms linear both; }
.rf-enter .rf-face { animation: rf-front-turn 1000ms linear both; }
.rf-enter .rf-sheen { animation: rf-sheen 900ms 950ms ease-out both; }
.rf-enter .rf-counter { animation: rf-pop 420ms 200ms ease-out both; }
.rf-leave { animation: rf-leave 420ms ease-in both; }

.rf-trade { position: relative; width: 500px; height: 700px; }
.rf-trade-card { position: absolute; top: 30px; width: 500px; height: 700px;
  transform: rotate(var(--rf-turn)) scale(.66); }
.rf-trade-flat .rf-trade-card { transform: none; }
.rf-trade-a { left: -75px; --rf-turn: -6deg; --rf-from: 150px; z-index: 1; }
.rf-trade-b { left: 75px; --rf-turn: 6deg; --rf-from: -150px; z-index: 2; }
.rf-trade-label { position: absolute; left: 50%; top: 92px; transform: translateX(-50%); z-index: 3; white-space: nowrap;
  font-family: Selawik, sans-serif; font-size: 30px; font-weight: 800; letter-spacing: .02em; color: #fff; padding: 8px 26px;
  border-radius: 99px; background: linear-gradient(160deg, #3a2c86, #221a4f);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), 0 10px 26px rgba(0,0,0,.45); }
@keyframes rf-trade-cross { 0% { transform: translateX(var(--rf-from)) rotate(0deg) scale(.66); }
  100% { transform: rotate(var(--rf-turn)) scale(.66); } }
.rf-enter .rf-trade-card { animation: rf-trade-cross 800ms 1000ms cubic-bezier(.3,.7,.2,1) both; }
.rf-enter .rf-trade-b .rf-flip, .rf-enter .rf-trade-b .rf-backface, .rf-enter .rf-trade-b .rf-face { animation-delay: 200ms; }
.rf-enter .rf-trade .rf-sheen { animation-delay: 1800ms; }
.rf-enter .rf-trade-label { animation: rf-pop 420ms 1700ms ease-out both; }

@keyframes rf-pack-in { 0% { transform: translateY(-120px) rotate(-6deg) scale(.9); opacity: 0; } 60% { transform: translateY(10px) rotate(2deg); opacity: 1; }
  100% { transform: none; opacity: 1; } }
@keyframes rf-float { from { transform: translateY(0) rotate(-.6deg); } to { transform: translateY(-8px) rotate(.6deg); } }
@keyframes rf-bump { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
.rf-pack-wrap { display: inline-block; }
.rf-enter .rf-pack-wrap { animation: rf-pack-in 700ms cubic-bezier(.2,.9,.3,1.2) both; }
.rf-pack-wrap .rf-pack-bob { animation: rf-float 2.6s 700ms ease-in-out infinite alternate; }
.rf-pack-count.rf-bump { animation: rf-bump 360ms ease-out; }
@keyframes rf-tear-shake {
  0%, 100% { rotate: 0deg; translate: 0 0; } 12% { rotate: -1.6deg; } 24% { rotate: 1.8deg; }
  36% { rotate: -2.2deg; translate: 0 -2px; } 48% { rotate: 2.4deg; translate: 0 0; } 60% { rotate: -1.4deg; }
  72% { rotate: 1deg; } 86% { rotate: -.4deg; }
}
@keyframes rf-seam-glow { 0% { opacity: 0; clip-path: inset(0 100% 0 0); } 20% { opacity: 1; }
  80% { opacity: 1; clip-path: inset(0 0 0 0); } 100% { opacity: 0; clip-path: inset(0 0 0 0); } }
@keyframes rf-tear-strip {
  0% { transform: none; opacity: 1; }
  22% { transform: translate(-4px, -10px) rotate(-5deg); opacity: 1; }
  100% { transform: translate(-190px, -260px) rotate(-42deg); opacity: 0; }
}
@keyframes rf-body-open { from { clip-path: inset(0); } to { clip-path: var(--rf-zig); } }
@keyframes rf-peek-rise { from { transform: translateY(120px) rotate(var(--rf-r, 0deg)); opacity: 0; } 30% { opacity: 1; }
  to { transform: translateY(0) rotate(var(--rf-r, 0deg)); opacity: 1; } }
@keyframes rf-burst { 0% { opacity: 0; transform: scale(.4); } 40% { opacity: 1; } 100% { opacity: .85; transform: scale(1.05); } }
@keyframes rf-spark { 0% { transform: rotate(45deg) scale(0); opacity: 0; } 50% { transform: rotate(45deg) scale(1.6); opacity: 1; }
  100% { transform: rotate(45deg) scale(1); opacity: 1; } }
.rf-tearing .rf-pack.rf-torn { animation: rf-tear-shake 620ms ease-in-out both; }
.rf-tearing .rf-pack-seam { animation: rf-seam-glow 600ms 120ms ease-out both; }
.rf-tearing .rf-pack-tear { animation: rf-tear-strip 760ms 650ms cubic-bezier(.45,0,.3,1) both; }
.rf-tearing .rf-pack-body { animation: rf-body-open 1ms 700ms both; }
.rf-tearing .rf-pack-peek { animation: rf-peek-rise 760ms 1050ms cubic-bezier(.2,.8,.3,1) both; }
.rf-tearing .rf-pack-peek.rf-p1 { --rf-r: -8deg; } .rf-tearing .rf-pack-peek.rf-p2 { --rf-r: 3deg; animation-delay: 1180ms; }
.rf-tearing .rf-pack-peek.rf-p3 { --rf-r: 11deg; animation-delay: 1310ms; }
.rf-tearing .rf-pack-burst { animation: rf-burst 900ms 850ms ease-out both; }
.rf-tearing .rf-spark { animation: rf-spark 520ms 1250ms ease-out both; }

.rf-motion { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; border-radius: inherit; }
.rf-mo-tile { position: absolute; width: 560px; height: 340px; }
.rf-mo-mirror { transform: scaleX(-1); }
.rf-motion [style*="pmv-shimmer"] { height: 100% !important; }
@media (prefers-reduced-motion: reduce) { .rf-motion { display: none; } }

@keyframes pmv-bat {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) scaleX(1); }
  8%   { opacity: 1; }
  22%  { transform: translate3d(-92px, -34px, 0) scaleX(0.3); }
  26%  { transform: translate3d(-116px, -26px, 0) scaleX(1); }
  58%  { transform: translate3d(-268px, 28px, 0) scaleX(0.35); }
  62%  { transform: translate3d(-292px, 34px, 0) scaleX(1); }
  92%  { opacity: 1; }
  100% { opacity: 0; transform: translate3d(-470px, -12px, 0) scaleX(1); }
}
@keyframes pmv-boil {
  0% { transform: rotate(-3deg) translate(0, 0) scale(1); }
  33% { transform: rotate(2deg) translate(1px, -1px) scale(1.04); }
  66% { transform: rotate(-1deg) translate(-1px, 1px) scale(0.97); }
  100% { transform: rotate(-3deg) translate(0, 0) scale(1); }
}
@keyframes pmv-curtain {
  0%, 100% { opacity: 0.24; transform: translate3d(0, 0, 0) scaleY(1); }
  40%      { opacity: 0.7; transform: translate3d(26px, 0, 0) scaleY(1.22); }
  70%      { opacity: 0.4; transform: translate3d(-16px, 0, 0) scaleY(0.86); }
}
@keyframes pmv-drip {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) scaleY(0.3); }
  14%  { opacity: 0.9; }
  100% { opacity: 0; transform: translate3d(0, 300px, 0) scaleY(2); }
}
@keyframes pmv-dust {
  0%   { opacity: 0; transform: translate3d(0, 0, 0); }
  22%  { opacity: 0.6; }
  100% { opacity: 0; transform: translate3d(-22px, -120px, 0); }
}
@keyframes pmv-ember {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(1); }
  18% { opacity: 0.95; }
  100% { opacity: 0; transform: translate3d(26px, -300px, 0) scale(0.5); }
}
@keyframes pmv-eyes {
  0%, 34%   { opacity: 0; }
  38%       { opacity: 1; }
  42%       { opacity: 0.05; }
  45%       { opacity: 1; }
  62%       { opacity: 1; }
  66%, 100% { opacity: 0; }
}
@keyframes pmv-fader-ride {
  0%, 100% { transform: translate3d(0, 0, 0); }
  22%  { transform: translate3d(0, -14px, 0); }
  48%  { transform: translate3d(0, 7px, 0); }
  74%  { transform: translate3d(0, -8px, 0); }
}
@keyframes pmv-flicker {
  0%, 42%, 48%, 100% { opacity: 0; }
  43%   { opacity: 0.42; }
  45%   { opacity: 0.08; }
  46.5% { opacity: 0.3; }
}
@keyframes pmv-fly {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25%  { transform: translate3d(15px, -11px, 0); }
  50%  { transform: translate3d(-9px, 7px, 0); }
  75%  { transform: translate3d(19px, 12px, 0); }
}
@keyframes pmv-grain {
  0%   { transform: translate3d(0, 0, 0); }
  25%  { transform: translate3d(-2px, 1px, 0); }
  50%  { transform: translate3d(1px, -2px, 0); }
  75%  { transform: translate3d(2px, 2px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
@keyframes pmv-grid {
  from { transform: translate3d(0, -34px, 0); }
  to { transform: translate3d(0, 0, 0); }
}
@keyframes pmv-groove {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}
@keyframes pmv-knob-turn {
  0%, 100% { transform: rotate(-38deg); }
  40%  { transform: rotate(52deg); }
  70%  { transform: rotate(6deg); }
}
@keyframes pmv-meter-needle {
  0%, 100% { transform: rotate(-32deg); }
  20%  { transform: rotate(24deg); }
  42%  { transform: rotate(-12deg); }
  66%  { transform: rotate(31deg); }
}
@keyframes pmv-orbit {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes pmv-paw {
  0%   { opacity: 0; transform: scale(0.72) rotate(-9deg); }
  16%  { opacity: 0.55; transform: scale(1) rotate(-9deg); }
  58%  { opacity: 0.55; }
  100% { opacity: 0; transform: scale(1.05) rotate(-9deg); }
}
@keyframes pmv-petal {
  0% { opacity: 0; transform: translate3d(0, -22px, 0) rotate(0deg); }
  12% { opacity: 0.9; }
  100% { opacity: 0; transform: translate3d(-34px, 330px, 0) rotate(220deg); }
}
@keyframes pmv-point {
  0% { opacity: 0; transform: translate3d(0, 0, 0); }
  8% { opacity: 1; }
  46% { transform: translate3d(54px, -24px, 0); }
  54% { transform: translate3d(54px, -24px, 0) scale(0.9); }
  62% { transform: translate3d(54px, -24px, 0) scale(1); }
  92% { opacity: 1; transform: translate3d(96px, 18px, 0); }
  100% { opacity: 0; transform: translate3d(96px, 18px, 0); }
}
@keyframes pmv-ripple {
  from { transform: scale(0.2); opacity: 0.9; }
  to { transform: scale(7); opacity: 0; }
}
@keyframes pmv-scan {
  0% { opacity: 0; transform: translate3d(0, -10px, 0); }
  10%, 90% { opacity: 0.85; }
  100% { opacity: 0; transform: translate3d(0, 348px, 0); }
}
@keyframes pmv-shimmer {
  0% { opacity: 0; transform: translate3d(-260px, 0, 0); }
  40% { opacity: 0.6; }
  100% { opacity: 0; transform: translate3d(700px, 0, 0); }
}
@keyframes pmv-smoke {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(0.6); }
  24%  { opacity: 0.3; }
  100% { opacity: 0; transform: translate3d(18px, -170px, 0) scale(2); }
}
@keyframes pmv-sparkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes pmv-splat {
  0%, 40% { opacity: 0; transform: scale(0.2); }
  48%     { opacity: 0.95; transform: scale(1.16); }
  58%     { opacity: 0.85; transform: scale(1); }
  100%    { opacity: 0.6; transform: scale(1); }
}
@keyframes pmv-sweep {
  0%   { transform: translate3d(-46%, 0, 0); }
  100% { transform: translate3d(46%, 0, 0); }
}
@keyframes pmv-tread {
  0%   { opacity: 0; transform: scale(0.7) rotate(-8deg); }
  12%  { opacity: 0.9; transform: scale(1) rotate(-8deg); }
  62%  { opacity: 0.55; }
  100% { opacity: 0; transform: scale(1) rotate(-8deg); }
}
@keyframes pmv-twinkle {
  0%, 100% { opacity: 0.18; transform: scale(0.8); }
  50%      { opacity: 1; transform: scale(1.3); }
}
@keyframes pmv-vignette {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 0.9; }
}
@keyframes pmv-vu {
  0%, 100% { transform: scaleY(0.25); }
  18%  { transform: scaleY(1); }
  32%  { transform: scaleY(0.45); }
  54%  { transform: scaleY(0.9); }
  72%  { transform: scaleY(0.3); }
  86%  { transform: scaleY(0.7); }
}
@keyframes pmv-wave {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-56px, 0, 0); }
}

.rf-fin { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.rf-fin-under { z-index: 0; }
.rf-fin-over { z-index: 4; }
.rf-finished .rf-inner > :not(.rf-full):not(.rf-orn):not(.rf-fin):not(.rf-motion):not(.rf-backdrop),
.rf-backed .rf-inner > :not(.rf-full):not(.rf-orn):not(.rf-fin):not(.rf-motion):not(.rf-backdrop) { position: relative; z-index: 1; }
.rf-finished .rf-orn { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .rf-fin * { animation: none !important; } }

@keyframes pmv-holo-drift { from { background-position: 0 0; } to { background-position: 200% 0; } }
@keyframes pmv-holo-materialize {
  0% { opacity: 0; transform: translate3d(0, -44px, 0); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(0, 340px, 0); }
}
@keyframes pmv-laser-down { from { rotate: -14deg; } to { rotate: 14deg; } }
@keyframes pmv-laser-up { from { rotate: 12deg; } to { rotate: -12deg; } }
@keyframes pmv-crate-leaf {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  4% { opacity: 1; }
  40% { transform: translate3d(620px, 150px, 0) rotate(260deg); opacity: 1; }
  41%, 100% { transform: translate3d(620px, 150px, 0) rotate(260deg); opacity: 0; }
}
@keyframes pmv-herb-grow { to { stroke-dashoffset: 0; } }
@keyframes pmv-herb-leaf { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes pmv-herb-dapple { from { transform: translate3d(-6px, -3px, 0); } to { transform: translate3d(8px, 4px, 0); } }
@keyframes pmv-vw-grid { from { background-position: 0 0, 0 0; } to { background-position: 0 26px, 0 26px; } }
@keyframes pmv-vw-track { 0% { transform: translate3d(0, -12px, 0); opacity: 0; } 8% { opacity: 1; } 60% { transform: translate3d(0, 350px, 0); opacity: 1; } 61%, 100% { opacity: 0; transform: translate3d(0, 350px, 0); } }
@keyframes pmv-vw-dialog { 0%, 8% { opacity: 0; } 9%, 44% { opacity: 1; } 45%, 100% { opacity: 0; } }
@keyframes pmv-dart-blink { 0%, 92%, 96%, 100% { transform: scaleY(1); } 93%, 95% { transform: scaleY(.12); } }
@keyframes pmv-dart-sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes pmv-dart-peek { 0%, 100% { transform: translate3d(0, 0, 0); } 45% { transform: translate3d(0, -4px, 0) rotate(-4deg); } 60% { transform: translate3d(0, -4px, 0) rotate(3deg); } 75% { transform: translate3d(0, 0, 0); } }
@keyframes pmv-den-peek { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 40% { transform: translate3d(0, -3px, 0) rotate(-6deg); } 55% { transform: translate3d(0, -3px, 0) rotate(5deg); } 70% { transform: translate3d(0, 0, 0) rotate(0deg); } }
@keyframes pmv-holo-rise { from { background-position: 0 0; } to { background-position: 0 -3px; } }
@keyframes pmv-holo-roll { 0% { transform: translate3d(0, -30px, 0); } 100% { transform: translate3d(0, 350px, 0); } }
@keyframes pmv-holo-drop { 0%, 91%, 93%, 95%, 100% { opacity: 0; } 92% { opacity: 1; } 94% { opacity: .6; } }
@keyframes pmv-holo-tear-a {
  0%, 86%, 90%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: none; }
  87% { opacity: 1; clip-path: inset(22% 0 64% 0); transform: translate3d(9px, 0, 0); }
  88% { opacity: 1; clip-path: inset(58% 0 30% 0); transform: translate3d(-12px, 0, 0); }
  89% { opacity: 1; clip-path: inset(40% 0 52% 0); transform: translate3d(5px, 0, 0); }
}
@keyframes pmv-holo-tear-b {
  0%, 86%, 90%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: none; }
  87% { opacity: 1; clip-path: inset(24% 0 62% 0); transform: translate3d(-7px, 0, 0); }
  88% { opacity: 1; clip-path: inset(60% 0 28% 0); transform: translate3d(10px, 0, 0); }
  89% { opacity: 1; clip-path: inset(70% 0 20% 0); transform: translate3d(-4px, 0, 0); }
}
@keyframes pmv-holo-sweep { 0%, 82% { transform: translate3d(-80px, 0, 0); opacity: 0; } 84% { opacity: 1; } 100% { transform: translate3d(620px, 0, 0); opacity: 0; } }
@keyframes pmv-laser { from { transform: rotate(-6deg); } to { transform: rotate(8deg); } }
@keyframes pmv-flash { 0%, 90%, 100% { opacity: 0; } 91% { opacity: 1; } 93% { opacity: .2; } }
@keyframes pmv-start-1 { 0%, 9% { opacity: 0; } 10%, 57% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes pmv-start-2 { 0%, 17% { opacity: 0; } 18%, 57% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes pmv-start-3 { 0%, 25% { opacity: 0; } 26%, 57% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes pmv-start-4 { 0%, 33% { opacity: 0; } 34%, 57% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes pmv-start-5 { 0%, 41% { opacity: 0; } 42%, 57% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes pmv-px-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes pmv-px-frame-a { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes pmv-px-frame-b { 0%, 49% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes pmv-px-march { from { transform: translate3d(-12px, 0, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes pmv-warren-bob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -3px, 0); } }
@keyframes pmv-warren-hop { 0%, 55% { transform: translate3d(0, 0, 0); } 56%, 70% { transform: translate3d(0, -9px, 0); } 71%, 84% { transform: translate3d(0, -3px, 0); } 85%, 100% { transform: translate3d(0, 0, 0); } }
@keyframes pmv-warren-twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes pmv-horror-drip { 0% { transform: scaleY(0); } 70% { transform: scaleY(1.04); } 100% { transform: scaleY(1); } }
@keyframes pmv-horror-bead {
  0%, 62% { opacity: 0; transform: translate3d(0, 0, 0) scale(.4); }
  70% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  100% { opacity: 0; transform: translate3d(0, 220px, 0) scaleY(1.4); }
}
@keyframes pmv-horror-breathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes pmv-horror-flick { 0%, 93%, 94.4%, 95.6%, 100% { opacity: 0; } 93.6% { opacity: 1; } 95% { opacity: .55; } }
@keyframes pmv-horror-glitch { 0%, 88%, 92%, 100% { transform: translate3d(0, 0, 0); opacity: 0; } 89% { transform: translate3d(var(--dx), 0, 0); opacity: 1; } 90.5% { transform: translate3d(calc(var(--dx) * -0.6), 0, 0); opacity: 1; } }
@keyframes pmv-blossom-fall { 0% { transform: translate3d(0, -20px, 0) rotate(0deg); opacity: 0; } 8% { opacity: .95; } 50% { transform: translate3d(var(--sw, 24px), 170px, 0) rotate(180deg); } 92% { opacity: .95; } 100% { transform: translate3d(0, 370px, 0) rotate(360deg); opacity: 0; } }
@keyframes pmv-blossom-drift { from { transform: translateX(-8px); } to { transform: translateX(8px); } }
@keyframes pmv-kennel-flicker { 0%, 100% { opacity: .85; } 40% { opacity: 1; } 55% { opacity: .7; } 70% { opacity: .95; } }
@keyframes pmv-kennel-swing { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) {
  .vp-civic [style*="pmv-blossom-drift"], .vp-civic [style*="pmv-kennel-flicker"], .vp-civic [style*="pmv-kennel-swing"] { animation: none !important; }
  .vp-civic [style*="pmv-blossom-fall"] { animation: none !important; opacity: 0 !important; }
  .vp-civic [style*="pmv-horror-bead"], .vp-civic [style*="pmv-horror-breathe"], .vp-civic [style*="pmv-horror-flick"], .vp-civic [style*="pmv-horror-glitch"] { animation: none !important; }
  .vp-civic [style*="pmv-horror-flick"], .vp-civic [style*="pmv-horror-bead"], .vp-civic [style*="pmv-horror-glitch"] { opacity: 0 !important; }
  .vp-civic [style*="pmv-holo-drift"] { animation: none !important; }
  .vp-civic [style*="pmv-holo-materialize"] { animation: none !important; opacity: 0 !important; }
}

.rf-backdrop { position: absolute; inset: 0; z-index: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.rf-backdrop img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rf-backdrop::after { content: ""; position: absolute; inset: 0; background: var(--paperSolid, var(--paperBg)); opacity: .56; }
