/* "내 안의 일본인은 몇 %?" (/inside/ · /ja/inside/). 틀과 버튼·질문·공유는 landing.css 와 /where/where.css 그대로 쓰고,
   여기엔 이 페이지들에만 있는 것(그림 바탕, 퍼센트 막대, 단계 이름, 성분표, 다른 결과 네 칸)만 둔다 */
/* 그림 바탕: maki-1(가장 한국) … maki-5(가장 일본). 랜딩의 옅은 네 색 + 말차색 하나 (tools/inside/images.ts 의 TINT 와 같다) */
.where .in-t1 { background: var(--blush); }
.where .in-t2 { background: var(--noon); }
.where .in-t3 { background: var(--dusk); }
.where .in-t4 { background: var(--morning); }
.where .in-t5 { background: #e3ead9; }
/* .w-art 의 grid-area 는 결과 페이지용이라, 첫 화면 격자에서는 떼어야 칸이 하나 더 생기지 않는다 */
.in-intro { grid-area: auto; width: 100%; max-width: 460px; margin-inline: auto; }
/* 제목: "내 안의 일본인"은 작게 한 줄, 숫자는 크게 */
.in-h1 > span { display: block; font-size: 0.48em; line-height: 1.5; letter-spacing: -0.02em; }
/* 숫자는 두 판 모두 같은 서체로 굵게 (일본어판 제목 서체 Klee One 은 숫자가 가늘다) */
.in-h1 em { display: inline-block; font-family: 'Gowun Batang', serif; font-size: 1.7em; line-height: 1.1; font-variant-numeric: tabular-nums; }

/* 퍼센트 막대: 스크립트가 내 숫자로 너비를 바꾼다. 스크립트가 없으면 단계 구간의 가운데 */
.in-gauge { height: 12px; margin-top: 20px; max-width: 420px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--card-edge); overflow: hidden; }
.in-gauge i { display: block; height: 100%; border-radius: 999px; background: var(--vermilion); transition: width 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.in-lv1 i { width: 10%; }
.in-lv2 i { width: 30%; }
.in-lv3 i { width: 50%; }
.in-lv4 i { width: 70%; }
.in-lv5 i { width: 90%; }

.where .w-tag { margin-top: 20px; color: var(--sub); }
.in-name { display: block; font-family: var(--display); font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; line-height: 1.35; color: var(--indigo); }
.in-h2 { margin-top: 48px; }

/* 성분표: 내 답 열 개. 주소에 점수(?s=)가 있을 때만 스크립트가 채워 보여 준다 */
.in-mix { padding-block: 72px; border-top: 1px solid var(--line); }
.in-mix h2 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.4; }
.in-mix p { margin-top: 8px; font-size: 15.5px; color: var(--sub); }
.in-mix ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; margin-top: 24px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.in-mix li { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.in-k { grid-column: 1; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--vermilion-text); }
.in-a { grid-column: 1; font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.in-dots { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 5px; }
.in-dots i { width: 11px; height: 11px; border: 1.5px solid var(--vermilion); border-radius: 50%; }
.in-dots i.on { background: var(--vermilion); }

/* 다른 결과 네 칸 */
.in-others ul { grid-template-columns: repeat(4, 1fr); max-width: 760px; }
.in-others a { text-align: center; line-height: 1.4; }
.in-others b { display: block; font-size: 13px; color: var(--vermilion-text); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .in-gauge { max-width: none; }
  .in-intro { max-width: 320px; }
  .in-others ul { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .in-mix { padding-block: 56px; }
  .in-mix ol { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .in-gauge i { transition: none; } }
