/* TEMP-TEMPLATE: TR-001 TR-002 TR-003
   임시 템플릿 스타일(구경 모드 PRD-046 / TICKET-615). 정본 T0 반영 뒤 정본에 맞춰 고치고 표시를 지운다.
   값은 board-tokens.css 토큰만 쓴다. 토큰에 없는 값은 아래 :root 한 곳에만 임시 정의한다(다른 곳에 직접 값 금지). */

:root {
  /* TR-001 예시 띠 — 노란 계열(정본 p2-DemoHost1~4·p2-DemoJoin1~4). 기본 노랑은 --board-team-yellow(#F5C542) 재사용 */
  --board-demo-strip-bg: #1A1A12;                 /* 띠 바탕 */
  --board-demo-strip-line: rgba(245, 197, 66, .45); /* 띠 아래 선 */
  --board-demo-dot-off: rgba(245, 197, 66, .3);   /* 남은 단계 점 */
  /* TR-002 안내 행 카드 — 작은 카드 아이콘 원 바탕 */
  --board-demo-icon-bg: rgba(245, 197, 66, .14);
  /* TR-001·002 모서리(토큰에 14·16·12·5가 없어 임시 정의) */
  --board-temp-radius-card-sm: 14px;
  --board-temp-radius-card-lg: 16px;
  --board-temp-radius-icon: 12px;
  --board-temp-radius-badge: 5px;
}

/* ══ TR-001 예시 띠 ══ */
.board-demo-strip {
  position: relative; z-index: 100; margin: -14px 0 12px; padding: 10px 24px 11px;
  background: var(--board-demo-strip-bg); border-bottom: 1px solid var(--board-demo-strip-line); flex-shrink: 0;
}
.board-demo-strip__row { display: flex; align-items: center; gap: 8px; }
.board-demo-strip__badge {
  font-size: 11px; font-weight: 800; color: var(--board-bg); background: var(--board-team-yellow);
  border-radius: var(--board-temp-radius-badge); padding: 2px 6px;
}
.board-demo-strip__mode { font-size: 13px; font-weight: 800; color: var(--board-team-yellow); }
.board-demo-strip__dots { display: flex; gap: 4px; margin-left: 4px; }
.board-demo-strip__dot { width: 6px; height: 6px; border-radius: 3px; background: var(--board-demo-dot-off); }
.board-demo-strip__dot--done { background: var(--board-team-yellow); }
.board-demo-strip__dot--now { width: 18px; background: var(--board-team-yellow); }
/* 터치 타겟 44: 글자 크기는 정본 그대로, 눌리는 영역만 위아래·왼쪽으로 넓힌다 */
.board-demo-strip__exit {
  margin-left: auto; font-size: 12px; font-weight: 700; color: var(--board-text-dim); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px; margin-top: -12px; margin-bottom: -12px; padding-left: 12px;
}
.board-demo-strip__exit:hover { color: var(--board-text); }
/* `body.board-body a`(링크색, 명시도 0,2,2)보다 세게 — 나가기 ✕는 정본 회색(text-dim). N1 */
body.board-body a.board-demo-strip__exit,
body.board-body a.board-demo-strip__exit:hover { color: var(--board-text-dim); }
/* 구경 4단계(마감 후 모양) 머리 줄: 정본 p2-DemoHost4·DemoJoin4 에는 보스 썸네일이 없다 — 실제 템플릿(_boss_line)은 그대로 두고
   예시 띠가 있는 구경 화면에서만 썸네일 칸을 숨긴다(높이 +13px·안내 줄이 페이드에 가려지는 것 방지). N3 */
body:has(.board-demo-strip) .board-closed-bossline__icon { display: none; }
.board-demo-strip__desc { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--board-text); word-break: keep-all; }

/* ══ TR-002 안내 행 카드 (sm = 홈 진입 카드 / lg = 시트 선택지) ══ */
.board-nav-card {
  appearance: none; box-sizing: border-box; width: 100%; text-align: left; font: inherit; color: inherit;
  text-decoration: none; cursor: pointer; display: flex; align-items: center;
  background: var(--board-surface); border: 1px solid var(--board-surface-border);
}
.board-nav-card__icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.board-nav-card__body { flex: 1; min-width: 0; }
.board-nav-card__title { display: block; color: var(--board-text); }
.board-nav-card__desc { display: block; }
.board-nav-card__chev { color: var(--board-team-yellow); font-weight: 800; }
.board-nav-card:focus-visible { outline: 2px solid var(--board-accent); outline-offset: 2px; }
.board-nav-card:active { opacity: var(--board-press-dim); }

.board-nav-card--sm { gap: 12px; padding: 14px 16px; border-radius: var(--board-temp-radius-card-sm); }
.board-nav-card--sm .board-nav-card__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--board-demo-icon-bg); font-size: 18px; }
.board-nav-card--sm .board-nav-card__title { font-size: 15px; font-weight: 800; }
.board-nav-card--sm .board-nav-card__desc { font-size: 12px; color: var(--board-text-faint); margin-top: 2px; }

.board-nav-card--lg { gap: 14px; padding: 16px; border-radius: var(--board-temp-radius-card-lg); }
.board-nav-card--lg .board-nav-card__icon { width: 44px; height: 44px; border-radius: var(--board-temp-radius-icon); background: var(--board-divider); font-size: 22px; }
.board-nav-card--lg .board-nav-card__title { font-family: var(--board-font-display); font-size: 19px; font-weight: 400; }
.board-nav-card--lg .board-nav-card__desc { font-size: 13px; color: var(--board-text-dim); margin-top: 3px; word-break: keep-all; }
.board-nav-card--lg .board-nav-card__chev { font-size: 18px; }

/* ══ TR-003 시트 머리 (제목 · 닫기 · 한 줄 안내) — .board-qj-sheet__head 와 같은 모양 ══ */
.board-sheet-head { display: flex; align-items: baseline; justify-content: space-between; }
.board-sheet-head__title { font-family: var(--board-font-display); font-size: 22px; }
.board-sheet-head__close {
  appearance: none; background: none; border: 0; padding: 0; font: inherit; font-size: 13px;
  color: var(--board-text-faint); cursor: pointer; min-height: 44px; min-width: 44px; text-align: right; align-self: center;
}
.board-sheet-head__sub { font-size: 13px; color: var(--board-text-dim); word-break: keep-all; margin-top: -4px; }
/* 같은 줄(구경 4단계) — 정본은 "보스 · 한마디" 한 줄이 13px·faint 한 가지 모양이고 위 간격 13(정본 14 − 안내 줄 행간 보정). 틀 안에서만 맞춘다. */
body:has(.board-demo-strip) .board-closed-bossline { margin-top: 13px; justify-content: center; }
body:has(.board-demo-strip) .board-closed-bossline__name { font-size: 13px; font-weight: 400; color: var(--board-text-faint); }
