/* 말조심 브리핑(js/mg-gaffe.js). 놀이판 전체가 누르는 자리라 길게 눌러도 글자 선택·메뉴가 뜨지 않게 한다 */
.gf-hud { display: flex; align-items: center; gap: 10px; }
.gf-lab { font: 700 13px 'Paperlogy', var(--body); color: var(--muted); white-space: nowrap; }
.gf-meter { position: relative; flex: 1; height: 16px; border-radius: 999px; background: var(--soft); border: 2px solid var(--ink); overflow: hidden; }
.gf-meter i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--muted); }
.gf-meter.ok i { background: var(--good); }
.gf-meter b { position: absolute; top: -2px; bottom: -2px; left: var(--goal); width: 4px; margin-left: -2px; background: var(--gold); box-shadow: 0 0 0 1px var(--ink); }
.gf-hud em { font: 800 15px 'Paperlogy', var(--head); font-style: normal; font-variant-numeric: tabular-nums; min-width: 4.2em; text-align: right; }

.gf-pad { position: relative; height: 230px; border-radius: 16px; overflow: hidden; cursor: pointer;
  background: #3A2E28 center 88% / 170% auto no-repeat; image-rendering: pixelated;   /* 그림은 JS가 장면에 맞춰 background-image로(기자회견장 · 토론) */
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.gf-track { position: absolute; left: 0; right: 0; top: 30px; height: 60px; background: rgba(18, 18, 18, .78); overflow: hidden; }
.gf-strip { position: absolute; top: 0; bottom: 0; left: 0; will-change: transform; }
.gf-w { position: absolute; top: 7px; height: 46px; box-sizing: border-box; padding: 0 8px; border-radius: 8px; border: 2px solid #141414;
  display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden;
  background: #FFFFFF; color: #141414; font: 700 13px/1.2 'Paperlogy', var(--body); word-break: keep-all; }
.gf-w.on { background: #DDF3E6; }
.gf-w.past:not(.on) { opacity: .45; }
.gf-w.r { background: #FBE3DE; color: #A8231B; border-color: #A8231B; }
.gf-w.r.safe { opacity: .45; }
.gf-w.r.oops { background: #A8231B; color: #FFFFFF; text-decoration: line-through; opacity: 1; }
.gf-mic { position: absolute; top: 0; bottom: 0; left: var(--line); width: 4px; margin-left: -2px; background: var(--gold); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); }

.gf-bub { position: absolute; left: 50%; bottom: 62px; transform: translateX(-50%); max-width: 86%; margin: 0; padding: 5px 12px; border-radius: 12px;
  background: #FFFFFF; color: #141414; border: 2px solid #141414; font: 700 14px/1.3 'Paperlogy', var(--body); word-break: keep-all; text-align: center; }
.gf-bub:empty { display: none; }
.gf-state { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 5px; background: rgba(18, 18, 18, .72); color: #FFFFFF; font: 700 13px 'Paperlogy', var(--body); }
.gf-state .ui-i { width: 16px; height: 16px; }
.gf-pad.talk .gf-state { background: var(--good); }
.gf-flash { position: absolute; inset: 0; background: #FFFFFF; opacity: 0; pointer-events: none; }
.gf-flash.on { animation: gf-flash .35s ease-out; }
@keyframes gf-flash { from { opacity: .8; } to { opacity: 0; } }
.gf-pad.hit { animation: gf-hit .45s ease-out; }
@keyframes gf-hit { from { box-shadow: inset 0 0 0 5px #A8231B; } to { box-shadow: inset 0 0 0 0 #A8231B; } }
.mg-board.pre .gf-pad { opacity: .55; }
/* 움직임 줄이기: 번쩍임은 JS가 끄고, 테두리 색만 잠깐 바뀐다(움직임 없음) */
@media (prefers-reduced-motion: reduce) { .gf-flash.on { animation: none; } }
@media (max-height: 700px) { .gf-pad { height: 190px; } .gf-track { top: 20px; } .gf-bub { bottom: 52px; } .gf-state { bottom: 10px; } }   /* 짧은 화면: 시작 버튼이 덜 밀려나게 */
