/* ==========================================================================
   会员中心
   只写会员独有的布局;按钮、输入框、提示条、空状态直接用 tokens.css 的
   .btn / .input / .alert / .empty,不重复定义。
   配色全部走变量,访客换主题色后这里跟着变。
   ========================================================================== */

/* ---- 顶栏入口(所有页面共用,静态页也靠 JS 填) ---- */
.bar-member {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: .4rem;
  flex: none;
}
.bar-member__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
  color: var(--paper-2);
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.bar-member__link:hover { border-color: var(--gold-line); color: var(--gold); }
.bar-member__avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ink-3);
}
/* 未登录默认图标本身是深色线稿:翻成浅色,并去掉头像圆底 */
.bar-member__guest {
  border-radius: 0;
  background: none;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.bar-member__name { max-width: 7em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-member__sub { color: var(--gold); font-size: .72rem; }

/* ---- 登录 / 注册外壳 ---- */
.member-auth {
  width: min(440px, 100%);
  margin: 3.2rem auto 4rem;
  padding: 1.6rem 1.5rem 1.4rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.member-auth--wide { width: min(560px, 100%); }
.member-auth__head { margin-bottom: 1.3rem; }
.member-auth__eyebrow {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.member-auth__title {
  margin: .35rem 0 .4rem;
  font-family: var(--f-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.member-auth__sub { color: var(--muted); font-size: .86rem; line-height: 1.7; }

/* ==========================================================================
   会员登录页 —— 全屏两栏
   ========================================================================== */
body.member-auth-page {
  background:
    radial-gradient(circle at 16% 28%, var(--gold-a) 0%, transparent 46%),
    radial-gradient(circle at 84% 78%, rgba(255, 255, 255, .035) 0%, transparent 42%),
    var(--ink);
}
body.member-auth-page .site-bar,
body.member-auth-page .side { display: none; }
body.member-auth-page .shell { display: block; }
body.member-auth-page .shell__body { max-width: none; padding: 0; }

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
}

.auth-intro {
  --auth-pad: clamp(2rem, 6vw, 5.5rem);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  padding: var(--auth-pad);
  overflow: hidden;
  border-right: 1px solid var(--line-soft);
}
/* 暗房安全灯:这一屏唯一的大面积暖光 */
.auth-intro::before {
  content: "";
  position: absolute;
  left: -20%;
  top: -34%;
  width: 82%;
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--gold-a) 0%, transparent 62%);
  pointer-events: none;
}
/* 胶片齿孔:贴左缘竖排 */
.auth-intro::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background-color: var(--line-soft);
  background-image: radial-gradient(circle at 4px 9px, var(--ink) 2.6px, transparent 2.8px);
  background-size: 8px 18px;
}
.auth-intro > * { position: relative; }

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--paper);
}
.auth-brand img { width: 34px; height: 34px; object-fit: contain; }
.auth-brand:hover { color: var(--gold); }

.auth-intro__body { max-width: 30rem; }
.auth-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.02em;
}
.auth-title em { font-style: normal; color: var(--gold); }
.auth-lead {
  max-width: 25em;
  margin-top: 1rem;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.85;
}

.auth-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem 1.2rem;
  max-width: 26rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}
.auth-points li {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--paper-2);
  font-size: .8rem;
}
.auth-points .ico { color: var(--gold); opacity: .9; }

.auth-meta {
  position: absolute;
  left: var(--auth-pad);
  right: var(--auth-pad);
  bottom: clamp(1.2rem, 3vw, 2.4rem);
  padding-top: .8rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--f-mono);
  font-size: .6rem;
  letter-spacing: .12em;
  color: var(--muted);
}

.auth-panel {
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.auth-card {
  width: min(430px, 100%);
  padding: clamp(1.4rem, 2.4vw, 1.8rem);
  background: rgba(20, 18, 13, .72);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}
.auth-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: .6rem 1rem;
  margin-bottom: 1.2rem;
}
.auth-home {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  flex: none;
  padding: .32rem .65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.4;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.auth-home:hover { border-color: var(--gold-line); color: var(--gold); }
.auth-card__title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.auth-card__sub {
  margin-top: .3rem;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.65;
}

.auth-alerts {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1rem;
}

.auth-card .member-form { gap: .85rem; }
.auth-card .field > label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.auth-card .field > label .ico { color: var(--muted); opacity: .9; }

.auth-pw { position: relative; display: flex; }
.auth-pw .input { padding-right: 4.2em; }
.auth-pw__btn {
  position: absolute;
  top: 50%;
  right: .3em;
  transform: translateY(-50%);
  padding: .3em .55em;
  border: 0;
  border-radius: var(--r);
  background: none;
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.auth-pw__btn:hover { color: var(--gold); background: var(--ink-3); }

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin: .1rem 0 .2rem;
}
.auth-link { color: var(--gold); font-size: .78rem; }

.auth-card .oauth-sep { margin: 1.05rem 0 0; }
.auth-card .oauth-list { margin-top: .7rem; }
.auth-card .oauth-btn { background: rgba(255, 255, 255, .025); }

.auth-switch {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  color: var(--muted);
  font-size: .8rem;
}
.auth-switch a { color: var(--gold); font-weight: 600; }

/* Telegram / 其他 OAuth 登录页的官方按钮区域 */
.auth-oauth-widget {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 1.1rem 0 .8rem;
}
.auth-oauth-widget iframe { max-width: 100%; }
.auth-note {
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.65;
  text-align: center;
}

@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; min-height: 100vh; }
  .auth-intro {
    --auth-pad: 1.5rem;
    justify-content: flex-start;
    gap: .55rem;
    padding: 1.5rem 1.4rem 1.25rem;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .auth-intro::before {
    left: auto;
    right: -34%;
    top: -85%;
    width: 72%;
  }
  .auth-intro::after {
    inset: auto 0 0 0;
    width: auto;
    height: 8px;
    background-image: radial-gradient(circle at 9px 4px, var(--ink) 2.6px, transparent 2.8px);
    background-size: 18px 8px;
  }
  .auth-title { font-size: 1.65rem; }
  .auth-title br { display: none; }
  .auth-lead { margin-top: .55rem; font-size: .84rem; }
  .auth-points,
  .auth-meta { display: none; }

  .auth-panel {
    place-items: start center;
    padding: 1.2rem 1rem 2.5rem;
  }
  .auth-card {
    width: 100%;
    padding: 1.2rem 1rem;
    box-shadow: none;
    background: rgba(20, 18, 13, .58);
  }
}

.member-form { display: flex; flex-direction: column; gap: .95rem; }
.member-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.member-form__hint { color: var(--muted); font-size: .74rem; line-height: 1.6; }
.member-form__error { color: #E89484; font-size: .78rem; }
.member-form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-top: .2rem;
  font-size: .8rem;
  color: var(--muted);
}
.member-form__foot--end { justify-content: flex-end; }
.member-form__foot a { color: var(--gold); }
.member-check {
  display: flex; align-items: center; gap: .45rem;
  color: var(--paper-2); font-size: .8rem;
}

.captcha-row { display: flex; gap: .6rem; align-items: stretch; }
.captcha-row .input { flex: 1; }
.captcha-row img {
  height: 40px; width: 120px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  object-fit: cover;
  background: var(--ink-3);
}

/* ---- 社交登录 ---- */
.oauth-list { display: flex; flex-direction: column; gap: .55rem; margin-top: 1.15rem; }
.oauth-sep {
  display: flex; align-items: center; gap: .7rem;
  margin: 1.1rem 0 .2rem;
  color: var(--muted); font-size: .72rem;
}
.oauth-sep::before, .oauth-sep::after {
  content: ""; height: 1px; flex: 1; background: var(--line-soft);
}
.oauth-btn {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  width: 100%;
  padding: .58em .9em;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ink-3);
  color: var(--paper);
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.oauth-btn:hover { border-color: var(--gold-line); background: var(--ink-2); }
.oauth-btn__icon {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.oauth-btn__icon svg { width: 18px; height: 18px; }

/* ==========================================================================
   首页观看历史横条(登录后由 member.js 填充)
   ========================================================================== */
.home-history[hidden] { display: none; }
.home-history__track {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(.65rem, 1vw, 1rem);
  /* 不出现横向滚动条:放不下的卡片直接裁掉 */
  overflow: hidden;
  padding: .1rem 0 .45rem;
}
.home-history__card {
  /* 实际宽度由 member.js 按「推荐影片」的卡片量出来,写在 --history-card-w 上;
     这里的 138px 只是脚本还没跑时的兜底。 */
  flex: 0 0 var(--history-card-w, 138px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  color: var(--paper-2);
}

/* 手机版只看三条,正好和推荐影片的三列对齐 */
@media (max-width: 720px) {
  .home-history__card:nth-child(n + 4) { display: none; }
}
/* 平板区间推荐影片是五列,历史也收成五张,避免露出半张 */
@media (max-width: 1100px) and (min-width: 721px) {
  .home-history__card:nth-child(n + 6) { display: none; }
}

/* ---- 历史栏右侧:我的片单 / 我的收藏 ---- */
.home-history__side {
  position: sticky;
  top: calc(var(--bar-h) + 18px);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  box-sizing: border-box;
  /* 高度由 member.js 对齐左侧卡片;内容超出时直接裁掉,不留滚动条 */
  overflow: hidden;
  padding: .85rem .9rem 1rem;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--ink-2);
}
.home-history__side[hidden] { display: none; }
.home-side-block + .home-side-block {
  padding-top: .85rem;
  border-top: 1px solid var(--line-soft);
}
.home-side-block__title {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .45rem;
  font-size: .82rem;
  font-weight: 600;
}
.home-side-block__title .ico { color: var(--gold); opacity: .9; }
.home-side-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-bottom: .45rem;
}
.home-side-block__head .home-side-block__title { margin-bottom: 0; }
.home-side-block__more {
  flex: none;
  color: var(--gold);
  font-size: .7rem;
  white-space: nowrap;
  transition: color var(--t) var(--ease);
}
.home-side-block__more:hover { color: var(--paper); text-decoration: underline; }
.home-side-list { display: flex; flex-direction: column; gap: .12rem; }
.home-side-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .6rem;
  padding: .38rem .25rem;
  border-radius: var(--r);
  color: var(--paper-2);
  font-size: .78rem;
}
.home-side-row:hover { background: var(--ink-3); color: var(--gold); }
.home-side-row__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-side-row__n {
  flex: none;
  font-family: var(--f-mono);
  font-size: .66rem;
  color: var(--muted);
}

.home-side-fav {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: .5rem;
  padding: .22rem .25rem;
  border-radius: var(--r);
  color: var(--paper-2);
}
.home-side-fav:hover { background: var(--ink-3); color: var(--gold); }
.home-side-fav__poster {
  display: block;
  width: 28px;
  height: 42px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ink-3);
}
.home-side-fav__poster img { width: 100%; height: 100%; object-fit: cover; }
.home-side-fav__void {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--muted);
  font-size: .9rem;
}
.home-side-fav__text { min-width: 0; }
.home-side-fav__title {
  display: block;
  font-size: .78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-side-fav__meta { display: block; margin-top: .08rem; font-size: .66rem; color: var(--muted); }
.home-side-empty { padding: .25rem .25rem .4rem; color: var(--muted); font-size: .74rem; }

@media (max-width: 1500px) {
  .home-history__side { display: none; }
}
.home-history__poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  border-radius: var(--r-poster);
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line-soft);
}
.home-history__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t) var(--ease);
}
.home-history__card:hover img { transform: scale(1.03); }
.home-history__void {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--f-display);
  font-size: 1.7rem;
  color: var(--muted);
}
.home-history__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(0, 0, 0, .55);
}
.home-history__bar i {
  display: block;
  height: 100%;
  background: var(--gold);
}
.home-history__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.35;
  transition: color var(--t) var(--ease);
}
.home-history__card:hover .home-history__title { color: var(--gold); }
.home-history__meta {
  color: var(--muted);
  font-size: .7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   会员中心骨架
   ========================================================================== */
.member-page {
  /* 会员中心的边线与分割线统一走主题色,不再沿用全站的深灰线。
     外框用 32% 主题色,内部分隔线更淡一档,保留层次。 */
  --line: var(--gold-line);
  --line-soft: color-mix(in srgb, var(--gold) 16%, transparent);

  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2.4rem);
  padding-top: 2rem;
  padding-bottom: 4rem;
  align-items: start;
}
.member-side {
  position: sticky;
  top: calc(var(--bar-h) + 18px);
  min-width: 0;
}
.member-side__who {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .85rem .9rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: 1rem;
  transition: border-color var(--t) var(--ease);
}
.member-side__who:hover { border-color: var(--gold); color: var(--paper); }
.member-side__avatar {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ink-3);
}
.member-side__who-text { display: flex; flex-direction: column; min-width: 0; }
.member-side__name {
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.member-side__handle { color: var(--muted); font-size: .74rem; }

.member-nav { display: flex; flex-direction: column; gap: 2px; }
.member-nav a {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .56rem .7rem;
  border-radius: var(--r);
  color: var(--paper-2);
  font-size: .86rem;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.member-nav a .ico { color: var(--muted); transition: color var(--t) var(--ease); }
.member-nav a:hover { background: var(--ink-3); color: var(--paper); }
.member-nav a:hover .ico { color: var(--gold); }
.member-nav a.is-active {
  background: linear-gradient(90deg, var(--gold-a), transparent 88%);
  color: var(--gold);
  box-shadow: inset 2px 0 0 var(--gold);
}
.member-nav a.is-active .ico { color: var(--gold); }
.member-nav a.member-nav__out {
  margin-top: .55rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line-soft);
  border-radius: 0;
}
.member-nav a.member-nav__out:hover { background: transparent; color: var(--gold); }

.member-main { min-width: 0; }
.member-profile__main,
.member-profile__side,
.member-overview__main,
.member-overview__side,
.member-card,
.member-panel,
.member-form,
.member-form__row,
.device-card__body { min-width: 0; }
.member-flashes {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1rem;
}

/* ---- 页头 ---- */
.member-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.member-head__title {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.72rem);
  line-height: 1.2;
}
.member-head__sub { margin-top: .4rem; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.member-state { display: inline-flex; align-items: center; gap: .28rem; }
.member-head__actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.member-head__actions form { margin: 0; }

/* ---- 主页 / 邀请链接 ---- */
.member-share {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.member-share__item {
  padding: .95rem 1rem 1rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.member-share__head {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
}
.member-share__ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: var(--gold-a);
  color: var(--gold);
}
.member-share__title { font-size: .9rem; font-weight: 700; }
.member-share__desc {
  margin-top: .18rem;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.55;
}
.member-share__url {
  display: flex;
  align-items: stretch;
  gap: .5rem;
  margin-top: .8rem;
}
.member-share__url .input {
  flex: 1 1 auto;
  min-width: 0;
  padding: .45em .65em;
  background: transparent;
  font-family: var(--f-mono);
  font-size: .72rem;
}
.member-share__url .input:focus { background: transparent; }
.member-share__url .btn { flex: none; white-space: nowrap; }

/* ---- 概览统计:贯通细线,不再是一排独立卡片 ---- */
.member-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.8rem;
}
.member-stats--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.member-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: .35rem;
  padding: .95rem 1.05rem 1rem;
  border-right: 1px solid var(--line-soft);
  color: var(--paper);
  transition: background var(--t) var(--ease);
}
.member-stat:last-child { border-right: 0; }
.member-stat:hover { background: rgba(255, 255, 255, .025); color: var(--paper); }
.member-stat__label {
  grid-column: 1 / -1;
  margin-bottom: .3rem;
  font-family: var(--f-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.member-stat__n {
  font-family: var(--f-mono);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.member-stat__unit { font-size: .72rem; color: var(--muted); }

/* ---- 概览两栏 ---- */
.member-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(1rem, 2vw, 1.8rem);
  align-items: start;
}
.member-overview__main { min-width: 0; }
.member-overview__side {
  position: sticky;
  top: calc(var(--bar-h) + 18px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.member-panel {
  padding: 1rem 1.05rem 1.05rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

/* 概览不再铺一张黑色大底:背景图从卡片后面透出来。
   观看条目默认无框,鼠标移上去才浮出黑框。 */
.member-overview .member-panel { background: transparent; }
.member-overview .continue {
  background: transparent;
  border-color: transparent;
}
.member-overview .continue:hover {
  /* 悬停时只压一层半透明深色,后面的背景大图仍然若隐若现 */
  background: rgba(20, 18, 13, .7);
  border-color: var(--line);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.member-overview .tile {
  border-radius: var(--r);
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.member-overview .tile:hover {
  background: var(--ink-2);
  box-shadow: 0 0 0 .55rem var(--ink-2);
}
.member-panel__title {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .75rem;
  font-size: .86rem;
  font-weight: 700;
}
.member-panel__title .ico { color: var(--gold); }
.member-panel__btn { margin-top: .85rem; }

.member-facts { display: flex; flex-direction: column; margin: 0; }
.member-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
  padding: .44rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.member-facts > div:last-child { border-bottom: 0; }
.member-facts dt { flex: none; color: var(--muted); font-size: .72rem; }
.member-facts dd {
  margin: 0;
  min-width: 0;
  font-size: .76rem;
  color: var(--paper-2);
  text-align: right;
  overflow-wrap: anywhere;
}
.member-facts dd a { color: var(--gold); }

.member-quick { display: flex; flex-direction: column; gap: .15rem; }
.member-quick a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .48rem .45rem;
  border-radius: var(--r);
  color: var(--paper-2);
  font-size: .82rem;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.member-quick a:hover { background: var(--ink-3); color: var(--paper); }
.member-quick a .ico { color: var(--muted); }
.member-quick a:hover .ico { color: var(--gold); }
.member-quick b {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: .74rem;
  font-weight: 400;
  color: var(--muted);
}

/* ---- 继续观看(概览) ---- */
.continue-list { display: flex; flex-direction: column; gap: .6rem; }
.continue {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 34px;
  align-items: center;
  gap: .9rem;
  padding: .62rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  color: var(--paper);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.continue:hover { border-color: var(--gold-line); color: var(--paper); background: rgba(255, 255, 255, .018); }
.continue__poster {
  display: block;
  width: 64px;
  aspect-ratio: 2 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink-3);
}
.continue__poster img { width: 100%; height: 100%; object-fit: cover; }
.continue__void {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  color: var(--muted);
  font-size: 1.3rem;
}
.continue__body { display: flex; flex-direction: column; gap: .16rem; min-width: 0; }
.continue__title {
  font-size: .9rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.continue__meta { color: var(--muted); font-size: .72rem; }
.continue__bar {
  display: block;
  height: 3px;
  margin-top: .35rem;
  border-radius: 100px;
  background: var(--ink-3);
  overflow: hidden;
}
.continue__bar i { display: block; height: 100%; background: var(--gold); border-radius: 100px; }
.continue__cta {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--gold);
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.continue:hover .continue__cta { background: var(--gold); color: var(--on-gold); }

/* ---- 区块 ---- */
.member-block { margin-bottom: 1.9rem; }
.member-block:last-child { margin-bottom: 0; }
.member-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .8rem;
}
.member-block__title { font-size: 1.02rem; }
.member-block__more { color: var(--gold); font-size: .78rem; }
.member-block__count { color: var(--muted); font-size: .74rem; }

/* ---- 海报网格 ---- */
.member-posters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 1.1rem 1rem;
}
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.15rem .85rem;
}
.member-grid--collection,
.member-grid--history {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.tile { position: relative; min-width: 0; }
.tile__poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  border-radius: var(--r-poster);
  overflow: hidden;
  background: var(--ink-3);
}
.tile__poster img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t) var(--ease);
}
.tile__poster:hover img { transform: scale(1.035); }
.tile__void {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  color: var(--muted); font-size: 1.8rem;
}
.tile__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: .45rem;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.35;
}
.tile:hover .tile__title { color: var(--gold); }
.tile__meta { margin-top: .12rem; color: var(--muted); font-size: .72rem; }
.tile__state { color: var(--muted); }
.tile__state.is-watched { color: var(--gold); }

/* 评分角标:压在封面左下,深底金字,换主题色仍成立 */
.tile__score {
  position: absolute;
  left: 7px; bottom: 7px;
  padding: .12em .42em;
  border-radius: 2px;
  background: rgba(13, 12, 10, .76);
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: .7rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

/* 悬停才露出的取消收藏按钮;触屏设备常显 */
.tile__remove {
  position: absolute;
  top: 6px; right: 6px;
  z-index: 2;
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.tile__remove button {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(13, 12, 10, .72);
  color: var(--paper);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.tile:hover .tile__remove,
.tile__remove:focus-within { opacity: 1; }
.tile__remove button:hover { background: var(--ember); border-color: var(--ember); color: #fff; }

.tile__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: rgba(0, 0, 0, .55);
}
.tile__progress i { display: block; height: 100%; background: var(--gold); }

/* 历史卡的续看按钮:悬停/聚焦浮现,触屏常显 */
.tile__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(13, 12, 10, .28);
  opacity: 0;
  transition: opacity var(--t) var(--ease), background var(--t) var(--ease);
}
.tile__play svg {
  width: 40px; height: 40px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(13, 12, 10, .72);
  border: 1px solid var(--gold-line);
  backdrop-filter: blur(4px);
}
.tile--history:hover .tile__play,
.tile--history .tile__poster:focus-visible .tile__play {
  opacity: 1;
  background: rgba(13, 12, 10, .42);
}

@media (hover: none) {
  .tile__remove { opacity: 1; }
  .tile__play { opacity: .92; }
}

/* ---- 收藏筛选 ---- */
.member-filter {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
  margin: -0.35rem 0 1.1rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--line-soft);
}
.member-filter a {
  padding: .38rem .8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: .8rem;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease),
              color var(--t) var(--ease);
}
.member-filter a:hover { border-color: var(--line); color: var(--paper); }
.member-filter a.is-active {
  border-color: var(--gold-line);
  background: var(--gold-a);
  color: var(--gold);
}

/* ---- 列表行 ---- */
.member-list { display: flex; flex-direction: column; gap: .55rem; }
.member-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: .85rem;
  align-items: center;
  padding: .65rem .8rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color var(--t) var(--ease);
}
.member-row:hover { border-color: var(--line); background: rgba(255, 255, 255, .012); }
.member-row--oauth { grid-template-columns: 32px minmax(0, 1fr) auto; }
.member-row__poster {
  width: 58px; height: 84px;
  object-fit: cover; border-radius: 4px;
  background: var(--ink-3);
}
.member-row__poster--void {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 1.2rem;
}
.member-row__title { font-size: .92rem; font-weight: 700; }
.member-row__meta { margin-top: .2rem; color: var(--muted); font-size: .76rem; }
.member-row__actions { display: flex; gap: .4rem; align-items: center; }
.member-row__actions form { margin: 0; }
.member-row__progress {
  margin-top: .45rem;
  height: 3px;
  background: var(--ink-3);
  border-radius: 2px;
  overflow: hidden;
}
.member-row__progress i { display: block; height: 100%; background: var(--gold); }

/* ---- 片单 ---- */
.member-create {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr) auto auto;
  align-items: end;
  gap: .75rem;
  padding: 1rem 1.1rem;
  margin-bottom: 1.6rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.member-create__field { display: flex; flex-direction: column; gap: .32rem; min-width: 0; }
.member-create__field > label { font-size: .74rem; font-weight: 600; color: var(--paper-2); }
.member-create .input { background: transparent; }
.member-create .input:focus { background: transparent; }
.member-create__public { padding-bottom: .62rem; white-space: nowrap; }
.member-create__btn { justify-self: end; }

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
.playlist-card {
  display: flex; flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.playlist-card:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.playlist-card__covers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1px;
  aspect-ratio: 16 / 9;
  background: var(--line-soft);
  overflow: hidden;
}
.playlist-card__covers[data-count="0"],
.playlist-card__covers[data-count="1"] { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.playlist-card__covers[data-count="2"] { grid-template-columns: repeat(2, 1fr); grid-template-rows: 1fr; }
.playlist-card__covers[data-count="3"] img:first-child { grid-row: span 2; }
.playlist-card__covers img {
  width: 100%; height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
  background: var(--ink-3);
}
.playlist-card__void {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  background: var(--ink-3);
  color: var(--muted);
  font-family: var(--f-display);
  font-size: 2rem;
}
.playlist-card__body { padding: .8rem .9rem .9rem; }
.playlist-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .6rem;
}
.playlist-card__title { font-size: .94rem; font-weight: 700; line-height: 1.4; }
.playlist-card__top .badge { flex: none; }
.playlist-card__meta { margin-top: .2rem; color: var(--muted); font-size: .74rem; }
.playlist-card__desc {
  margin-top: .4rem; color: var(--paper-2); font-size: .78rem; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- 登录设备 ---- */
.device-list { display: flex; flex-direction: column; gap: .65rem; }
.device-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: .9rem;
  padding: .9rem 1rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.device-card.is-current { border-color: var(--gold-line); }
.device-card__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ink-3);
  color: var(--gold);
}
.device-card__title {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  font-size: .9rem;
  font-weight: 700;
}
.device-card__meta {
  display: flex;
  gap: .3rem .9rem;
  flex-wrap: wrap;
  margin-top: .2rem;
  color: var(--muted);
  font-size: .74rem;
}
.device-card__ua {
  margin-top: .35rem;
  font-family: var(--f-mono);
  font-size: .66rem;
  line-height: 1.5;
  color: var(--muted);
  opacity: .78;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- 表单卡片 ---- */
.member-card {
  padding: 1.15rem 1.2rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: 1rem;
}
.member-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: .6rem 1rem;
  margin-bottom: .9rem;
}
.member-card__head > div { min-width: 0; }
.member-card__head .member-card__sub { margin: .22rem 0 0; }
.member-card__title { font-size: .98rem; margin-bottom: .2rem; }
.member-card__sub { color: var(--muted); font-size: .78rem; margin-bottom: .9rem; line-height: 1.65; }
.member-card__danger {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line-soft);
}
.member-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.member-danger {
  margin-top: 1.15rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line-soft);
}
.member-danger summary {
  cursor: pointer;
  color: #E89484;
  font-size: .82rem;
  list-style: none;
}
.member-danger summary::-webkit-details-marker { display: none; }
.member-danger summary::before {
  content: "▸";
  display: inline-block;
  margin-right: .35rem;
  transition: transform var(--t) var(--ease);
}
.member-danger[open] summary::before { transform: rotate(90deg); }
.member-danger .member-form { margin-top: .8rem; }

.member-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---- 个人资料:桌面两栏 ---- */
.member-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 1fr);
  gap: 1.1rem;
  align-items: start;
}
.member-profile__side { display: flex; flex-direction: column; gap: 1rem; }
.member-profile .member-card { margin-bottom: 0; }
.member-profile__side .member-card { margin-bottom: 0; }
/* 资料页这几个区块改为透明,让整页背景大图能透出来 */
.member-profile .member-card,
.member-profile .member-row { background: transparent; }
/* 输入框也只留 1px 边框,聚焦时不再回填深色 */
.member-profile .input,
.member-profile .select,
.member-profile .textarea {
  background: transparent;
}
.member-profile .input:focus,
.member-profile .select:focus,
.member-profile .textarea:focus {
  background: transparent;
}
/* 邮箱未验证:不铺深色底,只用主题色描边和文字 */
.member-email-badge {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

/* ---- 头像选择 ---- */
.avatar-picker { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.avatar-option {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: var(--ink-3);
  overflow: hidden;
}
.avatar-option img { width: 100%; height: 100%; object-fit: cover; }
.avatar-option.is-active,
.avatar-option:has(input:checked) { border-color: var(--gold); }
.avatar-option--gravatar { border-style: dashed; border-color: var(--line); }
.avatar-option input { position: absolute; opacity: 0; pointer-events: none; }

/* 内置头像较多时默认收起,点箭头展开;箭头随 details 状态翻转 */
.avatar-more { margin-top: .7rem; }
.avatar-more__toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28em .65em;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.avatar-more__toggle::-webkit-details-marker { display: none; }
.avatar-more__toggle:hover {
  border-color: var(--gold-line);
  color: var(--gold);
}
.avatar-more__toggle .ico { transition: transform var(--t) var(--ease); }
.avatar-more[open] .avatar-more__toggle {
  border-color: var(--gold-line);
  color: var(--gold);
}
.avatar-more[open] .avatar-more__toggle .ico { transform: rotate(180deg); }
.avatar-picker--extra { margin-top: .7rem; }

/* ---- 公开主页 ---- */
.profile-hero {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.4rem;
  background: transparent;
  border: 1px solid var(--gold-line);
  border-radius: var(--r-lg);
  margin-bottom: 1.6rem;
}
.profile-hero__avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.profile-hero__name { font-size: 1.4rem; font-weight: 700; }
.profile-hero__meta { margin-top: .3rem; color: var(--muted); font-size: .8rem; }

/* ---- 分页(查询串版,会员页面用) ---- */
.member-pager {
  display: flex; align-items: center; justify-content: center;
  gap: .4rem; margin-top: 1.6rem; flex-wrap: wrap;
}
.member-pager a, .member-pager span {
  min-width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 .6rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--paper-2);
  font-size: .82rem;
}
.member-pager a:hover { border-color: var(--gold-line); color: var(--gold); }
.member-pager .is-current { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.member-pager .is-off { opacity: .4; }

/* ---- 状态提示 ---- */
.member-note {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .75rem .9rem;
  border: 1px solid var(--gold-line);
  background: var(--gold-a);
  border-radius: var(--r);
  color: var(--gold-2);
  font-size: .82rem;
  line-height: 1.65;
}
.member-note .ico { flex: none; margin-top: .15rem; color: var(--gold); }
.member-note--action {
  align-items: center;
  margin-bottom: 1rem;
}
.member-note--action a { margin-left: auto; color: var(--gold); font-weight: 600; white-space: nowrap; }
.member-note--ok { border-color: rgba(105,169,124,.34); background: rgba(105,169,124,.07); color: #9FD0AE; }

/* ---- 空状态:会员页比全站默认更紧凑 ---- */
.member-empty { max-width: none; padding: 2.6rem 1rem; }
.member-empty h2 { font-size: 1.08rem; }
.member-empty--inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  background: rgba(20, 18, 13, .5);
}
.member-empty--inline p { color: var(--muted); font-size: .82rem; }
.member-empty--inline .btn { flex: none; }

/* ---- 播放页的想看 / 看过:尺寸对齐上面的影片类型标签 ---- */
.cinema__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin-top: .6rem;
}
.cinema-fav {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .22em .7em;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: none;
  color: var(--paper-2);
  font-family: inherit;
  font-size: .78rem;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease),
              background var(--t) var(--ease);
}
.cinema-fav:hover { border-color: var(--gold-line); color: var(--gold); }
.cinema-fav.is-on {
  border-color: var(--gold-line);
  background: var(--gold-a);
  color: var(--gold);
}

/* ---- 收藏按钮:想看用爱心(点亮后填充),看过的对勾保持描边 ---- */
.fav-btn.is-on { border-color: var(--gold); color: var(--gold); }
.fav-btn--heart.is-on svg path { fill: currentColor; }
.fav-btn svg { transition: fill var(--t) var(--ease), color var(--t) var(--ease); }

/* ---- 详情页:操作结果提示 + 加入片单弹层 ---- */
.detail-flashes {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding-top: 1rem;
}
.save-menu { position: relative; display: inline-block; }
.save-menu > summary { list-style: none; cursor: pointer; }
.save-menu > summary::-webkit-details-marker { display: none; }
.save-menu[open] > summary { border-color: var(--gold); color: var(--gold); }
.save-menu__panel {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  z-index: 40;
  width: min(280px, calc(100vw - 3rem));
  max-height: min(60vh, 420px);
  overflow-y: auto;
  padding: .55rem;
  background: var(--ink-2);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.save-menu__title {
  padding: .15rem .5rem .45rem;
  font-family: var(--f-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.save-menu__panel form { margin: 0; }
.save-menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  width: 100%;
  padding: .5rem .55rem;
  border: 0;
  border-radius: var(--r);
  background: none;
  color: var(--paper-2);
  font: inherit;
  font-size: .82rem;
  text-align: left;
  cursor: pointer;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.save-menu__item:hover { background: var(--ink-3); color: var(--gold); }
.save-menu__item:disabled { opacity: .55; cursor: default; }
.save-menu__item:disabled:hover { background: none; color: var(--paper-2); }
.save-menu__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.save-menu__count { flex: none; color: var(--muted); font-size: .7rem; }
.save-menu__manage {
  display: block;
  margin-top: .35rem;
  padding: .5rem .55rem 0;
  border-top: 1px solid var(--line-soft);
  color: var(--gold);
  font-size: .76rem;
}
.save-menu__empty {
  padding: .3rem .55rem .45rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.65;
}
.save-menu__empty a { color: var(--gold); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1100px) {
  .member-overview { grid-template-columns: minmax(0, 1fr) 270px; }
  .member-profile { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 940px) {
  .member-page { grid-template-columns: 1fr; gap: 1.2rem; padding-top: 1.4rem; }
  .member-side { position: static; }
  .member-side__who { display: none; }
  .member-nav {
    flex-direction: row; overflow-x: auto;
    padding-bottom: .35rem;
    scrollbar-width: none;
  }
  .member-nav::-webkit-scrollbar { display: none; }
  .member-nav a { flex: none; white-space: nowrap; }
  .member-nav a.is-active { box-shadow: none; }
  .member-nav a.member-nav__out {
    margin-top: 0;
    padding-top: .56rem;
    border-top: 0;
  }

  .member-overview,
  .member-profile,
  .member-share { grid-template-columns: 1fr; }
  .member-overview__side,
  .member-profile__side {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .member-profile__side { gap: 1rem; }
  .member-stats--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member-stat:nth-child(2n) { border-right: 0; }
  .member-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .member-create { grid-template-columns: 1fr 1fr; }
  .member-create__public { padding-bottom: 0; }
  .member-create__btn { justify-self: stretch; }
  .bar-member__name { display: none; }

  /* 窄屏顶栏只留头像/默认图标,不再保留胶囊边框 */
  .bar-member__link {
    padding: 0;
    border: 0;
    background: none;
  }
  .bar-member__link:hover { border-color: transparent; color: inherit; }
  .bar-member__link:hover .bar-member__avatar { opacity: .82; }
  .bar-member__avatar { width: 28px; height: 28px; }
}

@media (max-width: 680px) {
  .member-overview__side,
  .member-profile__side { grid-template-columns: 1fr; }
  .member-create { grid-template-columns: 1fr; }
  .member-create__public { padding-bottom: 0; }
  .device-card { grid-template-columns: 34px minmax(0, 1fr); padding: .8rem .85rem; }
  .device-card__icon { width: 34px; height: 34px; }
  .device-card__ua { display: none; }
}

@media (max-width: 560px) {
  .member-auth { margin-top: 1.4rem; padding: 1.2rem 1rem; }
  .member-share__url { flex-wrap: wrap; }
  .member-share__url .btn { width: 100%; justify-content: center; }
  .member-form__row { grid-template-columns: 1fr; }
  .member-posters { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .member-grid,
  .member-grid--collection,
  .member-grid--history { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
  .member-stats--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member-stat { padding: .8rem .85rem .85rem; }
  .member-stat__n { font-size: 1.42rem; }
  .member-row { grid-template-columns: 48px minmax(0, 1fr); }
  .member-row__poster { width: 48px; height: 70px; }
  .member-row__actions { grid-column: 2; justify-content: flex-start; }
  .playlist-grid { grid-template-columns: 1fr; }
  .continue { grid-template-columns: 52px minmax(0, 1fr); }
  .continue__poster { width: 52px; }
  .continue__cta { display: none; }
  .member-head__actions { width: auto; margin-left: auto; }
}

/* ==========================================================================
   会员中心 · 概览 / 个人资料(2026-11 重排版)
   去掉成排的描边卡片:用留白、字号阶梯和半透明墨面分层,
   边框只保留在输入框这一层,页面一眼看过去不再全是线条。
   ========================================================================== */
.acct {
  --acct-ink: color-mix(in srgb, var(--paper) 11%, transparent);
  --acct-ink-soft: color-mix(in srgb, var(--paper) 6%, transparent);
  --acct-surface: color-mix(in srgb, var(--paper) 3.5%, transparent);
  --acct-surface-2: color-mix(in srgb, var(--paper) 6%, transparent);
  --acct-scrim: color-mix(in srgb, var(--ink-2) 58%, transparent);
  padding-bottom: 1rem;
}

/* ---- 页头 ---- */
.acct-hero {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}
.acct-hero__avatar {
  flex: none;
  width: 88px;
  height: 88px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-line), transparent 62%);
}
.acct--profile .acct-hero__avatar { width: 96px; height: 96px; }
.acct-hero__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ink-3);
}
.acct-hero__body { flex: 1 1 240px; min-width: 0; }
.acct-kicker {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--f-mono);
  font-size: .64rem;
  letter-spacing: .16em;
  color: var(--gold);
  opacity: .88;
}
.acct-kicker__sep { opacity: .4; }
.acct-hero__title {
  margin-top: .3rem;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.acct-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem .6rem;
  margin-top: .55rem;
  color: var(--muted);
  font-size: .78rem;
}
.acct-handle { font-family: var(--f-mono); color: var(--paper-2); }
.acct-sep { opacity: .45; }
.acct-badge {
  display: inline-flex;
  align-items: center;
  gap: .38em;
  font-size: .72rem;
  color: var(--paper-2);
  white-space: nowrap;
}
.acct-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
}
.acct-badge--warn::before { background: var(--gold); }
.acct-badge--off::before { background: var(--muted); }
.acct-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-left: auto;
}
.acct-btn-soft {
  border-color: transparent;
  background: var(--gold-a);
  color: var(--gold);
}
.acct-btn-soft:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--on-gold);
}

/* ---- 数据条:没有上下边框和竖线 ---- */
.acct-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.6vw, 2.4rem);
  padding: .4rem 0 1.8rem;
}
.acct-stat {
  display: flex;
  flex-direction: column;
  gap: .28rem;
  min-width: 0;
  color: var(--paper);
  transition: transform var(--t) var(--ease), color var(--t) var(--ease);
}
.acct-stat:hover { transform: translateY(-2px); color: var(--paper); }
.acct-stat__n {
  font-family: var(--f-mono);
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  transition: color var(--t) var(--ease);
}
.acct-stat:hover .acct-stat__n { color: var(--gold); }
.acct-stat__label {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  color: var(--muted);
  font-size: .76rem;
}
.acct-stat__unit {
  font-family: var(--f-mono);
  font-size: .64rem;
  opacity: .75;
}

/* ---- 分享与邀请:两张无描边墨面并排,中间留出间距 ---- */
.acct-share {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.4rem;
}
.acct-share__item {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-width: 0;
  padding: 1rem 1.1rem 1.1rem;
  background: var(--acct-scrim);
  border-radius: var(--r-lg);
}
.acct-share__intro { display: flex; align-items: flex-start; gap: .8rem; min-width: 0; }
.acct-share__ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 8px;
  background: var(--gold-a);
  color: var(--gold);
}
.acct-share__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 700;
}
.acct-share__count {
  padding: .15em .55em;
  border-radius: 100px;
  background: var(--gold-a);
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: .64rem;
  font-weight: 400;
}
.acct-share__desc {
  margin-top: .2rem;
  color: var(--muted);
  font-size: .73rem;
  line-height: 1.55;
}
.acct-share__url { display: flex; align-items: stretch; gap: .5rem; min-width: 0; }
.acct .acct-share__url .input {
  flex: 1 1 auto;
  min-width: 0;
  padding: .48em .7em;
  background: color-mix(in srgb, var(--ink) 32%, transparent);
  border-color: transparent;
  font-family: var(--f-mono);
  font-size: .72rem;
}
.acct .acct-share__url .input:hover { border-color: var(--acct-ink); }
.acct .acct-share__url .input:focus {
  background: color-mix(in srgb, var(--ink) 45%, transparent);
  border-color: var(--gold);
}
.acct-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  flex: none;
  padding: .34em .9em;
  border: 0;
  border-radius: var(--r);
  background: var(--gold-a);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.acct-copy:hover { background: var(--gold); color: var(--on-gold); }

/* ---- 两栏骨架 ---- */
.acct-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(1.6rem, 3vw, 3rem);
  align-items: start;
}
.acct-cols--profile { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); }
.acct-main { min-width: 0; }
.acct-side {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}
.acct--dash .acct-side { position: sticky; top: calc(var(--bar-h) + 18px); }

/* ---- 区块:靠留白和编号分层 ---- */
.acct-section { padding-bottom: 2.4rem; }
.acct-section + .acct-section {
  padding-top: 2.4rem;
  border-top: 1px solid var(--acct-ink-soft);
}
.acct-section:last-child { padding-bottom: 0; }
.acct-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.acct-section__head-main { display: flex; align-items: baseline; gap: .7rem; min-width: 0; }
.acct-section__head-main > div { min-width: 0; }
.acct-section__index {
  flex: none;
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .12em;
  color: var(--gold);
  opacity: .9;
}
.acct-section__title { font-size: 1.08rem; line-height: 1.25; }
.acct-section__sub {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .77rem;
  line-height: 1.6;
}
.acct-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--paper-2);
  font-size: .78rem;
  white-space: nowrap;
  transition: color var(--t) var(--ease), gap var(--t) var(--ease);
}
.acct-more:hover { gap: .55rem; color: var(--gold); }

/* ---- 右栏:半透明墨面分组,没有描边 ---- */
.acct-side-block {
  padding: 1.15rem 1.2rem 1.2rem;
  background: var(--acct-scrim);
  border-radius: var(--r-lg);
}
.acct-side-block__head {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin-bottom: .35rem;
}
.acct-side-block__title { font-size: .92rem; }
.acct-side-block__sub {
  margin-bottom: .9rem;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.6;
}

.acct-facts { display: flex; flex-direction: column; gap: .55rem; margin: .85rem 0 0; }
.acct-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
}
.acct-facts dt { flex: none; color: var(--muted); font-size: .72rem; }
.acct-facts dd {
  margin: 0;
  min-width: 0;
  color: var(--paper-2);
  font-size: .76rem;
  text-align: right;
  overflow-wrap: anywhere;
}
.acct-facts dd .acct-badge { justify-content: flex-end; }
.acct-side__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: 1.1rem;
  padding: .58rem .75rem;
  border-radius: var(--r);
  background: var(--gold-a);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.acct-side__cta:hover { background: var(--gold); color: var(--on-gold); }

.acct-links { display: flex; flex-direction: column; gap: .12rem; margin-top: .75rem; }
.acct-links a {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .55rem;
  border-radius: var(--r);
  color: var(--paper-2);
  font-size: .82rem;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.acct-links a:hover { background: var(--acct-surface-2); color: var(--paper); }
.acct-links__ico { display: inline-flex; color: var(--muted); transition: color var(--t) var(--ease); }
.acct-links a:hover .acct-links__ico { color: var(--gold); }
.acct-links b {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: .72rem;
  font-weight: 400;
  color: var(--muted);
}

/* ---- 概览:观看记录去掉单条卡片框 ---- */
.acct .continue-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .2rem 1.2rem;
}
.acct .continue {
  grid-template-columns: 58px minmax(0, 1fr) 32px;
  gap: .8rem;
  padding: .6rem .55rem;
  border-color: transparent;
  background: transparent;
}
.acct .continue:hover { border-color: transparent; background: var(--acct-surface-2); }
.acct .continue__poster { width: 58px; border-radius: 5px; }
.acct .continue__title { font-size: .86rem; }
.acct .continue__meta { font-size: .7rem; }
.acct .continue__bar {
  height: 2px;
  background: color-mix(in srgb, var(--paper) 10%, transparent);
}
.acct .continue__cta {
  width: 32px;
  height: 32px;
  border: 0;
  background: var(--gold-a);
}
.acct .continue:hover .continue__cta { background: var(--gold); color: var(--on-gold); }

/* ---- 空状态 ---- */
.acct-empty { padding: 2.2rem 0; }
.acct-empty h3 { font-size: 1rem; color: var(--paper); }
.acct-empty p { margin-top: .35rem; color: var(--muted); font-size: .8rem; line-height: 1.65; }
.acct-empty .btn { margin-top: 1rem; }
.acct-empty--inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}
.acct-empty--inline p { margin-top: 0; }

/* ---- 提示条:只留左侧一根主题色短线,不再四面描边 ---- */
.acct .member-note {
  border: 0;
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--r) var(--r) 0;
  background: color-mix(in srgb, var(--gold) 9%, transparent);
}
.acct .member-note--action { margin-bottom: 1.6rem; }

/* ---- 表单:输入框用浅底代替满屏描边 ---- */
.acct .input,
.acct .select,
.acct .textarea {
  padding: .68em .85em;
  border-color: transparent;
  border-radius: 4px;
  background: var(--acct-surface);
}
.acct .input:hover,
.acct .select:hover,
.acct .textarea:hover { border-color: var(--acct-ink); }
.acct .input:focus,
.acct .select:focus,
.acct .textarea:focus {
  border-color: var(--gold);
  background: var(--acct-surface-2);
}
.acct .field > label { color: var(--paper-2); font-size: .74rem; letter-spacing: .05em; }
.acct-form { gap: 1.15rem; }
.acct .member-form__row { gap: 1rem 1.2rem; }
.acct-form__foot { display: flex; justify-content: flex-end; padding-top: .15rem; }
.acct-form--compact { gap: .9rem; }
.acct-form--compact .input { padding: .58em .75em; }

/* ---- 头像选择:去掉多余额外描边,保留选中主题环 ---- */
.acct .avatar-picker { gap: .6rem; }
.acct .avatar-option {
  width: 48px;
  height: 48px;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
.acct .avatar-option:hover { transform: translateY(-2px); }
.acct .avatar-option--gravatar { border-color: var(--acct-ink); }
.acct .avatar-more { margin-top: .75rem; }
.acct .avatar-more__toggle {
  padding: .1rem 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--paper-2);
  font-size: .76rem;
}
.acct .avatar-more__toggle:hover { color: var(--gold); }
.acct .avatar-more[open] .avatar-more__toggle { border-color: transparent; color: var(--gold); }
.acct .avatar-picker--extra { margin-top: .85rem; }

/* ---- 当前邮箱 / 行内表单 ---- */
.acct-current {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem .8rem;
  padding: .85rem 0 1.1rem;
}
.acct-current__label {
  font-family: var(--f-mono);
  font-size: .64rem;
  letter-spacing: .14em;
  color: var(--muted);
}
.acct-current__value {
  font-family: var(--f-mono);
  font-size: .85rem;
  color: var(--paper);
  overflow-wrap: anywhere;
}
.acct-inline-form { display: flex; align-items: flex-end; gap: .75rem; }
.acct-inline-form .field { flex: 1 1 auto; }
.acct-inline-form .btn { flex: none; }

/* ---- 社交账号:行本身不再描边 ---- */
.acct .member-list { gap: .15rem; margin-top: .5rem; }
.acct .member-row {
  padding: .62rem .55rem;
  border-color: transparent;
  background: transparent;
}
.acct .member-row:hover { border-color: transparent; background: var(--acct-surface-2); }
.acct .member-row--oauth { grid-template-columns: 30px minmax(0, 1fr) auto; gap: .7rem; }
.acct .member-row__title { font-size: .86rem; }
.acct .member-row__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .15rem;
  font-size: .72rem;
}

/* ---- 数据与账号 ---- */
.acct .member-actions { gap: .5rem; }
.acct .member-actions .btn { border-color: var(--acct-ink); }
.acct .member-actions .btn:hover { border-color: var(--gold-line); }
.acct .member-danger { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--acct-ink-soft); }
.acct .member-danger summary { color: #E89484; }

/* ---- 响应式 ---- */
@media (max-width: 1180px) {
  .acct-cols { grid-template-columns: minmax(0, 1fr) 272px; }
  .acct-cols--profile { grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); }
}

@media (max-width: 1020px) {
  .acct-cols,
  .acct-cols--profile { grid-template-columns: 1fr; }
  .acct--dash .acct-side { position: static; }
  .acct--dash .acct-side,
  .acct--profile .acct-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .acct--profile .acct-side > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .acct-hero { gap: .95rem; }
  .acct-hero__avatar { width: 68px; height: 68px; }
  .acct--profile .acct-hero__avatar { width: 78px; height: 78px; }
  .acct-hero__actions { width: 100%; margin-left: 0; }
  .acct-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 1.5rem;
    padding-bottom: 1.6rem;
  }
  .acct-share { grid-template-columns: 1fr; }
  .acct .continue-list { grid-template-columns: 1fr; }
  .acct--dash .acct-side,
  .acct--profile .acct-side { grid-template-columns: 1fr; }
  .acct--profile .acct-side > :last-child:nth-child(odd) { grid-column: auto; }
}

@media (max-width: 520px) {
  .acct-share__url { flex-wrap: wrap; }
  .acct-share__url .acct-copy { width: 100%; }
  .acct .member-form__row { grid-template-columns: 1fr; }
  .acct-inline-form { flex-direction: column; align-items: stretch; }
  .acct-inline-form .btn { width: 100%; }
  .acct-stat__n { font-size: 1.9rem; }
  .acct .continue { grid-template-columns: 48px minmax(0, 1fr); }
  .acct .continue__poster { width: 48px; }
  .acct .continue__cta { display: none; }
  .acct-empty--inline { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .acct-stat:hover,
  .acct .avatar-option:hover { transform: none; }
}

/* ==========================================================================
   会员中心 · 列表页统一版式
   收藏 / 观看历史 / 我的片单 / 登录设备 / 片单详情
   与概览、个人资料共用无描边墨面 + 大字号的表达方式。
   ========================================================================== */
.acct-head__num {
  font-family: var(--f-mono);
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold);
}

/* ---- 页头:标题放大,去掉原来的底边线 ---- */
.acct .member-head {
  align-items: flex-end;
  margin-bottom: 1.8rem;
  padding-bottom: 0;
  border-bottom: 0;
}
.acct .member-head__title {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.acct .member-head__sub {
  margin-top: .5rem;
  font-size: .8rem;
  line-height: 1.65;
}
.acct .member-head__actions .btn { flex: none; }

/* ---- 收藏筛选:纯文字胶囊,不再一排描边 ---- */
.acct .member-filter {
  gap: .3rem;
  margin: 0 0 1.4rem;
  padding: 0;
  border: 0;
}
.acct .member-filter a {
  padding: .42rem .85rem;
  border: 0;
  background: transparent;
  color: var(--muted);
}
.acct .member-filter a:hover { background: var(--acct-surface-2); color: var(--paper); }
.acct .member-filter a.is-active { background: var(--gold-a); color: var(--gold); }

/* ---- 海报网格 ---- */
.acct .member-grid { gap: 1.4rem 1rem; }
.acct .tile__title { font-size: .84rem; }
.acct .tile__meta { font-size: .73rem; }
.acct .tile__remove button { border: 0; }

/* ---- 分页:去掉每格描边 ---- */
.acct .member-pager { margin-top: 2.2rem; gap: .3rem; }
.acct .member-pager a,
.acct .member-pager span {
  border: 0;
  background: var(--acct-surface);
  color: var(--paper-2);
}
.acct .member-pager a:hover { background: var(--acct-surface-2); color: var(--gold); }
.acct .member-pager .is-current { background: var(--gold); color: var(--on-gold); }

/* ---- 空状态:不再铺虚线框 ---- */
.acct .empty {
  max-width: none;
  margin: 0;
  padding: 3rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}
.acct .empty h2 { font-size: 1.15rem; }
.acct .empty p { margin-top: .5rem; color: var(--muted); font-size: .84rem; line-height: 1.7; }
.acct .empty .btn { margin-top: .2rem; }

/* ---- 我的片单 ---- */
.acct .member-create {
  gap: .9rem;
  padding: 1.15rem 1.2rem;
  margin-bottom: 2rem;
  border: 0;
  background: var(--acct-scrim);
  border-radius: var(--r-lg);
}
.acct .member-create__field > label { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.acct .member-create__public { padding-bottom: .55rem; }

.acct .playlist-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem 1.1rem;
}
.acct .playlist-card {
  border: 0;
  background: transparent;
  border-radius: var(--r-lg);
  overflow: visible;
}
.acct .playlist-card:hover { transform: translateY(-3px); }
.acct .playlist-card__covers {
  gap: 2px;
  border-radius: var(--r-lg);
  background: var(--ink);
}
.acct .playlist-card__body { padding: .75rem .1rem 0; }
.acct .playlist-card__title { font-size: .92rem; transition: color var(--t) var(--ease); }
.acct .playlist-card:hover .playlist-card__title { color: var(--gold); }
.acct .playlist-card__meta { font-size: .73rem; }
.acct .playlist-card__desc { color: var(--muted); font-size: .76rem; }
.acct .playlist-card__top .badge {
  padding: .18em .6em;
  border: 0;
  border-radius: 100px;
  background: var(--acct-surface-2);
  color: var(--muted);
}
.acct .playlist-card__top .badge-run { background: var(--gold-a); color: var(--gold); }
.acct .playlist-card__top .badge-off { background: var(--acct-surface-2); color: var(--muted); }

/* ---- 登录设备:一整块墨面 + 内部行,不再每台设备一张卡 ---- */
.acct .device-list {
  gap: 0;
  padding: .35rem .55rem;
  background: var(--acct-scrim);
  border-radius: var(--r-lg);
}
.acct .device-card {
  padding: .95rem .65rem;
  border: 0;
  background: transparent;
  border-radius: var(--r);
}
.acct .device-card + .device-card { border-top: 1px solid var(--acct-ink-soft); }
.acct .device-card:hover { background: var(--acct-surface-2); }
.acct .device-card.is-current { border-color: transparent; }
.acct .device-card__icon {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: var(--gold-a);
}
.acct .device-card__title { font-size: .92rem; }
.acct .device-card__ua { opacity: .6; }

/* ---- 片单详情 ---- */
.acct .member-card {
  margin-bottom: 2rem;
  padding: 1.2rem 1.3rem;
  border: 0;
  background: var(--acct-scrim);
}
.acct .member-card__title { font-size: 1rem; }
.acct .member-card__sub { font-size: .76rem; }
.acct .member-card__danger { border-top: 1px solid var(--acct-ink-soft); }
.acct .member-block { margin-bottom: 2.2rem; }
.acct .member-block__head { margin-bottom: 1rem; align-items: baseline; }
.acct .member-block__title { font-size: 1.06rem; }
.acct .member-block__count { font-family: var(--f-mono); font-size: .7rem; }
.acct .member-list { gap: .15rem; }
.acct .member-row { border-color: transparent; background: transparent; }
.acct .member-row:hover { border-color: transparent; background: var(--acct-surface-2); }

@media (max-width: 680px) {
  .acct .device-card { grid-template-columns: 34px minmax(0, 1fr); padding: .85rem .55rem; }
  .acct .device-card__icon { width: 34px; height: 34px; }
}

@media (max-width: 560px) {
  .acct .playlist-grid { grid-template-columns: 1fr; }
  .acct .member-row { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .acct .member-row__actions { grid-column: auto; justify-content: flex-end; }
  .acct .member-row__poster { width: 48px; height: 70px; }
}

/* ---- 公开主页 / 公开片单 ---- */
.pub-profile {
  padding-top: 2.4rem;
  padding-bottom: 4.2rem;
}
.acct--public .acct-hero { margin-bottom: 2.2rem; }
.acct--public .acct-hero__avatar { width: 96px; height: 96px; }
/* 公开主页的加入时间/片单数量与顶栏「我的账号」同色 */
.acct-hero--public .acct-hero__meta { color: var(--paper-2); }
.acct--public .member-head .acct-kicker { margin-bottom: .35rem; }
.acct-section__count {
  flex: none;
  font-family: var(--f-mono);
  font-size: .72rem;
  color: var(--muted);
}
.acct--public .playlist-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.acct--public .member-posters { gap: 1.4rem 1rem; }

/* 公开主页的片单卡:黑底 + 透明效果,封面沿用会员中心「我的片单」的拼图 */
.acct--public .playlist-card {
  padding: .85rem .9rem 1rem;
  background: var(--acct-scrim);
  border-radius: var(--r-lg);
}
.acct--public .playlist-card:hover {
  background: color-mix(in srgb, var(--ink-2) 72%, transparent);
}
.acct--public .playlist-card__body { padding: .85rem .15rem .1rem; }
.acct--public .playlist-card__top { align-items: baseline; gap: .8rem; }
.acct--public .playlist-card__title { min-width: 0; }
.acct--public .playlist-card__count {
  flex: none;
  font-family: var(--f-mono);
  font-size: .72rem;
  color: var(--muted);
}

/* 公开片单:返回主页按钮跟在片单名旁边 */
.pub-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .85rem;
}
.pub-title-row .btn { flex: none; }

@media (max-width: 760px) {
  .pub-profile { padding-top: 1.6rem; padding-bottom: 3rem; }
  .acct--public .acct-hero__avatar { width: 78px; height: 78px; }
}
