/* ============ クリエイターツール共通: サイトの上下(TOPと同じ導線) ============
   ツール本文はダークテーマのため、ここは本文の変数に依存せず実色で自己完結させる
   (本体の styles.css / marchinz-brushup.css は読み込まない)。
   クラスは mzsc- 接頭辞でツール側CSSと衝突しないようにする。 */

/* この共有パーツ自身の hidden を保証する(利用側CSSのガードに依存しない)。
   .mzsc-drawer は position:fixed のため、効かないと全画面を覆ってしまう */
[hidden] { display: none !important; }

.mzsc-brand {
  background: #fefcef;
  border-bottom: 1px solid rgba(15, 33, 56, 0.12);
  padding: 12px 18px calc(10px);
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
}
/* 本体(styles.css .site-brand)と同じ構え:
   ロゴとタグラインは中央、ログイン系は右端へ絶対配置 */
.mzsc-brand-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}
.mzsc-brand-logo { display: block; }
.mzsc-brand-logo img {
  display: block;
  /* 映像ツールは本文が主役。従来最大252pxだったブランドロゴを約1/4へ。 */
  width: min(16.1vw, 63px);
  max-width: 63px;
  height: auto;
  margin: 0 auto;
}
/* 本体 .site-brand-tagline と同じ値 */
.mzsc-brand-tagline {
  margin: 0.35rem auto 0;
  padding: 0;
  font-size: 0.68rem;
  line-height: 1.48;
  color: rgba(12, 15, 20, 0.6);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 18.5rem;
}
.mzsc-brand-right {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mzsc-brand-btn {
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(15, 33, 56, 0.16);
  color: #12213a;
  background: #fff;
}
.mzsc-brand-btn--primary { background: #f5a524; border-color: #f5a524; color: #2a1a00; }
.mzsc-brand-btn:hover { filter: brightness(0.97); }

/* グローバルナビ(TOPと同じ並び)。狭い画面は横スクロール */
.mzsc-nav {
  /* 本体(marchinz-brushup.css)と同じ: 紺地+下辺の黄色いライン */
  background: #0f2138;
  border-bottom: 2px solid #f5c518;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.mzsc-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  padding: 0.55rem 1.5rem;
  white-space: nowrap;
}
/* 本体と同じピル型。アクティブは青ピル */
.mzsc-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
  min-height: 40px;
}
.mzsc-nav a:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.mzsc-nav a.on, .mzsc-nav a.on:hover { background: #1e4fd6; color: #fff; }
.mzsc-nav a i { font-size: 0.9em; }

/* ---- フッター(TOPの「できること」以下と同じ内容) ---- */
/* 本体(marchinz-brushup.css .site-footer)と同じ紺地・白文字 */
.mzsc-foot { background: #0f2138; color: rgba(255, 255, 255, 0.78); margin-top: 32px; text-align: left; }
.mzsc-foot a { color: rgba(255, 255, 255, 0.78); }
.mzsc-foot a:hover { color: #fff; }

.mzsc-can { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 30px 18px 6px; }
.mzsc-can-inner { max-width: 1080px; margin: 0 auto; }
.mzsc-can h2 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.mzsc-can-sub { margin: 0 0 18px; font-size: 12.5px; line-height: 1.8; color: rgba(12, 15, 20, 0.66); }
.mzsc-can-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 860px) { .mzsc-can-grid { grid-template-columns: 1fr; } }
.mzsc-can-item {
  background: #fff;
  border: 1px solid rgba(15, 33, 56, 0.12);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(15, 33, 56, 0.05);
}
.mzsc-can-item h3 { margin: 0 0 8px; font-size: 14px; font-weight: 800; line-height: 1.6; }
.mzsc-can-links { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.mzsc-can-links a {
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(30, 79, 214, 0.08);
}
.mzsc-can-links a:hover { background: rgba(30, 79, 214, 0.16); }
.mzsc-can-item p { margin: 0; font-size: 12px; line-height: 1.85; color: rgba(12, 15, 20, 0.66); }

/* 広告・公式Xのバナー行(TOPフッターと同じ) */
/* 本体 .footer-banner-row の実測: flex / nowrap / gap 1.92px / width fit-content */
.mzsc-foot-banners {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.12rem;
  width: fit-content;
  margin: 0 auto;
  padding: 26px 18px 6px;
}
.mzsc-foot-banners img { max-width: 100%; }
.mzsc-foot-banners img { max-height: 46px; width: auto; display: block; }
.mzsc-x-link { display: inline-flex; color: #fff; }
.mzsc-x-link svg { width: 24px; height: 24px; }

/* 本体 .mz-footer-grid の実測: grid 3列 / gap 0.6rem / max-width 400px */
.mzsc-foot-grid {
  max-width: 400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  padding: 1.2rem 0.8rem 1.4rem;
  text-align: left;
}
.mzsc-foot-col { display: flex; flex-direction: column; gap: 0; }
.mzsc-foot-col a { font-size: 12.5px; text-decoration: none;
  /* タップ標的 44px(2026-07-20 UI/UXレビュー) */
  display: inline-flex; align-items: center; min-height: 44px; }
.mzsc-foot-col a:hover { text-decoration: underline; }
.mzsc-foot-tools { text-align: center; font-size: 12px; padding: 0 18px 4px; color: rgba(255, 255, 255, 0.7); }
/* 注意事項(映像ツールの免責・2026-08-06 優さん指示)。コピーライトと同じ
   トーンで、目立たせすぎず読める濃さに */
.mzsc-foot-note {
  max-width: 400px;
  margin: 0 auto;
  /* 左右0.8rem = 上のリンク列(.mzsc-foot-grid)と左端をそろえる */
  padding: 0 0.8rem 14px;
  text-align: left;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  line-height: 1.7;
}
.mzsc-foot-note p { margin: 0; }
.mzsc-foot-note-title { font-weight: 700; color: rgba(255, 255, 255, 0.75); margin-bottom: 2px; }
.mzsc-foot-note a { color: inherit; text-decoration: underline; }
.mzsc-foot-copy {
  text-align: center;
  font-size: 11.5px;
  /* 本体と同じ 0.75。紺地 #0f2138 に対して十分なコントラスト */
  color: rgba(255, 255, 255, 0.75);
  padding: 12px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.mzsc-foot-copy .mzsc-foot-ver { color: rgba(255, 255, 255, 0.5); }

/* ---- 「使える条件」表(ゲスト/無料登録)。
   ツール本文は白基調(Switcher)とダーク(ReAngle)が混在するため、
   どちらの上でも読めるよう「白いカード+濃紺文字」で自己完結させる ---- */
.mz-plan {
  margin: 12px 0 4px;
  padding: 12px 14px;
  border: 1px solid rgba(30, 79, 214, 0.22);
  border-radius: 12px;
  background: #f7faff;
  color: #12213a;
  text-align: left;
  box-shadow: 0 1px 2px rgba(15, 33, 56, 0.06);
}
.mz-plan-head { margin: 0 0 8px; font-size: 12.5px; font-weight: 800; color: #1e4fd6; }
.mz-plan-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mz-plan-table th, .mz-plan-table td {
  padding: 6px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(15, 33, 56, 0.1);
  color: #12213a;
  font-weight: 500;
}
.mz-plan-table thead th { font-size: 11.5px; color: rgba(12, 15, 20, 0.6); font-weight: 700; }
.mz-plan-table tbody th { text-align: left; color: rgba(12, 15, 20, 0.6); font-weight: 600; white-space: nowrap; }
.mz-plan-table td.on { color: #12213a; font-weight: 800; background: rgba(30, 79, 214, 0.07); }
.mz-plan-table thead th.on { color: #1e4fd6; }
.mz-plan-note { margin: 8px 0 0; font-size: 11.5px; line-height: 1.75; color: rgba(12, 15, 20, 0.66); }
.mz-plan-note a { color: #1e4fd6; font-weight: 700; }

/* ---- モバイル(719px以下): 本体サイトと同じくハンバーガーへ集約 ----
   本体は .site-brand-tagline / .site-brand-actions / .site-nav を隠して
   トグルだけ出すため、ツール側も同じ見え方に揃える */
.mzsc-burger {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(15, 33, 56, 0.16);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.mzsc-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #12213a; }

/* ---------- ログイン中のユーザー表示(本体ヘッダーと同じ構成) ---------- */
.mzsc-user-area { display: flex; align-items: center; gap: 8px; }
.mzsc-user { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.mzsc-user-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; background: #1e3a5f; display: block;
  border: 2px solid rgba(30, 79, 214, 0.25);
}
.mzsc-user-name { font-size: 13px; font-weight: 700; color: #12213a; max-width: 9em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mzsc-acct-wrap { position: relative; }
.mzsc-acct-btn {
  width: 42px; height: 42px; display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  border: 1px solid rgba(18, 33, 58, 0.18); border-radius: 10px;
  background: #fff; cursor: pointer;
}
.mzsc-acct-burger { display: flex; flex-direction: column; gap: 4px; }
.mzsc-acct-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #12213a; }
.mzsc-acct-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 95;
  min-width: 220px; padding: 6px;
  background: #fff; border: 1px solid rgba(18, 33, 58, 0.14);
  border-radius: 12px; box-shadow: 0 12px 32px rgba(8, 12, 18, 0.16);
}
.mzsc-acct-menu a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 13.5px; font-weight: 600; color: #12213a; text-decoration: none;
}
.mzsc-acct-menu a:hover { background: rgba(30, 79, 214, 0.08); }

/* ---------- ミニトースト(Vlogの開発中案内などツール共通の小さな知らせ) ---------- */
.mzsc-toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 12px); z-index: 120;
  max-width: min(92vw, 480px); padding: 12px 18px;
  background: rgba(18, 27, 40, 0.94); color: #fff;
  font-size: 14px; line-height: 1.5; border-radius: 12px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
}
.mzsc-toast.on { opacity: 1; transform: translate(-50%, 0); }

.mzsc-drawer { position: fixed; inset: 0; z-index: 90; }
.mzsc-drawer-bd { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(8, 12, 18, 0.45); }
.mzsc-drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(84vw, 320px);
  background: #fff;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 16px calc(20px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  box-shadow: -8px 0 24px rgba(8, 12, 18, 0.18);
  text-align: left;
}
.mzsc-drawer-close {
  border: 0; background: transparent; font-size: 26px; line-height: 1;
  color: #12213a; cursor: pointer; padding: 4px 6px; margin: -4px -6px 6px auto; display: block;
}
.mzsc-drawer-cta { display: flex; gap: 8px; margin-bottom: 14px; }
.mzsc-drawer-cta .mzsc-brand-btn { flex: 1; text-align: center; }
.mzsc-drawer-label {
  margin: 14px 0 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em;
  color: rgba(12, 15, 20, 0.5);
}
.mzsc-drawer-nav { display: flex; flex-direction: column; }
.mzsc-drawer-nav a {
  display: flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 6px 4px;
  font-size: 14px; font-weight: 600; color: #12213a; text-decoration: none;
  border-bottom: 1px solid rgba(15, 33, 56, 0.08);
}
.mzsc-drawer-nav a i { width: 18px; text-align: center; color: rgba(12, 15, 20, 0.5); }

@media (max-width: 719px) {
  /* 本体は375pxでタグラインを display:none にしている(実測)。
     出すとロゴやアバターと重なるため、本体と同じく隠す */
  .mzsc-brand-tagline { display: none; }
  /* 本体はロゴを左寄せにしている(実測 left 8px)。中央のままだと
     右端のアバターと重なる */
  .mzsc-brand-inner { text-align: left; }
  .mzsc-brand-logo img { margin: 0; }
  /* 本体のアカウントメニューボタンはモバイルで 0x0(非表示)。
     出すとサイトのハンバーガーと2つ並んで意味が分からなくなる。
     アカウント操作はアバターのタップ(マイページ)へ集約する */
  .mzsc-acct-wrap { display: none; }
  /* 本体の実測: アバター32px / バーガーの左に置く */
  .mzsc-user-avatar { width: 32px; height: 32px; }
  .mzsc-brand-right { right: 56px; }
  .mzsc-brand-right .mzsc-brand-btn { display: none; }   /* 未ログインのボタンはドロワー内へ */
  .mzsc-user-name { display: none; }                      /* 幅節約: アバターだけ見せる */
  .mzsc-nav { display: none; }
  .mzsc-burger { display: inline-flex; }
  .mzsc-brand { padding: 8px 14px; padding-top: calc(8px + env(safe-area-inset-top, 0px)); }
  /* 高さを指定するとロゴが潰れるため、幅(従来の約1/4)だけで制御する。 */
  .mzsc-brand-logo img { height: auto; }
}


/* ---------- ゲスト向け「登録すると使えるもの」カード(全ツール共通 2026-07-21) ---------- */
.mz-signup-perks {
  margin: 12px 0 4px;
  padding: 14px;
  border: 1px solid rgba(30, 79, 214, 0.25);
  border-radius: 12px;
  background: #fff;
  color: #0f2138;
}
.mz-signup-perks .msp-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
}
.mz-signup-perks .msp-title i { color: #1e4fd6; margin-right: 4px; }
.mz-signup-perks ul { margin: 0 0 12px; padding-left: 1.3em; }
.mz-signup-perks li { font-size: 12.5px; line-height: 1.8; }
.mz-signup-perks .msp-btn {
  display: block;
  text-align: center;
  padding: 11px 14px;
  border-radius: 10px;
  background: #f5a524;
  color: #2a1a00;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.mz-signup-perks .msp-btn:hover { filter: brightness(0.97); }

/* ---------- 下部タブバー(スマホ・ツールページ用 2026-07-24) ----------
   本体の .mz-tabbar と同じ見た目・6枠。ツールへ行くと下のメニューが消えて
   戻りにくい(優さん指摘)への対応。文字は本体と同じ約2/3(0.46rem) */
.mzsc-tabbar { display: none; }
@media (max-width: 768px) {
  .mzsc-tabbar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 70;   /* ツールの親指バー(80)より下、本文より上 */
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 0.5px solid rgba(15, 33, 56, 0.14);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mzsc-tabbar a {
    flex: 1 1 0; min-width: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; padding: 0 1px; min-height: 3.6rem;
    font-size: 0.46rem; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap;
    color: #6b7684; text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .mzsc-tabbar a svg { width: 22px; height: 22px; stroke: currentColor; }
  .mzsc-tabbar a.on { color: #1e4fd6; }

  /* 本文とツールの固定バー類をタブバーの上へ積む。
     高さは --mz-tabbar-h に1回だけ持たせ、各所はそれを参照する(2026-07-25)。
     以前は 3.6rem を各行が個別に書いており、あとから足した中断ノートだけが
     追随せず、実測で主ボタンを72%覆っていた */
  body.mzsc-has-tabbar { --mz-tabbar-h: 3.6rem; }
  body.mzsc-has-tabbar { padding-bottom: calc(var(--mz-tabbar-h) + env(safe-area-inset-bottom, 0px)); }
  body.mzsc-has-tabbar .mz-actionbar { bottom: calc(var(--mz-tabbar-h) + env(safe-area-inset-bottom, 0px)); }
  body.mzsc-has-tabbar .mzp-dock { bottom: calc(var(--mz-tabbar-h) + 8px + env(safe-area-inset-bottom, 0px)); }

  /* 全画面系ではタブバーを畳むので、積み上げ高さも 0 に戻す(下の display:none と対) */
  body.mz-export-open, body.mz-float-full, body.cutmode-open { --mz-tabbar-h: 0px; }

  /* 全画面系(書き出し全画面・プレビュー全画面・カット切替)では引っ込める */
  body.mz-export-open .mzsc-tabbar,
  body.mz-float-full .mzsc-tabbar,
  body.cutmode-open .mzsc-tabbar { display: none; }
  body.mz-export-open.mzsc-has-tabbar .mzp-dock { bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- フッターを詰める(スマホ 2026-07-24 優さん指示) ----------
   44pxのタップ標的でリンク行間が間延びしていた。スマホは30pxまで詰める */
@media (max-width: 768px) {
  .mzsc-foot-grid { padding: 0.9rem 0.8rem 1rem; }
  .mzsc-foot-col a { min-height: 30px; }
}


/* ---------- 作業に集中する(1画面1操作) 2026-07-28 ----------
   ツールの工程に入っている間、サイト共通の外枠(ブランド帯・ヘッダー・
   フッター・下部タブ)を丸ごと下げる。実測で、最初の工程の画面に
   「押せるもの」が40個あり、そのうち24個がツールの作業と無関係な
   サイトナビだった。やることが1つの画面に選択肢が40個あると、
   どれが本命か分からない ─ これが「1画面1操作になっていない」正体。
   工程を抜ける(完成・戻る)と自動で戻る。 */
body.mz-focus { --mz-tabbar-h: 0px; }
body.mz-focus .mzsc-brand,
body.mz-focus .mzsc-tabbar,
body.mz-focus .mzsc-foot { display: none !important; }
body.mz-focus.mzsc-has-tabbar .mzp-dock { bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }


/* ============ ブロックの色分けと、押してほしいボタンの強調 ============
   2026-08-05 優さん指示「ブロックごとに薄く背景色を入れてわかりやすく。
   次のボタンや押してほしいボタンはすこし強調色。サイトのトンマナを守る」。

   ★ 色はサイト本体のトークンと同値(白/クリーム基調・ネイビー文字・
     ブルー #1e4fd6 が主・アンバー #d97706 が第3色)。新しい色は増やさない。
   ★ 塗りは「極薄(2〜4%)+左の色バー4px」だけ。白基調を壊さず、
     ブロックの切れ目と役割が一目で分かる濃さに留める。
   ★ 役割は HTML の data-mz-block で示す(intake=取り込み / tune=調整 /
     output=書き出し・保存)。クラス名はツールごとに違う(.card/.panel/
     .step-card)ため、意味を持つ属性を正本にする ─ 新しいブロックが
     増えても、属性を付けるだけで同じ規則に乗る。 */
:root {
  --mzt-intake-bg: #f4f8ff;  --mzt-intake-bar: #1e4fd6;   /* 素材を入れる = 主色の青 */
  --mzt-tune-bg:   #fbfaf6;  --mzt-tune-bar: rgba(15, 33, 56, 0.28);  /* 整える = ネイビー薄 */
  --mzt-output-bg: #fefcef;  --mzt-output-bar: #d97706;   /* 仕上げ・保存 = クリーム+アンバー */
}
[data-mz-block] { border-left: 4px solid transparent; }
[data-mz-block="intake"] { background: var(--mzt-intake-bg); border-left-color: var(--mzt-intake-bar); }
[data-mz-block="tune"]   { background: var(--mzt-tune-bg);   border-left-color: var(--mzt-tune-bar); }
[data-mz-block="output"] { background: var(--mzt-output-bg); border-left-color: var(--mzt-output-bar); }

/* ---- 押してほしいボタン ----
   ふだんの主ボタン(青)はそのまま。「次へ進む」「書き出す」など
   **その画面でいちばん押してほしい1つ**にだけ、アンバーの細いリングを添えて
   青の中からさらに立たせる。色そのものは変えない ─ 主色が2つになると
   どちらが本命か分からなくなる(2026-08-05)。 */
/* 補助の主ボタン(1画面に複数出る)は、青の柔らかい影だけ */
.btn.primary { box-shadow: 0 3px 10px rgba(30, 79, 214, 0.18); }
/* ★ その画面でいちばん押してほしい1つ。
   ReAngle/Privacy は .big-btn(1ブロックに1つだけ置く約束)、
   Switcher/Vlog は .btn.primary.big が「次へ進む」の器 */
.big-btn, .btn.primary.big {
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.22), 0 6px 18px rgba(30, 79, 214, 0.26);
}
.big-btn:hover:not(:disabled), .btn.primary.big:hover:not(:disabled) {
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.34), 0 8px 22px rgba(30, 79, 214, 0.3);
}
/* 押せないときは強調しない(できない約束をしない) */
.big-btn:disabled, .btn.primary:disabled, .btn.primary.big:disabled { box-shadow: none; }

/* ---- 保存の局面では光るボタンを1つに(2026-08-05 レビューP1) ----
   完成カード(#doneCard)が出ている間は、再書き出し側の強調リングを外して
   「保存」だけを立たせる(誤タップで数分の書き出しをやり直させない)。
   :has は採用基準の iOS Safari 16+ で使える。#doneCard が無いツールでは無反応 */
[data-mz-block="output"]:has(#doneCard:not([hidden])) #exportBtn {
  box-shadow: 0 3px 10px rgba(30, 79, 214, 0.18);
}
/* Vlog: 書き出しが押せる状態では、組み立てボタンを一段落とす(2灯を1灯に) */
body:has(#exportBtn:not(:disabled)) #buildBtn {
  box-shadow: 0 3px 10px rgba(30, 79, 214, 0.18);
}

/* ---------- ドロワーのアカウント枠(2026-08-07 優さん指示・TOPと同じ中身へ) ----------
   TOPの .site-mobile-drawer-user と同じ見え方。ツールは本体CSSを読まないので
   ここに持つ(バッジ .mz-drawer-usertype* も同様に下で持つ) */
.mzsc-drawer-user { margin-bottom: 6px; }
.mzsc-drawer-user-head {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 2px 12px; text-decoration: none;
  border-bottom: 1px solid rgba(15, 33, 56, 0.08);
}
.mzsc-drawer-avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; object-fit: cover; }
.mzsc-drawer-user-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mzsc-drawer-user-name { font-size: 15px; font-weight: 800; color: #12213a; }
.mzsc-drawer-mypage-link { font-size: 12.5px; font-weight: 700; color: #1e4fd6; }
.mzsc-drawer-user-actions { display: flex; flex-direction: column; }
.mzsc-drawer-menu-item {
  display: flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 6px 4px;
  font-size: 14px; font-weight: 600; color: #12213a; text-decoration: none;
  border-bottom: 1px solid rgba(15, 33, 56, 0.08);
}
.mzsc-drawer-menu-item i { width: 18px; text-align: center; color: rgba(12, 15, 20, 0.5); }
.mzsc-drawer-admin {
  display: flex; align-items: center; min-height: 44px; padding: 6px 12px; margin-bottom: 6px;
  border-radius: 10px; background: #eef3ff; color: #1e4fd6;
  font-size: 14px; font-weight: 800; text-decoration: none;
}
.mzsc-drawer-admin--red { background: #fdeef0; color: #b3243a; }

/* 「◯◯向けメニューを表示中」。本体 marchinz-brushup.css と同じ見え方を持ち込む */
.mz-drawer-usertype {
  display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap;
  margin: 0 0 0.6rem; padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 79, 214, 0.18);
  background: rgba(30, 79, 214, 0.07);
  font-size: 0.7rem; color: #0f2138;
}
.mz-drawer-usertype i { color: #1e4fd6; }
.mz-drawer-usertype-btn {
  margin-left: auto; padding: 0.2rem 0.6rem;
  border: 1px solid rgba(30, 79, 214, 0.45); border-radius: 999px;
  background: #fff; color: #1e4fd6; font-weight: 700;
  font-size: 0.68rem; font-family: inherit; cursor: pointer;
}
.mz-drawer-usertype-pick { display: grid; gap: 6px; margin: 0 0 10px; }
.mz-drawer-usertype-opt {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 10px 12px; border: 1px solid rgba(15, 33, 56, 0.16);
  border-radius: 10px; background: #fff;
  font-size: 13px; font-weight: 700; color: #0f2138;
  text-align: left; cursor: pointer; font-family: inherit;
}
.mz-drawer-usertype-opt i { color: #1e4fd6; width: 1.1em; text-align: center; }
.mz-drawer-usertype-opt.on { border-color: #1e4fd6; background: #eef3ff; }

/* ---------- 免責(ボディの一番下・フッターの直前) 2026-08-07 優さん指示 ----------
   フッターの中(暗い帯)から、無料の帯・ロゴの断りと同じ明るい面へ移した。
   3つが同じ場所に並ぶので、囲みは軽く・字も控えめにする */
.mzsc-note {
  max-width: 34rem; margin: 10px auto 18px; padding: 12px 14px;
  border-radius: 10px; background: rgba(15, 33, 56, 0.04);
  border: 1px solid rgba(15, 33, 56, 0.08);
  color: rgba(12, 15, 20, 0.62); font-size: 12px; line-height: 1.75; text-align: left;
}
.mzsc-note-title { margin: 0 0 4px; font-weight: 800; color: rgba(12, 15, 20, 0.78); font-size: 12px; }
.mzsc-note p { margin: 0; }
.mzsc-note a { color: #1e4fd6; }
@media (max-width: 719px) {
  .mzsc-note { margin-left: 16px; margin-right: 16px; }
}
