/* mosquito/style.css — 「앵~」 전용 화면 요소 */
.mq-dark { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 1; transition: opacity 0.6s;
  background: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0) 38%, rgba(0,0,0,0.55) 78%, rgba(0,0,0,0.85) 100%); }
.mq-itch { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0; transition: opacity 0.5s;
  background: radial-gradient(ellipse at center, transparent 52%, rgba(190, 20, 30, 0.75) 100%); animation: mqItch 1.4s infinite alternate; }
@keyframes mqItch { to { filter: brightness(0.75); } }

/* 인트로 동안 HUD 칩 숨김 */
body.mq-intro .ods-tl, body.mq-intro .ods-tr { opacity: 0; transition: none; }
.ods-tl, .ods-tr { transition: opacity 0.5s; }

/* 가려움 게이지: 차오를수록 빨강 */
.mq-itchbar .fill { background: linear-gradient(90deg, #ff9a4b, #ff3b2f) !important; }
.mq-itchbar .track { width: 110px; }
.ods-tr .chip.big b { font-size: 22px; margin-left: 2px; }

/* 하단 안내 */
.mq-prompt { position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  background: rgba(10, 10, 14, 0.72); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 8px 14px;
  font-size: 15px; font-weight: 800; white-space: nowrap; text-shadow: 0 1px 2px #000; color: #fff4d6; }
body.touch .mq-prompt { bottom: auto; top: calc(50% + 60px); }

/* 조준 잠금 (모기 위에 원) */
.mq-lock { position: absolute; left: 0; top: 0; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  border: 3px solid #ffe066; box-shadow: 0 0 0 2px rgba(0,0,0,0.45), 0 0 14px rgba(255, 224, 102, 0.55); pointer-events: none;
  animation: mqLock 0.5s infinite alternate; }
.mq-lock::before, .mq-lock::after { content: ''; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #ffe066; }
.mq-lock::after { display: none; }
.mq-lock.wall { border-color: #ffb347; box-shadow: 0 0 0 2px rgba(0,0,0,0.45), 0 0 14px rgba(255, 179, 71, 0.6); }
.mq-lock.arm { border-color: #ff5d5d; box-shadow: 0 0 0 2px rgba(0,0,0,0.45), 0 0 16px rgba(255, 93, 93, 0.7); width: 70px; height: 70px; margin: -35px 0 0 -35px; }
@keyframes mqLock { to { opacity: 0.55; } }
.ods-cross.mq-on { background: #ffe066; }

/* 앉는 걸 본 자리 */
.mq-ring { position: absolute; left: 0; top: 0; width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 0 12px rgba(255,255,255,0.6); pointer-events: none; }

/* 화면 밖 모기 방향 */
.mq-arrow { position: absolute; left: 0; top: 0; width: 0; height: 0; display: none; pointer-events: none;
  border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 22px solid rgba(255, 224, 140, 0.9);
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.8)); }
.mq-arrow.rest { border-left-color: rgba(255, 179, 71, 0.95); }
.mq-arrow.near { border-left-color: #ff4a3a; animation: mqBlink 0.25s infinite alternate; }
@keyframes mqBlink { to { opacity: 0.45; } }

/* 팔에 앉았을 때 아래 화살표 */
.mq-armhint { position: absolute; left: 50%; bottom: calc(110px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px; color: #ff6b5b; font-weight: 900; font-size: 22px;
  text-shadow: 0 2px 0 #000, 0 0 10px rgba(0,0,0,0.8); animation: mqDown 0.45s infinite alternate; pointer-events: none; }
.mq-armhint i { width: 0; height: 0; border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 24px solid #ff4a3a; order: 2; filter: drop-shadow(0 0 4px rgba(0,0,0,0.8)); }
body.touch .mq-armhint { bottom: calc(190px + env(safe-area-inset-bottom)); }
@keyframes mqDown { to { transform: translate(-50%, 8px); } }

/* 타이틀: 이어폰 안내 */
.mq-ear { display: inline-block; margin: -4px auto 16px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; color: #e9f0ff;
  background: rgba(120, 150, 255, 0.14); border: 1px solid rgba(150, 175, 255, 0.35); word-break: keep-all; }
.mq-ear b { color: #b9ccff; }
.ods-title h1 { font-size: clamp(64px, 20vw, 96px); letter-spacing: 0.02em; }

/* 하얀 벽 위에서도 읽히게 */
.ods-msg { text-shadow: 0 3px 0 #000, 0 0 4px #000, 0 0 16px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.6); }
.ods-msg.dread { color: #fff4dc; }
.pop { text-shadow: 0 2px 0 #000, 0 0 4px #000, 0 0 12px rgba(0,0,0,0.9); }
body.touch .ods-msg { font-size: 34px; }
body.touch .ods-msg.dread { font-size: 27px; }
body.touch .ods-msg.scream { font-size: 40px; }

/* 판: 캠핑장 텐트 (body.mq-map-tent, 기본 판에는 안 붙음) */
body.mq-map-tent .ods-title h1 { font-size: clamp(36px, 10.5vw, 54px); letter-spacing: -0.02em; }
body.mq-map-tent .mq-ear { color: #fff1df; background: rgba(255, 186, 110, 0.13); border-color: rgba(255, 200, 140, 0.38); }
body.mq-map-tent .mq-ear b { color: #ffd39a; }
body.mq-map-tent .ods-msg.dread { color: #ffeccf; }
