/* テスト版で足したもの（見本 v3 の style.css に乗せる・値は見本と同じ系統） */
.login{min-height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding:24px 16px calc(24px + env(safe-area-inset-bottom,0px))}
.login .lbg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.login .lshade{position:absolute;inset:0;z-index:0;background:linear-gradient(to bottom,rgba(22,20,18,.05) 0%,rgba(22,20,18,.10) 40%,rgba(22,20,18,.45) 100%)}
.login .lcard{position:relative;z-index:1;display:flex;flex-direction:column;gap:16px;padding:24px 20px 20px;background:var(--card);border-radius:24px;box-shadow:0 20px 50px rgba(22,20,18,.28);animation:in .3s ease-out both}
.login .lhead{display:flex;gap:12px;align-items:center}
.login .lmark{width:48px;height:48px;flex:none}
.login h1{font-size:19px;line-height:1.35}
.login .sub{margin-top:4px;font-size:12px}
.login label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;color:var(--sub)}
.login .note{margin-top:-4px}
.field{min-height:52px}
.flist{display:flex;flex-direction:column;gap:8px}
.fitem{display:flex;align-items:center;gap:12px;padding:10px 12px;background:var(--card);border:1px solid var(--line);border-radius:var(--r-card)}
.fitem .th{position:relative;width:44px;height:78px;border-radius:10px;background:linear-gradient(160deg,#EDE4D3,#DCCFB7);flex:none;overflow:hidden;display:grid;place-items:center;color:#8C7A5E}
.fitem .th>svg{width:22px;height:22px;fill:currentColor}
.fitem .th video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fitem .th .n{position:absolute;left:4px;top:4px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:var(--terra);color:#fff;font-size:10px;font-weight:800;display:grid;place-items:center;box-shadow:0 0 0 1.5px #fff;z-index:1}
.fitem.au .th{height:44px;border-radius:50%;background:var(--blue-soft);color:var(--blue)}
.fitem .nm{flex:1;min-width:0;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fitem .nm small{display:block;font-weight:500;color:var(--sub)}
.fitem .x{width:44px;height:44px;margin-right:-6px;border-radius:50%;display:grid;place-items:center;color:var(--sub)}
.fitem .x svg{width:20px;height:20px;fill:currentColor}
.fitem .bar{height:4px;border-radius:99px;background:var(--cream);margin-top:6px;overflow:hidden}
.fitem .bar i{display:block;height:100%;width:var(--p,0%);background:var(--blue);transition:width .3s}
.pick{display:flex;align-items:center;justify-content:center;gap:10px;min-height:136px;border:1.5px dashed #D9CBAE;border-radius:var(--r-hero);background:var(--card);color:var(--terra-ink);font-weight:800;font-size:15px;text-align:center;flex-direction:column;cursor:pointer}
.pick:active{background:var(--cream)}
.pick>svg{width:32px;height:32px;fill:currentColor}
.pick .pt{display:flex;flex-direction:column;gap:2px}
.pick .pt b{font-size:16px;font-weight:800}
.pick small{font-weight:500;font-size:12px;color:var(--sub)}
.pick.row{flex-direction:row;justify-content:flex-start;min-height:64px;padding:0 14px;border:1px solid var(--line);border-radius:var(--r-card);text-align:left;color:var(--ink);box-shadow:var(--sh-card)}
.pick.row>svg{width:22px;height:22px;flex:none;color:var(--terra)}
.pick.row .pt{flex:1;min-width:0}
.pick.row .pt b{font-size:15px}
.pick.row>svg.cv{width:20px;height:20px;fill:var(--mute)}
.rec{display:flex;flex-direction:column;align-items:center;gap:12px;padding:20px 16px 22px;background:var(--card);border:1px solid var(--line);border-radius:var(--r-hero);box-shadow:var(--sh-hero);text-align:center}
.rec .rbtn{width:88px;height:88px;border-radius:50%;background:var(--terra);display:grid;place-items:center;box-shadow:0 0 0 8px var(--terra-soft),0 10px 24px rgba(180,115,90,.32);margin:6px 0 2px}
.rec .rbtn svg{width:38px;height:38px;fill:#fff}
.rec .rbtn.on{background:var(--red);animation:recpulse 1.4s ease-in-out infinite}
.rec .t{font-size:16px;font-weight:800;color:var(--ink)}
.rec.on .t{font-size:32px;font-weight:900;font-variant-numeric:tabular-nums;color:var(--red)}
.rec .tiny{max-width:260px}
.rec audio{width:100%;margin-top:4px}
@keyframes recpulse{0%,100%{box-shadow:0 0 0 8px rgba(194,85,74,.18)}50%{box-shadow:0 0 0 16px rgba(194,85,74,.08)}}
.or{display:flex;align-items:center;gap:10px;color:var(--sub);font-size:12px;font-weight:700;margin-bottom:-6px}
.or::before,.or::after{content:"";flex:1;height:1px;background:var(--line)}
.stages{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:var(--r-hero);padding:10px 10px;box-shadow:var(--sh-card)}
.stg{position:relative;display:flex;align-items:center;gap:14px;min-height:50px;padding:0 10px;border-radius:12px;font-size:14px;color:var(--mute)}
.stg:not(:last-child)::after{content:"";position:absolute;left:20px;top:36px;bottom:-14px;width:2px;border-radius:1px;background:var(--beige)}
.stg.done:not(:last-child)::after{background:var(--green)}
.stg.now{background:var(--blue-soft);color:var(--blue-ink)}
.stg i{position:relative;z-index:1;width:22px;height:22px;border-radius:50%;border:2px solid var(--beige);background:var(--card);flex:none;display:grid;place-items:center}
.stg.done{color:var(--ink)} .stg.done i{background:var(--green);border-color:var(--green)}
.stg.done i::after{content:"";width:8px;height:4px;border:2px solid #fff;border-top:0;border-right:0;transform:rotate(-45deg) translate(1px,-1px)}
.stg.now{font-weight:800} .stg.now i{border-color:var(--blue);border-top-color:transparent;animation:spin 1s linear infinite;background:transparent}
@keyframes spin{to{transform:rotate(360deg)}}
.dls{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.dls .btn{min-height:52px;font-size:14px;padding:0 10px;gap:6px}
.dls .btn svg{width:20px;height:20px}
.dls .btn.full{min-height:56px;font-size:16px}
.dls .btn.full{grid-column:1/-1}
.vers{display:flex;flex-direction:column;gap:8px}
.ver{display:flex;align-items:center;gap:12px;min-height:60px;padding:10px 14px;background:var(--card);border:1px solid var(--line);border-radius:var(--r-card);font-size:13px;text-align:left}
.ver .vn{width:30px;height:30px;border-radius:50%;background:var(--cream);color:var(--sub);font-size:13px;font-weight:800;display:grid;place-items:center;flex:none}
.ver.on .vn{background:var(--terra);color:#fff}
.ver .vt{flex:1;min-width:0}
.ver .vt small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ver.on{border-color:var(--terra);box-shadow:0 0 0 2px var(--terra-soft)}
.ver b{font-size:14px}
.ver small{color:var(--sub);display:block}
.empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:36px 16px;color:var(--sub);text-align:center;font-size:14px}
.empty img{width:56px;opacity:.9}
.upl{display:flex;flex-direction:column;gap:12px}
.upl .big{font-size:28px;font-weight:900;font-variant-numeric:tabular-nums}
.jobplay{width:100%;aspect-ratio:9/16;border-radius:var(--r-hero);overflow:hidden;background:#000;box-shadow:var(--sh-hero);position:relative}
.jobplay video{width:100%;height:100%;object-fit:cover}
.jobplay .modeseg{position:absolute;top:12px;right:12px;display:inline-flex;background:rgba(22,20,18,.5);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:999px;padding:3px;z-index:2}
.jobplay .modeseg button{min-height:38px;padding:0 14px;border-radius:999px;color:rgba(255,255,255,.85);font-size:12px;font-weight:800}
.jobplay .modeseg button.on{background:#fff;color:var(--ink)}
.err{padding:12px 14px;border-radius:var(--r-card);background:#F8E5E2;color:var(--red);font-size:13px;font-weight:700}
a.btn{text-decoration:none}

/* ---- 2026-10-24 デザイン添削で追加 ---- */
/* ホーム（初めて開いた時）: お手本と、用意するもの */
.sample{display:grid;grid-template-columns:128px 1fr;gap:14px;padding:12px;background:var(--card);border:1px solid var(--line);border-radius:var(--r-hero);box-shadow:var(--sh-hero);align-items:center}
.sample .media{aspect-ratio:9/16;border-radius:12px;background:#2E3135}
.sample .media video{width:100%;height:100%;object-fit:cover}
.sample .tag{position:absolute;left:6px;top:6px;height:22px;padding:0 8px;border-radius:999px;background:rgba(22,20,18,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;font-size:10px;font-weight:800;display:inline-flex;align-items:center}
.sample .tx{display:flex;flex-direction:column;gap:6px;min-width:0}
.sample h2{font-size:18px;font-weight:900;line-height:1.35}
.outs{list-style:none;margin:6px 0 0;padding:10px 0 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:6px}
.outs li{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700}
.outs svg{width:16px;height:16px;padding:2px;border-radius:50%;background:var(--green);fill:#fff;flex:none}
.flow{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.fstep{position:relative;display:flex;flex-direction:column;gap:4px;min-width:0}
.fstep:not(:last-child)::after{content:"";position:absolute;right:-11px;top:calc(50% - 40px);width:8px;height:8px;border-top:2px solid var(--mute);border-right:2px solid var(--mute);transform:rotate(45deg)}
.fstep .media{aspect-ratio:4/5;border-radius:12px;margin-bottom:4px}
.fstep b{font-size:13px;font-weight:800;line-height:1.3}
.fstep small{font-size:11px;color:var(--sub);line-height:1.4}
.fstep .num{left:6px;top:6px}
.fstep .num.ok{background:var(--green)} .fstep .num svg{width:14px;height:14px;fill:#fff}
.vtile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:linear-gradient(160deg,#C98A70,#B4735A 55%,#94563F)}
.vtile>svg{width:34px;height:34px;fill:#fff}
.vtile .wave{display:flex;gap:3px;align-items:center;height:18px}
.vtile .wave i{width:3px;border-radius:2px;background:rgba(255,255,255,.8);animation:wave 1.1s ease-in-out infinite}
.vtile .wave i:nth-child(1){height:6px}.vtile .wave i:nth-child(2){height:14px;animation-delay:.15s}.vtile .wave i:nth-child(3){height:18px;animation-delay:.3s}.vtile .wave i:nth-child(4){height:11px;animation-delay:.45s}.vtile .wave i:nth-child(5){height:7px;animation-delay:.6s}
@keyframes wave{50%{transform:scaleY(.45)}}
/* ジャンル: 写真の無いジャンル */
.icon-tile.gi{background:linear-gradient(160deg,#8DB4CA 0%,#4F7890 70%,#3B6074 100%)}
.icon-tile.gi svg{width:48px;height:48px;fill:rgba(255,255,255,.92);margin-bottom:18%}
/* タップ領域44px */
.chip{min-height:44px}
.rec .tiny{max-width:300px}
/* 作る①: 素材が無い時のコツ */
.tips{padding:14px 16px;border-radius:var(--r-card);background:var(--cream);display:flex;flex-direction:column;gap:8px}
.tips ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.tips li{position:relative;padding-left:16px;font-size:13px;line-height:1.55;color:var(--ink)}
.tips li::before{content:"";position:absolute;left:2px;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--terra)}
/* 作る③: フォントは1行ずつ（書体名と使っている人） */
.chips.fonts{flex-direction:column;flex-wrap:nowrap}
.chips.fonts .chip{width:100%;min-height:56px;border-radius:14px;padding:8px 14px 8px 10px;display:grid;grid-template-columns:24px 1fr;column-gap:12px;row-gap:1px;text-align:left}
.chips.fonts .chip .sw{grid-row:1/3;width:24px;height:24px}
.chips.fonts .chip .fn{font-size:15px;line-height:1.3}
.chips.fonts .chip small{line-height:1.3}
/* 作品の詳細: 映像は中央に。保存ボタンまで1画面に入る大きさ */
.jobplay{width:min(100%,300px);align-self:center}

/* ---- 2026-10-28 作る③ 形・仕上げ／作る④ 締め（design-reviewer 添削） ---- */
.t2{display:flex;flex-direction:column;gap:4px}
.t2 h3 small{margin-left:8px;font-size:12px;font-weight:500;color:var(--sub)}
.opts{display:flex;flex-direction:column;gap:8px}
.opts .opt{width:100%;min-height:72px;padding:10px 14px 10px 10px;gap:12px;box-shadow:var(--sh-card);transition:border-color .12s,box-shadow .12s,transform .1s}
.opts .opt:active{transform:scale(.99)}
.opts .opt .ot{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.opts .opt b{font-size:15px;font-weight:800;line-height:1.35}
.opts .opt small{font-size:12px;line-height:1.45;color:var(--sub)}
.opts .opt.on{border-color:var(--terra);box-shadow:0 0 0 2px var(--terra-soft)}
.opts .opt.on .cb{background:var(--terra);border-color:var(--terra)}
.opts .opt.rad .cb{border-radius:50%}
.mini{position:relative;width:30px;height:52px;flex:none;border-radius:7px;overflow:hidden;background:linear-gradient(160deg,#EDE4D3,#DCCFB7)}
.mini i{position:absolute;display:block}
.mini.afureco i:nth-child(1){left:6px;right:6px;top:8px;height:4px;border-radius:2px;background:#fff}
.mini.afureco i:nth-child(2){left:8px;right:8px;top:20px;height:18px;border-radius:4px;background:var(--terra)}
.mini.list i{left:5px;right:5px;height:7px;border-radius:2px;background:linear-gradient(90deg,var(--terra) 0 7px,transparent 7px 9px,#fff 9px)}
.mini.list i:nth-child(1){top:12px}.mini.list i:nth-child(2){top:23px}.mini.list i:nth-child(3){top:34px}
.mini.blur i:nth-child(1){left:8px;top:11px;width:14px;height:14px;border-radius:50%;background:#B98E74;filter:blur(2.5px)}
.mini.blur i:nth-child(2){left:5px;right:5px;top:29px;height:30px;border-radius:11px 11px 0 0;background:#C9A58C}
.mini.endcard{background:linear-gradient(160deg,#B9B1A2,#8F8676)}
.mini.endcard i:nth-child(1){left:4px;right:4px;top:12px;height:21px;border-radius:3px;background:#fff}
.mini.endcard i:nth-child(2){left:7px;width:10px;top:27px;height:4px;border-radius:1px;background:#4A5DF9}
.mini.endcard i:nth-child(3){left:9px;top:37px;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-bottom:5px solid #fff}
.mini.afureco i:nth-child(3),.mini.blur i:nth-child(3){display:none}
.ecf{margin-top:6px;padding-top:22px;border-top:1px solid var(--line)}
.ecg{display:flex;flex-direction:column;gap:12px;transition:opacity .15s}
.ecg.off{opacity:.4}
.lbl{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;color:var(--sub)}
.ecf .pick.row{padding:10px 14px}
.pvzone{display:flex;flex-direction:column;gap:22px}

/* ---- 2026-10-30 同意・わたしの型・TikTok Shop・カットだけ（design-reviewer 添削で差し替え） ---- */
/* .mini.list が style.css の .list（枠線1px・padding）を拾っていた */
.mini{border:0;padding:0}
/* TikTok Shop: ほかと同じ生成りの画面に、商品（テラコッタ）＋下に白い商品リンク帯＋黄色いカゴ */
.mini.tiktokshop i:nth-child(1){left:8px;right:8px;top:10px;height:20px;border-radius:4px;background:var(--terra)}
.mini.tiktokshop i:nth-child(2){left:4px;right:4px;bottom:6px;height:11px;border-radius:3px;background:linear-gradient(var(--beige),var(--beige)) 11px 4px/8px 3px no-repeat,#fff;box-shadow:0 1px 2px rgba(60,50,30,.18)}
.mini.tiktokshop i:nth-child(3){left:6px;bottom:8px;width:7px;height:7px;border-radius:2px;background:#FCD11B}
/* カットだけ: 白（＝テロップ）を使わない。上に空のテロップ枠（点線）＋素材2つの間に切れ目 */
.mini.cutonly i:nth-child(1){left:6px;right:6px;top:7px;height:7px;border-radius:2px;border:1.5px dashed var(--mute);background:none}
.mini.cutonly i:nth-child(2){left:5px;right:5px;top:18px;height:14px;border-radius:3px;background:#C9A58C}
.mini.cutonly i:nth-child(3){left:5px;right:5px;top:35px;height:12px;border-radius:3px;background:#B98E74}

/* 同意 */
.vh{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.consent{display:flex;flex-direction:column;gap:10px;margin:0;padding:14px 14px 0;background:var(--card);border:1px solid var(--line);border-radius:var(--r-card);transition:border-color .15s,background .15s}
.consent .cs-h{margin:0;display:flex;align-items:baseline;gap:8px;font-size:14px;font-weight:800;line-height:1.4;color:var(--ink)}
.consent .cs-h small{font-size:11px;font-weight:700;color:var(--sub)}
.cs-pts{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.cs-pts li{display:grid;grid-template-columns:48px 1fr;column-gap:8px;font-size:12.5px;line-height:1.6;color:var(--ink)}
.cs-pts li b{font-size:12px;font-weight:800;color:var(--terra-ink)}
.cs-ok{align-self:stretch;display:flex;align-items:center;gap:12px;min-height:52px;margin:0 -14px;padding:0 14px;border-top:1px solid var(--line);cursor:pointer}
.cs-ok .cb{width:24px;height:24px;border-radius:7px;border:2px solid var(--sub);display:grid;place-items:center;flex:none;transition:background .12s,border-color .12s}
.cs-ok .cb svg{width:16px;height:16px;fill:#fff;opacity:0}
.cs-ok input:checked+.cb{background:var(--terra);border-color:var(--terra)}
.cs-ok input:checked+.cb svg{opacity:1}
.cs-ok input:focus-visible+.cb{outline:2px solid var(--blue);outline-offset:2px}
.cs-ok b{font-size:15px;font-weight:800}
.consent.need{border-color:var(--terra);background:var(--terra-soft);animation:nudge .32s ease-out}
@keyframes nudge{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.btn.dim{opacity:.45}
/* 確認シート: 同意とボタンは下に固定（kv が長くても押す所が見える） */
.sheet .sfoot{position:sticky;bottom:calc(-16px - env(safe-area-inset-bottom,0px));z-index:1;display:flex;flex-direction:column;gap:12px;margin:16px -16px calc(-16px - env(safe-area-inset-bottom,0px));padding:12px 16px calc(16px + env(safe-area-inset-bottom,0px));background:var(--bg);box-shadow:0 -1px 0 var(--line)}
.sheet .kv button{min-height:44px}

/* わたしの型 */
.stc{display:flex;flex-direction:column;padding:14px 16px}
.st-head{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.st-head small{font-size:12px;line-height:1.5;color:var(--sub)}
.st-chip{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 12px;border-radius:999px;font-size:13px;font-weight:800}
.st-chip svg{width:16px;height:16px;fill:currentColor;margin-left:-2px}
.st-chip.ok{background:var(--green-soft);color:var(--green)}
.st-chip.busy{background:var(--blue-soft);color:var(--blue-ink)}
.st-chip.ng{background:#F8E5E2;color:var(--red)}
.styletx{margin-top:12px;border-top:1px solid var(--line)}
.styletx summary{list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:48px;margin-bottom:-14px;font-size:14px;font-weight:700;cursor:pointer}
.styletx[open] summary{margin-bottom:0}
.styletx summary::-webkit-details-marker{display:none}
.styletx summary svg{width:20px;height:20px;fill:var(--mute);transform:rotate(90deg);transition:transform .2s}
.styletx[open] summary svg{transform:rotate(-90deg)}
.md{padding:2px 0 4px}
.md h4{display:flex;align-items:center;gap:8px;margin:18px 0 8px;font-size:14px;font-weight:800;line-height:1.4;color:var(--ink)}
.md h4:first-child{margin-top:4px}
.md h4::before{content:"";width:3px;height:14px;border-radius:2px;background:var(--blue);flex:none}
.md ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.md li{position:relative;padding-left:14px;font-size:13px;line-height:1.7;color:var(--ink)}
.md li::before{content:"";position:absolute;left:3px;top:.72em;width:5px;height:5px;border-radius:50%;background:var(--mute)}
.md p{margin:0 0 6px;font-size:13px;line-height:1.7}
.md b{font-weight:800;color:var(--blue-ink)}
.st-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.slot{position:relative;aspect-ratio:9/16;border-radius:var(--r-media);background:var(--cream);border:1.5px dashed #D9CBAE;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;overflow:hidden;color:var(--mute)}
.slot small{font-size:11px;font-weight:700}
.slot.add{background:var(--card);color:var(--terra-ink);cursor:pointer}
.slot.add>svg{width:28px;height:28px;fill:currentColor}
.slot.add b{font-size:13px;font-weight:800}
.slot.add small{color:var(--sub)}
.slot.add:active{background:var(--cream)}
.slot.on{border:0;background:#2E3135}
.slot.on video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.slot .n{position:absolute;left:6px;top:6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--terra);color:#fff;font-size:11px;font-weight:800;display:grid;place-items:center;box-shadow:0 0 0 1.5px #fff}
.slot .x{position:absolute;right:0;top:0;width:44px;height:44px;display:grid;place-items:center}
.slot .x svg{width:24px;height:24px;padding:4px;border-radius:50%;background:rgba(22,20,18,.55);fill:#fff}
.sheet:has(.sfoot .consent){max-height:94%}
/* =====================================================================
   手直し画面（2026-10-30 design-reviewer）
   app.css 末尾の「2026-10-30 手直し」ブロックをこの1枚で置き換える。aishot.css（白基調 v2・黒は data-theme="dark"）のトークン前提
   2026-10-30 白基調に対応: 直書きの白線・暗い面をトークンへ（--hair --tel-bg --dot-ring）。テロップ欄だけは暗い面のまま＝書き出した時の見た目（白文字黒フチ等）を白地でも確かめられるように
   方針:
   - 編集中は下タブを隠して、直す場所の高さを稼ぐ（CapCut等の編集画面と同じく「編集中は没入」）
   - 動画は上に固定するが 34vh/280px まで。812pxの画面で編集エリア 約410px（直前は約320px）
   - カードの中に箱を作らない（テロップ欄は枠線なしの塗り面）。カードの入れ子は1段まで
   - テロップ欄は「書き出した時の見た目」で表示（白黒フチ／青白フチ／黄白フチ／大）＝ k-<kind> クラス（app.js で付ける）
   ===================================================================== */

/* --- 編集中は下タブを隠す（:has なので app.js の変更なし） --- */
.phone:has(.ed) .tabbar{display:none}
.phone:has(.ed) .dock{bottom:0;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
.phone:has(.ed) #app{padding-bottom:calc(var(--padb,92px) + env(safe-area-inset-bottom,0px))}

/* --- 作品画面の「自分で手直しする」
   グリーンの主ボタンは画面に1つ（「テロップありを保存」）。手直しは2番手＝濃いグレー地＋グリーンの細枠＋鉛筆アイコン左・説明は2行目 --- */
#j-review.btn{display:grid;grid-template-columns:32px 1fr;column-gap:12px;row-gap:2px;align-content:center;justify-items:start;text-align:left;line-height:1.3;min-height:64px;padding:10px 16px;background:var(--surface);color:var(--ink);border:1px solid var(--line-2);box-shadow:var(--sh-card)}
#j-review svg{display:block;grid-row:1/3;align-self:center;width:32px;height:32px;padding:6px;border-radius:50%;background:var(--accent);fill:#0A0A0A}
:root[data-theme="dark"] #j-review.btn{background:var(--surface-2);border-color:var(--accent-line);box-shadow:none}
.btn .bsub{display:block;font-size:11.5px;font-weight:600;color:var(--sub)}

/* --- 上の動画（固定） --- */
.ed{gap:16px!important}
.ed .edplay{position:sticky;top:-12px;z-index:2;margin:-12px -16px 0;background:#000;border-bottom:.5px solid var(--bar-line,rgba(255,255,255,.08))}
.ed .edplay video{display:block;width:100%;height:min(34vh,280px);object-fit:contain;background:#000}
.ed>.tiny{margin-top:-4px}

/* --- フォント: 1行の横スクロール（4つが3段に折り返して200px使っていた） --- */
.ed .chips{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px;padding:2px 16px;scrollbar-width:none}
.ed .chips::-webkit-scrollbar{display:none}
.ed .chips .chip{flex:none;min-height:44px;font-size:14px}

/* --- 場面カード --- */
.eseg{display:flex;flex-direction:column;gap:12px;padding:12px 12px 14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card)}
.eseg.changed{border-color:var(--sel);box-shadow:0 0 0 1px var(--sel)}
.eseg .eh{display:flex;align-items:center;gap:10px;min-height:40px}
.eseg .tc{display:inline-flex;align-items:center;gap:4px;height:40px;padding:0 12px 0 9px;border-radius:999px;background:var(--surface-2);color:var(--ink);font-size:14px;font-weight:800;flex:none}
.eseg .tc svg{width:16px;height:16px;fill:var(--accent-text)}
.eseg .tc:active{background:var(--surface-3)}
.eseg .said{flex:1;min-width:0;font-size:12px;line-height:1.45;color:var(--sub);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.eseg .said::before{content:"声";display:inline-block;margin-right:6px;padding:0 5px;border-radius:4px;border:1px solid var(--line-2);font-size:10px;font-weight:800;line-height:15px;color:var(--mute);vertical-align:1px}
/* 直した場面に札 */
.eseg.changed .eh::after{content:"直した";flex:none;height:22px;padding:0 8px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:11px;font-weight:800;line-height:22px}

/* --- カット（9:16のサムネ） --- */
.eshots{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:2px 0;scrollbar-width:none}
.eshots::-webkit-scrollbar{display:none}
.eshots::after{content:"タップで\A差し替え・削除";white-space:pre;flex:none;padding-left:4px;font-size:11px;line-height:1.5;color:var(--mute)}
.eshot{position:relative;flex:none;width:56px;height:100px;border-radius:10px;background:var(--surface-2) center/cover no-repeat;box-shadow:0 0 0 1px var(--hair) inset;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:6px;font-size:10px;font-weight:800;transition:transform .1s}
.eshot:active{transform:scale(.96)}
.eshot .n{position:absolute;left:4px;top:4px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:rgba(0,0,0,.62);color:#fff;font-size:10px;font-weight:800;display:grid;place-items:center}
.eshot small{font-size:10px;text-shadow:0 1px 2px rgba(0,0,0,.6)}
.eshot.gone{background:transparent;box-shadow:none;border:1.5px dashed var(--line-2);color:var(--sub);justify-content:center;gap:4px;padding:0}
.eshot.gone small{color:var(--accent-text);text-decoration:underline;text-underline-offset:2px;text-shadow:none;font-size:11px}

/* --- テロップ: 枠線なしの塗り面＋書き出した時の見た目 --- */
.etel{display:flex;flex-direction:column;gap:8px}
.etel textarea{width:100%;min-height:64px;padding:12px 14px;border:0;border-radius:12px;background:var(--tel-bg);color:#fff;font:900 17px/1.45 var(--f);text-align:center;resize:none;
  text-shadow:-1.5px -1.5px 0 #141414,1.5px -1.5px 0 #141414,-1.5px 1.5px 0 #141414,1.5px 1.5px 0 #141414,0 -1.5px 0 #141414,0 1.5px 0 #141414,-1.5px 0 0 #141414,1.5px 0 0 #141414}
.etel textarea:focus{outline:0;box-shadow:inset 0 0 0 2px #8FD400}   /* 暗い面の内側にグリーン＝白地でも黒地でも見える */
.etel.k-tomo_big textarea{font-size:22px;line-height:1.35}
.etel.k-tomo_blue textarea{color:#1E50E6;text-shadow:-1.5px -1.5px 0 #fff,1.5px -1.5px 0 #fff,-1.5px 1.5px 0 #fff,1.5px 1.5px 0 #fff,0 -1.5px 0 #fff,0 1.5px 0 #fff,-1.5px 0 0 #fff,1.5px 0 0 #fff}
.etel.k-tomo_em textarea{color:#FFC21A;text-shadow:-1.5px -1.5px 0 #fff,1.5px -1.5px 0 #fff,-1.5px 1.5px 0 #fff,1.5px 1.5px 0 #fff,0 -1.5px 0 #fff,0 1.5px 0 #fff,-1.5px 0 0 #fff,1.5px 0 0 #fff,0 3px 5px rgba(0,0,0,.6)}

/* 種類（白・青・黄・大）＋消す: 44px */
.ekinds{display:flex;gap:6px;align-items:center}
.ek{min-height:44px;min-width:48px;padding:0 10px;border-radius:999px;border:1px solid var(--line-2);background:var(--surface);color:var(--ink);font-size:13px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.ek::before{content:"";width:12px;height:12px;border-radius:50%;background:var(--c,transparent);box-shadow:0 0 0 1px var(--dot-ring)}
.ek.on{border-color:var(--sel);box-shadow:0 0 0 1px var(--sel) inset;background:var(--accent-soft)}
.ek.del{margin-left:auto;min-width:0;border-color:transparent;background:none;color:var(--sub);padding:0 2px 0 6px;white-space:nowrap;font-size:12px}   /* 「テロップを消す」が2行に折れないように */
.ek.del::before,.etel.gone .ek::before{display:none}
.etel.gone{flex-direction:row;align-items:center;justify-content:space-between;min-height:52px;padding:0 6px 0 14px;border:1.5px dashed var(--line-2);border-radius:12px;font-size:13px;color:var(--sub)}
.etel.gone .ek{min-width:0;border-color:transparent;background:none;color:var(--accent-text)}

/* --- シート: このカットを直す --- */
.eprev{width:120px;height:213px;margin:0 auto;border-radius:12px;background:var(--surface-2) center/cover no-repeat;box-shadow:0 0 0 1px var(--hair) inset;display:grid;place-items:center;color:#fff;font-size:12px;text-align:center;padding:8px}
#es-del:not([disabled]){color:var(--err)}

/* --- シート: 使う絵を選ぶ（0.5秒ごとのコマ） --- */
.epick{display:flex;flex-direction:column;gap:18px;max-height:62vh;overflow-y:auto;margin:0 -16px;padding:0 16px 8px;overscroll-behavior:contain}
.epc b{position:sticky;top:0;z-index:1;display:flex;align-items:baseline;gap:6px;padding:6px 0;background:var(--sheet);font-size:14px;font-weight:800}
.epc b small{font-size:11px;color:var(--sub);font-weight:600}
/* 背景位置は％（app.js 反映済み）＝画面幅いっぱいの4列 */
.epg{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.epf{position:relative;aspect-ratio:9/16;border-radius:8px;background:var(--surface-2) center/cover no-repeat;transition:transform .1s}
.epf:active{transform:scale(.95)}
.epf span{position:absolute;right:4px;bottom:4px;padding:0 4px;border-radius:4px;background:rgba(0,0,0,.62);color:#fff;font-size:10px;font-weight:700;line-height:16px}
.epf.on{box-shadow:0 0 0 3px var(--sel)}
.epf.on::after{content:"いま";position:absolute;left:4px;top:4px;padding:0 5px;border-radius:4px;background:var(--accent);color:var(--on-accent);font-size:10px;font-weight:800;line-height:16px}
/* =====================================================================
   はじめに（型→同意）  2026-10-30 design-reviewer
   app.css 末尾の「2026-10-30 はじめに」ブロックをこの1枚で置き換える（aishot.css 白基調のトークン前提）
   方針:
   - 0本の時は「空の枠3つ」を見せない。完成リールの絵を3枚扇に広げた大きいカード1枚＝押す所が1つで、何を入れるか絵で分かる
   - 同意の箱は1本選んでから出す（最初の画面で規約の文が300px並ぶと入れる気が落ちる）
   - 協力のお願いは同意の箱の「見出し」に格上げ（薄いグリーンの帯）。「学習への同意」は上の小さなラベルへ
   - ボタンは主1つ（グリーン）。「あとで」は文字リンク＝弱く、でも44pxで押せる
   ===================================================================== */

.onb{gap:20px!important;padding-top:20px!important}
.onb .eyebrow{color:var(--sub)}
.onb h1{font-size:24px;font-weight:900;line-height:1.38;letter-spacing:.01em}
.onb .sh .sub{margin-top:8px;font-size:14px;line-height:1.7}

/* --- 0本の時: 大きい選択カード（お手本の完成リール3枚を扇に） --- */
.onb-pick{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;padding:22px 16px 18px;border-radius:var(--r-hero);background:var(--surface-2);cursor:pointer;text-align:center;transition:transform .12s}
.onb-pick:active{transform:scale(.985)}
.onb-fan{position:relative;width:220px;height:172px}
.onb-fan img{position:absolute;top:8px;left:50%;width:92px;height:164px;object-fit:cover;border-radius:12px;box-shadow:0 0 0 3px #fff,0 8px 20px rgba(0,0,0,.18)}
.onb-fan img:nth-child(1){transform:translateX(-118%) rotate(-9deg);transform-origin:bottom center}
.onb-fan img:nth-child(3){transform:translateX(18%) rotate(9deg);transform-origin:bottom center}
.onb-fan img:nth-child(2){transform:translateX(-50%) translateY(-6px);z-index:1}
.onb-pick .go{display:inline-flex;align-items:center;gap:8px;height:52px;padding:0 24px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:16px;font-weight:800;box-shadow:var(--glow)}
.onb-pick .go svg{width:22px;height:22px;fill:currentColor}
.onb-pick small{font-size:12px;line-height:1.6;color:var(--sub)}

/* --- 1本以上: 選んだリールの枠（styleSlots） --- */
.onb .st-slots{gap:8px}
.onb .slot.add{background:var(--surface);border-style:dashed}

/* おすすめの1行 */
.onb-tip{display:flex;gap:8px;align-items:flex-start;margin:-6px 0 0;font-size:12.5px;line-height:1.6;color:var(--sub)}
.onb-tip b{flex:none;height:20px;padding:0 7px;border-radius:5px;background:var(--accent);color:#0A0A0A;font-size:11px;font-weight:800;line-height:20px}

/* --- 同意の箱（作る時の確認シートと共通） --- */
.consent .cs-h{order:-2;font-size:11px;font-weight:800;letter-spacing:.06em;color:var(--sub)}
.consent .cs-h small{margin-left:0;font-weight:700;color:var(--mute)}
.consent .cs-ask{order:-1;margin:0 0 4px;padding:12px 14px;border-radius:12px;background:var(--accent-soft);font-size:13.5px;font-weight:500;line-height:1.7;color:var(--ink)}
.consent .cs-ask b{display:block;margin-bottom:2px;font-size:16px;font-weight:900}
.consent .cs-pts li{font-size:12px;color:var(--sub)}
.consent .cs-pts li b{color:var(--ink)}

/* --- ボタン --- */
.onb #st-go{margin-top:2px}
.onb-skip{align-self:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:52px;padding:4px 12px;font-size:13px;font-weight:700;color:var(--sub)}
.onb-skip .u{text-decoration:underline;text-decoration-color:var(--line-2);text-underline-offset:4px}
.onb-skip small{margin-top:3px;font-size:11px;font-weight:500;color:var(--mute)}
/* =====================================================================
   作る①「作り方」・作る③「テンプレート」  2026-10-30 design-reviewer
   app.css の末尾に足す（aishot.css 白基調のトークン前提）
   - 作り方は一番大きい分かれ道なので、行（optRow）でなく横並び2枚の絵カードにする（CSSだけで変形・app.js の構造はそのまま）
   - テンプレートの小さな見本（.mini 30×52）は CSS で描く。画像にしない理由: 30×52 に実物のリールを縮めると何が違うか見分けられない。
     見本が伝えるべきは「構成の違い」（悩み→解決・8ステップ・早送り）なので、図で描く方が早く分かる
   ===================================================================== */

/* ---------- 作る①: 作り方（2枚の絵カード） ---------- */
.opts[aria-label="作り方"]{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.opts[aria-label="作り方"] .opt{position:relative;flex-direction:column;align-items:flex-start;gap:10px;min-height:0;padding:12px 12px 14px}
.opts[aria-label="作り方"] .opt .mini{zoom:1.5;border-radius:6px}
.opts[aria-label="作り方"] .opt .ot{gap:3px}
.opts[aria-label="作り方"] .opt b{font-size:16px}
.opts[aria-label="作り方"] .opt small{font-size:11.5px;line-height:1.5}
.opts[aria-label="作り方"] .opt .cb{position:absolute;top:10px;right:10px}

/* トーク（顔出しで話す）: 顔＋肩＋グリーンの吹き出し */
.mini.talk i:nth-child(1),.mini.m-talk i:nth-child(1){display:block;left:9px;top:13px;width:12px;height:12px;border-radius:50%;background:#C9A58C}
.mini.talk i:nth-child(2),.mini.m-talk i:nth-child(2){display:block;left:5px;right:5px;top:28px;height:28px;border-radius:10px 10px 0 0;background:#B98E74}
.mini.talk i:nth-child(3),.mini.m-talk i:nth-child(3){display:block;right:2px;top:5px;width:12px;height:8px;border-radius:4px 4px 4px 1px;background:var(--accent);box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.mini.m-afureco i:nth-child(1){left:6px;right:6px;top:8px;height:4px;border-radius:2px;background:#fff;box-shadow:0 0 0 1px var(--hair)}
.mini.m-afureco i:nth-child(2){left:8px;right:8px;top:20px;height:18px;border-radius:4px;background:var(--accent)}
.mini.m-afureco i:nth-child(3){display:none}

/* ---------- 作る③: テンプレートの見本 ---------- */
/* おまかせ: AIのきらめき（ロゴの星と同じ形） */
.mini.t-auto i:nth-child(1){left:6px;top:15px;width:18px;height:18px;background:var(--accent);clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}
.mini.t-auto i:nth-child(2){left:19px;top:33px;width:8px;height:8px;background:var(--accent);clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}
.mini.t-auto i:nth-child(3){display:none}

/* 王道アフレコ: 白いテロップ＋商品（いつものと同じ絵） */
.mini.t-tomo i:nth-child(1){left:6px;right:6px;top:8px;height:4px;border-radius:2px;background:#fff;box-shadow:0 0 0 1px var(--hair)}
.mini.t-tomo i:nth-child(2){left:8px;right:8px;top:20px;height:18px;border-radius:4px;background:var(--accent)}
.mini.t-tomo i:nth-child(3){left:11px;right:11px;bottom:6px;height:3px;border-radius:2px;background:#0A0A0A;opacity:.5}

/* 悩み→解決: 上に青いテロップ（悩み）→ 下向き → グリーン（解決） */
.mini.t-yun i:nth-child(1){left:5px;right:5px;top:7px;height:10px;border-radius:3px;background:#1E50E6;box-shadow:0 0 0 1.5px #fff}
.mini.t-yun i:nth-child(2){left:12px;top:21px;width:6px;height:6px;border-right:2px solid #0A0A0A;border-bottom:2px solid #0A0A0A;transform:rotate(45deg)}
.mini.t-yun i:nth-child(3){left:5px;right:5px;top:32px;height:14px;border-radius:3px;background:var(--accent)}

/* レシピ8ステップ: 番号（グリーン）＋行が8本 */
.mini.t-miyuyu i:nth-child(1){left:5px;top:6px;width:4px;height:39px;background:repeating-linear-gradient(180deg,var(--accent) 0 3px,transparent 3px 5px)}
.mini.t-miyuyu i:nth-child(2){left:11px;right:5px;top:6px;height:39px;background:repeating-linear-gradient(180deg,#fff 0 3px,transparent 3px 5px);filter:drop-shadow(0 0 .5px rgba(0,0,0,.25))}
.mini.t-miyuyu i:nth-child(3){display:none}

/* 速さで魅せる収納: 箱（収納）＋左に流れる線＋早送りの » */
.mini.t-shii i:nth-child(1){left:3px;top:20px;width:9px;height:14px;background:repeating-linear-gradient(180deg,var(--accent) 0 2px,transparent 2px 4px)}
.mini.t-shii i:nth-child(2){left:13px;top:18px;width:14px;height:18px;border-radius:3px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.12)}
.mini.t-shii i:nth-child(3){left:8px;top:6px;width:14px;height:8px;background:
  linear-gradient(45deg,transparent 45%,#0A0A0A 45% 60%,transparent 60%) 0 0/7px 4px no-repeat,
  linear-gradient(-45deg,transparent 45%,#0A0A0A 45% 60%,transparent 60%) 0 4px/7px 4px no-repeat,
  linear-gradient(45deg,transparent 45%,#0A0A0A 45% 60%,transparent 60%) 7px 0/7px 4px no-repeat,
  linear-gradient(-45deg,transparent 45%,#0A0A0A 45% 60%,transparent 60%) 7px 4px/7px 4px no-repeat}

/* ジャンルに合うテンプレートに「おすすめ」札（app.js で .opt に .rec-tpl を付けた時） */
.opt.rec-tpl .ot b::after{content:"おすすめ";display:inline-block;margin-left:8px;padding:0 6px;border-radius:5px;background:var(--accent);color:#0A0A0A;font-size:10.5px;font-weight:800;line-height:18px;vertical-align:2px}
/* =====================================================================
   運営画面  2026-10-30 design-reviewer
   app.css 末尾の「2026-10-30 運営」ブロックをこの1枚で置き換える（aishot.css 白基調のトークン前提）
   方針:
   - 止まったものが一番に目に入る: 止まりがある時は概要の「止まった」カードを先頭・横いっぱい・赤地に。作品の行は止まり＝左に赤い帯
   - ページ内の見出し（ADMIN／運営）はヘッダーと重複なので隠す（説明の1行だけ残す）
   - 切り替え（概要／作品／利用者）は上に固定
   - PC（900px以上）は運営画面だけ横に広げて、カード4列・一覧2列
   ===================================================================== */

/* 見出しの重複を消す（ヘッダーに「運営 ADMIN」がある） */
.adm>.sh .eyebrow,.adm>.sh h1{display:none}
.adm>.sh .sub{font-size:12px;color:var(--mute)}
.adm{gap:14px!important}

/* 切り替え（上に固定） */
.adm-seg{position:sticky;top:-12px;z-index:3;display:flex;gap:4px;padding:4px;border-radius:12px;background:var(--surface-2);box-shadow:0 0 0 6px var(--bg)}
.adm-seg button{flex:1;min-height:40px;border-radius:9px;font-size:14px;font-weight:800;color:var(--sub)}
.adm-seg button.on{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.12)}

/* --- 概要のカード --- */
.adm-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.adm-card{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--sh-card)}
.adm-card small{font-size:12px;font-weight:700;color:var(--sub)}
.adm-card b{font-size:28px;font-weight:900;line-height:1.15;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.adm-card span{font-size:11.5px;line-height:1.5;color:var(--sub)}
/* 止まりがある時: 先頭・横いっぱい・赤地 */
.adm-card.warn{order:-1;grid-column:1/-1;flex-direction:row;align-items:center;gap:12px;border-color:var(--err);background:var(--err-soft)}
.adm-card.warn small,.adm-card.warn b{color:var(--err)}
.adm-card.warn b{order:-1;font-size:32px}
.adm-card.warn span{margin-left:auto;text-align:right;color:var(--ink)}
/* 止まりカードが抜けた残り3枚: 3枚目（費用）を横いっぱいに */
.adm-cards:has(.warn) .adm-card:nth-child(3){grid-column:1/-1}

/* --- 作品の絞り込み札（1行・折り返さない・横スクロール） --- */
.adm-filter{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px;padding:2px 16px;scrollbar-width:none}
.adm-filter::-webkit-scrollbar{display:none}
.adm-filter .chip{flex:none;white-space:nowrap;min-height:40px;padding:0 13px;font-size:13px}
.adm-filter .chip[data-admst="failed"]:not(.on){color:var(--err);border-color:#F3C4BF}

/* --- 作品の行 --- */
.adm-list{display:flex;flex-direction:column;gap:6px}
.adm-row{position:relative;display:flex;align-items:flex-start;gap:10px;width:100%;text-align:left;padding:12px 12px 12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden}
.adm-row::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:transparent}
.adm-st{flex:none;min-width:60px;height:22px;padding:0 6px;border-radius:6px;font-size:11px;font-weight:800;line-height:22px;text-align:center;background:var(--surface-2);color:var(--sub)}
.adm-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.adm-main b{font-size:14px;font-weight:800;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.adm-main small{font-size:11.5px;color:var(--sub);line-height:1.5}
/* 状態ごと */
.st-failed{border-color:#F3C4BF;background:#FFFBFA}
.st-failed::before{background:var(--err)}
.st-failed .adm-st{background:var(--err);color:#fff}
.st-running::before,.st-queued::before{background:var(--accent)}
.st-running .adm-st{background:var(--accent);color:#0A0A0A}
.st-queued .adm-st{background:var(--accent-soft);color:#0A0A0A}
.st-done .adm-st{background:var(--surface-2);color:var(--sub)}
/* エラーの中身（最後の2行） */
.adm-err{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px;padding:6px 8px;border-radius:6px;background:var(--err-soft);font:500 10.5px/1.5 ui-monospace,"SF Mono",Menlo,monospace;color:var(--err);white-space:pre-wrap;word-break:break-all}
/* やり直す（費用がかかる＝主ボタンにしない。白地に線） */
.adm-retry{flex:none;align-self:center;display:inline-flex;align-items:center;height:36px;padding:0 12px;border-radius:999px;border:1px solid var(--line-2);background:#fff;color:var(--ink);font-size:12px;font-weight:800}

/* --- 利用者 --- */
.adm-user{align-items:center}
.adm-user .adm-main b{font-size:15px}
.adm-acts{display:flex;flex-direction:column;gap:6px;flex:none}
.adm-acts .chip{min-height:36px;padding:0 12px;font-size:12px;justify-content:center}

/* --- 下タブ5つ（運営あり）: 玉の左右の余白を詰める --- */
.tabbar[style*="--n: 5"] .orb::before{inset:5px 5px 4px}
.tabbar[style*="--n: 5"] .tab{font-size:9.5px;letter-spacing:0}

/* --- PC: 運営画面だけ広げる --- */
@media (min-width:900px){
  .phone:has(.adm){max-width:1040px}
  .adm-cards{grid-template-columns:repeat(4,1fr)}
  .adm-card.warn{grid-column:auto;flex-direction:column;align-items:flex-start;gap:2px}   /* PCでも先頭（order:-1 のまま） */
  .adm-cards:has(.warn) .adm-card:nth-child(3){grid-column:auto}
  .adm-card.warn b{order:0}
  .adm-card.warn span{margin-left:0;text-align:left}
  .adm-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .adm-filter{margin:0;padding:2px 0}
}
/* =====================================================================
   作る③ ジャンル7つ・文字の色  2026-10-30 design-reviewer
   app.css 末尾の「2026-10-30 文字の色」ブロックをこの1枚で置き換える（aishot.css 白基調のトークン前提）
   - ジャンル7つ: 3列だと 3・3・1 で1枚だけ取り残される → 4列（4・3）にして1画面に収める
   - 文字の色: 8色を 4×2 のタイルに（チップの折り返しで長さがバラバラ・「白抜き・ピンク」だけ長いのをやめる）
     見本の「あ」は中間グレーの地に置く＝白文字＋黒フチ と 黒文字＋白フチ の両方がそのまま見える
   - 白抜きのプレビュー: 帯を文字の幅に縮める（.tel の左右いっぱいに広がっていた）。角丸＝文字の0.22倍・左右＝0.42倍（telop.py の実測と同じ）
   ===================================================================== */

/* --- ジャンル: 7つの時は4列 --- */
.grid3:has(> .gtile:nth-child(7)){grid-template-columns:repeat(4,1fr);gap:6px}
.grid3:has(> .gtile:nth-child(7)) .gtile .media{aspect-ratio:4/5;border-radius:10px}
.grid3:has(> .gtile:nth-child(7)) .gtile .cap{left:7px;right:6px;bottom:7px}
.grid3:has(> .gtile:nth-child(7)) .gtile .cap b{font-size:12px;white-space:nowrap}
.grid3:has(> .gtile:nth-child(7)) .gtile .check{top:5px;right:5px;width:20px;height:20px}
.grid3:has(> .gtile:nth-child(7)) .gtile .check svg{width:13px;height:13px}
.grid3:has(> .gtile:nth-child(7)) .icon-tile.gi svg{width:34px;height:34px;margin-bottom:22%}
/* 写真の無いジャンル（ディズニー・ビジネス）: グリーンの面に黒い暗幕が乗って濁る → 暗幕を外して黒文字 */
.gtile .media:has(.icon-tile) .scrim{display:none}
.gtile .media:has(.icon-tile) .cap{color:#0A0A0A;text-shadow:none}

/* --- 文字の色: 4×2 のタイル --- */
.chips.colors{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.chips.colors .chip{flex-direction:column;justify-content:center;gap:6px;min-height:84px;padding:10px 4px 8px;border-radius:14px;font-size:11.5px;font-weight:700;line-height:1.25;text-align:center;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
.chips.colors .chip.on{box-shadow:0 0 0 1.5px var(--sel) inset}
/* 見本の「あ」: 中間グレーの地＝白文字黒フチも黒文字白フチも読める */
.csw{display:grid;place-items:center;width:38px;height:38px;margin:0;border-radius:9px;background:linear-gradient(140deg,#A3A3A8,#6A6A70);
  font:900 19px/1 "Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;color:var(--f);
  -webkit-text-stroke:3px var(--s);paint-order:stroke fill}
/* 白抜き: 色の面に白文字（フチなし）＝書き出しの帯と同じ見え方 */
.csw.bx{-webkit-text-stroke:0;background:var(--b)}

/* --- 見本プレビュー: 白抜き＝文字の幅の帯 --- */
.pv.tbox .tel{left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:88%;
  padding:.1em .42em;border-radius:.22em;background:var(--tbx);color:#fff;
  -webkit-text-stroke:0!important;text-shadow:none!important}
.pv.tbox .tel em{color:#fff!important;font-size:1em;text-shadow:none!important;-webkit-text-stroke:0!important}
/* app.js で行ごとに <span class="ln"> で包んだ時（書き出しと同じ「行ごとの帯」） */
.pv.tbox .tel:has(.ln){background:none;padding:0}
.pv.tbox .tel .ln{display:table;margin:0 auto;padding:.06em .42em;border-radius:.22em;background:var(--tbx)}
.pv.tbox .tel .ln+.ln{margin-top:-.08em}
/* =====================================================================
   冒頭5パターン（トライアルリール用）  2026-10-30 design-reviewer
   app.css 末尾の「2026-10-30 冒頭5パターン」ブロックをこの1枚で置き換える（aishot.css 白基調のトークン前提）
   - ホームの入口: 主ボタン（新しく作る・グリーンの面）より弱く、通知の帯（薄いグリーン）とも違う「白いカード＋5本の縦長の絵」
     右上に「トライアルリール用」の札＝何に使うかを先に言う
   - 作る画面: 「冒頭だけ違う＋本編は同じ」を図（5行のタイムライン）で見せる
   - 結果: 一番上に5本を横に並べた比べる帯（タップでその1本へ）→ 下に1本ずつの詳しい行
   ===================================================================== */

/* ---------- ホームの入口 ---------- */
.hk-entry{position:relative;display:flex;align-items:center;gap:14px;width:100%;min-height:76px;padding:12px 14px;border:1px solid var(--line-2);border-radius:var(--r-card);background:var(--surface);box-shadow:var(--sh-card);text-align:left;transition:transform .1s}
.hk-entry:active{transform:scale(.99)}
/* 「5」の代わりに、冒頭だけ色が違う縦長5本（app.js が .hk-i の中を <i>×5 にした時）。<i> が無ければ今の「5」の四角のまま */
.hk-entry .hk-i{flex:none;width:44px;height:44px;border-radius:11px;display:grid;place-items:center;background:var(--accent);color:#0A0A0A;font-weight:900;font-size:20px}
.hk-entry .hk-i:has(i){display:flex;gap:2px;align-items:stretch;justify-content:center;width:52px;height:46px;padding:0;background:none}
.hk-entry .hk-i i{width:8px;border-radius:2px;background:linear-gradient(var(--accent) 0 30%,#0A0A0A 30% 32%,var(--surface-3) 32%)}
.hk-entry .pt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.hk-entry .pt b{font-size:15px;font-weight:800;line-height:1.35}
.hk-entry .pt small{font-size:12px;line-height:1.5;color:var(--sub)}
.hk-entry .pt .tag{align-self:flex-start;height:18px;margin-bottom:2px;padding:0 6px;border-radius:5px;background:#0A0A0A;color:#fff;font-size:10px;font-weight:800;line-height:18px;letter-spacing:.02em}
.hk-entry svg.cv{width:20px;height:20px;fill:var(--mute);flex:none}

/* ---------- 作る画面（#/hook） ---------- */
.hk .sh .eyebrow{color:var(--sub)}
.hk-pv{display:block;width:100%;max-height:36vh;border-radius:12px;background:#000;object-fit:contain}
.hk textarea{width:100%;min-height:72px}
/* 「冒頭だけ違う・本編は同じ」の図（app.js で .hk-dia を足した時） */
.hk-dia{display:flex;flex-direction:column;gap:5px;padding:12px;border-radius:14px;background:var(--surface-2)}
.hk-dia .r{display:grid;grid-template-columns:22px 104px 1fr;align-items:center;gap:6px;height:26px}
.hk-dia .r i{width:22px;height:22px;border-radius:50%;background:#0A0A0A;color:#fff;font:800 11px/22px var(--f);text-align:center;font-style:normal}
.hk-dia .r span{height:26px;padding:0 8px;border-radius:6px;background:var(--accent);color:#0A0A0A;font-size:11.5px;font-weight:800;line-height:26px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hk-dia .r em{height:26px;border-radius:6px;background:#fff;box-shadow:0 0 0 1px var(--line) inset;color:var(--mute);font-size:11px;font-weight:700;font-style:normal;line-height:26px;padding-left:10px}
.hk-dia .r+.r em{color:transparent}   /* 「本編」の字は1行目だけ＝同じものが続くと分かる */

/* ---------- 結果: 比べる帯（5本を横に） ---------- */
.hk-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.hk-strip a,.hk-strip button{position:relative;display:block;aspect-ratio:9/16;border-radius:9px;overflow:hidden;background:#000 center/cover no-repeat}
.hk-strip img{width:100%;height:100%;object-fit:cover}
.hk-strip .n{position:absolute;left:4px;top:4px;width:20px;height:20px;border-radius:50%;background:var(--accent);color:#0A0A0A;font-size:11px;font-weight:900;line-height:20px;text-align:center;box-shadow:0 0 0 1.5px #fff}
.hk-strip .ty{position:absolute;left:0;right:0;bottom:0;padding:14px 3px 4px;background:linear-gradient(transparent,rgba(0,0,0,.72));color:#fff;font-size:9.5px;font-weight:800;line-height:1.25;text-align:center}

/* ---------- 結果: 1本ずつの行 ---------- */
.hk-list{display:flex;flex-direction:column;gap:10px}
.hk-item{display:flex;gap:12px;padding:10px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface);scroll-margin-top:12px}
.hk-item video{flex:none;width:112px;height:199px;border-radius:10px;background:#000;object-fit:cover}
.hk-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
/* 「1・結果を先に見せる」→ 番号の丸＋種類の札 */
.hk-tx .eyebrow{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;height:24px;padding:0 9px 0 3px;border-radius:999px;background:var(--surface-2);color:var(--ink);font-size:11.5px;font-weight:800;letter-spacing:0}
.hk-tx .eyebrow .n{width:18px;height:18px;border-radius:50%;background:var(--accent);color:#0A0A0A;font-size:10.5px;font-weight:900;line-height:18px;text-align:center}
.hk-tx b{font-size:16px;font-weight:900;line-height:1.4}
.hk-tx small{font-size:12px;color:var(--sub);line-height:1.6}
.hk-tx .btn{margin-top:auto;min-height:44px;font-size:14px}
/* 2026-10-30 テロップの位置（見本プレビュー） */
.pv.pos-top .tel{top:16%}
.pv.pos-middle .tel{top:44%}
.pv.pos-bottom .tel{top:66%}
/* =====================================================================
   冒頭5パターン テロップの手直し  2026-10-30 design-reviewer
   app.css 末尾の「2026-10-30 冒頭5パターンの手直し（仮）」ブロック（.hk-ed / .hk-edbtn / .hk-redo）をこの1枚で置き換える
   前提: aishot.css（白基調）のトークン・hook5.css
   - 直している1本 = 黒の2px枠（.hk-item.is-ed）／直した1本 = 黒地に蛍光グリーンの「直した」札＋比べる帯にも印
   - 入力欄そのものを「書き出し後の帯（#121214 に白文字・中央）」の見た目にする＝打った通りに焼かれると分かる
   - 高さは 上・真ん中・下 を縦長の小さな画面の図つきで選ぶ（文字だけの丸チップは使わない）
   - 作り直すバーは下タブの真上に横幅いっぱいで固定（今は左右16pxと下24pxから下の画面が透けている）
   ===================================================================== */

/* ---------- 1本ずつの行: 直している/直した印 ---------- */
.hk-item{flex-wrap:wrap}                                   /* 手直し欄を行の下に全幅で出すため */
.hk-item.is-ed{border:2px solid var(--ink);padding:9px}    /* 枠が1px→2pxになっても中身が動かないよう padding を1px減らす */
.hk-item.is-ed .hk-tx > b{display:none}                   /* 同じ文が見出しと入力欄に2回出るのをやめる（理由の一文は残す＝右列が空かない） */
.hk-tx .eyebrow .done{display:none}
.hk-item.is-done .hk-tx .eyebrow .done{display:inline-block;height:18px;margin-left:2px;padding:0 6px;border-radius:5px;background:var(--ink);color:var(--accent);font-size:10px;font-weight:800;line-height:18px}

/* 「テロップを直す」: 保存と同じ強さ・当たりは44px（今の40pxは指の基準割れ） */
.hk-edbtn{min-height:44px;font-size:14px}
.hk-edbtn svg{width:18px;height:18px}

/* 比べる帯: 直した1本に印（右上の黒丸にグリーンの鉛筆） */
.hk-strip a.is-done{box-shadow:0 0 0 2px var(--ink)}
.hk-strip a.is-done::after{content:"";position:absolute;right:4px;top:4px;width:20px;height:20px;border-radius:50%;
  background:var(--ink) center/12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%238FD400' d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/%3E%3C/svg%3E");
  box-shadow:0 0 0 1.5px #fff}

/* ---------- 手直し欄（行の下に全幅） ---------- */
.hk-ed{flex:1 0 100%;display:flex;flex-direction:column;gap:10px;margin-top:2px;padding-top:12px;border-top:1px solid var(--line)}
.hk-ed .hd{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.hk-ed .hd b{font-size:13px;font-weight:800}
.hk-ed .cnt{font-size:11.5px;font-weight:700;color:var(--mute);font-variant-numeric:tabular-nums}
.hk-ed .cnt.over{color:var(--warn)}
/* 入力欄＝書き出し後の帯と同じ見た目（#121214・白・中央・太字） */
.hk-ed textarea{display:block;width:100%;min-height:0;height:auto;padding:14px 16px;border:0;border-radius:10px;
  background:#121214;color:#fff;caret-color:var(--accent);
  font:900 20px/1.4 var(--f);letter-spacing:.02em;text-align:center;resize:none;outline:none}
.hk-ed textarea:focus{box-shadow:0 0 0 3px var(--accent)}  /* グリーンは黒い面のふち＝白地の細線にはしない */
.hk-ed .note{margin:-4px 0 0;font-size:11.5px;line-height:1.5;color:var(--sub)}
.hk-ed .note.over{color:var(--warn);font-weight:700}

/* 高さ: 縦長の小さな画面の図＋文字。3等分 */
.hk-pos{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.hk-pos button{display:flex;align-items:center;justify-content:center;gap:8px;height:52px;border:1px solid var(--line-2);border-radius:12px;background:var(--surface);color:var(--ink);font-size:13px;font-weight:800}
.hk-pos button i{position:relative;flex:none;width:18px;height:32px;border-radius:4px;background:var(--surface-3)}
.hk-pos button i::after{content:"";position:absolute;left:2px;right:2px;height:6px;border-radius:1.5px;background:#121214}
.hk-pos [data-hkpos$=":top"] i::after{top:5px}           /* 0.22 */
.hk-pos [data-hkpos$=":middle"] i::after{top:12px}       /* 0.45 */
.hk-pos [data-hkpos$=":bottom"] i::after{top:20px}       /* 0.70 */
.hk-pos button.on{border:2px solid var(--ink);background:var(--accent)}
.hk-pos button.on i{background:#fff}

/* やめる（この1本の手直しを取り消す）: 右寄せの文字ボタン・当たり44px */
.hk-ed .ft{display:flex;justify-content:flex-end;margin:-6px -4px -6px 0}
.hk-ed .ft button{min-height:44px;padding:0 8px;background:none;border:0;color:var(--sub);font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* ---------- 作り直すバー（下タブの真上・横幅いっぱい） ---------- */
.hk-redo{position:sticky;bottom:0;z-index:5;display:flex;flex-direction:column;gap:8px;
  margin:0 -16px;padding:10px 16px 12px;background:var(--bg);
  box-shadow:0 -1px 0 var(--line),0 -8px 16px rgba(0,0,0,.06),0 24px 0 var(--bg)}  /* 最後の影＝#app の padding-bottom 78px と下タブ54pxの差24pxを白で埋める */
.hk-redo .row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:22px}
.hk-redo .row b{display:flex;align-items:center;gap:4px;font-size:13px;font-weight:800}
.hk-redo .row b .n{width:20px;height:20px;border-radius:50%;background:var(--ink);color:var(--accent);font-size:11px;font-weight:900;line-height:20px;text-align:center}
.hk-redo .row small{font-size:11.5px;color:var(--sub);white-space:nowrap}
.hk-redo .btn{min-height:52px;font-size:16px;font-weight:900}
.hk-redo .btn[disabled]{opacity:.45}

/* ---------- 作る画面: テロップなし版の入れ口（本編の下にぶら下げる・主役にしない） ---------- */
.hk-nt{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;margin-top:-8px;padding:10px 12px;border-radius:12px;background:var(--surface-2);text-align:left;cursor:pointer}
.hk-nt .ic{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--surface);box-shadow:0 0 0 1px var(--line-2) inset;color:var(--ink)}
.hk-nt .ic svg{width:18px;height:18px;fill:currentColor}
.hk-nt .pt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.hk-nt .pt b{font-size:14px;font-weight:800;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hk-nt .pt small{font-size:12px;line-height:1.55;color:var(--sub)}
.hk-nt.on{background:var(--surface);box-shadow:0 0 0 2px var(--ink) inset}
.hk-nt.on .ic{background:var(--accent);box-shadow:none}
.hk-nt .rm{flex:none;min-height:44px;padding:0 6px;background:none;border:0;color:var(--sub);font-size:12.5px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.hk-nt-help{margin:-6px 0 0;padding-left:2px;font-size:11.5px;line-height:1.55;color:var(--mute)}
/* 2026-10-30 言い間違いチェック（仮・デザイン担当の確認前） */
.ms h3{font-size:16px;margin:2px 0}
.ms-list{margin:4px 0 0;padding-left:18px;font-size:13px;color:var(--sub);line-height:1.6}
.ms-left{margin-top:8px;padding:10px 12px;border-radius:12px;background:var(--warn-soft,#fff4e0)}
.ms-left b{font-size:13px}.ms-left ul{margin:6px 0;padding-left:18px;font-size:13px;line-height:1.6}
.ms-left .tabular{font-weight:800;margin-right:6px}
.ms-ok{color:var(--sub)}

/* ---------- 冒頭5パターン: 絵と声の手直し（2026-10-30 たいが「冒頭もテロップも声も変えられるようにできる？」・design-reviewer 添削反映）----------
   絵＝手直し画面と同じ .eshots/.eshot（本編のコマ一覧から選ぶ）／声＝高さ選びと同じ52pxのボタン列。外す/戻す は見出し右の下線文字（やめる と同じ三次ボタン） */
.hk-ed .hd:not(:first-child){margin-top:10px}            /* 群の間 20px ＞ 群の中 10px（近接） */
.hk-shots.eshots::after{content:"タップで\A別の絵に";}
.hk-shots:has(.eshot[disabled])::after{display:none}      /* 一覧が無い時は「押せ」と言わない */
.hk-shots .eshot[disabled]{color:var(--mute);background:var(--surface-2);box-shadow:0 0 0 1px var(--line-2) inset;cursor:default}
.hk-shots .eshot[disabled] .n{background:var(--surface-3);color:var(--sub)}
.hk-shots .eshot[disabled] small{color:var(--mute);text-shadow:none;font-size:11px}
.hk-shots+.note{margin-top:-2px;text-align:left}
.hk-shots .eshot.gone{gap:6px;font-size:12px;font-weight:800;color:var(--ink)}   /* 「足す」＝空きスロット（＋の丸）。消した・戻す と見分ける */
.hk-shots .eshot.gone::before{content:"+";width:28px;height:28px;border-radius:50%;background:var(--surface-2);color:var(--ink);font:500 20px/28px var(--f);text-align:center}
.hk-shots .eshot.gone small{font-size:10px;color:var(--mute);text-decoration:none}
.hk-vo{display:flex;flex-direction:column;gap:10px}
.hk-vo .st{margin:0;font-size:12px;line-height:1.5;color:var(--sub)}
.hk-vo audio{display:block;width:100%;height:44px}
.hk-vo .r{display:flex;flex-wrap:wrap;gap:8px}
.hk-vo .vb{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:1 1 0;min-width:120px;height:52px;padding:0 12px;border:1px solid var(--line-2);border-radius:12px;background:var(--surface);color:var(--ink);font-size:13px;font-weight:800;cursor:pointer}
.hk-vo .vb svg{width:18px;height:18px;fill:currentColor}
.hk-ed .hd .vb.ghost{flex:none;height:auto;min-height:24px;margin:-2px 0;padding:0 2px;border:0;background:none;color:var(--sub);font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.hk-vo .vb:has(.tabular){background:var(--ink);color:#fff;border-color:var(--ink)}   /* 録音中: 黒の面・停止の四角だけグリーンで点滅 */
.hk-vo .vb:has(.tabular) svg{fill:var(--accent);animation:hkrec 1s ease-in-out infinite}
.hk-vo .vb:has(.tabular) .tabular{font-variant-numeric:tabular-nums;min-width:2.6em;text-align:left}
.hk-vo .r:has(.tabular) label.vb{opacity:.45;pointer-events:none}
@keyframes hkrec{50%{opacity:.3}}
#hks-del{color:var(--err)}                                /* 絵を選ぶシートの「消す」は赤（手直し画面と同じ） */

/* 2026-11-01 iOS Safari 対策: file input を display:none（hidden属性）で隠すとタップでピッカーが開かないことがある。画面外に置く */
.vhf{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;border:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;opacity:0.01}

/* 2026-11-02 ともさんの要望3つ（design-reviewer の方針） */
.grid3.g9{grid-template-columns:repeat(3,1fr)!important;gap:8px!important}
.grid3.g9 .gtile .media{aspect-ratio:1/1!important;border-radius:14px!important;background:var(--surface-2,#F3F3F0)}
/* ジャンルの絵: 写真でなく同じ絵柄のイラスト9枚（透明PNG）。地は --surface-2・絵は64px・暗幕なし・黒い字（2026-11-02 design-reviewer 指定） */
.grid3.g9 .gtile .media>img{position:absolute;left:50%;top:6px;width:72px;height:72px;object-fit:contain;transform:translateX(-50%)}  /* PNG内側に透明余白があるので72px指定で実効約56px（design-reviewer 2026-11-02） */
.grid3.g9 .gtile .media .scrim{display:none}
.grid3.g9 .gtile .media .cap{left:4px;right:4px;bottom:8px;color:var(--ink,#0A0A0A);text-shadow:none;text-align:center}
.grid3.g9 .gtile .media .cap b{font-size:13px;font-weight:800;white-space:nowrap;letter-spacing:0}  /* 7つ用の :has 規則（12px）より詳細度を上げて勝たせる */
.grid3.g9 .gtile .media .check{top:6px;right:6px;width:22px;height:22px}.grid3.g9 .gtile .media .check svg{width:14px;height:14px}
.grid3.g9 .icon-tile.gi svg{width:44px;height:44px;margin-bottom:24%}
:root[data-theme="dark"] .grid3.g9 .gtile .media{background:#F2EFE8}  /* 絵の黒い部分（フライパン等）が沈まないよう、暗い配色でも絵の地だけ明るいまま */
.orow{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;margin-top:8px;padding:0 14px;border:1.5px dashed var(--line-2,#D6D6DA);border-radius:14px;background:var(--card,#fff);font-size:14px;font-weight:700;color:var(--ink);text-align:left}
.orow svg{width:20px;height:20px;fill:var(--sub);flex:none}.orow span{flex:1}.orow .ck{display:none;width:18px;height:18px;fill:var(--ink)}
.orow.sel{border-style:solid;border-color:var(--ink);box-shadow:0 0 0 1px var(--ink) inset}.orow.sel .ck{display:block}
.orow+.field{margin-top:8px;width:100%;height:52px;padding:0 14px;font-size:16px;border:1px solid var(--line-2,#D6D6DA);border-radius:12px;background:var(--surface-2,#F6F6F7)}
.tplrow{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:56px;padding:0 14px;border-radius:14px;background:var(--surface-2,#F6F6F7);font-size:14px;font-weight:700;color:var(--ink)}
.tplrow b{display:flex;align-items:center;gap:4px;font-weight:600;color:var(--sub);font-size:13px}.tplrow b svg{width:16px;height:16px;fill:var(--sub)}
.clab{font-size:12px;font-weight:700;color:var(--sub);margin:12px 0 6px}.clab:first-of-type{margin-top:4px}
.swr{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
.swb{display:grid;place-items:center;height:48px;border-radius:12px;background:transparent}
.swb .sw{width:36px;height:36px;border-radius:50%;background:var(--c);box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
.swb.on{box-shadow:0 0 0 2px #0A0A0A;background:var(--card,#fff)}
.shr{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.shb{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:80px;border-radius:14px;background:var(--card,#fff);border:1px solid var(--line-2,#E6E6EA);font-size:11.5px;font-weight:700;color:var(--ink)}
.shb.on{box-shadow:0 0 0 1.5px #0A0A0A inset;background:var(--accent-soft,#F1FFC2)}
.csw.sh{color:var(--f);-webkit-text-stroke:0;text-shadow:var(--sh);font-size:19px;font-weight:900}
.csw.sh.bx{background:var(--b);color:var(--f);border-radius:7px}
.seg.seg3{grid-template-columns:1fr 1fr 1fr;height:40px;padding:3px;border-radius:10px;background:var(--surface-2,#F6F6F7)}
.seg.seg3 button{min-height:34px;border-radius:8px;font-size:13px}.seg.seg3 button.on{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.1)}
.seg.seg3.dim{opacity:.4;pointer-events:none}
.pv.st-me .tel,.pv.st-me .tel em{text-shadow:var(--tsh,0 0 4px rgba(0,0,0,.55),0 2px 10px rgba(0,0,0,.5))!important;-webkit-text-stroke:0!important}
.pv.tbox .tel,.pv.tbox .tel em{text-shadow:none!important;color:var(--tc)!important}
.wishwrap{position:relative}.wishwrap textarea{min-height:96px;font-size:16px;border-radius:12px;background:var(--surface-2,#F6F6F7)}
.wishwrap .cnt{position:absolute;right:10px;bottom:8px;font-size:11px;color:var(--mute,#9A9AA0);display:none}.wishwrap .cnt.show{display:block}

.imgrow{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.imgrow img{width:48px;height:48px;object-fit:cover;border-radius:10px;background:var(--surface-2,#F6F6F7);flex:none}
.imgrow .field{flex:1;height:44px;padding:0 12px;font-size:15px;border:1px solid var(--line-2,#D6D6DA);border-radius:10px;background:var(--surface-2,#F6F6F7);min-width:0}
.imgrow .x{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2,#F6F6F7);flex:none}.imgrow .x svg{width:14px;height:14px;fill:var(--sub)}
/* 作り方「テロップだけ」の小さな絵（2026-11-02）: 画面に字幕の帯2本 */
.mini.telop i:nth-child(1){left:8px;right:8px;top:8px;bottom:8px;border-radius:6px;background:var(--accent)}
.mini.telop i:nth-child(2){left:13px;right:13px;bottom:15px;height:5px;border-radius:3px;background:#fff;box-shadow:0 -9px 0 #fff}
.mini.telop i:nth-child(3){display:none}

/* 冒頭の本数と声（2026-11-04） */
.hkn{display:flex;align-items:center;justify-content:center;gap:18px;height:56px;border-radius:14px;background:var(--surface-2,#F6F6F7)}
.hkn .ib{width:44px;height:44px;border-radius:50%;background:#fff;font-size:22px;font-weight:700;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.1)}
.hkn .ib[disabled]{opacity:.35}
.hkn b{min-width:64px;text-align:center;font-size:20px;font-weight:800;color:var(--ink)}
.hkv{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.hkv .n{width:24px;height:24px;border-radius:50%;background:#0A0A0A;color:#fff;font:800 12px/24px var(--f);text-align:center;flex:none}
.hkv audio{flex:1;height:36px;min-width:0}
.hkv .x{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2,#F6F6F7);flex:none}.hkv .x svg{width:14px;height:14px;fill:var(--sub)}
.hkv-add{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hkv-add .btn{min-height:46px;font-size:14px;gap:6px}.hkv-add .btn svg{width:18px;height:18px}
.hk-dia .r.more{display:block;height:auto;padding:2px 0 0 28px;font-size:12px;font-weight:700;color:var(--sub)}

/* LINEログイン（2026-11-13・チャネル設定が入るまで表示されない） */
.login .btn-line{display:flex;align-items:center;justify-content:center;min-height:52px;border-radius:14px;background:#06C755;color:#fff;font-weight:700;text-decoration:none}
.login .btn-line:active{filter:brightness(.92)}
.login .lalt{margin-top:4px}.login .lalt summary{font-size:13px;opacity:.7;padding:8px 0;cursor:pointer}
a.li{text-decoration:none;color:inherit}

/* ---------- 見ながら直す（2026-11-15・設計＝デザイン担当の指示書どおり。新しい色・書体は足していない） ---------- */
.phone:has(.rv) .tabbar{display:none}
.phone:has(.rv) .dock{bottom:0;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
.phone:has(.rv) #app{padding-bottom:calc(var(--padb,92px) + env(safe-area-inset-bottom,0px))}
.rvcur{display:flex;gap:12px;align-items:center;min-height:96px}
.rvcur>div{flex:1;min-width:0}.rvcur p{margin:0}
.rvundo{flex:none;min-height:44px;padding:0 12px;border-radius:22px;border:1px solid var(--line);background:var(--surface);font-size:13px;font-weight:700;white-space:nowrap}
.rvrowp{display:flex;gap:8px;overflow-x:auto;margin:0 -16px;padding:2px 16px;scrollbar-width:none;overscroll-behavior-x:contain}
.rvrowp::-webkit-scrollbar{display:none}
.epf.rvpf{flex:none;width:76px}
.epf.rvpf.on.sel::after{content:"えらび中"}
.epf.rvpf em{position:absolute;left:4px;top:4px;padding:0 5px;border-radius:4px;background:rgba(0,0,0,.62);color:#fff;font-size:10px;font-weight:800;font-style:normal;line-height:16px;white-space:nowrap}
.epf.rvpf em.b{top:auto;bottom:4px}

/* 見ながら直す v2（2026-11-17 ともさん「CapCutのタイムラインみたいな帯・動画の下で書いて残す」／design-reviewer 設計） */
.phone:has(.rv) #app{padding-top:0}
.view.rv{padding-top:0}
.rv .rvm{z-index:3}
.rv .rvstage{position:sticky;top:0;z-index:2;margin:0 -16px;background:#000}
.rv .rvvw{display:flex;justify-content:center;background:#000}
.rv .rvvw video{display:block;height:clamp(208px,calc(100dvh - 452px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)),340px);aspect-ratio:9/16;object-fit:contain;background:#000}
.rv .rvband{position:relative;background:#111111;color:#fff;padding-bottom:4px}
.rv .rvall{position:relative;height:3px;background:rgba(255,255,255,.18)}
.rv .rvall i{position:absolute;left:0;top:0;bottom:0;width:0;background:#fff}
.rv .rvall u{position:absolute;top:0;bottom:0;width:3px;margin-left:-1px;background:#8FD400}
.rv .rvops{display:flex;align-items:center;gap:6px;height:36px;padding:0 12px 0 6px}
.rv .rvpp{flex:none;width:44px;height:44px;margin:-4px 0;display:grid;place-items:center;position:relative}
.rv .rvpp svg{width:24px;height:24px;fill:#fff}
.rv .rvpp span{display:none;width:14px;height:16px;border-left:5px solid #fff;border-right:5px solid #fff;box-sizing:border-box}
.rv .rvpp.playing svg{display:none}.rv .rvpp.playing span{display:block}
.rv .rvtime{font-size:13px;font-weight:700;color:rgba(255,255,255,.55);white-space:nowrap}
.rv .rvtime b{color:#fff;font-weight:700}
.rv .rvcount{margin-left:auto;font-size:12px;font-weight:700;color:rgba(255,255,255,.7);white-space:nowrap}
.rv .rvkbl{display:none;height:28px;padding:0 16px;font-size:12px;font-weight:700;line-height:28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rv .rvtlw{position:relative}
.rv .rvtl{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;cursor:grab;touch-action:pan-x}
.rv .rvtl::-webkit-scrollbar{display:none}
.rv .rvtli{position:relative;height:80px;margin:0 50%;flex:none}
.rv .rvmks{position:absolute;left:0;right:0;top:0;height:14px}
.rv .rvm{position:absolute;top:-5px;width:24px;height:24px;margin-left:-12px;display:grid;place-items:center;z-index:1}
.rv .rvm i{display:block;width:10px;height:10px;transform:rotate(45deg);background:#8FD400;box-shadow:0 0 0 1.5px #111111}
.rv .rvm.on i{transform:rotate(45deg) scale(1.4);box-shadow:0 0 0 2px #fff}
.rv .rvcuts{position:absolute;left:0;right:0;top:14px;height:44px}
.rv .rvc{position:absolute;top:0;height:44px;border-radius:4px;overflow:hidden;background:#2A2A2E;display:flex;padding:0}
.rv .rvc i{flex:none;width:25px;height:44px;background-color:#2A2A2E;background-repeat:no-repeat}
.rv .rvc b{margin:auto;font-size:10px;font-weight:700;color:rgba(255,255,255,.6)}
.rv .rvc::after{content:"";position:absolute;inset:0;border-radius:4px;pointer-events:none}
.rv .rvc.ch::after{box-shadow:0 0 0 2px #8FD400 inset}
.rv .rvc.cur::after{box-shadow:0 0 0 2px #fff inset}
.rv .rvtels{position:absolute;left:0;right:0;top:60px;height:18px}
.rv .rvt{position:absolute;top:0;height:18px;padding:0 5px;border-radius:4px;background:#2A2A2E;color:rgba(255,255,255,.85);font-size:10px;font-weight:600;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}
.rv .rvhead{position:absolute;left:50%;top:0;bottom:0;width:2px;margin-left:-1px;background:#fff;pointer-events:none;z-index:2}
.rv .rvhead::before{content:"";position:absolute;left:-4px;top:0;width:10px;height:6px;border-radius:2px;background:#fff}
.rv .rvcomp{background:var(--bg);padding:8px 16px;border-bottom:1px solid var(--line)}
.rv .rvkinds{display:flex;gap:4px}
.rv .rvk{flex:1 1 auto;height:48px;min-width:0;padding:0 6px;border-radius:10px;background:var(--surface-2,#F3F3F0);display:flex;align-items:center;justify-content:center;gap:4px;font-size:12px;font-weight:700;color:var(--ink,#0A0A0A);white-space:nowrap}
.rv .rvk svg{flex:none;width:20px;height:20px;fill:currentColor}
.rv .rvk.on{background:var(--accent-soft,rgba(143,212,0,.18));box-shadow:0 0 0 1.5px var(--ink,#0A0A0A) inset}
.rv .rvq{display:none;gap:6px;height:32px;margin-top:6px;overflow-x:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 16px),transparent)}
.rv .rvq::-webkit-scrollbar{display:none}
.rv .rvq button{flex:none;height:32px;padding:0 10px;border-radius:16px;border:1px solid var(--line);font-size:12px;font-weight:700;white-space:nowrap;color:var(--ink,#0A0A0A)}
.rv .rvinrow{display:flex;align-items:flex-end;gap:6px;margin-top:6px}
.rv .rvmic{flex:none;width:44px;height:44px;border-radius:50%;background:var(--surface-2,#F3F3F0);display:grid;place-items:center}
.rv .rvmic svg{width:22px;height:22px;fill:var(--ink,#0A0A0A)}
.rv .rvmic.on{background:var(--err);animation:recpulse-ai 1.4s ease-in-out infinite}
.rv .rvmic.on svg{fill:#fff}
.rv #rv-text::placeholder{white-space:nowrap}
.rv #rv-text{flex:1;overflow:hidden;min-width:0;height:44px;min-height:44px;max-height:88px;margin:0;padding:10px 12px;border:0;border-radius:12px;background:var(--surface-2,#F3F3F0);font-size:16px;font-weight:500;line-height:24px;resize:none;box-sizing:border-box;color:var(--ink,#0A0A0A)}
.rv .rvkeep{flex:none;width:68px;height:44px;border-radius:12px;background:#0A0A0A;color:#fff;font-size:15px;font-weight:800;white-space:nowrap}
.rv .rvkeep:disabled{background:#E6E6E2;color:#6E6E73}
:root[data-theme="dark"] .rv .rvkeep{background:#fff;color:#0A0A0A}
:root[data-theme="dark"] .rv .rvkeep:disabled{background:#2A2A2E;color:#8E8E93}
.rv .rvlist{padding-bottom:8px}
.rv .rvlh{display:flex;align-items:center;height:40px}
.rv .rvlh h3{margin:0;font-size:16px;font-weight:800}
.rvth{display:block;flex:none;aspect-ratio:9/16;border-radius:6px;background:var(--surface-2) center/cover no-repeat}
.rv .rvrow{display:grid;grid-template-columns:36px 1fr 44px;column-gap:10px;align-items:center;min-height:68px;padding:10px 0 10px 12px;border-top:1px solid var(--line);box-shadow:3px 0 0 #8FD400 inset}
.rv .rvrow.on{background:var(--accent-soft,rgba(143,212,0,.18));box-shadow:3px 0 0 #8FD400 inset,0 0 0 1px var(--ink,#0A0A0A) inset}
.rv .rvrow .rvth{width:36px;height:48px;aspect-ratio:auto}
.rv .rvrow .c2{min-width:0}
.rv .rvrow .h{display:flex;align-items:center;gap:6px}
.rv .rvrow .h b{font-size:13px;font-weight:800}
.rv .rvrow .h em{display:inline-flex;align-items:center;gap:3px;height:20px;padding:0 6px;border-radius:6px;background:var(--surface-2,#F3F3F0);font-size:11px;font-weight:700;font-style:normal;white-space:nowrap;color:var(--ink,#0A0A0A)}
.rv .rvrow.on .h em{background:var(--bg)}
.rv .rvrow .h em svg{width:12px;height:12px;fill:currentColor}
.rv .rvrow p{margin:4px 0 0;font-size:14px;font-weight:500;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.rv .rvrow .ib{width:44px;height:44px;display:grid;place-items:center}
.rv .rvrow .ib svg{width:18px;height:18px;fill:#6E6E73}
.rv .rvempty{padding:24px 0;text-align:center}
.rv .rvempty b{display:block;font-size:14px;font-weight:800}
.rvword{display:block;width:100%;min-height:44px;margin-top:8px;font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:3px;color:var(--ink,#0A0A0A)}
/* キーボードが出ている間: 動画を小さく・帯は1行・一覧と下の帯は隠す */
.rv.kb .rvvw video{height:clamp(120px,calc(var(--vvh,100dvh) - 250px),240px)}
.rv.kb .rvtlw{display:none}.rv.kb .rvkbl{display:block}
.rv.kb .rvk{height:32px}.rv.kb .rvk svg{display:none}
.rv.kb .rvq{display:flex}
.rv.kb .rvlist{display:none}
body.rvkb .dock,body.rvkb .top{display:none}
@media(max-width:359px){.rv .rvk{font-size:11px;padding:0 4px;gap:3px}.rv .rvk svg{width:16px;height:16px}.rv .rvcomp{padding:8px 12px}}
