/* マイページ（2026-11-11）。トップと違い body の zoom はかけず、そのままの幅で表示する */
* { box-sizing: border-box; }
body {
    margin: 0;
    padding: 0;
    color: #3d3d42;
    background: #f4f9ff;
    font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W4", 'メイリオ', "Osaka", "ＭＳ Ｐゴシック", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
a { color: #1f6fb2; }

.mp-header {
    padding: 12px 16px;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid #d5e4f1;
}
.mp-header a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.3;
    font-family: "Oswald", sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #3d3d42;
    text-decoration: none;
}
.mp-logo {
    width: 32px;
    height: 32px;
    flex: none;
}

.mp-main {
    max-width: 640px;
    margin: 0 auto;
    padding: 16px 16px 40px;
}
.mp-main h1 {
    margin: 4px 0 14px;
    font-size: 20px;
    text-align: center;
}
.mp-card {
    margin: 0 0 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid #d5e4f1;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(120, 150, 180, 0.12);
}
.mp-card h2 {
    margin: 0 0 6px;
    font-size: 17px;
}
.mp-card h3 {
    margin: 16px 0 8px;
    padding-top: 12px;
    border-top: 1px solid #e3e8ee;
    font-size: 15px;
}
.mp-note {
    margin: 0 0 10px;
    font-size: 13px;
    color: #6b7178;
}

/* ボタン */
.mp-btn {
    display: inline-block;
    min-height: 40px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.6;
    color: #fff;
    background: #1f6fb2;
    border: 1px solid #1f6fb2;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
.mp-btn:hover { background: #185c95; }
.mp-btn:disabled { opacity: 0.5; cursor: default; }
.mp-btn-sub {
    color: #1f6fb2;
    background: #eef5fc;
    border-color: #b9d5eb;
}
.mp-btn-sub:hover { background: #dcebf8; }
.mp-btn:focus-visible, .mp-chips button:focus-visible, .mp-suggest-btn:focus-visible, select:focus-visible {
    outline: 2px solid #1f6fb2;
    outline-offset: 2px;
}

/* プロフィール */
.mp-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.mp-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ddd;
}
.mp-profile-text { flex: 1 1 180px; min-width: 0; }
.mp-profile-text p { margin: 0; overflow-wrap: anywhere; }
.mp-name { font-size: 16px; font-weight: bold; }
.mp-email { font-size: 13px; color: #6b7178; }

/* 推しパフォーマー（色はトップの css/style.css の .oshi_card / .oshi_◯◯ と合わせる） */
[data-color="pink"]   { --oshi-bg: #ffe1ee; --oshi-ring: #ee6fa3; --oshi-text: #a3204f; --oshi-hover: #ffc9df; }
[data-color="purple"] { --oshi-bg: #ece3ff; --oshi-ring: #9b6fe0; --oshi-text: #5b2fa6; --oshi-hover: #dccbff; }
[data-color="blue"]   { --oshi-bg: #d6ecff; --oshi-ring: #3d94e6; --oshi-text: #17558f; --oshi-hover: #bcdfff; }
[data-color="green"]  { --oshi-bg: #dcf5df; --oshi-ring: #3fae5a; --oshi-text: #1e6b33; --oshi-hover: #c2ebc8; }
[data-color="orange"] { --oshi-bg: #ffe6d2; --oshi-ring: #f08a3c; --oshi-text: #9a4a0f; --oshi-hover: #ffd4b3; }
.mp-oshi-sample {
    display: inline-block;
    margin: 0 3px;
    padding: 0 8px;
    color: var(--oshi-text);
    font-weight: bold;
    background: var(--oshi-bg);
    border-radius: 4px;
    box-shadow: 0 0 0 2px var(--oshi-ring);
}
.mp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
    padding: 0;
    list-style: none;
}
.mp-chips li {
    display: flex;
    align-items: center;
    background: var(--oshi-bg);
    border: 1px solid var(--oshi-ring);
    border-radius: 20px;
    overflow: hidden;
}
.mp-chips a {
    padding: 6px 4px 6px 14px;
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    color: var(--oshi-text);
    text-decoration: none;
}
.mp-chips a:hover { text-decoration: underline; }
.mp-chips button {
    width: 36px;
    height: 36px;
    font-size: 18px;
    line-height: 1;
    color: var(--oshi-text);
    background: none;
    border: 0;
    cursor: pointer;
}
.mp-chips button:hover { background: var(--oshi-hover); }
.mp-empty { margin: 12px 0; font-size: 14px; color: #6b7178; }
.mp-add label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: bold; }
.mp-add-row { display: flex; gap: 8px; }
.mp-add-row select {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 40px;
    padding: 6px 8px;
    font-size: 16px; /* iPhone で選択時に画面が拡大しない大きさ */
    border: 1px solid #b9c6d2;
    border-radius: 6px;
    background: #fff;
}
.mp-suggest { margin-top: 12px; }
.mp-suggest .mp-note { margin-bottom: 6px; }
.mp-suggest-list { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-suggest-btn {
    min-height: 34px;
    padding: 4px 12px;
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    color: var(--oshi-text);
    background: #fff;
    border: 1px dashed var(--oshi-ring);
    border-radius: 18px;
    cursor: pointer;
}
.mp-suggest-btn:hover { background: var(--oshi-bg); }


/* 強調の色選び */
.mp-colors { margin: 16px 0 0; padding: 12px 0 0; border: 0; border-top: 1px solid #e3e8ee; }
.mp-colors legend { padding: 0; font-size: 13px; font-weight: bold; float: left; width: 100%; margin-bottom: 6px; }
.mp-color {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    margin: 0 10px 4px 0;
    font-size: 14px;
    cursor: pointer;
}
.mp-color input { width: 18px; height: 18px; margin: 0; }
.mp-swatch {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: var(--oshi-bg);
    box-shadow: 0 0 0 2px var(--oshi-ring);
}

/* 自己評価の記録 */
.mp-reviews { margin: 0 0 12px; padding: 0; list-style: none; }
.mp-reviews li { padding: 10px 0; border-top: 1px solid #e3e8ee; }
.mp-reviews li:first-child { border-top: 0; }
.mp-review-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.mp-review-head a { text-decoration: none; }
.mp-review-head a:hover .mp-review-program { text-decoration: underline; }
.mp-review-performer { font-family: "Oswald", sans-serif; font-size: 17px; color: #3d3d42; }
.mp-review-program { font-size: 14px; color: #1f6fb2; }
.mp-review-date { margin-left: auto; font-size: 12px; color: #6b7178; }
.mp-review-stars { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 4px 0 0; font-size: 13px; }
.mp-review-stars div { display: flex; gap: 6px; }
.mp-review-stars dt { color: #6b7178; }
.mp-review-stars dd { margin: 0; color: #e0a100; letter-spacing: 1px; }

/* スタジオの表示と並び順 */
.mp-studios { margin: 0 0 10px; padding: 0; list-style: none; }
.mp-studios li {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
    border-top: 1px solid #eef1f4;
}
.mp-studios li:first-child { border-top: 0; }
.mp-studios label {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    font-size: 14px;
    cursor: pointer;
}
.mp-studios input { width: 18px; height: 18px; margin: 0; flex: none; }
.mp-move {
    width: 40px;
    height: 36px;
    font-size: 16px;
    color: #1f6fb2;
    background: #eef5fc;
    border: 1px solid #b9d5eb;
    border-radius: 6px;
    cursor: pointer;
}
.mp-move:hover { background: #dcebf8; }
.mp-move:disabled { opacity: 0.35; cursor: default; }
.mp-move:focus-visible { outline: 2px solid #1f6fb2; outline-offset: 2px; }
.mp-btn-small { min-height: 34px; padding: 4px 12px; font-size: 13px; }

/* メッセージ */
.mp-msg { min-height: 1.6em; margin: 10px 0 0; font-size: 13px; color: #1b7a43; }
.mp-msg-error { color: #c0392b; }

/* 表示設定 */
.mp-checks { display: grid; grid-template-columns: 1fr; gap: 2px 12px; }
.mp-checks-2 { grid-template-columns: repeat(2, 1fr); }
.mp-checks label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    font-size: 14px;
    cursor: pointer;
}
.mp-checks input { width: 18px; height: 18px; margin: 0; flex: none; }
.mp-form-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.mp-form-foot .mp-msg { margin: 0; }

.mp-login { text-align: center; }
.mp-login .g_id_signin { display: inline-block; margin: 8px 0 12px; }
.mp-back { text-align: center; font-size: 14px; }

@media (min-width: 560px) {
    .mp-checks { grid-template-columns: repeat(2, 1fr); }
    .mp-checks-2 { grid-template-columns: repeat(3, 1fr); }
}
