/* 喫茶ふでまめ御得意様之証 — DADS版（2026-09-28）
   デジタル庁デザインシステム（DADS）を土台に、ふでまめの顔（筆文字のロゴ・店構え・たぬき）を残す。
   キーカラーは月替わり（お品書きの「月の色」）。値は assets/theme.js が --key に入れる。
   お客様画面（index.html・stamp.html）だけが body.dads で読み込む。管理画面とゲームは style.css のまま。
   合意メモ: 喫茶ふでまめ/作業/合意メモ_20260927_ポイントカードDADS版モックアップ.md */

:root {
  --key: #9F563A;        /* 月の色（theme.jsが上書き。白文字で4.5:1以上に調整済み） */
  --key-tint: #F5EEEB;   /* 月の色を白に9割寄せた面 */
  --key-soft: #EAD8CF;
  --page: #FAF7F0;       /* 生成りの地 */
  --paper: #FFFFFF;
  --text: #1A1A1A;       /* 本文 16.3:1 */
  --sub: #4D4D4D;        /* 補足 7.9:1 */
  --rule: #E3DDCF;       /* 飾りの線 */
  --rule-strong: #858585;/* 意味のある線 3:1以上 */
  --danger: #CE0000;
}

body.dads {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
  background: var(--page);
  background-image: none;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}
body.dads .wrap { padding-top: 0; }
body.dads.fixed-shell .wrap { padding: 0 16px 0; }

/* ---------- ヘッダー（月の色の帯＋筆文字のロゴ） ---------- */
.dads-bar {
  margin: 0 -16px;
  height: 56px;
  flex: 0 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--key);
  color: #FFFFFF;
}
.dads-logo { font-family: "Yuji Syuku", serif; font-size: 22px; line-height: 1; letter-spacing: 0.12em; }
.dads-bar-label { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; }

/* ---------- カード ---------- */
body.dads .card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  box-shadow: none;
}
body.dads .card h2 {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--key);
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 12px;
}

/* ---------- たぬきちゃん（店構えの絵の上に、丸い額で重ねる） ---------- */
body.dads .tanuki-card { padding: 0; overflow: hidden; }
.tanuki-scene {
  display: block;
  width: 100%;
  height: clamp(56px, 11dvh, 104px);
  object-fit: cover;
  object-position: 50% 58%;
}
body.dads .tanuki-row { padding: 0 16px 12px; gap: 16px; align-items: flex-end; }
.tanuki-medal {
  flex: 0 0 auto;
  width: clamp(76px, 12dvh, 104px);
  height: clamp(76px, 12dvh, 104px);
  margin-top: calc(clamp(76px, 12dvh, 104px) / -2);
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--page);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
body.dads .tanuki-figure img.tanuki {
  width: auto;
  height: clamp(62px, 10dvh, 88px);
  filter: none;
}
body.dads .tanuki-info { gap: 0; padding-top: 8px; }
body.dads .tanuki-title {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  background: none;
  padding: 0;
  border-radius: 0;
}
body.dads .tanuki-nickname { font-size: 16px; color: var(--sub); }

/* ---------- 押印帳（押印の枠も月の色） ---------- */
body.dads .stamp-grid { gap: 8px 10px; }
body.dads .stamp-slot {
  border: 2px dashed var(--rule-strong);
  background: var(--paper);
}
body.dads .stamp-slot img.ghost { opacity: 0.12; }
body.dads .stamp-slot .num {
  font-size: 20px;
  font-weight: 700;
  color: var(--sub);
  text-shadow: none;
}
body.dads .stamp-slot.filled { border: 2px solid var(--key); background: var(--key-tint); }
body.dads .stamp-count { font-size: 16px; margin-top: 12px; }
body.dads .stamp-count b { color: var(--key); font-size: 28px; line-height: 1.2; }
body.dads .stamp-count .visit-base { color: var(--sub); }

/* 「長月の色 団十郎茶」 */
.month-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--sub);
}
.month-chip[hidden] { display: none; }
.month-chip-swatch { width: 16px; height: 16px; border-radius: 4px; background: var(--key); }
.month-chip b { color: var(--text); }

/* ---------- ボタン ---------- */
body.dads .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 16px;
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 8px;
  color: #FFFFFF;
  background: var(--key);
  border: 1px solid var(--key);
}
body.dads .btn:active { filter: brightness(0.88); background: var(--key); }
body.dads .btn:focus-visible,
body.dads .bottom-nav button:focus-visible,
body.dads a:focus-visible { outline: 4px solid #000000; outline-offset: 2px; box-shadow: 0 0 0 2px #FFD43D; }
body.dads .btn.secondary,
body.dads .btn.order { background: var(--paper); color: var(--key); border: 1px solid var(--key); }
body.dads .btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--rule-strong); }
body.dads .btn.small { display: inline-flex; width: auto; min-height: 48px; padding: 8px 16px; margin-top: 0; font-size: 16px; }
body.dads .btn:disabled { background: #E6E6E6; border-color: #E6E6E6; color: var(--sub); }

/* ---------- 下のメニュー ---------- */
body.dads .bottom-nav { background: var(--paper); border-top: 1px solid var(--rule); }
body.dads .bottom-nav button {
  position: relative;
  min-height: 64px;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--sub);
}
body.dads .bottom-nav button .icon { display: flex; font-size: 0; }
body.dads .bottom-nav button.active { color: var(--key); font-weight: 700; }
body.dads .bottom-nav button.active::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 48px; height: 4px;
  margin-left: -24px;
  border-radius: 0 0 4px 4px;
  background: var(--key);
}

/* おもては1画面ぴったり（中身が縮む） */
body.dads #view-home.active { gap: clamp(8px, 1.6dvh, 16px); padding-top: clamp(8px, 1.6dvh, 16px); padding-bottom: 76px; }
body.dads #view-home.active .btn { margin-top: 0; }
/* 中身は縮めない。収まらない機種（小さい画面・長いお名前）では切らずにスクロールさせる */
body.dads #view-home.active { overflow-y: auto; }
body.dads #view-home.active > * { flex-shrink: 0; }
body.dads .view.active { padding-bottom: 88px; }

/* ---------- 文字・フォーム ---------- */
body.dads .note { font-size: 14px; line-height: 1.7; color: var(--sub); }
body.dads label { font-size: 14px; color: var(--text); font-weight: 700; margin-top: 16px; }
body.dads input[type="text"],
body.dads input[type="password"] {
  font-size: 16px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: var(--paper);
  color: var(--text);
}
body.dads input:focus { outline: 4px solid #000000; outline-offset: 1px; box-shadow: 0 0 0 2px #FFD43D; }
body.dads .error-msg { color: var(--danger); font-size: 14px; font-weight: 700; }

body.dads .modal-bg { background: rgba(0, 0, 0, 0.5); }
body.dads .modal { border-radius: 12px; padding: 24px 20px; background: var(--paper); }
body.dads .modal h3 { font-size: 20px; line-height: 1.5; letter-spacing: 0.02em; color: var(--text); margin-bottom: 8px; }

/* ご注文・ご予約シート */
body.dads .order-sheet { background: var(--paper); box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2); }
body.dads .sheet-handle { background: var(--rule-strong); }
body.dads .sheet-title {
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  border-bottom: 1px solid var(--rule);
}
body.dads .order-row { color: var(--text); border-bottom: 1px solid var(--rule); min-height: 56px; }
body.dads .order-icon { color: var(--key); }
body.dads .order-texts b { font-size: 16px; }
body.dads .order-arrow { color: var(--sub); }

/* 遊び場 */
body.dads .asobi-row { gap: 12px; }
body.dads .asobi-row + .asobi-row { border-top: 1px solid var(--rule) !important; margin-top: 16px !important; padding-top: 16px !important; }
body.dads .asobi-tanuki {
  width: 64px; height: 64px;
  padding: 6px;
  border-radius: 50%;
  background: var(--key-tint);
  object-fit: contain;
}
body.dads .asobi-title { font-family: inherit; font-size: 17px; font-weight: 700; letter-spacing: 0; }
body.dads .asobi-row .btn.small { padding: 8px 12px; letter-spacing: 0; }
body.dads .asobi-info .note { margin-top: 0; }
body.dads .asobi-info .note b { color: var(--key) !important; }

body.dads .toast { background: var(--text); color: #FFFFFF; font-size: 14px; }

/* ---------- 押印の直後（stamp.html） ---------- */
body.dads .stamp-after .big,
body.dads .stamp-anim .big { font-size: 20px; line-height: 1.5; letter-spacing: 0.02em; }
body.dads .stamp-burst { border-color: var(--key); }
body.dads .fly-tanuki { filter: none; }
body.dads .review-card { border: 2px solid var(--key); border-radius: 12px; padding: 16px; }
body.dads .review-head { gap: 10px; }
body.dads .review-head img { width: 48px; height: 48px; }
body.dads .review-title { font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: 0; color: var(--key); }
body.dads .review-sub .btn { margin-top: 12px; font-size: 16px; min-height: 48px; padding: 8px 4px; letter-spacing: 0; white-space: nowrap; }
body.dads .a2hs-card .a2hs-lead,
body.dads .a2hs-step { font-size: 16px; }
body.dads .a2hs-sub, body.dads .a2hs-note { font-size: 14px; color: var(--sub); }
body.dads .a2hs-no { background: var(--key); width: 24px; height: 24px; font-size: 14px; }
body.dads .a2hs-ico { color: var(--text); }
body.dads .a2hs-note { border-top: 1px solid var(--rule); }

/* 背の低い画面（iPhone SE など）: おもてが1画面に収まるよう詰める */
@media (max-height: 700px) {
  body.dads .dads-bar { height: 48px; }
  body.dads .card { padding: 12px; }
  body.dads .card h2 { font-size: 18px; margin-bottom: 8px; }
  body.dads .tanuki-title { font-size: 20px; }
  body.dads .tanuki-nickname { font-size: 14px; }
  .tanuki-scene { height: 52px; }
  .tanuki-medal { width: 76px; height: 76px; margin-top: -38px; }
  body.dads .tanuki-figure img.tanuki { height: 62px; }
  body.dads .tanuki-info { padding-top: 4px; }
  body.dads .stamp-grid { width: 86%; margin: 0 auto; gap: 6px; }
  body.dads .stamp-count { margin-top: 6px; }
  body.dads .stamp-count b { font-size: 24px; }
  body.dads #view-home.active .btn { min-height: 48px; }
}

/* =====================================================================
   2026-09-28 追加: ゲーム3本（豆鉄砲・走れ！たぬきちゃん・飛び越え目録）と帳場もDADS版にそろえる
   ===================================================================== */

/* 旧デザインの色の変数を読み替える（各ページに直接書かれた var(--shu-deep) なども月の色になる） */
body.dads {
  --shu: var(--key);
  --shu-deep: var(--key);
  --sumi: var(--text);
  --sumi-light: var(--sub);
  --line: var(--rule);
  --card: var(--paper);
  --washi: var(--page);
  --washi-deep: var(--key-tint);
  --matcha: var(--sub);
}

/* もどるリンク（ゲーム・目録の左上） */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  padding-right: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--key);
  text-decoration: none;
}

/* ---------- ゲーム（豆鉄砲・走れ！たぬきちゃん） ---------- */
body.dads.game .wrap { padding: 8px 16px 12px; }
body.dads .game-head { gap: 8px; }
body.dads .game-title { font-family: inherit; font-size: 18px; font-weight: 700; letter-spacing: 0; color: var(--text); }
body.dads .game-scores { font-size: 14px; color: var(--sub); }
body.dads .game-scores b { color: var(--text); font-size: 16px; }
body.dads .game-scores .best b { color: var(--key); }
body.dads .run-stage { border: 1px solid var(--rule); border-radius: 12px; }
body.dads .run-overlay .big { font-family: inherit; font-weight: 700; font-size: 24px; line-height: 1.4; letter-spacing: 0.02em; color: var(--key); }
body.dads .run-overlay .btn { width: 100%; }
body.dads .run-hint { font-size: 14px; color: var(--sub); }
body.dads .bgm-choice { font-size: 14px; color: var(--text); gap: 8px; }
body.dads .bgm-choice button {
  min-height: 44px;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
}
body.dads .bgm-choice button.on { background: var(--key); border-color: var(--key); color: #FFFFFF; }
body.dads .bgm-credit { font-size: 12px; color: var(--sub); }
body.dads #linkHowto { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px !important; color: var(--key) !important; }

/* ---------- 飛び越え目録 ---------- */
body.dads .ga-head { gap: 8px; }
body.dads .ga-title { font-family: inherit; font-size: 18px; font-weight: 700; letter-spacing: 0; color: var(--text); }
body.dads .ga-count { font-size: 14px; color: var(--sub); }
body.dads .ga-count b { color: var(--key); font-size: 18px; }
body.dads .ga-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; box-shadow: none; padding: 16px; }
body.dads .ga-figure { background: var(--key-tint); border: none; border-radius: 8px; }
body.dads .ga-name { font-family: inherit; font-size: 17px; font-weight: 700; letter-spacing: 0; border-bottom: 1px solid var(--rule); }
body.dads .ga-desc { font-size: 14px; color: var(--text); }
body.dads .ga-desc.locked, body.dads .ga-name.locked { color: var(--sub); }
body.dads .ga-guest { font-size: 12px; letter-spacing: 0.04em; color: var(--sub); border-color: var(--rule-strong); }
body.dads .ga-link { font-size: 14px; color: var(--key); }
body.dads .ga-seal { font-size: 12px; font-weight: 700; color: var(--key); border-color: var(--key); }
body.dads .ga-complete {
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  color: var(--key);
  background: var(--key-tint);
  border: none;
  border-radius: 12px;
  padding: 16px;
}

/* ---------- 帳場（管理画面） ---------- */
body.dads.admin .wrap { padding-bottom: 32px; }
body.dads .admin-tabs { gap: 8px; margin-top: 16px; }
body.dads .admin-tabs button {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
}
body.dads .admin-tabs button.active { background: var(--key); border-color: var(--key); color: #FFFFFF; }
body.dads .stat-box { background: var(--key-tint); border-radius: 8px; padding: 12px; }
body.dads .stat-box .num { color: var(--key); font-size: 24px; }
body.dads .stat-box .lbl { font-size: 12px; color: var(--sub); }
body.dads .bar-chart .bar { background: var(--key); }
body.dads .bar-chart .bar span, body.dads .chart-labels { font-size: 12px; color: var(--sub); }
body.dads table.admin-table { font-size: 14px; }
body.dads table.admin-table th { font-size: 12px; font-weight: 700; color: var(--sub); }
body.dads table.admin-table th, body.dads table.admin-table td { border-bottom: 1px solid var(--rule); }
body.dads .icon-btn { min-height: 36px; padding: 4px 10px; font-size: 14px; color: var(--text); border: 1px solid var(--rule-strong); border-radius: 6px; background: var(--paper); }
body.dads .icon-btn.danger { color: var(--danger); border-color: var(--danger); }
body.dads select, body.dads textarea, body.dads input[type="date"] {
  font-size: 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: var(--paper);
  color: var(--text);
}
body.dads .member-table tr.award-next td { background: var(--key-tint); }
body.dads .award-badge { background: var(--key); }
body.dads .url-box { background: var(--key-tint); font-size: 14px; }
body.dads .qr-box img { border: 1px solid var(--rule); }
/* お客様一覧: 見出しは折り返さない（表は横にスクロールする）。登録名は1文字ずつ縦に割れないよう幅を確保 */
body.dads table.admin-table th { white-space: nowrap; }
body.dads .member-table td:nth-child(2) { min-width: 8em; }

/* =====================================================================
   2026-09-28 追加: ホーム画面に追加のチュートリアル（assets/a2hs-tour.js）
   ===================================================================== */
body.tour-open { overflow: hidden; }
.tour-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0, 0, 0, 0.62);
  display: flex; align-items: center; justify-content: center;
  padding: 16px 16px 96px;
}
.tour-panel {
  width: 100%; max-width: 400px;
  background: var(--paper); color: var(--text);
  border-radius: 12px; padding: 16px 16px 20px;
  font-family: "Noto Sans JP", sans-serif;
}
/* ①は矢印（画面の上か下の端）を見せるため、パネルを反対側へ寄せる */
.tour-overlay-bottom { padding-bottom: 150px; }
.tour-overlay-top { padding-top: 150px; padding-bottom: 16px; }
.tour-head { display: flex; align-items: center; justify-content: space-between; }
.tour-count { font-size: 14px; font-weight: 700; color: var(--key); }
.tour-close {
  width: 44px; height: 44px; margin: -8px -8px 0 0;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--sub); cursor: pointer;
}
.tour-title { font-size: 20px; line-height: 1.5; font-weight: 700; margin: 4px 0 12px; color: var(--text); }
.tour-text { font-size: 16px; line-height: 1.7; margin-top: 12px; }
.tour-sub { font-size: 14px; line-height: 1.7; color: var(--sub); margin-top: 8px; }
.tour-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin-right: 8px; vertical-align: middle;
  border-radius: 50%; background: var(--key-tint); color: var(--text);
}
.tour-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.tour-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--rule-strong); }
.tour-dots span.on { background: var(--key); width: 24px; border-radius: 4px; }
.tour-nav { display: flex; gap: 12px; margin-top: 8px; }
.tour-nav .btn { flex: 1; }

/* ① 画面の下（Safariのバー）を指す矢印 */
.tour-arrow {
  position: fixed; bottom: 6px; z-index: 301;
  color: #FFFFFF;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  animation: tour-bounce 1.1s ease-in-out infinite;
}
.tour-arrow-bottom-left { left: 18px; }
.tour-arrow-bottom-right { right: 18px; }
.tour-arrow-bottom-center { left: 50%; margin-left: -22px; }
.tour-arrow-top-right { top: 6px; bottom: auto; right: 18px; animation-name: tour-bounce-up; }
.tour-arrow-top-right svg { transform: rotate(180deg); }
@keyframes tour-bounce { 0%, 100% { transform: translateY(-10px); } 50% { transform: translateY(4px); } }
@keyframes tour-bounce-up { 0%, 100% { transform: translateY(10px); } 50% { transform: translateY(-4px); } }

/* 「やってみる」のあとに残す矢印と札（幕なし・ページは触れる） */
.tour-hint { position: fixed; inset: 0; z-index: 290; pointer-events: none; }
.tour-hint .tour-arrow { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35)); }
.tour-hint-label {
  position: fixed; pointer-events: auto;
  display: flex; align-items: center; gap: 4px;
  max-width: calc(100% - 24px);
  padding: 4px 4px 4px 14px;
  border-radius: 999px;
  background: var(--key); color: #FFFFFF;
  font-family: "Noto Sans JP", sans-serif; font-size: 14px; font-weight: 700; line-height: 1.4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.tour-hint-close {
  flex: 0 0 auto; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: #FFFFFF; cursor: pointer;
}
.tour-hint-bottom-left { left: 12px; bottom: 68px; }
.tour-hint-bottom-right { right: 12px; bottom: 68px; }
.tour-hint-bottom-center { left: 50%; bottom: 68px; transform: translateX(-50%); }
.tour-hint-top-right { right: 12px; top: 68px; }

/* ②③ 見本の絵（本物のSafariの画面ではなく、形をまねた絵） */
.tour-phone {
  position: relative; margin: 0 auto; width: 260px; max-width: 100%;
  background: #E5E5EA; border-radius: 16px; padding: 12px; overflow: hidden;
}
.tour-sheet { position: relative; background: #F2F2F7; border-radius: 12px; height: 176px; overflow: hidden; }
.tour-sheet-grab { width: 36px; height: 5px; border-radius: 3px; background: #C7C7CC; margin: 6px auto 4px; }
.tour-sheet-scroll { animation: tour-scroll 4.2s ease-in-out infinite; }
.tour-row {
  display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 12px; margin: 0 8px;
  background: #FFFFFF; border-bottom: 1px solid #E5E5EA;
  font-size: 14px; color: #1A1A1A;
}
.tour-row-target { font-weight: 700; animation: tour-hl 4.2s ease-in-out infinite; }
@keyframes tour-scroll { 0%, 12% { transform: translateY(0); } 42%, 100% { transform: translateY(-152px); } }
@keyframes tour-hl { 0%, 52% { background: #FFFFFF; } 60%, 86% { background: var(--key-soft); } 100% { background: #FFFFFF; } }

.tour-finger {
  position: absolute; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.55); border: 3px solid var(--key);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  opacity: 0;
}
.tour-finger-row { right: 22px; top: 58px; animation: tour-tap 4.2s ease-in-out infinite; }
@keyframes tour-tap {
  0%, 42% { opacity: 0; transform: scale(1.4); }
  50% { opacity: 1; transform: scale(1); }
  56% { opacity: 1; transform: scale(0.75); }
  64%, 86% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

.tour-addbar {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  background: #F2F2F7; border-radius: 12px 12px 0 0; padding: 12px; font-size: 13px; color: #1A1A1A;
}
.tour-addbar span { color: #0A5FC2; }
.tour-addbar .tour-add-target { font-weight: 700; padding: 2px 6px; border-radius: 6px; animation: tour-hl 3.2s ease-in-out infinite; }
.tour-finger-add { right: 6px; top: 7px; animation: tour-tap 3.2s ease-in-out infinite; }
.tour-addbody { display: flex; align-items: center; gap: 12px; background: #FFFFFF; padding: 12px; }
.tour-addbody img { border-radius: 12px; }
.tour-addname { font-size: 14px; font-weight: 700; }
.tour-addurl { font-size: 12px; color: #4D4D4D; word-break: break-all; }
.tour-toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  background: #FFFFFF; border-top: 1px solid #E5E5EA; border-radius: 0 0 12px 12px;
  padding: 10px 12px; font-size: 13px;
}
.tour-toggle { position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--key); }
.tour-toggle::after { content: ""; position: absolute; right: 2px; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; }

/* 動きを減らす設定の方: 最後の場面で止めておく */
@media (prefers-reduced-motion: reduce) {
  .tour-arrow, .tour-sheet-scroll, .tour-row-target, .tour-finger, .tour-add-target { animation: none !important; }
  .tour-sheet-scroll { transform: translateY(-152px); }
  .tour-row-target, .tour-addbar .tour-add-target { background: var(--key-soft); }
  .tour-finger { opacity: 1; }
}
