/* 생활 원터치 게임 공통 (라면 물, 출근 도장, 붕어빵, 엘리베이터, 분리수거). 환승 한 번만(subway)과 같은 화면 구성 */
.tg-box{display:flex;justify-content:center;min-width:0}
.tg-wrap{--tg:#00A84D;position:relative;width:360px;height:540px;border-radius:18px;overflow:hidden;background:#f3f1ea;box-shadow:0 10px 26px rgba(40,35,25,.14),inset 0 0 0 1px rgba(0,0,0,.06);touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.tg-wrap canvas{display:block;width:100%;height:100%;cursor:pointer}
.tg-ov{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px;background:rgba(246,245,239,.95);touch-action:auto}
.tg-ov.show{display:flex}
.tg-ov h2{margin:0;font-size:30px;letter-spacing:-1px;line-height:1.15}
.tg-ov .tg-sub{color:#77706a;font-size:14px;margin:8px 0 0;line-height:1.55}
.tg-ov .tg-big{font-size:46px;font-weight:800;letter-spacing:-2px;line-height:1.05;margin:6px 0 2px;font-variant-numeric:tabular-nums}
.tg-ov .tg-new{color:#e2724a;font-weight:800;font-size:14px;min-height:20px}
.tg-ov button{width:100%;max-width:250px;margin-top:10px;padding:13px 0;font-size:16px;border-radius:12px}
.tg-ov button.primary{background:var(--tg);border-color:var(--tg)}
.tg-ov .tg-link{background:transparent;border:1px solid #cfc8ba}
.tg-extra{margin:12px 0 2px;max-width:290px;font-size:13px;color:#5c554b;line-height:1.55}
.tg-extra .tg-chips{display:flex;flex-wrap:wrap;gap:5px;justify-content:center}
.tg-chip{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 8px;border-radius:12px;color:#fff;font-weight:800;font-size:12.5px;background:var(--tg)}
.tg-chip.soft{background:#fff;color:#2b2a28;border:1px solid #e0d8c8}
.tg-route{font-size:13px;color:#5c554b;margin:6px 0 0;line-height:1.5;max-width:290px}
.tg-why{font-size:13px;color:#4a453f;background:#fff;border:1px solid #e6e0d4;border-radius:12px;padding:9px 12px;margin:10px 0 0;line-height:1.55;max-width:290px;text-align:left}
.tg-why:empty{display:none}
.tg-ring{width:46px;height:46px;border-radius:50%;border:4px solid #f2a23a;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px;margin:12px 0 2px;font-variant-numeric:tabular-nums}
.tg-note{font-size:12px;color:#8a8378;margin-top:12px;line-height:1.5}
/* 첫 화면: 소개 + 방법 (스크롤) + 아래 고정 출발 버튼 */
.tg-ov.tg-start{justify-content:flex-start;padding:0;text-align:left}
.tg-scroll{flex:1;min-height:0;width:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:18px 18px 10px}
.tg-start .tg-head{text-align:center;margin-bottom:14px}
.tg-start h2{font-size:28px}
.tg-start .tg-tag{color:#77706a;font-size:13.5px;margin:6px 0 0;line-height:1.5}
.tg-sec{background:#fff;border:1px solid #e6e0d4;border-radius:14px;padding:12px 14px;margin-top:10px}
.tg-sec h3{margin:0 0 6px;font-size:14.5px;letter-spacing:-.3px}
.tg-sec p{margin:0;font-size:13px;line-height:1.65;color:#4a453f}
.tg-sec p+p{margin-top:6px}
.tg-steps{list-style:none;margin:0;padding:0}
.tg-steps li{display:flex;gap:10px;align-items:flex-start;padding:7px 0;font-size:13px;line-height:1.6;color:#4a453f}
.tg-steps li+li{border-top:1px dashed #e6e0d4}
.tg-steps .n{flex:0 0 24px;height:24px;border-radius:50%;color:#fff;font-weight:800;font-size:12px;display:flex;align-items:center;justify-content:center;margin-top:1px;background:var(--tg)}
.tg-steps b{color:#2b2a28}
.tg-pill{display:inline-flex;align-items:center;gap:5px;border-radius:12px;padding:1px 9px;font-size:12px;font-weight:800;white-space:nowrap;vertical-align:1px;background:#fff;border:2px solid var(--tg);color:#2b2a28}
.tg-pill.o{background:#F2A23A;border-color:#F2A23A}
.tg-pill.r{background:#e2724a;border-color:#e2724a;color:#fff}
.tg-pill.d{background:#2b2a28;border-color:#2b2a28;color:#fff}
.tg-tips{margin:10px 2px 4px;padding-left:16px;font-size:12.5px;color:#6b645a;line-height:1.6}
.tg-src{font-size:11.5px;color:#8a8378;margin:8px 2px 0;line-height:1.5}
.tg-foot{width:100%;padding:10px 18px 12px;border-top:1px solid #e6e0d4;background:rgba(246,245,239,.98);text-align:center}
.tg-foot button{margin-top:0}
.tg-foot .tg-note{margin-top:6px}
.tg-hero{margin:0 auto 12px;max-width:340px}
.tg-hero svg{display:block;width:100%;height:auto;border-radius:14px}
.tg-bob{animation:tgbob .5s ease-in-out infinite alternate}
@keyframes tgbob{from{transform:translateY(0)}to{transform:translateY(-3px)}}
.tg-rip{transform-box:fill-box;transform-origin:center;animation:tgrip 1.3s ease-out infinite}
@keyframes tgrip{from{transform:scale(.4);opacity:1}to{transform:scale(1.4);opacity:0}}
@media (prefers-reduced-motion:reduce){.tg-bob,.tg-rip{animation:none}}
