/* =========================
   블록로얄 보스 레이드 (2026-11-18) — 보스 판·배경·보스 움직임·화면 방해·결과
   ========================= */
.yr-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 10px; }
.yr-btn { font-weight: 900; background: linear-gradient(135deg, #5a1830, #a12a4a); color: #fff; border-color: #ff6b8a; text-align: center; text-decoration: none; }
.yr-btn.aug { background: linear-gradient(135deg, #3a1868, #8a3ad0); border-color: #c88bff; }
.yr-home h3 { color: #ffb3c4; }
@media (max-width: 520px) { .yr-entry { grid-template-columns: 1fr; } }

/* ---- 보스 배경 (장면) ---- */
.bg-swamp { --bg1: #1b3a24; --bg2: #0c1e12; --acc: #6ee08a; }
.bg-lava { --bg1: #5a1608; --bg2: #1e0703; --acc: #ff8a3c; }
.bg-ice { --bg1: #1d4a6e; --bg2: #0a1a2c; --acc: #9be6ff; }
.bg-factory { --bg1: #2f3644; --bg2: #11151d; --acc: #ff5050; }
.bg-shadow { --bg1: #2b1250; --bg2: #0c0418; --acc: #c88bff; }
.bg-storm { --bg1: #2c2f45; --bg2: #0d0f1c; --acc: #ffe14a; }
.bg-clock { --bg1: #4a3416; --bg2: #160e05; --acc: #e8c98a; }
.bg-deep { --bg1: #0e3e4a; --bg2: #031418; --acc: #5af0e0; }
.bg-hanok { --bg1: #4a1420; --bg2: #160408; --acc: #ffcf5a; }
.bg-void { --bg1: #200838; --bg2: #05010c; --acc: #e08bff; }

/* ---- 대기실 보스 카드 ---- */
.yr-lobby { grid-column: 1 / -1; }
.yr-lcard { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; margin-top: 8px; color: #f4f0ff; background: radial-gradient(circle at 20% 30%, var(--bg1), var(--bg2)); border: 1px solid color-mix(in srgb, var(--acc) 60%, transparent); }
.yr-lcard p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; }
.yr-lart { flex: 0 0 96px; height: 96px; animation: yrFloat 3s ease-in-out infinite; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.yr-lart svg { width: 100%; height: 100%; }
.yr-st { color: #ffd36a; letter-spacing: 1px; font-size: 12px; }
.yr-tip { color: var(--acc); }
.yr-meta { opacity: .85; }

/* ---- 경기 중 보스 판 ---- */
.yr-panel { display: flex; gap: 10px; align-items: stretch; margin: 6px auto 4px; max-width: 1100px; padding: 6px 10px; border-radius: 14px; color: #fff; background: linear-gradient(180deg, var(--bg1), var(--bg2)); border: 1px solid color-mix(in srgb, var(--acc) 55%, transparent); box-shadow: 0 6px 24px rgba(0,0,0,.35), inset 0 0 40px rgba(0,0,0,.35); position: relative; overflow: hidden; }
.yr-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 60%, color-mix(in srgb, var(--acc) 30%, transparent), transparent 45%); pointer-events: none; }
.yr-scene { position: relative; flex: 0 0 132px; height: 112px; }
.yr-art { position: absolute; inset: -6px 0 0 0; filter: drop-shadow(0 8px 12px rgba(0,0,0,.55)); transform-origin: 50% 90%; }
.yr-art svg { width: 100%; height: 100%; overflow: visible; }
.yr-parts { position: absolute; right: -6px; bottom: -2px; display: flex; gap: 2px; }
.yr-part { width: 30px; text-align: center; cursor: pointer; }
.yr-part svg { width: 28px; height: 28px; animation: yrFloat 2s ease-in-out infinite; }
.yr-part i { display: block; height: 4px; background: rgba(0,0,0,.5); border-radius: 2px; overflow: hidden; }
.yr-part i b { display: block; height: 100%; background: #ff5a6e; }
.yr-part.on svg { filter: drop-shadow(0 0 4px #ffd36a); }
.yr-pop { position: absolute; left: 50%; top: 30%; pointer-events: none; }
.yr-pop b { position: absolute; left: -20px; font: 900 18px/1 system-ui, sans-serif; color: #fff; text-shadow: 0 2px 0 #000, 0 0 8px #ff5050; animation: yrPop .9s ease-out forwards; white-space: nowrap; }
.yr-pop b.proc { color: #ffd36a; font-size: 20px; }
.yr-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; position: relative; }
.yr-name { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.yr-name b { font-size: 17px; letter-spacing: .5px; text-shadow: 0 2px 0 rgba(0,0,0,.6); }
.yr-ph { font-size: 12px; padding: 1px 7px; border-radius: 8px; background: rgba(0,0,0,.35); color: var(--acc); }
.yr-tier { font-size: 11px; opacity: .75; margin-left: auto; }
.yr-hp { position: relative; height: 18px; border-radius: 9px; background: rgba(0,0,0,.55); overflow: hidden; border: 1px solid rgba(255,255,255,.18); }
.yr-hp .f { position: absolute; inset: 0; transform-origin: left; background: linear-gradient(90deg, #ff3b5c, #ff8a5c 60%, #ffd36a); transition: transform .25s ease-out; }
.yr-hp .s { position: absolute; inset: 0 0 auto 0; height: 6px; top: 0; transform-origin: left; background: linear-gradient(90deg, #7af0ff, #c0f8ff); box-shadow: 0 0 6px #7af0ff; transition: transform .25s; }
.yr-hp .m { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.55); }
.yr-hp b { position: absolute; inset: 0; font: 800 11px/18px system-ui, sans-serif; text-align: center; text-shadow: 0 1px 2px #000; }
.yr-tele, .yr-mission { position: relative; padding: 3px 8px; border-radius: 8px; font-size: 12.5px; font-weight: 800; overflow: hidden; }
.yr-tele { background: rgba(255,60,80,.25); border: 1px solid rgba(255,90,110,.6); }
.yr-tele.mine { background: rgba(255,40,60,.5); animation: yrBlink .5s ease-in-out infinite alternate; }
.yr-tele i, .yr-mission i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: left; background: #ff6b8a; }
.yr-mission { background: rgba(255,211,106,.18); border: 1px solid rgba(255,211,106,.6); color: #ffe9b0; }
.yr-mission i { background: #ffd36a; }
.yr-row { display: flex; gap: 10px; align-items: center; font-size: 12px; flex-wrap: wrap; }
.yr-gauge { display: inline-flex; gap: 6px; align-items: center; }
.yr-gauge i, .yr-charge i { display: inline-block; width: 90px; height: 7px; border-radius: 4px; background: rgba(0,0,0,.5); overflow: hidden; }
.yr-gauge i b { display: block; height: 100%; background: linear-gradient(90deg, #5ef08a, #b8ffb0); transition: width .3s; }
.yr-gauge em { font-style: normal; color: #ff9db0; }
.yr-charge i b { display: block; height: 100%; background: linear-gradient(90deg, #ffe14a, #fff8b0); }
.yr-my { color: #ffd36a; font-weight: 800; }
.yr-tgt { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; font-size: 11px; }
.yr-tgt span { opacity: .75; margin-right: 2px; }
.yr-tgt button { font-size: 11px; padding: 2px 7px; border-radius: 7px; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.3); color: #fff; cursor: pointer; }
.yr-tgt button.on { background: var(--acc); color: #111; font-weight: 800; }

/* ---- 보스 움직임 ---- */
.yr-art.st-idle { animation: yrFloat 3s ease-in-out infinite; }
.yr-art .bb { transform-origin: 50% 100%; animation: yrBreath 2.4s ease-in-out infinite; }
.yr-art .be { transform-origin: center; transform-box: fill-box; animation: yrBlinkEye 4.5s infinite; }
.yr-art .bl { transform-origin: right center; transform-box: fill-box; animation: yrSwingL 2.6s ease-in-out infinite; }
.yr-art .br { transform-origin: left center; transform-box: fill-box; animation: yrSwingR 2.6s ease-in-out infinite; }
.yr-art .bf { animation: yrFlick .6s ease-in-out infinite alternate; }
.yr-art .bt { transform-origin: top center; transform-box: fill-box; animation: yrWiggle 1.8s ease-in-out infinite; }
.yr-art .bo { animation: yrFloat 2.2s ease-in-out infinite; }
.yr-art.st-hit { animation: yrHit .26s ease-out; filter: brightness(2.2) drop-shadow(0 0 10px #fff); }
.yr-art.st-atk { animation: yrLunge .6s ease-in-out; }
.yr-art.st-stun { filter: saturate(.3) drop-shadow(0 8px 12px rgba(0,0,0,.5)); animation: yrStun 1s ease-in-out infinite; }
.yr-art.st-stun::after { content: "💫"; position: absolute; left: 50%; top: -4px; font-size: 22px; transform: translateX(-50%); animation: yrSpin 1s linear infinite; }
.yr-art.st-phase { animation: yrPhase 1.6s ease-in-out; }
.yr-art.rage { filter: drop-shadow(0 0 10px #ff3b3b) drop-shadow(0 0 18px #ff3b3b) saturate(1.4); }
.yr-art.rage .bb { animation-duration: 1s; }
.yr-art.st-dead { animation: yrDead 1.6s ease-in forwards; }

/* ---- 내 판 위 방해 ---- */
.yr-ov { position: absolute; inset: 0; pointer-events: none; z-index: 5; overflow: hidden; }
.yr-ov > * { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.yr-ov.fog .yr-fog { opacity: 1; background: radial-gradient(ellipse 38% 30% at 50% 62%, transparent 50%, rgba(8,4,18,.97) 100%); }
.yr-ink i { position: absolute; width: 38%; height: 26%; border-radius: 50%; background: radial-gradient(circle, #0b0b14 55%, rgba(11,11,20,.0) 72%); }
.yr-ink i:nth-child(1) { left: 6%; top: 30%; } .yr-ink i:nth-child(2) { left: 52%; top: 46%; } .yr-ink i:nth-child(3) { left: 20%; top: 66%; width: 30%; } .yr-ink i:nth-child(4) { left: 58%; top: 18%; width: 28%; }
.yr-ov.ink .yr-ink { opacity: .92; }
.yr-tent { left: -32%; right: auto; width: auto; opacity: 0; transform: translateX(-30%); transition: opacity .3s, transform .4s; }
.yr-tent svg { height: 100%; width: auto; }
.yr-ov.tent .yr-tent { opacity: .78; transform: translateX(0); animation: yrWiggle 1.6s ease-in-out infinite; }
.yr-ov.fake .yr-fake { opacity: .8; animation: yrFlick .4s steps(2) infinite; }
.yr-cols i { position: absolute; top: 0; bottom: 0; width: 10%; background: linear-gradient(180deg, rgba(255,60,60,.0), rgba(255,60,60,.45)); border-left: 1px dashed #ff6b6b; border-right: 1px dashed #ff6b6b; animation: yrBlink .35s ease-in-out infinite alternate; }
.yr-cols.on { opacity: 1; }
.yr-downbox { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: rgba(10,4,20,.75); text-align: center; padding: 10px; font-weight: 800; }
.yr-downbox b { font-size: 15px; }
.yr-downbox span { color: #8dffa6; }
body.yr-down .yr-downbox { opacity: 1; }
.yr-bombbox { inset: auto 6% 6% 6%; padding: 6px; text-align: center; font-weight: 900; color: #fff; background: rgba(200,40,20,.82); border-radius: 10px; border: 2px solid #ffb02e; }
.yr-bombbox.on { opacity: 1; animation: yrBlink .45s ease-in-out infinite alternate; }
body.yr-hidenext .br-col:last-child .br-box:first-child canvas { filter: brightness(.05) blur(3px); }
body.yr-hidenext .br-col:last-child .br-box:first-child::after { content: "🔒"; position: absolute; left: 50%; top: 40%; font-size: 26px; transform: translateX(-50%); }
body.yr-holdseal .br-col:first-child .br-box:first-child { filter: grayscale(1) brightness(.5); }
body.yr-holdseal .br-col:first-child .br-box:first-child::after { content: "❄️"; position: absolute; right: 6px; top: 4px; font-size: 18px; }
.br-col .br-box { position: relative; }
body.yr-shake #brBoard { animation: yrShake .18s linear infinite; }
/* 레이드에서는 배틀로얄용 표시 숨김 */
body.br-raid #targetBox, body.br-raid .br-hud .not-score:not(.hi) { display: none; }

/* ---- 결과 ---- */
.yr-endart { width: 150px; height: 150px; margin: 0 auto -6px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.5)); animation: yrFloat 3s ease-in-out infinite; }
.yr-endart svg { width: 100%; height: 100%; }
.yr-endart:not(.lost) { animation: yrDead 2s ease-in forwards; animation-delay: .6s; }
.yr-endart.lost { filter: drop-shadow(0 0 16px #ff3b3b); }

/* ---- 폰 ---- */
@media (max-width: 700px) {
  .yr-panel { margin: 2px 4px; padding: 4px 6px; gap: 6px; }
  .yr-scene { flex-basis: 70px; height: 64px; }
  .yr-name b { font-size: 14px; } .yr-tier, .yr-st { display: none; }
  .yr-hp { height: 14px; } .yr-hp b { line-height: 14px; font-size: 10px; }
  .yr-tele, .yr-mission { font-size: 11px; padding: 2px 6px; }
  .yr-row { font-size: 10.5px; gap: 6px; } .yr-gauge i { width: 54px; }
  .yr-tgt button { padding: 1px 5px; font-size: 10px; }
  .yr-part { width: 22px; } .yr-part svg { width: 20px; height: 20px; }
  .yr-lart { flex-basis: 70px; height: 70px; }
}
body.br-lite .yr-art, body.br-lite .yr-art * { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .yr-art, .yr-art *, .yr-lart, .yr-endart, .yr-part svg { animation: none !important; } }

@keyframes yrFloat { 50% { transform: translateY(-5px); } }
@keyframes yrBreath { 50% { transform: scale(1.025, .975); } }
@keyframes yrBlinkEye { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes yrSwingL { 50% { transform: rotate(-8deg); } }
@keyframes yrSwingR { 50% { transform: rotate(8deg); } }
@keyframes yrFlick { to { opacity: .45; } }
@keyframes yrWiggle { 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }
@keyframes yrHit { 30% { transform: translateX(-6px) scale(.96); } 60% { transform: translateX(5px); } }
@keyframes yrLunge { 40% { transform: scale(1.14) translateY(4px); } }
@keyframes yrStun { 50% { transform: rotate(-4deg); } }
@keyframes yrPhase { 30% { transform: scale(1.2); filter: brightness(2) drop-shadow(0 0 20px var(--acc)); } }
@keyframes yrDead { 30% { transform: scale(1.1) rotate(-6deg); filter: brightness(2.5); } 100% { transform: scale(.4) translateY(30px) rotate(20deg); opacity: 0; filter: blur(4px) brightness(3); } }
@keyframes yrPop { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-40px); opacity: 0; } }
@keyframes yrBlink { to { opacity: .55; } }
@keyframes yrShake { 25% { transform: translate(2px, -1px); } 75% { transform: translate(-2px, 1px); } }
@keyframes yrSpin { to { transform: translateX(-50%) rotate(360deg); } }
/* 혼자 도전 줄 */
.yr-solo { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 4px 0 6px; padding: 8px 10px; border-radius: 10px; background: rgba(255,90,110,.12); border: 1px solid rgba(255,107,138,.45); }
.yr-solo b { color: #ffb3c4; }
.yr-solo select { flex: 1; min-width: 150px; padding: 6px 8px; border-radius: 8px; background: #160c22; color: #fff; border: 1px solid rgba(255,255,255,.25); }
.yr-solo-aug { display: inline-flex; gap: 4px; align-items: center; font-size: 13px; }
.yr-solo-info { margin: 0 0 8px; min-height: 1em; }

/* =========================
   ① 그림 입체감·페이즈별 모습 / ② 공격 연출 / ③ 컷신 (2026-11-18 fx1)
   ========================= */
.yr-scene { flex-basis: 168px; height: 140px; }
.yr-pcv { position: absolute; inset: -6px -10px; width: calc(100% + 20px); height: calc(100% + 12px); pointer-events: none; }
.yr-aura { position: absolute; left: 10%; right: 10%; top: 8%; bottom: 0; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--acc2, #fff) 45%, transparent), transparent 65%); opacity: .35; filter: blur(4px); animation: yxAura 2.8s ease-in-out infinite; pointer-events: none; }
.yr-panel.ph2 .yr-aura { opacity: .75; background: radial-gradient(circle, rgba(255,60,60,.65), transparent 65%); animation-duration: 1.1s; }
.yr-art svg:first-child { filter: drop-shadow(0 0 1px rgba(255,255,255,.35)) drop-shadow(0 6px 6px rgba(0,0,0,.45)) saturate(1.08); }
.yr-art::before { content: ""; position: absolute; inset: 8% 14% 4%; border-radius: 46%; background: radial-gradient(ellipse at 32% 18%, rgba(255,255,255,.28), transparent 45%), radial-gradient(ellipse at 60% 95%, rgba(0,0,0,.28), transparent 55%); mix-blend-mode: overlay; pointer-events: none; z-index: 2; }
.yr-crack { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; pointer-events: none; z-index: 3; }
.yr-crack path { fill: none; stroke: color-mix(in srgb, var(--acc2, #fff) 70%, #fff); stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 3px var(--acc2, #fff)); }
.yr-art.ph1 .yr-crack { opacity: .65; }
.yr-art.ph2 .yr-crack { opacity: 1; }
.yr-art.ph1 svg:first-child .be { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 6px var(--acc2, #fff)); }
.yr-art.ph2 svg:first-child { filter: drop-shadow(0 0 6px #ff3b3b) drop-shadow(0 0 14px #ff3b3b) saturate(1.5) contrast(1.1) hue-rotate(-12deg); }
.yr-art.ph2 svg:first-child .be { filter: drop-shadow(0 0 4px #ff2020) drop-shadow(0 0 10px #ff2020) brightness(1.3); }
.yr-art.ph2 .bb, .yr-art.ph2 .bl, .yr-art.ph2 .br { animation-duration: 1.2s; }
.yr-art.yx-cast { animation: yxCast .65s ease-out !important; }
.yr-art.yx-flinch { animation: yxFlinch .28s ease-out; }

.yx-fxl { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.yx-fxl > * { position: absolute; will-change: transform, opacity; }
.yx-proj { width: 34px; height: 34px; transform: translate(-50%, -50%); filter: drop-shadow(0 0 8px rgba(255,255,255,.6)); }
.yx-proj svg { width: 100%; height: 100%; }
.yx-proj.s-fire { width: 40px; height: 40px; filter: drop-shadow(0 0 12px #ff7a1a) drop-shadow(0 0 22px #ff4d1a); }
.yx-proj.s-shard { width: 26px; height: 40px; filter: drop-shadow(0 0 8px #9be6ff); }
.yx-proj.s-orb { filter: drop-shadow(0 0 10px #c88bff); }
.yx-ember { width: 10px; height: 10px; border-radius: 50%; transform: translate(-50%, -50%); filter: blur(1px); }
.yx-laser { height: 8px; margin-top: -4px; transform-origin: 0 50%; border-radius: 4px; background: linear-gradient(90deg, rgba(255,80,80,.2), #ff4040 20%, #fff 50%, #ff4040 80%, rgba(255,80,80,.2)); box-shadow: 0 0 14px #ff3030, 0 0 28px #ff3030; }
.yx-boltsvg { inset: 0; }
.yx-boltsvg polyline { fill: none; stroke: #fff8b0; stroke-width: 5; filter: drop-shadow(0 0 6px #ffe14a) drop-shadow(0 0 14px #ffe14a); stroke-linejoin: round; }
body.yx-flash::after { content: ""; position: fixed; inset: 0; background: rgba(255,250,200,.35); pointer-events: none; z-index: 59; }
.yx-hole { width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, #000 30%, #3a0c60 55%, rgba(200,107,255,0) 72%); box-shadow: 0 0 40px #c86bff inset; }
.yx-tent { width: 90px; transform-origin: 50% 100%; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.yx-tent svg { height: 100%; width: auto; }
.yx-club { width: 60px; height: 120px; transform-origin: 50% 90%; filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); }
.yx-club svg { width: 100%; height: 100%; }
.yx-splat { width: 140px; height: 110px; border-radius: 50% 45% 55% 40%; transform: translate(-50%, -50%); }
.yx-splat.s-blob { background: radial-gradient(circle, rgba(110,224,138,.8), rgba(110,224,138,0) 70%); }
.yx-splat.s-orb, .yx-splat.s-hole { background: radial-gradient(circle, rgba(60,10,90,.85), rgba(60,10,90,0) 70%); }
#brBoard.yx-hitboard { animation: yxHitBoard .38s ease-out; }
.yx-slash { width: 150px; height: 8px; border-radius: 50%; background: linear-gradient(90deg, transparent, #fff, #7af0ff, transparent); box-shadow: 0 0 12px #7af0ff; }
.yx-slash.gold { background: linear-gradient(90deg, transparent, #fff, #ffd36a, transparent); box-shadow: 0 0 14px #ffd36a; height: 10px; }
.yx-shard { width: 6px; height: 6px; background: #fff; box-shadow: 0 0 6px #7af0ff; transform: translate(-50%, -50%); }

.yx-cine { position: fixed; inset: 0; z-index: 70; pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: opacity .35s; background: radial-gradient(circle, rgba(0,0,0,.35), rgba(0,0,0,.82)); overflow: hidden; }
.yx-cine.on { opacity: 1; } .yx-cine.out { opacity: 0; }
.yx-cine.phase { background: radial-gradient(circle, rgba(60,0,0,.35), rgba(0,0,0,.85)); }
.yx-bigart { width: min(52vw, 300px); height: min(52vw, 300px); position: relative; filter: drop-shadow(0 16px 30px rgba(0,0,0,.6)) drop-shadow(0 0 30px var(--acc, #fff)); }
.yx-bigart svg { width: 100%; height: 100%; }
.yx-cine.intro .yx-bigart { animation: yxIntroArt 2.7s cubic-bezier(.2,.8,.2,1) both; }
.yx-bigart.roar { animation: yxRoar 1.9s ease-in-out both; }
.yx-bigart.ph2 { filter: drop-shadow(0 0 20px #ff3b3b) drop-shadow(0 0 40px #ff3b3b) saturate(1.5) hue-rotate(-12deg); }
.yx-bigart.laughing { animation: yxLaugh .35s ease-in-out infinite; }
.yx-piece { position: absolute; inset: 0; animation: yxShatter 1.6s .5s cubic-bezier(.3,.1,.6,1) forwards; }
.yx-piece svg { width: 100%; height: 100%; }
.yx-card { margin-top: 6px; text-align: center; color: #fff; text-shadow: 0 3px 0 #000, 0 0 18px rgba(0,0,0,.8); animation: yxCardIn .6s .3s both; position: relative; }
.yx-card small { display: block; letter-spacing: 8px; color: #ff6b8a; font-weight: 900; }
.yx-card b { display: block; font-size: clamp(26px, 6vw, 46px); font-weight: 900; letter-spacing: 1px; }
.yx-card span { color: #ffd36a; letter-spacing: 3px; } .yx-card em { display: block; font-style: normal; opacity: .85; font-size: 14px; margin-top: 2px; }
.yx-card.gold b { color: #ffd36a; text-shadow: 0 3px 0 #6a4a00, 0 0 24px #ffd36a; }
.yx-warn { position: absolute; left: 0; right: 0; height: 34px; display: flex; gap: 40px; background: repeating-linear-gradient(-45deg, #ffcc00 0 18px, #1a1a1a 18px 36px); overflow: hidden; align-items: center; }
.yx-warn.top { top: 12%; } .yx-warn.bot { bottom: 12%; }
.yx-warn i { flex: 0 0 auto; font-style: normal; font-weight: 900; font-size: 18px; letter-spacing: 6px; color: #fff; background: #c4001a; padding: 0 14px; animation: yxScroll 2.7s linear infinite; }
.yx-warn.bot i { animation-direction: reverse; background: #1a1a1a; color: #ffcc00; }
.yx-rays { position: absolute; width: 140vmax; height: 140vmax; background: repeating-conic-gradient(rgba(255,211,106,.25) 0 8deg, transparent 8deg 20deg); animation: yxSpin2 6s linear infinite; }
.yx-haha { font-weight: 900; font-size: clamp(30px, 7vw, 56px); color: #ff6b8a; text-shadow: 0 4px 0 #000; animation: yxLaugh .35s ease-in-out infinite; }
.yx-cine.lite .yx-card { animation: none; }

@keyframes yxAura { 50% { transform: scale(1.08); opacity: .5; } }
@keyframes yxCast { 30% { transform: scale(1.18) translateY(-4px); filter: brightness(1.6) drop-shadow(0 0 14px var(--acc2, #fff)); } }
@keyframes yxFlinch { 30% { transform: translateX(6px) rotate(3deg) scale(.96); filter: brightness(2); } }
@keyframes yxHitBoard { 20% { transform: translate(-4px, 3px); filter: brightness(1.5); } 50% { transform: translate(4px, -2px); } }
@keyframes yxIntroArt { 0% { transform: translateY(40vh) scale(.4); opacity: 0; } 35% { transform: translateY(0) scale(1.15); opacity: 1; } 50% { transform: scale(1); } 85% { transform: scale(1.02); opacity: 1; } 100% { transform: scale(1.05); opacity: .9; } }
@keyframes yxRoar { 0% { transform: scale(.8); } 25% { transform: scale(1.25) rotate(-3deg); } 30% { transform: scale(1.22) rotate(3deg); } 35% { transform: scale(1.25) rotate(-3deg); } 40%, 100% { transform: scale(1.15); } }
@keyframes yxLaugh { 50% { transform: translateY(-8px) rotate(-3deg) scale(1.03); } }
@keyframes yxShatter { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; filter: brightness(3); } }
@keyframes yxCardIn { from { transform: translateY(20px) scale(.9); opacity: 0; } }
@keyframes yxScroll { to { transform: translateX(-200px); } }
@keyframes yxSpin2 { to { transform: rotate(360deg); } }
@media (max-width: 700px) { .yr-scene { flex-basis: 84px; height: 76px; } .yx-warn { height: 26px; } .yx-warn i { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .yx-cine *, .yr-aura { animation: none !important; } }
body.br-lite .yr-aura, body.br-lite .yr-pcv { display: none; }

/* 경기 중 연출은 판을 가리지 않게 (2026-11-18 fx2) */
.yx-cine.phase { background: none; justify-content: flex-start; }
.yx-phase-row { display: flex; align-items: center; gap: 10px; padding: 8px 22px; border-radius: 16px; background: linear-gradient(90deg, rgba(25,0,8,.0), rgba(25,0,8,.94) 12%, rgba(25,0,8,.94) 88%, rgba(25,0,8,0)); box-shadow: 0 0 24px rgba(255,60,60,.35); }
.yx-bigart.small { width: 120px; height: 120px; }
.yx-cine.phase .yx-card { margin-top: 0; } .yx-cine.phase .yx-card b { font-size: clamp(18px, 3.4vw, 28px); }
body.yx-flash::after { background: rgba(255,250,200,.18); }
@media (max-width: 700px) { .yx-bigart.small { width: 64px; height: 64px; } }
