/* 🏪 문방구 앞 캡슐기계 (도련 10-31 · 시안 B · js/gacha.js gcSceneBuild) : 💻 📲 만 · 그림 1672 × 941 맨 오른쪽 기계 = 우리 기계 (오른쪽 벽 = 메뉴판) · 📱 폰은 예전 기계 그대로 */
.gc-room.gc-scene { padding: 0; overflow: hidden; background: #f7df90; }
.gcs-stage { position: absolute; left: 0; top: 0; width: 1672px; height: 941px; transform-origin: 0 0; }
.gcs-bg { position: absolute; inset: 0; width: 1672px; height: 941px; pointer-events: none; user-select: none; }
.gcs-soon { position: absolute; top: 600px; translate: -50% 0; white-space: nowrap; background: #fffdf6; border: 2.5px solid #2a2a2a; border-radius: 999px; padding: 4px 14px; font-weight: 900; font-size: 16px; color: #7a5a3a; pointer-events: none; }
.gcs-go { position: absolute; right: 18px; top: 14px; z-index: 3; transform: scale(1.15); transform-origin: 100% 0; }   /* 화면 오른쪽 위 (그림이 잘려도) */

/* 제목 · 코인 (왼쪽 위) */
.gc-scene .gc-head { position: absolute; left: 1170px; top: 92px; gap: 12px; padding: 8px 12px 8px 18px; border-radius: 999px; background: #fffdf6; border: 2.5px solid #2a2a2a; box-shadow: 3px 4px 0 rgba(0, 0, 0, .15); }
.gc-scene .gc-title { font-size: 26px; flex: none; }
.gc-scene .gc-chip { font-size: 15px; padding: 4px 12px 4px 5px; }
.gc-scene .gc-coin-ico { width: 24px; height: 24px; font-size: 12px; }
.gc-scene .gc-x { display: none; }

/* 기계 = 그림 자리로 */
.gc-scene .gc-machine { position: absolute; left: 0; top: 0; width: 1672px; height: 941px; max-width: none; margin: 0; display: block; pointer-events: none; }
.gc-scene .gc-machine > * { pointer-events: auto; }
.gc-scene .gc-dome { position: absolute; left: 821px; top: 129px; width: 272px; height: 284px; max-width: none; border: 0; border-radius: 0; box-shadow: none; background: linear-gradient(#eef8fc, #dceef6); }
.gc-scene .gc-dome::after { left: 8px; top: 6px; width: 22px; height: 110px; border-radius: 0; background: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, 0)); transform: skewX(-18deg); }
.gc-scene .gc-body { position: absolute; left: 805px; top: 416px; width: 304px; height: 244px; max-width: none; background: none; box-shadow: none; border-radius: 6px; }
.gc-scene .gc-chute { display: none; }
.gc-scene .gc-label { top: -280px; left: 50%; right: auto; translate: -50% 0; white-space: nowrap; padding: 5px 14px 6px; border-radius: 10px; background: #fffdf6; border: 2.5px solid #2a2a2a; box-shadow: 2px 3px 0 rgba(0, 0, 0, .18); color: #e2342f; font-size: 18px; letter-spacing: 1.5px; font-weight: 900; text-shadow: none; pointer-events: none; z-index: 1; }   /* 유리 위 라벨 스티커 */
.gc-scene .gc-label small { color: #555; opacity: 1; font-size: 12px; font-weight: 800; letter-spacing: 0; }
.gc-scene .gc-slot { left: 134px; top: 8px; width: 34px; height: 42px; background: none; box-shadow: none; }
.gc-scene .gc-slot i, .gc-scene .gc-slot > span { display: none; }
.gc-scene .gc-coin { left: 0; top: -62px; border: 2px solid #2a2a2a; }
/* 손잡이 = 그림 속 손잡이 자리 (같은 모양으로 덮어서 돌아가요) */
.gc-scene .gc-crank { left: 112px; right: auto; top: 52px; width: 76px; height: 76px; background: #a9a9a9; border: 3px solid #2a2a2a; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .15); }
.gc-scene .gc-crank:disabled { filter: none; }
.gc-scene .gc-bar { width: 62px; height: 18px; margin: -9px 0 0 -31px; border-radius: 9px; background: #dcdcdc; border: 2.5px solid #2a2a2a; box-shadow: none; box-sizing: border-box; }
.gc-scene .gc-bar::after { display: none; }
.gc-scene .gc-crank.ready { animation: gcsGlow 1.1s ease-in-out infinite; }
@keyframes gcsGlow { 50% { box-shadow: 0 0 0 6px #fff6a8, 0 0 26px 8px rgba(255, 240, 120, .9); } }
.gc-scene .gc-crank-hint { left: 212px; right: auto; top: 66px; width: 72px; font-size: 15px; line-height: 1.35; white-space: pre-line; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); word-break: keep-all; }   /* 손잡이 오른쪽 빈 곳 (LED 안쪽 · 도련 10-31) */
/* 캡슐 나오는 곳 */
.gc-scene .gc-tray { position: absolute; left: 905px; top: 566px; width: 104px; height: 84px; place-items: center; }
.gc-scene .gc-capsule { margin-top: 0; transform-origin: 50% 50%; scale: .85; }
.gc-scene .gc-tap { top: 96px; white-space: nowrap; padding: 4px 12px; border-radius: 999px; background: #fffdf6; border: 2px solid #2a2a2a; color: #5a3a20; font-size: 14px; }

/* 글 · 버튼 · 결과 = 오른쪽 카드 */
.gc-scene .gc-wrap { position: absolute; left: 1170px; top: 170px; width: 430px; max-width: none; max-height: 700px; overflow-y: auto; box-sizing: border-box; padding: 22px; gap: 16px;   /* 🪧 메뉴판 = 오른쪽 넓은 벽 (도련 10-31 · 그림을 왼쪽으로 옮긴 새 그림) */
    background: rgba(255, 253, 246, .97); border: 2.5px solid #2a2a2a; border-radius: 18px; box-shadow: 3px 4px 0 rgba(0, 0, 0, .15); scrollbar-width: thin; }
.gc-scene .gc-say { font-size: 22px; line-height: 1.5; }
.gc-scene .gc-main { font-size: 22px; padding: 14px 18px; border-radius: 16px; }
.gc-scene .gc-odds { font-size: 17px; padding: 12px 16px; }
.gc-scene .gc-odds table { font-size: 15px; }
.gc-scene .gc-sound { font-size: 15px; }
.gc-scene .gc-result h3 { font-size: 30px; }
.gc-scene .gc-result p { font-size: 16px; }
.gc-scene .gc-prize { width: 220px; }

/* 🏪 문방구 앞 전환 (도련 11-01 · js/gacha.js gcsApproach · 타로카페 · 오락실 문과 같은 전환) : 길에서 본 문방구 → 캡슐기계 쪽으로 커지며 따뜻한 빛 → 캡슐기계 앞 */
.gcs-walk { display: none; position: fixed; inset: 0; z-index: 1700; overflow: hidden; background: #f6d79a; }
.gcs-walk.on { display: block; }   /* 처음부터 불투명 (뒤의 캡슐기계가 먼저 비치지 않게 · 도련 11-01) · 그림만 스르르 */
.gcs-walk.on .gcs-walk-in img { animation: troDoorIn .35s ease; }
.gcs-walk.leave { animation: troDoorOut .45s ease forwards; }
.gcs-walk-in { position: absolute; inset: 0; }
.gcs-walk-in img { position: absolute; user-select: none; -webkit-user-drag: none; }
.gcs-walk-in::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 55%, #fffbe9 0, #ffefc0 18%, #f9d98f 45%, #f4c76f 75%, #f7df90 100%); }
.gcs-walk.go .gcs-walk-in { transition: transform 1.4s cubic-bezier(.4, 0, .8, .5) .15s, opacity .5s ease 1.15s; transform: scale(2.6); opacity: 0; }
.gcs-walk.go .gcs-walk-in::after { transition: opacity .8s ease .45s; opacity: 1; }
