/* ==========================================================================
   轻页 QINGYE — 会员中心
   在 style.css 之后加载，统一 YzmCMS 会员页面的视觉。
   ========================================================================== */

/* ---------- member hero ---------- */
.member-hero {
  position: relative;
  overflow: hidden;
  background: var(--sea);
  color: var(--paper);
  padding: 62px 0 54px;
}
.member-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 239, 229, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 239, 229, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 78%, transparent);
  pointer-events: none;
}
.member-hero::after {
  content: "MEMBER";
  position: absolute;
  right: -1vw;
  bottom: -0.32em;
  font-family: var(--display);
  font-size: clamp(8rem, 20vw, 22rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 239, 229, 0.12);
  pointer-events: none;
  user-select: none;
}
.member-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
}
.member-hero .kicker {
  color: rgba(243, 239, 229, 0.55);
}
.member-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 5.2vw, 5.2rem);
  line-height: 1;
  margin-top: 18px;
  letter-spacing: -0.015em;
}
.member-hero p {
  max-width: 44ch;
  margin-top: 14px;
  color: rgba(243, 239, 229, 0.62);
  font-size: 13px;
  line-height: 1.8;
}
.member-hero-side {
  flex: 0 0 auto;
  text-align: right;
  padding-bottom: 6px;
}
.member-hero-side .mh-code {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: rgba(243, 239, 229, 0.48);
  text-transform: uppercase;
}
.member-hero-side .mh-name {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 17px;
  color: var(--paper);
}
.member-hero-side .mh-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(243, 239, 229, 0.32);
  font-size: 10.5px;
  color: rgba(243, 239, 229, 0.72);
  transition: color 0.25s, border-color 0.25s;
}
.member-hero-side .mh-link:hover { color: var(--paper); border-color: var(--paper); }

/* ---------- member layout ---------- */
.member-page-wrap { padding: 56px 0 96px; }
.member-page-wrap .yzm_member_container.main {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  width: 100%;
}
.member-page-wrap .main_left {
  position: sticky;
  top: 108px;
  min-width: 0;
}
.member-page-wrap .main_right {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(24px, 3.2vw, 42px);
  box-shadow: 0 18px 60px rgba(23, 24, 20, 0.045);
}
.member-page-wrap .main_right > .tit {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 30px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}
.member-page-wrap .main_right > .tit::before {
  content: "MEMBER / ACCOUNT";
  position: absolute;
  left: 0;
  top: -18px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.member-page-wrap .main_right > .tit h3 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.1vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.member-page-wrap .main_right > .tit::after {
  content: "↗";
  font-family: var(--serif);
  font-size: 22px;
  color: var(--red);
  line-height: 1;
}

/* ---------- sidebar ---------- */
.member-side { display: flex; flex-direction: column; gap: 14px; }
.member-side .member-card {
  background: var(--ink);
  color: var(--bg);
  padding: 24px;
}
.member-side .mc-top { display: flex; align-items: center; gap: 12px; }
.member-side .member-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff8ef;
  font-family: var(--display);
  font-size: 21px;
  overflow: hidden;
}
.member-side .member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-side .member-card h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.1;
}
.member-side .member-card .mc-email {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(243, 239, 229, 0.45);
}
.member-side .mc-level {
  display: inline-flex;
  margin-top: 18px;
  padding: 5px 9px;
  border: 1px solid rgba(243, 239, 229, 0.22);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(243, 239, 229, 0.62);
  text-transform: uppercase;
}
.member-side .mc-since {
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid rgba(243, 239, 229, 0.15);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(243, 239, 229, 0.36);
  text-transform: uppercase;
}
.member-nav {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 8px 18px;
}
.member-nav .mn-label {
  display: block;
  padding: 14px 0 7px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.member-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  transition: color 0.2s, padding 0.25s, border-color 0.2s;
}
.member-nav a:last-child { border-bottom: 0; }
.member-nav a .mn-no {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  color: var(--muted-2);
}
.member-nav a:hover { color: var(--ink); padding-left: 4px; }
.member-nav a.is-active {
  color: var(--ink);
  padding-left: 10px;
  border-left: 2px solid var(--red);
}
.member-nav a.is-active .mn-no { color: var(--red); }
.member-help {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 18px;
}
.member-help span {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.member-help strong {
  display: block;
  margin-top: 7px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 400;
}
.member-help button {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding: 0 0 2px;
}

/* ---------- member forms ---------- */
.member-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  max-width: 900px;
}
.member-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.member-field.full { grid-column: 1 / -1; }
.member-field > label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.member-field > label .required { margin-right: 2px; }
.member-field .input,
.member-field .textarea,
.member-field select { max-width: none; }
.member-field select { width: auto; min-width: 92px; max-width: 140px; flex: 0 0 auto; }
.member-page-wrap .member-field select { width: 132px; min-width: 92px; max-width: 132px; }
.member-field > div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.member-field .hint { font-size: 10px; color: var(--muted); line-height: 1.5; }
.member-form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.member-form-actions .member-form-note { font-size: 10.5px; color: var(--muted); }
.member-avatar-editor {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--bg);
  margin-bottom: 22px;
}
.member-avatar-editor .userimg { margin: 0; }
.member-avatar-editor .avatar-copy { max-width: 38ch; }
.member-avatar-editor .avatar-copy strong {
  display: block;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 400;
}
.member-avatar-editor .avatar-copy p { margin-top: 7px; color: var(--muted); font-size: 11.5px; line-height: 1.7; }

/* ---------- password reset ---------- */
.reset-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 22px 0 26px;
}
.reset-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
.reset-step .n { color: var(--muted-2); }
.reset-step.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.reset-step.is-active .n { color: var(--red); }
.reset-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  margin-bottom: 10px;
  transition: border-color 0.25s, background 0.25s;
}
.reset-method:hover { border-color: var(--red); background: rgba(225, 73, 42, 0.035); }
.reset-method > span { display: block; min-width: 0; }
.reset-method strong { display: block; font-size: 13px; font-weight: 500; color: var(--ink); }
.reset-method > span > span { display: block; margin-top: 3px; color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.reset-method em { font-family: var(--serif); font-style: normal; font-size: 20px; color: var(--red); }
.reset-card .auth-form { margin-top: 0; }
.reset-card .member-form-actions { border-top: 0; padding-top: 0; margin-top: 20px; }
.reset-note {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--muted);
}
.reset-alt { margin-top: 20px; font-size: 11px; color: var(--muted); }
.reset-alt a { border-bottom: 1px solid var(--line-strong); }
.reset-alt a:hover { color: var(--red); border-color: var(--red); }

/* ---------- public profile ---------- */
.profile-hero {
  position: relative;
  overflow: hidden;
  background: var(--sea);
  color: var(--paper);
  padding: 54px 0 46px;
}
.profile-hero::after {
  content: "PROFILE";
  position: absolute;
  right: -1vw;
  bottom: -0.3em;
  font-family: var(--display);
  font-size: clamp(7rem, 18vw, 18rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 239, 229, 0.1);
  pointer-events: none;
}
.profile-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.profile-avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(243, 239, 229, 0.35);
  background: var(--bg-2);
}
.profile-hero h1 { font-family: var(--display); font-size: clamp(2.4rem, 4.6vw, 4.6rem); line-height: 1; }
.profile-hero .profile-meta { margin-top: 8px; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; color: rgba(243, 239, 229, 0.5); text-transform: uppercase; }
.profile-hero .profile-motto { margin-top: 12px; font-size: 13px; color: rgba(243, 239, 229, 0.68); max-width: 44ch; }
.profile-hero .profile-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.profile-hero .profile-actions a,
.profile-hero .profile-actions button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(243, 239, 229, 0.32);
  font-size: 11px;
  color: rgba(243, 239, 229, 0.8);
}
.profile-hero .profile-actions a:hover,
.profile-hero .profile-actions button:hover { background: var(--paper); color: var(--sea); border-color: var(--paper); }
.profile-wrap { padding: 50px 0 90px; }
.profile-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 30px; align-items: start; }
.profile-card { background: var(--paper); border: 1px solid var(--line); padding: 26px; margin-bottom: 14px; }
.profile-card h2 { font-family: var(--display); font-size: 24px; margin-bottom: 16px; }
.profile-card p { color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.profile-guest-list { display: flex; flex-wrap: wrap; gap: 12px; }
.profile-guest-list a { text-align: center; font-size: 10px; color: var(--muted); }
.profile-guest-list img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; margin-bottom: 4px; }
.profile-content { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 3vw, 38px); }
.profile-content .tit { padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.profile-content .tit h2 { font-family: var(--display); font-size: 30px; }
.profile-list { border-top: 1px solid var(--line); }
.profile-list li { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.profile-list li a { color: var(--ink); }
.profile-list li a:hover { color: var(--red); }
.profile-list li span { font-family: var(--mono); font-size: 8.5px; color: var(--muted); white-space: nowrap; }

/* ---------- dashboard ---------- */
.member-welcome {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.member-welcome h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.05;
  margin: 12px 0 12px;
}
.member-welcome p { max-width: 48ch; color: var(--muted); font-size: 13px; line-height: 1.8; }
.member-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.member-stats div {
  padding: 20px 18px 20px 0;
  border-right: 1px solid var(--line);
}
.member-stats div:last-child { border-right: 0; }
.member-stats span {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.member-stats strong {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1;
}
.member-stats p { margin-top: 6px; font-size: 10.5px; color: var(--muted); }
.member-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.member-quick {
  position: relative;
  display: block;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.member-quick span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.member-quick strong {
  display: block;
  margin-top: 16px;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 400;
}
.member-quick p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  max-width: 28ch;
}
.member-quick em {
  position: absolute;
  right: 18px;
  bottom: 14px;
  font-family: var(--serif);
  font-style: normal;
  font-size: 20px;
  color: var(--red);
}
.member-quick:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.member-quick:hover span,
.member-quick:hover p { color: rgba(243, 239, 229, 0.55); }
.member-quick:hover em { color: var(--red); }

/* ---------- content primitives ---------- */
.member-page-wrap .main_cont { color: var(--ink-2); }
.member-page-wrap .main_cont > p,
.member-page-wrap .main_cont .explain p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.member-page-wrap .main_cont a { text-decoration: none; }
.member-page-wrap .main_cont a:hover { color: var(--red); }
.member-page-wrap .main_cont form { margin: 0; }
.member-page-wrap .main_cont table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
}
.member-page-wrap .main_cont table tr { border-bottom: 1px solid var(--line); }
.member-page-wrap .main_cont table tr:last-child { border-bottom: 0; }
.member-page-wrap .main_cont table td,
.member-page-wrap .main_cont table th {
  padding: 14px 12px;
  text-align: left;
  font-size: 12.5px;
  line-height: 1.7;
  vertical-align: middle;
}
.member-page-wrap .main_cont table th {
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.member-page-wrap .main_cont table tr > td:first-child:not([colspan]) {
  width: 168px;
  color: var(--muted);
  font-size: 12px;
}
.member-page-wrap .main_cont table.tablelist tr > td:first-child { width: auto; color: var(--ink); font-size: 12.5px; }
.member-page-wrap .main_cont table.tablelist { min-width: 620px; }
.member-page-wrap .main_cont .tablelist a { color: var(--ink); border-bottom: 1px solid transparent; }
.member-page-wrap .main_cont .tablelist a:hover { color: var(--red); border-color: rgba(225, 73, 42, 0.35); }
.member-page-wrap .main_cont .tablast td { padding-top: 18px; }
.member-page-wrap .main_cont .tablelist { margin-bottom: 18px; }
.member-page-wrap .main_cont > form,
.member-page-wrap .main_cont > .tablelist { overflow-x: auto; }

.member-page-wrap .input,
.member-page-wrap .textarea,
.member-page-wrap select,
.member-page-wrap input[type="text"],
.member-page-wrap input[type="password"],
.member-page-wrap input[type="email"],
.member-page-wrap input[type="file"] {
  width: 100%;
  max-width: 620px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  transition: border-color 0.2s;
}
.member-page-wrap .textarea,
.member-page-wrap textarea {
  min-height: 130px;
  resize: vertical;
}
.member-page-wrap .input:focus,
.member-page-wrap .textarea:focus,
.member-page-wrap select:focus { outline: none; border-color: var(--red); }
.member-page-wrap .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff8ef;
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.member-page-wrap .submit:hover { background: transparent; color: var(--red); }
.member-page-wrap .submit.btn-danger { background: var(--ink); border-color: var(--ink); }
.member-page-wrap .submit.btn-danger:hover { background: transparent; color: var(--ink); }
.member-page-wrap .yzm-code-img {
  display: inline-block;
  height: 44px;
  margin-left: 6px;
  border: 1px solid var(--line);
  vertical-align: middle;
  cursor: pointer;
}
.member-page-wrap .required { color: var(--red); margin-right: 3px; }
.member-page-wrap .option_label { margin-right: 18px; font-size: 12.5px; }
.member-page-wrap .option_label input { margin-right: 5px; accent-color: var(--red); }
.member-page-wrap .tablelist input[type="checkbox"] { accent-color: var(--red); width: 14px; height: 14px; }
.member-page-wrap .explain {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 16px 18px;
  margin-bottom: 22px;
}
.member-page-wrap .explain p { margin: 0 0 6px; }
.member-page-wrap .explain p:last-child { margin-bottom: 0; }
.member-page-wrap .explain-error { border-color: rgba(225, 73, 42, 0.28); background: rgba(225, 73, 42, 0.045); }
.member-page-wrap .explain .yzm-iconfont { display: none; }

/* avatar */
.member-page-wrap .userimg { margin: 8px 0 20px; }
.member-page-wrap .userimg img {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.member-page-wrap input[type="file"] { max-width: 420px; padding: 9px 10px; font-size: 11px; }

/* messages */
.member-page-wrap .message {
  border: 1px solid var(--line);
  background: var(--paper);
}
.member-page-wrap .message_header {
  padding: 20px 22px;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.25;
  border-bottom: 1px solid var(--line);
}
.member-page-wrap .message_content {
  padding: 24px 22px;
  min-height: 150px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.9;
}
.member-page-wrap .message_footer {
  padding: 12px 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.member-page-wrap .footer_button { display: flex; gap: 10px; margin-top: 18px; }
.member-page-wrap .footer_button a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  font-size: 11px;
  color: var(--ink);
}
.member-page-wrap .footer_button a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* follow / fans */
.member-page-wrap .follow ul { display: flex; flex-wrap: wrap; gap: 12px; }
.member-page-wrap .follow li {
  width: calc(33.333% - 8px);
  min-width: 150px;
  border: 1px solid var(--line);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.member-page-wrap .follow li img { width: 40px; height: 40px; object-fit: cover; border-radius: 50%; }
.member-page-wrap .follow li strong { font-size: 12px; font-weight: 500; }
.member-page-wrap .follow li span { width: 100%; font-size: 10px; }
.member-page-wrap .follow li span a { color: var(--red); }

/* member content / publish */
.member-page-wrap .main_cont .tab { border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.member-page-wrap .main_cont .tab a { display: inline-block; padding: 10px 14px; font-size: 12px; color: var(--muted); }
.member-page-wrap .main_cont .tab a.on { color: var(--ink); border-bottom: 2px solid var(--red); }

/* pagination */
.member-page-wrap #page {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
}
.member-page-wrap #page a,
.member-page-wrap #page span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  margin-right: 4px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.member-page-wrap #page a:hover { border-color: var(--red); color: var(--red); }
.member-page-wrap #page .current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.member-page-wrap .pageinfo { margin-right: 12px; }
.member-page-wrap .yzm_no_data { padding: 30px 0; color: var(--muted); font-size: 13px; }

/* inline green/red states */
.member-page-wrap .green { color: var(--sea-2); }
.member-page-wrap .red { color: var(--red); }
.member-page-wrap .c-gray { color: var(--muted); }

/* footnote */
.member-footnote {
  border-top: 1px solid var(--line);
  padding: 34px 0 42px;
  background: var(--bg-2);
}
.member-footnote-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.member-footnote p {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.member-footnote a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.member-footnote a:hover { color: var(--red); border-color: var(--red); }

/* no sidebar pages (e.g. myhome fallback) */
.member-page-wrap .yzm_member_container.main > .main_right:only-child { grid-column: 1 / -1; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .member-page-wrap .yzm_member_container.main { grid-template-columns: 236px minmax(0, 1fr); gap: 26px; }
  .member-page-wrap .main_right { padding: 28px; }
  .member-hero { padding: 48px 0 42px; }
}
@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-hero .profile-actions { width: 100%; margin-left: 0; }
  .member-hero-inner { align-items: flex-start; flex-direction: column; gap: 24px; }
  .member-hero-side { text-align: left; padding-bottom: 0; }
  .member-hero::after { font-size: 34vw; opacity: 0.65; }
  .member-page-wrap { padding: 36px 0 72px; }
  .member-page-wrap .yzm_member_container.main { grid-template-columns: 1fr; gap: 22px; }
  .member-page-wrap .main_left { position: static; }
  .member-side { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .member-nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; padding: 6px 18px; }
  .member-nav .mn-label { grid-column: 1 / -1; }
  .member-nav a { border-bottom: 1px solid var(--line); }
  .member-help { display: none; }
  .member-page-wrap .main_right { padding: 24px; }
}
@media (max-width: 640px) {
  .member-hero { padding: 36px 0 32px; }
  .member-hero h1 { font-size: clamp(2.3rem, 11vw, 3.6rem); }
  .member-page-wrap { padding: 26px 0 56px; }
  .member-nav { grid-template-columns: 1fr; }
  .member-page-wrap .main_right { padding: 20px 16px; }
  .member-page-wrap .main_right > .tit { margin-bottom: 24px; padding-bottom: 16px; }
  .member-page-wrap .main_right > .tit::before { top: -16px; }
  .member-page-wrap .main_right > .tit h3 { font-size: 1.8rem; }
  .member-page-wrap .main_cont table td,
  .member-page-wrap .main_cont table th { padding: 11px 9px; }
  .member-page-wrap .main_cont table tr > td:first-child:not([colspan]) { width: 112px; }
  .member-page-wrap .main_cont { overflow-x: auto; }
  .member-page-wrap .main_cont table,
  .member-page-wrap .main_cont table.tablelist { display: table; width: 100%; min-width: 620px; }
  .member-page-wrap .main_cont table tr { display: table-row; }
  .member-form-grid { grid-template-columns: 1fr; }
  .member-field.full { grid-column: auto; }
  .member-page-wrap .follow li { width: 100%; }
  .member-page-wrap .footer_button { flex-wrap: wrap; }
  .member-stats { grid-template-columns: 1fr 1fr; }
  .member-stats div:nth-child(2) { border-right: 0; }
  .member-stats div:nth-child(3),
  .member-stats div:nth-child(4) { border-top: 1px solid var(--line); }
  .member-quick-grid { grid-template-columns: 1fr; }
  .member-welcome { align-items: flex-start; }
  .member-welcome .btn { width: 100%; }
}
