/* 웹 첫 화면(docs/contracts/client.md §7) — 엔진(약 30MB)을 받는 동안 바로 보이고 고를 수 있는 HTML. */
#status { opacity: 0 !important; pointer-events: none !important; }
#fc-landing { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Segoe UI", sans-serif;
  color: #e8eef6; transition: opacity .35s ease; -webkit-tap-highlight-color: transparent; }
#fc-landing.fc-hide { opacity: 0; pointer-events: none; }
#fc-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #0b0f16; }
.fc-card { position: relative; width: min(420px, calc(100vw - 28px)); max-height: calc(100vh - 28px); overflow-y: auto;
  box-sizing: border-box; padding: 22px 22px 18px; border-radius: 22px; background: rgba(8, 12, 19, .82);
  border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 18px 60px rgba(0, 0, 0, .45); backdrop-filter: blur(6px); }
.fc-head { display: flex; align-items: center; gap: 12px; }
.fc-head img { width: 52px; height: 52px; border-radius: 13px; }
.fc-title { font-size: 30px; font-weight: 800; color: #ffd34a; letter-spacing: -.5px; line-height: 1.05; }
.fc-sub { font-size: 14px; color: #9aa6b6; margin-top: 3px; }
.fc-label { font-size: 13px; font-weight: 700; color: #9aa6b6; margin: 16px 0 7px; display: flex; justify-content: space-between; }
.fc-label span:last-child { color: #ffd34a; font-weight: 700; }
#fc-name { width: 100%; box-sizing: border-box; font: inherit; font-size: 17px; font-weight: 600; color: #fff; padding: 12px 14px;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); outline: none; }
#fc-name:focus { border-color: #ffd34a; }
.fc-strip { display: flex; gap: 8px; overflow-x: auto; padding: 3px 2px 6px; scrollbar-width: thin; }
.fc-skin { position: relative; flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; border: 2px solid transparent;
  padding: 0; background: rgba(255, 255, 255, .05); cursor: pointer; }
.fc-skin img { width: 100%; height: 100%; display: block; border-radius: 50%; }
.fc-skin.fc-sel { border-color: #ffd34a; box-shadow: 0 0 0 2px rgba(255, 211, 74, .25); }
.fc-skin.fc-lock img { opacity: .55; }
.fc-skin .fc-badge { position: absolute; right: -3px; bottom: -3px; font-size: 9px; font-weight: 800; color: #1b1405;
  background: #ffd34a; border-radius: 6px; padding: 1px 4px; }
.fc-tables { display: flex; gap: 8px; flex-wrap: wrap; }
.fc-channels { display: flex; gap: 8px; }
.fc-channel { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 6px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05); color: #e8eef6; font: inherit; cursor: pointer; }
.fc-channel b { font-size: 15px; font-weight: 800; }
.fc-channel span { font-size: 12px; color: #9aa6b6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fc-channel.fc-team b { color: #8fbcff; }
.fc-channel.fc-sel { border-color: #ffd34a; background: rgba(255, 211, 74, .14); box-shadow: 0 0 0 2px rgba(255, 211, 74, .2); }
.fc-channel.fc-sel span { color: #ffd34a; }
.fc-channel[disabled] { opacity: .45; cursor: default; }
.fc-table { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; }
.fc-table.fc-sel { border-color: #ffd34a; }
.fc-go { display: flex; gap: 8px; margin-top: 18px; }
#fc-play { position: relative; overflow: hidden; flex: 1 1 auto; min-width: 0; padding: 15px; border: 0; border-radius: 14px;
  font: inherit; font-size: 19px; font-weight: 800; color: #1b1405; background: #ffd34a; cursor: pointer; }
/* «플레이 방법»: 시작 단추 옆의 덜 튀는 단추 — 줄을 더하지 않는다 */
#fc-how { flex: 0 0 auto; padding: 0 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .08);
  color: #e8eef6; font: inherit; font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer; }
#fc-play .fc-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(255, 255, 255, .45); transition: width .2s; }
#fc-play span { position: relative; }
#fc-play[disabled] { cursor: progress; }
/* 이번 주 TOP 3(docs/plans/rankings.md §4-4) */
#fc-notice { margin: 4px 0 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #f2f5fa; cursor: pointer; }
#fc-notice[hidden] { display: none; }
#fc-notice.fc-n-maint { background: rgba(255, 180, 84, .14); border-color: rgba(255, 180, 84, .55); color: #ffb454; }
.fc-n-head { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; }
.fc-n-head svg { color: #ffd25a; flex: none; }
#fc-notice.fc-n-maint .fc-n-head svg { color: #ffb454; }
.fc-n-head span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-n-head i { font-style: normal; opacity: .7; }
.fc-n-item { margin-top: 8px; padding: 8px 10px; border-left: 3px solid #ffd25a; background: rgba(255, 255, 255, .05); border-radius: 8px; color: #f2f5fa; }
.fc-n-item.fc-n-m { border-left-color: #ffb454; }
.fc-n-item b { display: block; font-size: 14px; }
.fc-n-item span { display: block; font-size: 13px; color: #aab4c3; margin-top: 2px; white-space: pre-line; }
#fc-top { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
#fc-top[hidden] { display: none; }
.fc-top-t { font-size: 12px; font-weight: 700; color: #ffd25a; margin-bottom: 4px; }
.fc-top-r { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #f2f5fa; padding: 2px 0; }
.fc-top-r span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-top-f { font-size: 11px; color: #7f8b9b; margin-top: 4px; text-align: right; }
.fc-hint { font-size: 12px; color: #7f8b9b; text-align: center; margin-top: 9px; min-height: 16px; }
.fc-foot { display: flex; justify-content: center; gap: 14px; margin-top: 10px; font-size: 12px; }
.fc-foot a { color: #7f8b9b; }
#fc-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: rgba(0, 0, 0, .8); color: #fff;
  padding: 9px 14px; border-radius: 10px; font-size: 14px; opacity: 0; transition: opacity .25s; pointer-events: none; z-index: 60; }
#fc-toast.fc-show { opacity: 1; }
@media (max-height: 600px) { .fc-card { padding: 14px 16px 12px; } .fc-label { margin-top: 10px; } .fc-go { margin-top: 12px; } #fc-play { padding: 12px; } }
/* 플레이 방법 팝업(앱 client/how_to_play.gd 와 같은 짜임): 어두운 막 + 카드(게임 화면 그림 + 번호 설명 + 도움말), 가로로 낮은 화면(휴대폰 가로)은 그림 옆에 글 */
#fc-how-pop { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 14px;
  box-sizing: border-box; background: rgba(0, 0, 0, .55); }
#fc-how-pop[hidden] { display: none; }
#fc-landing.fc-how-open .fc-card { visibility: hidden; }
.fc-how-card { width: min(444px, 100%); max-height: 100%; overflow-y: auto; box-sizing: border-box; padding: 22px; border-radius: 18px;
  background: rgba(13, 18, 28, .96); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 18px 60px rgba(0, 0, 0, .45); }
#fc-how-title { font-size: 24px; font-weight: 800; color: #f2f5fa; }
.fc-how-body { display: grid; grid-template-columns: 1fr; gap: 12px 20px; margin: 12px 0 14px; align-items: center; }
#fc-how-sketch svg { display: block; width: 100%; height: auto; }
#fc-how-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
#fc-how-list li { display: flex; gap: 8px; align-items: center; font-size: 15px; font-weight: 600; color: #f2f5fa; word-break: keep-all; }
#fc-how-list li.fc-how-wide { grid-column: 1 / -1; }
.fc-how-n { flex: 0 0 22px; height: 22px; border-radius: 50%; background: #ffd34a; color: #1b1405; font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; }
#fc-how-tips { list-style: none; margin: 12px 0 0; padding: 0; font-size: 13.5px; line-height: 1.55; color: #9aa6b6; word-break: keep-all; }
#fc-how-tips li::before { content: "· "; }
/* 닫기는 덜 튀게 — 노란색은 안내 번호에만(내 뚜껑·닫기까지 노랗자 번호가 눈에 안 들어왔다, 2026-11-19 소유자) */
#fc-how-close { width: 100%; padding: 13px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; font: inherit; font-size: 17px; font-weight: 700;
  color: #e8eef6; background: rgba(255, 255, 255, .08); cursor: pointer; }
@media (orientation: landscape) and (max-height: 560px) and (min-width: 640px) {
  .fc-how-card { width: min(720px, 100%); padding: 18px 22px; } .fc-how-body { grid-template-columns: 1fr 1fr; } }
/* 스토어 줄: 왼쪽 Google 공식 배지(고치지 않고 크기만), 오른쪽 App Store «곧 출시»(누를 수 없는 같은 높이의 흐린 판) */
.fc-stores { display: flex; justify-content: center; align-items: stretch; gap: 8px; margin-top: 12px; }
.fc-gp { display: block; flex: 0 0 auto; line-height: 0; }
.fc-gp img { height: 40px; width: auto; display: block; }
.fc-as { box-sizing: border-box; height: 40px; padding: 0 14px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .22);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #9aa6b6; line-height: 1.1; cursor: default; }
.fc-as small { font-size: 10px; font-weight: 700; color: #ffd34a; }
.fc-as b { font-size: 16px; font-weight: 700; letter-spacing: -.2px; }
