/* おかずコンシェルジュ（MyFans 版）：おかずコンシェルジュ（/css/style.css）に足す分だけ */
.mf-mood { --tone: #ff6fa0; }
.mf-mood:nth-child(2n) { --tone: #7d6bff; }
.mf-mood-icon { display: grid; place-items: center; padding: 0; font-size: 24px; line-height: 1; }
.mf-note { margin: 18px 0 4px; font-size: 13px; }
.mf-note a { color: var(--muted); }

/* ロゴ */
.logo-mark { overflow: hidden; padding: 0; }
.logo-mark img { width: 150%; height: 150%; object-fit: cover; object-position: 55% 18%; margin: -2px 0 0 -25%; }

/* ---------- キャラの立ち絵（丸枠なし。下が切れている分は床のグラデーションに溶かす） ---------- */
.mf-scene { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 250px; margin-top: 6px; }
.mf-scene.lg { height: min(42vh, 330px); }
.mf-scene.xl { height: min(48vh, 400px); }
.mf-scene.sm { height: 170px; }
.mf-stage-bg { position: absolute; inset: 8% 0 0; border-radius: 28px 28px 0 0; overflow: hidden;
  background: radial-gradient(60% 70% at 50% 100%, rgba(255, 143, 181, .35), transparent 70%), radial-gradient(70% 80% at 50% 90%, rgba(125, 107, 255, .28), transparent 75%); }
.mf-stage-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(rgba(246, 246, 250, 0), var(--bg)); }
.mf-spark { position: absolute; width: 18px; height: 18px; color: var(--accent); opacity: .7; animation: twinkle 2.6s ease-in-out infinite; }
.mf-spark.s1 { top: 14%; left: 14%; }
.mf-spark.s2 { top: 30%; right: 12%; width: 14px; height: 14px; color: var(--accent-2); animation-delay: .8s; }
.mf-spark.s3 { top: 58%; left: 8%; width: 12px; height: 12px; animation-delay: 1.5s; }
.mf-chara { position: relative; z-index: 1; height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent);
  animation: mfBreathe 3.6s ease-in-out infinite; filter: drop-shadow(0 10px 24px rgba(80, 60, 160, .18)); }
@keyframes mfBreathe { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.012); } }
.mf-chara.swap { animation: mfSwap .38s cubic-bezier(.3, 1.4, .5, 1), mfBreathe 3.6s ease-in-out .38s infinite; }
@keyframes mfSwap { 0% { transform: translateY(10px) scale(.97); opacity: .35; } 60% { transform: translateY(-6px) scale(1.01); opacity: 1; } 100% { transform: none; } }
.mf-chara.talk { animation: mfTalk .34s ease-in-out infinite; }
@keyframes mfTalk { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px) rotate(-.4deg); } }

/* セリフの枠 */
.mf-dialog { position: relative; z-index: 2; margin: -22px 0 0; padding: 22px 18px 16px; border-radius: 20px; background: rgba(255, 255, 255, .96); border: 1.5px solid #e6defd; box-shadow: 0 12px 34px rgba(80, 60, 160, .14); }
.mf-name { position: absolute; top: -13px; left: 16px; padding: 3px 14px; border-radius: 99px; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 4px 12px rgba(125, 107, 255, .3); }
.mf-line { margin: 0; min-height: 3.2em; font-size: 16px; font-weight: 500; line-height: 1.65; word-break: auto-phrase; }
.mf-dialog .analyzing { padding: 12px 0 2px; }

/* 会話画面 */
body.mf-chatting .foot { display: none; }
body.mf-chatting .view { padding-bottom: 170px; }
.mf-qhead { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.mf-qcount { flex: none; font-size: 12.5px; font-weight: 700; color: var(--accent); }
.mf-qhead .progress { flex: 1; margin: 0; }
.mf-me { display: flex; justify-content: flex-end; margin: 12px 4px 0; }
.mf-me.in { animation: mfIn .28s ease both; }
@keyframes mfIn { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
.mf-me-bubble { padding: 9px 16px; border-radius: 18px 18px 6px 18px; color: #fff; font-weight: 700; font-size: 14.5px; background: linear-gradient(135deg, var(--accent), #9b7dff); box-shadow: 0 6px 16px rgba(125, 107, 255, .28); }
.mf-answerbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(246, 246, 250, 0), rgba(246, 246, 250, .96) 22%); }
.mf-ans3 { max-width: 488px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.mf-ans { min-height: 58px; padding: 8px 6px; border-radius: 16px; font-weight: 700; font-size: 15px; line-height: 1.3; color: #fff; box-shadow: var(--shadow); transition: transform .12s ease, opacity .2s; }
.mf-ans:active { transform: scale(.95); }
.mf-ans:disabled { opacity: .45; }
.mf-ans.yes { background: linear-gradient(135deg, #20c38a, #3ad6a0); }
.mf-ans.mid { background: linear-gradient(135deg, #8a86a8, #a6a2c4); font-size: 13.5px; letter-spacing: -.02em; white-space: nowrap; padding: 8px 2px; }
.mf-ans.no { background: linear-gradient(135deg, #ff5a6e, #ff7d8c); }
.mf-qnav { max-width: 488px; margin: 8px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mf-undo { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); padding: 4px; }
.mf-undo svg { width: 16px; height: 16px; }
.mf-undo:disabled { opacity: .35; }
.mf-qnav .early { margin: 0; }

/* 分析中・結果 */
.mf-analyze { padding-top: 20px; }
.mf-bye { margin-top: 26px; }
.mf-ph { width: 64px; height: 64px; color: rgba(255, 255, 255, .9); }


/* 結果：タイプ */
.mf-type { display: grid; justify-items: center; gap: 2px; text-align: center; margin: 4px 0 18px; padding: 18px 16px; border-radius: var(--radius); background: linear-gradient(135deg, #f1edff, #ffeef5); border: 1px solid #fff; box-shadow: var(--shadow); }
.mf-type small { color: var(--muted); font-size: 12px; }
.mf-type b { font-size: 23px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mf-type > span { font-size: 13px; color: #4a4a5e; }
.mf-type .tags { justify-content: center; }

/* 結果：一番おすすめ */
.mf-best { display: grid; gap: 10px; padding: 14px; border-radius: 24px; background: var(--surface); box-shadow: 0 14px 40px rgba(28, 28, 60, .12); border: 1.5px solid #ffe2a8; animation: fadeUp .4s ease both; }
.mf-best-cover { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(150deg, #d9ccff, #ff8fb5); }
.mf-best-cover img { width: 100%; height: 100%; object-fit: cover; }
.mf-match { position: absolute; right: 10px; bottom: 10px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--text); }
.mf-match b { color: var(--accent-2); font-size: 15px; }
.mf-best-body { display: grid; gap: 6px; }
.mf-title { font-size: 17px; line-height: 1.45; }
.mf-review { margin: 4px 0 6px; font-size: 13.5px; color: #4a4a5e; }
.mf-best .btn-primary.wide { margin-top: 4px; }
.mf-best .btn-ghost.mf-x { margin-top: 0; display: flex; justify-content: center; align-items: center; gap: 6px; text-decoration: none; }
.mf-best .btn-ghost.mf-x i { width: 14px; height: 14px; display: inline-block; }
.mf-best .pr { margin: 0; justify-self: start; }
.mf-sub { font-size: 15px; margin: 22px 0 10px; }
.mf-share { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 22px 0 0; padding: 13px; border-radius: 14px; font-weight: 700; font-size: 14px; color: #fff; background: #000; text-decoration: none; }
.mf-share svg { width: 16px; height: 16px; }
.mf-retry { margin-top: 10px; }
.mf-retry svg { width: 16px; height: 16px; }

/* 見放題プランのお得情報 */
.mf-sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: rgba(28, 28, 40, 0); transition: background .25s; }
.mf-sheet.open { background: rgba(28, 28, 40, .45); }
.mf-sheet-box { position: relative; width: 100%; max-width: 520px; padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: var(--surface); box-shadow: 0 -10px 40px rgba(28, 28, 60, .2); transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .9, .3, 1.1); }
.mf-sheet.open .mf-sheet-box { transform: none; }
.mf-sheet-x { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border-radius: 50%; font-size: 20px; color: var(--muted); background: var(--bg); }
.mf-sheet-badge { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 11px; border-radius: 99px; color: #fff; background: linear-gradient(135deg, #e4a800, #ff8a3d); }
.mf-sheet h3 { font-size: 18px; margin: 10px 0 4px; }
.mf-sheet p { margin: 0 0 14px; font-size: 13.5px; color: #4a4a5e; }
.mf-sheet .pr { margin: 6px 0 0; }
.mf-sheet[hidden] { display: none; }
.mf-sheet-head { display: flex; align-items: flex-end; margin: 0 40px 10px 0; min-height: 34px; }
.mf-sheet-head img { position: absolute; right: 54px; top: -112px; height: 120px; width: auto; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); animation: mfBreathe 3.6s ease-in-out infinite; transform-origin: 50% 100%; pointer-events: none; }
.mf-sheet-head .mf-bubble { font-size: 13.5px; padding: 8px 12px; border-radius: 14px; background: #f3f0ff; color: var(--text); font-weight: 500; }

/* ---------- トップ（シンプル） ---------- */
.mf-home { text-align: center; padding: 14px 0 6px; }
.mf-kicker { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .32em; color: var(--accent); }
.mf-h1 { margin: 8px 0 0; font-size: 25px; line-height: 1.42; letter-spacing: .01em; }
.mf-home .mf-dialog { text-align: left; }
.mf-cta { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin: 22px 0 0; padding: 19px 20px; border-radius: 20px; font-size: 17px; font-weight: 700; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, #7d6bff, #b06bff 50%, #ff6fa0); box-shadow: 0 14px 34px rgba(125, 107, 255, .38); transition: transform .15s ease; }
.mf-cta:active { transform: scale(.97); }
.mf-cta svg { width: 20px; height: 20px; }
.mf-cta::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: mfShine 3.2s ease-in-out infinite; }
@keyframes mfShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.mf-meta { margin: 12px 0 0; font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.mf-link { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- ジャンル選び ---------- */
.mf-gpick { margin: 14px 0 0; animation: mfIn .3s ease both; }
.mf-gtabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 12px; padding: 2px 16px; }
.mf-gtabs::-webkit-scrollbar { display: none; }
.mf-gtab { flex: none; position: relative; padding: 8px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 700; color: var(--muted); background: rgba(255, 255, 255, .7); border: 1px solid var(--border); }
.mf-gtab.on { color: var(--text); background: #fff; border-color: #cfc5ff; box-shadow: 0 4px 14px rgba(125, 107, 255, .15); }
.mf-gtab em { font-style: normal; margin-left: 4px; font-size: 11px; color: #fff; background: var(--accent-2); border-radius: 99px; padding: 0 6px; }
.mf-gtab em:empty { display: none; }
.mf-genres { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mf-genre { padding: 10px 15px; border-radius: 99px; font-size: 14px; font-weight: 500; background: var(--surface); border: 1.5px solid var(--border); box-shadow: 0 2px 8px rgba(28, 28, 60, .05); transition: all .15s ease; }
.mf-genre.on { color: #fff; font-weight: 700; border-color: transparent; background: linear-gradient(135deg, var(--accent), #ff6fa0); box-shadow: 0 6px 16px rgba(125, 107, 255, .3); }
.mf-gbar { max-width: 488px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }
.mf-ans.go { background: linear-gradient(135deg, var(--accent), #ff6fa0); }
.mf-ans3[hidden], .mf-gbar[hidden], .mf-me[hidden], .mf-genres[hidden], .mf-gpick[hidden] { display: none; }
/* ジャンル選びの間はキャラを少し小さくして、ジャンルが一画面に収まるようにする */
.mf-picking .mf-scene.lg { height: 190px; transition: height .3s ease; }
.mf-scene.lg { transition: height .3s ease; }

/* 結果の作品サムネ（OGP画像は横長 16:9 なので横長の枠にする） */
.works .work { align-items: flex-start; }
.works .thumb.img { flex: 0 0 132px; height: 74px; border-radius: 12px; }
.works .thumb.img img { object-position: center; }
.mf-best-cover img { object-position: center; }

/* ---------- 結果画面：サンプル → MyFans への導線 ---------- */
.mf-best-cover { display: grid; text-decoration: none; color: #fff; }
.mf-best-cover img { transition: transform .4s ease; }
.mf-best-cover:active img { transform: scale(1.03); }
.mf-best-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); }
.mf-play { position: absolute; z-index: 2; left: 50%; top: 46%; width: 64px; height: 64px; margin: -32px 0 0 -32px; padding: 20px 18px 20px 22px; border-radius: 50%; color: #fff;
  background: rgba(255, 60, 120, .88); box-shadow: 0 0 0 8px rgba(255, 255, 255, .22), 0 10px 30px rgba(255, 60, 120, .5); animation: mfPulse 1.8s ease-in-out infinite; }
.mf-play.sm { width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 10px 9px 10px 11px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); animation: none; }
@keyframes mfPulse { 50% { box-shadow: 0 0 0 14px rgba(255, 255, 255, .12), 0 10px 30px rgba(255, 60, 120, .5); } }
.mf-cover-label { position: absolute; z-index: 2; left: 12px; bottom: 10px; font-size: 13px; font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.mf-best-cover .mf-match { z-index: 2; bottom: auto; top: 10px; }
.mf-rank { position: absolute; z-index: 2; left: 10px; top: 10px; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 99px; color: #fff; background: linear-gradient(135deg, #e4a800, #ff8a3d); }
.mf-stats { font-size: 12.5px; font-weight: 700; color: #ff3d71; }
.mf-stats.sm { font-size: 11.5px; }
.mf-cta-main { display: grid; justify-items: center; gap: 2px; margin-top: 6px; padding: 16px 12px 12px; border-radius: 18px; text-decoration: none; color: #fff; text-align: center;
  background: linear-gradient(120deg, #ff3d71, #ff6fa0 55%, #b06bff); box-shadow: 0 12px 30px rgba(255, 61, 113, .38); position: relative; overflow: hidden; }
.mf-cta-main span { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; }
.mf-cta-main span svg { width: 18px; height: 18px; }
.mf-cta-main small { font-size: 11.5px; opacity: .9; }
.mf-cta-main::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: mfShine 2.8s ease-in-out infinite; }
.mf-cta-main:active { transform: scale(.98); }
.mf-price { text-align: center; font-size: 13px; color: var(--muted); }
.mf-price b { color: var(--text); font-size: 15px; }
.mf-planbox { display: grid; gap: 3px; margin-top: 4px; padding: 12px 14px; border-radius: 14px; background: #fff8e8; border: 1px solid #ffe2a8; }
.mf-planbox > b { font-size: 13px; color: #b46b00; }
.mf-planbox span { font-size: 13px; }
.mf-planbox small, .mf-warn { display: block; font-size: 11.5px; color: #8a6a3a; line-height: 1.55; }
.mf-warn { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: #fff8e8; border: 1px solid #ffe2a8; }
.mf-work .mf-thumb { position: relative; display: block; }
.mf-dur { position: absolute; left: 4px; bottom: 4px; font-size: 10px; font-weight: 700; color: #fff; padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, .6); }
.mf-work .btn-primary.sm svg { width: 12px; height: 12px; }
.mf-sticky { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; max-width: 500px; margin: 0 auto; display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 8px; border-radius: 18px; background: rgba(255, 255, 255, .97); box-shadow: 0 10px 34px rgba(28, 28, 60, .22); border: 1px solid #f0e8ff; animation: mfIn .25s ease both; }
.mf-sticky[hidden] { display: none; }
.mf-sticky img { flex: 0 0 64px; width: 64px; height: 40px; border-radius: 8px; object-fit: cover; }
.mf-sticky div { flex: 1; min-width: 0; display: grid; }
.mf-sticky b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mf-sticky small { font-size: 11px; color: #ff3d71; font-weight: 700; }
.mf-sticky .btn-primary { margin: 0; flex: none; background: linear-gradient(135deg, #ff3d71, #ff6fa0); }
.mf-sticky .btn-primary svg { width: 12px; height: 12px; }
body:has(.mf-sticky:not([hidden])) .view { padding-bottom: 90px; }
.mf-ans.mid { font-size: 15px; letter-spacing: 0; }

/* ---------- 質問ごとの答え（選択肢＋こだわらない） ---------- */
body.mf-chatting .view { padding-bottom: calc(var(--barh, 200px) + 16px); }
.mf-choices { max-width: 488px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 7px; animation: mfIn .25s ease both; }
.mf-choices.many { grid-template-columns: 1fr 1fr; }
.mf-choices[hidden] { display: none; }
.mf-choice { min-height: 48px; padding: 8px 10px; border-radius: 14px; font-weight: 700; font-size: 14.5px; line-height: 1.3; color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff6fa0); box-shadow: 0 6px 16px rgba(125, 107, 255, .25); transition: transform .12s ease, opacity .2s; }
.mf-choices.many .mf-choice { font-size: 13.5px; }
.mf-choice.any { color: var(--muted); background: #fff; border: 1.5px solid var(--border); box-shadow: none; }
.mf-choices.many .mf-choice.any { grid-column: 1 / -1; min-height: 42px; }
.mf-choice:active { transform: scale(.96); }
.mf-choice:disabled { opacity: .45; }

/* ---------- トップ：作品から／クリエイターから ---------- */
.mf-modes { display: grid; gap: 4px; margin-top: 6px; }
.mf-modes .mf-cta { margin-top: 14px; }
.mf-modes .mf-cta span { display: inline-flex; align-items: center; gap: 8px; }
.mf-modes .mf-cta.alt { background: linear-gradient(120deg, #ff6fa0, #ff8a3d); box-shadow: 0 14px 34px rgba(255, 111, 160, .35); }
.mf-modes small { font-size: 12px; color: var(--muted); }

/* ---------- 見放題プランのボタン ---------- */
.mf-planbtn { display: grid; justify-items: center; gap: 2px; padding: 12px 10px; border-radius: 16px; text-decoration: none; text-align: center;
  color: #8a4b00; background: linear-gradient(135deg, #ffe9a8, #ffd36b); border: 1px solid #f5c04a; box-shadow: 0 8px 20px rgba(230, 160, 0, .22); }
.mf-planbtn span { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 800; }
.mf-planbtn span svg { width: 16px; height: 16px; }
.mf-planbtn small { font-size: 11.5px; color: #8a5a10; }
.mf-planbtn.big span { font-size: 15px; letter-spacing: -.02em; }
.mf-planbtn span { white-space: nowrap; }
.mf-planbtn:active { transform: scale(.98); }
.mf-plan-note { display: block; font-size: 11px; color: #8a6a3a; line-height: 1.55; }
.mf-more { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 14px; font-size: 13.5px; font-weight: 700; color: var(--accent); background: #f3f0ff; }
.mf-more svg { width: 16px; height: 16px; }
.work-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mf-planlink { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; text-decoration: none; color: #8a4b00; background: #ffeec2; border: 1px solid #f5c04a; }
.mf-planlink svg { width: 12px; height: 12px; }

/* ---------- クリエイターのカード・紹介 ---------- */
.mf-ccard { position: relative; display: grid; gap: 10px; margin: 14px 0 0; padding: 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.mf-ccard.top { padding-top: 34px; border: 2px solid #cfc5ff; }
.mf-ccard .ar-ribbon { position: absolute; top: 0; left: 0; }
.mf-chead { display: flex; align-items: center; gap: 12px; }
.mf-chead > div { display: grid; gap: 1px; min-width: 0; }
.mf-chead b { font-size: 16px; }
.mf-chead small { font-size: 12px; color: var(--muted); }
.mf-chead.big b { font-size: 18px; }
.mf-avatar { flex: none; width: 58px; height: 58px; border-radius: 50%; overflow: hidden; background: #eee; border: 2px solid #fff; box-shadow: 0 0 0 2px #cfc5ff; display: grid; place-items: center; }
.mf-chead.big .mf-avatar { width: 72px; height: 72px; }
.mf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mf-cmatch { font-size: 12px; font-weight: 700; color: var(--accent); }
.mf-cmatch b { font-size: 14px; }
.mf-cthumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mf-cthumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #eee; }
.mf-cthumb img { width: 100%; height: 100%; object-fit: cover; }
.mf-cplan { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 12px; font-size: 12.5px; color: #8a4b00; background: #fff8e8; border: 1px solid #ffe2a8; }
.mf-cplan svg { flex: none; width: 14px; height: 14px; }
.mf-cbtns { display: grid; gap: 8px; }
.mf-cgo { border: 0; width: 100%; font: inherit; padding: 14px 12px; cursor: pointer; }
.mf-cgo span { font-size: 16px; }
.mf-cdetail { margin: 6px 0 4px; padding: 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.mf-cplanbox { display: grid; gap: 8px; margin: 12px 0 0; padding: 14px; border-radius: 18px; background: #fff8e8; border: 1px solid #ffe2a8; }
.mf-cplanbox > b { font-size: 14px; color: #b46b00; }
.mf-cplanbox > span { font-size: 13.5px; }
.mf-ccard > .pr, .mf-best-body > .pr { justify-self: start; }
/* トップ：小さいiPhone（SEなど）でも2つのボタンが最初の画面に収まるように */
.mf-home .mf-scene.lg { height: min(34vh, 320px); }
.mf-modes .mf-cta { margin-top: 10px; padding: 16px 18px; }
@media (max-height: 700px) { .mf-home .mf-scene.lg { height: 21vh; } .mf-recruit { margin-bottom: 4px; padding: 6px 12px; } .mf-h1 { font-size: 22px; } .mf-home .mf-line { font-size: 13.5px; } }

/* ---------- 画像の代わりの絵（画像の許諾がないクリエイター用） ---------- */
.mf-art { position: relative; display: grid; place-items: center; align-content: center; gap: 4px; width: 100%; height: 100%; min-height: 100%; color: #fff;
  background: radial-gradient(120% 90% at 20% 10%, hsl(var(--h) 85% 72%), transparent 60%), linear-gradient(135deg, hsl(var(--h) 70% 58%), hsl(calc(var(--h) + 50) 75% 52%)); }
.mf-art b { font-size: 30px; font-weight: 900; line-height: 1; opacity: .9; }
.mf-art.big { aspect-ratio: 16 / 9; }
.mf-art.big b { font-size: 64px; opacity: .35; }
.mf-art small { position: absolute; right: 12px; top: 12px; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: rgba(255, 255, 255, .22); }
.mf-best-cover .mf-art small { top: auto; bottom: 34px; right: 12px; }
.mf-avatar { color: #fff; background: linear-gradient(135deg, hsl(var(--h) 70% 60%), hsl(calc(var(--h) + 50) 75% 52%)); }
.mf-avatar b { font-size: 24px; font-weight: 900; }
.mf-cthumb { background: linear-gradient(135deg, #f3f0ff, #ffe9f1); }
.mf-cthumb-t { position: absolute; inset: 0; padding: 6px 7px; font-size: 10.5px; font-weight: 700; line-height: 1.35; color: #4a3d7a; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.mf-cthumb:has(.mf-cthumb-t) .mf-play { top: auto; bottom: 4px; left: auto; right: 4px; margin: 0; width: 24px; height: 24px; padding: 7px 6px 7px 8px; }

/* トップ上部：掲載希望のクリエイター向けの案内 */
.mf-recruit { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 auto 10px; padding: 8px 14px; border-radius: 99px; width: fit-content; max-width: 100%;
  font-size: 12.5px; color: #5b4bd6; text-decoration: none; background: rgba(255, 255, 255, .85); border: 1px solid #ded6ff; box-shadow: 0 4px 14px rgba(125, 107, 255, .12); }
.mf-recruit svg { flex: none; width: 14px; height: 14px; }
.mf-recruit b { font-weight: 800; }

/* X の内蔵ブラウザで開いた時の「Safariで開く」案内 */
.inapp-sub { margin: 8px 0 10px; font-size: 13.5px; color: rgba(255, 255, 255, .9); }
.inapp-sub b.key { padding: 0 6px; border-radius: 6px; background: rgba(255, 255, 255, .2); }
.inapp-copy.sub { padding: 9px; font-size: 13px; background: rgba(255, 255, 255, .14); box-shadow: none; }
