.party-member-row { display:flex; align-items:center; gap:12px; padding-right:12px; }
.champions-page .party-member-row .member { flex:1; min-width:0; height:auto; min-height:86px; grid-template-columns:42px minmax(0,1fr); gap:12px; font-size:16px; }
.champions-page .party-member-row .portrait { width:42px; height:42px; }
.member-actions { display:flex; gap:6px; flex-shrink:0; }
.member-detail-button { display:inline-flex; align-items:center; justify-content:center; min-height:40px; white-space:nowrap; font:700 12px 'Noto Sans JP',sans-serif; color:var(--team); background:#fff9; border:1px solid color-mix(in srgb,var(--team) 45%,#fff); border-radius:4px; padding:8px 10px; cursor:pointer; transition:background .15s,border-color .15s; }
.member-detail-button:hover { background:var(--tint); border-color:var(--team); }
.member-detail-button:focus-visible { outline:2px solid var(--team); outline-offset:2px; }
.champions-page .team-grid { align-items:start; grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:1050px) and (min-width:701px) { .member-actions { flex-direction:column; gap:4px; }.member-detail-button { min-height:32px; padding:5px 8px; }.champions-page .party-member-row .member { font-size:15px; } }
@media(max-width:700px) { .champions-page .team-grid { grid-template-columns:1fr; }.party-member-row { gap:7px; padding-right:10px; }.champions-page .party-member-row .member { font-size:15px; gap:8px; min-height:84px; grid-template-columns:36px minmax(0,1fr); }.champions-page .party-member-row .portrait { width:36px; height:36px; }.member-actions { gap:5px; }.member-detail-button { padding:8px; } }
@media(max-width:360px) { .member-actions { flex-direction:column; gap:4px; }.member-detail-button { min-height:33px; padding:5px 8px; } }

.party-editor { margin:36px 0; border-top:2px solid var(--line); padding-top:24px; }
.party-editor h2 { font-size:24px; margin:0 0 14px; }
.party-admin-top,.party-admin-bottom { display:flex; align-items:center; gap:14px; justify-content:space-between; flex-wrap:wrap; margin-bottom:18px; }
.party-admin-top label { display:flex; align-items:center; gap:12px; font-size:14px; font-weight:700; }
.party-admin-top select { min-height:42px; padding:7px 12px; font:inherit; color:var(--ink); border:1px solid var(--line); border-radius:4px; background:white; }
.party-private-status { font-size:13px; font-weight:700; padding:8px 12px; color:#4a4862; background:#ebe9f4; border-radius:4px; }
.party-private-status[data-published=true] { color:#235947; background:#e3f1e7; }
.party-editor-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.party-edit-slot { border:0; border-top:2px solid #b3c7d5; padding:12px 0 0; min-width:0; }
.party-edit-slot legend { padding:0 9px 0 0; font-size:15px; font-weight:800; color:#426880; }
.party-edit-fields,.party-move-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.party-edit-fields>label:first-child { grid-column:1/-1; }
.party-edit-slot label { display:flex; flex-direction:column; gap:4px; min-width:0; font-size:12px; font-weight:700; color:var(--muted); }
.party-edit-slot input { width:100%; min-width:0; min-height:38px; padding:7px 8px; font:500 15px 'Noto Sans JP',sans-serif; color:var(--ink); border:1px solid #b7ccd9; border-radius:4px; background:white; }
.party-edit-slot input:focus { outline:2px solid #2587a5; outline-offset:1px; }
.party-field-heading { font-size:12px; font-weight:700; margin:12px 0 7px; color:var(--muted); }
.party-ev-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.party-ev-fields input { font-variant-numeric:tabular-nums; }
.party-admin-bottom { margin-top:22px; justify-content:flex-start; }
#party-admin-error { color:#a22e45; font-size:13px; margin:10px 0; }
#party-save-state,#party-release-note { font-size:13px; line-height:1.7; }
@media(max-width:1050px) { .party-editor-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .party-editor-grid { grid-template-columns:1fr; }.party-admin-top label { flex-direction:column; align-items:start; }.party-admin-top select { max-width:100%; }.party-edit-slot input { font-size:16px; } }

.party-edit-fields>label:has(input[id$="-nickname"]){grid-column:1/-1}
