/* paulnoroman.com 第3版（2026-11-21 試作室 → 11/23 本番）
   11/21 社長①「研ぎ澄ます・AI っぽさを抜く・簡単に飛べるように」
   11/21 社長②「真っ白は味気ない。いつものストーリーズ背景みたいな世界観を。ドットとか。しょぼいページに見える」
   → 世界観はストーリーズ背景 T06 v2（~/Tools/motion/stories_bg/v2.html）とロゴ（点の紙＋袋文字＋オレンジの点）から持ってくる。
     使う飾りはその中にある物だけ: 点の紙の地・袋文字のロゴ・オレンジの点・台紙（白い板と柔らかい影）・四隅のかぎ・LINE Seed の太字。
     使わない: 開いたときの動き・傾き・キャッチコピー・番号つきの見出し・英語の小見出し・オレンジの大きな文字・グラデーション。
   地は点の紙（ストーリーズ calm）。11/23 社長「ドットの方めっちゃいい」で、見比べていた 夜・カッティングマット は外した（git の bea5fa7 に残っている） */
:root {
  --bg: #F3F4F2;                      /* 地（ストーリーズ calm と同じ） */
  --dot: rgba(20,21,23,.14);          /* 点 */
  --on: #141517; --onsub: #55595D;    /* 地の上の文字 */
  --panel: #FFFFFF;                   /* 台紙（Amazon の白い写真が浮かないよう真っ白） */
  --ink: #141517; --sub: #66696D;     /* 台紙の上の文字 */
  --line: rgba(20,21,23,.10); --edge: rgba(20,21,23,.10);
  --shadow: 0 10px 24px rgba(20,21,23,.07), 0 1px 2px rgba(20,21,23,.05);
  --btn: #141517; --btnt: #FFFFFF; --tint: #F3F4F2;
  --acc: #E8541F;
  --wm: none;                         /* ロゴの色（暗い地では反転） */
  --jp: "LINE Seed JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --f: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; background-color: var(--bg);
  background-image: radial-gradient(circle, var(--dot) 1.05px, transparent 1.5px);
  background-size: 16px 16px; background-position: 8px 8px;
}
body { margin: 0; font: 400 15px/1.6 var(--f); color: var(--on); background: transparent; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 4px; }
.w { max-width: 560px; margin: 0 auto; padding: 0 16px; }

/* いちばん上: 袋文字のロゴ＋オレンジの点（ロゴの正方形と同じ。押すとホーム） */
.top { padding: calc(16px + env(safe-area-inset-top)) 0 0; }
.wm { display: inline-flex; align-items: flex-end; gap: 1px; padding: 8px 0; }
.wm img { height: 15px; width: auto; filter: var(--wm); }
.wm i { flex: none; width: 4px; height: 4px; margin-bottom: 2.5px; background: var(--acc); }

/* 見出し: ストーリーズの題と同じ LINE Seed の太字 */
h1 { margin: 26px 0 0; font: 800 27px/1.3 var(--jp); letter-spacing: .02em; color: var(--on); text-wrap: pretty; }
.lead { margin: 6px 0 0; font-size: 13.5px; color: var(--onsub); }
/* 小見出し: ストーリーズの「ポールの浪漫メモ」と同じ、オレンジの点＋太字 */
.lab { display: flex; align-items: center; gap: 9px; margin: 32px 0 12px; font: 800 14.5px/1.3 var(--jp); letter-spacing: .06em; color: var(--on); }
.lab::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }

/* 台紙（ストーリーズの真ん中の白い板）: 白い板＋細い縁＋柔らかい影 */
.card { background: var(--panel); color: var(--ink); border: 1px solid var(--edge); border-radius: 16px; box-shadow: var(--shadow); }

/* PR の印と表記（ストーリーズ右上の PR と同じ四角い枠） */
.pr { display: inline-block; font: 800 9.5px/1 var(--jp); letter-spacing: .1em; padding: 3px 4px 2px 5px; border: 1.5px solid currentColor; border-radius: 2px; vertical-align: 2px; margin-left: 6px; }
.prn { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: 13.5px; line-height: 1.65; color: var(--on); }
.prn .pr { flex: none; margin: 4px 0 0; }

/* ジャンル（横に流れる札） */
.chips { display: flex; gap: 6px; overflow-x: auto; margin: 18px -16px 0; padding: 2px 16px 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a, .chips button { flex: none; display: flex; align-items: center; gap: 5px; height: 36px; padding: 0 14px; border: 1px solid var(--edge); border-radius: 999px; background: var(--panel); color: var(--ink);
  font: 700 13px/1 var(--jp); white-space: nowrap; box-shadow: 0 1px 2px rgba(20,21,23,.05); }
.chips a small, .chips button small { color: var(--sub); font: 500 11.5px/1 var(--f); }
.chips a.on, .chips button.on { background: var(--btn); border-color: var(--btn); color: var(--btnt); }
.chips a.on small, .chips button.on small { color: inherit; opacity: .7; }
.chips a.ss::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }

/* セールの帯（期間中だけ） */
.sale { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; font: 800 14px/1.4 var(--jp); }
.sale small { display: block; margin-top: 2px; font: 500 12px/1.4 var(--f); color: var(--sub); }

/* 動画1本の台紙: 表紙（1回だけ）と題 → 商品の行 */
.feed { margin-top: 18px; display: grid; gap: 14px; }
.vb { padding: 14px 14px 4px; }
.vh { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.vh.lg { grid-template-columns: 100px 1fr; }
.cv { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; }
.lg .cv { aspect-ratio: 16 / 9; }
.cv img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; background: var(--tint); }
.vt { min-width: 0; }
.vt small { display: block; font-size: 12px; color: var(--sub); }
.vt b { display: block; margin-top: 2px; font: 800 15.5px/1.45 var(--jp); letter-spacing: .01em; text-wrap: pretty; }
.vt .wv { display: inline-block; margin-top: 6px; padding: 2px 0; font-size: 12.5px; color: var(--sub); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }

/* 商品の行（行のどこを押しても右のお店へ） */
.ps { list-style: none; margin: 10px 0 0; padding: 0; }
.p { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; min-height: 64px; padding: 10px 0; border-top: 1px solid var(--line); }
.p.im { grid-template-columns: 52px 1fr auto; }
.p .ph { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; background: #fff; }
.p .tx { min-width: 0; }
.p .cpw { grid-column: 1 / -1; margin-top: -6px; }
.p.im .cpw { grid-column: 2 / -1; }
.p .n { font-size: 15px; font-weight: 600; line-height: 1.45; }
.p .go { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 13px; border-radius: 999px; background: var(--btn); color: var(--btnt); font: 800 12.5px/1 var(--jp); white-space: nowrap; }
.p .go::after { content: ""; position: absolute; inset: 0; }
.p .go svg { width: 11px; height: 11px; }
.p:active { background: var(--tint); }
.p .also { display: block; margin-top: 3px; font-size: 12.5px; color: var(--sub); }
.p .also a, .p .cp, .p .cpu { position: relative; z-index: 1; }
.p .also a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line); padding: 4px 0; }
.cp { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; height: 30px; padding: 0 10px; border: 1.5px dashed var(--line); border-color: color-mix(in srgb, var(--ink) 28%, transparent); border-radius: 6px; font-size: 12px; white-space: nowrap; background: var(--panel); color: var(--ink); }
.cpu { display: inline-block; margin: 6px 0 0 8px; font-size: 11.5px; color: var(--sub); white-space: nowrap; }
.cp b { font-weight: 700; letter-spacing: .02em; }
.cp i { font-style: normal; font-weight: 800; color: var(--acc); }
.cp.ok i { color: var(--sub); }
.vcp { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }

/* 商品が多い動画は5つまで出して、残りはたたむ */
.more summary { list-style: none; cursor: pointer; padding: 12px 0; border-top: 1px solid var(--line); font: 700 13px/1.4 var(--jp); color: var(--sub); }
.more summary::-webkit-details-marker { display: none; }
.more[open] summary { display: none; }
.more .ps { margin: 0; }

/* 文字の行（ホームのリンク・一覧の下のリンク）を台紙にのせる */
.rows { margin-top: 14px; padding: 0 16px; }
.row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; padding: 12px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row b { display: block; font: 800 15.5px/1.4 var(--jp); letter-spacing: .01em; }
.row small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--sub); }
.row > i { flex: none; font-style: normal; font-size: 15px; color: var(--sub); }
.row a.s::after { content: ""; position: absolute; inset: 0; }
.row:active { background: var(--tint); }

/* ホーム */
.me { display: grid; grid-template-columns: 68px 1fr; gap: 16px; align-items: center; margin-top: 28px; }
.me img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; background: var(--tint); box-shadow: 0 0 0 3px var(--panel), var(--shadow); }
.me h1 { margin: 0; font-size: 26px; }
.me p { margin: 3px 0 0; font-size: 13px; color: var(--onsub); }
.sns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sns a { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border: 1px solid var(--edge); border-radius: 999px; background: var(--panel); color: var(--ink); font: 700 13px/1 var(--jp); box-shadow: 0 1px 2px rgba(20,21,23,.05); }
.buy { overflow: hidden; }
.buy .row { padding: 12px 16px; }
.covers { display: flex; gap: 10px; overflow-x: auto; padding: 16px 16px 14px; scrollbar-width: none; }
.covers::-webkit-scrollbar { display: none; }
.covers a { flex: none; width: 80px; }
.covers img { width: 80px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 7px; background: var(--tint); }
.covers span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 11.5px; line-height: 1.4; color: var(--sub); }

/* 動画のページ: 表紙はストーリーズの真ん中の枠と同じ、四隅にオレンジのかぎ */
.vp .vh { grid-template-columns: 100px 1fr; gap: 20px; margin-top: 28px; align-items: center; }
.vp .vh.lg { grid-template-columns: 1fr; gap: 16px; }
.vp .cv img { box-shadow: var(--shadow); }
.vp .cv::after { content: ""; position: absolute; inset: -7px; pointer-events: none;
  --c: var(--acc); --l: 13px; --t: 2.5px;
  background:
    linear-gradient(var(--c),var(--c)) left top / var(--l) var(--t), linear-gradient(var(--c),var(--c)) left top / var(--t) var(--l),
    linear-gradient(var(--c),var(--c)) right top / var(--l) var(--t), linear-gradient(var(--c),var(--c)) right top / var(--t) var(--l),
    linear-gradient(var(--c),var(--c)) left bottom / var(--l) var(--t), linear-gradient(var(--c),var(--c)) left bottom / var(--t) var(--l),
    linear-gradient(var(--c),var(--c)) right bottom / var(--l) var(--t), linear-gradient(var(--c),var(--c)) right bottom / var(--t) var(--l);
  background-repeat: no-repeat; }
.vp .vt small { color: var(--onsub); }
.vp .vt h1 { margin: 3px 0 0; font-size: 21px; line-height: 1.4; }
.vp .prn { margin-top: 24px; }
.vp .vt .wv { color: var(--onsub); text-decoration-color: color-mix(in srgb, var(--on) 30%, transparent); }
.vp .ps.card { margin-top: 18px; padding: 0 14px; }
.vp .ps.card > .p:first-child { border-top: 0; }
.vp .covers { margin: 0 -16px; padding: 4px 16px 8px; }
.vp .covers span { color: var(--onsub); }
.vp .covers img { box-shadow: 0 6px 14px rgba(20,21,23,.12); }

/* もっと前に紹介した製品（/picks/）: 名前で探す・ジャンルで絞る・1列の台紙（11/23 前の見た目のまま崩れていたのを作り直した） */
.sx { display: flex; align-items: center; gap: 10px; margin-top: 18px; height: 48px; padding: 0 14px; background: var(--panel); color: var(--ink); border: 1px solid var(--edge); border-radius: 12px; box-shadow: var(--shadow); }
.sx svg { flex: none; width: 18px; height: 18px; color: var(--sub); }
.sx input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: 400 16px/1 var(--f); color: var(--ink); -webkit-appearance: none; appearance: none; }
.sx input::placeholder { color: var(--sub); }
.sx:focus-within { outline: 2px solid var(--acc); outline-offset: 2px; }
.cnt { margin: 8px 0 0; font-size: 12.5px; color: var(--onsub); }
.pk { margin-top: 10px; padding: 0 14px; }
.pk .ps { margin: 0; }
.pk .ps > .p:first-child { border-top: 0; }
.pk .em { padding: 28px 0; font-size: 13.5px; color: var(--sub); text-align: center; list-style: none; }
.mo { display: block; width: 100%; padding: 14px 0; border-top: 1px solid var(--line); font: 700 13px/1.4 var(--jp); color: var(--sub); }
.mo[hidden] { display: none; }

/* ブラックフライデー（/bf/）
   11/25 社長「BF の絵を差し込んで」「リッチに」→ 11/26 昼 社長「色とかデザインがポールの浪漫っぽくない」
   → 黒い板・イタリックの数字・明朝をやめて、サイトのいつもの言葉（点の紙・白い台紙・四隅のオレンジのかぎ・袋文字・LINE Seed）だけで作る。
   見比べ用に3つ（data/bf.yaml の look で選ぶ。試作室には /bf/a/ /bf/b/ /bf/c/ も書き出す）:
     a 紙＋英字の袋文字（ロゴ PAULNOROMAN と同じ書き方）／ b 夜（ストーリーズ背景の night の決まり）／ c 紙＋日本語の大きい題（ストーリーズの題と同じ書き方）
   グラデーション・きらきら・動き・傾き・オレンジの大きな文字は使わない */
.bfx { --bt: var(--on); --bs: var(--onsub);                       /* 地の上の文字 */
  --bf: var(--panel); --bft: var(--ink); --bfs: var(--sub); --bl: var(--edge);   /* 台紙と、その上の文字 */
  --bq: rgba(20,21,23,.26); --btile: var(--tint); --bdot: rgba(20,21,23,.11); }
.bfh { margin-top: 24px; color: var(--bt); }
.bfh-k { margin: 0; font: 800 12.5px/1.3 var(--jp); letter-spacing: .12em; color: var(--bs); }
.bfh-t { margin: 10px 0 0; font: 800 50px/.95 "Archivo", var(--jp); font-stretch: 125%; letter-spacing: .01em; color: transparent; -webkit-text-stroke: 1.6px var(--bt); text-wrap: nowrap; }
.bfh-t span { display: block; }
.bfh-t i, .bfh-j i { display: inline-block; width: 9px; height: 9px; margin-left: 5px; background: var(--acc); -webkit-text-stroke: 0; vertical-align: baseline; }
.bfh-y { margin: 12px 0 0; font: 800 14px/1 "Archivo", var(--jp); font-stretch: 125%; letter-spacing: .34em; color: var(--bt); }
@media (max-width: 360px) { .bfh-t { font-size: 42px; } }
/* c: 日本語の大きい題（ストーリーズの題: 小さい前置き＋LINE Seed の太字） */
.bfh-j { margin: 6px 0 0; font: 800 48px/1.1 var(--jp); letter-spacing: .02em; color: var(--bt); }
.bfh-j span { display: block; }
@media (max-width: 360px) { .bfh-j { font-size: 42px; } }
/* 期間は箱にせず小さく（11/26 社長「大々的になりすぎ。記載は必要だけど軽く」） */
.bfh-p { display: flex; flex-wrap: wrap; gap: 0 14px; margin: 14px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--bs); }
.bfh-p b { margin-right: 6px; font: 800 12px/1.7 var(--jp); color: var(--bt); }
/* エントリー（11/26 社長「エントリーが一番上」）: 白い台紙。ボタンも台紙の中に入れる */
.bfe { margin: 14px 0 0; padding: 12px 14px; border: 1px solid var(--bl); border-radius: 14px; background: var(--bf); color: var(--bft); box-shadow: var(--shadow); }
.bfe b { display: flex; align-items: center; gap: 7px; font: 800 13.5px/1.4 var(--jp); }
.bfe b::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--acc); }
.bfe p { margin: 5px 0 0; font-size: 12.5px; line-height: 1.55; }
.bfe strong { display: block; margin-top: 1px; font: 800 18px/1.35 var(--jp); }
.bfe .bfp-go { margin-top: 10px; height: 40px; font-size: 13.5px; }
.bfe .bfh-n { margin-top: 7px; font-size: 11.5px; }
/* 11/27 夜 エントリーの台紙を小さく（社長「ストアフロントよりエントリーがめっちゃでかい」）・PR の表記は1行（社長「長い・邪魔」） */
.prn1 { align-items: center; margin-top: 12px; font-size: 11.5px; white-space: nowrap; line-height: 1.5; color: var(--sub); }
.prn1 .pr { margin: 0; }
.prn-note { margin: 14px 2px 0; font-size: 11.5px; line-height: 1.6; color: var(--sub); }
.bfh-n { margin: 10px 0 0; font-size: 12px; line-height: 1.55; color: var(--bfs); }
/* 紹介した動画: 白い台紙に、長尺とショートを分けて（11/26 社長「見た目で分けていい。ショートはリンク、長尺は動画に飛ぶ」）。見出しに飛び先を書く */
.bfw { padding: 18px 16px 16px; border: 1px solid var(--bl); border-radius: 16px; background: var(--bf); color: var(--bft); box-shadow: var(--shadow); }
.bfw .bfh-c { margin: 0; font: 700 14px/1.7 var(--jp); }
.bfw-r { margin-top: 24px; }
.bfw-h { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.bfw-h b { display: inline-flex; align-items: center; gap: 7px; font: 800 14px/1.3 var(--jp); }
.bfw-h b::before { content: ""; width: 6px; height: 6px; background: var(--acc); }
.bfw-h small { font-size: 11.5px; color: var(--bfs); }
.bfw-r .bfh-lv { margin-top: 14px; }
.bfw-r .bfh-lk + .bfh-lv { margin-top: 22px; }
.bfw-r .bfh-m { margin-top: 10px; }
/* 長尺も横に送る（11/27 社長「長尺横にできないの？ショートみたいにスワイプで」）。2本目が少し見える幅・1本なら全幅。
   四隅のかぎ（::after が外へ 7px）が切れないよう、上と左右にすきま */
.bfh-ls { display: flex; gap: 22px; margin: 6px -16px 0; padding: 8px 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
.bfh-ls::-webkit-scrollbar { display: none; }
.bfh-lc { flex: none; width: 82%; max-width: 340px; scroll-snap-align: start; }
.bfh-lc:only-child { width: 100%; max-width: none; }
.bfw-r .bfh-lc .bfh-lv { margin-top: 0; }
.bfh-lc .bfh-lv-t { margin-top: 12px; }
.bfh-lc .bfh-lv-t b { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bfh-lc:only-child .bfh-lv-t b { font-size: 18px; -webkit-line-clamp: unset; }
.bfh-lc .bfh-lv-i i { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
.bfh-lc .bfh-lv-i i::after { left: 19px; top: 14px; border-left-width: 12px; border-top-width: 9px; border-bottom-width: 9px; }
.dk .bfh-ls { margin: 6px -20px 0; padding: 8px 20px 6px; scroll-padding: 0 20px; }
/* ショート: 縦長の表紙を横に送る（スマホが主。4枚目が少し切れて「横に続く」と分かる幅） */
.bfh-m { display: flex; gap: 8px; margin: 0 -16px; padding: 0 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
.bfh-m::-webkit-scrollbar { display: none; }
.bfh-m > * { flex: none; width: 84px; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; scroll-snap-align: start; }
.bfh-m a { display: block; background: #26282b; box-shadow: 0 4px 10px rgba(20,21,23,.14); }
.bfh-m img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bfh-m .bft { height: 100%; border-radius: 0; }
.bfh-m a:active { opacity: .8; }
/* まだの回の「？」のマス（名前も日付も出さない）。中は点の紙＝ストーリーズの、リールを貼る前の空き枠 */
.bfq { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1.5px dashed var(--bq);
  background-color: var(--btile); background-image: radial-gradient(circle, var(--bdot) 1px, transparent 1.4px); background-size: 12px 12px; background-position: 6px 6px; }
.bfq b { font: 800 38px/1 "Archivo", var(--jp); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1.3px var(--bft); }
.bfq small { font: 800 9.5px/1 "Archivo", var(--jp); font-stretch: 125%; letter-spacing: .18em; color: var(--bfs); }
.bfq::after { content: ""; position: absolute; right: 7px; bottom: 7px; width: 5px; height: 5px; background: var(--acc); }
.bfq-l b { font-size: 48px; }
.bfq-l small { font-size: 11px; }
/* 長尺: 横長のサムネを大きく、四隅にオレンジのかぎ（動画のページの表紙と同じ）。押すと YouTube */
.bfh-lv { display: block; }
.bfh-lv-i { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; }
.bfh-lv-i:not(.bfq) { background: #141517; }
.bfh-lv-i img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.bfh-lv-i.bfq { display: flex; }
.bfh-lv-i::after, .bfh-lv-i.bfq::after { content: ""; position: absolute; inset: -7px; width: auto; height: auto; pointer-events: none;
  --c: var(--acc); --l: 13px; --t: 2.5px;
  background:
    linear-gradient(var(--c),var(--c)) left top / var(--l) var(--t), linear-gradient(var(--c),var(--c)) left top / var(--t) var(--l),
    linear-gradient(var(--c),var(--c)) right top / var(--l) var(--t), linear-gradient(var(--c),var(--c)) right top / var(--t) var(--l),
    linear-gradient(var(--c),var(--c)) left bottom / var(--l) var(--t), linear-gradient(var(--c),var(--c)) left bottom / var(--t) var(--l),
    linear-gradient(var(--c),var(--c)) right bottom / var(--l) var(--t), linear-gradient(var(--c),var(--c)) right bottom / var(--t) var(--l);
  background-repeat: no-repeat; }
.bfh-lv-i i { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(20,21,23,.72); box-shadow: 0 0 0 1.5px #fff; }
.bfh-lv-i i::after { content: ""; position: absolute; left: 23px; top: 18px; border-left: 15px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.bfh-lv-t { display: block; margin-top: 14px; }
.bfh-lv-t small { display: inline-flex; align-items: center; gap: 7px; font: 800 12px/1.3 var(--jp); letter-spacing: .08em; color: var(--bfs); }
.bfh-lv-t small::before { content: ""; width: 6px; height: 6px; background: var(--acc); }
.bfh-lv-t b { display: block; margin-top: 5px; font: 800 18px/1.45 var(--jp); }
.bfh-lk { display: inline-block; margin-top: 8px; padding: 2px 0; font-size: 12.5px; color: var(--bfs); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
/* ショートの表紙から飛んできた回に、しるし（どこに来たか分かるように。動きは付けない） */
.vb:target { outline: 2px solid var(--acc); outline-offset: 3px; }
/* 黒い板（.dk）: ストーリーズ背景 night と同じ（黒い地に白い点・台紙は #1E2023・文字は LINE Seed・オレンジの点は灯りのようにぼかす）
   b はいちばん上と動画の両方、a2・a3 は動画の板だけ（11/26 昼 社長「A がいい感じだけど装飾感が薄い。全部真っ白じゃなくて、動画のタイルだけ黒とか」） */
.bfh.dk, .bfw.dk { --bt: #F3F4F2; --bs: rgba(243,244,242,.72); --bf: #1E2023; --bft: #F3F4F2; --bfs: rgba(243,244,242,.66); --bl: rgba(255,255,255,.14);
  --bq: rgba(255,255,255,.34); --btile: rgba(255,255,255,.03); --bdot: rgba(255,255,255,.07);
  position: relative; padding: 22px 20px 20px; border: 0; border-radius: 18px; background-color: #141517;
  background-image: radial-gradient(circle, rgba(255,255,255,.10) 1.05px, transparent 1.5px); background-size: 16px 16px; background-position: 8px 8px; box-shadow: var(--shadow); }
.bfh.dk { margin-top: 18px; }
.bfw.dk { padding-top: 18px; }
.dk .bfh-m { margin: 0 -20px; padding: 0 20px 8px; scroll-padding: 0 20px; }
.dk .bfh-m a { box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.dk .bfe { box-shadow: none; }
.dk .bfp-go { background: #F3F4F2; color: #141517; }
.dk .bfh-t i { box-shadow: 0 0 14px 3px rgba(232,84,31,.55); }
/* a2・a3 のワンポイント: エントリーの台紙の四隅にオレンジのかぎ（ストーリーズの真ん中の板と同じ） */
.bf-a2 .bfe, .bf-a3 .bfe { position: relative; }
.bf-a2 .bfe::after, .bf-a3 .bfe::after { content: ""; position: absolute; inset: -8px; pointer-events: none;
  --c: var(--acc); --l: 15px; --t: 3px;
  background:
    linear-gradient(var(--c),var(--c)) left top / var(--l) var(--t), linear-gradient(var(--c),var(--c)) left top / var(--t) var(--l),
    linear-gradient(var(--c),var(--c)) right top / var(--l) var(--t), linear-gradient(var(--c),var(--c)) right top / var(--t) var(--l),
    linear-gradient(var(--c),var(--c)) left bottom / var(--l) var(--t), linear-gradient(var(--c),var(--c)) left bottom / var(--t) var(--l),
    linear-gradient(var(--c),var(--c)) right bottom / var(--l) var(--t), linear-gradient(var(--c),var(--c)) right bottom / var(--t) var(--l);
  background-repeat: no-repeat; }
/* a3: 題の BLACK だけ塗りつぶし（袋文字の FRIDAY と、塗りと線で強弱） */
.bf-a3 .bfh-t span:first-child { color: var(--bt); }
.bfp { padding: 6px 16px 16px; }
.bfp-r { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.bfp-r:first-child { border-top: 0; }
.bfp-r b { font: 800 15px/1.4 var(--jp); }
.bfp-r span { font-size: 13.5px; color: var(--sub); white-space: nowrap; }
.bfp-go { display: flex; align-items: center; justify-content: center; gap: 6px; height: 48px; margin-top: 6px; border-radius: 999px; background: var(--btn); color: var(--btnt); font: 800 14.5px/1 var(--jp); }
.bfp-go svg { width: 12px; height: 12px; }
.bfp-n { margin: 10px 2px 0; font-size: 12px; line-height: 1.6; color: var(--sub); }
.bfsf { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 16px; }
.bfsa { width: 96px; height: auto; color: var(--ink); }
.bfsf-t b { display: block; font: 800 16.5px/1.4 var(--jp); }
.bfsf-t small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.6; color: var(--sub); }
.bfsf-t em { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--btn); color: var(--btnt); font: 800 12.5px/1 var(--jp); font-style: normal; }
.bfsf-t em svg { width: 11px; height: 11px; }
.bfsf:active { background: var(--tint); }
/* 11/27 夜 ストアフロントはエントリーのすぐ下に1行（社長「見づらい・エントリーの下ぐらいに1行で」） */
/*   11/27 夜 社長「シンプルすぎる・クリックしてほしい感が無い」→ 左にお店のマーク（オレンジの板）・右に黒いボタン・左の縁にオレンジの線 */
.bfsf2 { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 14px 14px 14px; border-left: 4px solid var(--acc); }
.bfsf2-i { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--acc); color: #fff; }
.bfsf2-i svg { width: 26px; height: 26px; }
.bfsf2-t { flex: 1; min-width: 0; }
.bfsf2 b { display: block; white-space: nowrap; font: 800 14.5px/1.4 var(--jp); }
.bfsf2 b .pr { margin-left: 6px; vertical-align: 1px; }
.bfsf2 small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.5; color: var(--sub); }
.bfsf2 em { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 13px; border-radius: 999px; background: var(--btn); color: var(--btnt); font: 800 12.5px/1 var(--jp); font-style: normal; }
.bfsf2 em svg { width: 11px; height: 11px; }
.bfsf2:active { background: var(--tint); }
.bfft { margin-top: 22px; border: 1.5px solid var(--ink); }
.bfft .vh { grid-template-columns: 110px 1fr; }
.bfft .vh.lg { grid-template-columns: 1fr; }
.bfft .vt b { font-size: 18px; }
.vb[id^="bf-"] { scroll-margin-top: 16px; }
.bfk { display: inline-block; margin: 0 0 12px; padding: 5px 10px 4px; border-radius: 4px; background: var(--ink); color: var(--panel); font: 800 11.5px/1 var(--jp); letter-spacing: .1em; }
.bft { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 9 / 16; border-radius: 7px; background: #141517; overflow: hidden;
  background-image: radial-gradient(circle, rgba(255,255,255,.14) 1px, transparent 1.4px); background-size: 9px 9px; }
.bft b { font: 800 10px/1 "Archivo", var(--jp); font-stretch: 125%; color: transparent; -webkit-text-stroke: .7px #fff; writing-mode: vertical-rl; letter-spacing: .08em; }
.bft i { position: absolute; right: 7px; bottom: 7px; width: 4px; height: 4px; background: var(--acc); }
.bff { margin-top: 0; }
.bfv { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.bfv .wv { padding: 2px 0; font-size: 12.5px; color: var(--sub); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.bfs { display: flex; gap: 10px; align-items: baseline; margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--tint); font-size: 13.5px; line-height: 1.6; }
.bfs b { flex: none; display: inline-flex; align-items: center; gap: 6px; font: 800 12px/1.6 var(--jp); letter-spacing: .06em; }
.bfs b::before { content: ""; width: 5px; height: 5px; background: var(--acc); }
.bfcut { display: flex; align-items: center; gap: 8px; margin: 30px 0 -14px; color: var(--onsub); }
.bfcut svg { flex: none; width: 18px; height: 18px; }
.bfcut span { flex: 1; border-top: 1.5px dashed color-mix(in srgb, var(--on) 30%, transparent); }

/* いちばん下 */
.ft { margin-top: 44px; padding: 18px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid color-mix(in srgb, var(--on) 14%, transparent); font-size: 11.5px; line-height: 1.75; color: var(--onsub); }
.ft p { margin: 0; }

.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  background: var(--btn); color: var(--btnt); font-size: 13px; padding: 10px 16px; border-radius: 999px; transition: opacity .2s, transform .2s; white-space: nowrap; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }
/* 紹介した製品のページの BF の帯（11/27 夜 社長「TikTok・インスタから紹介した製品に来た人が押しやすいように・黒くして特設ページっぽく」）。BF の期間だけ */
.bfban { position: relative; display: block; margin: 14px 0 0; padding: 16px 18px 18px; border-radius: 16px; color: #F3F4F2; background-color: #141517;
  background-image: radial-gradient(circle, rgba(255,255,255,.10) 1.05px, transparent 1.5px); background-size: 16px 16px; background-position: 8px 8px; box-shadow: var(--shadow); }
.bfban-k { display: inline-flex; align-items: center; gap: 7px; font: 800 12px/1.3 var(--jp); letter-spacing: .06em; color: rgba(243,244,242,.75); }
.bfban-k::before { content: ""; width: 6px; height: 6px; background: var(--acc); }
.bfban b { display: block; margin-top: 6px; font: 800 30px/1.05 "Archivo", var(--jp); font-stretch: 125%; letter-spacing: .01em; }
.bfban b i { display: inline-block; width: 8px; height: 8px; margin-left: 4px; background: var(--acc); box-shadow: 0 0 14px 3px rgba(232,84,31,.55); }
.bfban small { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.55; color: rgba(243,244,242,.72); }
.bfban em { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; height: 38px; padding: 0 16px; border-radius: 999px; background: #F3F4F2; color: #141517; font: 800 13.5px/1 var(--jp); font-style: normal; }
.bfban em svg { width: 11px; height: 11px; }
.bfban:active { opacity: .9; }
@media (max-width: 360px) { .bfban b { font-size: 26px; } }
.bfban + .lead { margin-top: 14px; }

/* 紹介した製品の一覧に出す長尺（11/29 社長）: BF の特設ページと同じ大きい札。四隅のかぎが台紙の内に収まる余白 */
.vbl { --bfs: var(--sub); padding-top: 22px; }
.vbl .bfh-lv { margin: 0 8px 6px; }
