/* 예수님 찾기 — 휴대폰 세로 우선, PC 는 넓게. 색은 common/base.css 토큰 */
.fj-app { max-width: 1200px; margin: 0 auto; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.fj-main { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 0 16px 24px; }
body.fj-playing { overflow: hidden; overscroll-behavior: none; }
body.fj-playing .fj-app { touch-action: none; }      /* 놀이 중에는 화면 전체 확대(두 손가락)를 막는다. 띠만 옆으로 밀기 */
body.fj-playing .fj-strip { touch-action: pan-x; }
body.fj-playing .fj-app { height: 100vh; height: 100svh; }
body.fj-playing .fj-main { padding: 0; }

/* 장면 고르기 */
.fj-choose { display: grid; gap: 14px; justify-items: center; padding-top: 8px; }
.fj-lead { max-width: 32em; text-align: center; font-weight: 700; }
.fj-grid { width: 100%; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.fj-card { display: grid; gap: 6px; }
.fj-card-main { position: relative; display: grid; gap: 2px; padding: 8px 8px 12px; border: 0; border-radius: 22px; background: var(--white); color: var(--ink);
  text-align: left; font: inherit; cursor: pointer; box-shadow: 0 6px 0 rgba(28, 37, 84, .15); transition: transform .15s; }
.fj-card-main:hover { transform: translateY(-3px) rotate(-.6deg); }
.fj-card-main:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(28, 37, 84, .15); }
.fj-card-pic { position: relative; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background: var(--sky); }
.fj-card-pic > img:first-child { width: 100%; height: 100%; object-fit: cover; display: block; }
.fj-card-face { position: absolute; right: 8px; bottom: 8px; width: 64px; height: 64px; border-radius: 50%; background: var(--cream);
  border: 4px solid var(--gold); box-shadow: 0 3px 0 rgba(28, 37, 84, .2); transition: transform .25s cubic-bezier(.3, 1.7, .5, 1); }
.fj-card-main:hover .fj-card-face { transform: scale(1.15) rotate(-6deg); }
.fj-badge { position: absolute; left: 8px; top: 8px; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center;
  background: var(--gold); color: var(--ink); font-weight: 900; font-size: 20px; box-shadow: 0 3px 0 var(--gold-dark); }
.fj-card-title { font-size: 19px; font-weight: 800; line-height: 1.3; padding: 4px 4px 0; }
.fj-card-sub { font-size: 14px; font-weight: 600; opacity: .7; padding: 0 4px; }
.fj-card-again { justify-self: end; min-height: 44px; padding: 6px 16px; border: 0; border-radius: 999px; background: var(--gold); color: var(--ink); box-shadow: 0 4px 0 var(--gold-dark);
  font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; }

/* 이어 하기 · 단계 버튼 (1단계는 처음부터, 다음 단계는 앞 단계를 다 찾으면 열림) */
.fj-continue { min-height: 52px; font-size: 17px; }
.fj-badge--now { left: auto; right: 8px; top: 8px; font-size: 15px; background: var(--white); box-shadow: 0 3px 0 rgba(28, 37, 84, .2); }
.fj-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fj-lv { min-height: 52px; padding: 4px 2px; border: 0; border-radius: 16px; display: grid; justify-items: center; align-content: center; gap: 0;
  background: var(--white); color: var(--ink); font: inherit; cursor: pointer; box-shadow: 0 4px 0 rgba(28, 37, 84, .15); }
.fj-lv:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(28, 37, 84, .15); }
.fj-lv-mark { font-size: 18px; line-height: 1.1; }
.fj-lv-lock { display: block; width: 18px; height: 20px; margin: 0 auto; background: url(../../assets/ui/icon/lock.webp) center / contain no-repeat; } /* 잠긴 단계: 우리 자물쇠 스티커 */
.fj-lv-name { font-size: 14px; font-weight: 800; }
.fj-lv-n { font-size: 12px; font-weight: 800; opacity: .75; }
.fj-lv.done { background: var(--gold); box-shadow: 0 4px 0 var(--gold-dark); }
.fj-lv.now { box-shadow: 0 0 0 3px var(--ink), 0 4px 0 rgba(28, 37, 84, .15); }
.fj-lv.locked { background: #E6E2F0; color: rgba(28, 37, 84, .5); box-shadow: none; cursor: default; }

/* 놀이 판 */
.fj-game { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.fj-view { position: relative; flex: 1; min-height: 0; margin: 0 8px; overflow: hidden; overflow: clip; border-radius: 20px; background: #CDE7B0;
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: grab; }
.fj-view.grab { cursor: grabbing; }
.fj-view:focus-visible { outline-offset: -4px; }
.fj-world { position: absolute; left: 0; top: 0; width: 3000px; height: 2000px; transform-origin: 0 0; }
.fj-bg { position: absolute; left: 0; top: 0; width: 3000px; height: 2000px; max-width: none; pointer-events: none; }
/* 스티커 하나 = 배경 그림 한 장 + 발밑 그림자. --fx = 1 또는 -1 (좌우 뒤집기) */
.fj-s { position: absolute; background: center bottom / 100% 100% no-repeat; transform: scaleX(var(--fx, 1)); transform-origin: 50% 100%; pointer-events: none; }
.fj-s::before { content: ""; position: absolute; left: 18%; right: 18%; bottom: -3%; height: 7%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(40, 35, 30, .26), rgba(40, 35, 30, 0)); z-index: -1; }
.fj-s.fj-nope { animation: fj-nope .45s ease-in-out; }
/* 빈 곳을 누르면: 물음표 거품이 0.4초 흔들렸다 사라짐 */
.fj-miss { position: absolute; z-index: 5; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--ink); font: 900 24px/1 Paperlogy, sans-serif; box-shadow: 0 3px 0 rgba(28, 37, 84, .2); pointer-events: none;
  animation: fj-miss .4s ease-in-out, fj-fade .25s .4s forwards; }
@keyframes fj-miss { 0% { transform: scale(.4); } 25% { transform: scale(1.1) rotate(-14deg); } 50% { transform: rotate(12deg); } 75% { transform: rotate(-8deg); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .fj-miss { animation: fj-fade .25s .4s forwards; } }
.fj-h { position: absolute; background: 0 0 / 100% 100% no-repeat; pointer-events: none; }   /* 숨는 자리: 배경에서 오려 낸 물체 조각 */
.fj-s.fj-found { z-index: 3; animation: fj-pop .7s cubic-bezier(.3, 1.6, .5, 1); }
.fj-s.fj-found::after { content: ""; position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 6px dashed var(--gold); animation: fj-ring 1.2s ease-out forwards; }
.fj-t--jesus.fj-found::after { border: 8px solid #FFE08A; box-shadow: 0 0 30px 10px rgba(255, 224, 138, .8); animation: fj-glow 2.4s ease-out forwards; }
.fj-t--dada.fj-found { animation: fj-kick .5s ease-in-out 3; }
.fj-t--bomi.fj-found { animation: fj-hop .45s ease-in-out 3; }
.fj-t--siwoo.fj-found { animation: fj-wiggle .4s ease-in-out 4; }
.fj-t--bonbon.fj-found { animation: fj-wag .3s ease-in-out 6; }

.fj-hud { position: absolute; left: 8px; top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; pointer-events: none; }
.fj-scenes { pointer-events: auto; min-width: 64px; height: 56px; padding: 4px 10px; border: 0; border-radius: 18px; cursor: pointer; display: grid; justify-items: center; align-content: center;
  background: var(--cream); color: var(--ink); font: inherit; box-shadow: 0 4px 0 rgba(28, 37, 84, .2); }
.fj-scenes svg { width: 26px; height: 26px; fill: var(--siwoo); }
.fj-scenes span { font-size: 12px; font-weight: 900; line-height: 1.1; }
.fj-scenes:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(28, 37, 84, .2); }
.fj-s.fj-was, .fj-s.fj-was::after { animation: none; }
.fj-s.fj-hid.fj-found { z-index: auto; }   /* 물체 뒤에 숨은 대상은 찾은 뒤에도 물체 뒤에 (몸이 물체 앞으로 튀어나오지 않게) */
.fj-s.fj-was::after { opacity: 0; }
.fj-hud .chip { font-size: 16px; font-weight: 800; box-shadow: 0 3px 0 rgba(28, 37, 84, .15); font-variant-numeric: tabular-nums; }
.fj-zoom { position: absolute; right: 8px; top: 8px; display: grid; gap: 10px; }
.fj-zbtn { background: var(--cream); color: var(--ink); font-size: 32px; font-weight: 900; }
.fj-zbtn:disabled { color: rgba(28, 37, 84, .25); box-shadow: none; cursor: default; }
.fj-hint { position: absolute; left: 8px; bottom: 10px; width: 72px; height: 72px; border-radius: 50%; border: 0; cursor: pointer; padding: 6px;
  display: grid; place-items: center; background: var(--cream); box-shadow: 0 4px 0 rgba(28, 37, 84, .2); }
.fj-hint img { width: 100%; height: 100%; object-fit: contain; }
.fj-hint-label { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); padding: 1px 8px; border-radius: 999px; background: var(--ink); color: var(--cream);
  font-size: 12px; font-weight: 800; white-space: nowrap; }
.fj-hint:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(28, 37, 84, .2); }
.fj-hint.nudge { animation: fj-wiggle .9s ease-in-out infinite; background: var(--gold); box-shadow: 0 0 0 6px rgba(246, 183, 60, .45), 0 4px 0 var(--gold-dark); }
.fj-reticle { display: none; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border: 4px solid var(--ink); border-radius: 50%; box-shadow: 0 0 0 3px var(--cream); pointer-events: none; }
.fj-view.kb .fj-reticle { display: block; }

/* 말 한 줄 · 찾았을 때 카드 · 예수님 띠 */
.fj-say { position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%); width: min(calc(100% - 16px), 440px); display: flex; align-items: center; gap: 8px;
  pointer-events: none; animation: fj-in .25s ease-out; }
.fj-say img { width: 48px; height: 48px; border-radius: 50%; background: var(--cream); flex: none; }
.fj-say .bubble { flex: 1; box-shadow: 0 4px 0 rgba(28, 37, 84, .15); }
.fj-say .bubble::after { display: none; }
.fj-pop { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); width: min(calc(100% - 100px), 460px); margin-left: 40px; z-index: 8;
  display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 22px; background: var(--cream); color: var(--ink);
  box-shadow: 0 6px 0 rgba(28, 37, 84, .2); pointer-events: none; animation: fj-rise .35s cubic-bezier(.3, 1.5, .5, 1); }  /* 카드 아래 지도도 그대로 눌린다 */
.fj-pop img { width: 64px; height: 64px; border-radius: 50%; background: var(--white); flex: none; }
.fj-pop--jesus { background: #FFF1C4; box-shadow: 0 0 0 4px var(--gold), 0 6px 0 var(--gold-dark); }
.fj-pop-text { min-width: 0; }
.fj-pop-name { font-size: 19px; font-weight: 900; line-height: 1.2; }
.fj-pop-line { font-size: 16px; font-weight: 700; line-height: 1.35; }
.fj-pop-ref { font-size: 13px; font-weight: 700; opacity: .65; }
.fj-pop-tag { display: inline-block; margin: 1px 0 2px; padding: 0 8px; border-radius: 999px; background: rgba(28, 37, 84, .1); font-size: 12px; font-weight: 800; }
.fj-banner { position: absolute; left: 50%; top: 52px; transform: translateX(-50%); z-index: 9; padding: 8px 20px; border-radius: 999px; text-align: center; white-space: nowrap;
  background: var(--gold); box-shadow: 0 5px 0 var(--gold-dark); font-size: 21px; font-weight: 900; pointer-events: none; animation: fj-pop .6s cubic-bezier(.3, 1.6, .5, 1); }

/* 전신 카드 (Daniel 10/15): 단색+점무늬 바탕, 흰 이름 Paperlogy 900, 장면 속 그림 그대로 크게 */
.fj-who { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(28, 37, 84, .45); }
.fj-who-card { position: relative; width: min(100%, 360px); max-height: 100%; overflow: auto; display: grid; justify-items: center; gap: 6px; padding: 16px 16px 18px; border-radius: 28px;
  background-color: var(--bg); background-image: radial-gradient(rgba(255, 255, 255, .22) 1.6px, transparent 1.9px); background-size: 14px 14px;
  box-shadow: 0 8px 0 var(--deep); color: #fff; animation: fj-who-in .42s cubic-bezier(.3, 1.6, .5, 1); }
.fj-who.out { animation: fj-fade .18s ease-in forwards; }
.fj-who.out .fj-who-card { animation: fj-who-out .18s ease-in forwards; }
.fj-who-name { font-family: var(--font); font-weight: 900; font-size: 34px; line-height: 1.1; letter-spacing: -.03em; text-align: center; word-break: keep-all;
  text-shadow: 0 .055em 0 var(--deep), 0 .1em 0 var(--deep), 0 .16em .12em rgba(0, 0, 0, .18); }
.fj-who-tag { padding: 1px 10px; border-radius: 999px; background: rgba(255, 255, 255, .22); font-size: 13px; font-weight: 800; }
.fj-who-fig { display: block; width: auto; max-width: 100%; height: min(38vh, 300px); object-fit: contain; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .15)); }
.fj-who-done { position: absolute; right: 12px; top: 12px; padding: 4px 12px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 16px; font-weight: 900;
  transform: rotate(6deg); box-shadow: 0 3px 0 rgba(0, 0, 0, .18); }
.fj-who-text { width: 100%; padding: 10px 12px; border-radius: 18px; background: rgba(255, 255, 255, .94); color: var(--ink); text-align: center; }
.fj-who-line { font-size: 17px; font-weight: 700; line-height: 1.4; word-break: keep-all; }
.fj-who-ref { font-size: 14px; font-weight: 800; opacity: .65; margin-top: 2px; }
.fj-who-go { min-width: 60%; min-height: 52px; font-size: 18px; }
@keyframes fj-who-in { 0% { opacity: 0; transform: scale(.6) translateY(30px); } 100% { opacity: 1; transform: none; } }
@keyframes fj-who-out { to { opacity: 0; transform: scale(.85) translateY(20px); } }
@keyframes fj-fade { to { opacity: 0; } }

/* 찾을 목록 띠 (옆으로 밀기) */
.fj-drawer { position: relative; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }
/* 띠가 오른쪽으로 더 있으면: 끝을 흐리게 + 통통 튀는 화살표 (검수 10/15) */
.fj-drawer.more .fj-strip { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
.fj-drawer.more::after { content: "›"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--cream); font-size: 24px; font-weight: 900; pointer-events: none; animation: fj-nudge 1.2s ease-in-out infinite; }
@keyframes fj-nudge { 50% { transform: translate(4px, -50%); } }
.fj-strip { display: flex; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 8px 4px 4px; scrollbar-width: thin; }
.fj-slot { position: relative; flex: none; width: 68px; min-height: 84px; padding: 4px 2px; border: 0; border-radius: 16px; cursor: pointer; scroll-snap-align: center;
  display: grid; justify-items: center; align-content: start; gap: 2px; background: var(--cream); color: var(--ink); font: inherit;
  box-shadow: 0 3px 0 rgba(28, 37, 84, .15); transition: transform .2s; }
.fj-slot img { width: 52px; height: 52px; border-radius: 50%; background: var(--white); }
.fj-slot-name { font-size: 12px; font-weight: 800; line-height: 1.15; text-align: center; word-break: keep-all; }
.fj-slot-mark { position: absolute; right: 0; top: -4px; min-width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: 15px; font-weight: 900; background: var(--ink); color: var(--cream); }
.fj-slot-mark:empty { display: none; }
.fj-slot--friend { background: #EDE6FF; }   /* 구경 온 친구 칸은 연보라 (성경 인물과 나눔) */
.fj-slot--jesus { background: #FFF1C4; box-shadow: 0 0 0 3px var(--gold), 0 3px 0 var(--gold-dark); }
.fj-slot--jesus img { box-shadow: 0 0 0 3px var(--gold); }
.fj-slot.found { background: var(--gold); }
.fj-slot.found img { opacity: .85; }
.fj-slot.focused { transform: scale(1.12); box-shadow: 0 0 0 4px var(--ink), 0 3px 0 rgba(28, 37, 84, .15); z-index: 1; }
.fj-slot.fj-flash { animation: fj-pop .5s ease-out; }

/* 시작 말 · 조작 안내 */
.fj-intro { position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(28, 37, 84, .35); }
.fj-intro-card { width: min(100%, 520px); max-height: 100%; overflow: auto; display: grid; gap: 12px; justify-items: center; padding: 18px 16px; border-radius: var(--r-card);
  background: var(--sky); box-shadow: 0 6px 0 rgba(28, 37, 84, .2); animation: fj-rise .3s ease-out; }
.fj-intro-title { font-size: 22px; font-weight: 900; text-align: center; }
.fj-intro-card .say-row { width: 100%; margin: 0; display: flex; align-items: center; gap: 8px; }
.fj-intro-fig { width: 64px; height: 64px; border-radius: 50%; background: var(--cream); flex: none; }
.fj-intro-card .bubble { font-size: 18px; flex: 1; }
.fj-intro-faces { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.fj-intro-faces img { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); }
.fj-intro-faces img:first-child { box-shadow: 0 0 0 3px var(--gold); }
.fj-intro-sub, .fj-note { font-size: 15px; font-weight: 700; text-align: center; }
.fj-tut { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 8px;
  padding: 16px 20px; border-radius: var(--r-card); background: rgba(28, 37, 84, .82); color: var(--cream); font-weight: 800; text-align: center; pointer-events: none; }
.fj-tut-hand { font-size: 44px; width: 1.8em; height: 1.8em; margin: 0 auto; background: url(../../assets/ui/finger.svg) center / contain no-repeat; animation: fj-swipe 1.6s ease-in-out infinite; }
.fj-paused *, .fj-paused *::before, .fj-paused *::after { animation-play-state: paused !important; }

/* 축하 화면 */
.fj-end { grid-template-columns: minmax(0, 1fr); justify-items: center; }
/* 키 비율 (Daniel 10/15): 칸 높이 = 예수님 키, 아이들 높이는 game.js 가 % 로 (시우 80·다다 75·미미 61·봉봉 46). 모두 같은 바닥선 */
.fj-party { display: flex; align-items: flex-end; justify-content: center; gap: 6px; width: 100%; max-width: 480px; height: min(46vw, 220px); }
.fj-party-fig { width: auto; max-width: none; flex: 0 1 auto; min-width: 0; object-fit: contain; object-position: 50% 100%; /* 좁으면 다섯이 같은 비율로 함께 줄어 키 비율·바닥선 유지 (휴대폰에서 시우·봉봉이 잘렸음, 10/17) */ animation: fj-hop .6s ease-in-out infinite; transform-origin: 50% 100%; }
.fj-party-jesus { animation: none; filter: drop-shadow(0 0 14px rgba(255, 224, 138, .95)); }
.fj-verse { width: 100%; max-width: 560px; text-align: center; }
.fj-verse-text { font-size: 20px; font-weight: 800; line-height: 1.55; word-break: keep-all; }
.fj-verse-ref { font-size: 15px; font-weight: 700; opacity: .7; margin-top: 4px; }
.fj-verse-label { font-size: 13px; font-weight: 900; opacity: .6; margin-bottom: 2px; }
.fj-easy { margin-top: 12px; padding: 10px 12px; border-radius: 16px; background: #E4F4FF; font-size: 17px; font-weight: 700; line-height: 1.5; word-break: keep-all; }
.fj-stats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.fj-stats .chip { font-size: 17px; font-weight: 800; background: var(--white); }

@keyframes fj-in { from { opacity: 0; transform: translate(-50%, -8px); } }
@keyframes fj-rise { from { opacity: 0; transform: translate(-50%, 16px); } }
.fj-intro-card { animation-name: fj-rise2; }
@keyframes fj-rise2 { from { opacity: 0; transform: translateY(16px); } }
@keyframes fj-pop { 0% { transform: scaleX(var(--fx, 1)) scale(.7); } 60% { transform: scaleX(var(--fx, 1)) scale(1.18) translateY(-12px); } 100% { transform: scaleX(var(--fx, 1)) scale(1); } }
@keyframes fj-nope { 30% { transform: scaleX(var(--fx, 1)) translateY(-10px); } 60% { transform: scaleX(var(--fx, 1)) translateY(0) rotate(4deg); } }
@keyframes fj-hop { 50% { transform: scaleX(var(--fx, 1)) translateY(-18px); } }
@keyframes fj-kick { 30% { transform: scaleX(var(--fx, 1)) translateY(-16px) rotate(-10deg); } 60% { transform: scaleX(var(--fx, 1)) translateY(-8px) rotate(8deg); } }
@keyframes fj-wiggle { 25% { transform: rotate(-9deg); } 75% { transform: rotate(9deg); } }
@keyframes fj-wag { 50% { transform: scaleX(var(--fx, 1)) rotate(6deg); } }
@keyframes fj-ring { from { opacity: 1; transform: translate(-50%, -50%) scale(.4); } to { opacity: 0; transform: translate(-50%, -50%) scale(1.2); } }
@keyframes fj-glow { 0% { opacity: 1; transform: translate(-50%, -50%) scale(.3); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); } }
@keyframes fj-swipe { 0%, 100% { transform: translateX(-24px); } 50% { transform: translateX(24px); } }
.fj-banner p { animation: none; }

@media (min-width: 761px) { .fj-view { margin: 0 16px; } .fj-drawer { padding-left: 16px; padding-right: 16px; } .fj-strip { justify-content: center; } }
@media (max-height: 640px) { .fj-slot { min-height: 64px; width: 58px; } .fj-slot img { width: 44px; height: 44px; } .fj-slot-name { display: none; } }
@media (prefers-reduced-motion: reduce) { .fj-who-card, .fj-who.out, .fj-who.out .fj-who-card { animation: none; } .fj-s.fj-found, .fj-s.fj-nope, .fj-party-fig, .fj-hint.nudge { animation: none; } .fj-s.fj-found::after { animation: none; opacity: 0; } }

/* 시작 단추가 늘 보이게 (고칠 일 1): 안내 카드가 화면보다 길면 '찾으러 가기!'가 카드 아래에 붙어 있음 (360 세로·가로 휴대폰) */
.fj-intro-go { position: sticky; bottom: 0; z-index: 1; box-shadow: 0 4px 0 var(--gold-dark), 0 -10px 16px rgba(28, 37, 84, .18); }
.fj-who-go { position: sticky; bottom: 0; z-index: 1; box-shadow: 0 4px 0 var(--gold-dark), 0 -10px 16px rgba(28, 37, 84, .18); }
@media (orientation: landscape) and (max-height: 500px) {
  .fj-choose { gap: 8px; padding-top: 0; }
  .fj-lead, .fj-card-sub { display: none; }
  .fj-grid { gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .fj-card-pic { aspect-ratio: 16 / 7; }
  .fj-card-face { width: 48px; height: 48px; }
  .fj-card-title { font-size: 16px; }
  .fj-lv { min-height: 44px; }
  .fj-intro { padding: 8px; }
  .fj-intro-card { gap: 8px; padding: 12px 14px; }
  .fj-intro-fig { width: 48px; height: 48px; }
  .fj-who-card { width: min(100%, 640px); grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .fj-who-card > * { grid-column: 2; }
  .fj-who-card > .fj-who-fig { grid-column: 1; grid-row: 1 / span 4; height: min(60vh, 220px); }
}
