@charset "utf-8";

/* [등급 뱃지] /_inc/js/blog-tier.js — 마스터픽·프라임픽·프로픽·엘리트픽·스타터픽 */
.rp-tier-wrap { display: inline-flex; vertical-align: middle; margin-left: 6px; }
.rp-tier { --tc: #9aa0a6; --tb: rgba(154, 160, 166, .14); display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px 2px 6px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--tc) 55%, transparent); background: var(--tb); color: var(--tc); font-size: 11px; font-weight: 700; line-height: 18px; letter-spacing: -.01em; white-space: nowrap; }
.rp-tier-ic { width: 14px; height: 14px; flex: 0 0 auto; fill: currentColor; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.rp-tier-ic .bt-cut { fill: none; stroke: #161616; stroke-width: 1.5; }
.rp-tier-prime .rp-tier-ic .bt-cut { stroke: rgba(22, 22, 22, .55); stroke-width: 1; }
.rp-tier-starter .rp-tier-ic { fill: none; stroke-width: 2; }
.rp-tier-starter .rp-tier-ic path:nth-child(n+2) { fill: currentColor; stroke-width: 1; }

.rp-tier-master  { --tc: #f5c242; --tb: linear-gradient(135deg, rgba(245, 194, 66, .25), rgba(255, 140, 40, .15)); }
.rp-tier-prime   { --tc: #b88cff; --tb: linear-gradient(135deg, rgba(184, 140, 255, .24), rgba(110, 160, 255, .14)); }
.rp-tier-pro     { --tc: #5aa9ff; --tb: rgba(90, 169, 255, .15); }
.rp-tier-elite   { --tc: #4cc38a; --tb: rgba(76, 195, 138, .15); }
.rp-tier-starter { --tc: #9aa0a6; --tb: rgba(154, 160, 166, .14); }
.rp-tier-master { box-shadow: 0 0 10px rgba(245, 194, 66, .28); }

/* 큰 등급 엠블럼 (마이페이지 프로필 카드) — 게임 티어 표시처럼 */
.rp-emblem { --tc: #9aa0a6; display: flex; flex-direction: column; align-items: center; margin: 0 auto 6px; text-align: center; }
.rp-emblem-label { margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: rgba(255, 255, 255, .5); }
.rp-emblem-medal { position: relative; display: flex; align-items: center; justify-content: center; width: 132px; height: 132px; border-radius: 50%; color: var(--tc);
  border: 3px solid var(--tc);
  background: radial-gradient(circle at 50% 32%, color-mix(in srgb, var(--tc) 30%, #181818), #0d0d0d 72%);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--tc) 13%, transparent), 0 0 38px color-mix(in srgb, var(--tc) 38%, transparent), inset 0 0 22px color-mix(in srgb, var(--tc) 20%, transparent); }
.rp-emblem-medal::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--tc) 55%, transparent); }
.rp-emblem-ic { width: 66px; height: 66px; fill: currentColor; stroke: currentColor; stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--tc) 60%, transparent)); }
.rp-emblem-ic .bt-cut { fill: none; stroke: #0d0d0d; stroke-width: 1.5; }
.rp-emblem-prime .rp-emblem-ic .bt-cut { stroke: rgba(13, 13, 13, .55); stroke-width: 1; }
.rp-emblem-starter .rp-emblem-ic { fill: none; stroke-width: 2; }
.rp-emblem-starter .rp-emblem-ic path:nth-child(n+2) { fill: currentColor; stroke-width: 1; }
.rp-emblem-q { font-size: 46px; font-weight: 800; line-height: 1; opacity: .75; }
.rp-emblem-name { margin-top: 16px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--tc); text-shadow: 0 0 18px color-mix(in srgb, var(--tc) 40%, transparent); }
.rp-emblem-sub { margin-top: 6px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .62); word-break: keep-all; }

.rp-emblem-master  { --tc: #f5c242; }
.rp-emblem-prime   { --tc: #b88cff; }
.rp-emblem-pro     { --tc: #5aa9ff; }
.rp-emblem-elite   { --tc: #4cc38a; }
.rp-emblem-starter { --tc: #aab0b6; }
.rp-emblem-none .rp-emblem-medal { border-style: dashed; background: #111; box-shadow: none; }
.rp-emblem-none .rp-emblem-medal::after { display: none; }
.rp-emblem-none .rp-emblem-name { font-size: 18px; color: rgba(255, 255, 255, .7); text-shadow: none; }
.rp-emblem-master .rp-emblem-medal { animation: rpEmblemGlow 3.2s ease-in-out infinite; }
.rp-emblem.is-busy .rp-emblem-medal { animation: rpEmblemBusy 1.4s ease-in-out infinite; }
@keyframes rpEmblemGlow { 0%, 100% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--tc) 13%, transparent), 0 0 30px color-mix(in srgb, var(--tc) 32%, transparent), inset 0 0 22px color-mix(in srgb, var(--tc) 20%, transparent); } 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--tc) 18%, transparent), 0 0 54px color-mix(in srgb, var(--tc) 55%, transparent), inset 0 0 28px color-mix(in srgb, var(--tc) 28%, transparent); } }
@keyframes rpEmblemBusy { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rp-emblem-master .rp-emblem-medal, .rp-emblem.is-busy .rp-emblem-medal { animation: none; } }
