/* マスコットパネル（管理画面 / スタジオ 共通）— 演出ごとにキャラを選ぶカードUI */
.mp-row {
  display: grid;
  grid-template-columns: minmax(150px, 210px) 1fr;
  gap: 10px 14px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.mp-row:first-child { border-top: 0; padding-top: 4px; }
.mp-row.mp-global {
  background: linear-gradient(90deg, rgba(217,180,91,0.10), transparent 70%);
  border-radius: 10px;
  padding: 12px 10px;
  margin-bottom: 4px;
}
.mp-effect { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mp-effect b { font-size: 14px; font-weight: 900; color: #eef2fa; }
.mp-global .mp-effect b { color: #ffe08a; }
.mp-effect small { font-size: 11.5px; line-height: 1.5; color: #93a0ba; font-weight: 700; }
.mp-try {
  align-self: flex-start;
  margin-top: 4px;
  appearance: none;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 900;
  color: #58c6e2;
  background: transparent;
  border: 1px solid #58c6e2;
  border-radius: 999px;
  padding: 4px 10px;
  cursor: pointer;
  min-height: 28px;
}
.mp-try:hover { background: rgba(88,198,226,0.12); }
.mp-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-card {
  appearance: none;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 92px;
  padding: 8px 6px 7px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  color: #eef2fa;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s, transform 0.12s;
}
.mp-card:hover { border-color: rgba(88,198,226,0.6); background: rgba(88,198,226,0.08); }
.mp-card.on {
  border-color: #d9b45b;
  background: rgba(217,180,91,0.14);
  box-shadow: 0 0 0 1px rgba(217,180,91,0.35), 0 0 14px rgba(217,180,91,0.25);
}
.mp-card.on .mp-label::before { content: '✔ '; color: #ffe08a; }
.mp-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 60%, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.mp-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mp-card.party { width: 118px; }
.mp-card.party .mp-thumb { width: 104px; height: 60px; }
.mp-thumb-none { font-size: 24px; font-weight: 900; color: #93a0ba; }
.mp-label { font-size: 12px; font-weight: 900; line-height: 1.2; text-align: center; word-break: keep-all; }
.mp-sub { font-size: 10px; font-weight: 700; color: #93a0ba; text-align: center; line-height: 1.2; }
.mp-card[data-id="default"] .mp-thumb { opacity: 0.75; filter: saturate(0.7); }
.mp-card[data-id="default"].on .mp-thumb { opacity: 1; filter: none; }
.mp-hint { margin-top: 10px; font-size: 12px; line-height: 1.7; color: #93a0ba; }
.mp-hint code { font-family: ui-monospace, Menlo, monospace; font-size: 11px; background: rgba(255,255,255,0.06); padding: 1px 5px; border-radius: 4px; }

@media (max-width: 640px) {
  .mp-row { grid-template-columns: 1fr; gap: 8px; }
  .mp-card { width: 80px; }
  .mp-thumb { width: 54px; height: 54px; }
}

/* ---- ポーズ選択（演出行の下段） ---- */
.mp-poses {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(88,198,226,0.05);
  border: 1px dashed rgba(88,198,226,0.25);
}
.mp-poses-none { border-style: solid; border-color: rgba(255,255,255,0.06); background: transparent; }
.mp-poses-none small { font-size: 11.5px; color: #93a0ba; font-weight: 700; align-self: center; }
.mp-poses-label { font-size: 12px; font-weight: 900; color: #9fe4f5; align-self: center; min-width: 5.5em; }
.mp-poses-label small { font-weight: 700; color: #93a0ba; margin-left: 2px; }
.mp-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-slot {
  appearance: none; font-family: inherit; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  width: 78px; padding: 6px 4px 5px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.10);
  border-radius: 10px; color: #eef2fa;
}
.mp-slot .mp-thumb { width: 52px; height: 52px; }
.mp-slot .mp-label { font-size: 11px; }
.mp-slot .mp-sub { font-size: 10px; }
.mp-slot:hover { border-color: rgba(88,198,226,0.6); }
.mp-slot.custom { border-color: rgba(88,198,226,0.7); background: rgba(88,198,226,0.10); }
.mp-slot.custom .mp-sub { color: #9fe4f5; }
.mp-slot.open { border-color: #ffe08a; box-shadow: 0 0 0 1px rgba(255,224,138,0.4); }
.mp-picker {
  flex-basis: 100%;
  margin-top: 4px; padding: 8px 10px 10px;
  background: rgba(11,16,28,0.7);
  border: 1px solid rgba(255,224,138,0.35);
  border-radius: 10px;
}
.mp-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 900; color: #ffe08a; margin-bottom: 8px; }
.mp-picker-close {
  appearance: none; font-family: inherit; cursor: pointer;
  background: transparent; color: #93a0ba; border: 1px solid rgba(255,255,255,0.15); border-radius: 999px;
  width: 26px; height: 26px; font-size: 12px; font-weight: 900;
}
.mp-picker-close:hover { color: #eef2fa; border-color: rgba(255,255,255,0.4); }
.mp-picker-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-pose {
  appearance: none; font-family: inherit; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  width: 66px; padding: 5px 3px 4px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.10);
  border-radius: 9px; color: #eef2fa;
}
.mp-pose .mp-thumb { width: 50px; height: 50px; border-radius: 8px; }
.mp-pose .mp-label { font-size: 10.5px; }
.mp-pose:hover { border-color: rgba(88,198,226,0.6); background: rgba(88,198,226,0.08); }
.mp-pose.on { border-color: #d9b45b; background: rgba(217,180,91,0.16); }
.mp-pose.on .mp-label::before { content: '✔ '; color: #ffe08a; }
