/* play.css — LUMBER / TACTICIAN 用。共通の tokens.css は読み込まず、題字の帯だけ同じ見た目にする。 */
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@700;900&display=swap');
:root {
  --round: 'Zen Maru Gothic', 'BIZ UDPGothic', 'Hiragino Maru Gothic ProN', sans-serif;
  --r: 12px;
  --ball: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='18' fill='%23FBFAF6'/%3E%3Cpath d='M9 6c5 4 7 9 7 14s-2 10-7 14M31 6c-5 4-7 9-7 14s2 10 7 14' fill='none' stroke='%23D2382F' stroke-width='2' stroke-linecap='round' stroke-dasharray='1.6 3.4'/%3E%3C/svg%3E");
}
html[data-tint="leather"] { --tint: #9A6B3A; }  /* バットの木・グラブの革 */
html[data-tint="turf"]    { --tint: #2F7F4A; }  /* 芝 */
html[data-tint] { --tint-deep: color-mix(in srgb, var(--tint) 82%, #000); }

/* 題字の帯(芝刈りのしま + ボール) */
html[data-tint] .app-title, html[data-tint] .header-title {
  padding: 6px 46px 6px 14px; border-radius: var(--r); color: #fff;
  background:
    var(--ball) no-repeat right 10px center / 28px 28px,
    repeating-linear-gradient(90deg, var(--tint) 0 24px, var(--tint-deep) 24px 48px);
  outline: 1.5px solid rgba(255,255,255,.5); outline-offset: -4px;
}
html[data-tint] .app-title-main, html[data-tint] .header-title-main {
  font-family: var(--round); font-weight: 900; font-size: 21px; letter-spacing: .06em; color: #fff;
}
html[data-tint] .app-title-sub, html[data-tint] .header-title-sub {
  font-family: var(--round); font-weight: 700; color: rgba(255,255,255,.88); text-transform: none; letter-spacing: .04em;
}
/* TACTICIAN の導入画面の題字 */
html[data-tint] #tc-landing .tc-wrap h1 {
  font-family: var(--round); font-weight: 900; color: #fff; display: inline-block; padding: 8px 64px 8px 22px; border-radius: var(--r);
  background: var(--ball) no-repeat right 14px center / 34px 34px, repeating-linear-gradient(90deg, var(--tint) 0 30px, var(--tint-deep) 30px 60px);
}

/* ---- 全体の色(LUMBER / TACTICIAN): 背景はプレイヤーが選ぶ色のまま、罫線・見出し・下の帯にツールの色 ---- */
html[data-tint] .app-header, html[data-tint] header { border-bottom: 3px solid var(--tint); }
html[data-tint] .tab-bar { border-top: 3px solid var(--tint); }
html[data-tint] .stats-section-title, html[data-tint] .card-title { border-left: 6px solid var(--tint); padding-left: 10px; border-radius: 3px; }
html[data-tint] .card { border-top: 4px solid var(--tint); }
html[data-tint] body::after {
  content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: 6px; z-index: 5; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--tint) 0 30px, var(--tint-deep) 30px 60px);
}
