/* Membership card component: stable content slots, independent of title count. */
.member-ui .membership-card.card132,
.title-preview13 .membership-card.card132 {
  --card-height: 448px;
  box-sizing: border-box;
  height: var(--card-height);
  min-height: 0;
  max-height: none;
  padding: var(--zs-space-4);
  display: grid;
  grid-template-rows: 24px 64px 48px 32px 32px 64px 24px;
  gap: var(--zs-space-1);
  align-content: space-between;
  overflow: hidden;
}
.card132 > div {min-width:0;margin:0}
.card132 .card-top {height:24px}
.card132 .card-top img {width:154px;max-height:24px;object-fit:contain}
.card132 .card-top > span {font-size:7px}
.card132 .card-identity {height:64px;display:flex;align-items:center;gap:var(--zs-space-2);margin:0}
.card132 .card-identity > div {min-width:0}
.card132 .card-identity .avatar {width:48px;height:48px;flex-shrink:0}
.card132 .card-identity h2 {font-size:19px;line-height:1.35;margin:8px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card132 .card-rank {font-size:32px;display:flex;gap:var(--zs-space-2);align-items:center;margin:0}
.card132 .card-rank strong {font-size:32px;white-space:nowrap}
.card132 .rank-emblem {font-size:44px}
.card132 .card-titles132 {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));height:32px;min-height:0;gap:var(--zs-space-1);align-items:center;margin:0}
.card132 .card-titles132 span {min-width:0;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:8px;line-height:20px;padding:2px 4px;height:26px;box-sizing:border-box;text-align:center}
.card132 .card-titles132 small {grid-column:1/-1;font-size:8px;color:var(--zs-muted);letter-spacing:.12em}
.card-limited132 {height:32px;line-height:32px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:11px;color:var(--rank);letter-spacing:.02em}
.card-limited132 > span {color:#aab6c4;font-size:8px;letter-spacing:.14em}
.card132 .card-counts {display:flex;gap:var(--zs-space-5);height:64px}
.card132 .card-counts span {font-size:8px;letter-spacing:.12em}
.card132 .card-counts strong {font-size:30px}
.card132 .card-foot {height:24px;padding-top:var(--zs-space-1);margin:0;font-size:7px;white-space:nowrap}
.card132 .card-foot span {font-size:7px}
.member-key132 {display:flex;align-items:center;gap:var(--zs-space-2)}
.member-key132 code {flex:1;min-width:0;user-select:text;overflow-wrap:anywhere}
.account-info132 p {margin:var(--zs-space-2) 0}
.step-bar132 {display:flex;gap:var(--zs-space-1);flex-wrap:wrap;margin:var(--zs-space-2) 0 var(--zs-space-3)}
.step-bar132 span {padding:8px 16px;border:1px solid var(--zs-line);border-radius:6px;font-size:12px}
.step-bar132 .active {background:#334252}
.wizard-grid132 {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--zs-space-3)}
.wizard-grid132 > .wide {grid-column:1/-1}
.wizard-grid132 textarea {min-height:96px}
.limited-numbers132 {display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:var(--zs-space-1);margin:var(--zs-space-2) 0}
.limited-numbers132 button {padding:8px;font-size:12px}
.limited-numbers132 small {display:block;color:var(--zs-muted)}
.admin-section132 {margin:var(--zs-space-3) 0;padding:var(--zs-space-2);border:1px solid var(--zs-line);border-radius:var(--zs-radius)}
.admin-section132 h3 {margin-top:0}
.label-preview132 {max-width:310px;width:100%;height:auto;background:white;border:1px solid #aaa}
.id-guide132 {font-size:12px;color:var(--zs-muted)}
.dashboard-legacy131 > .member-heading:first-child {display:none}
.confirm-data132 {white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}
.scope-cap-row132 {display:grid;grid-template-columns:minmax(0,1fr) 112px auto;align-items:end;gap:var(--zs-space-2);margin:var(--zs-space-2) 0}
.scope-cap-row132 .field {margin:0}
.scope-cap-row132 button {margin-bottom:0}
@media(max-width:767px) {
  .member-ui .membership-card.card132,.title-preview13 .membership-card.card132 {--card-height:384px;padding:var(--zs-space-3);grid-template-rows:24px 56px 40px 32px 24px 56px 24px;gap:var(--zs-space-1)}
  .card132 .card-top img {width:128px}
  .card132 .card-top > span {font-size:5px}
  .card132 .card-identity {height:56px;gap:var(--zs-space-1)}
  .card132 .card-identity .avatar {width:40px;height:40px}
  .card132 .card-identity h2 {font-size:16px;margin-top:4px}
  .card132 .card-rank,.card132 .card-rank strong {font-size:26px}
  .card132 .rank-emblem {font-size:36px}
  .card132 .card-titles132 {gap:4px}
  .card132 .card-titles132 span {font-size:6.5px;padding:2px}
  .card132 .card-limited132 {height:24px;line-height:24px;font-size:10px}
  .card132 .card-counts {height:56px;gap:var(--zs-space-3)}
  .card132 .card-counts span {font-size:7px}
  .card132 .card-counts strong {font-size:28px}
  .card132 .card-foot span {font-size:6px}
  .wizard-grid132 {grid-template-columns:1fr}
  .wizard-grid132 > .wide {grid-column:auto}
}
@media(max-width:600px) {
  .scope-cap-row132 {grid-template-columns:minmax(0,1fr) 88px}
  .scope-cap-row132 button {grid-column:1/-1}
}
