/* PIXEL community — Oblivionis-inspired zinc dark */

@font-face {
  font-family: "Alibaba PuHuiTi";
  src: url("/static/fonts/AlibabaPuHuiTi-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  /* swap：缺字时先回退，字体到位后统一；optional 易在慢网下整页放弃 Web 字体 */
  font-display: swap;
}

@font-face {
  font-family: "Alibaba PuHuiTi";
  src: url("/static/fonts/AlibabaPuHuiTi-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alibaba PuHuiTi";
  src: url("/static/fonts/AlibabaPuHuiTi-Medium.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alibaba PuHuiTi";
  src: url("/static/fonts/AlibabaPuHuiTi-Medium.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 系统回退字体度量对齐，减少未命中 Web 字体时的视觉字号差 */
@font-face {
  font-family: "Pixel Text Fallback";
  src: local("PingFang SC"), local("Hiragino Sans GB"), local("Microsoft YaHei"), local("Noto Sans SC");
  size-adjust: 102%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

:root {
  /* 暗色可读性：避免纯黑底 + 纯白字（易晕光晃眼）；正文用柔和灰白，背景用深灰 */
  --bg: #121212;
  --bg2: #101012;
  --paper: #1a1a1a;
  --paper2: #222222;
  --ink: #e4e4e4;
  --ink-strong: #ececec;
  --soft: #a8a8a8;
  --faint: #838383;
  --line: #2a2a2a;
  --line2: #3f3f3f;
  --tint: #161616;
  --accent: #e8e8e8;
  --accent-soft: rgba(228, 228, 228, 0.08);
  --mint: #5eead4;
  --danger: #ef4444;
  --font: "Alibaba PuHuiTi", "Pixel Text Fallback", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --display: "Alibaba PuHuiTi", "Pixel Text Fallback", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --w: 1180px;
  --t: 160ms ease;
  --radius: 12px;
  /* 全站按钮圆角：与图标按钮（如复制）一致，勿用胶囊 999px */
  --btn-radius: 8px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 40px rgba(0, 0, 0, 0.35);
  --section-y: 40px;
  --section-gap: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  color-scheme: dark;
}

/* Windows / Linux 经典滚动条：预留槽位，避免出现滚动条时整页左移；macOS 叠加滚动条不加 class */
html.px-scrollbar-stable {
  scrollbar-gutter: stable;
}

@supports not (scrollbar-gutter: stable) {
  html.px-scrollbar-stable {
    overflow-y: scroll;
  }
}

/* 滚动条：深色 UI，滑块用 --line2 / --faint，轨道融入背景 */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--line2) var(--bg);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--line2) transparent;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--line2);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: var(--faint);
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

b,
strong {
  font-weight: 500;
}

::selection {
  background: rgba(228, 228, 228, 0.18);
  color: var(--ink-strong);
}

a {
  color: inherit;
  text-decoration: none;
}

/* 表单控件须显式指定站点字体：仅 font:inherit 时，部分浏览器对 button/select 仍用系统控件字体，与正文不一致 */
button,
input,
textarea,
select {
  font: inherit;
  font-family: var(--font);
}

img {
  display: block;
  max-width: 100%;
}

.pr-shell {
  width: min(var(--w), calc(100% - 48px));
  margin-inline: auto;
}

.pr-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--section-y);
  padding: var(--section-y) 0;
}

/* header */

.pr-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pr-head__row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}

.pr-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.pr-menu,
.pr-head__acts {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.pr-menu {
  justify-content: flex-start;
}

.pr-head__search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 320px;
  min-width: 180px;
  max-width: 320px;
  margin-left: auto;
}

.pr-head__search input[type="search"] {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 0 52px 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-size: 13px;
  outline: none;
}

.pr-head__search input[type="search"]::-webkit-search-decoration,
.pr-head__search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.pr-head__search input[type="search"]:focus {
  border-color: var(--line2);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.pr-head__search-btn {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  min-height: 26px;
  padding: 0 8px;
  border: none;
  border-radius: var(--btn-radius);
  background: transparent;
  color: var(--faint);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease;
}

.pr-head__search-btn:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.pr-head__acts {
  margin-left: 0;
}

.pr-menu a,
.pr-head__acts > a {
  padding: 6px 14px;
  color: var(--faint);
  font-size: 14px;
  font-weight: 400;
  border-radius: var(--btn-radius);
  transition: color var(--t);
  white-space: nowrap;
}

/* 登录 / 注册：横向内边距单独收紧（须写在通用 padding 之后） */
.pr-head__acts > a {
  padding-left: 4px;
  padding-right: 4px;
}

.pr-menu a:hover,
.pr-head__acts > a:hover {
  color: var(--ink);
  background: transparent;
}

.pr-menu a.is-on,
.pr-head__acts > a.is-on {
  color: var(--ink);
  font-weight: 700;
  background: transparent;
}

.pr-user {
  position: relative;
  display: flex;
  align-items: center;
}

.pr-user__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
}

.pr-user__btn:hover .pr-user__avatar {
  transform: scale(1.04);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.pr-user__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--avatar-bg, #3f3f46);
  color: var(--avatar-fg, var(--ink));
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.55);
  transition: transform 150ms ease, box-shadow 150ms ease;
  user-select: none;
  overflow: hidden;
}

.pr-user__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pr-user__avatar--lg {
  width: 44px;
  height: 44px;
  font-size: 18px;
  flex-shrink: 0;
}

.pr-user__btn:hover .pr-user__avatar,
.pr-user.is-open .pr-user__avatar {
  transform: scale(1.04);
  box-shadow: 0 0 0 2px rgba(250, 250, 250, 0.18);
}

.pr-user__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  width: 300px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141414;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.pr-user__menu[hidden] {
  display: none !important;
}

.pr-user__profile {
  display: block;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pr-user__head {
  margin-bottom: 12px;
}

.pr-user__head strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  word-break: break-all;
  line-height: 1.3;
}

.pr-user__sub {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--faint);
  line-height: 1.45;
  word-break: break-all;
}

.pr-user__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pr-user__stats > div {
  padding: 10px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 0;
}

.pr-user__stats span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.04em;
}

.pr-user__stats strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  word-break: break-word;
}

.pr-user__profile-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.pr-user__profile-text strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  word-break: break-all;
}

.pr-user__profile-text span {
  font-size: 12px;
  color: var(--faint);
  word-break: break-all;
  line-height: 1.45;
}

.pr-user__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 10px 0;
}

.pr-user__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--soft);
  font-size: 14px;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}

.pr-user__links a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  flex-shrink: 0;
}

.pr-user__links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.pr-user__links a:hover::after {
  opacity: 0.9;
}

.pr-user__logout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease;
}

.pr-user__logout:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

/* type */

.pr-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
}

.pr-display {
  margin: 0 0 14px;
  color: var(--ink-strong);
  font-family: var(--display);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.pr-display--sm {
  font-size: 34px;
}

.pr-title {
  margin: 0 0 12px;
  color: var(--ink-strong);
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

@media (max-width: 720px) {
  .pr-display {
    font-size: 32px;
  }

  .pr-display--sm {
    font-size: 28px;
  }

  .pr-title {
    font-size: 22px;
  }
}

.pr-intro {
  margin: 0 0 26px;
  max-width: none;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.75;
}

.pr-intro--tight {
  margin-bottom: 0;
  font-size: 14px;
}

/* buttons */

.pr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t);
  user-select: none;
}

.pr-btn:active {
  transform: scale(0.98);
}

.pr-btn--ink {
  background: #e5e5e5;
  color: #0a0a0a;
}

.pr-btn--ink:hover {
  background: #fafafa;
}

.pr-btn--line {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.pr-btn--line:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.pr-btn--sm {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.pr-btn--block {
  width: 100%;
}

.pr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pr-textlink {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: none;
  padding-bottom: 0;
}

.pr-textlink:hover {
  color: var(--soft);
  border-bottom: none;
  text-decoration: none;
}

/* home banner carousel — banner-v1 */

.pr-banner {
  padding: 0;
}

.pr-banner__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--paper);
  box-shadow: var(--shadow);
  aspect-ratio: 1600 / 520;
  min-height: 280px;
}

.pr-banner__track {
  position: absolute;
  inset: 0;
}

.pr-banner__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.pr-banner__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.pr-banner__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pr-banner__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.62) 42%, rgba(10, 10, 10, 0.18) 72%, rgba(10, 10, 10, 0.35) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.15) 0%, transparent 35%, rgba(10, 10, 10, 0.55) 100%);
}

.pr-banner__copy {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: min(520px, 58%);
  padding: 36px 36px 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  height: 100%;
  box-sizing: border-box;
}

.pr-banner__copy .pr-kicker,
.pr-banner__copy .pr-display,
.pr-banner__copy .pr-intro {
  margin: 0;
}

.pr-banner__copy .pr-intro {
  max-width: none;
  font-size: 14px;
  line-height: 1.7;
  color: var(--soft);
}

.pr-banner__actions {
  position: absolute;
  left: 36px;
  bottom: 52px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pr-banner__nav {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pr-banner__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pr-banner__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 160ms ease, background 160ms ease;
}

.pr-banner__dot.is-active {
  width: 22px;
  background: rgba(250, 250, 250, 0.92);
}

.pr-banner__arrow {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 10, 10, 0.45);
  color: var(--ink);
  cursor: pointer;
  position: relative;
  transition: background var(--t), border-color var(--t);
}

.pr-banner__arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.pr-banner__arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateX(2px) rotate(45deg);
}

.pr-banner__arrow--next::before {
  transform: translateX(-2px) rotate(-135deg);
}

.pr-statcard {
  padding: 22px 20px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.pr-statcard span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.pr-statcard strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
}

.pr-statcard p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
}

/* topics / chips */

.pr-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pr-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
  transition: color var(--t), background var(--t), border-color var(--t);
}

a.pr-chip:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.22);
}

.pr-chip.is-on {
  color: #0a0a0a;
  background: #e5e5e5;
  border-color: #e5e5e5;
}

/* 选中态浅底：悬停勿被 a.pr-chip:hover 的浅色字盖掉 */
a.pr-chip.is-on:hover {
  color: #0a0a0a;
  background: #f0f0f0;
  border-color: #f0f0f0;
}

.pr-chip--sm {
  padding: 3px 9px;
  font-size: 11px;
}

/* feed / posts */

.pr-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.pr-feed--dense {
  grid-template-columns: repeat(3, 1fr);
}

/* 首页/板块创作广场：横排 5 列（原图比例），悬停左下角显示发布者 */
.pr-feed--waterfall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  column-count: unset;
  margin-bottom: 12px;
  align-items: start;
}

.pr-feed--waterfall.is-packed {
  display: block;
  position: relative;
  gap: 0;
}

.pr-feed--waterfall.is-packed .pr-post {
  position: absolute;
  margin: 0;
}

@media (max-width: 1100px) {
  .pr-feed--waterfall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .pr-feed--waterfall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pr-feed--waterfall .pr-post {
  display: block;
  width: 100%;
  margin: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.pr-feed--waterfall .pr-post__body {
  display: none;
}

.pr-feed--waterfall .pr-post__pic {
  position: relative;
  aspect-ratio: auto;
  min-height: 160px;
  background: #171717;
}

.pr-feed--waterfall .pr-post__pic::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #171717 0%, #222 45%, #171717 100%);
  background-size: 200% 100%;
  opacity: 1;
  animation: pr-gallery-ph 1.25s ease-in-out infinite;
  transition: opacity 280ms ease;
}

@keyframes pr-gallery-ph {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pr-feed--waterfall .pr-post__pic::before {
    animation: none;
  }

  .pr-feed--waterfall .pr-post__pic img[data-gallery-img] {
    transition: none;
    filter: none;
    transform: translateZ(0);
  }
}

.pr-feed--waterfall .pr-post__pic:has(img[data-gallery-img].is-loaded)::before,
.pr-feed--waterfall .pr-post__pic:has(img[data-gallery-img].is-broken)::before {
  opacity: 0;
}

.pr-feed--waterfall .pr-post__pic img[data-gallery-img].is-broken {
  display: none;
}

.pr-feed--waterfall .pr-post__pic:has(img[data-gallery-img].is-broken) {
  min-height: 160px;
  background: #1a1a1a;
}

.pr-feed--waterfall .pr-post__pic img[data-gallery-img] {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  vertical-align: top;
  display: block;
  opacity: 0;
  filter: blur(8px);
  transform: translateZ(0) scale(1.02);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: opacity 420ms ease, filter 420ms ease, transform 420ms ease;
}

.pr-feed--waterfall .pr-post__pic img[data-gallery-img].is-loaded {
  opacity: 1;
  filter: none;
  transform: translateZ(0);
}

.pr-feed--waterfall .pr-post:hover {
  transform: translate3d(0, -3px, 0);
  z-index: 3;
}

.pr-feed--waterfall .pr-post:hover .pr-post__pic img[data-gallery-img].is-loaded {
  transform: translateZ(0) scale(1.03);
}

.pr-feed--waterfall .pr-post__by {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 16px);
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #fafafa;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease;
}

.pr-feed--waterfall .pr-post:hover .pr-post__by,
.pr-feed--waterfall .pr-post:focus-within .pr-post__by {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .pr-feed--waterfall .pr-post__by {
    opacity: 1;
    transform: none;
  }
}

.pr-feed--waterfall .pr-post__pic img.pr-post__avatar {
  flex: 0 0 auto;
  position: static;
  z-index: 2;
  width: 18px;
  height: 18px;
  max-height: 18px;
  border-radius: 50%;
  border: none;
  box-sizing: border-box;
  object-fit: cover;
  opacity: 1;
  filter: none;
  transform: none;
  display: block;
  background: #27272a;
  /* 1.5px 柔边，比 1px border 少锯齿，又比 2px 细 */
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.95);
}

.pr-feed--waterfall .pr-post:hover .pr-post__pic img.pr-post__avatar {
  transform: none;
}

.pr-feed--waterfall .pr-post__name {
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pr-post {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}

.pr-post:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pr-post__pic {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #111;
}

.pr-post__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.pr-post:hover .pr-post__pic img {
  transform: scale(1.03);
}

.pr-post__body {
  padding: 14px 14px 16px;
}

.pr-post__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.pr-post__author {
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
}

.pr-post__body h3 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pr-post__body p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
}

/* panels / end */

.pr-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--section-gap);
}

.pr-panel {
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.pr-panel > p {
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.7;
}

.pr-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  flex-wrap: wrap;
}

.pr-end p {
  margin: 0;
  color: var(--soft);
  font-size: 14px;
}

/* split / feature retained */

.pr-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--section-gap);
  align-items: stretch;
  width: min(var(--w), calc(100% - 48px));
  margin: 0 auto;
  min-height: min(62vh, 560px);
}

.pr-split--short {
  min-height: min(50vh, 460px);
}

.pr-split__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pr-split--fill {
  min-height: min(70vh, 680px);
}

.pr-split--fill .pr-split__copy {
  justify-content: space-between;
  gap: 16px;
  padding: 28px 28px 24px;
  min-height: 100%;
  height: 100%;
  box-sizing: border-box;
}

.pr-split--fill .pr-split__top {
  flex-shrink: 0;
}

.pr-split--fill .pr-split__top .pr-kicker {
  margin-bottom: 8px;
}

.pr-split--fill .pr-split__top .pr-display {
  margin-bottom: 10px;
  font-size: 36px;
}

.pr-split--fill .pr-split__top .pr-intro {
  margin: 0;
  max-width: none;
  font-size: 14px;
  line-height: 1.7;
}

.pr-split__points {
  margin: 0;
  padding: 16px 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pr-split__points li {
  display: grid;
  gap: 4px;
  padding: 8px 0;
}

.pr-split__points li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pr-split__points strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.pr-split__points span {
  font-size: 13px;
  color: var(--soft);
  line-height: 1.72;
}

.pr-split--fill .pr-actions {
  margin-top: 0;
  padding-top: 8px;
  flex-shrink: 0;
}

/* product-hero-fill-v2 */

.pr-split__media {
  overflow: hidden;
  min-height: 300px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111;
}

.pr-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pr-band {
  margin: 0;
}

.pr-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--section-gap);
}

.pr-band__grid > div {
  padding: 20px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.pr-band__grid span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.pr-band__grid strong {
  font-size: 14px;
  font-weight: 700;
}

.pr-block {
  padding: 0;
}

.pr-block--tight {
  padding: 0;
}

.pr-block__head {
  margin-bottom: 22px;
}

.pr-block__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.pr-rail {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--section-gap);
}

.pr-rail--4 {
  grid-template-columns: repeat(4, 1fr);
}

.pr-rail li {
  padding: 22px 18px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.pr-rail em {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  color: var(--soft);
}

.pr-rail h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
}

.pr-rail p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
}

.pr-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--section-gap);
  align-items: stretch;
}

.pr-feature__pic {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111;
  height: 100%;
}

.pr-feature__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pr-feature__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.pr-feature__copy > .pr-kicker {
  margin-bottom: 0;
  align-self: flex-start;
  flex: 0 0 auto;
}

.pr-feature__copy > .pr-title {
  margin: 0;
}

.pr-feature__copy > p {
  margin: 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.75;
  flex: 1 1 auto;
}

.pr-feature__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
  min-height: 0;
}

.pr-feature__body .pr-title {
  margin: 0;
}

.pr-feature__body > p {
  margin: 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.75;
}

/* feature-fill-v1 */
/* kicker-compact-v1 */

.pr-ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.pr-ticks li {
  position: relative;
  padding: 12px 14px 12px 32px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.pr-ticks li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--soft);
}

.pr-introband {
  padding: 0;
}

.pr-introband__inner {
  max-width: none;
  padding: 28px;
  border-bottom: none;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.pr-introband__inner .pr-kicker {
  margin-bottom: 10px;
}

.pr-introband__inner .pr-display {
  margin: 0;
}

.pr-introband__lead {
  margin: 12px 0 0;
  max-width: none;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.7;
}

.pr-introband__meta {
  margin: 8px 0 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.5;
}

.pr-introband__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.pr-introband__chips li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  font-size: 12px;
  line-height: 1;
}

/* legacy aliases kept for safety */
.pr-introband__row {
  max-width: none;
  padding: 28px;
  border-bottom: none;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.pr-introband__main,
.pr-introband__aside {
  min-width: 0;
}

.pr-introband__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.pr-introband__points li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  font-size: 12px;
  line-height: 1;
}

.pr-introband__points li::before {
  display: none;
}

.pr-introband--solo .pr-introband__inner,
.pr-introband--solo .pr-introband__row {
  max-width: none;
}

.pr-introband--compact .pr-introband__inner,
.pr-introband--compact .pr-introband__row {
  max-width: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
}

.pr-introband--compact .pr-introband__main {
  flex: 1 1 auto;
  min-width: 0;
}

.pr-introband--compact .pr-actions {
  flex: 0 0 auto;
  margin-left: auto;
}

.pr-introband--compact .pr-display {
  margin: 0;
}

.pr-introband--compact .pr-introband__lead {
  margin: 6px 0 0;
  max-width: none;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.55;
}

.pr-introband--compact .pr-introband__inner {
  align-items: center;
}

@media (max-width: 800px) {
  .pr-introband__inner,
  .pr-introband__row {
    padding: 22px 18px;
  }

  .pr-introband--compact .pr-introband__inner,
  .pr-introband--compact .pr-introband__row {
    flex-wrap: wrap;
  }
}

/* models page — unified left copy + stacked media */

.pr-models {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--section-gap);
  align-items: stretch;
  width: min(var(--w), calc(100% - 48px));
  margin: 0 auto;
}

.pr-models__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.pr-models__lead .pr-kicker {
  margin-bottom: 10px;
}

.pr-models__lead .pr-display {
  margin-bottom: 10px;
}

.pr-models__lead .pr-intro {
  margin-bottom: 16px;
  max-width: none;
  font-size: 14px;
  line-height: 1.7;
}

.pr-models__offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pr-models__card {
  padding: 14px 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.pr-models__card-tag {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.pr-models__card h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.pr-models__card p {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.7;
}

.pr-models__why {
  padding-top: 4px;
}

.pr-models__why-title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pr-models__why-desc {
  margin: 0 0 12px;
  max-width: none;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.7;
}

.pr-models__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.pr-models__points li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 0;
  background: transparent;
  border: none;
}

.pr-models__points strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.pr-models__points span {
  font-size: 13px;
  color: var(--faint);
  line-height: 1.5;
}

.pr-models__detail {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pr-models__detail p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.75;
}

.pr-models__media {
  display: grid;
  grid-template-rows: 1.25fr 0.85fr;
  gap: 16px;
  min-height: 520px;
}

.pr-models__shot {
  margin: 0;
  overflow: hidden;
  min-height: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111;
}

.pr-models__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pr-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--section-gap);
  align-items: stretch;
}

.pr-contact-grid--qr {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pr-contact-grid--meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pr-contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 24px 20px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.pr-contact-card--qr {
  align-items: center;
  text-align: center;
  min-height: 460px;
  padding: 28px 24px 32px;
}

.pr-contact-card .pr-kicker {
  margin: 0;
  align-self: flex-start;
}

.pr-contact-card--qr .pr-kicker {
  align-self: center;
}

.pr-contact-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pr-contact-card__value {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  word-break: break-all;
}

.pr-contact-card__value a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.pr-contact-card__desc {
  margin: 0;
  margin-top: auto;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.7;
}

.pr-contact-card--qr .pr-contact-card__desc {
  max-width: 18em;
}

.pr-contact-card__qr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(220px, 78%);
  aspect-ratio: 1 / 1;
  margin: 12px auto 8px;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius);
  box-sizing: border-box;
}

.pr-contact-card__qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* contact-page-v2 */

/* download page */

.pr-dl__hero {
  position: relative;
  overflow: hidden;
  padding: 36px 32px;
  background:
    radial-gradient(ellipse 70% 80% at 90% 20%, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(255, 255, 255, 0.04), transparent 50%),
    var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.pr-dl__hero--fused {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  min-height: min(72vh, 720px);
  padding: 0;
}

.pr-dl__hero-media {
  position: relative;
  min-height: 100%;
  order: 2;
  overflow: hidden;
}

.pr-dl__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pr-dl__hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.35), transparent 55%);
  pointer-events: none;
}

.pr-dl__hero-copy {
  position: relative;
  z-index: 1;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  padding: 32px 30px;
  order: 1;
}

.pr-dl__top .pr-kicker {
  margin: 0 0 10px;
}

.pr-dl__top .pr-display {
  margin: 0 0 12px;
}

.pr-dl__top .pr-intro {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.pr-dl__points {
  margin: 0;
  padding: 14px 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pr-dl__points li {
  display: grid;
  gap: 4px;
  padding: 10px 0;
}

.pr-dl__points li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pr-dl__points strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.pr-dl__points span {
  font-size: 13px;
  color: var(--soft);
  line-height: 1.7;
}

.pr-dl__footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pr-dl__detect {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pr-dl__detect--inline {
  margin: 4px 0 16px;
}

.pr-split__copy > .pr-dl__hint {
  margin: 12px 0 0;
}

.pr-dl__detect-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.pr-dl__detect-os {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.pr-dl__icons {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 2px;
}

.pr-dl__icons img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.pr-dl__smart {
  min-width: 200px;
}

.pr-dl__hint {
  margin: 0;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
}

.pr-dl__hero-glow {
  display: none;
}

.pr-dl__grid {
  display: none;
}

/* 软件页：以下载为核心的极简落地 */
.pr-get {
  position: relative;
  isolation: isolate;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  padding: 40px 0 32px;
  background: transparent;
}

.pr-get__inner {
  width: min(var(--w), calc(100% - 48px));
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.pr-get__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}

.pr-get__head .pr-kicker {
  margin-bottom: 16px;
}

.pr-get__title {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--ink-strong);
}

.pr-get__lead {
  margin: 0 auto;
  max-width: 36em;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.75;
}

.pr-get__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0 auto 36px;
}

.pr-get__dl {
  min-width: 240px;
  min-height: 48px;
  padding: 0 28px;
  font-size: 15px;
}

.pr-get__detect {
  margin: 0;
  text-align: center;
  color: var(--faint);
  font-size: 12px;
}

.pr-get__detect strong {
  color: var(--ink);
  font-weight: 700;
}

.pr-get__points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pr-get__points li {
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--paper);
}

.pr-get__points strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-strong);
}

.pr-get__points span {
  display: block;
  font-size: 12px;
  line-height: 1.65;
  color: var(--faint);
}

.pr-get__backend {
  margin-top: 28px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: var(--paper);
}

.pr-get__backend-copy {
  min-width: 0;
}

.pr-get__backend .pr-kicker {
  margin-bottom: 10px;
}

.pr-get__backend h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-strong);
}

.pr-get__backend-copy p:last-child {
  margin: 0;
  max-width: 42em;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.7;
}

.pr-get__stage {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
  border: 0;
  background: transparent;
  line-height: 0;
  overflow: visible;
}

.pr-get__stage img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: transparent;
  box-sizing: border-box;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.4));
}

body[data-nav="product"] .pr-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  gap: 0;
}

body[data-nav="product"] .pr-get {
  flex: 0 0 auto;
}

body[data-nav="product"] .pr-foot {
  padding-top: 40px;
}

@media (max-width: 800px) {
  .pr-get {
    min-height: 0;
    padding: 32px 0 48px;
  }

  .pr-get__points {
    grid-template-columns: 1fr;
  }

  .pr-get__dl {
    width: 100%;
  }

  .pr-get__cta {
    width: 100%;
    margin-bottom: 28px;
  }

  .pr-get__backend {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }
}

body[data-nav="download"] .pr-main {
  min-height: calc(100vh - 64px);
  justify-content: flex-start;
}

body[data-nav="download"] .pr-dl + .pr-block {
  flex: 1 1 auto;
}

/* download-page-v5 */

.pr-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--section-gap);
  margin-bottom: 14px;
}

.pr-metrics > div {
  padding: 22px 18px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.pr-metrics span {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.pr-metrics strong {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
}

.pr-blank {
  padding: 28px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.pr-blank p {
  margin: 0 0 18px;
  color: var(--soft);
}

.px-progress {
  margin-top: 16px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.px-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: rgba(250, 250, 250, 0.85);
  min-width: 0;
  transition: width 200ms ease;
}

.pr-foot {
  /* footer-v2 */
  margin-top: auto;
  width: 100%;
  padding: 64px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(ellipse 70% 80% at 8% 0%, rgba(255, 255, 255, 0.04), transparent 55%),
    linear-gradient(180deg, #0c0c0c 0%, #050505 100%);
}

.pr-foot__grid {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 0.75fr 0.9fr auto;
  gap: 40px 32px;
  padding-bottom: 48px;
  align-items: start;
}

.pr-foot__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: none;
  min-width: 0;
}

.pr-foot__logo {
  color: var(--ink);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
}

.pr-foot__logo:hover {
  color: var(--ink-strong);
}

.pr-foot__tag {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

.pr-foot__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.pr-foot__col h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pr-foot__col a {
  color: var(--faint);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  transition: color var(--t);
}

.pr-foot__col a:hover {
  color: var(--ink);
}

.pr-foot__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
}

.pr-foot__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  min-width: 0;
}

.pr-foot__copy {
  letter-spacing: 0.04em;
}

.pr-foot__beian {
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--t);
}

.pr-foot__beian:hover {
  color: var(--ink);
  text-decoration: none;
}

.pr-foot__note {
  color: var(--faint);
}

.pr-foot__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
  justify-self: end;
  width: 88px;
}

.pr-foot__qr h3 {
  margin: 0;
  width: 100%;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.2;
}

.pr-foot__qr-link {
  display: block;
  width: 88px;
  height: 88px;
  padding: 4px;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  line-height: 0;
  transition: opacity var(--t);
}

.pr-foot__qr-link:hover {
  opacity: 0.92;
}

.pr-foot__qr-link img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.pr-foot__qr-cap {
  margin: 0;
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

/* forms / modal */

.pr-field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.pr-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--soft);
}

.pr-field input,
.pr-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  font: inherit;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.pr-field input:hover,
.pr-field textarea:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.pr-field input:focus,
.pr-field textarea:focus {
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--tint);
  box-shadow: none;
}

.pr-field input::placeholder,
.pr-field textarea::placeholder {
  color: var(--faint);
}

/* 验证码 */
.px-captcha {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.px-captcha__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--soft);
}

.px-captcha__row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
}

.px-captcha__input {
  flex: 0 0 auto;
  width: 96px;
  min-width: 96px;
  max-width: 96px;
  height: 42px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.px-captcha__input:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.px-captcha__input:focus {
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--tint);
}

.px-captcha__input::placeholder {
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
  color: var(--faint);
}

.px-captcha__shot {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #171717;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.12s ease;
}

.px-captcha__shot:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.px-captcha__shot:active {
  transform: scale(0.98);
}

.px-captcha__img {
  display: block;
  width: 126px;
  height: 42px;
  object-fit: cover;
}

.forum-compose .px-captcha,
.forum-reply-form .px-captcha,
.forum-inline-reply .px-captcha {
  margin-top: 2px;
  margin-bottom: 4px;
}

.alert {
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
}

.alert-danger {
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.1);
}

.alert-ok,
.alert-info {
  border-color: rgba(250, 250, 250, 0.2);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.alert-error {
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.1);
}

.auth-modal[hidden] {
  display: none !important;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.auth-modal-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 28px;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: var(--radius);
}

.auth-modal-title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
}

.auth-modal-lead {
  margin: 0 0 20px;
  color: var(--soft);
  font-size: 14px;
}

.auth-modal-pane .pr-field:last-of-type {
  margin-bottom: 16px;
}

.auth-modal-pane .px-captcha {
  gap: 8px;
  margin-bottom: 20px;
}

.auth-modal-pane .px-captcha__row {
  gap: 14px;
}

.auth-modal-pane form > .pr-btn--block {
  margin-top: 4px;
}

.auth-modal-pane .px-sms-row {
  gap: 14px;
}

.auth-modal-pane .form-hint {
  margin: 8px 0 4px;
}

.auth-modal-pane input[type="password"],
.auth-card .form-group input[type="password"] {
  letter-spacing: 0.35em;
}

.auth-modal-foot {
  margin-top: 24px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--soft);
  font-size: 13px;
  font-weight: 500;
}

.auth-modal-foot a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.auth-modal-foot a:hover {
  color: var(--soft);
}

.auth-shell {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 20px;
}

.auth-card {
  width: min(420px, 100%);
  padding: 28px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.auth-card h1 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
}

.auth-card .lead {
  margin: 0 0 20px;
  color: var(--soft);
  font-size: 14px;
}

.auth-card .form-group {
  margin-bottom: 14px;
}

.auth-card .form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--soft);
}

.auth-card .form-group input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  box-sizing: border-box;
}

.form-foot {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 500;
}

.form-foot a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.form-foot a:hover {
  color: var(--soft);
}

body.auth-modal-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .pr-btn,
  .pr-post,
  .pr-post__pic img {
    transition: none;
  }
}

@media (max-width: 960px) {
  .pr-head__row {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0;
    min-height: 0;
  }

  .pr-menu,
  .pr-head__acts {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .pr-head__search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    margin-left: 0;
  }

  .pr-head__acts {
    margin-left: auto;
  }

  .pr-feed,
  .pr-feed--dense,
  .pr-panels,
  .pr-band__grid,
  .pr-rail,
  .pr-rail--4,
  .pr-feature,
  .pr-feature--flip,
  .pr-split,
  .pr-models,
  .pr-metrics,
  .pr-dl__grid,
  .pr-dl__hero--fused {
    grid-template-columns: 1fr;
  }

  .pr-feed--waterfall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pr-dl__hero-media {
    order: -1;
    min-height: 220px;
  }

  .pr-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pr-contact-grid--qr {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pr-contact-card--qr {
    min-height: 400px;
  }

  .pr-feature--flip {
    display: flex;
    flex-direction: column-reverse;
    gap: 14px;
  }

  .pr-split {
    min-height: 0;
  }

  .pr-split__media {
    min-height: 240px;
    order: -1;
  }

  .pr-models__media {
    min-height: 0;
    grid-template-rows: 280px 200px;
    order: -1;
  }

  .pr-models__points li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .pr-models__offer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pr-shell,
  .pr-split,
  .pr-models {
    width: min(var(--w), calc(100% - 32px));
  }

  .pr-banner__frame {
    aspect-ratio: 1600 / 620;
    min-height: 320px;
  }

  .pr-banner__copy {
    width: min(100%, 88%);
    padding: 24px 20px 108px;
  }

  .pr-banner__actions {
    left: 20px;
    bottom: 56px;
  }

  .pr-banner__nav {
    right: 14px;
    bottom: 14px;
  }

  .pr-split__copy,
  .pr-models__copy {
    padding: 24px 20px;
  }

  .pr-contact-grid,
  .pr-contact-grid--qr,
  .pr-contact-grid--meta {
    grid-template-columns: 1fr;
  }

  .pr-contact-card--qr {
    min-height: 0;
  }

  .pr-foot {
    padding: 48px 0 0;
  }

  .pr-foot__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .pr-foot__brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  .pr-foot__qr {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .pr-foot__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* 统一状态提示 Toast：视口正中方形卡片，显示后自动消失 */
.px-toast-stack {
  position: fixed;
  inset: 0;
  /* 须高于画廊弹层 .gx-overlay-root(5000)，否则 Toast 被挡到关层后才看见 */
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  pointer-events: none;
}

.admin-body .px-toast-stack {
  top: 0;
}

/* 「立即使用」Mac 二次确认：真实 <a href=pixelrealm://> 才能可靠唤起 */
.px-usenow-cta {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.5);
}

.px-usenow-cta__panel {
  width: min(360px, 92vw);
  padding: 22px 20px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #171717;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.px-usenow-cta__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink, #f2f2f2);
  margin-bottom: 8px;
}

.px-usenow-cta__desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(242, 242, 242, 0.72);
  margin-bottom: 18px;
}

.px-usenow-cta__open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  text-decoration: none;
}

.px-usenow-cta__foot {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: center;
}

.px-usenow-cta__link,
.px-usenow-cta__cancel {
  font-size: 12px;
  color: rgba(242, 242, 242, 0.55);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.px-usenow-cta__link:hover,
.px-usenow-cta__cancel:hover {
  color: rgba(242, 242, 242, 0.9);
}

.px-toast {
  margin: 0;
  width: min(168px, 46vw);
  min-height: 168px;
  padding: 22px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #171717;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.38s ease, transform 0.38s ease;
}

.px-toast--ok,
.px-toast--err {
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink);
  background: #171717;
}

.px-toast.is-visible {
  opacity: 1;
  transform: scale(1);
}

.px-toast.is-hiding {
  opacity: 0;
  transform: scale(0.94);
}

/* 统一确认窗口：须高于作品详情弹层（.gx-overlay-root z-index:5000），否则弹层内举报/删除像点了没反应 */
.px-confirm {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.px-confirm[hidden] {
  display: none !important;
}

.px-confirm__mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.px-confirm__panel {
  position: relative;
  z-index: 1;
  width: min(320px, calc(100vw - 40px));
  padding: 28px 22px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #171717;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.px-confirm.is-open .px-confirm__mask {
  opacity: 1;
}

.px-confirm.is-open .px-confirm__panel {
  opacity: 1;
  transform: scale(1);
}

.px-confirm__msg {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.px-confirm--form .px-confirm__panel {
  width: min(400px, calc(100vw - 40px));
}

.px-confirm--form .px-confirm__msg {
  margin-bottom: 16px;
  text-align: left;
}

.px-confirm__body {
  margin: 0 0 12px;
}

.px-confirm__field {
  display: block;
  margin-bottom: 14px;
}

.px-confirm__field:last-child {
  margin-bottom: 0;
}

.px-confirm__field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 600;
}

.px-confirm__select {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 0 36px 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239a9a9a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
  color: var(--ink);
  font: inherit;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.px-confirm__select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.22);
}

.px-confirm__select option {
  background: #171717;
  color: var(--ink);
}

/* 自定义下拉：展开列表与站点暗色统一，避免系统蓝高亮 */
.px-dd {
  position: relative;
}

.px-dd__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.pr-field .px-dd {
  width: 100%;
}

.pr-field .px-dd__btn {
  min-height: 42px;
  border-radius: var(--btn-radius);
  font-weight: 500;
}

.px-dd__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--btn-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.px-dd__btn:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.px-dd.is-open .px-dd__btn,
.px-dd__btn:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--tint);
}

.px-dd__label {
  font-family: var(--font);
}

.px-dd__label.is-placeholder {
  color: var(--faint);
  font-weight: 500;
}

.px-dd__caret {
  flex: 0 0 auto;
  width: 12px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239a9a9a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px 8px no-repeat;
  transition: transform 0.16s ease;
}

.px-dd.is-open .px-dd__caret {
  transform: rotate(180deg);
}

.px-dd__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 5;
  max-height: 220px;
  overflow: auto;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #171717;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.px-dd__menu[hidden] {
  display: none !important;
}

.px-dd__opt {
  display: block;
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease;
}

.px-dd__opt:hover {
  background: rgba(255, 255, 255, 0.08);
}

.px-dd__opt.is-on {
  background: rgba(255, 255, 255, 0.12);
}

.px-confirm__textarea {
  display: block;
  width: 100%;
  min-height: 84px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #242424;
  color: var(--ink);
  font: inherit;
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  resize: vertical;
}

.px-confirm__textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.35);
}

.px-confirm__textarea::placeholder {
  color: var(--faint);
}

.px-confirm__hint {
  margin: 0 0 12px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}

.px-confirm__acts {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.px-confirm__btn {
  min-width: 88px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--btn-radius);
  border: none;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.16s ease;
}

.px-confirm__btn--ghost {
  background: #3a3a3a;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.px-confirm__btn--ghost:hover {
  background: #464646;
}

.px-confirm__btn--ok,
.px-confirm__btn--ok.is-danger {
  background: #454545;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--ink);
}

.px-confirm__btn--ok:hover,
.px-confirm__btn--ok.is-danger:hover {
  background: #525252;
}

body.px-confirm-open {
  overflow: hidden;
}

/* shop / license purchase — original black-gold VIP cards */
.shop-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.shop-plan {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
  min-height: 204px;
  padding: 24px;
  text-align: left;
  overflow: hidden;
  background-color: var(--bg2);
  background-image:
    linear-gradient(160deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.18) 42%, rgba(5, 5, 5, 0.62) 100%),
    url("/static/img/shop-plan-bg.webp");
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.shop-plan::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
}

.shop-plan:nth-child(1) {
  background-position: 20% 45%;
}

.shop-plan:nth-child(2) {
  background-position: 50% 50%;
}

.shop-plan:nth-child(3) {
  background-position: 78% 40%;
}

.shop-plan:hover {
  border-color: rgba(212, 179, 106, 0.4);
  transform: translateY(-2px);
}

.shop-plan.is-on {
  border-color: rgba(212, 179, 106, 0.72);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.shop-plan__top {
  position: static;
  z-index: 1;
  min-height: 0;
  padding: 0;
}

.shop-plan__vip {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  display: inline-block;
  color: #d4b36a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.shop-plan__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-left: 10px;
}

.shop-plan__days {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(250, 250, 250, 0.55);
}

.shop-plan__price {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.shop-plan__name {
  color: rgba(210, 210, 210, 0.72);
  font-size: 13px;
}

@media (max-width: 900px) {
  .shop-plans {
    grid-template-columns: 1fr;
  }

  .shop-plan {
    min-height: 172px;
  }
}

.shop-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-channel {
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: border-color var(--t), background var(--t);
}

.shop-channel:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.shop-channel.is-on {
  border-color: #f5f5f5;
  background: #f5f5f5;
  color: #0a0a0a;
}

.shop-channel.is-on::selection {
  background: rgba(10, 10, 10, 0.22);
  color: #0a0a0a;
}

.shop-summary {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.shop-summary span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shop-summary strong {
  font-size: 18px;
  font-weight: 500;
}

.shop-pay {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: stretch;
}

.shop-pay__info,
.shop-pay__qr {
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.shop-pay__info .pr-actions {
  margin-top: auto;
}

.shop-pay__qr .shop-pay__qrbox {
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
}

.shop-pay__qr .shop-pay__hint {
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}

.shop-pay__dl {
  margin: 0 0 16px;
  display: grid;
  gap: 12px;
}

.shop-pay__dl > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: baseline;
}

.shop-pay__dl dt {
  margin: 0;
  color: var(--faint);
  font-size: 13px;
}

.shop-pay__dl dd {
  margin: 0;
  color: var(--ink);
  word-break: break-all;
}

.shop-pay__amount {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
}

.shop-pay__tip,
.shop-pay__hint {
  color: var(--soft);
  font-size: 14px;
  margin: 0 0 16px;
}

.shop-pay-success {
  max-width: 560px;
  margin: 0 auto;
}

.shop-pay-success__card {
  text-align: left;
}

.shop-pay-success__badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 999px;
  color: var(--mint);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.shop-pay-success__lead {
  margin: 0 0 20px;
  color: var(--soft);
  line-height: 1.6;
}

.shop-pay__qr .pr-title {
  text-align: center;
}

.shop-pay__qrbox {
  width: 240px;
  max-width: 100%;
  margin: 0 auto 16px;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
}

.shop-pay__qrbox img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .shop-plans {
    grid-template-columns: 1fr;
  }

  .shop-summary {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-pay {
    grid-template-columns: 1fr;
  }
}

/* account orders */
.acct-order-wrap {
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: var(--paper);
}

.acct-order-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.acct-order-table th,
.acct-order-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.acct-order-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}

.acct-order-table tbody tr:last-child td {
  border-bottom: 0;
}

.acct-order-table__no {
  font-family: var(--font);
  font-size: 13px;
  word-break: break-all;
  color: var(--soft);
}

.acct-order-table__sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--faint);
}

.acct-order-table__muted {
  color: var(--faint);
}

.acct-order-acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.acct-order-acts form {
  margin: 0;
}

.acct-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: var(--soft);
  white-space: nowrap;
}

.acct-tag--ok {
  color: #5eead4;
  border-color: rgba(94, 234, 212, 0.35);
  background: rgba(94, 234, 212, 0.08);
}

.acct-tag--wait {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
}

.acct-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.acct-side {
  position: sticky;
  top: 88px;
  padding: 20px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: var(--paper);
}

.acct-side__profile {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.acct-side__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 10px;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.acct-side__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.acct-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.acct-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.acct-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--btn-radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(250, 250, 250, 0.62);
  text-decoration: none;
  font-size: 13px;
}

.acct-tabs a:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.35);
}

.acct-tabs a.is-on {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.acct-profile-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.acct-profile-card--solo {
  max-width: 420px;
}

.acct-profile-card__title {
  margin: 0 0 10px;
  font-size: 16px;
}

.acct-profile-card__hint {
  margin: 0 0 14px;
  color: rgba(250, 250, 250, 0.55);
  font-size: 13px;
}

.acct-profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 12px;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.acct-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.acct-profile-avatar__fallback {
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
}

.acct-profile-form .pr-field {
  margin-bottom: 12px;
}

@media (max-width: 860px) {
  .acct-profile-grid {
    grid-template-columns: 1fr;
  }
}

.acct-side__name {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.acct-side__meta {
  margin: 6px 0 0;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.45;
}

.acct-side__nav {
  display: grid;
  gap: 4px;
}

.acct-side__nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 8px;
  transition: color var(--t), background var(--t);
}

.acct-side__nav a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  flex-shrink: 0;
}

.acct-side__nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.acct-side__nav a:hover::after,
.acct-side__nav a.is-on::after {
  opacity: 0.9;
}

.acct-side__nav a.is-on {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.acct-side__nav a.is-on::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: #e5e5e5;
}

.acct-panel__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.acct-side__acts {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.acct-side__acts .pr-btn {
  width: 100%;
  justify-content: center;
}

.acct-main {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.acct-panel {
  scroll-margin-top: 96px;
}

.acct-panel__head {
  margin-bottom: 16px;
}

.acct-panel__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 16px;
}

.acct-panel__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.acct-panel__lead {
  margin: 6px 0 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.55;
}

.acct-metrics {
  margin-bottom: 16px;
}

.acct-dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
}

.acct-dl > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.acct-dl__wide {
  grid-column: span 2;
}

.acct-dl dt {
  margin: 0;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.acct-dl dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
}

.acct-dl__with-action {
  position: relative;
  padding-right: 72px;
}

.acct-dl__action {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--soft);
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.acct-dl__action:hover {
  color: var(--ink);
}

@media (max-width: 900px) {
  .acct-dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .acct-dl__wide {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .acct-dl {
    grid-template-columns: 1fr;
  }

  .acct-dl__wide {
    grid-column: auto;
  }
}

.acct-points-list {
  display: grid;
  gap: 0;
  margin-top: 4px;
}

.acct-points-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.acct-points-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.acct-points-row__main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.acct-points-row__delta {
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  color: var(--ink);
}

.acct-points-row__delta.is-up {
  color: #5eead4;
}

.acct-points-row__delta.is-down {
  color: #f87171;
}

.acct-points-row__remark {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.acct-points-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.4;
}

.acct-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 4px;
}

body[data-nav="account"] .pr-main {
  padding-bottom: 24px;
}

body[data-nav="account"] .pr-foot {
  padding-top: 40px;
}

.acct-pager__status {
  color: var(--faint);
  font-size: 13px;
}

.acct-pager__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--btn-radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}

.acct-pager__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.acct-pager__btn.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.acct-redeem-list {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.acct-redeem-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.acct-redeem-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.acct-redeem-card__main {
  min-width: 0;
  flex: 1 1 220px;
}

.acct-redeem-card__title {
  display: block;
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.acct-redeem-card__desc {
  margin: 0 0 8px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.55;
}

.acct-redeem-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--faint);
  font-size: 12px;
}

.acct-redeem-card__side {
  display: grid;
  gap: 8px;
  justify-items: end;
  min-width: 120px;
}

.acct-redeem-card__cost {
  color: var(--ink);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.acct-redeem-card__hint {
  margin: 0;
  max-width: 180px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}

.acct-redeem-form {
  margin: 0;
}

@media (max-width: 900px) {
  .acct-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .acct-side {
    position: static;
  }

  .acct-side__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .acct-side__nav a {
    padding: 8px 12px;
  }

  .acct-side__nav a.is-on::before {
    display: none;
  }

  .acct-side__acts {
    grid-template-columns: 1fr 1fr;
  }

  .acct-order-table th:nth-child(4),
  .acct-order-table td:nth-child(4) {
    display: none;
  }
}

/* 全局悬停提示（替代浏览器原生 title 气泡） */
[data-tip] {
  position: relative;
}

/* disabled 控件默认不响应悬停，需放开 pointer-events 才能显示 tip */
button[disabled][data-tip],
[disabled][data-tip] {
  pointer-events: auto;
}

[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  z-index: 120;
  box-sizing: border-box;
  max-width: min(260px, 72vw);
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--radius) - 2px);
  background: #141414;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

[data-tip]:hover::after,
[data-tip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* input/select/textarea 无法用 ::after，改由 .px-tip-float 承接 */
input[data-tip]::after,
select[data-tip]::after,
textarea[data-tip]::after {
  content: none !important;
  display: none !important;
}

.px-tip-float {
  position: fixed;
  z-index: 10050;
  box-sizing: border-box;
  max-width: min(260px, 72vw);
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--radius) - 2px);
  background: #141414;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.px-tip-float.is-top {
  transform: translateY(-4px);
}

.px-tip-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .px-tip-float {
    transition: none;
  }
}

[data-tip-pos="top"]::after {
  top: auto;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(-4px);
}

[data-tip-pos="top"]:hover::after,
[data-tip-pos="top"]:focus-visible::after {
  transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-tip]::after {
    transition: none;
  }
}

.form-hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #9CA3AF;
}

.px-sms-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.px-sms-row input {
  flex: 1;
  min-width: 0;
  min-height: 42px;
  box-sizing: border-box;
}
.px-sms-row .pr-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 42px;
  height: auto;
  padding: 0 14px;
  font-size: 13px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
