/* ══════════════════════════════════════════════════════════════════════
   마추 모바일 v3 — 공용 디자인 시스템
   (2026-09-15 「MACHU 모바일 UI/UX 최종 개발 전달서」 FINAL 1.0)

   ⚠ .m3 는 PC(≥901px)에서 숨는다. 새 모바일 블록은 전부 <section class="m3 …"> 안에 둔다.
   ⚠ 클래스는 전부 m3- 접두. 한 단어 클래스(.sub .tit .nm …)는 리빌더 전역 규칙에 걸린다.
   ⚠ 다크모드는 body.jt-dark. :root[data-theme] 로 쓰면 라이트에도 적용되는 함정이 있다.
   화면 전용 규칙은 rb.css/m3/{화면}.css 에 둔다 (jtm_m3_css('화면')).

   ⚠ 2026-09-15 대표 요청 '전부 초록' — 모바일에 파랑·남색·보라·빨강·금색이 나오면 안 된다.
     토큰 이름(--m3-blue · --m3-navy · --m3-gold · --m3-red · --m3-violet)은 여러 화면 CSS 가 쓰므로
     그대로 두고 값만 초록 팔레트로 바꿨다. 새 색을 쓸 때는 초록 토큰만 쓴다.
     --m3-green-fill : 흰 글자 얹는 채움(밝은 #0E7C4C · 흰 글자 5.2:1) / 다크 #3FC482(글자 #0D1320)
     --m3-green-tx   : 연한 바탕 위 작은 초록 글자
     --m3-green-lt   : 차트 선·진행 막대
     --m3-green-line2: 연한 초록 테두리(예전 연파랑 안내상자 테두리)
     --m3-green-tint2: 더 연한 초록 바탕
   ══════════════════════════════════════════════════════════════════════ */

.m3 { display: none; }

@media (max-width: 900px) {

.m3 {
  display: block;
  --m3-green:      #12945B;
  --m3-green-hv:   #0E7C4C;
  --m3-green-tint: #E8F6EF;
  --m3-green-line: #BFE5D1;
  --m3-green-fill: #0E7C4C;
  --m3-green-tx:   #17794A;
  --m3-green-lt:   #22A45D;
  --m3-green-line2:#D7EEE1;
  --m3-green-tint2:#F2FAF5;
  --m3-navy:       #0F2E20;
  --m3-blue:       #0E7C4C;
  --m3-blue-tint:  #E8F6EF;
  --m3-blue-line:  #BFE5D1;
  --m3-bg:         #F6F8FC;
  --m3-card:       #FFFFFF;
  --m3-line:       #E4EAF2;
  --m3-line-2:     #EEF2F8;
  --m3-text:       #0F2E20;
  --m3-sub:        #64748B;
  --m3-faint:      #94A3B8;
  --m3-gold:       #0B5E3A;
  --m3-gold-tx:    #0B5E3A;
  --m3-gold-tint:  #DDF1E5;
  --m3-gold-line:  #9FD4B6;
  --m3-red:        #0E7C4C;
  --m3-red-tint:   #E8F6EF;
  --m3-violet:     #0B5E3A;
  --m3-violet-tint:#DDF1E5;
  --m3-sh:         0 2px 10px rgba(15,46,32,.06);
  --m3-sh-hi:      0 8px 22px rgba(18,148,91,.28);
  --m3-r:          20px;
  font-family: var(--jt2-font, Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif);
  color: var(--m3-text);
  letter-spacing: -.02em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  margin: 0 0 18px;
}
body.jt-dark .m3 {
  --m3-green:      #3FC482;
  --m3-green-hv:   #52D190;
  --m3-green-tint: #143325;
  --m3-green-line: #245C40;
  --m3-green-fill: #3FC482;
  --m3-green-tx:   #7FD9A8;
  --m3-green-lt:   #52D190;
  --m3-green-line2:#1D3A2B;
  --m3-green-tint2:#10281C;
  --m3-navy:       #E8F2EC;
  --m3-blue:       #3FC482;
  --m3-blue-tint:  #143325;
  --m3-blue-line:  #245C40;
  --m3-bg:         #0D1320;
  --m3-card:       #161E2C;
  --m3-line:       #253045;
  --m3-line-2:     #202A3C;
  --m3-text:       #E8F2EC;
  --m3-sub:        #A7B4C9;
  --m3-faint:      #6B7A92;
  --m3-gold:       #2FAE6E;
  --m3-gold-tx:    #9BE3BC;
  --m3-gold-tint:  #173D2A;
  --m3-gold-line:  #2E6B4A;
  --m3-red:        #7FD9A8;
  --m3-red-tint:   #143325;
  --m3-violet:     #9BE3BC;
  --m3-violet-tint:#173D2A;
  --m3-sh:         0 1px 4px rgba(0,0,0,.45);
  --m3-sh-hi:      0 8px 22px rgba(0,0,0,.5);
}
/* 다크 — 밝아진 초록(#3FC482·#2FAE6E) 바탕 위 흰 글자는 대비가 2:1 대라 읽기 어렵다 → 글자를 짙은 남색(#0D1320)으로.
   테두리형(line·gline·ghost) 버튼은 제 색을 쓰므로 뺀다. */
body.jt-dark .m3 .m3-badge--free, body.jt-dark .m3 .m3-badge--hi, body.jt-dark .m3 .m3-badge--best,
body.jt-dark .m3 .m3-badge--hit, body.jt-dark .m3 .m3-badge--next, body.jt-dark .m3 .m3-badge--prem,
body.jt-dark .m3 .m3-btn:not(.m3-btn--line):not(.m3-btn--gline):not(.m3-btn--ghost),
body.jt-dark .m3 .m3-ctabar, body.jt-dark .m3 .m3-seg [aria-selected="true"],
body.jt-dark .m3 .m3-filter[aria-pressed="true"], body.jt-dark .m3 .m3-check::before { color: #0D1320; }
.m3 *, .m3 *::before, .m3 *::after { box-sizing: border-box; }
.m3 a { text-decoration: none; color: inherit; }
.m3 a:hover { text-decoration: none; }
.m3 button { font-family: inherit; }

/* ── 배치 ── */
.m3 .m3-pad   { padding: 0 16px; }
.m3 .m3-stack > * + * { margin-top: 14px; }
.m3 .m3-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.m3 .m3-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.m3 .m3-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }

/* ── 타이포 (전달서 1.3 — 본문 15px 이상, 보조 최소 14px) ── */
.m3 .m3-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--m3-sub); }
.m3 .m3-h1 { margin: 6px 0 0; font-size: 34px; line-height: 1.16; font-weight: 900; letter-spacing: -.045em; color: var(--m3-text); }
.m3 .m3-h1 em { font-style: normal; color: var(--m3-green); }
.m3 .m3-lead { margin: 10px 0 0; font-size: 16px; line-height: 1.55; font-weight: 600; color: var(--m3-sub); }
.m3 .m3-h2 { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 900; letter-spacing: -.035em; color: var(--m3-text); }
.m3 .m3-h3 { margin: 0; font-size: 19px; line-height: 1.35; font-weight: 800; letter-spacing: -.03em; color: var(--m3-text); }
.m3 .m3-sub { font-size: 14px; line-height: 1.55; font-weight: 600; color: var(--m3-sub); }
.m3 .m3-num { font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* ── 히어로 ── */
.m3 .m3-hero { position: relative; overflow: hidden; padding: 20px 16px 22px; min-height: 196px;
  background: linear-gradient(180deg, #F3FAF6 0%, var(--m3-bg) 100%); }
body.jt-dark .m3 .m3-hero { background: linear-gradient(180deg, #10281C 0%, var(--m3-bg) 100%); }
.m3 .m3-hero-tx { position: relative; z-index: 2; max-width: 64%; }
.m3 .m3-hero-art, .m3 .m3-hero-photo { position: absolute; right: -8px; top: 12px; width: 46%; max-width: 230px; height: auto; z-index: 1; }
.m3 .m3-hero-photo { top: 0; height: 100%; width: 52%; max-width: none; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
.m3 .m3-script { position: absolute; right: 14px; top: 26px; z-index: 3; transform: rotate(-8deg);
  font-family: "Nanum Pen Script", "Gaegu", cursive; font-size: 22px; line-height: 1.15; font-weight: 400;
  color: var(--m3-navy); text-align: right; letter-spacing: 0; }
.m3 .m3-script::after { content: ""; display: block; margin: 4px 0 0 auto; width: 70%; height: 2px; border-radius: 2px;
  background: var(--m3-green); transform: rotate(-4deg); opacity: .7; }

/* ── 카드 ── */
.m3 .m3-card { background: var(--m3-card); border: 1px solid var(--m3-line); border-radius: var(--m3-r);
  padding: 18px; box-shadow: var(--m3-sh); }
.m3 .m3-card--tight { padding: 14px; }
.m3 .m3-card--tint { background: var(--m3-green-tint); border-color: var(--m3-green-line); }
.m3 .m3-card--gold { background: var(--m3-gold-tint); border-color: var(--m3-gold-line); }
.m3 .m3-card--blue { background: var(--m3-blue-tint); border-color: var(--m3-blue-line); }
.m3 a.m3-card { display: block; }
.m3 a.m3-card:active { transform: scale(.992); }

/* 섹션 머리 (제목 · 우측 링크) */
.m3 .m3-sec { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 26px 16px 12px; }
.m3 .m3-sec .m3-h2 { flex: 1; min-width: 0; }
.m3 .m3-sec-more { flex: none; display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 700; color: var(--m3-sub); }
.m3 .m3-sec-more .m3-ico { width: 16px; height: 16px; }
.m3 .m3-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.m3 .m3-card-head .m3-h3 { flex: 1; min-width: 0; }
.m3 .m3-icobox { flex: none; width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--m3-green-tint); color: var(--m3-green); }
.m3 .m3-icobox--blue { background: var(--m3-blue-tint); color: var(--m3-blue); }
.m3 .m3-icobox--gold { background: var(--m3-gold-tint); color: var(--m3-gold); }

/* ── 배지 ── */
.m3 .m3-badge { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 14px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; line-height: 1;
  background: var(--m3-line-2); color: var(--m3-sub); }
.m3 .m3-badge--live { background: var(--m3-red-tint); color: var(--m3-red); }
.m3 .m3-badge--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.m3 .m3-badge--free { background: var(--m3-green-fill); color: #fff; }
.m3 .m3-badge--hi   { background: var(--m3-green-fill); color: #fff; }
.m3 .m3-badge--gen  { background: var(--m3-green-tint); color: var(--m3-green-tx); }
.m3 .m3-badge--blue { background: var(--m3-blue-tint); color: var(--m3-blue); }
.m3 .m3-badge--best { background: var(--m3-green-fill); color: #fff; border-radius: 8px; }
.m3 .m3-badge--prem { background: var(--m3-gold); color: #fff; border-radius: 8px; }
.m3 .m3-badge--gold { background: var(--m3-gold-tint); color: var(--m3-gold-tx); border: 1px solid var(--m3-gold-line); }
.m3 .m3-badge--next { background: var(--m3-blue); color: #fff; }
.m3 .m3-badge--done { background: var(--m3-line-2); color: var(--m3-faint); }
.m3 .m3-badge--hit  { background: var(--m3-green-fill); color: #fff; border-radius: 8px; min-width: 52px; justify-content: center; }
.m3 .m3-badge--miss { background: var(--m3-line-2); color: var(--m3-sub); border-radius: 8px; min-width: 52px; justify-content: center; }

/* 경마장 칩 — 전부 초록 계열(서울 진초록 · 부경 기본초록 · 제주 옅은바탕+테두리 · 영천 짙은초록 · 기타 회색).
   토큰에 기대지 않고 명시값 — 화면 CSS 가 토큰을 바꿔도 경마장 구분이 흔들리지 않게. */
.m3 .m3-rg { display: inline-flex; align-items: center; justify-content: center; min-width: 58px; height: 34px; padding: 0 12px;
  border-radius: 999px; font-size: 15px; font-weight: 800; white-space: nowrap; }
.m3 .m3-rg--seoul  { background: #E8F6EF; color: #0E7C4C; }
.m3 .m3-rg--busan  { background: #E8F6EF; color: #17794A; } /* 2026-09-15 polish: #12945B(3.5:1) → #17794A(4.9:1) */
.m3 .m3-rg--jeju   { background: #F2FAF5; color: #17794A; box-shadow: inset 0 0 0 1px #D7EEE1; }
.m3 .m3-rg--ycheon { background: #DDF1E5; color: #0B5E3A; }
.m3 .m3-rg--etc    { background: var(--m3-line-2); color: var(--m3-sub); }
body.jt-dark .m3 .m3-rg--seoul  { background: #143325; color: #7FD9A8; }
body.jt-dark .m3 .m3-rg--busan  { background: #143325; color: #52D190; }
body.jt-dark .m3 .m3-rg--jeju   { background: #10281C; color: #7FD9A8; box-shadow: inset 0 0 0 1px #1D3A2B; }
body.jt-dark .m3 .m3-rg--ycheon { background: #173D2A; color: #9BE3BC; }

/* ── 버튼 ── */
.m3 .m3-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px;
  border-radius: 12px; border: 1px solid transparent; font-size: 16px; font-weight: 800; white-space: nowrap; cursor: pointer;
  background: var(--m3-green-fill); color: #fff; }
.m3 .m3-btn:active { filter: brightness(.94); }
.m3 .m3-btn--blue { background: var(--m3-blue); color: #fff; }
.m3 .m3-btn--line { background: var(--m3-blue-tint); color: var(--m3-blue); border-color: var(--m3-blue-line); }
.m3 .m3-btn--gline { background: var(--m3-card); color: var(--m3-green); border-color: var(--m3-green); }
.m3 .m3-btn--ghost { background: var(--m3-card); color: var(--m3-text); border-color: var(--m3-line); }
.m3 .m3-btn--sm { min-height: 38px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.m3 .m3-btn--block { display: flex; width: 100%; }
.m3 .m3-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* 큰 초록 CTA 막대 */
.m3 .m3-ctabar { display: flex; align-items: center; gap: 12px; margin: 22px 16px 0; padding: 18px 18px; border-radius: 18px;
  background: var(--m3-green-fill); color: #fff; box-shadow: var(--m3-sh-hi); }
.m3 .m3-ctabar .m3-ico { flex: none; }
.m3 .m3-ctabar-tx { flex: 1; min-width: 0; }
.m3 .m3-ctabar-tx small { display: block; font-size: 14px; font-weight: 600; opacity: .9; }
.m3 .m3-ctabar-tx b { display: block; font-size: 20px; font-weight: 900; letter-spacing: -.03em; line-height: 1.3; }
.m3 .m3-ctabar-go { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--m3-green);
  display: flex; align-items: center; justify-content: center; }
.m3 .m3-ctabar-note { margin: 10px 16px 0; text-align: center; font-size: 14px; font-weight: 600; color: var(--m3-sub); }

/* 줄 전체 링크 행 (›) */
.m3 .m3-row { display: flex; align-items: center; gap: 12px; }
.m3 .m3-row-go { flex: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--m3-blue-tint); color: var(--m3-blue); }
.m3 .m3-row-go--g { background: var(--m3-green-tint); color: var(--m3-green); }
.m3 .m3-chev { flex: none; color: var(--m3-faint); }

/* ── KPI 타일 ── */
.m3 .m3-kpi { background: var(--m3-card); border: 1px solid var(--m3-line); border-radius: 18px; padding: 14px 12px; min-width: 0; box-shadow: var(--m3-sh); }
.m3 .m3-kpi-l { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; color: var(--m3-text); }
.m3 .m3-kpi-v { display: block; margin-top: 6px; font-size: 30px; line-height: 1.08; font-weight: 900; letter-spacing: -.04em; color: var(--m3-green); font-variant-numeric: tabular-nums; }
.m3 .m3-kpi-v small { font-size: 18px; font-weight: 700; color: var(--m3-sub); letter-spacing: -.02em; }
.m3 .m3-kpi-v--ink { color: var(--m3-text); }
.m3 .m3-kpi-s { display: block; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--m3-sub); }
.m3 .m3-kpi-pill { display: inline-block; margin-top: 8px; padding: 5px 10px; border-radius: 10px; background: var(--m3-green-tint);
  color: var(--m3-green-tx); font-size: 14px; font-weight: 800; white-space: nowrap; }
.m3 .m3-state { display: block; margin-top: 8px; font-size: 22px; font-weight: 900; color: var(--m3-sub); }

/* ── 세그먼트 탭 ── */
.m3 .m3-seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 14px; background: var(--m3-line-2); max-width: 100%; }
.m3 .m3-seg button, .m3 .m3-seg a { flex: 1; min-height: 38px; padding: 0 14px; border: 0; border-radius: 11px; background: transparent;
  font-size: 15px; font-weight: 700; color: var(--m3-sub); white-space: nowrap; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.m3 .m3-seg [aria-selected="true"] { background: var(--m3-green-fill); color: #fff; font-weight: 800; box-shadow: 0 2px 6px rgba(18,148,91,.25); }
.m3 .m3-seg--blue [aria-selected="true"] { background: var(--m3-blue); box-shadow: 0 2px 6px rgba(18,148,91,.25); }
.m3 [data-m3-pane][hidden] { display: none !important; }

/* 필터 칩 (전체·서울·…) */
.m3 .m3-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 16px; margin: 0 -16px; }
.m3 .m3-filters::-webkit-scrollbar { display: none; }
.m3 .m3-filter { flex: none; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--m3-line-2);
  font-size: 16px; font-weight: 700; color: var(--m3-text); cursor: pointer; }
.m3 .m3-filter[aria-pressed="true"] { background: var(--m3-blue); color: #fff; font-weight: 800; }

/* ── 차트 ── */
.m3 .m3-chart { width: 100%; }
.m3 .m3-chart-svg { display: block; width: 100%; height: auto; overflow: visible; }
.m3 .m3-chart-grid { stroke: var(--m3-line); stroke-width: 1; stroke-dasharray: 4 4; }
.m3 .m3-chart-vline { stroke: var(--m3-line); stroke-width: 1; }
/* viewBox 340 이 375px 폭에서 약 0.95배로 줄어든다 — 실제 13~14px 가 되도록 */
.m3 .m3-chart-tick { font-size: 14px; font-weight: 600; fill: var(--m3-sub); }
.m3 .m3-chart-x { font-size: 14px; font-weight: 700; fill: var(--m3-text); }
.m3 .m3-chart-xs { font-size: 13px; font-weight: 600; fill: var(--m3-sub); }
.m3 .m3-chart-val { font-size: 14px; font-weight: 900; fill: var(--m3-text); }

/* ── 신뢰 안내 (방패) — 연초록 바탕 + 연한 초록 테두리 + 초록 아이콘 ── */
.m3 .m3-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 18px;
  background: var(--m3-blue-tint); border: 1px solid var(--m3-green-line2); }
.m3 .m3-note .m3-ico { flex: none; color: var(--m3-green); }
.m3 .m3-note b { display: block; font-size: 17px; font-weight: 900; color: var(--m3-text); }
.m3 .m3-note span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.55; font-weight: 600; color: var(--m3-sub); }
.m3 .m3-checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.m3 .m3-check { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--m3-card);
  border: 1px solid var(--m3-line); font-size: 14px; font-weight: 700; color: var(--m3-text); }
.m3 .m3-check::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; background: var(--m3-green-fill); color: #fff;
  font-size: 11px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; }

/* ── FAQ (details) ── */
.m3 details.m3-faq { background: var(--m3-card); border: 1px solid var(--m3-line); border-radius: 16px; padding: 0 14px; }
.m3 details.m3-faq + details.m3-faq { margin-top: 10px; }
.m3 details.m3-faq summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 58px; cursor: pointer;
  font-size: 16px; font-weight: 800; color: var(--m3-text); }
.m3 details.m3-faq summary::-webkit-details-marker { display: none; }
.m3 details.m3-faq summary .m3-q { flex: none; color: var(--m3-blue); font-weight: 900; font-size: 17px; }
.m3 details.m3-faq summary .m3-ico { margin-left: auto; color: var(--m3-faint); transition: transform .2s; }
.m3 details.m3-faq[open] summary .m3-ico { transform: rotate(180deg); }
.m3 details.m3-faq .m3-faq-a { padding: 0 0 14px 26px; font-size: 15px; line-height: 1.6; font-weight: 600; color: var(--m3-sub); }

/* ── 카운트다운 ── */
.m3 .m3-cd { display: inline-flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; }
.m3 .m3-cd b { font-size: 38px; font-weight: 900; letter-spacing: -.02em; color: var(--m3-green); }
.m3 .m3-cd i { font-style: normal; font-size: 30px; font-weight: 800; color: var(--m3-green); opacity: .8; }
.m3 .m3-cd--sm b { font-size: 18px; color: var(--m3-text); }
.m3 .m3-cd--sm i { font-size: 16px; color: var(--m3-sub); }

/* ── 빈 상태 ── */
.m3 .m3-empty { padding: 26px 16px; text-align: center; border-radius: 16px; background: var(--m3-line-2); }
.m3 .m3-empty b { display: block; font-size: 17px; font-weight: 800; color: var(--m3-text); }
.m3 .m3-empty span { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--m3-sub); }

/* 좁은 폭(≤360px) */
@media (max-width: 360px) {
  .m3 .m3-h1 { font-size: 30px; }
  .m3 .m3-kpi-v { font-size: 26px; }
  .m3 .m3-grid3 { gap: 6px; }
  .m3 .m3-cd b { font-size: 32px; }
}

/* ══ 하단 탭 (전달서 2절) — 홈 · 오늘의 경주 · 마추픽(가운데 초록 원) · 출전마 분석 · MY ══ */
.jt2-tabbar a span { font-size: 12px; letter-spacing: -.04em; }
.jt2-tabbar a[aria-current="page"] { color: #12945B; }
body.jt-dark .jt2-tabbar a[aria-current="page"] { color: #3FC482; }
.jt2-tabbar a:nth-child(3) svg {
  width: 32px; height: 32px; padding: 8px; margin-top: -26px;   /* 말 머리 그림은 선이 가늘다 — 원(48px)은 그대로, 그림만 26 → 32 */
  background: #12945B; color: #FFF; border: 4px solid var(--jt2-card, #fff);
  box-shadow: 0 8px 18px rgba(18,148,91,.38); }
.jt2-tabbar a:nth-child(3)[aria-current="page"] svg { background: #0E7C4C; }
.jt2-tabbar a:nth-child(3) span { color: #12945B; font-weight: 800; }
body.jt-dark .jt2-tabbar a:nth-child(3) span { color: #3FC482; }

} /* @media max-width:900px */
