/* =====================================================================
   AIShot  About you（最初の登録）＋ Settings の Dictionary／NG   about.css   2026-11-19
   たいが「最初の登録画面の時にあなたのことを教えてくださいっていうのを出したい」「UIはよりシンプルでスタイリッシュで」
        「文章での説明ではなく、UI/UXで感覚的に」
   元は設計の見本 design_onboarding/proto/ob.css（クラス名 ob- はそのまま）。画面は about.js
   読み込み順: style → app → aishot → make2 → social → rename → この1枚

   ■ 決まり
   - 色は aishot.css の変数だけ（HEX・rgb は書かない）。写真の上の影は --tel-bg（どの配色でも暗い色）を透かして作る
   - 英語の見出し・項目名は Inter Tight（--f-en・作る画面と同じ）。日本語は角ゴシック
   - 選んだ印はアプリ全体と同じ＝紫の輪郭（--sel）＋薄い紫の塗り（--accent-soft）＋チェック（色だけに頼らない）
   - 押す所は 44px 以上。入力欄の文字は 16px 以上（iPhone で勝手に拡大しない）
   ===================================================================== */
:root{
  --f-en:"Inter Tight","Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP",system-ui,sans-serif;
  --ob-shade:color-mix(in srgb,var(--tel-bg) 64%,transparent);     /* 写真の上の文字の影 */
  --ob-shade-2:color-mix(in srgb,var(--tel-bg) 22%,transparent);   /* 浮いた札の影 */
}

/* ---------- 枠: 最初の登録の間は下タブを出さない（今の #/start と同じ） ---------- */
.phone:has(.ob) .tabbar{display:none}
.phone:has(.ob) .dock{bottom:0;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
.phone:has(.ob) #app{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
/* 上のバー: .ob-top は about.js が流れの間だけ #top に付ける（作る画面の上のバーの見た目は変えない） */
.top .ob-x{margin-left:0;margin-right:-10px}
.top.ob-top .stepn{font-family:var(--f-en);letter-spacing:.04em;color:var(--sub)}
.top.ob-top .steps{padding:0 8px 0 6px}
.top.ob-top.first .steps{padding-left:0}
.top .ob-sp{flex:1;min-width:0}

.view.ob,.view.set{gap:18px;padding-top:14px}
.view.ob .sec,.view.set .sec{gap:10px}

/* ---------- 見出し（段の名前）と小見出し（項目名）。英語＋小さい日本語（作る画面の .mk-h／.mk-l と同じ値） ---------- */
.ob-h{display:flex;align-items:baseline;gap:10px;min-height:34px;min-width:0}
.ob-h h1{flex:none;font:800 28px/1.2 var(--f-en);letter-spacing:-.012em;color:var(--ink)}
.ob-h span{min-width:0;font-size:12px;font-weight:700;line-height:1.4;color:var(--mute)}
.ob-l{display:flex;align-items:center;gap:8px;min-height:20px;min-width:0}
.ob-l h3{flex:none;font:800 15px/1.3 var(--f-en);letter-spacing:-.005em;color:var(--ink)}
.ob-l small{min-width:0;font-size:11px;font-weight:700;line-height:1.3;color:var(--mute)}
.ob-cnt{flex:none;margin-left:auto;font:700 12px/1 var(--f-en);font-variant-numeric:tabular-nums;color:var(--sub)}
.ob-saved{flex:none;margin-left:auto;display:inline-flex;align-items:center;gap:4px;font:700 11.5px/1 var(--f-en);color:var(--sub)}
.ob-saved svg{width:14px;height:14px;padding:2px;border-radius:50%;background:var(--accent);fill:var(--on-accent)}
.ob-saved i{font-style:normal;font-variant-numeric:tabular-nums}

/* まだ無い物の札（作る画面の .mk-soon と同じ） */
.ob-soon{display:inline-flex;align-items:center;gap:4px;height:18px;padding:0 7px;border-radius:9px;background:var(--surface-3);color:var(--sub);white-space:nowrap}
.ob-soon b{font:800 9.5px/1 var(--f-en);letter-spacing:.02em;color:inherit}
.ob-soon i{font-style:normal;font-size:9.5px;font-weight:700;line-height:1}

/* ---------- 下のボタン（1つだけ）: まだ＝Skip（白に線）／入れた＝Next（濃い面）／最後＝Done（グラデ） ---------- */
.ob-dock .btn{flex:1;min-width:0}
.ob-dock .btn b{font:800 17px/1.2 var(--f-en);letter-spacing:.01em}
.ob-dock .btn small{font-size:10.5px;font-weight:700;line-height:1.2}
.ob-skip{flex-direction:column;gap:1px;background:var(--surface);border:1px solid var(--line-2);color:var(--ink)}
.ob-skip small{color:var(--sub)}
.ob-go{flex-direction:column;gap:1px}
.ob-dock .btn.fit{flex:0 0 auto;min-width:104px}

/* =========================== 1. Name（最初の画面） ===========================
   絵＝できあがる動画（9:16）の周りに、これから聞く4つの札。「何を教えると、動画のどこが変わるか」を絵で見せる */
.ob-intro{display:flex;flex-direction:column;gap:4px;min-width:0}
.ob-intro h1{font:800 34px/1.1 var(--f-en);letter-spacing:-.02em;color:var(--ink)}
.ob-intro p{margin:0;font-size:13px;font-weight:700;line-height:1.5;color:var(--sub)}
.ob-hero{position:relative;height:306px;margin:0 -4px;isolation:isolate}
.ob-glow{position:absolute;left:50%;top:50%;z-index:-1;width:280px;height:250px;transform:translate(-50%,-50%);border-radius:50%;background:var(--grad);opacity:.24;filter:blur(40px)}
:root[data-theme="dark"] .ob-glow{opacity:.34}
.ob-ph{position:absolute;left:50%;top:4px;width:164px;aspect-ratio:9/16;transform:translateX(-50%);border-radius:24px;overflow:hidden;isolation:isolate;background:var(--tel-bg);box-shadow:var(--sh-hero),0 18px 36px var(--ob-shade-2)}
.ob-ph img,.ob-pv img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ob-ph::after,.ob-pv::after{content:"";position:absolute;inset:0;z-index:3;border-radius:inherit;box-shadow:0 0 0 1px var(--hair) inset;pointer-events:none}
.ob-tel{position:absolute;left:5%;right:5%;top:53%;z-index:1;text-align:center;font:900 15px/1.25 var(--f);color:var(--on-accent);text-shadow:0 0 4px var(--ob-shade),0 2px 10px var(--ob-shade)}
.ob-tel em{display:block;font-style:normal;font-size:1.3em;color:var(--te)}
.ob-me{position:absolute;left:8px;bottom:9px;z-index:2;display:inline-flex;align-items:center;gap:5px;max-width:calc(100% - 16px);height:28px;padding:0 10px 0 3px;border-radius:14px;background:var(--glass);color:var(--ink);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.ob-me i{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;overflow:hidden;background:var(--accent)}
.ob-me i svg{width:15px;height:15px;fill:var(--on-accent)}
.ob-me i img{position:static;width:100%;height:100%;object-fit:cover;animation:none}
.ob-me b{min-width:0;font-size:11.5px;font-weight:800;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ob-tag{position:absolute;z-index:2;display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 10px 0 7px;border-radius:13px;border:1px solid var(--line);background:var(--surface);box-shadow:0 6px 16px var(--ob-shade-2);color:var(--ink);white-space:nowrap}
.ob-tag svg{flex:none;width:24px;height:24px;padding:5px;border-radius:8px;background:var(--accent-soft);fill:var(--accent-text)}
.ob-tag b{display:block;font:800 12.5px/1.2 var(--f-en)}
.ob-tag small{display:block;margin-top:1px;font-size:10px;font-weight:700;line-height:1.25;color:var(--sub)}
.ob-tag.ta{right:calc(50% + 68px);top:30px}
.ob-tag.tb{right:calc(50% + 72px);top:170px}
.ob-tag.tc{left:calc(50% + 68px);top:84px}
.ob-tag.td{left:calc(50% + 72px);top:224px}
.ob-tag.on{border-color:var(--sel)}
.ob-tag.on svg{background:var(--accent);fill:var(--on-accent)}
.ob-tag.on small{color:var(--ink)}
@media (prefers-reduced-motion:no-preference){
  .ob-ph>img{animation:ob-zoom 7s ease-in-out infinite alternate}
  .ob-tag{animation:ob-pop .42s cubic-bezier(.34,1.56,.64,1) both}
  .ob-tag.tc{animation-delay:.08s}.ob-tag.tb{animation-delay:.16s}.ob-tag.td{animation-delay:.24s}
}
@keyframes ob-zoom{from{transform:scale(1)}to{transform:scale(1.07)}}
@keyframes ob-pop{from{opacity:0;transform:scale(.86)}to{opacity:1;transform:none}}

/* 入力欄（ラベルは上・例は中） */
.ob-f{display:flex;flex-direction:column;gap:6px;min-width:0}
.ob-fl{display:flex;align-items:baseline;gap:8px;min-width:0;font-size:11px;font-weight:700;line-height:1.3;color:var(--mute)}
.ob-fl b{flex:none;font:800 15px/1.3 var(--f-en);color:var(--ink)}
.ob-help{font-size:11.5px;line-height:1.5;color:var(--sub)}
.ob-in{display:block;width:100%;min-width:0;height:56px;padding:0 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);color:var(--ink);font:700 17px/1.4 var(--f);-webkit-appearance:none;appearance:none}
.ob-in::placeholder{font-weight:500;color:var(--mute);opacity:1}
.ob-in:focus{outline:0;border-color:var(--sel);background:var(--surface);box-shadow:0 0 0 3px var(--accent-soft)}
textarea.ob-in{height:auto;min-height:104px;padding:14px 16px;font-size:16px;font-weight:500;line-height:1.65;resize:none}
.ob-id{display:flex;align-items:center;height:56px;padding-left:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}
.ob-id i{flex:none;margin-right:2px;font:700 17px/1 var(--f-en);font-style:normal;color:var(--sub)}
.ob-id input{flex:1;min-width:0;height:54px;padding:0 14px 0 0;border:0;background:transparent;color:var(--ink);font:700 17px/1.4 var(--f-en);outline:0;-webkit-appearance:none;appearance:none}
.ob-id:focus-within{border-color:var(--sel);background:var(--surface);box-shadow:0 0 0 3px var(--accent-soft)}
.ob-f.ng .ob-in,.ob-f.ng .ob-id{border-color:var(--err);box-shadow:0 0 0 3px var(--err-soft)}
.ob-err{display:flex;align-items:flex-start;gap:6px;font-size:12px;font-weight:700;line-height:1.5;color:var(--err)}
.ob-err svg{flex:none;width:16px;height:16px;margin-top:1px;fill:currentColor}

/* 続きから入った時の帯 */
.ob-back2{display:flex;align-items:center;gap:8px;min-height:36px;margin-bottom:-4px;padding:6px 12px 6px 8px;border-radius:12px;background:var(--surface-2);color:var(--ink)}
.ob-back2 svg{flex:none;width:20px;height:20px;padding:3px;border-radius:50%;background:var(--accent);fill:var(--on-accent)}
.ob-back2 b{flex:none;font:800 13px/1.2 var(--f-en)}
.ob-back2 small{min-width:0;font-size:11.5px;font-weight:700;line-height:1.3;color:var(--sub)}

.ob-up .ob-ring.sm{width:22px;height:22px}
.ob-up .ob-ring.sm b{width:15px;height:15px;background:var(--surface-2)}
.ob-up i{flex:none;margin-left:auto;font:800 12.5px/1 var(--f-en);font-style:normal;color:var(--ink)}

/* =========================== 2. Genre ===========================  タイルと「その他」の行は今ある部品（.grid3.g9／.orow）のまま */
.ob .orow{margin-top:0}
.ob .orow+.ob-in{margin-top:-2px}

/* =========================== 3. Reels（代表作 3〜5本＋いちばん伸びた1本） =========================== */
.ob-reels .onb-pick{gap:12px;padding:20px 16px 16px}
.ob-reels .onb-pick .go{font-family:var(--f-en);font-size:17px;letter-spacing:.01em}
.ob-reels .onb-pick small b{font-weight:800;color:var(--ink)}
.ob-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ob-slots .slot.on{cursor:pointer;transition:transform .1s}
.ob-slots .slot.on:active{transform:scale(.98)}
.ob-slots .slot.on>img,.ob-slots .slot.on>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.ob-slots .slot.add b{font-family:var(--f-en)}
.ob-addrow{display:flex;align-items:center;gap:8px;width:100%;min-height:48px;padding:0 14px;border:1.5px dashed var(--line-2);border-radius:14px;background:var(--surface);color:var(--ink);text-align:left}
.ob-addrow:active{background:var(--surface-2)}
.ob-addrow svg{flex:none;width:22px;height:22px;fill:var(--accent-text)}
.ob-addrow b{flex:none;font:800 14px/1 var(--f-en);color:var(--accent-text)}
.ob-addrow small{min-width:0;font-size:11.5px;font-weight:700;line-height:1.3;color:var(--sub)}
.ob-star{position:absolute;left:6px;bottom:6px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--glass);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.ob-star svg{width:18px;height:18px;fill:var(--ink)}
.ob-best{position:absolute;left:6px;bottom:6px;display:inline-flex;align-items:center;gap:3px;height:30px;padding:0 11px 0 8px;border-radius:15px;background:var(--accent);color:var(--on-accent);font:800 13px/1 var(--f-en);box-shadow:0 0 0 2px var(--on-accent)}
.ob-best svg{width:16px;height:16px;fill:currentColor}
.ob-slots .slot.best{box-shadow:0 0 0 2px var(--bg),0 0 0 4.5px var(--sel)}
/* 学習への同意: 文面は今のまま。3つの点は「Details」に畳み、約束の1行だけいつも見せる */
.consent.ob-cs{gap:0;padding:0 14px}
.ob-cs .cs-ok{margin:0 -14px;min-height:56px;border-top:0}
.ob-cs .ob-cs1{margin:-8px 0 12px 36px;font-size:12px;line-height:1.5;color:var(--sub)}
.ob-cs details{margin:0 -14px;padding:0 14px;border-top:1px solid var(--line)}
.ob-cs summary{display:flex;align-items:center;gap:8px;min-height:44px;list-style:none;cursor:pointer;color:var(--ink)}
.ob-cs summary::-webkit-details-marker{display:none}
.ob-cs summary b{font:800 13px/1 var(--f-en)}
.ob-cs summary small{min-width:0;font-size:11px;font-weight:700;line-height:1.3;color:var(--mute)}
.ob-cs summary svg{flex:none;margin-left:auto;width:20px;height:20px;fill:var(--mute);transform:rotate(90deg);transition:transform .2s}
.ob-cs details[open] summary svg{transform:rotate(-90deg)}
.ob-cs .cs-ask{order:0;margin:0 0 10px}
.ob-cs .cs-pts{padding:0 0 14px}
.ob-hint{display:flex;align-items:flex-start;gap:6px;margin:0;font-size:11.5px;line-height:1.5;color:var(--sub)}
.ob-hint svg{flex:none;width:14px;height:14px;margin-top:2px;fill:var(--mute)}

/* =========================== 4. Target（左＝見本・右＝選ぶ物。選ぶと見本の言葉がその場で変わる） =========================== */
.ob-stage{display:grid;grid-template-columns:136px minmax(0,1fr);gap:14px;align-items:start}
.ob-pvcol{position:sticky;top:0;display:flex;flex-direction:column;gap:12px;min-width:0}
.ob-pv{position:relative;width:136px;aspect-ratio:9/16;border-radius:16px;overflow:hidden;isolation:isolate;background:var(--tel-bg);box-shadow:var(--sh-hero)}
.ob-pv .ob-tel{top:54%;font-size:13px}
.ob-smp{position:absolute;left:7px;top:7px;z-index:2;display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 7px;border-radius:10px;background:var(--glass);color:var(--ink);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.ob-smp b{font:800 9.5px/1 var(--f-en);letter-spacing:.02em}
.ob-smp i{font-style:normal;font-size:9.5px;font-weight:700;line-height:1}
.ob-to{display:flex;flex-direction:column;gap:3px;min-width:0}
.ob-to b{font:800 12.5px/1.3 var(--f-en);color:var(--sub)}
.ob-to span{font-size:12px;font-weight:700;line-height:1.45;color:var(--ink);overflow-wrap:anywhere}
.ob-to span.none{color:var(--mute)}
.ob-opts{display:flex;flex-direction:column;gap:6px;min-width:0}
.ob-opt{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:6px 10px 6px 12px;border:1px solid var(--line-2);border-radius:12px;background:var(--surface);color:var(--ink);text-align:left;font-size:13px;font-weight:700;line-height:1.3;transition:transform .1s}
.ob-opt:active{transform:scale(.98)}
.ob-opt>span{flex:1;min-width:0}
.ob-opt>svg{flex:none;width:18px;height:18px;fill:var(--sub)}
.ob-opt .ck{flex:none;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;border:1.5px solid var(--line-3)}
.ob-opt .ck svg{display:none;width:14px;height:14px;fill:var(--on-accent)}
.ob-opt.on{border-color:var(--sel);box-shadow:0 0 0 1px var(--sel) inset;background:var(--accent-soft)}
.ob-opt.on .ck{background:var(--accent);border-color:var(--accent)}
.ob-opt.on .ck svg{display:block}
.ob-opt.other{border-style:dashed}
.ob-opt.other.on{border-style:solid}
.ob-opts .ob-in{height:52px;padding:0 12px;border-radius:12px;font-size:16px}
@media (prefers-reduced-motion:no-preference){.ob-pv .ob-tel.pop{animation:ob-pop .36s cubic-bezier(.34,1.56,.64,1) both}}

/* =========================== 5. Face（同じ写真で3つの違いを見せる。絵は作る画面の Face blur と同じ3枚） =========================== */
.ob-faces{display:flex;flex-direction:column;gap:10px}
.ob-fc{position:relative;display:grid;grid-template-columns:148px minmax(0,1fr);gap:14px;align-items:center;width:100%;padding:8px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--sh-card);color:var(--ink);text-align:left;transition:transform .1s}
.ob-fc:active{transform:scale(.99)}
.ob-fth{position:relative;display:block;width:148px;aspect-ratio:4/3;border-radius:12px;overflow:hidden;isolation:isolate;background:linear-gradient(160deg,var(--thumb-a),var(--thumb-b))}
.ob-fth img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ob-fth::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 1px var(--hair) inset}
.ob-ft{min-width:0;padding-right:30px}
.ob-ft>b{display:block;font:800 22px/1.15 var(--f-en);letter-spacing:-.01em}
.ob-ft small{display:block;margin-top:4px;font-size:12px;font-weight:700;line-height:1.45;color:var(--sub)}
.ob-ft .ob-soon{margin-top:8px}
.ob-ft em{display:block;margin-top:5px;font-style:normal;font-size:12px;font-weight:700;line-height:1.5;color:var(--ink);text-wrap:balance}
.ob-ft em b{font:inherit;font-weight:800}
.ob-fc>.ck{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:2px solid var(--line-3)}
.ob-fc>.ck svg{display:none;width:16px;height:16px;fill:var(--on-accent)}
.ob-fc.on{border-color:var(--sel);box-shadow:0 0 0 1px var(--sel) inset;background:var(--accent-soft)}
.ob-fc.on>.ck{background:var(--accent);border-color:var(--accent)}
.ob-fc.on>.ck svg{display:block}

/* =========================== 6. Profile =========================== */
.ob-pcard{position:relative;display:flex;flex-direction:column;align-items:center;padding:22px 16px 18px;border-radius:var(--r-hero);background:var(--surface-2);overflow:hidden;isolation:isolate;text-align:center}
.ob-pcard::before{content:"";position:absolute;left:50%;top:-70px;z-index:-1;width:300px;height:190px;transform:translateX(-50%);border-radius:50%;background:var(--grad);opacity:.20;filter:blur(36px)}
.ob-avp{position:relative;display:block;cursor:pointer;border-radius:50%}
.ob-avp .pf-av{width:96px;height:96px;font-size:36px;background:var(--surface);box-shadow:0 0 0 3px var(--surface),0 10px 24px var(--ob-shade-2)}
.ob-avp:focus-within .pf-av{box-shadow:0 0 0 3px var(--surface),0 0 0 5.5px var(--sel)}
.ob-cam{position:absolute;right:-4px;bottom:-4px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 3px var(--surface-2)}
.ob-cam svg{width:18px;height:18px;fill:var(--on-accent)}
.ob-pn{display:flex;align-items:center;justify-content:center;gap:8px;max-width:100%;min-width:0;margin-top:14px;font-size:17px;font-weight:800;line-height:1.35;color:var(--ink)}
.ob-pn>b{min-width:0;font-weight:inherit;overflow-wrap:anywhere}
.ob-pn.none>b{color:var(--mute)}
.ob-pcard .pf-lock{background:var(--surface)}
.ob-pid{max-width:100%;margin-top:2px;font:600 13px/1.4 var(--f-en);color:var(--sub);overflow-wrap:anywhere}

/* =========================== できた（All set） =========================== */
.ob-sig{display:flex;flex-direction:column;gap:10px;padding:12px 14px 14px 12px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface);box-shadow:var(--sh-card)}
.ob-sig .r{display:flex;align-items:center;gap:12px;min-width:0}
.ob-sig .th{position:relative;flex:none;width:36px;height:64px;border-radius:9px;overflow:hidden;background:var(--surface-2)}
.ob-sig .th img,.ob-sig .th video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ob-sig .th svg{position:absolute;left:50%;top:50%;width:20px;height:20px;transform:translate(-50%,-50%);fill:var(--mute)}
.ob-sig .ot{flex:1;min-width:0}
.ob-sig .ot b{display:block;font:800 15px/1.3 var(--f-en);color:var(--ink)}
.ob-sig .ot small{display:block;font-size:11.5px;font-weight:500;line-height:1.45;color:var(--sub)}
.ob-sig .ot b .ja{margin-left:6px;font:700 11px/1 var(--f);font-style:normal;color:var(--sub)}
.ob-sig .pc{flex:none;font:800 15px/1 var(--f-en);font-variant-numeric:tabular-nums;color:var(--ink)}
.ob-sig .bar{height:4px;border-radius:99px;background:var(--surface-3);overflow:hidden}
.ob-sig .bar i{display:block;height:100%;width:var(--p,0%);border-radius:inherit;background:var(--grad-bar)}

/* 行（英語＋小さい日本語＋右に数）。Settings と All set で使う */
.list .ob-li{width:100%;gap:12px;min-height:60px;justify-content:flex-start;color:var(--ink)}
.ob-li>svg:first-child{flex:none;width:22px;height:22px;fill:var(--accent-text)}
.ob-li .ot{flex:1;min-width:0}
.ob-li .ot b{display:block;font:800 15px/1.3 var(--f-en)}
.ob-li .ot small{display:block;font-size:11.5px;font-weight:500;line-height:1.4;color:var(--sub)}
.ob-li .v{flex:none;font-family:var(--f-en);font-weight:700;font-variant-numeric:tabular-nums}

/* =========================== Settings: About you のカード（続きから・直す入口。ホームにも同じ1枚） =========================== */
.ob-ab{position:relative;display:flex;flex-direction:column;gap:12px;width:100%;padding:14px;border:1px solid var(--line);border-radius:var(--r-hero);background:var(--surface);box-shadow:var(--sh-hero);color:var(--ink);text-align:left;overflow:hidden;isolation:isolate}
.ob-ab::before{content:"";position:absolute;right:-60px;top:-80px;z-index:-1;width:220px;height:180px;border-radius:50%;background:var(--grad);opacity:.16;filter:blur(34px)}
.ob-ab .r{display:flex;align-items:center;gap:12px;min-width:0}
.ob-ab .pf-av{width:52px;height:52px;font-size:20px}
.ob-ab .ot{flex:1;min-width:0}
.ob-ab .ot em{display:block;font:800 11px/1.3 var(--f-en);font-style:normal;letter-spacing:.14em;color:var(--accent-text)}
.ob-ab .ot b{display:block;font-size:16px;font-weight:800;line-height:1.35;overflow-wrap:anywhere}
.ob-ab .ot small{display:block;font:600 12.5px/1.4 var(--f-en);color:var(--sub);overflow-wrap:anywhere}
.ob-ring{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:conic-gradient(var(--accent) calc(var(--p,0)*1%),var(--surface-3) 0)}
.ob-ring b{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--surface);font:800 12.5px/1 var(--f-en);font-variant-numeric:tabular-nums;color:var(--ink)}
.ob-ring.ok{background:var(--accent)}
.ob-ring.ok svg{width:24px;height:24px;fill:var(--on-accent)}
.ob-facts{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.ob-fact{display:inline-flex;align-items:center;gap:5px;max-width:100%;min-height:28px;padding:4px 10px 4px 7px;border-radius:14px;background:var(--surface-2);font-size:12px;font-weight:700;line-height:1.3;color:var(--ink)}
.ob-fact svg{flex:none;width:15px;height:15px;fill:var(--accent-text)}
.ob-fact.none{padding-left:10px;background:transparent;box-shadow:0 0 0 1px var(--line-2) inset;color:var(--mute)}
.ob-fact.none b{font:700 12px/1.3 var(--f-en)}
.ob-ab .btn{min-height:48px;border-radius:12px}
.ob-ab .btn b{font:800 15px/1 var(--f-en)}
.ob-ab .btn svg{width:20px;height:20px}
.ob-abx{position:absolute;right:2px;top:2px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--sub)}
.ob-abx svg{width:18px;height:18px;fill:currentColor}

/* =========================== Dictionary（ユーザー辞書） =========================== */
.ob-demo{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr);align-items:stretch;gap:6px;padding:10px;border-radius:var(--r-hero);background:var(--surface-2)}
.ob-demo>div{display:flex;flex-direction:column;gap:6px;min-width:0}
.ob-demo .lb{display:flex;align-items:baseline;gap:6px;padding-left:2px;font-size:10px;font-weight:700;line-height:1.2;color:var(--mute)}
.ob-demo .lb b{font:800 11.5px/1.2 var(--f-en);color:var(--sub)}
.ob-heard,.ob-cap{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:72px;padding:8px;border-radius:14px;text-align:center}
.ob-heard{border:1px solid var(--line);background:var(--surface)}
.ob-heard b{max-width:100%;font-size:14px;font-weight:700;line-height:1.3;color:var(--ink);overflow-wrap:anywhere}
.ob-wave{display:inline-flex;align-items:center;gap:2.5px;height:16px}
.ob-wave i{display:block;width:3px;border-radius:2px;background:var(--accent)}
.ob-wave i:nth-child(1){height:6px}.ob-wave i:nth-child(2){height:14px}.ob-wave i:nth-child(3){height:9px}.ob-wave i:nth-child(4){height:16px}.ob-wave i:nth-child(5){height:7px}.ob-wave i:nth-child(6){height:12px}
.ob-cap{background:var(--tel-bg)}
.ob-cap b{max-width:100%;font:900 18px/1.3 var(--f);color:var(--on-accent);overflow-wrap:anywhere}
.ob-demo>svg{align-self:center;width:22px;height:22px;margin-top:18px;fill:var(--accent-text)}
@media (prefers-reduced-motion:no-preference){
  .ob-wave i{animation:ob-wave 1s ease-in-out infinite alternate;transform-origin:50% 50%}
  .ob-wave i:nth-child(2){animation-delay:-.3s}.ob-wave i:nth-child(3){animation-delay:-.6s}.ob-wave i:nth-child(4){animation-delay:-.15s}.ob-wave i:nth-child(5){animation-delay:-.45s}.ob-wave i:nth-child(6){animation-delay:-.75s}
}
@keyframes ob-wave{from{transform:scaleY(.45)}to{transform:scaleY(1)}}
.ob-add{display:grid;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr) 48px;align-items:end;gap:6px}
.ob-add label{display:flex;flex-direction:column;gap:5px;min-width:0}
.ob-add .ob-in{height:48px;padding:0 12px;border-radius:12px;font-size:16px}
.ob-add>svg{width:14px;height:14px;margin-bottom:17px;fill:var(--mute)}
.ob-addb{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:var(--ink);transition:transform .1s}
.ob-addb:active{transform:scale(.94)}
.ob-addb svg{width:24px;height:24px;fill:var(--on-ink)}
.ob-addb[disabled]{background:var(--surface-3);cursor:default}
.ob-addb[disabled] svg{fill:var(--mute)}
.ob-words{display:flex;flex-direction:column;padding:0 2px 0 14px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface);box-shadow:var(--sh-card)}
.ob-w{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;min-height:56px;border-bottom:1px solid var(--line)}
.ob-w:last-child{border-bottom:0}
.ob-w .t{display:flex;align-items:center;gap:8px;min-width:0;min-height:56px;color:var(--ink);text-align:left}
.ob-w .y{flex:0 1 auto;min-width:0;font-size:12.5px;font-weight:500;line-height:1.4;color:var(--sub);overflow-wrap:anywhere}
.ob-w .t svg{flex:none;width:14px;height:14px;fill:var(--mute)}
.ob-w .w{flex:0 1 auto;min-width:0;font-size:16px;font-weight:800;line-height:1.35;overflow-wrap:anywhere}
.ob-w .x{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--sub)}
.ob-w .x svg{width:20px;height:20px;fill:currentColor}
.ob-words.ex{padding-right:14px;border-style:dashed;border-color:var(--line-2);background:transparent;box-shadow:none}
.ob-words.ex .ob-w{grid-template-columns:minmax(0,1fr) auto;min-height:48px}
.ob-words.ex .t{min-height:48px;color:var(--sub)}
.ob-words.ex .w{font-size:14.5px;font-weight:700}
.ob-ex{flex:none;display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:10px;background:var(--surface-2);font-size:10.5px;font-weight:700;color:var(--sub);white-space:nowrap}
.ob-note{display:flex;align-items:flex-start;gap:6px;margin:0;font-size:11.5px;line-height:1.5;color:var(--sub)}
.ob-note svg{flex:none;width:14px;height:14px;margin-top:2px;fill:var(--mute)}
/* 直す・消すのシート */
.ob-sh{display:flex;flex-direction:column;gap:14px;min-width:0}
.ob-sh .ob-h h1{font-size:22px}
.ob-sh .ob-demo{padding:8px}
.ob-del{align-self:center;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 16px;font-size:13.5px;font-weight:700;color:var(--err)}
.ob-del svg{width:18px;height:18px;fill:currentColor}
.ob-sh .btn b{font:800 17px/1.2 var(--f-en)}

/* =========================== NG（やってほしくない事）: 選ぶと絵に斜めの線が入る =========================== */
.ob-ngs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ob-ng{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:104px;padding:10px 4px 9px;border:1px solid var(--line-2);border-radius:16px;background:var(--surface);color:var(--ink);transition:transform .1s}
.ob-ng:active{transform:scale(.96)}
.ob-ni{position:relative;display:grid;place-items:center;width:42px;height:42px;margin-bottom:5px;border-radius:50%;background:var(--surface-2)}
.ob-ni svg{width:23px;height:23px;fill:var(--ink)}
.ob-ni::after{content:"";position:absolute;left:50%;top:50%;width:48px;height:3px;border-radius:2px;background:var(--accent);box-shadow:0 0 0 2px var(--surface);transform:translate(-50%,-50%) rotate(-45deg) scaleX(0);transition:transform .24s cubic-bezier(.3,1.3,.5,1)}
:root[data-theme="dark"] .ob-ni::after{background:var(--accent-hi)}
.ob-ng b{max-width:100%;font:800 13px/1.25 var(--f-en);white-space:nowrap}
.ob-ng small{max-width:100%;font-size:10.5px;font-weight:700;line-height:1.3;color:var(--sub);white-space:nowrap}
.ob-ng.on{border-color:var(--sel);box-shadow:0 0 0 1px var(--sel) inset;background:var(--accent-soft)}
.ob-ng.on .ob-ni{background:var(--surface)}
.ob-ng.on .ob-ni svg{fill:var(--mute)}
.ob-ng.on .ob-ni::after{transform:translate(-50%,-50%) rotate(-45deg) scaleX(1)}

/* 狭い端末（375 以下） */
@media (max-width:380px){
  .ob-stage{grid-template-columns:128px minmax(0,1fr);gap:12px}
  .ob-pv{width:128px}
  .ob-fc{grid-template-columns:140px minmax(0,1fr);gap:12px}
  .ob-fth{width:140px}
  .ob-tag{padding:0 8px 0 6px;gap:5px}
  .ob-tag.ta{right:calc(50% + 66px)}.ob-tag.tb{right:calc(50% + 68px)}
  .ob-tag.tc{left:calc(50% + 66px)}.ob-tag.td{left:calc(50% + 68px)}
}

/* =========================== 組み込みで足した物（見本に無い状態） =========================== */
/* 保存している間の下のボタン（押せない・少し薄く） */
.ob-dock .btn.busy{opacity:.6;pointer-events:none}
/* ホームのカードは、ホームの段の並び（.view の gap）に合わせる */
.view>.ob-ab{flex:none}
/* 中身を読んでいる間のカードの置き場（高さだけ先に取る＝読めた時に下がガタッと動かない） */
.ob-ab.ld{min-height:176px;box-shadow:none;background:var(--surface-2);border-color:transparent}
.ob-ab.ld::before{display:none}
/* Dictionary／NG を読めなかった時 */
.ob-fail{display:flex;flex-direction:column;align-items:center;gap:12px;padding:28px 16px;border-radius:var(--r-card);background:var(--surface-2);font-size:13px;font-weight:700;line-height:1.6;color:var(--sub);text-align:center}
.ob-fail .btn{width:auto;min-height:44px;padding:0 20px;font-size:14px}
/* Signature の行の右（覚えました・取り込み中 など） */
.ob-li .v.ok{color:var(--accent-text)}
/* 代表作の段: もう型がある人・取り込みが始まった後は、枠の代わりに進み具合のカード */
.ob-reels .ob-sig+.ob-hint{margin-top:-6px}
/* 設定のいちばん下（テスト版の説明） */
.view.set .diag{margin:0}
/* カードの Continue の右の「n / 6」 */
.ob-ab .btn .ob-n{font:700 12px/1 inherit}

/* Kids の自分の顔の写真（2026-11-26・design-reviewer 添削済み） */
.ob-kme{flex:none;margin-top:12px;padding:14px 14px 14px 13px;border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:18px;background:var(--surface);box-shadow:var(--sh-card);display:grid;gap:12px}
.ob-kme-t.has{display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:center}
.ob-kme-tag{display:inline-block;padding:3px 8px;margin-bottom:6px;border-radius:999px;background:var(--accent-soft);color:var(--accent-text);font-size:11px;font-weight:800}
.ob-kme-t b{display:block;font-size:15px;font-weight:800;color:var(--ink)}
.ob-kme-t small{display:block;margin-top:4px;font-size:12.5px;line-height:1.5;color:var(--sub);text-wrap:pretty}
.ob-kme-av{position:relative;display:block;width:48px;height:48px}
.ob-kme-av img{width:48px;height:48px;border-radius:50%;object-fit:cover;background:var(--surface-3)}
.ob-kme-av i{position:absolute;right:-3px;bottom:-3px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 2px var(--surface)}
.ob-kme-av i svg{width:12px;height:12px;fill:#fff}
.ob-kme-row.two{display:grid;grid-template-columns:1fr auto;gap:8px}
.ob-kme-b{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:14px;border:1px solid var(--line-2);background:var(--surface-2);color:var(--ink);font-weight:800;font-size:14px;cursor:pointer}
.ob-kme-b:active{background:var(--surface-3)}
.ob-kme-b svg{width:20px;height:20px;fill:var(--accent-text)}
.ob-kme-b.dis{color:var(--mute);background:var(--surface-3);pointer-events:none}
.ob-kme-spin{width:16px;height:16px;border-radius:50%;border:2px solid var(--line-2);border-top-color:var(--accent-text);animation:spin .8s linear infinite}
.ob-kme-x{min-height:48px;padding:0 14px;border:0;border-radius:14px;background:none;color:var(--err);font-size:13px;font-weight:700}
.ob-kme-n{display:flex;gap:6px;align-items:flex-start;margin:0;font-size:12px;line-height:1.5;color:var(--mute)}
.ob-kme-n svg{flex:none;width:14px;height:14px;margin-top:2px;fill:var(--mute)}
@keyframes spin{to{transform:rotate(360deg)}}
