.badge.badge-vip-no,
.top-user-badge.badge-vip-no { background: #646970; color: #fff; }
.badge.badge-vip-trial,
.top-user-badge.badge-vip-trial { background: #72aee6; color: #fff; }
.badge.badge-vip-month,
.top-user-badge.badge-vip-month { background: #2271b1; color: #fff; }
.badge.badge-vip-year,
.top-user-badge.badge-vip-year { background: #0a4b78; color: #fff; }
.badge.badge-vip-permanent,
.top-user-badge.badge-vip-permanent { background: #dba617; color: #fff; }

body.captcha-open { overflow: hidden; }

/* 后台登录页不加载 base.css。弹层默认藏起，打开后才盖在登录卡上面。 */
.feedback-modal.captcha-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.feedback-modal.captcha-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.captcha-modal .feedback-modal-mask {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 62%);
}
.captcha-modal .feedback-modal-box {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #fff;
  color: #111;
  border-radius: var(--bdrs-lg, 12px);
  box-shadow: 0 16px 40px rgb(0 0 0 / 18%);
}
.captcha-modal .feedback-modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 12px 10px 24px;
  border-bottom: 1px solid rgb(0 0 0 / 8%);
}
.captcha-modal .feedback-modal-head h2 {
  margin: 0;
  min-width: 0;
  flex: 1;
  color: #111;
  font-size: 16px;
  font-weight: 400;
  line-height: 36px;
}
.captcha-modal .ms-modal-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #888;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.captcha-modal .ms-modal-x:hover {
  color: #111;
  background: #f2f2f2;
}

.feedback-modal-box.captcha-box {
  width: min(100%, 380px);
}
.captcha-body {
  padding: 20px 24px 20px;
}

.captcha-puzzle {
  position: relative;
  width: 320px;
  max-width: 100%;
  height: 160px;
  margin: 0 auto 14px;
  overflow: hidden;
  border-radius: var(--bdrs-sm, 8px);
  background: #f2f2f2;
}

.captcha-puzzle-bg,
.captcha-puzzle-tile {
  display: block;
  user-select: none;
  pointer-events: none;
}
.captcha-puzzle-bg {
  width: 100%;
  height: 100%;
}

.captcha-puzzle-tile {
  position: absolute;
  left: 0;
  will-change: transform;
  transition: none;
}

.captcha-box .auth-notice {
  margin: 10px 0;
  text-align: center;
}

.captcha-track {
  position: relative;
  width: 320px;
  max-width: 100%;
  height: 42px;
  margin: 0 auto 10px;
  border-radius: var(--bdrs-md, 10px);
  background: #f6f7f7;
  border: 1px solid #e6e6e6;
  overflow: hidden;
  touch-action: none;
  user-select: none;
}

.captcha-track-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: rgb(255 230 0 / 28%);
  pointer-events: none;
  will-change: transform;
}

.captcha-track-tip {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 48px;
  font-size: 13px;
  color: #888;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.captcha-track-thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: var(--bdrs-md, 10px);
  background: var(--brand, #ffe600);
  color: var(--ink, #111);
  cursor: grab;
  box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
  will-change: transform;
  transition: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.captcha-track-thumb:active { cursor: grabbing; }

.captcha-track.is-ok .captcha-track-thumb { background: #4caf50; }
.captcha-track.is-ok .captcha-track-fill { background: rgb(76 175 80 / 28%); }
.captcha-track.is-fail .captcha-track-thumb { background: #e74c3c; }
.captcha-track.is-locked {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.captcha-track.is-locked .captcha-track-thumb { cursor: default; }

.captcha-refresh {
  display: block;
  margin: 0 auto;
  min-width: 72px;
  min-height: 36px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #888;
  font-size: 13px;
  cursor: pointer;
}

.captcha-refresh:hover { color: #111; }

/* 布局口径（内容壳与游戏卡）
   --shell  内容区宽度，随视口单调不减
   749      手机：游戏卡锁 2 列；页脚两列并排、版权靠左；浮动按钮为桌面七成；详情下载宽、收藏随内容
   999      窄屏：搜索钮与关闭钮同为 38px 并留缝；不展开分类下拉；头像进用户中心、三横无底打开右侧菜单；用户中心页不再叠放左侧模块；导航吸顶固定、可横滑无滚动条；订单表可横滑且不显示滚动条；首页轮播单张横滑并露出光晕；浏览筛选抽屉渐入渐出；左右抽屉互斥、锁住背后页面、外侧两角圆角；弹窗与详情操作条宽度跟导航一致，下载与收藏 2 比 1
   1000     桌面反向：导航搜索条展开（min-width）
   桌面     minmax(--card-min)
   交互断点仅 749 / 999；hover / pointer 查询单独保留
*/
:root {
  --ink: #000;
  --page: #1c1c1c;
  --grey: #2a2a2a;
  --grey-mid: #404040;
  --card: #000;
  --nav: var(--grey);
  --brand: #ffe600;
  --brand-hover: #fff067;
  --text: #fff;
  --muted: rgb(255 255 255 / 70%);
  --bdrs-lg: 10px;
  --bdrs-md: 8px;
  --bdrs-sm: 6px;
  --font: "PingFang SC", "Microsoft YaHei", sans-serif;
  --shell: min(90%, 1440px);
  --card-min: 200px;
  --card-min-sm: 170px;
  --card-gap: 15px;
  --card-gap-sm: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
[hidden] { display: none !important; }
body {
  font-family: var(--font);
  background: var(--page);
  color: var(--text);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 280px;
  padding: 48px 24px;
}
.empty-face {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  margin: 0 auto calc(20px - 0.16em);
  padding-bottom: 0.16em;
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  color: var(--brand);
  transform: rotate(90deg);
}
.empty-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  text-align: center;
}
.empty-desc {
  margin: 0;
  max-width: 420px;
  font-size: 13px;
  line-height: 1.7;
  color: rgb(255 255 255 / 45%);
}
button {
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
:is(
  a.btn-vip,
  a.top-txt,
  a.top-avatar,
  button.top-avatar,
  a.pager-btn,
  a.pager-num,
  .top-user-panel a,
  a.lib-brand,
  a.sort-btn,
  a.filter-opt,
  a.foot-explore-link,
  .member-nav a,
  a.home-section-all
) {
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
:is(
  button:not(:disabled):not(.toggle-row),
  a.btn-vip,
  a.top-txt,
  a.top-avatar,
  button.top-avatar,
  a.pager-btn,
  a.pager-num:not(.is-on),
  .top-user-panel a,
  a.lib-brand,
  .lib-mega-l1 > li > a,
  .lib-mega-l2 a,
  .lib-nav > a:not(.lib-brand),
  .lib-nav-scroll > a:not(.lib-brand),
  .lib-nav-drop > a,
  .lib-nav-drop-menu a,
  .lib-search button[type="submit"],
  .lib-search-toggle,
  .lib-mega-toggle,
  .lib-drop-toggle,
  a.sort-btn:not(.is-on),
  a.filter-opt,
  .filter-head,
  .sort-filter,
  .float-btns button,
  .float-btns a,
  .member-btn,
  .single-btn,
  a.foot-explore-link,
  .member-nav a,
  a.home-section-all,
  .feedback-modal-cancel,
  .feedback-modal-btn,
  .buy-down-btn,
  .buy-copy
):active {
  transform: translateY(1px) scale(0.97);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.spacer { flex: 1; width: 1%; }

.liquid {
  width: var(--shell);
  margin: 0 auto;
}

.btn-vip {
  display: none;
  height: 24px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: #fff;
  color: #9a9a9a;
}
.btn-vip:hover { color: #7a7a7a; }
@media (min-width: 750px) {
  .btn-vip { display: inline-flex; }
}

.grid,
.home-grid,
.single-related-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--card-min), 1fr));
  gap: var(--card-gap);
  overflow: visible;
}
.grid .card,
.home-grid .card,
.single-related-grid .card { margin-bottom: 0; }
.grid .card-body,
.home-grid .card-body,
.single-related-grid .card-body { padding: 12px 12px 6px; }
.grid .card-body h3,
.home-grid .card-body h3,
.single-related-grid .card-body h3 {
  margin-bottom: 6px;
  font-size: 14px;
}
.grid .card-body p,
.home-grid .card-body p,
.single-related-grid .card-body p { margin-bottom: 8px; }
@media (max-width: 999px) {
  .grid,
  .home-grid,
  .single-related-grid {
    grid-template-columns: repeat(auto-fill, minmax(var(--card-min-sm), 1fr));
    gap: var(--card-gap-sm);
  }
}
@media (max-width: 749px) {
  .grid,
  .home-grid,
  .single-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--card-gap-sm);
  }
}

.card {
  display: block;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: var(--bdrs-md);
  background: var(--card);
  color: #fff;
  min-width: 0;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.card-hit,
.home-row-card-hit {
  display: block;
  color: inherit;
}
.grid .card:hover,
.home-grid .card:hover,
.single-related-grid .card:hover {
  position: relative;
  z-index: 8;
  transform: scale(1.06);
  box-shadow: 0 18px 36px rgb(0 0 0 / 45%);
}
.cover {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #292929;
  overflow: hidden;
}
.cover-art { position: absolute; inset: 0; }
.cover-art.has-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}
.cover-art.is-broken img { display: none; }
.cover-art.is-broken::after { content: none; }
.cover-art.is-broken::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.42;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M4.2 6.5A2.2 2.2 0 0 1 6.4 4.3h5.4l-1.2 3.8 3.2 1.1-2 4.8 2.5 1.4-1.7 4.3H6.4A2.2 2.2 0 0 1 4.2 17.5V6.5z'/%3E%3Cpath fill='%23fff' fill-opacity='.45' d='M13.3 4.3h4.3A2.2 2.2 0 0 1 19.8 6.5v11a2.2 2.2 0 0 1-2.2 2.2h-5.2l1.3-3.9-2.5-1.4 1.8-4.4-3.2-1.1 1.5-4.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M4.2 6.5A2.2 2.2 0 0 1 6.4 4.3h5.4l-1.2 3.8 3.2 1.1-2 4.8 2.5 1.4-1.7 4.3H6.4A2.2 2.2 0 0 1 4.2 17.5V6.5z'/%3E%3Cpath fill='%23fff' fill-opacity='.45' d='M13.3 4.3h4.3A2.2 2.2 0 0 1 19.8 6.5v11a2.2 2.2 0 0 1-2.2 2.2h-5.2l1.3-3.9-2.5-1.4 1.8-4.4-3.2-1.1 1.5-4.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cover-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgb(0 0 0 / 28%));
}
.cover-letter {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 36px;
  font-weight: 900;
  color: rgb(255 255 255 / 28%);
}
.cover-fav {
  position: absolute;
  z-index: 4;
  top: 6px;
  left: 6px;
  width: 26px;
  height: 26px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: rgb(0 0 0 / 45%);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.cover-fav svg { display: block; width: 14px; height: 14px; }
.cover-fav:hover { background: rgb(0 0 0 / 62%); }
.cover-fav.is-on { color: #e03131; }
.cover-fav.is-on path { fill: currentColor; }
.cover-expired {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 76px;
  height: 76px;
  overflow: hidden;
  pointer-events: none;
}
.cover-expired::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 76px 76px 0;
  border-color: transparent #e03131 transparent transparent;
}
.cover-expired span {
  position: absolute;
  top: 21px;
  right: -14px;
  width: 96px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  text-align: center;
  transform: rotate(45deg);
}
.cover-weekly {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 76px;
  height: 76px;
  overflow: hidden;
  pointer-events: none;
}
.cover-weekly::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 76px 76px 0;
  border-color: transparent #ffe600 transparent transparent;
}
.cover-weekly span {
  position: absolute;
  top: 21px;
  right: -14px;
  width: 96px;
  color: #1c1c1c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  text-align: center;
  transform: rotate(45deg);
}
.card-body { padding: 15px 15px 8px; }
.card-body h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-body p {
  margin: 0 0 12px;
  font-size: 12px;
  color: #b7b7b7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  height: 20px;
  overflow: hidden;
}
.tags span,
.tags a {
  height: 20px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 12%);
  color: rgb(255 255 255 / 85%);
  font-size: 12px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.tags a:hover {
  background: rgb(255 255 255 / 22%);
  color: #fff;
}
.card > .tags {
  padding: 0 15px;
  margin-bottom: 15px;
}
.grid .card > .tags,
.home-grid .card > .tags {
  padding: 0 12px;
  margin-bottom: 12px;
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 24px 0 48px;
  flex-wrap: wrap;
}
.pager-pages { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pager-ellipsis {
  min-width: 24px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(255 255 255 / 55%);
  font-size: 14px;
  font-weight: 400;
  user-select: none;
}
.pager-btn,
.pager-num {
  min-width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--bdrs-sm);
  background: rgb(255 255 255 / 12%);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}
.pager-num.is-on {
  background: var(--brand);
  color: #000;
  cursor: default;
}
.pager-btn:hover,
.pager-num:hover { background: rgb(255 255 255 / 22%); }
.pager-num.is-on:hover { background: var(--brand); }
.pager-btn:disabled,
.pager-btn.is-off {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
@media (hover: none), (pointer: coarse) {
  .pager-btn,
  .pager-num {
    min-width: 44px;
    height: 44px;
  }
}

.auth-btn:hover,
.member-btn:hover {
  background: var(--brand-hover);
}
@keyframes ms-btn-spin {
  to { transform: rotate(360deg); }
}
:root {
  --ms-busy-fg: #111;
}
.is-busy {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.is-busy > * {
  visibility: hidden;
}
.auth-control-code {
  position: relative;
  display: block;
}
.auth-control-code input { padding-right: 120px; }
.auth-code-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  min-width: 108px;
  padding: 0 10px;
  border: 0;
  border-radius: calc(var(--bdrs-md) - 2px);
  background: var(--brand);
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
}
.auth-code-btn.is-busy {
  position: absolute;
}
.auth-code-btn:disabled:not(.is-busy) {
  background: #e8e8e8;
  color: #888;
  cursor: default;
}
.is-busy::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  width: 16px;
  height: 16px;
  left: 50%;
  top: 50%;
  margin: -8px 0 0 -8px;
  border: 2px solid color-mix(in srgb, var(--ms-busy-fg) 22%, transparent);
  border-top-color: var(--ms-busy-fg);
  border-radius: 50%;
  animation: ms-btn-spin 0.55s linear infinite;
}
.float-btns button.is-busy:disabled {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .is-busy::after { animation: none; }
}
.head {
  position: relative;
  overflow: visible;
  color: #fff;
  background: linear-gradient(
    180deg,
    rgb(0 0 0 / 46%) 0%,
    rgb(0 0 0 / 52%) 48%,
    rgb(28 28 28 / 62%) 100%
  );
}
.head::after {
  display: none;
}
.top {
  position: relative;
  z-index: 120;
  height: 60px;
}
.top-inner {
  width: var(--shell);
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-brand {
  display: inline-flex;
  align-items: center;
  align-self: center;
  min-width: 0;
  height: 40px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}
.top-brand img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.top-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.top-txt {
  display: none;
  align-items: center;
  gap: 6px;
  height: 40px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  padding: 0;
  transition: opacity 0.2s ease, transform 0.15s ease;
}
.top-txt svg,
.top-txt span {
  display: block;
  flex: none;
}
.top-txt svg {
  width: 16px;
  height: 16px;
}
.top-txt:hover { opacity: 0.72; }
@media (min-width: 1000px) { .top-txt { display: inline-flex; } }
.top-user {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-avatar {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgb(255 255 255 / 22%);
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
}
.top-avatar svg {
  display: block;
  width: 22px;
  height: 22px;
}
.top-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-avatar:hover { opacity: 0.8; }
.top-menu-toggle {
  display: none;
  flex: none;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  place-items: center;
  cursor: pointer;
}
.top-menu-toggle svg {
  display: block;
  width: 20px;
  height: 20px;
}
.top-menu-toggle:active { opacity: 0.72; }
.mask {
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 55%);
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}
.mask.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.member-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  width: calc(100vw - 40px - env(safe-area-inset-left, 0px));
  max-width: 300px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 12px calc(16px + env(safe-area-inset-bottom, 0px));
  overflow: auto;
  overscroll-behavior: contain;
  background: #323232;
  border-radius: 16px 0 0 16px;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.32s ease, opacity 0.32s ease, visibility 0.32s ease;
}
.member-drawer-mask { z-index: 125; }
.member-drawer.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.member-drawer .member-side {
  background: transparent;
  border-radius: 0;
  padding: 8px 4px;
  backdrop-filter: none;
}
.member-drawer .member-side-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}
.member-side-out { display: none; }
.member-drawer .member-side-out {
  display: block;
  margin: 0 0 0 auto;
  flex: none;
}
.member-drawer .member-side-out-btn {
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--bdrs-sm);
  background: rgb(255 255 255 / 12%);
  color: rgb(255 255 255 / 78%);
  font: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}
.member-drawer .member-side-out-btn:active { background: rgb(255 255 255 / 20%); }
.member-drawer .member-side-ava {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--grey-mid);
  color: rgb(255 255 255 / 70%);
  display: grid;
  place-items: center;
  text-decoration: none;
}
.member-drawer a.member-side-ava:active { opacity: 0.8; }
.member-drawer .member-side-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-drawer .member-side-who {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.member-drawer .member-side-name {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.member-drawer .member-nav { display: grid; gap: 4px; }
.member-drawer .member-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgb(255 255 255 / 75%);
  padding: 8px 10px;
  border-radius: var(--bdrs-sm);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}
.member-drawer .member-nav-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  color: rgb(255 255 255 / 72%);
}
.member-drawer .member-nav-ico svg { display: block; }
.member-drawer .member-nav a.is-on {
  background: rgb(255 255 255 / 10%);
  color: rgb(255 255 255 / 85%);
}
.member-drawer .member-nav a.is-on .member-nav-ico { color: var(--brand); }
.member-drawer .member-nav a:hover {
  background: rgb(255 255 255 / 10%);
  color: rgb(255 255 255 / 75%);
}
.member-drawer .member-nav a:hover .member-nav-ico { color: rgb(255 255 255 / 72%); }
.member-drawer .member-nav a.is-on:hover {
  background: rgb(255 255 255 / 10%);
  color: rgb(255 255 255 / 85%);
}
.member-drawer .member-nav a.is-on:hover .member-nav-ico { color: var(--brand); }
.member-drawer .member-nav a:active {
  background: rgb(255 255 255 / 16%);
}
@media (min-width: 1000px) {
  .member-drawer,
  .member-drawer-mask { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mask,
  .member-drawer { transition: none; }
}
.top-user-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 121;
  width: 400px;
  margin-left: -200px;
  padding: 16px;
  background: #fff;
  color: #111;
  border-radius: var(--bdrs-md);
  box-shadow: 0 16px 40px rgb(0 0 0 / 18%);
}
.top-user-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.top-user-menu::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -2px -2px 4px rgb(0 0 0 / 6%);
}
.top-user:hover .top-user-menu,
.top-user:focus-within .top-user-menu { display: block; }
.top-user-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.top-user-head-ava {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f2f2f2;
  color: #555;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.top-user-head-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-user-head-main { min-width: 0; flex: 1; }
.top-user-head-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.top-user-name {
  margin: 0;
  min-width: 0;
  flex: 1;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-user-badge {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
}
.top-user-hello {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #777;
}
.top-user-out {
  flex: none;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  color: #888;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.top-user-out-form {
  margin: 0;
  flex: none;
  display: flex;
  align-items: center;
}
.top-user-out:hover { color: #111; }
.top-user-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.top-user-panel {
  display: grid;
  grid-template-rows: auto minmax(22px, 1fr) 26px;
  align-items: start;
  gap: 8px;
  min-width: 0;
  min-height: 108px;
  padding: 12px;
  border-radius: var(--bdrs-sm);
  background: #f5f5f5;
}
.top-user-panel-tit {
  font-size: 12px;
  font-weight: 400;
  color: #888;
  line-height: 1.2;
}
.top-user-panel-val {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #111;
  align-self: center;
}
.top-user-panel a {
  height: 26px;
  padding: 0 10px;
  border-radius: 4px;
  background: var(--nav);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  align-self: end;
}
.top-user-panel a:hover {
  background: color-mix(in srgb, #fff 7%, var(--nav));
  color: #fff;
}
.top-user-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2px;
  border-top: 1px solid #eee;
  padding-top: 8px;
}
.top-user-links a {
  height: 32px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  color: #444;
  display: inline-flex;
  align-items: center;
}
.top-user-links a:hover {
  background: #f0f0f0;
  color: #111;
}
.banner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  padding: 42px 0 70px;
  min-height: 148px;
}
@media (max-width: 749px) {
  .banner {
    padding: 16px 0 48px;
    min-height: 86px;
  }
}
.lib-nav-wrap {
  position: sticky;
  top: 12px;
  z-index: 50;
  margin-top: -30px;
  margin-bottom: -30px;
  display: flex;
  justify-content: center;
}
.lib-nav {
  position: relative;
  width: var(--shell);
  max-width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--nav);
  border-radius: var(--bdrs-lg);
  box-shadow: 0 2px 4px rgb(0 0 0 / 15%);
  padding-right: 8px;
  overflow: visible;
}
.lib-nav-scroll {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
  height: 100%;
  overflow-x: auto;
}
.lib-brand-wrap {
  position: static;
  display: flex;
  align-items: center;
  flex: none;
  height: 100%;
  margin: 0 8px 0 20px;
}
.lib-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgb(255 255 255 / 70%);
  flex: none;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--bdrs-sm);
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.lib-brand-wrap:hover .lib-brand {
  background: rgb(255 255 255 / 7%);
  color: #fff;
}
.lib-brand-icon {
  display: block;
  height: 16px;
  width: 16px;
  flex: none;
}
.lib-brand-text {
  font-family: var(--font);
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  white-space: nowrap;
}
.lib-mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  width: 100%;
  padding-top: 12px;
}
.lib-brand-wrap.is-open .lib-mega { display: block; }
@media (hover: hover) and (pointer: fine) {
  .lib-brand-wrap:hover .lib-mega { display: block; }
}
.lib-mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 12px;
}
.lib-mega::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 48px;
  width: 12px;
  height: 12px;
  background: var(--page);
  transform: rotate(45deg);
  box-shadow: -2px -2px 4px rgb(0 0 0 / 6%);
}
.lib-mega-l1 {
  position: static;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  width: 20%;
  background: var(--page);
  border-radius: var(--bdrs-lg) 0 0 var(--bdrs-lg);
  box-shadow: 0 8px 24px rgb(0 0 0 / 35%);
}
.lib-mega-l1 > li { position: static; }
.lib-mega-l1 > li > a {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  color: rgb(255 255 255 / 80%);
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}
.lib-mega-l1 > li:hover > a,
.lib-mega-l1 > li:first-child > a {
  background: rgb(255 255 255 / 10%);
  color: #fff;
}
.lib-mega-l1:hover > li:first-child:not(:hover) > a {
  background: transparent;
  color: rgb(255 255 255 / 80%);
}
.lib-mega-l2 {
  display: none;
  position: absolute;
  left: 20%;
  right: 0;
  top: 12px;
  bottom: 0;
  width: auto;
  padding: 16px 20px;
  background: var(--grey);
  border-radius: 0 var(--bdrs-lg) var(--bdrs-lg) 0;
  box-shadow: 0 8px 24px rgb(0 0 0 / 35%);
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px 20px;
  box-sizing: border-box;
}
.lib-mega-l1 > li:first-child .lib-mega-l2 { display: flex; }
.lib-mega-l1:hover > li .lib-mega-l2 { display: none; }
.lib-mega-l1 > li:hover .lib-mega-l2 { display: flex; }
.lib-mega-l2 a {
  height: 32px;
  padding: 0 10px;
  border-radius: var(--bdrs-sm);
  font-size: 14px;
  font-weight: 400;
  color: rgb(255 255 255 / 75%);
  display: flex;
  align-items: center;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}
.lib-mega-l2 a:hover {
  background: rgb(255 255 255 / 10%);
  color: #fff;
}
.lib-mega-empty {
  font-size: 13px;
  color: rgb(255 255 255 / 40%);
  line-height: 32px;
}
.lib-nav > a:not(.lib-brand),
.lib-nav-scroll > a:not(.lib-brand),
.lib-nav-drop > a {
  height: 38px;
  padding: 0 12px;
  border-radius: var(--bdrs-sm);
  font-size: 14px;
  font-weight: 700;
  color: rgb(255 255 255 / 70%);
  display: flex;
  align-items: center;
  flex: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.lib-nav > a:not(.lib-brand):hover,
.lib-nav-scroll > a:not(.lib-brand):hover,
.lib-nav-drop > a:hover {
  background: rgb(255 255 255 / 7%);
  color: #fff;
}
.lib-nav > a:not(.lib-brand).is-on,
.lib-nav-scroll > a:not(.lib-brand).is-on,
.lib-nav-drop > a.is-on {
  background: rgb(255 255 255 / 7%);
  color: #fff;
}
.lib-nav > a:not(.lib-brand):active,
.lib-nav-scroll > a:not(.lib-brand):active,
.lib-nav-drop > a:active {
  background: rgb(255 255 255 / 12%);
}
.lib-nav-drop {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.lib-nav-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 160px;
  padding: 8px 0;
  background: var(--page);
  border-radius: var(--bdrs-md);
  box-shadow: 0 8px 24px rgb(0 0 0 / 35%);
}
.lib-nav-drop.is-open .lib-nav-drop-menu { display: block; }
@media (hover: hover) and (pointer: fine) {
  .lib-nav-drop:hover .lib-nav-drop-menu { display: block; }
}
.lib-nav-drop-menu a {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 400;
  color: rgb(255 255 255 / 80%);
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}
.lib-nav-drop-menu a:hover {
  background: rgb(255 255 255 / 10%);
  color: #fff;
}
.lib-nav-split {
  width: 1px;
  height: 14px;
  margin: 0 10px;
  background: rgb(255 255 255 / 32%);
  color: transparent;
  overflow: hidden;
  user-select: none;
  flex: none;
}
.lib-search {
  position: relative;
  width: 320px;
  height: 38px;
  display: none;
  align-items: center;
  gap: 4px;
  padding-right: 4px;
  border-radius: var(--bdrs-sm);
  background: rgb(255 255 255 / 15%);
  overflow: visible;
  flex: none;
}
@media (min-width: 1000px) { .lib-search { display: flex; } }
.lib-search-toggle,
.lib-mega-toggle,
.lib-drop-toggle {
  display: none;
  flex: none;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--bdrs-sm);
  background: rgb(255 255 255 / 15%);
  color: #fff;
  place-items: center;
  cursor: pointer;
}
.lib-mega-toggle,
.lib-drop-toggle {
  background: transparent;
  width: 28px;
  height: 38px;
}
.lib-search-toggle:active,
.lib-mega-toggle:active,
.lib-drop-toggle:active { background: rgb(255 255 255 / 28%); }
.lib-search-toggle .lib-search-close { display: none; }
@media (hover: none), (pointer: coarse) {
  .lib-mega-toggle,
  .lib-drop-toggle { display: grid; }
  .lib-search-toggle,
  .lib-mega-toggle,
  .lib-drop-toggle {
    width: 44px;
    height: 44px;
  }
}
@media (max-width: 999px) {
  .lib-search-toggle { display: grid; }
  .lib-mega-toggle,
  .lib-drop-toggle { display: none; }
  .lib-mega,
  .lib-brand-wrap:hover .lib-mega,
  .lib-brand-wrap.is-open .lib-mega,
  .lib-nav-drop-menu,
  .lib-nav-drop.is-open .lib-nav-drop-menu { display: none; }
  .lib-search-toggle {
    width: 38px;
    height: 38px;
  }
  .lib-search-toggle .lib-search-close { display: none; }
  .lib-nav.is-search-open .lib-search-toggle .lib-search-ico { display: none; }
  .lib-nav.is-search-open .lib-search-toggle .lib-search-close { display: block; }
  .lib-nav.is-search-open .lib-search {
    display: flex;
    position: absolute;
    left: 8px;
    right: 54px;
    top: 11px;
    width: auto;
    z-index: 4;
  }
  .lib-nav.is-search-open .lib-search-toggle {
    position: relative;
    z-index: 5;
    background: rgb(255 255 255 / 28%);
  }
  .lib-nav.is-search-open .lib-nav-scroll {
    visibility: hidden;
    pointer-events: none;
  }
  .lib-nav-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .lib-nav-scroll::-webkit-scrollbar { display: none; }
  .top-user-menu,
  .top-user:hover .top-user-menu,
  .top-user:focus-within .top-user-menu { display: none; }
  .top-menu-toggle { display: grid; }
  html, body { overflow-x: clip; }
  html.is-drawer-lock,
  html.is-drawer-lock body {
    overflow: hidden;
    overscroll-behavior: none;
  }
  body.is-drawer-lock {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
  }
  .member-wrap > .member-side { display: none; }
  .lib-nav.is-search-open .lib-search-toggle { align-self: center; }
}
.lib-search-roll {
  position: absolute;
  left: 8px;
  right: 38px;
  top: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}
.lib-search.is-typed .lib-search-roll { visibility: hidden; }
.lib-search-hint {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  color: rgb(255 255 255 / 40%);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.45s ease, opacity 0.45s ease;
}
.lib-search-hint.is-cur { transform: translateY(0); opacity: 1; }
.lib-search-hint.is-next { transform: translateY(110%); opacity: 0; }
.lib-search-hint.is-leave { transform: translateY(-110%); opacity: 0; }
.lib-search input {
  flex: 1;
  width: 1%;
  height: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0 8px;
  font-size: 14px;
  outline: none;
  position: relative;
  z-index: 1;
}
.lib-search input[type="search"]::-webkit-search-decoration,
.lib-search input[type="search"]::-webkit-search-cancel-button,
.lib-search input[type="search"]::-webkit-search-results-button,
.lib-search input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.lib-search input[type="search"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}
.lib-search input::placeholder { color: rgb(255 255 255 / 40%); }
.lib-search.has-roll input::placeholder { color: transparent; }
.lib-search button[type="submit"] {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 4px;
  background: rgb(255 255 255 / 10%);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}
.lib-search button[type="submit"]:hover { background: rgb(255 255 255 / 20%); }
.lib-search-clear {
  width: 22px;
  height: 22px;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgb(255 255 255 / 55%);
  display: none;
  place-items: center;
  cursor: pointer;
  flex: none;
}
.lib-search.is-typed .lib-search-clear { display: grid; }
.lib-search-clear:hover { color: #fff; }
.lib-search-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 80;
  overflow: hidden;
  border-radius: var(--bdrs-sm);
  background: #2a2a2a;
  box-shadow: 0 10px 28px rgb(0 0 0 / 35%);
}
.lib-search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}
.lib-search-item:last-child { border-bottom: 0; }
.lib-search-empty {
  padding: 14px 12px;
  color: rgb(255 255 255 / 72%);
  font-size: 13px;
  text-align: center;
}
.lib-search-item:hover,
.lib-search-item:focus-visible {
  background: rgb(255 255 255 / 10%);
  outline: none;
}
.lib-search-thumb {
  width: 72px;
  aspect-ratio: 16 / 9;
  flex: none;
  border-radius: 4px;
  overflow: hidden;
  background: #292929;
  display: grid;
  place-items: center;
}
.lib-search-thumb.has-img {
  background-size: cover;
  background-position: center;
}
.lib-search-thumb-letter {
  font-size: 18px;
  font-weight: 900;
  color: rgb(255 255 255 / 28%);
}
.lib-search-body {
  min-width: 0;
  flex: 1;
}
.lib-search-item-title {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lib-search-item .tags {
  margin-top: 4px;
  height: 16px;
  gap: 4px;
}
.lib-search-item .tags span {
  height: 16px;
  padding: 0 6px;
  font-size: 10px;
}

.foot {
  background: var(--card);
  padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px));
  color: #fff;
}
.foot-top {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.foot-top section {
  width: 150px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.foot-top section:first-child {
  width: 240px;
  margin-right: 72px;
}
.foot-brand,
.foot-top a.foot-brand {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  height: 40px;
  font-size: 18px;
  font-weight: 700;
  line-height: 40px;
  color: #fff;
}
.foot-brand img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.foot-credits {
  margin: 0;
  text-align: right;
  color: #888;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.6;
  text-transform: none;
}
.foot-top a.foot-brand:hover { color: #fff; }
.foot-top h4 {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  color: #fff;
}
.foot-top a { color: #999; font-size: 12px; }
.foot-top a:hover { color: #ccc; }
.foot-bot {
  color: #888;
  border-top: 1px solid rgb(255 255 255 / 12%);
  margin-top: 30px;
  padding-top: 22px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.6;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.foot-copy { margin: 0; color: #888; font-size: 12px; font-weight: 400; line-height: 1.6; }
.foot-legal {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #666;
  font-size: 11px;
}
@media (max-width: 749px) {
  .foot-bot { flex-direction: column; align-items: flex-start; }
  .foot-credits { text-align: left; }
  .foot-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .foot-top section,
  .foot-top section:first-child {
    width: auto;
    margin-right: 0;
  }
  .foot-top section:first-child { grid-column: 1 / -1; }
}
.foot-desc {
  margin: 8px 0 0;
  font-size: 12px;
  color: #888;
  font-weight: 400;
  line-height: 1.6;
}
.ms-veil {
  --ms-veil-hit-top: 0%;
  --ms-veil-hit-bottom: 38%;
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--page);
}
.ms-veil-photo {
  position: absolute;
  inset: 0;
  background-image: var(--ms-veil-img);
  background-size: cover;
  background-position: center;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 calc(100% - var(--ms-veil-hit-bottom)),
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 calc(100% - var(--ms-veil-hit-bottom)),
    transparent 100%
  );
}
.ms-veil-hit {
  position: absolute;
  top: var(--ms-veil-hit-top);
  right: 0;
  bottom: var(--ms-veil-hit-bottom);
  left: 0;
  z-index: 0;
  pointer-events: auto;
}
.ms-veil::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgb(0 0 0 / 46%) 0%,
    rgb(0 0 0 / 52%) 48%,
    rgb(28 28 28 / 62%) 72%,
    var(--page) 100%
  );
}
.has-mast-veil {
  --mast-top-h: 60px;
  --mast-banner-h: 74px;
  --mast-chrome-h: calc(var(--mast-top-h) + var(--mast-banner-h));
}
.has-mast-veil .banner {
  padding: 21px 0 35px;
  min-height: var(--mast-banner-h);
}
@media (max-width: 749px) {
  .has-mast-veil {
    --mast-banner-h: 43px;
  }
  .has-mast-veil .banner {
    padding: 8px 0 24px;
  }
}
.has-mast-veil .head {
  background: transparent;
  z-index: 60;
  pointer-events: none;
}
.has-mast-veil .head a,
.has-mast-veil .head button,
.has-mast-veil .head input,
.has-mast-veil .head select,
.has-mast-veil .head textarea,
.has-mast-veil .head .top-user,
.has-mast-veil .head .lib-nav,
.has-mast-veil .head .lib-nav-drop,
.has-mast-veil .head .lib-brand-wrap {
  pointer-events: auto;
}
.has-mast-veil .head::after { display: none; }
.has-mast-veil .top-brand { color: #fff; }
.page-mast {
  position: relative;
  z-index: 0;
  top: calc(-1 * var(--mast-chrome-h));
  margin-bottom: calc(-1 * var(--mast-chrome-h));
  padding-top: var(--mast-chrome-h);
}
.page-mast > *:not(.ms-veil) {
  position: relative;
  z-index: 1;
}
.has-mast-veil .hero,
.has-mast-veil .sort-wrap {
  pointer-events: none;
}
.has-mast-veil .hero-inner > *,
.has-mast-veil .sort {
  pointer-events: auto;
}
.foot-explore {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  text-align: center;
  background: var(--page);
}
.foot-explore .ms-veil {
  --ms-veil-hit-top: 36%;
  --ms-veil-hit-bottom: 36%;
  background: linear-gradient(180deg, var(--page) 0%, var(--page) 42%, var(--card) 100%);
}
.foot-explore .ms-veil-photo {
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 var(--ms-veil-hit-top),
    #000 calc(100% - var(--ms-veil-hit-bottom)),
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 var(--ms-veil-hit-top),
    #000 calc(100% - var(--ms-veil-hit-bottom)),
    transparent 100%
  );
}
.foot-explore .ms-veil::after {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgb(0 0 0 / 6%) 20%,
    rgb(0 0 0 / 22%) 38%,
    rgb(0 0 0 / 36%) 50%,
    rgb(0 0 0 / 24%) 64%,
    rgb(0 0 0 / 8%) 82%,
    transparent 100%
  );
}
.foot-explore-inner {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 75px 20px;
}
.foot-explore:has(.ms-veil-hit) .foot-explore-inner {
  pointer-events: none;
}
.foot-explore:has(.ms-veil-hit) .foot-explore-link {
  pointer-events: auto;
}
.foot-explore h2 {
  margin: 0 0 15px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 0 10px rgb(0 0 0 / 50%);
}
.foot-explore p {
  margin: 0 0 60px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: #fff;
  opacity: 0.5;
  text-shadow: 0 0 6px rgb(0 0 0 / 50%);
}
.foot-explore-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  border-radius: var(--bdrs-sm);
  background: rgb(255 255 255 / 10%);
  color: #d0d0d0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  box-shadow: 0 0 10px rgb(0 0 0 / 20%);
}
.foot-explore-link:hover { background: rgb(255 255 255 / 20%); }
.ad-slot { margin: 16px 0; }
.ad-slot img { max-width: 100%; height: auto; display: block; }
.ad-banner {
  --ad-h: 140px;
  position: relative;
  width: 100%;
  height: var(--ad-h);
  margin: 0 auto 28px;
  overflow: hidden;
  border-radius: 12px;
  background: #141414;
}
.ad-banner-link,
.ad-banner-static {
  position: relative;
  display: block;
  height: var(--ad-h);
  overflow: hidden;
  color: inherit;
}
.ad-banner img {
  display: block;
  width: 100%;
  height: var(--ad-h);
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.ad-banner-link:hover img,
.ad-banner-link:focus-visible img {
  transform: scale(1.045);
}
.ad-banner .cover-art {
  position: absolute;
  inset: 0;
  background: #292929;
}
.ad-banner .cover-art::after { content: none; }
@media (prefers-reduced-motion: reduce) {
  .ad-banner img { transition: none; }
  .ad-banner-link:hover img,
  .ad-banner-link:focus-visible img { transform: none; }
}
.float-btns {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.float-btns button,
.float-btns a {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #333;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgb(0 0 0 / 22%);
}
.float-btns button:hover,
.float-btns a:hover {
  background: #f3f3f3;
  color: #111;
}
.float-btns button svg,
.float-btns a svg {
  display: block;
  width: 18px;
  height: 18px;
}
.float-tip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 7px 10px;
  border-radius: 4px;
  background: #2a2a2a;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 4px 12px rgb(0 0 0 / 28%);
}
.float-btns button:hover .float-tip,
.float-btns a:hover .float-tip {
  opacity: 1;
}
@media (max-width: 749px) {
  .float-btns { gap: 6px; }
  .float-btns button,
  .float-btns a {
    width: 31px;
    height: 31px;
  }
  .float-btns button svg,
  .float-btns a svg {
    width: 13px;
    height: 13px;
  }
  .float-tip { display: none; }
}
.ms-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 220;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 240px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 16px 20px 16px 16px;
  border-radius: 10px;
  background: #161616;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  box-shadow: 0 18px 48px rgb(0 0 0 / 48%);
}
.ms-toast-ico {
  display: none;
  flex: none;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.ms-toast-ico svg { display: block; }
.ms-toast.is-ok .ms-toast-ok { display: flex; color: #22c55e; }
.ms-toast.is-warn .ms-toast-warn { display: flex; color: #f5c518; }
.ms-toast-txt {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  font-weight: 400;
  line-height: 28px;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}
.auth-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.auth-modal-mask {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 58%);
}
.auth-modal-box {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(960px, calc(100vw - 32px));
  min-height: min(560px, calc(100vh - 24px));
  min-height: min(560px, calc(100dvh - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  background: #fff;
  color: #111;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgb(0 0 0 / 40%);
  overflow-x: hidden;
  overflow-y: auto;
  font-weight: 400;
  transform: translateY(-56px);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}
.auth-modal.is-open .auth-modal-box {
  transform: none;
  opacity: 1;
}
.auth-modal-box:not(:has(.auth-modal-left)) {
  grid-template-columns: 1fr;
  width: min(480px, calc(100vw - 32px));
  min-height: 0;
}
.ms-modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.auth-modal-box > .ms-modal-x { color: #888; }
.auth-modal-box > .ms-modal-x:hover { color: #111; background: #f2f2f2; }
.auth-modal-left {
  position: relative;
  min-height: 100%;
  padding: 0;
  background: #111;
  overflow: hidden;
}
.auth-modal-photo {
  position: absolute;
  inset: 0;
  background-image: var(--ms-auth-img);
  background-size: cover;
  background-position: center;
}
.auth-modal-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.auth-modal-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 44px;
}
.auth-modal-tabs {
  margin-bottom: 24px;
}
.ms-modal-tabs {
  display: flex;
  align-items: stretch;
  gap: 24px;
  border-bottom: 1px solid rgb(0 0 0 / 8%);
}
.ms-modal-tab {
  height: 40px;
  padding: 0 2px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  color: #888;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
}
.ms-modal-tab:hover {
  background: none;
  color: #111;
}
.ms-modal-tab.is-on {
  color: #111;
  border-bottom-color: var(--brand);
}
.ms-modal-tab-title {
  height: 40px;
  padding: 0 2px;
  margin-bottom: -1px;
  border-bottom: 2px solid var(--brand);
  color: #111;
  font-size: 15px;
  font-weight: 400;
  line-height: 40px;
}
.auth-modal-box .auth-form { margin: 0; }
.auth-modal-box .auth-field { margin: 0 0 16px; }
.auth-modal-box .auth-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 400;
  color: #666;
}
.auth-modal-box .auth-control { position: relative; display: block; }
.auth-modal-box .auth-ico {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  color: #bbb;
  pointer-events: none;
}
.auth-modal-box .auth-control input {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  padding: 0 12px 0 38px;
  border: 1px solid #e6e6e6;
  border-radius: var(--bdrs-md);
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 400;
}
.auth-modal-box .auth-control:not(:has(.auth-ico)) input { padding-left: 12px; }
.auth-modal-box .auth-control-code input { padding-right: 120px; }
.auth-modal-box .auth-control input::placeholder { color: #bbb; font-weight: 400; }
.auth-modal-box .auth-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 400;
}
.auth-modal-box .auth-toolbar a {
  color: #888;
  font-weight: 400;
}
.auth-modal-box .auth-toolbar a:hover { color: #111; }
.auth-modal-box .auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: #666;
  cursor: pointer;
}
.auth-modal-box .auth-check input {
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  font-weight: 400;
}
.auth-modal-box .auth-check input:checked {
  border-color: var(--brand);
  background-color: var(--brand);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23111' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.2 6.6 11.2 12.5 4.8'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.auth-modal-box .auth-submit { margin: 0; }
.auth-modal-box .auth-btn {
  display: block;
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: var(--bdrs-md);
  background: var(--brand);
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
}
.auth-notice {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: var(--bdrs-sm);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  background: #f3f7f3;
  color: #2a6;
}
.auth-notice-error { background: #fff1f2; color: #c23; }
.auth-modal-box .auth-back { margin: 14px 0 0; text-align: center; }
.auth-modal-box .auth-back button {
  padding: 0;
  border: 0;
  background: none;
  color: #888;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}
.auth-modal-box .auth-back button:hover { color: #111; }
@media (prefers-reduced-motion: reduce) {
  .auth-modal,
  .auth-modal-box,
  .feedback-modal,
  .feedback-modal-box { transition: none; }
  .auth-modal-box,
  .feedback-modal-box { transform: none; }
}
body.auth-open { overflow: hidden; }
@media (max-width: 749px) {
  .auth-modal-box {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .auth-modal-left { display: none; }
  .auth-modal-right { padding: 36px 24px 28px; }
}

.single-preview-note {
  margin: 0;
  padding: 8px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  background: rgb(0 0 0 / 55%);
  color: #fff;
}
.page-doc {
  padding: 32px 0 48px;
}
.page-doc-body {
  max-width: 860px;
  margin: 0 auto;
}
.page-doc-body h1 {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 700;
}
.page-doc-content {
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
.page-doc-content p { margin: 0 0 1em; }
.page-doc-content ul,
.page-doc-content ol {
  margin: 0 0 1em;
  padding-left: 1.7em;
}
.page-doc-content li { margin: 0 0 0.4em; }
.page-doc-content h2,
.page-doc-content h3,
.page-doc-content h4 {
  margin: 1.2em 0 0.6em;
  font-weight: 700;
  line-height: 1.4;
}
.page-doc-content img,
.page-doc-content video,
.page-doc-content iframe {
  max-width: 100%;
  height: auto;
}
.page-doc-content .alignleft {
  float: left;
  margin: 8px 16px 8px 0;
}
.page-doc-content .aligncenter {
  display: block;
  float: none;
  margin: 8px auto;
}
.page-doc-content .alignright {
  float: right;
  margin: 8px 0 8px 16px;
}
.page-doc-content .wp-caption,
.page-doc-content figure {
  max-width: 100%;
  margin: 16px 0;
}
.page-doc-content .wp-caption-text,
.page-doc-content figcaption {
  margin: 8px 0 0;
  font-size: 13px;
  text-align: center;
  color: inherit;
}
.page-doc-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.page-doc-content table td,
.page-doc-content table th {
  border: 1px solid rgb(255 255 255 / 18%);
  padding: 8px 10px;
  vertical-align: top;
}
.page-doc-content hr {
  border: 0;
  border-top: 1px solid rgb(255 255 255 / 16%);
  margin: 20px 0;
}
.page-doc-cover {
  margin: 0 0 20px;
}
.page-doc-cover img {
  max-width: 100%;
  height: auto;
  border-radius: var(--bdrs-md);
}
.page-doc-content blockquote {
  margin: 14px 0;
  padding: 12px 16px;
  border-left: 4px solid #dcdcde;
  background: #f6f7f7;
  color: inherit;
  font: inherit;
}
.page-doc-content blockquote p {
  margin: 0 0 8px;
  color: inherit;
}
.page-doc-content blockquote p:last-child {
  margin-bottom: 0;
}

body.pay-qr-open,
body.ms-confirm-open,
body.feedback-open { overflow: hidden; }
.pay-qr-modal.feedback-modal,
.feedback-modal.captcha-modal {
  z-index: 200;
}
.pay-qr-box.feedback-modal-box {
  width: min(100%, 400px);
  text-align: center;
}
.pay-qr-box .pay-qr-head {
  position: relative;
  justify-content: center;
  align-items: center;
  min-height: 0;
  padding: 16px 48px 8px;
  border-bottom: 1px solid rgb(0 0 0 / 8%);
}
.pay-qr-box .pay-qr-head h2,
.pay-qr-brand {
  height: auto;
  min-height: 0;
  flex: 0 0 auto;
  justify-content: center !important;
  line-height: 1.2;
}
.pay-qr-box .pay-qr-head .ms-modal-x {
  position: absolute;
  top: 10px;
  right: 10px;
}
.pay-qr-brand-img {
  display: block;
  height: 52px;
  width: 52px;
  max-width: 52px;
  margin: 0 auto;
  object-fit: contain;
}
.pay-qr-body {
  padding: 12px 24px 24px !important;
}
.pay-qr-amount {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 400;
  color: #888;
  line-height: 1.4;
}
.pay-qr-code {
  display: grid;
  place-items: center;
  position: relative;
  width: 200px;
  min-height: 200px;
  margin: 0 auto 16px;
}
.pay-qr-code img:not(.pay-qr-mark),
.pay-qr-code svg {
  width: 200px;
  height: 200px;
  display: block;
}
.pay-qr-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 28px;
  height: 28px;
  padding: 4px;
  background: #fff;
  border-radius: 6px;
  transform: translate(-50%, -50%);
  object-fit: contain;
  pointer-events: none;
}
.pay-qr-mark[hidden] {
  display: none !important;
}
.pay-qr-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #888;
  white-space: normal;
}
.ms-confirm {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}
.ms-confirm.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.ms-confirm-mask {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 62%);
}
.ms-confirm-box {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  padding: 28px 24px 0;
  background: #fff;
  color: #111;
  border-radius: var(--bdrs-lg);
  box-shadow: 0 16px 40px rgb(0 0 0 / 18%);
  text-align: center;
}
.ms-confirm-mark {
  display: none;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
}
.ms-confirm.has-mark .ms-confirm-mark:not([hidden]) {
  display: block;
}
.ms-confirm-mark svg {
  display: block;
  width: 48px;
  height: 48px;
}
.ms-confirm-text {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-line;
}
.ms-money-name {
  white-space: nowrap;
}
.ms-money-m {
  font-size: calc(1em - 4px);
}
.ms-confirm-link {
  color: #1677ff;
  text-decoration: none;
}
.ms-confirm-link:hover {
  text-decoration: underline;
}
.ms-confirm-foot {
  display: flex;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  margin: 0 -24px;
  padding: 14px 24px 16px;
  border-top: 1px solid rgb(0 0 0 / 8%);
}
.ms-confirm [data-confirm-yes][hidden] {
  display: none !important;
}
/* loading 圈跟按钮文字色：深字深圈、浅字浅圈 */
.feedback-modal-btn {
  --ms-busy-fg: #fff;
}
.feedback-modal-btn.buy-cta,
.buy-cta {
  --ms-busy-fg: #111;
}
.ms-confirm [data-confirm-yes] {
  --ms-busy-fg: #fff;
}
.member-pack-go {
  --ms-busy-fg: #fff;
}
.member-btn,
.auth-code-btn {
  --ms-busy-fg: #111;
}
.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}
.feedback-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.feedback-modal-mask {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 62%);
}
.feedback-modal-box {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  overflow: hidden;
  background: #fff;
  color: #111;
  border-radius: var(--bdrs-lg);
  box-shadow: 0 16px 40px rgb(0 0 0 / 18%);
  transform: translateY(-56px);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}
.feedback-modal.is-open .feedback-modal-box {
  transform: none;
  opacity: 1;
}
.feedback-modal-form { margin: 0; }
.feedback-modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 12px 10px 24px;
  border-bottom: 1px solid rgb(0 0 0 / 8%);
}
.feedback-modal-head h2 {
  margin: 0;
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  height: 36px;
  color: #111;
  font-size: 16px;
  font-weight: 400;
  line-height: 36px;
}
.feedback-modal-head .ms-modal-x {
  position: static;
  top: auto;
  right: auto;
  flex: none;
  color: #888;
}
.feedback-modal-head .ms-modal-x:hover {
  color: #111;
  background: #f2f2f2;
}
.feedback-modal-body { padding: 20px 24px 10px; }
.feedback-modal-field { margin: 0 0 16px; }
.feedback-modal-label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
}
.feedback-modal-hint {
  margin: 0 0 10px;
  color: #888;
  font-size: 12px;
  line-height: 1.55;
}
.feedback-modal-form input[type="text"] {
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #e6e6e6;
  border-radius: var(--bdrs-sm);
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 13px;
  line-height: 40px;
  box-sizing: border-box;
}
.feedback-modal-form textarea {
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e6e6e6;
  border-radius: var(--bdrs-sm);
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 13px;
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
  box-sizing: border-box;
}
.feedback-modal-form input[type="text"]::placeholder,
.feedback-modal-form textarea::placeholder { color: #999; }
.ms-modal-field,
.auth-modal-box .auth-control input,
.feedback-modal-form input[type="text"],
.feedback-modal-form textarea {
  background: #fff;
}
.ms-modal-field:focus,
.auth-modal-box .auth-control input:focus,
.feedback-modal-form input[type="text"]:focus,
.feedback-modal-form textarea:focus {
  outline: 0;
  border-color: #111;
  background: #fff;
  box-shadow: none;
}
.ms-modal-field[readonly],
.auth-modal-box .auth-control input[readonly] {
  color: #999;
  background: #fff;
  cursor: default;
  pointer-events: none;
}
.ms-modal-field[readonly]:focus,
.auth-modal-box .auth-control input[readonly]:focus {
  border-color: #e6e6e6;
  background: #fff;
}
.feedback-modal-pics {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}
.feedback-modal-add,
.feedback-modal-preview {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: var(--bdrs-sm);
  overflow: hidden;
}
.feedback-modal-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px dashed rgb(0 0 0 / 22%);
  background: #fafafa;
  color: #888;
  font-size: 12px;
  cursor: pointer;
}
.feedback-modal-add:hover {
  border-color: #999;
  color: #555;
}
.feedback-modal-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feedback-modal-preview button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(0 0 0 / 55%);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.feedback-modal-err {
  margin: 4px 0 0;
  color: #c44;
  font-size: 13px;
}
.feedback-modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 56px;
  padding: 14px 24px 16px;
  border-top: 1px solid rgb(0 0 0 / 8%);
}
.feedback-modal-cancel,
.feedback-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--bdrs-sm);
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}
.feedback-modal-cancel {
  background: #fff;
  color: #333;
  border: 1px solid rgb(0 0 0 / 14%);
}
.feedback-modal-cancel:hover { background: #f5f5f5; }
.feedback-modal-btn {
  background: #3a3a3a;
  color: #fff;
}
.feedback-modal-btn:hover { background: #2a2a2a; }
.member-pack-term {
  flex: none;
  padding: 4px 8px;
  border-radius: var(--bdrs-sm);
  font-size: 11px;
}
.member-pack-term.is-limited {
  border: 0;
  background: rgb(255 230 0 / 18%);
  color: var(--brand);
  animation: member-pack-breathe 2.6s ease-in-out infinite;
}
@keyframes member-pack-breathe {
  0%, 100% { opacity: 0.62; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .member-pack-term.is-limited { animation: none; }
}
.member-pack-yen {
  margin-right: 4px;
  color: #8a8a8a;
  font-family: Consolas, "Cascadia Mono", "Courier New", "Microsoft YaHei UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-synthesis: none;
}
.member-pack-price strong,
.member-num {
  font-family: Bahnschrift, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-synthesis: none;
}
.member-pack-price strong {
  font-size: 28px;
  line-height: 1;
}
.buy-plan-price strong {
  font-family: Bahnschrift, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-synthesis: none;
  line-height: 1;
}
.member-pack-was {
  margin-left: 8px;
  color: #8a8a8a;
  font-size: 14px;
  font-weight: 400;
  text-decoration: line-through;
}
@media (max-width: 999px) {
  .feedback-modal,
  .auth-modal {
    padding-left: 0;
    padding-right: 0;
    z-index: 240;
  }
  .pay-qr-modal.feedback-modal,
  .ms-confirm {
    padding-left: 0;
    padding-right: 0;
    z-index: 250;
  }
  .feedback-modal.captcha-modal {
    padding: 24px 16px;
    z-index: 250;
  }
  .feedback-modal-box,
  .pay-qr-box.feedback-modal-box,
  .auth-modal-box,
  .auth-modal-box:not(:has(.auth-modal-left)),
  .ms-confirm-box {
    width: var(--shell);
    max-width: var(--shell);
  }
  .ms-toast {
    width: max-content;
    max-width: var(--shell);
    box-sizing: border-box;
  }
  .ms-toast-txt {
    flex: 0 1 auto;
  }
}
