/* ============================================================
   50-member.css — 会員まわりの画面
     1. ログインのカード（/login/）
     2. はじめの設定（/mypage/）
     3. プロフィールと機材の編集（/mypage/edit/）
        3-1. 上のバーと全体の枠　3-2. 入力の行　3-3. 機材の一覧　3-4. 投稿画面（1件ぶん）
        3-5. 写真の切り取り　3-6. 下の案内　3-7. 保存したあとのお知らせ（自分のページの下に数秒だけ出す）
     4. お問い合わせフォーム（固定ページ）
   v5.1.0 で、使われていない指定を消し、同じ要素への上書きを1つにまとめた。
   ============================================================ */

/* 読み上げ用（画面には出さない） */
.yup-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; }
body.yup-noscroll { overflow: hidden; }

/* ------------------------------------------------------------
   1. ログインのカード … HTML は inc/member-form.php の yup_render_login_card()
   ------------------------------------------------------------ */
.yup-login { display: flex; align-items: flex-start; justify-content: center; padding: 36px 0 60px; }
.yup-login__card { width: 100%; max-width: 400px; padding: 38px 36px 30px; border: 1px solid #e8e8e4; border-radius: 20px; background: var(--rl-bg); box-shadow: 0 4px 24px rgba(0,0,0,.05); text-align: center; }
.yup-login__logo { display: block; width: auto; height: 30px; margin: 0 auto 24px; }
.yup-login__title { margin: 0 0 26px; font-family: var(--ff-display); font-size: clamp(1.3125rem, 3.2vw, 1.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.5; color: var(--rl-text); }
.yup-login__hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.yup-login__google { display: flex; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; width: 100%; height: 54px; margin: 0 0 24px; padding: 0 20px; border: 1px solid #dcdcd8; border-radius: 999px; background: var(--rl-bg); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.yup-login__google:hover { border-color: #b4b4ad; box-shadow: 0 4px 14px rgba(0,0,0,.08); transform: translateY(-1px); }
.yup-login__google:active { box-shadow: none; transform: none; }
.yup-login__google-ico { flex: 0 0 auto; display: grid; place-items: center; width: 22px; height: 22px; }
.yup-login__google-ico svg { display: block; width: 22px; height: 22px; }
.yup-login__google-txt { font-family: var(--ff-body); font-size: 16px; font-weight: 600; line-height: 1; letter-spacing: -0.005em; color: #1c1c1e; }
.yup-login__points { list-style: none; margin: 0 0 20px; padding: 20px 0 0; border-top: 1px solid #f2f2ef; text-align: left; }
.yup-login__points li { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 9px; font-family: var(--ff-body); font-size: 12.5px; line-height: 1.7; color: #77776f; }
.yup-login__points li:last-child { margin-bottom: 0; }
.yup-login__points span { flex: 0 0 auto; display: grid; place-items: center; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: var(--rl-text); font-size: 8px; color: var(--rl-bg); }
.yup-login__fine { margin: 0; font-family: var(--ff-body); font-size: 10.5px; line-height: 1.8; color: #b0b0aa; }
.yup-login__fine a { color: #8f8f8a; text-decoration: underline; text-underline-offset: 2px; }
.yup-login__fine a:hover { color: var(--rl-text); }
@media (max-width: 600px) {
  .yup-login { padding: 22px 0 40px; }
  .yup-login__card { padding: 30px 22px 24px; border-radius: 18px; }
  .yup-login__logo { height: 26px; margin-bottom: 20px; }
  .yup-login__title { margin-bottom: 22px; font-size: 1.25rem; }
  .yup-login__google { height: 52px; margin-bottom: 22px; }
  .yup-login__google-txt { font-size: 15.5px; }
}

/* ------------------------------------------------------------
   2. はじめの設定（/mypage/）… HTML は inc/member-setup.php
   アイコン・名前・URL の3つだけを、順番に決めてもらう。
   ------------------------------------------------------------ */
.yup-setup { max-width: 560px; }
.yup-setup__steps { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.yup-setup__step { display: flex; align-items: flex-start; gap: 14px; margin: 0; }
.yup-setup__no { flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--rl-text); color: var(--rl-bg); font-family: var(--ff-display); font-size: 13px; font-weight: 700; line-height: 1; }
.yup-setup__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 8px; min-width: 0; }
.yup-setup__label { font-family: var(--ff-body); font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--rl-text); }
.yup-setup__hint { font-family: var(--ff-body); font-size: 12px; line-height: 1.75; color: var(--rl-text-3); }
.yup-setup__hint strong { font-weight: 700; color: #c0433f; }
.yup-setup input[type="text"] { box-sizing: border-box; width: 100%; padding: 11px 14px; border: 1px solid var(--rl-line); border-radius: 10px; background: var(--rl-bg); font-family: inherit; font-size: 15px; color: var(--rl-text); }
.yup-setup input:focus { outline: none; border-color: #1d4e5c; box-shadow: 0 0 0 3px rgba(29,78,92,.1); }
.yup-setup input.is-warn { border-color: #c0433f; }
.yup-setup ::placeholder { color: #b8b6ad; }
/* ユーザーID：SNS と同じように、先頭の @ は枠の中に置いて、続きだけを入れてもらう */
.yup-setup__url { display: flex; align-items: center; padding-left: 14px; border: 1px solid var(--rl-line); border-radius: 10px; background: var(--rl-bg); }
.yup-setup__url:focus-within { border-color: #1d4e5c; box-shadow: 0 0 0 3px rgba(29,78,92,.1); }
.yup-setup__url-at { flex: 0 0 auto; font-family: var(--ff-body); font-size: 16px; font-weight: 600; color: var(--rl-text-3); }
.yup-setup__url input[type="text"] { flex: 1 1 auto; min-width: 0; padding-left: 3px; border: 0; border-radius: 0; background: transparent; }
.yup-setup__url input:focus, .yup-setup__url input.is-warn { border: 0; box-shadow: none; }
.yup-setup .yup-row__alert { font-size: 12px; color: #216c3f; }
.yup-setup .yup-row__alert.is-warn { color: #c0433f; }
.yup-setup__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 32px; }
.yup-setup__later { font-family: var(--ff-body); font-size: 13px; color: var(--rl-text-3); text-decoration: none; }
.yup-setup__later:hover { color: var(--rl-text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .yup-setup__steps { gap: 22px; }
  .yup-setup__foot { gap: 14px; }
  .yup-setup__foot .yup-btn { width: 100%; }
}

/* ------------------------------------------------------------
   3. プロフィールと機材の編集（/mypage/edit/）… HTML は inc/member-form.php
   ------------------------------------------------------------ */

/* 3-1. 上のバーと全体の枠
   この画面ではサイトのヘッダーを隠す（60-cocoon.css）ので、代わりのバーを出す。 */
.yup-editbar { position: fixed; left: 0; right: 0; top: 0; z-index: 1000; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 24px; background: var(--rl-text); border-bottom: 1px solid #1e1e21; }
.yup-editbar__back { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; font-family: var(--ff-body); font-size: 13px; font-weight: 500; color: rgba(255,255,255,.72); text-decoration: none; }
.yup-editbar__back:hover { color: var(--rl-bg); }
.yup-editbar__back svg { width: 16px; height: 16px; }
.yup-editbar__title { flex: 1 1 auto; min-width: 0; font-family: var(--ff-display); font-size: 14px; font-weight: 700; color: var(--rl-bg); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yup-editbar__save { flex: 0 0 auto; padding: 9px 22px; border: 0; border-radius: 999px; background: var(--rl-bg); color: var(--rl-text); cursor: pointer; font-family: inherit; font-size: 13.5px; font-weight: 700; }
.yup-editbar__save:hover { background: #e8e8e4; }
.admin-bar .yup-editbar { top: 32px; }
@media (max-width: 833px) {
  .admin-bar .yup-editbar { top: 46px; }
  .yup-editbar { padding: 0 16px; }
}
body.yup-editing { padding-top: 0; }

.yup-my { --my-gap: 12px; --my-label: 116px; padding-top: 84px; padding-bottom: 80px; font-family: var(--ff-body); color: var(--rl-text); }
.yup-my__form { display: flex; flex-direction: column; gap: 18px; }
/* それぞれのまとまりを、白いカードにして間を空ける（ほかのページのカードと同じ形） */
.yup-card { padding: 22px 24px 20px; border: 1px solid var(--rl-line); border-radius: 18px; background: var(--rl-bg); }
.yup-sechead { display: flex; align-items: center; gap: 12px; margin: 0 0 4px; padding-bottom: 14px; border-bottom: 1px solid var(--rl-line); font-family: var(--ff-display); font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.yup-sechead__num { font-family: var(--ff-mono); font-size: 13px; font-style: normal; font-weight: 400; color: var(--rl-text-3); }
.yup-sechead__btn { margin-left: auto; padding: 9px 18px; border: 0; border-radius: 999px; background: var(--rl-text); color: var(--rl-bg); cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 700; }
.yup-sechead__btn:hover { opacity: .85; }
/* 2つ並ぶとき（＋ 見出し ／ ＋ 機材）：右に寄せるのは左のボタンだけ。「＋ 見出し」は白いボタンにする */
.yup-sechead__btn + .yup-sechead__btn { margin-left: 0; }
.yup-sechead__btn--sub { padding: 8px 17px; border: 1px solid var(--rl-line); background: var(--rl-bg); color: var(--rl-text); }
.yup-sechead__btn--sub:hover { opacity: 1; background: var(--rl-bg-soft); }
.yup-my__save { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 4px 0 0; }
.yup-my__save-note { margin: 0; font-size: 12px; color: var(--rl-text-3); }
.yup-my__foot { margin-top: 26px; }

/* 3-2. 入力の行（ラベルが左、入力欄が右） */
.yup-row { display: grid; grid-template-columns: var(--my-label) minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: center; padding: var(--my-gap) 0; border-bottom: 1px solid var(--rl-line); }
.yup-row:last-child { border-bottom: 0; }
.yup-row__label { align-self: center; font-size: 12.5px; font-weight: 600; color: var(--rl-text-2); }
.yup-row__label em { margin-left: 2px; color: #c0433f; font-style: normal; }
.yup-row > *:not(.yup-row__label) { grid-column: 2; min-width: 0; }
.yup-row__hint { font-size: 11px; line-height: 1.7; color: var(--rl-text-3); }
.yup-row__alert { font-size: 11.5px; color: #c0433f; }
.yup-row__alert[hidden] { display: none; }
.yup-my input[type="text"], .yup-my input[type="url"], .yup-my input[type="email"], .yup-my textarea { box-sizing: border-box; width: 100%; padding: 9px 12px; border: 1px solid var(--rl-line); border-radius: 10px; background: var(--rl-bg); font-family: inherit; font-size: 14px; color: var(--rl-text); }
.yup-my textarea { min-height: 76px; line-height: 1.8; resize: vertical; }
.yup-my input:focus, .yup-my textarea:focus { outline: none; border-color: #1d4e5c; box-shadow: 0 0 0 3px rgba(29,78,92,.1); }
.yup-my input.is-warn { border-color: #c0433f; }
.yup-my ::placeholder { color: #b8b6ad; }

/* アイコン */
.yup-ava { display: flex; align-items: center; gap: 12px; }
.yup-ava__img { display: flex; flex: 0 0 56px; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--rl-bg-alt) center / cover no-repeat; }
.yup-ava__img.is-empty { border: 1px dashed var(--rl-line); }
.yup-ava__img:not(.is-empty) .yup-ava__ph { display: none; }
.yup-ava__ph { display: inline-flex; color: #c4c2ba; }
.yup-ava__ph svg { width: 26px; height: 26px; }
.yup-ava__btn { flex: 0 0 auto; padding: 8px 16px; border: 1px solid var(--rl-line); border-radius: 999px; background: var(--rl-bg); cursor: pointer; font-family: inherit; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.yup-ava__btn:hover { background: var(--rl-bg-soft); }
.yup-ava__note { font-size: 11px; line-height: 1.6; color: var(--rl-text-3); }

/* ポジションのチップ（狭い画面でも折り返す。横スクロールだと端が切れて気づけないため） */
.yup-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.yup-chip { flex: 0 0 auto; display: inline-flex; align-items: center; padding: 6px 14px; border: 1px solid var(--rl-line); border-radius: 999px; background: var(--rl-bg); cursor: pointer; font-size: 12.5px; color: var(--rl-text-2); transition: background .12s ease, border-color .12s ease, color .12s ease; }
.yup-chip input { position: absolute; width: 0; height: 0; opacity: 0; }
.yup-chip:hover { border-color: #ada595; }
.yup-chip.is-on { border-color: var(--rl-text); background: var(--rl-text); color: var(--rl-bg); }

/* 所属バンド */
.yup-bands { display: flex; flex-direction: column; gap: 6px; }
.yup-bands__row { display: flex; align-items: center; gap: 6px; }
.yup-bands__row input { flex: 1 1 auto; }
.yup-bands__del { display: inline-flex; flex: 0 0 32px; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--rl-line); border-radius: 9px; background: var(--rl-bg); color: var(--rl-text-3); cursor: pointer; }
.yup-bands__del:hover { background: var(--rl-bg-soft); color: #c0433f; }
.yup-bands__del svg { width: 13px; height: 13px; }
.yup-bands__add { justify-self: start; margin-top: 6px; padding: 7px 14px; border: 1px dashed var(--rl-line); border-radius: 999px; background: transparent; cursor: pointer; font-family: inherit; font-size: 12.5px; color: var(--rl-text-2); }
.yup-bands__add:hover { border-color: #ada595; color: var(--rl-text); }

/* SNS（アイコンは角丸四角。表示側とそろえる） */
.yup-sns { display: flex; flex-direction: column; gap: 6px; }
.yup-sns__row { display: flex; align-items: center; gap: 9px; }
.yup-sns__row input { flex: 1 1 auto; }
.yup-sns__ico { display: inline-flex; flex: 0 0 30px; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 25%; color: var(--rl-bg); }
.yup-sns__ico svg { width: 15px; height: 15px; }
.yup-sns__ico--x { background: #1c1c1e; }
.yup-sns__ico--ig { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.yup-sns__ico--yt { background: #f00; }
.yup-sns__ico--link { background: #5f5e5a; }

/* 3-3. 機材の一覧（つかんで並べ替えられるカード） */
.yup-gs__note { margin: 12px 0 0; font-size: 11.5px; line-height: 1.8; color: var(--rl-text-3); }
.yup-gs__empty { margin: 14px 0 0; padding: 26px; border-radius: 12px; background: var(--rl-bg-soft); font-size: 13px; color: var(--rl-text-3); text-align: center; }
.yup-gs__empty[hidden] { display: none; }
.yup-gs__list { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
/* 見出しの行（v5.4.0：「＋ 見出し」で足して、名前を入れ、機材と同じようにつかんで動かす）
   下の太い線が区切り。この線から下の機材が、ひとつのまとまりになる */
.yup-gs__sep { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 14px 0 2px; padding: 0 4px 6px 2px; border-bottom: 2px solid #1c1c1e; background: var(--rl-bg); transition: transform .18s ease, box-shadow .18s ease; }
.yup-gs__list > .yup-gs__sep:first-child { margin-top: 0; }
.yup-gs__sep.is-empty { border-bottom-style: dashed; border-bottom-color: #ada595; }
.yup-gs__sep.is-lift { position: relative; z-index: 3; border-radius: 10px; box-shadow: 0 10px 28px rgba(0,0,0,.2); transform: scale(1.02); }
.yup-gs__sep-tag { flex: 0 0 auto; font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--rl-text-3); }
/* 名前の入力欄（.yup-my input[type="text"] より強く指定して、見出しらしい太い文字にする） */
.yup-gs__list .yup-gs__sep-name[type="text"] { flex: 1 1 0; width: auto; min-width: 0; padding: 7px 10px; border: 1px solid transparent; border-radius: 8px; background: var(--rl-bg-soft); font-family: var(--ff-display); font-size: 15px; font-weight: 800; letter-spacing: .01em; }
.yup-gs__list .yup-gs__sep-name[type="text"]:hover { border-color: var(--rl-line); }
.yup-gs__list .yup-gs__sep-name[type="text"]:focus { border-color: #1d4e5c; background: var(--rl-bg); }
.yup-gs__list .yup-gs__sep-name[type="text"]::placeholder { font-weight: 500; }
.yup-gs__sep-del { display: inline-flex; flex: 0 0 32px; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--rl-text-3); cursor: pointer; }
.yup-gs__sep-del:hover { background: var(--rl-bg-soft); color: #c0433f; }
.yup-gs__sep-del:focus-visible { outline: 2px solid #1d4e5c; outline-offset: -2px; }
.yup-gs__sep-del svg { width: 15px; height: 15px; pointer-events: none; }
.yup-gs__sep-hint { flex: 1 0 100%; font-size: 11px; line-height: 1.6; color: var(--rl-text-3); }
.yup-gs__sep-hint[hidden] { display: none; }
/* 動かしているあいだは、文字を選ばない・手の形のカーソルにする */
body.yup-dragging { -webkit-user-select: none; user-select: none; }
body.yup-dragging, body.yup-dragging * { cursor: grabbing; }
.yup-gcard { display: flex; align-items: center; gap: 10px; padding: 9px 4px 9px 12px; border: 1px solid var(--rl-line); border-radius: 12px; background: var(--rl-bg); transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease, border-color .15s ease; }
.yup-gcard:hover { border-color: #ada595; }
.yup-gcard.is-lift { position: relative; z-index: 3; border-color: #ada595; box-shadow: 0 10px 28px rgba(0,0,0,.2); transform: scale(1.02); }
.yup-gcard__shot { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 9px; overflow: hidden; background: var(--rl-bg-alt); }
.yup-gcard__shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.yup-gcard__body { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.yup-gcard__maker { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--rl-text-3); }
.yup-gcard__name { overflow: hidden; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.yup-gcard__note { overflow: hidden; font-size: 11.5px; color: var(--rl-text-3); text-overflow: ellipsis; white-space: nowrap; }
.yup-gcard__plays { margin-top: 2px; font-size: 11px; color: #1d4e5c; }
.yup-gcard__edit { flex: 0 0 auto; padding: 7px 15px; border: 1px solid var(--rl-line); border-radius: 999px; background: var(--rl-bg); cursor: pointer; font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--rl-text); }
.yup-gcard__edit:hover { background: var(--rl-bg-soft); }
.yup-gcard__grip, .yup-gs__grip { display: inline-flex; flex: 0 0 34px; align-items: center; justify-content: center; height: 46px; padding: 0; border: 0; background: transparent; color: #b3b0a6; cursor: grab; touch-action: none; }
.yup-gcard__grip:active, .yup-gs__grip:active { cursor: grabbing; }
.yup-gcard__grip:focus-visible, .yup-gs__grip:focus-visible { outline: 2px solid #1d4e5c; outline-offset: -2px; border-radius: 8px; }
.yup-gcard__grip svg, .yup-gs__grip svg { width: 18px; height: 18px; pointer-events: none; }
.yup-gs__grip { height: 40px; }

/* 3-4. 投稿画面（1件ぶんの入力欄を、画面いっぱいに開く） */
.yup-gitems[hidden], .yup-gitem[hidden] { display: none; }
.yup-gitem, .yup-gitem__fields { display: block; }
.yup-sheet { --my-label: 116px; --my-gap: 12px; position: fixed; inset: 0; z-index: 1100; display: flex; justify-content: center; overflow-y: auto; background: rgba(28,28,30,.45); }
.yup-sheet[hidden] { display: none; }
.yup-sheet__panel { display: flex; flex-direction: column; box-sizing: border-box; width: 100%; max-width: 680px; min-height: 100%; background: var(--rl-bg); }
.yup-sheet__panel * { max-width: 100%; box-sizing: border-box; }
.yup-sheet__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 14px; border-bottom: 1px solid var(--rl-line); background: var(--rl-bg); }
.yup-sheet__close { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--rl-text); cursor: pointer; }
.yup-sheet__close:hover { background: var(--rl-bg-soft); }
.yup-sheet__close svg { width: 18px; height: 18px; }
.yup-sheet__title { flex: 1 1 auto; font-size: 15px; font-weight: 700; }
.yup-sheet__done { padding: 9px 22px; border: 0; border-radius: 999px; background: var(--rl-text); color: var(--rl-bg); cursor: pointer; font-family: inherit; font-size: 13.5px; font-weight: 700; }
.yup-sheet__done:hover { opacity: .85; }
.yup-sheet__err { margin: 0; padding: 10px 16px; background: #fdecea; font-size: 13px; font-weight: 600; line-height: 1.6; color: #b42318; }
.yup-sheet__body { flex: 1 1 auto; padding: 8px 18px 48px; }
.yup-sheet input[type="text"], .yup-sheet input[type="url"], .yup-sheet textarea { box-sizing: border-box; width: 100%; padding: 9px 12px; border: 1px solid var(--rl-line); border-radius: 10px; background: var(--rl-bg); font-family: var(--ff-body); font-size: 14px; color: var(--rl-text); }
.yup-sheet textarea { min-height: 76px; line-height: 1.8; resize: vertical; }
.yup-sheet input:focus, .yup-sheet textarea:focus { outline: none; border-color: #1d4e5c; box-shadow: 0 0 0 3px rgba(29,78,92,.1); }
.yup-gfield { display: grid; grid-template-columns: var(--my-label) minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: center; margin: 0; padding: var(--my-gap) 0; border-bottom: 1px solid var(--rl-line); }
.yup-gfield:last-of-type { border-bottom: 0; }
.yup-gfield__label { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--rl-text-2); }
.yup-gfield__label i { margin-left: 2px; color: #c0433f; font-style: normal; }
.yup-gfield > *:not(.yup-gfield__label) { grid-column: 2; min-width: 0; }
.yup-gfield > .yup-pick { justify-self: start; }
/* 写真を選ぶ */
.yup-pick { display: inline-flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; padding: 8px 18px 8px 8px; border: 1px dashed var(--rl-line); border-radius: 12px; background: var(--rl-bg-soft); cursor: pointer; }
.yup-pick:hover { border-color: #ada595; }
.yup-pick__box { display: flex; flex: 0 0 64px; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--rl-bg); color: #c4c2ba; }
.yup-pick__box img { width: 100%; height: 100%; object-fit: cover; }
.yup-pick__box svg { width: 22px; height: 22px; }
.yup-pick__ico { display: inline-flex; }
.yup-pick__txt { font-size: 13px; font-weight: 600; }
.yup-pick input[type="file"] { position: absolute; width: 0; height: 0; opacity: 0; }
/* 演奏リンク */
.yup-plays { padding: 12px 14px; border: 1px solid var(--rl-line); border-radius: 12px; }
.yup-plays > summary { list-style: none; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--rl-text-2); }
.yup-plays > summary::-webkit-details-marker { display: none; }
.yup-plays > summary::before { content: "▸ "; color: var(--rl-text-3); }
.yup-plays[open] > summary::before { content: "▾ "; }
.yup-plays__sum { display: flex; align-items: center; gap: 8px; }
.yup-plays__sum-ico { display: inline-flex; color: var(--rl-text-3); }
.yup-plays__sum-ico svg { width: 15px; height: 15px; }
.yup-plays__count { font-family: var(--ff-mono); font-size: 11.5px; color: var(--rl-text-3); }
.yup-play-row { display: flex; align-items: center; gap: 10px; }
.yup-play-fields { display: flex; flex: 1 1 auto; flex-direction: column; gap: 7px; min-width: 0; }
.yup-play-thumb { position: relative; flex: 0 0 96px; width: 96px; height: 54px; border: 1px dashed var(--rl-line); border-radius: 8px; overflow: hidden; background: var(--rl-bg-soft); cursor: pointer; transition: border-color .15s ease; }
.yup-play-thumb:hover { border-color: #ada595; }
.yup-play-thumb[data-has="1"] { border-style: solid; }
.yup-play-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.yup-play-thumb__ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; height: 100%; font-size: 9.5px; line-height: 1.3; color: #a8a69c; text-align: center; }
.yup-play-thumb__ph svg { width: 15px; height: 15px; }
.yup-play-thumb__ico { display: inline-flex; }
.yup-play-thumb__edit { position: absolute; right: 4px; bottom: 4px; padding: 2px 7px; border-radius: 999px; background: rgba(28,28,30,.72); font-size: 10px; line-height: 1.4; color: var(--rl-bg); }
.yup-play-thumb input[type="file"] { position: absolute; width: 0; height: 0; opacity: 0; }
.yup-gitem__del { display: inline-block; margin-top: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; font-family: inherit; font-size: 11.5px; color: var(--rl-text-3); text-decoration: underline; text-underline-offset: 3px; }
.yup-gitem__del:hover { color: #c0433f; }

/* 3-5. 写真の切り取り（アイコン・機材の写真で共通） */
.yup-crop { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(28,28,30,.7); }
.yup-crop[hidden] { display: none; }
.yup-crop__box { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 420px; padding: 20px; border-radius: 18px; background: var(--rl-bg); }
.yup-crop__head { display: flex; align-items: center; justify-content: space-between; }
.yup-crop__title { font-size: 15px; font-weight: 700; }
.yup-crop__note { font-size: 11.5px; color: var(--rl-text-3); }
.yup-crop__mask { position: relative; border-radius: 12px; overflow: hidden; background: #1c1c1e; }
.yup-crop__canvas { display: block; width: 100%; cursor: grab; touch-action: none; }
.yup-crop__zoom { display: flex; align-items: center; gap: 10px; }
.yup-crop__zoom input { flex: 1 1 auto; accent-color: #1d4e5c; }
.yup-crop__zoom-ico { color: var(--rl-text-3); }
.yup-crop__zoom-ico--s svg { width: 13px; height: 13px; }
.yup-crop__zoom-ico--l svg { width: 19px; height: 19px; }
.yup-crop__actions { display: flex; justify-content: flex-end; gap: 9px; }
.yup-crop__cancel, .yup-crop__ok { padding: 10px 22px; border-radius: 999px; cursor: pointer; font-family: inherit; font-size: 13.5px; font-weight: 700; }
.yup-crop__cancel { border: 1px solid var(--rl-line); background: var(--rl-bg); color: var(--rl-text); }
.yup-crop__cancel:hover { background: var(--rl-bg-soft); }
.yup-crop__ok { border: 0; background: var(--rl-text); color: var(--rl-bg); }
.yup-crop__ok:hover { opacity: .85; }
.yup-crop.is-square .yup-crop__stage { border-radius: 0; }
.yup-crop.is-square .yup-crop__circle { display: none; }

/* 3-6. 下の案内 */
.yup-guide { max-width: 700px; margin: 8px 0 0; padding: 20px 0 0; border-top: 1px solid #f0f0ee; font-family: var(--ff-body); }
.yup-guide h2 { margin: 0 0 10px; font-family: var(--ff-body); font-size: 11px; font-weight: 500; letter-spacing: .1em; color: #a8a8a1; }
.yup-guide ol { margin: 0 0 8px; padding-left: 1.2em; }
.yup-guide li, .yup-guide p { margin: 0 0 4px; font-size: 11.5px; line-height: 1.8; color: #a8a8a1; }
.yup-guide a { color: #8f8f8a; text-decoration: underline; text-underline-offset: 2px; }
.yup-guide a:hover { color: var(--rl-text); }

/* 新しく足した行は、すっと出す */
.yup-gcard.is-new, .yup-bands__row.is-new { animation: yupRise .28s cubic-bezier(.22,.61,.36,1) both; }
@media (prefers-reduced-motion: reduce) {
  .yup-gcard.is-new, .yup-bands__row.is-new { animation: none; }
  .yup-gcard, .yup-gs__sep { transition: none; }
}

/* 狭い画面：ラベルを上に、入力欄を下に置く */
@media (max-width: 767px) {
  .yup-my { --my-gap: 10px; padding-top: 76px; padding-bottom: 64px; }
  .yup-card { padding: 18px 16px 16px; border-radius: 16px; }
  .yup-row, .yup-gfield { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
  .yup-row > *:not(.yup-row__label), .yup-gfield > *:not(.yup-gfield__label) { grid-column: 1; }
  .yup-ava__note { display: none; }
  .yup-gcard { gap: 9px; padding: 8px 2px 8px 10px; }
  .yup-gcard__shot { flex-basis: 46px; width: 46px; height: 46px; }
  .yup-gcard__edit { padding: 6px 12px; font-size: 12px; }
  .yup-sheet__body { padding: 6px 14px 48px; }
  .yup-my__save .yup-btn { width: 100%; }
  .yup-my input[type="text"], .yup-my input[type="url"], .yup-my input[type="email"], .yup-my textarea,
  .yup-sheet input[type="text"], .yup-sheet input[type="url"], .yup-sheet textarea { font-size: 16px; }
  .yup-gs__list .yup-gs__sep-name[type="text"] { font-size: 16px; }
}

/* 3-7. 保存したあとのお知らせ（v5.4.0）… HTML は templates/single-member.php
   画面の下のまん中に出て、数秒で消える。押しても消える */
.yup-toast { position: fixed; left: 50%; bottom: 24px; z-index: 1200; display: flex; align-items: center; gap: 10px; box-sizing: border-box; width: max-content; max-width: calc(100% - 32px); padding: 12px 20px 12px 16px; border-radius: 14px; background: #1c1c1e; box-shadow: 0 10px 30px rgba(0,0,0,.22); font-family: var(--ff-body); font-size: 13.5px; font-weight: 600; line-height: 1.6; color: #fff; cursor: pointer; opacity: 0; transform: translate(-50%, 16px); transition: opacity .3s ease, transform .3s ease; }
.yup-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.yup-toast svg { flex: 0 0 18px; width: 18px; height: 18px; color: #7fd49a; }
@media (max-width: 767px) {
  .yup-toast { bottom: 16px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .yup-toast { transition: none; }
}

/* ------------------------------------------------------------
   4. お問い合わせフォーム（固定ページ）… HTML は inc/site.php
   ------------------------------------------------------------ */
.yup-mform { width: 100%; margin: 0 0 48px; padding: 38px 42px 32px; border: 1px solid var(--rl-line); border-radius: 18px; background: var(--rl-bg); font-family: var(--ff-body); }
.yup-mform__row { display: block; margin: 0 0 28px; }
.yup-mform__label { display: block; margin-bottom: 10px; font-size: var(--fs-base); font-weight: 600; letter-spacing: .02em; color: var(--rl-text-2); }
.yup-mform__label em { color: #c0433f; font-style: normal; }
.yup-mform input[type="text"], .yup-mform input[type="email"], .yup-mform input[type="url"], .yup-mform textarea { box-sizing: border-box; width: 100%; padding: 14px 16px; border: 1px solid var(--rl-line); border-radius: 12px; background: #fafafa; font-family: var(--ff-body); font-size: var(--fs-base); color: var(--rl-text); transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.yup-mform input:focus, .yup-mform textarea:focus { outline: none; border-color: #b9b9b9; background: var(--rl-bg); box-shadow: 0 0 0 3px rgba(0,0,0,.045); }
.yup-mform__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 36px; padding-top: 26px; border-top: 1px solid #ececec; }
.yup-mform__msg { margin-bottom: 22px; padding: 14px 18px; border-radius: 12px; font-family: var(--ff-body); font-size: 13.5px; line-height: 1.7; }
.yup-mform__msg--ok { border: 1px solid #cfe7d8; background: #edf7f0; color: #216c3f; }
.yup-mform__msg--error { border: 1px solid #f2cfcf; background: #fdeeee; color: #a33; }
.yup-cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) {
  .yup-mform { padding: 24px 18px; }
  .yup-mform__actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 28px; padding-top: 20px; }
}

/* 管理画面の中の小さな部品（アイコンの差し替えなど） */
.yup-admin-row { display: flex; align-items: center; gap: 10px; }
.yup-admin-note { font-size: 12px; color: var(--rl-text-3); }
