/* 利用者が書いた外へのリンク・SNS のマーク・確かめの窓・自己紹介の「続きを読む」（23 の追加の決定 2026-11-30）。動きは outlink.js */
@layer page {
  /* 本文の中のリンク（自己紹介・書きこみ）：長い URL は行の幅で折る */
  .olink { color: var(--es-accent); text-decoration: underline; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
  @media (hover: hover) and (pointer: fine) { .olink:hover { text-decoration-thickness: var(--es-line-2); } }

  /* 自己紹介：画面で 6 行に畳む（JavaScript が無いときは全部出る） */
  .pf-bio, .my-win__bio { overflow-wrap: anywhere; }
  .is-clamp:not(.is-open) { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
  .bio-more { margin-top: var(--es-space-3); }
  .bio-more[hidden] { display: none; }

  /* SNS のマーク：各社の公式のマーク（形はそのまま）を字の色の単色で。枠 20px・押せる所 44px。飾りは付けない */
  .sns { display: flex; flex-wrap: wrap; align-items: center; gap: var(--es-space-5); margin-top: var(--es-space-13); margin-left: calc(var(--es-space-13) * -1); }
  .sns__a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--es-radius-full); color: var(--es-text-strong); }
  .sns__g { display: block; width: 20px; height: 20px; flex: 0 0 auto; }
  a.sns__a:focus-visible { outline: var(--es-line-2) solid var(--es-focus); outline-offset: calc(var(--es-space-3) * -1); }
  @media (hover: hover) and (pointer: fine) { a.sns__a:hover { background: var(--es-surface); } }
  .sns--pv { margin-top: var(--es-space-5); }

  /* マイページの SNS の欄 */
  .my-sns { margin: var(--es-space-34) 0 0; padding: 0; border: 0; min-width: 0; }
  .my-sns > legend { padding: 0; }
  .my-sns > .field__hint { margin-top: var(--es-space-5); }
  .my-sns__f { margin-top: var(--es-space-21); }
  .my-sns__l { display: inline-flex; align-items: center; gap: var(--es-space-8); }
  .my-sns__l .sns__g { color: var(--es-text-strong); }

  /* 確かめの窓：幕は半透明にしない（ほかの確かめの窓 .pdlg と同じ） */
  .odlg { width: min(610px, calc(100vw - 42px)); max-height: calc(100dvh - 42px); overflow-y: auto; padding: var(--es-space-34); border: 0; border-radius: var(--es-radius-l); background: var(--es-surface); color: var(--es-text); }
  .odlg::backdrop { background: var(--es-color-sumi); }
  .odlg__h { font-size: var(--es-text-26); line-height: var(--es-lh-26); color: var(--es-text-strong); text-wrap: balance; }
  .odlg__t { margin-top: var(--es-space-13); font-size: var(--es-text-16); line-height: var(--es-lh-16); text-wrap: pretty; }
  .odlg__s { display: inline-block; }
  .odlg__k { margin-top: var(--es-space-21); font-size: var(--es-text-13); line-height: var(--es-lh-13); color: var(--es-text-sub); }
  .odlg__url { margin-top: var(--es-space-3); padding: var(--es-space-13); border-radius: var(--es-radius-m); background: var(--es-bg); font-family: var(--es-font-num); font-size: var(--es-text-16); line-height: var(--es-lh-16); overflow-wrap: anywhere; word-break: break-all; }
  .odlg__dim { color: var(--es-text-sub); }
  .odlg__reg { font-weight: var(--es-fw-bold); color: var(--es-text-strong); }
  .odlg__act { display: flex; flex-wrap: wrap; gap: var(--es-space-13); margin-top: var(--es-space-34); }
  @media (max-width: 609px) {
    .odlg { padding: var(--es-space-21); }
    .odlg__act { flex-direction: column; }
    .odlg__act > * { width: 100%; }
  }
}
