/* PlayGLab 어드민 전용 — 브랜드 토큰 덮어쓰기 · 로고 글꼴 · PlayGLab 화면 규칙.
 * 공통 체계(base.css · app.css)는 LabChure · Vi3w 어드민과 같게 두고, PlayGLab 에만 있는 것은 전부 여기 둔다.
 * 세 어드민이 서로 다르면 대표가 보고 「대상 프로젝트를 보고 맞춰」 로 그 세션에 지시한다(대표 12-03 — 공용 레포 · 폴더는 두지 않는다).
 * 불러오는 순서: base.css → app.css → project.css(App.razor) — 그래서 같은 :root 변수를 여기서 덮어쓸 수 있다.
 */

/* ── 브랜드 — 허브 playglab.com 의 파랑(code/dashboard/app/globals.css --color-brand-*)에서 왔다 ──
 * 대비(12-02 계산 · WCAG):
 *   #5b8cf5 흰 바탕 3.22:1 — 작은 글자에 쓰지 않는다(면 · 아이콘 · 테 · 단추). 그 면 위 글자는 --brand-ink(6.24:1).
 *   #1e40af 흰 바탕 8.72:1 · 사이드바 8.28:1 — 링크와 「진행」 상태 글자.
 */
:root {
  --brand: #5b8cf5;
  --brand-strong: #2f5fcf;
  --brand-lime: #8fb3ff;
  --brand-ink: #05070f;
  --brand-bg: rgba(91, 140, 245, 0.14);
  --brand-ring: rgba(91, 140, 245, 0.35);
  --brand-deep: #1e40af;
  --deep-bg: rgba(30, 64, 175, 0.08);
  --deep-border: rgba(30, 64, 175, 0.3);

  --logo: 'Manrope', 'Pretendard Variable', system-ui, sans-serif;
}

/* 로고 글자 전용 — 브랜드 워드마크와 같은 Manrope 800(document/brand/logo/manrope-800.woff2 · 13KB). */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/Manrope-800.woff2') format('woff2');
}

.brand-logo {
  font-weight: 800;
}

/* ── 준비 중 화면 — 메뉴에는 있으나 데이터가 아직 안 붙은 화면(대표 12-02 「아직 개발이 안되었어도 설계와 메뉴들은 구성해야지」) ── */
.nav-soon {
  margin-left: auto;
  padding: 0 var(--sp-2);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.planned-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--sp-2) var(--sp-5);
  margin: 0;
}

.planned-grid dt {
  font-weight: 600;
  color: var(--text-h);
}

.planned-grid dd {
  margin: 0;
}

@media (max-width: 640px) {
  .planned-grid {
    grid-template-columns: 1fr;
  }

  .planned-grid dd {
    margin-bottom: var(--sp-2);
  }
}

/* 「출처 미연결」 — 0 과 구분한다(0 은 숫자, 이것은 아직 데이터가 없다는 뜻 · 총괄 12-02 요청). */
.no-source {
  color: var(--text-muted);
  font-style: italic;
}

/* JSON 원문 입력 칸 — 고정폭 글꼴(게임 편집의 About · Categories · Controls · Tech). */
.mono {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: var(--fs-md);
}

/* 게임 편집 카드 — 너무 넓으면 한 줄이 길어 읽기 어렵다. */
.game-edit {
  max-width: 56rem;
}

/* 고객 문의 — 긴 내용 셀(LabChure app.css 서비스 절의 같은 규칙). */
table.data .cell-message {
  min-width: 16rem;
  max-width: 32rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.planned-badge {
  margin-left: var(--sp-2);
  vertical-align: middle;
}

.planned-card {
  max-width: 64rem;
}

.planned-list {
  margin: 0;
  padding-left: 1.2em;
}

.planned-list li + li {
  margin-top: var(--sp-1);
}

/* 로그아웃 — POST 폼(antiforgery)이라 단추다. 운영자 칩의 링크 단추와 같은 모양으로 둔다. */
.nav-user .nav-logout {
  display: contents;
}

.nav-user button.nav-user-btn {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

/* 대시보드 — 아직 출처가 없는 숫자 칸은 큰 숫자 대신 흐린 글자로(0 과 헷갈리지 않게 · 숫자처럼 보이지 않게). */
.home-card-count.no-source {
  font-size: var(--fs-lg);
  font-weight: 600;
  font-style: normal;
  color: var(--text-muted);
}
