/* 주인 슛 (/grammar/infinitive/shoot.jsp, 2026-10-18). js/ps2-infinitive-shoot.js 가 만드는 화면. 로비 · 한 판(경기장 캔버스 + 안내) · 결과 */
#main .gi .fc { min-width: 0; --fc-ink: #0f172a; --fc-mute: #64748b; --fc-line: #e2e8f0; --fc-accent: #2563eb; --fc-orange: #ea580c; margin: 0 0 28px; }
#main .gi .fc .fc-view[hidden] { display: none; }

/* 로비 */
#main .gi .fc .fc-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: center; padding: 22px; border-radius: 22px; color: #fff;
    background: radial-gradient(120% 90% at 50% 100%, #9a3412 0%, #1c1917 58%, #0c0a09 100%); box-shadow: 0 30px 60px -36px rgba(2, 6, 23, .9); overflow: hidden; }
#main .gi .fc .fc-hero__art { position: relative; height: 240px; border-radius: 16px; overflow: hidden;
    background: radial-gradient(60% 50% at 50% 0, rgba(255, 255, 230, .25), transparent 70%), linear-gradient(#0b1220 0, #1e293b 52%, #b97a3f 52%, #e0a96d 100%); }
#main .gi .fc .fc-hero__crowd { position: absolute; left: 0; right: 0; top: 39%; height: 13%; opacity: .7;
    background: radial-gradient(circle, rgba(251, 191, 36, .75) 0 3px, transparent 3.5px) 0 0 / 16px 12px, radial-gradient(circle, rgba(96, 165, 250, .7) 0 3px, transparent 3.5px) 8px 6px / 16px 12px;
    animation: fc-crowd 3s ease-in-out infinite; }
@keyframes fc-crowd { 0%, 50% { transform: none; } 58% { transform: translateY(-4px); } 66% { transform: none; } 74% { transform: translateY(-3px); } 82%, 100% { transform: none; } }
#main .gi .fc .fc-hero__board { position: absolute; top: 10%; width: 27%; height: 24%; border-radius: 8px; background: rgba(248, 250, 252, .94); border: 2px solid rgba(15, 23, 42, .3); display: grid; place-items: start center; padding-top: 6px; }
#main .gi .fc .fc-hero__board i { font-weight: 800; font-size: 13px; line-height: 1.2; font-family: inherit; font-style: normal; color: var(--fc-ink); white-space: nowrap; }
#main .gi .fc .fc-hero__board::before { content: ""; position: absolute; left: 36%; right: 36%; bottom: 8%; height: 26%; border: 2px solid rgba(239, 68, 68, .6); border-bottom: 0; }
#main .gi .fc .fc-hero__board::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 46%; height: 9px; transform: translateX(-50%); border: 3px solid #ea580c; border-radius: 50%; }
#main .gi .fc .fc-hero__board.b1 { left: 5%; }
#main .gi .fc .fc-hero__board.b2 { left: 36.5%; }
#main .gi .fc .fc-hero__board.b3 { left: 68%; }
#main .gi .fc .fc-hero__board.is-ok { animation: fc-ok 3s ease-in-out infinite; }
@keyframes fc-ok { 0%, 50% { background: rgba(248, 250, 252, .94); } 56%, 90% { background: #dcfce7; border-color: #16a34a; box-shadow: 0 0 18px rgba(22, 163, 74, .7); } }
#main .gi .fc .fc-hero__floor { position: absolute; left: 50%; bottom: -60px; width: 84%; height: 120px; transform: translateX(-50%); border: 2px solid rgba(255, 255, 255, .7); border-radius: 50%; }
#main .gi .fc .fc-hero__ball { position: absolute; width: 30px; height: 30px; margin: 0 0 -15px -15px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fdba74, #c2410c 72%); box-shadow: inset 0 0 0 1.5px rgba(30, 20, 10, .45); animation: fc-shot 3s ease-in-out infinite; }
#main .gi .fc .fc-hero__ball::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(90deg, transparent 47%, rgba(30, 20, 10, .6) 47% 53%, transparent 53%), linear-gradient(transparent 47%, rgba(30, 20, 10, .6) 47% 53%, transparent 53%); }
@keyframes fc-shot {
    0% { left: 30%; bottom: 10%; transform: scale(1); opacity: 1; }
    18% { left: 36%; bottom: 46%; transform: scale(.92); }
    36% { left: 45%; bottom: 74%; transform: scale(.8); }
    50% { left: 50%; bottom: 64%; transform: scale(.7) rotate(200deg); opacity: 1; }
    62% { left: 50%; bottom: 52%; transform: scale(.66) rotate(260deg); opacity: 1; }
    72%, 100% { left: 50%; bottom: 44%; transform: scale(.66); opacity: 0; }
}
#main .gi .fc .fc-hero__txt h2 { margin: 0 0 8px; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.35; letter-spacing: -0.02em; color: #fff; }
#main .gi .fc .fc-hero__txt p { margin: 0 0 12px; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .82); }
#main .gi .fc .fc-how { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
#main .gi .fc .fc-how kbd, #main .gi .fc .fc-tip kbd { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 6px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); font-weight: 700; font-size: 12px; line-height: 1.6; font-family: inherit; color: #fff; text-align: center; }
#main .gi .fc .fc-levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 16px 0 10px; }
#main .gi .fc .fc-level { display: grid; align-content: start; gap: 8px; padding: 16px; border: 1px solid var(--fc-line); border-radius: 16px; background: #fff; box-shadow: 0 10px 24px rgba(15, 23, 42, .06); }
#main .gi .fc .fc-level.is-locked { opacity: .62; }
#main .gi .fc .fc-level h3 { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0; font-size: 16px; }
#main .gi .fc .fc-level h3 i { font-style: normal; color: #f59e0b; letter-spacing: 1px; font-size: 14px; }
#main .gi .fc .fc-level p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--fc-mute); }
#main .gi .fc .fc-level__meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--fc-mute); }
#main .gi .fc .fc-level__box { padding: 0 8px; border-radius: 999px; background: #fef3c7; color: #92400e; font-weight: 700; }
#main .gi .fc .fc-level .gi-btn { justify-self: start; }
#main .gi .fc .fc-foot { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; font-size: 13px; color: var(--fc-mute); }
#main .gi .fc .fc-tool { padding: 6px 12px; border: 1px solid var(--fc-line); border-radius: 999px; background: #fff; font-weight: 700; font-size: 13px; line-height: 1.4; font-family: inherit; color: var(--fc-ink); cursor: pointer; }

/* 한 판 */
#main .gi .fc .fc-stage { display: grid; gap: 10px; }
#main .gi .fc .fc-top { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 14px; color: var(--fc-mute); }
#main .gi .fc .fc-top b { font-size: 18px; color: var(--fc-ink); font-variant-numeric: tabular-nums; display: inline-block; }
#main .gi .fc .fc-top b.is-pop { animation: fc-pop .45s ease; }
@keyframes fc-pop { 30% { transform: scale(1.35); color: #16a34a; } }
#main .gi .fc .fc-combo.is-hot b { color: var(--fc-orange); }
#main .gi .fc .fc-combo.is-hot::after { content: " 🔥"; }
#main .gi .fc .fc-hearts i { font-style: normal; color: #ef4444; font-size: 18px; margin-right: 2px; }
#main .gi .fc .fc-hearts i.is-off { color: #cbd5e1; }
#main .gi .fc .fc-swishn { padding: 1px 9px; border-radius: 999px; background: #fff7ed; color: #c2410c; font-weight: 800; font-variant-numeric: tabular-nums; }
#main .gi .fc .fc-wave { margin-left: auto; font-weight: 700; }
#main .gi .fc .fc-q { min-height: 74px; padding: 12px 16px; border-radius: 16px; background: #0f172a; color: #fff; text-align: center; }
#main .gi .fc .fc-sent { margin: 0; font-weight: 800; font-size: clamp(17px, 2.4vw, 23px); line-height: 1.45; font-family: inherit; letter-spacing: -0.01em; }
#main .gi .fc .fc-sent mark { display: inline-block; min-width: 86px; padding: 0 10px; border-radius: 8px; background: rgba(255,255,255,.14); color: #fde68a; border: 1px dashed rgba(253, 230, 138, .6); }
#main .gi .fc .fc-sent mark.is-ok { background: #16a34a; color: #fff; border-style: solid; border-color: #16a34a; }
#main .gi .fc .fc-hl { padding: 0 5px; border-radius: 6px; background: rgba(56, 189, 248, .18); color: #bae6fd; text-decoration: none; box-shadow: inset 0 -3px 0 #38bdf8; }
#main .gi .fc .fc-qq { display: block; margin-top: 6px; font-size: 16px; font-weight: 800; color: #fde68a; }
#main .gi .fc .fc-ko { display: block; margin-top: 4px; font-size: 14px; color: rgba(255,255,255,.78); }
#main .gi .fc .fc-ko--hint { color: rgba(255,255,255,.5); }
#main .gi .fc .fc-ko--why { color: #86efac; font-weight: 700; }
#main .gi .fc .fc-court-wrap { position: relative; display: grid; justify-items: center; }
#main .gi .fc .fc-court { display: block; width: 100%; border-radius: 18px; touch-action: none; cursor: pointer; box-shadow: 0 30px 60px -30px rgba(2, 6, 23, .6); user-select: none; -webkit-user-select: none; }
#main .gi .fc .fc-overlay { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; background: rgba(2, 6, 23, .45); border-radius: 18px; backdrop-filter: blur(2px); }
#main .gi .fc .fc-overlay[hidden] { display: none; }
#main .gi .fc .fc-card { max-height: 100%; overflow-y: auto; width: min(560px, 100%); padding: 16px 18px; border-radius: 16px; background: #fff; color: var(--fc-ink); box-shadow: 0 30px 60px -20px rgba(2, 6, 23, .8); animation: fc-card .25s ease; }
@keyframes fc-card { from { transform: translateY(14px); opacity: 0; } }
#main .gi .fc .fc-card .fc-sent, #main .gi .fc .fc-wrong .fc-sent { color: var(--fc-ink); font-size: 18px; text-align: left; }
#main .gi .fc .fc-card .fc-hl, #main .gi .fc .fc-wrong .fc-hl { background: #e0f2fe; color: #075985; box-shadow: inset 0 -3px 0 #0ea5e9; }
#main .gi .fc .fc-card .fc-sent mark { background: #e2e8f0; color: var(--fc-ink); border-color: #cbd5e1; }
#main .gi .fc .fc-card .fc-sent mark.is-ok, #main .gi .fc .fc-wrong .fc-sent mark.is-ok { background: #16a34a; color: #fff; border-color: #16a34a; }
#main .gi .fc .fc-card__tag { display: inline-block; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px; background: #fee2e2; color: #b91c1c; font-size: 12.5px; font-weight: 800; }
#main .gi .fc .fc-card__q { margin: 6px 0 0; font-size: 15px; font-weight: 800; color: #166534; }
#main .gi .fc .fc-card__ko { margin: 4px 0 0; font-size: 14px; color: var(--fc-mute); }
#main .gi .fc .fc-card__why { margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: #f0fdf4; color: #14532d; font-size: 15px; line-height: 1.6; font-weight: 600; }
#main .gi .fc .fc-card__mine { margin: 8px 0 0; font-size: 13.5px; color: #b91c1c; }
#main .gi .fc .fc-card__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; }
#main .gi .fc .fc-card__link { font-size: 13.5px; font-weight: 700; color: var(--fc-accent); }
#main .gi .fc .fc-ctl { display: grid; grid-template-columns: 1fr 96px; gap: 8px; align-items: stretch; }
#main .gi .fc .fc-ctl__lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
#main .gi .fc .fc-ctl__lanes button { display: grid; place-items: center; min-height: 52px; padding: 4px 8px; border: 1px solid var(--fc-line); border-top: 4px solid #fb923c; border-radius: 12px; background: #fff; font-weight: 700; font-size: 15px; line-height: 1.3; font-family: inherit; color: var(--fc-mute); text-align: center; cursor: pointer; touch-action: manipulation; transition: background .15s, color .15s, box-shadow .15s; overflow-wrap: anywhere; }
#main .gi .fc .fc-ctl__lanes button.is-on { background: #0f172a; color: #fff; border-color: #0f172a; border-top-color: #38bdf8; box-shadow: 0 8px 18px -10px rgba(14, 165, 233, .9); }
#main .gi .fc .fc-ctl__shoot { min-height: 52px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #fb923c, #ea580c); color: #fff; font-weight: 800; font-size: 16px; line-height: 1; font-family: inherit; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; box-shadow: 0 8px 18px -8px rgba(234, 88, 12, .8); }
#main .gi .fc .fc-ctl__shoot:active { transform: translateY(1px); filter: brightness(.95); }
#main .gi .fc .fc-tip { margin: 0; font-size: 12.5px; color: var(--fc-mute); text-align: center; }
#main .gi .fc .fc-tip kbd { border-color: var(--fc-line); background: #f1f5f9; color: var(--fc-ink); }

/* 결과 */
#main .gi .fc .fc-result__head { padding: 22px; border-radius: 20px; color: #fff; text-align: center; background: linear-gradient(135deg, #0f172a, #1e293b); }
#main .gi .fc .fc-result__head.is-win { background: radial-gradient(120% 100% at 50% 0, #c2410c 0%, #1c1917 70%); }
#main .gi .fc .fc-result__tag { display: inline-block; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 13px; font-weight: 800; }
#main .gi .fc .fc-result__score { margin: 8px 0 0; }
#main .gi .fc .fc-result__score b { font-size: clamp(44px, 7vw, 64px); font-weight: 900; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
#main .gi .fc .fc-result__score small { margin-left: 4px; font-size: 16px; color: rgba(255,255,255,.7); }
#main .gi .fc .fc-result__stars { font-size: 26px; color: #fbbf24; letter-spacing: 3px; }
#main .gi .fc .fc-result__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin-top: 14px; }
#main .gi .fc .fc-result__row div { padding: 8px; border-radius: 12px; background: rgba(255,255,255,.08); }
#main .gi .fc .fc-result__row small { display: block; font-size: 12px; color: rgba(255,255,255,.7); }
#main .gi .fc .fc-result__row b { font-size: 18px; }
#main .gi .fc .fc-result__best { display: inline-block; margin: 8px 0 0; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 13.5px; font-weight: 800; color: rgba(255,255,255,.85); }
#main .gi .fc .fc-result__best.is-new { background: linear-gradient(135deg, #f59e0b, #ea580c); color: #fff; box-shadow: 0 0 22px rgba(245, 158, 11, .55); animation: fc-best 1.6s ease-in-out infinite; }
@keyframes fc-best { 50% { transform: scale(1.06); } }
#main .gi .fc .fc-result__note { margin: 12px 0 0; font-size: 14px; color: #fde68a; }
#main .gi .fc .fc-result__sec { margin-top: 18px; }
#main .gi .fc .fc-result__sec h3 { margin: 0 0 8px; font-size: 17px; }
#main .gi .fc .fc-wrong { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
#main .gi .fc .fc-wrong li { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--fc-line); border-left: 4px solid #ef4444; border-radius: 12px; background: #fff; }
#main .gi .fc .fc-wrong .fc-sent { font-size: 16px; }
#main .gi .fc .fc-wrong__q { font-size: 14px; font-weight: 800; color: #166534; }
#main .gi .fc .fc-wrong__ko { font-size: 13.5px; color: var(--fc-mute); }
#main .gi .fc .fc-wrong__why { font-size: 14px; color: #14532d; font-weight: 600; }
#main .gi .fc .fc-wrong__link { justify-self: start; font-size: 13px; font-weight: 700; color: var(--fc-accent); }
#main .gi .fc .fc-skills { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; }
#main .gi .fc .fc-skills li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: #f1f5f9; }
#main .gi .fc .fc-skills b { color: var(--fc-ink); }
#main .gi .fc .fc-result__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

@media (max-width: 760px) {
    #main .gi .fc .fc-card { padding: 12px 14px; }
    #main .gi .fc .fc-card .fc-sent { font-size: 16px; }
    #main .gi .fc .fc-card__why { font-size: 14px; padding: 8px 10px; }
    #main .gi .fc .fc-hero { padding: 16px; }
    #main .gi .fc .fc-hero__art { height: 200px; }
    #main .gi .fc .fc-hero__board i { font-size: 11.5px; }
    #main .gi .fc .fc-ctl { grid-template-columns: 1fr 72px; }
    #main .gi .fc .fc-ctl__lanes button { font-size: 13px; padding: 4px; }
    #main .gi .fc .fc-tip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    #main .gi .fc .fc-hero__crowd, #main .gi .fc .fc-hero__ball, #main .gi .fc .fc-hero__board, #main .gi .fc .fc-result__best { animation: none; }
}
