/* 登録なしで1問だけ試せる画面（#screen-try・web/try-one.js）。仕様＝承認済みモック docs/try-one-mock-2026-10-08/index.html（2026-10-08）。
   モックの CSS をそのまま移した（クラスは他の画面とぶつからないよう tr- を付ける・.ph → #screen-try・.dark → 夜のトークン・.short → @media (max-height: 700px)）。
   色はトークン（docs/design-system.md）。④ 結果は v2（10-09・全体の言い直し＋ポイント・主ボタンは下に固定）。この画面だけのトークン（舞台の壁・机・名札・✓ の色など）は #screen-try に置く */
#screen-try {
  --wall: #C0DEE9; --wall-deep: #9CC8DC; --wood-edge: #C98E4E;
  --mark: rgba(30,123,245,.16); --self-ink: #B04A1E;
  --brand-soft: rgba(255,190,90,.30); --sunken: rgba(255,255,255,.45);
  --shadow: 0 8px 28px rgba(140,90,20,.12); --shadow-sm: 0 2px 10px rgba(140,90,20,.10);
  --btn-glow: 0 10px 26px rgba(30,123,245,.34);
  --art: none; --art-scene: none;
  --logo: url("/logo-lockup-3x.png");
  --tag-ink: #2B4A5C; --tag-bg: rgba(255,255,255,.72); --plate-bg: #FFF8E9;
  --ck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --ck-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #screen-try {
    --wall: #2E4452; --wall-deep: #253845; --wood-edge: #8A6236;
    --mark: rgba(141,194,255,.22); --self-ink: #FFAE8C;
    --brand-soft: rgba(255,190,90,.16); --sunken: #1A1510;
    --shadow: 0 10px 30px rgba(0,0,0,.45); --shadow-sm: 0 2px 10px rgba(0,0,0,.35); --btn-glow: 0 10px 26px rgba(0,0,0,.45);
    --art: brightness(.87); --art-scene: brightness(.72) saturate(.9);
    --logo: url("/logo-lockup-dark-3x.png");
    --tag-ink: var(--text); --tag-bg: rgba(26,21,16,.55); --plate-bg: #E9DDCB;
    --ck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1510' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
    --ck-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1510' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  }
}
:root[data-theme="dark"] #screen-try {
  --wall: #2E4452; --wall-deep: #253845; --wood-edge: #8A6236;
  --mark: rgba(141,194,255,.22); --self-ink: #FFAE8C;
  --brand-soft: rgba(255,190,90,.16); --sunken: #1A1510;
  --shadow: 0 10px 30px rgba(0,0,0,.45); --shadow-sm: 0 2px 10px rgba(0,0,0,.35); --btn-glow: 0 10px 26px rgba(0,0,0,.45);
  --art: brightness(.87); --art-scene: brightness(.72) saturate(.9);
  --logo: url("/logo-lockup-dark-3x.png");
  --tag-ink: var(--text); --tag-bg: rgba(26,21,16,.55); --plate-bg: #E9DDCB;
  --ck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1510' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --ck-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1510' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- 画面の枠（モックの .ph） ---------- */
#screen-try { padding: 0 16px 20px; font-size: 16px; line-height: 1.75; color: var(--text); }
#screen-try.active { display: flex; flex-direction: column; }
/* アプリの中のブラウザ（X・Instagram など）: 画面の下にアプリ自前の板（投稿の情報・操作の帯）が重なり、ボタンが隠れてスクロールもできなかった（10-09 notty・X）。
   下に余白を足して、ボタンを板の上まで持ち上げられるようにする */
#screen-try.inapp { padding-bottom: 45vh; }
#screen-try .tr-pane { flex: 1; display: flex; flex-direction: column; min-height: 0; }
#screen-try .tr-pane[hidden] { display: none !important; }
#screen-try .tr-en { font-family: var(--en); }
#screen-try .tr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#screen-try button { transition: none; }

/* 上の帯 */
#screen-try .tr-bar { display: flex; align-items: center; justify-content: space-between; height: 56px; flex: none; }
#screen-try .tr-logo { width: 92px; height: 26px; background: var(--logo) left center / contain no-repeat; }
#screen-try .tr-bar-link { font-size: 14px; font-weight: 700; color: var(--brand-deep); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; }
#screen-try .tr-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; min-height: 44px; padding-right: 8px; background: none; border: 0; font-family: inherit; }
#screen-try .tr-back::before { content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 4px; }

/* 舞台（LP v6 の .stage と同じ部屋：青い壁＋木の机） */
#screen-try .tr-stage { position: relative; height: 184px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--wall) 0%, var(--wall-deep) 100%); overflow: hidden; flex: none; box-shadow: var(--shadow-sm); isolation: isolate; }
#screen-try .tr-stage .tr-iv { position: absolute; left: 50%; bottom: 4px; width: 170px; height: 170px; transform: translateX(-50%); object-fit: contain; filter: var(--art); z-index: 1; }
#screen-try .tr-stage .tr-desk { position: absolute; left: 0; right: 0; bottom: 0; height: 36px; background: url("/room-a-desk.jpg") center top / 100% auto; border-top: 4px solid var(--wood-edge); filter: var(--art); z-index: 2; box-shadow: 0 -4px 12px rgba(120,70,20,.16); }
#screen-try .tr-tag { position: absolute; top: 12px; left: 12px; z-index: 3; font-size: 11.5px; font-weight: 700; color: var(--tag-ink); background: var(--tag-bg); padding: 3px 10px; border-radius: var(--r-pill); letter-spacing: .02em; line-height: 1.75; }
/* 机の上の名札 */
#screen-try .tr-plate { position: absolute; z-index: 3; right: 22px; bottom: 9px; background: var(--plate-bg); color: #3A3426; border-radius: 6px; padding: 2px 9px 3px; box-shadow: 0 2px 4px rgba(90,55,15,.25); line-height: 1.25; text-align: center; transform: rotate(-2deg); }
#screen-try .tr-plate b { display: block; font-family: var(--en); font-size: 12px; font-weight: 800; letter-spacing: .02em; }
#screen-try .tr-plate i { display: block; font-style: normal; font-size: 9.5px; color: #7A6F5B; font-weight: 700; }
/* 日常会話の舞台：公園の見える机（story-bg-daily.jpg）。机の帯は面接と共通 */
#screen-try .tr-stage.daily { background: #BFE0F2; }
#screen-try .tr-stage.daily::before { content: ""; position: absolute; inset: 0; z-index: 0; background: url("/story-bg-daily.jpg") center 38% / cover; filter: var(--art); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #screen-try .tr-stage.daily { background: #2E4452; } :root:not([data-theme="light"]) #screen-try .tr-stage.daily::before { filter: brightness(.68) saturate(.9); } }
:root[data-theme="dark"] #screen-try .tr-stage.daily { background: #2E4452; }
:root[data-theme="dark"] #screen-try .tr-stage.daily::before { filter: brightness(.68) saturate(.9); }
/* カフェの舞台：店の絵（scn-cafe.webp）をそのまま。店員さんは絵の中にいるので切り絵と机は出さない */
#screen-try .tr-stage.cafe { height: 148px; background: #8EC5EC; }
#screen-try .tr-stage.cafe::before { content: ""; position: absolute; inset: 0; z-index: 0; background: url("/scn-cafe.webp") center 22% / cover; filter: var(--art-scene); }
#screen-try .tr-stage.cafe .tr-iv, #screen-try .tr-stage.cafe .tr-desk { display: none; }

/* 質問 */
#screen-try .tr-q { margin-top: 18px; padding: 0 4px; flex: none; }
#screen-try .tr-q-en { font-family: var(--en); font-size: 25px; font-weight: 800; line-height: 1.28; letter-spacing: -.012em; color: var(--text); }
#screen-try .tr-q-ja { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.6; }

/* 3つの流れ＝進み具合のしるし（押せるものではない）。いま＝青の塗り＋太字、済み＝緑の✓、まだ＝薄い */
#screen-try .tr-steps { list-style: none; display: flex; align-items: center; justify-content: center; margin-top: 18px; flex: none; pointer-events: none; user-select: none; }
#screen-try .tr-st { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--faint); white-space: nowrap; line-height: 1; }
#screen-try .tr-st + .tr-st::before { content: ""; width: 22px; height: 1.5px; margin: 0 8px 0 2px; background: var(--line-strong); border-radius: 1px; }
#screen-try .tr-st.done + .tr-st::before { background: var(--growth); }
#screen-try .tr-st .tr-n { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-family: var(--en); font-size: 11px; font-weight: 700; color: var(--faint); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
#screen-try .tr-st.now { color: var(--text); font-weight: 700; }
#screen-try .tr-st.now .tr-n { background: var(--brand-fill); color: #fff; box-shadow: none; }
#screen-try .tr-st.done { color: var(--growth-ink); }
#screen-try .tr-st.done .tr-n { background: var(--growth) var(--ck-b) center / 12px no-repeat; color: transparent; box-shadow: none; }
/* 直している間は「AI が直す」が少し動く */
#screen-try .tr-st.busy .tr-n { animation: tr-busy 1s ease-in-out infinite; }
@keyframes tr-busy { 50% { transform: scale(1.18); } }

/* 録音の場所 */
#screen-try .tr-act { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; }
#screen-try .tr-consent { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--text); padding: 6px 12px 6px 8px; border-radius: var(--r-pill); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--line); min-height: 36px; cursor: pointer; position: relative; line-height: 1.75; }
#screen-try .tr-consent input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
#screen-try .tr-consent:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
#screen-try .tr-box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line-strong); background: var(--surface-2); flex: none; }
#screen-try .tr-consent.on .tr-box { border-color: var(--brand-fill); background: var(--brand-fill) var(--ck) center / 14px no-repeat; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #screen-try .tr-consent.on .tr-box { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); } }
:root[data-theme="dark"] #screen-try .tr-consent.on .tr-box { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
#screen-try .tr-req { font-size: 10.5px; font-weight: 700; color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 45%, transparent); border-radius: var(--r-pill); padding: 0 6px; line-height: 1.55; margin-left: 2px; }
#screen-try .tr-consent.on .tr-req { color: var(--faint); border-color: var(--line-strong); }
/* 外れたまま丸を押すと、ピルが一度ゆれて青い枠になる */
#screen-try .tr-consent.warn { box-shadow: inset 0 0 0 2px var(--brand); }
#screen-try .tr-consent.nudge { animation: tr-nudge .42s ease-in-out 1; }
@keyframes tr-nudge { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

#screen-try .tr-mic-wrap { position: relative; width: 132px; height: 132px; margin-top: 20px; display: grid; place-items: center; }
#screen-try .tr-mic { position: relative; z-index: 2; width: 104px; height: 104px; border-radius: 50%; border: 0; background: var(--surface-2); box-shadow: 0 0 0 3px var(--brand), var(--btn-glow); display: grid; place-items: center; cursor: pointer; padding: 0; }
#screen-try .tr-mic img { width: 54px; height: 54px; }
#screen-try .tr-mic .tr-sq { display: none; }
#screen-try .tr-mic:disabled { cursor: wait; opacity: .8; }
#screen-try .tr-mic:focus-visible { outline: 3px solid var(--brand); outline-offset: 6px; }
#screen-try .tr-mic-wrap::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 16%, transparent) 55%, transparent 72%); z-index: 1; }
#screen-try .tr-mic-label { margin-top: 12px; font-size: 16px; font-weight: 700; color: var(--text); text-align: center; line-height: 1.4; }
#screen-try .tr-mic-sub { font-size: 12px; color: var(--muted); text-align: center; margin-top: 2px; font-variant-numeric: tabular-nums; }
#screen-try .tr-text-link { margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--brand-deep); background: none; border: 0; min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; font-family: inherit; }
#screen-try .tr-text-link img { width: 18px; height: 18px; }
#screen-try .tr-text-link.voice img { display: none; }

/* 録音中 */
#screen-try .tr-lvl, #screen-try .tr-ring { display: none; }
#screen-try .tr-mic-wrap.rec::before { display: none; }
#screen-try .tr-mic-wrap.rec { margin-top: 40px; margin-bottom: 18px; }
#screen-try .tr-mic-wrap.rec .tr-lvl, #screen-try .tr-mic-wrap.rec .tr-ring { display: block; }
#screen-try .tr-lvl { position: absolute; inset: 0; border-radius: 50%; z-index: 0; background: color-mix(in srgb, var(--brand) 14%, transparent); transform: scale(1.18); transition: transform .12s linear; }
#screen-try .tr-lvl.l2 { background: color-mix(in srgb, var(--brand) 8%, transparent); transform: scale(1.36); }
#screen-try .tr-ring { position: absolute; inset: 0; z-index: 3; transform: rotate(-90deg); pointer-events: none; }
#screen-try .tr-ring circle { fill: none; stroke-width: 5; }
#screen-try .tr-ring .track { stroke: color-mix(in srgb, var(--brand) 20%, transparent); }
#screen-try .tr-ring .prog { stroke: var(--brand); stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
#screen-try .tr-mic-wrap.rec .tr-mic { width: 104px; height: 104px; background: linear-gradient(135deg, var(--field-a), var(--field-b)); box-shadow: var(--btn-glow); }
#screen-try .tr-mic-wrap.rec .tr-mic img { display: none; }
#screen-try .tr-mic-wrap.rec .tr-mic .tr-sq { width: 30px; height: 30px; border-radius: 8px; background: #fff; display: block; }
#screen-try .tr-timer { font-family: var(--en); font-size: 34px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--text); line-height: 1; display: flex; align-items: baseline; gap: 6px; }
#screen-try .tr-timer small { font-size: 14px; font-weight: 600; color: var(--faint); }
#screen-try .tr-rec-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--danger); margin-bottom: 8px; line-height: 1.75; }
#screen-try .tr-rec-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }

/* 録音できた */
#screen-try .tr-recorded { width: 100%; display: flex; flex-direction: column; align-items: center; }
#screen-try .tr-take { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 8px 12px 12px; border-radius: var(--r-md); background: var(--surface-2); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
#screen-try .tr-play { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--select-soft); display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--brand) 40%, transparent); border: 0; padding: 0; }
#screen-try .tr-play::before { content: ""; margin-left: 3px; border-left: 13px solid var(--brand-deep); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
#screen-try .tr-play.on::before { margin-left: 0; width: 12px; height: 14px; border: 0; border-left: 4px solid var(--brand-deep); border-right: 4px solid var(--brand-deep); box-sizing: border-box; }
#screen-try .tr-wave { flex: 1; display: flex; align-items: center; gap: 2.5px; height: 32px; min-width: 0; overflow: hidden; }
#screen-try .tr-wave i { flex: none; width: 3px; height: 8px; border-radius: 2px; background: color-mix(in srgb, var(--brand) 55%, transparent); }
#screen-try .tr-take-t { flex: none; font-family: var(--en); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--text); }
#screen-try .tr-redo { flex: none; font-size: 13px; font-weight: 700; color: var(--brand-deep); background: none; border: 0; min-height: 44px; padding: 0 8px; font-family: inherit; }
#screen-try .tr-ok-line { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--growth-ink); margin-bottom: 10px; line-height: 1.75; }
#screen-try .tr-ok-line::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--growth) var(--ck) center / 12px no-repeat; }

/* 文字で答える（モックに無い形。録音の場所と同じ幅の入れもの） */
#screen-try .tr-text-part { width: 100%; margin-top: 14px; }
#screen-try .tr-text { display: block; width: 100%; box-sizing: border-box; font-size: 16px; line-height: 1.6; padding: 12px 14px; resize: none; min-height: 116px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface-2); color: var(--text); font-family: var(--en); }
#screen-try .tr-text:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
#screen-try .tr-count { text-align: right; font-size: 12px; color: var(--faint); margin: 4px 2px 0; font-variant-numeric: tabular-nums; line-height: 1.4; }
#screen-try .tr-err { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--danger); text-align: center; line-height: 1.6; }
#screen-try .tr-err.soft { color: var(--muted); font-weight: 500; } /* マイクが使えないときのやさしい1行（赤くしない） */
/* アプリの中のブラウザ（Instagram など）だけ: 外のブラウザで開く1行（モックの「うまくいかないとき」）。上の帯（#inapp-bar）は試す画面では隠す（同じ案内を2つ出さない） */
body.on-try #inapp-bar { display: none; }
#screen-try .tr-inapp { display: flex; flex-direction: column; align-items: center; margin-bottom: 6px; }
#screen-try .tr-inapp .tr-text-link { margin-top: 0; min-height: 40px; font-size: 13px; text-decoration: none; }
#screen-try .tr-inapp-hint { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; font-size: 12.5px; color: var(--muted); line-height: 1.6; text-align: center; }
#screen-try .tr-copy { font-family: inherit; font-size: 12.5px; font-weight: 700; color: var(--brand-deep); background: var(--surface-2); border: 0; box-shadow: inset 0 0 0 1px var(--line-strong); border-radius: var(--r-pill); min-height: 32px; padding: 0 12px; }
#screen-try .tr-off { margin-top: 18px; padding: 16px; border-radius: var(--r-md); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
#screen-try .tr-off b { display: block; font-size: 15px; }
#screen-try .tr-off p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 4px; }

/* 主ボタン・枠ボタン */
#screen-try .tr-primary { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 56px; border: 0; border-radius: var(--r-pill); background: linear-gradient(135deg, var(--field-a), var(--field-b)); color: #fff; font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.3; padding: 10px 20px; box-shadow: var(--btn-glow); text-decoration: none; text-align: center; }
#screen-try .tr-primary small { font-size: 12px; font-weight: 500; opacity: .92; margin-top: 2px; }
#screen-try .tr-primary:disabled { opacity: .45; box-shadow: none; cursor: not-allowed; }
#screen-try .tr-send { margin-top: 10px; flex: none; }
#screen-try .ts-box { margin-top: 0; }

/* 送信について（たたむ／ひらく） */
#screen-try .tr-foot { flex: none; margin-top: 12px; text-align: center; line-height: 1.75; }
#screen-try .tr-disc { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 500; background: none; border: 0; min-height: 32px; font-family: inherit; padding: 0; }
#screen-try .tr-disc::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 4px; }
#screen-try .tr-disc.open::after { transform: translateY(1px) rotate(-135deg); }
#screen-try .tr-dot { color: var(--line-strong); margin: 0 4px; font-size: 12px; }
#screen-try .tr-terms { font-size: 12px; color: var(--brand-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
#screen-try .tr-disc-body { text-align: left; font-size: 12px; line-height: 1.7; color: var(--muted); background: var(--sunken); box-shadow: inset 0 0 0 1px var(--line); border-radius: 14px; padding: 10px 12px; margin-top: 2px; }

/* ④ 結果 v2（10-09・モックの「④ 結果 v2」の CSS をそのまま移した: .good2 → .tr-good・.orig → .tr-orig・.whole → .tr-whole・.sec-h → .tr-sec-h・.pts → .tr-pts・.next-h → .tr-next-h）。
   結果だけはスクロールしてよい。主ボタンは下に固定（.tr-sticky・10-09 notty） */
#screen-try .tr-ctx { display: flex; align-items: center; gap: 10px; margin-top: 0; flex: none; }
#screen-try .tr-ctx img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: var(--wall); filter: var(--art); flex: none; }
#screen-try .tr-ctx p { font-family: var(--en); font-size: 14.5px; font-weight: 700; color: var(--muted); line-height: 1.35; }
#screen-try .tr-rsteps { margin-top: 10px; }
#screen-try .tr-lab { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em; margin-bottom: 6px; line-height: 1.75; }
#screen-try .tr-lab::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
/* よかった：具体的な1行（答えの中の語を引く）。カフェは中に言えたことの1行 */
#screen-try .tr-good { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; padding: 9px 12px 9px 9px; border-radius: var(--r-md); background: var(--growth-soft); font-size: 13.5px; line-height: 1.6; color: var(--text); flex: none; }
#screen-try .tr-good[hidden] { display: none; }
#screen-try .tr-good > b { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--growth-ink); background: var(--surface-2); border-radius: var(--r-pill); padding: 1px 8px 1px 3px; margin-top: 1px; white-space: nowrap; line-height: 1.6; }
#screen-try .tr-good > b::before { content: ""; width: 15px; height: 15px; border-radius: 50%; background: var(--growth) var(--ck) center / 10px no-repeat; }
#screen-try .tr-good-t { min-width: 0; }
#screen-try .tr-good q { quotes: "「" "」"; font-weight: 700; }
#screen-try .tr-good q.tr-en { font-family: var(--en); }
#screen-try .tr-good .tr-said-line { margin-top: 4px; padding: 0; font-size: 13px; gap: 12px; line-height: 1.6; }
#screen-try .tr-good #try-good[hidden] + .tr-said-line { margin-top: 0; }
/* あなたの英語（小さく・橙の下線＝変わるところ・3行を超えたらたたむ） */
#screen-try .tr-orig { margin-top: 12px; border-radius: var(--r-md); background: var(--sunken); box-shadow: inset 0 0 0 1px var(--line); padding: 8px 14px 10px; flex: none; }
#screen-try .tr-orig[hidden] { display: none; }
#screen-try .tr-orig summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 30px; cursor: pointer; }
#screen-try .tr-orig summary::-webkit-details-marker { display: none; }
#screen-try .tr-orig summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
#screen-try .tr-orig summary .tr-lab { margin: 0; color: var(--self-ink); }
#screen-try .tr-orig summary .tr-lab::before { background: var(--self); }
#screen-try .tr-orig summary i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
#screen-try .tr-orig summary i::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(1px) rotate(-135deg); margin-left: 3px; }
#screen-try .tr-orig:not([open]) summary i::after { transform: translateY(-2px) rotate(45deg); }
#screen-try .tr-orig p { font-family: var(--en); font-size: 13.5px; line-height: 1.65; color: var(--muted); overflow-wrap: anywhere; }
#screen-try .tr-orig u { text-decoration: none; color: var(--text); background: var(--self-soft); border-radius: 4px; padding: 0 2px; box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--self) 70%, transparent); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
#screen-try .tr-arrow { display: grid; place-items: center; height: 22px; position: relative; z-index: 2; margin: -6px 0; flex: none; }
#screen-try .tr-arrow[hidden] { display: none; }
#screen-try .tr-arrow span { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); display: grid; place-items: center; }
#screen-try .tr-arrow span::before { content: ""; width: 8px; height: 8px; border-right: 2.2px solid var(--brand); border-bottom: 2.2px solid var(--brand); transform: translateY(-2px) rotate(45deg); }
/* 全体をこう言うと（主役）。矢印が無いとき（こんな言い方もあるよ）は少しあける */
#screen-try .tr-whole { margin-top: 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); box-shadow: var(--shadow), inset 0 0 0 1.5px color-mix(in srgb, var(--brand) 55%, transparent); flex: none; }
#screen-try .tr-whole.alt { margin-top: 10px; }
#screen-try .tr-whole .tr-lab { color: var(--brand-deep); margin-bottom: 4px; }
#screen-try .tr-whole .tr-lab::before { background: var(--brand); }
#screen-try .tr-whole p.tr-whole-t { font-family: var(--en); font-size: 18px; font-weight: 800; line-height: 1.5; color: var(--text); letter-spacing: -.005em; overflow-wrap: anywhere; }
#screen-try .tr-whole mark { background: linear-gradient(transparent 50%, var(--mark) 50%); color: var(--brand-deep); padding: 0 1px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* マーカーの番号＝下のポイントの番号 */
#screen-try .tr-whole mark[data-n]::after, #screen-try .tr-pt-n { content: attr(data-n); display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-fill); color: #fff; font-family: var(--en); font-size: 10.5px; font-weight: 800; line-height: 1; vertical-align: 6px; margin-left: 2px; letter-spacing: 0; }
#screen-try .tr-whole-foot { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line-strong); font-size: 12px; color: var(--muted); line-height: 1.55; }
#screen-try .tr-whole-foot[hidden] { display: none; }
/* 決まった見本の空欄（___） */
#screen-try .tr-blank { display: inline-block; min-width: 2.6em; color: transparent; border-bottom: 2px solid color-mix(in srgb, var(--brand) 60%, transparent); line-height: 1.1; margin: 0 1px; user-select: none; }
/* ポイント 2〜3 */
#screen-try .tr-sec-h { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .02em; margin: 16px 4px 6px; display: flex; align-items: baseline; gap: 6px; line-height: 1.6; flex: none; }
#screen-try .tr-sec-h small { font-size: 11.5px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
#screen-try .tr-pts { list-style: none; border-radius: var(--r-md); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; flex: none; }
#screen-try .tr-pts li { display: grid; grid-template-columns: 20px 1fr; column-gap: 10px; padding: 10px 14px 11px 12px; }
#screen-try .tr-pts li + li { border-top: 1px solid var(--line); }
#screen-try .tr-pts .tr-pt-n { width: 20px; height: 20px; font-size: 11.5px; vertical-align: 0; margin: 2px 0 0; }
#screen-try .tr-pts .tr-pt-add { background: var(--select-soft); color: var(--brand-deep); font-size: 14px; }
#screen-try .tr-pts h4 { font-size: 15px; font-weight: 700; line-height: 1.45; color: var(--text); }
#screen-try .tr-pts h4 .tr-en { font-family: var(--en); font-weight: 700; color: var(--brand-deep); }
#screen-try .tr-pt-tag { display: block; font-size: 11px; font-weight: 700; color: var(--brand-deep); letter-spacing: .02em; line-height: 1.5; }
#screen-try .tr-pts p { grid-column: 2; font-size: 12.5px; line-height: 1.6; color: var(--muted); margin-top: 1px; }
#screen-try .tr-note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; line-height: 1.7; }
#screen-try .tr-note[hidden] { display: none; }
#screen-try .tr-res-act { display: flex; flex-direction: column; gap: 8px; flex: none; }
#screen-try .tr-res-foot { display: flex; flex-direction: column; flex: none; }
/* 次の質問のチラ見せ（見出しつき・ぼかし＋鍵） */
#screen-try .tr-next-h { font-size: 13px; font-weight: 700; color: var(--text); text-align: left; margin: 18px 4px 0; line-height: 1.5; }
#screen-try .tr-next { display: flex; align-items: flex-end; gap: 8px; }
#screen-try .tr-next img { flex: none; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: var(--wall); filter: var(--art); }
#screen-try .tr-nb { position: relative; flex: 1; min-width: 0; background: var(--surface-2); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); border-radius: 16px 16px 16px 4px; padding: 10px 44px 10px 12px; }
#screen-try .tr-nb p { font-family: var(--en); font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--text); filter: blur(.9px); opacity: .85; -webkit-mask-image: linear-gradient(90deg, #000 40%, rgba(0,0,0,.3) 100%); mask-image: linear-gradient(90deg, #000 40%, rgba(0,0,0,.3) 100%); user-select: none; }
#screen-try .tr-nb .tr-lk { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--select-soft); color: var(--brand-deep); display: grid; place-items: center; }
#screen-try .tr-nb .tr-lk svg { width: 14px; height: 14px; }
/* 主ボタンは画面の下に固定（sticky・10-09 notty）。下の安全な余白（ホームバー）の分もあける。
   流れの中の場所（言い直しの上）を持つので、スクロールの最後で中身にかぶらない。うしろの文字は背景と同じ色でうすく隠す */
#screen-try .tr-sticky { position: sticky; bottom: 0; z-index: 5; margin: 8px -16px 0; padding: 4px 16px calc(10px + env(safe-area-inset-bottom, 0px)); isolation: isolate; }
#screen-try .tr-sticky::before { content: ""; position: absolute; inset: -8px 0 0; z-index: -1; background: var(--bg-grad) fixed; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12px); mask-image: linear-gradient(180deg, transparent 0, #000 12px); pointer-events: none; }
#screen-try .tr-retry-link { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 auto; min-height: 44px; padding: 0 12px; background: none; border: 0; font-family: inherit; font-size: 14px; font-weight: 700; color: var(--brand-deep); }
#screen-try .tr-retry-link[hidden] { display: none; }
#screen-try .tr-retry-link img { width: 20px; height: 20px; }
#screen-try .tr-home-link { display: block; margin: 0 auto; min-height: 44px; padding: 0 12px; background: none; border: 0; font-family: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
#screen-try .tr-home-link[hidden] { display: none; }
#screen-try .tr-retry-done { text-align: center; font-size: 12.5px; color: var(--muted); min-height: 44px; display: grid; place-items: center; line-height: 1.5; }
#screen-try .tr-retry-done[hidden] { display: none; }

#screen-try #try-result.tr-pane { flex: 1 0 auto; padding-bottom: 4px; } /* 結果は中身の高さのまま伸ばす（下に固定の主ボタンの入れもの） */

/* ⓪ 選ぶ画面（ここのカードは押せる見た目にする） */
#screen-try .tr-choose-h { font-size: 26px; font-weight: 700; line-height: 1.35; margin-top: 6px; padding: 0 4px; letter-spacing: .01em; }
#screen-try .tr-choose-sub { font-size: 13px; color: var(--muted); margin-top: 4px; padding: 0 4px; }
#screen-try .tr-picks { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
#screen-try .tr-pick { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); color: inherit; text-decoration: none; box-shadow: var(--shadow), inset 0 0 0 1.5px var(--line); cursor: pointer; transition: transform .12s ease-out, box-shadow .12s ease-out; }
#screen-try .tr-pick:hover { box-shadow: var(--shadow), inset 0 0 0 2px var(--brand); }
#screen-try .tr-pick:active { transform: scale(.98); }
#screen-try .tr-pick:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
#screen-try .tr-pick-t { flex: 1; min-width: 0; }
#screen-try .tr-pick-t h3 { font-size: 17px; font-weight: 700; line-height: 1.35; }
#screen-try .tr-pick-t .tr-for { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
#screen-try .tr-pick-q { display: inline-block; margin-top: 6px; font-family: var(--en); font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--text); background: var(--sunken); box-shadow: inset 0 0 0 1px var(--line); padding: 5px 9px; border-radius: 12px 12px 12px 4px; }
#screen-try .tr-go { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-fill); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(30,123,245,.3); }
#screen-try .tr-go::before { content: ""; width: 9px; height: 9px; border-right: 2.4px solid #fff; border-top: 2.4px solid #fff; transform: translateX(-2px) rotate(45deg); }
#screen-try .tr-choose-foot { margin-top: auto; text-align: center; font-size: 12px; color: var(--muted); padding-top: 12px; }
/* ⓪ 3枚：横並びの小さな舞台＋文字 */
#screen-try .tr-thumb { flex: none; position: relative; width: 92px; height: 104px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, var(--wall), var(--wall-deep)); isolation: isolate; }
#screen-try .tr-thumb img { position: absolute; left: 50%; bottom: 6px; width: 96px; height: 96px; transform: translateX(-50%); object-fit: contain; filter: var(--art); z-index: 1; }
#screen-try .tr-thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; z-index: 2; background: url("/room-a-desk.jpg") center top / 300% auto; border-top: 3px solid var(--wood-edge); filter: var(--art); }
#screen-try .tr-thumb.daily::before, #screen-try .tr-thumb.cafe::before { content: ""; position: absolute; inset: 0; z-index: 0; filter: var(--art-scene, none); }
#screen-try .tr-thumb.daily::before { background: url("/story-bg-daily.jpg") 30% 40% / cover; }
#screen-try .tr-thumb.cafe::before { background: url("/scn-cafe.webp") 48% 20% / auto 150%; }
#screen-try .tr-thumb.cafe::after { display: none; }

/* カフェ：やることは訳の場所に1行（ほかのモードの訳と同じ見た目）。カード・チップは出さない（モック 10-08 改） */
#screen-try.cafe-f .tr-q-en { font-size: 24px; }
/* 丸ボタンの下の小さなリンク（困ったら · 文字で答える） */
#screen-try .tr-helps { display: flex; align-items: center; justify-content: center; margin-top: 10px; }
#screen-try .tr-helps .tr-text-link { margin-top: 0; padding: 0 8px; }
#screen-try .tr-helps .tr-dot { margin: 0 2px; }
#screen-try .tr-helps .tr-text-link.on { color: var(--text); }
/* 困ったら：下から出る小さなシート（録音は止めない・丸ボタンは隠さない） */
#screen-try .tr-sheet { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 520px; box-sizing: border-box; z-index: 50; background: var(--surface-2); border-radius: 24px 24px 0 0; box-shadow: 0 -10px 30px rgba(80,55,20,.18), inset 0 0 0 1px var(--line); padding: 8px 20px calc(22px + env(safe-area-inset-bottom, 0px)); line-height: 1.75; text-align: left; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #screen-try .tr-sheet { box-shadow: 0 -10px 30px rgba(0,0,0,.5), inset 0 0 0 1px var(--line); } }
:root[data-theme="dark"] #screen-try .tr-sheet { box-shadow: 0 -10px 30px rgba(0,0,0,.5), inset 0 0 0 1px var(--line); }
#screen-try .tr-sheet:focus { outline: none; }
#screen-try .tr-sheet::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 0 auto 8px; }
#screen-try .tr-sh-top { display: flex; align-items: center; justify-content: space-between; }
#screen-try .tr-sh-top p { font-size: 13px; font-weight: 700; color: var(--muted); }
#screen-try .tr-sh-x { width: 44px; height: 44px; margin: -10px -12px -10px 0; border: 0; background: none; display: grid; place-items: center; color: var(--muted); padding: 0; cursor: pointer; }
#screen-try .tr-sh-x::before { content: "×"; font-family: Arial, Helvetica, sans-serif; font-size: 22px; line-height: 1; }
#screen-try .tr-sh-x:focus-visible { outline: 3px solid var(--brand); outline-offset: -4px; border-radius: 50%; }
#screen-try .tr-sh-lines { list-style: none; display: grid; gap: 10px; margin-top: 6px; }
#screen-try .tr-sh-lines li { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
#screen-try .tr-sh-lines li b { display: block; font-family: var(--en); font-size: 16px; font-weight: 700; color: var(--text); }
/* 結果：言えたことは1行（✓＝緑の文字・まだ＝うすい○） */
#screen-try .tr-said-line { list-style: none; display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 0 4px; flex: none; font-size: 14px; font-weight: 700; color: var(--growth-ink); line-height: 1.75; }
#screen-try .tr-said-line > li::before { content: "✓"; content: "✓" / ""; margin-right: 4px; }
#screen-try .tr-said-line > li.no { color: var(--faint); font-weight: 500; }
#screen-try .tr-said-line > li.no::before { content: "○"; content: "○" / ""; }

/* 小さい画面（390×660）＝ モックの .short */
@media (max-height: 700px) {
  #screen-try .tr-stage { height: 136px; }
  #screen-try .tr-stage .tr-iv { width: 128px; height: 128px; bottom: 2px; }
  #screen-try .tr-stage .tr-desk { height: 28px; }
  #screen-try .tr-q, #screen-try.cafe-f .tr-q { margin-top: 12px; }
  #screen-try .tr-q-en, #screen-try.cafe-f .tr-q-en { font-size: 22px; }
  #screen-try .tr-q-ja { margin-top: 3px; }
  #screen-try .tr-steps, #screen-try.cafe-f .tr-steps { margin-top: 12px; }
  #screen-try .tr-mic-wrap { width: 112px; height: 112px; margin-top: 14px; }
  #screen-try .tr-mic, #screen-try .tr-mic-wrap.rec .tr-mic { width: 88px; height: 88px; }
  #screen-try .tr-mic img { width: 46px; height: 46px; }
  #screen-try .tr-mic-wrap.rec { margin-top: 28px; margin-bottom: 12px; }
  #screen-try.cafe-f .tr-mic-wrap.rec { margin-top: 16px; margin-bottom: 8px; }
  #screen-try.cafe-f .tr-rec-dot { margin-bottom: 4px; }
  #screen-try .tr-mic-label { margin-top: 8px; }
  #screen-try .tr-text-link { margin-top: 2px; }
  #screen-try .tr-helps { margin-top: 2px; }
  #screen-try .tr-sheet { padding: 6px 18px calc(14px + env(safe-area-inset-bottom, 0px)); }
  #screen-try .tr-sheet::before { margin-bottom: 4px; }
  #screen-try .tr-sh-lines { gap: 4px; margin-top: 2px; }
  #screen-try .tr-sh-lines li b { font-size: 15px; }
  /* シートをひらいたら、丸の下の文はシートに半分かかるので隠す（丸ボタンは見えたまま） */
  #screen-try.sheet-open .tr-mic-wrap.rec + .tr-mic-label { visibility: hidden; }
  #screen-try .tr-foot { margin-top: 6px; }
  #screen-try .tr-take { padding: 8px 8px 8px 10px; }
  #screen-try .tr-stage.cafe { height: 120px; }
  #screen-try .tr-choose-h { font-size: 23px; }
  #screen-try .tr-picks { gap: 8px; margin-top: 10px; }
  #screen-try .tr-thumb { width: 80px; height: 92px; }
  #screen-try .tr-thumb img { width: 84px; height: 84px; }
  #screen-try .tr-pick { padding: 8px 10px 8px 8px; }
  #screen-try .tr-pick .tr-pick-q { margin-top: 4px; }
}

/* ---------- マイクが使えなかったとき（10-12 notty・承認済みモック docs/try-mic-fail-mock-2026-10-12 の CSS をそのまま移した: .mf → .tr-mf） ---------- */
#screen-try .tr-mf { width: 100%; padding: 16px; border-radius: var(--r-md); background: var(--surface-2); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); text-align: center; }
#screen-try .tr-mf[hidden] { display: none; }
#screen-try .tr-mf-ic { width: 44px; height: 44px; margin: 0 auto 8px; border-radius: 50%; background: var(--sunken); box-shadow: inset 0 0 0 1.5px var(--line-strong); display: grid; place-items: center; }
#screen-try .tr-mf-ic img { width: 24px; height: 24px; opacity: .45; filter: grayscale(1); }
#screen-try .tr-mf-h { font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--text); }
#screen-try .tr-mf-s { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
#screen-try .tr-mf .tr-primary { margin-top: 14px; }
/* 副（アプリの中のブラウザだけ）：外のブラウザで開く1行。カードのすぐ下に見える */
#screen-try .tr-mf + .tr-inapp { margin-top: 10px; margin-bottom: 0; }
/* アプリの中のブラウザ: 下に 45vh の余白（#screen-try.inapp・10-09）があるので、真ん中に寄せるとカードが手順の行に重なる。
   上から置いて、上のあきをモックの位置（見える高さ 752px で 60px・568px で 10px）に合わせる。余白そのものは消さない */
#screen-try.inapp .tr-act.tr-mf-on { flex: none; justify-content: flex-start; }
#screen-try.inapp .tr-act.tr-mf-on > .tr-mf { margin-top: clamp(10px, calc((100vh - 568px) * .27 + 10px), 60px); }
#screen-try .tr-inapp .tr-chev { font: 700 12px var(--en); opacity: .7; }
#screen-try .tr-inapp-hint { margin-top: 2px; }
#screen-try .tr-inapp-hint .tr-dots { display: inline-grid; place-items: center; min-width: 22px; height: 20px; border-radius: 6px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); font: 800 13px/1 var(--en); color: var(--text); letter-spacing: 1px; }
#screen-try .tr-inapp-hint b { color: var(--text); font-weight: 700; }

/* ---------- 結果の上で、その場で登録するシート（10-12 notty・承認済みモック docs/try-signup-inline-mock-2026-10-10 の CSS をそのまま移した: .ss → .tr-su・.scrim → .tr-su-scrim） ---------- */
#screen-try .tr-next.open .tr-nb p { filter: none; opacity: 1; -webkit-mask-image: none; mask-image: none; user-select: text; } /* 登録できたら、鍵のかかっていた次のひとことがひらく（モック 4） */
#screen-try .tr-su-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(31,47,71,.22); }
#screen-try .tr-su-scrim[hidden], #screen-try .tr-su[hidden], #screen-try .tr-su [hidden] { display: none !important; }
#screen-try .tr-su { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 520px; max-height: calc(100% - 12px); overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box; z-index: 61;
  background: var(--surface-2); color: var(--text); border-radius: 26px 26px 0 0; padding: 8px 18px calc(28px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -10px 30px rgba(80,55,20,.18); font-size: 16px; line-height: 1.75; text-align: left; }
#screen-try .tr-su:focus { outline: none; }
#screen-try .tr-su::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 0 auto 10px; }
#screen-try .tr-su-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
#screen-try .tr-su-h { font-size: 19px; font-weight: 700; line-height: 1.45; color: var(--text); letter-spacing: -.005em; }
#screen-try .tr-su-x { flex: none; width: 44px; height: 44px; margin: -8px -12px -8px 0; border: 0; background: none; display: grid; place-items: center; color: var(--muted); font-family: inherit; padding: 0; cursor: pointer; }
#screen-try .tr-su-x::before { content: "×"; font-size: 24px; line-height: 1; }
#screen-try .tr-su-x:focus-visible { outline: 3px solid var(--brand); outline-offset: -4px; border-radius: 50%; }
#screen-try .tr-su-sub { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
/* 同意（いまの登録画面と同じ文・同じ並び。チェックの見た目は試す画面の四角） */
#screen-try .tr-su-consents { margin-top: 10px; }
#screen-try .tr-su-ck { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.6; color: var(--text); min-height: 28px; padding: 4px 0; position: relative; cursor: pointer; }
#screen-try .tr-su-ck input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
#screen-try .tr-su-ck .tr-box { margin-top: 1px; }
#screen-try .tr-su-ck input:checked + .tr-box { border-color: var(--brand-fill); background: var(--brand-fill) var(--ck) center / 14px no-repeat; }
#screen-try .tr-su-ck input:focus-visible + .tr-box { outline: 3px solid var(--brand); outline-offset: 2px; }
#screen-try .tr-su-ck.warn input:not(:checked) + .tr-box { border-color: var(--danger); }
#screen-try .tr-su-rq { color: var(--danger); font-weight: 700; font-size: 12px; margin-left: 2px; white-space: nowrap; }
#screen-try .tr-su-op { color: var(--faint); font-size: 12px; margin-left: 2px; white-space: nowrap; }
#screen-try .tr-su-ck.small { font-size: 13px; color: var(--muted); }
#screen-try .tr-su-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: -2px 0 2px 30px; font-size: 12.5px; }
#screen-try .tr-su-links a { color: var(--brand-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; padding: 4px 0; }
#screen-try .tr-su-links .tr-dot { color: var(--faint); margin: 0; }
/* メール欄 */
#screen-try .tr-su-label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin: 12px 0 6px; line-height: 1.75; }
#screen-try .tr-su-input { display: block; width: 100%; box-sizing: border-box; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: #FFFBF3; color: var(--text); font-family: var(--en); font-size: 16px; }
#screen-try .tr-su-input::placeholder { color: var(--faint); opacity: 1; }
#screen-try .tr-su-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--select-soft); }
#screen-try .tr-su .tr-primary { margin-top: 12px; }
#screen-try .tr-su-err { margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--danger); line-height: 1.55; }
/* Google（ふつうの Safari・Chrome だけ）。公式のボタン（#su-google と同じ部品） */
#screen-try .tr-su-google { margin: 12px 0 0; }
#screen-try .tr-su-google .g-or { font-size: 12px; margin: 10px 0 -4px; }
/* アプリの中のブラウザだけ: Google の代わりの1行。開き直すと結果が消えることを添える（決まったこと 2） */
#screen-try .tr-su-gout { margin-top: 6px; padding-top: 0; border-top: 0; flex-direction: column; align-items: center; }
#screen-try .tr-su-gout .g-out-link { min-height: 40px; font-size: 12px; font-weight: 700; padding: 0 4px; white-space: nowrap; gap: 5px; }
#screen-try .tr-su-gout .g-out-link svg { width: 15px; height: 15px; }
#screen-try .tr-su-gout .g-out-link .chev { font: 700 12px var(--en); opacity: .7; }
#screen-try .tr-su-gout-note { font-size: 11.5px; color: var(--faint); line-height: 1.4; margin-top: -6px; text-align: center; }
/* コードの段 */
#screen-try .tr-su-to { font-size: 14px; line-height: 1.6; color: var(--text); margin-top: 4px; }
#screen-try .tr-su-to b { font-family: var(--en); font-weight: 700; word-break: break-all; }
#screen-try .tr-su-otp { max-width: none; margin: 14px auto 0; }
#screen-try .tr-su-otp .otp-box { height: 54px; background: #FFFBF3; }
#screen-try .tr-su-row { display: flex; align-items: center; justify-content: center; gap: 2px; margin-top: 4px; font-size: 13px; }
#screen-try .tr-su-row button { min-height: 40px; padding: 0 10px; background: none; border: 0; font-family: inherit; font-size: 13px; font-weight: 700; color: var(--brand-deep); cursor: pointer; }
#screen-try .tr-su-row button:disabled { color: var(--faint); font-weight: 500; cursor: default; }
#screen-try .tr-su-row .dot { color: var(--faint); }
#screen-try .tr-su-tip { display: flex; gap: 10px; align-items: flex-start; margin-top: 6px; padding: 10px 12px; border-radius: 14px; background: var(--brand-soft); font-size: 12.5px; line-height: 1.6; color: var(--text); }
#screen-try .tr-su-tip svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: #B87A17; }
#screen-try .tr-su-tip small { display: block; color: var(--muted); font-size: 11.5px; }
#screen-try .tr-su-lead { font-size: 13.5px; line-height: 1.7; color: var(--text); margin-top: 10px; }
/* できた */
#screen-try .tr-su-done { text-align: center; padding-top: 4px; }
#screen-try .tr-su-ok { width: 52px; height: 52px; margin: 0 auto 6px; border-radius: 50%; background: var(--growth) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 28px no-repeat; box-shadow: 0 6px 18px color-mix(in srgb, var(--growth) 35%, transparent); }
#screen-try .tr-su-done .tr-su-h { font-size: 21px; }
#screen-try .tr-su-done .tr-su-sub { margin-top: 0; }
#screen-try .tr-su-unlock { margin: 14px 0 2px; text-align: left; }
#screen-try .tr-su-next-h { margin: 0 2px 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); line-height: 1.5; }
#screen-try .tr-su-unlock .tr-nb { padding-right: 12px; }
#screen-try .tr-su-unlock .tr-nb p { filter: none; opacity: 1; -webkit-mask-image: none; mask-image: none; user-select: text; }
#screen-try .tr-su-open { position: absolute; right: -6px; top: -8px; font-size: 10.5px; font-weight: 700; color: var(--growth-ink); background: var(--surface-2); border-radius: 999px; padding: 0 7px; line-height: 1.75; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--growth) 45%, transparent); }
#screen-try .tr-su-later { display: block; margin: 4px auto 0; min-height: 44px; padding: 0 12px; background: none; border: 0; font-family: inherit; font-size: 13.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
/* 夜（夜の紙 v2）: モックの .ph.dark .ss・.scrim・欄の色 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #screen-try .tr-su-scrim { background: rgba(0,0,0,.42); }
  :root:not([data-theme="light"]) #screen-try .tr-su { box-shadow: 0 -10px 30px rgba(0,0,0,.5); background: var(--surface-1); border-top: 1px solid var(--line); }
  :root:not([data-theme="light"]) #screen-try .tr-su-input, :root:not([data-theme="light"]) #screen-try .tr-su-otp .otp-box { background: var(--sunken); }
  :root:not([data-theme="light"]) #screen-try .tr-su-tip svg { color: #F2C46F; }
  :root:not([data-theme="light"]) #screen-try .tr-su-ok { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1510' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
}
:root[data-theme="dark"] #screen-try .tr-su-scrim { background: rgba(0,0,0,.42); }
:root[data-theme="dark"] #screen-try .tr-su { box-shadow: 0 -10px 30px rgba(0,0,0,.5); background: var(--surface-1); border-top: 1px solid var(--line); }
:root[data-theme="dark"] #screen-try .tr-su-input, :root[data-theme="dark"] #screen-try .tr-su-otp .otp-box { background: var(--sunken); }
:root[data-theme="dark"] #screen-try .tr-su-tip svg { color: #F2C46F; }
:root[data-theme="dark"] #screen-try .tr-su-ok { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1510' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
body.tr-su-on { overflow: hidden; } /* シートを出している間は、うしろの結果をスクロールしない */

/* 小さい画面（390×660）＝ モックの .short の詰め方（新しい部品） */
@media (max-height: 700px) {
  #screen-try .tr-mf { padding: 12px 14px; }
  #screen-try .tr-mf-ic { width: 34px; height: 34px; margin-bottom: 4px; }
  #screen-try .tr-mf-ic img { width: 20px; height: 20px; }
  #screen-try .tr-mf .tr-primary { margin-top: 10px; min-height: 52px; }
  #screen-try .tr-mf + .tr-inapp { margin-top: 4px; }
}
