:root {
  --bg: #f5f9fd;
  --paper: #ffffff;
  --ink: #162235;
  --muted: #6a7a90;
  --line: #e4edf5;
  --blue: #1597ff;
  --blue-dark: #086cc8;
  --blue-soft: #eaf7ff;
  --cyan: #46c7e8;
  --green: #13a77a;
  --orange: #f59a23;
  --red: #ef4b73;
  --shadow: 0 14px 34px rgba(18, 50, 84, 0.08);
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  letter-spacing: 0;
}

main {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  width: min(1880px, calc(100% - 56px));
  height: 54px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr auto;
  align-items: center;
  gap: 22px;
}

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

.brand img {
  width: 108px;
  height: 32px;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 2px;
  color: #3d4f66;
  white-space: nowrap;
}

.brand strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
}

.brand em {
  color: #65758a;
  font-size: 12px;
  font-style: normal;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 22px;
  height: 100%;
}

.nav button,
.nav a {
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #33435a;
  padding: 0;
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}

.nav button::after,
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: transparent;
}

.nav button.active,
.nav button:hover,
.nav a.active,
.nav a:hover { color: var(--blue-dark); }
.nav button.active::after,
.nav a.active::after { background: var(--blue); }

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.btn,
.icon-button,
.ai-button {
  height: 34px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  font-weight: 800;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.btn.subtle {
  background: #fff;
  color: #39516b;
}

.btn.full { width: 100%; }

.btn:disabled,
.btn.disabled {
  border-color: #d7dee8;
  background: #eef2f7;
  color: #8492a6;
  cursor: not-allowed;
  pointer-events: none;
}

.header-user {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #42556d;
  font-size: 13px;
  font-weight: 900;
}

.message-menu {
  position: relative;
}

.message-trigger {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #39516b;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.message-trigger span {
  min-width: 18px;
  height: 18px;
  margin-left: 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 99px;
  background: #ef4b73;
  color: #fff;
  font-size: 11px;
}

.message-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 0px);
  z-index: 90;
  width: 330px;
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(24, 45, 70, .15);
  padding: 12px;
}

.message-menu:hover .message-popover,
.message-menu:focus-within .message-popover {
  display: block;
}

.message-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.message-popover-head strong {
  font-size: 14px;
}

.message-popover-head a {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.message-preview-list {
  display: grid;
  gap: 8px;
}

.message-preview {
  display: grid;
  gap: 4px;
  border-radius: 7px;
  background: #f7fafc;
  padding: 10px;
}

.message-preview.unread {
  background: #fff5f8;
}

.message-preview b {
  color: #1b2a3d;
  font-size: 13px;
}

.message-preview span {
  color: #67788d;
  font-size: 12px;
  line-height: 1.5;
}

.message-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.user-avatar-link {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid #cfe0ee;
  border-radius: 50%;
  background: linear-gradient(135deg, #1597ff, #46c7e8);
  color: #fff;
  font-weight: 900;
}

.user-avatar-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-menu {
  position: relative;
}

.user-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 0px);
  z-index: 95;
  width: 342px;
  display: none;
  overflow: hidden;
  border: 1px solid rgba(215, 224, 235, .92);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(24, 45, 70, .18);
}

.user-menu:hover .user-popover,
.user-menu:focus-within .user-popover {
  display: block;
}

.user-popover-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 12px;
  background: linear-gradient(135deg, #ffe2b3, #fff2d9);
}

.user-popover-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #c7ced6;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
}

.user-popover-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-popover-head strong {
  display: block;
  color: #111827;
  font-size: 17px;
  line-height: 1.2;
}

.user-popover-head p {
  margin: 6px 0 0;
  color: #728095;
  font-size: 12px;
}

.user-popover-levels {
  display: flex;
  gap: 8px;
  padding: 0 20px 14px 84px;
  background: #fff2d9;
}

.user-popover-levels span {
  min-width: 22px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 99px;
  background: rgba(255, 255, 255, .62);
  color: #d9b271;
  font-size: 10px;
  font-weight: 900;
}

.user-popover-levels span.active {
  background: #bde8a6;
  color: #3f9d45;
}

.user-popover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px 0;
  padding: 14px 12px 12px;
}

.user-popover-grid a {
  min-height: 72px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border-radius: 10px;
  color: #4c5564;
  font-size: 13px;
  font-weight: 800;
}

.user-popover-grid a:hover {
  background: #f5f8fb;
  color: var(--blue-dark);
}

.user-popover-grid a span {
  height: 28px;
  display: grid;
  place-items: center;
  color: #333b47;
  font-size: 25px;
  line-height: 1;
  font-family: "Segoe UI Symbol", "Microsoft YaHei", sans-serif;
}

.user-popover-logout {
  margin: 0;
  padding: 12px 18px 16px;
  border-top: 1px solid #edf1f5;
  text-align: right;
}

.user-popover-logout button {
  border: 0;
  background: transparent;
  color: #68778b;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.user-popover-logout button:hover {
  color: #ef4b73;
}

.logout-form {
  margin: 0;
}

.icon-button {
  width: 34px;
  padding: 0;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}

.ai-button {
  border-color: transparent;
  background: linear-gradient(90deg, #416dff, #26b6ff);
  color: #fff;
}

.btn:hover,
.icon-button:hover {
  border-color: #b7def8;
  color: var(--blue-dark);
}

.page { padding-bottom: 56px; }
.home-page { background: #fff; }

.activity-hero-banner {
  width: 100%;
  height: clamp(96px, 10.16vw, 208px);
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.activity-hero-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.activity-page {
  background: #f6f7f9;
}

.activity-page .container {
  width: min(1410px, calc(100% - 64px));
}

.activity-list-bar-wrap {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(24, 45, 70, 0.035);
}

.activity-list-bar {
  min-height: 64px;
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.activity-content-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
}

.activity-content-tabs a {
  color: #39485d;
  font-size: 15px;
  font-weight: 900;
}

.activity-content-tabs a.active,
.activity-content-tabs a:hover {
  color: #ef4b73;
}

.activity-search-form {
  display: grid;
  grid-template-columns: 1fr 72px;
  align-items: center;
  min-width: 0;
  height: 38px;
  border: 1px solid #dce5ee;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}

.activity-search-form input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 18px;
  color: var(--ink);
  font-size: 14px;
}

.activity-search-form button {
  height: 32px;
  margin-right: 3px;
  border: 0;
  border-radius: 17px;
  background: #ef4b73;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.activity-publish-btn {
  height: 38px;
  min-width: 128px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ef4b73;
  border-radius: 20px;
  background: #fff;
  color: #ef4b73;
  font-size: 15px;
  font-weight: 900;
}

.activity-publish-btn:hover {
  background: #fff5f8;
}

/* 个人中心发布管理与活动报名运维：统一信息层级和栅格 */
.member-post-section {
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(27, 72, 112, .05);
}

.member-post-section-head {
  padding: 18px 20px;
  background: linear-gradient(135deg, #fbfdff, #f4f9fd);
}

.member-post-row {
  min-height: 92px;
  grid-template-columns: minmax(230px, 1fr) minmax(210px, .72fr) 260px;
  gap: 22px;
  padding: 16px 20px;
  transition: background .18s ease;
}

.member-post-row:hover { background: #fbfdff; }
.member-post-main strong { font-size: 15px; line-height: 1.45; }
.member-post-meta { gap: 8px; }

.member-post-metrics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 10px;
}

.member-post-metrics span {
  color: #6d8196;
  font-size: 11px;
  white-space: nowrap;
}

.member-post-metrics b { color: #176fb8; font-size: 13px; }
.member-post-metrics .is-warning b { color: #bd7300; }
.member-post-metrics .is-danger b { color: #dc4966; }

.member-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 260px;
  gap: 8px;
}

.member-action-grid .btn {
  position: relative;
  width: 100%;
  min-width: 0;
  justify-content: center;
  white-space: nowrap;
}

.member-action-grid .has-alert { border-color: #ff9db0; color: #dc4564; background: #fff7f9; }
.member-action-grid .has-alert b { display: grid; place-items: center; min-width: 18px; height: 18px; margin-left: 5px; padding: 0 4px; border-radius: 9px; color: #fff; background: #ef5675; font-size: 10px; }

.activity-manage-page .container { max-width: 1240px; }
.activity-manage-page .member-signup-head { align-items: center; margin-bottom: 16px; }
.activity-manage-page .member-signup-head h1 { font-size: 30px; letter-spacing: -.02em; }
.activity-manage-page .member-post-actions { display: flex; gap: 10px; }

.activity-manage-page .checkin-stat-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 22px;
}

.activity-manage-page .checkin-stat-grid div {
  position: relative;
  min-height: 104px;
  align-content: center;
  padding: 17px 18px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(32, 107, 164, .05);
}

.activity-manage-page .checkin-stat-grid div::after {
  position: absolute;
  right: -22px;
  bottom: -34px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(21, 151, 255, .07);
  content: "";
}

.activity-manage-page .checkin-stat-grid strong { font-size: 30px; line-height: 1; }
.activity-manage-page .member-card { border-radius: 16px; box-shadow: 0 12px 34px rgba(27, 72, 112, .06); }
.activity-manage-page .signup-list-card { padding: 22px; }
.signup-list-title { padding: 0 2px 15px; border-bottom: 1px solid #e3edf5; }

.signup-manage-list { gap: 14px; padding-top: 16px; }
.signup-manage-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dce8f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(30, 77, 116, .04);
}

.signup-manage-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) 140px 120px minmax(140px, .65fr);
  gap: 20px;
  align-items: center;
  min-height: 108px;
  padding: 18px 20px;
}

.signup-person { display: flex; align-items: center; gap: 12px; }
.signup-person > div { display: grid; gap: 4px; min-width: 0; }
.signup-avatar { display: grid !important; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; border-radius: 13px; color: #0874dd !important; background: linear-gradient(145deg, #eaf7ff, #cdeaff); font-size: 17px !important; font-weight: 900; }
.signup-payment, .signup-credential { display: grid; gap: 5px; }
.signup-payment small, .signup-credential small { color: #8595a7; font-size: 11px; }
.signup-payment strong { color: #12304f; font-size: 18px; }
.signup-payment span { color: #718096; font-size: 11px; }
.signup-credential strong { color: #0874dd; font-size: 19px; letter-spacing: .12em; }
.signup-credential span { color: #5f748a; font-size: 12px; line-height: 1.5; }

.signup-action-panel,
.refund-review-panel {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(420px, 1.4fr);
  gap: 24px;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid #dfeaf3;
  background: #f8fbfe;
}

.signup-action-panel > div { display: grid; gap: 4px; }
.signup-action-panel > div strong { color: #203b57; }
.signup-action-panel > div span { color: #71869a; font-size: 12px; }

.signup-review-form { display: grid; grid-template-columns: minmax(160px, 1fr) auto auto; gap: 8px; margin: 0; }
.signup-review-form .btn { white-space: nowrap; }

.refund-review-panel { grid-template-columns: minmax(260px, .8fr) minmax(450px, 1.35fr); background: linear-gradient(135deg, #f4faff, #fbfdff); }
.refund-request-summary { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 12px; padding: 0; background: transparent; }
.refund-request-summary > span { color: #60768f; font-size: 12px; font-weight: 800; }
.refund-request-summary > strong { justify-self: end; color: #0875cf; font-size: 21px; }
.refund-request-summary p { grid-column: 1 / -1; margin: 4px 0 0; color: #263f59; font-size: 14px; line-height: 1.55; }
.refund-request-summary small { grid-column: 1 / -1; color: #8294a6; font-size: 11px; }
.refund-review-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; margin: 0; }
.refund-review-form label { display: grid; gap: 6px; }
.refund-review-form label span { color: #60768f; font-size: 11px; font-weight: 800; }
.refund-review-form > div { display: flex; gap: 8px; }
.refund-review-form .btn { white-space: nowrap; }

.signup-result-note { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid #dcebe5; color: #207554; background: #f2fbf7; }
.signup-result-note span { color: #6c8179; font-size: 12px; }
.signup-result-note.is-rejected { color: #a34b58; border-top-color: #f0dfe2; background: #fff7f8; }

@media (max-width: 1200px) {
  .member-post-row { grid-template-columns: minmax(0, 1fr) 260px; }
  .member-post-main { grid-column: 1 / -1; }
  .member-post-meta { align-self: center; }
  .activity-manage-page .checkin-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .signup-manage-main { grid-template-columns: minmax(260px, 1fr) 130px 115px 140px; gap: 14px; }
}

@media (max-width: 900px) {
  .member-post-row { grid-template-columns: 1fr; }
  .member-post-main { grid-column: auto; }
  .member-action-grid { width: 100%; }
  .signup-manage-main { grid-template-columns: 1fr 1fr; }
  .signup-action-panel, .refund-review-panel { grid-template-columns: 1fr; }
  .refund-review-form { grid-template-columns: 1fr; }
  .refund-review-form > div { justify-content: flex-end; }
}

.activity-refund-card {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e3edf6;
}

.activity-refund-card p,
.refund-request-summary span,
.refund-request-summary small {
  display: block;
  color: #60768f;
  line-height: 1.7;
}

.activity-refund-trigger {
  width: 100%;
}

.activity-refund-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.activity-refund-modal.is-open {
  display: flex;
}

.activity-refund-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 35, 58, .5);
  backdrop-filter: blur(4px);
}

.activity-refund-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid #dceaf6;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(15, 42, 72, .28);
}

.activity-refund-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 16px;
  border-bottom: 1px solid #e7eff6;
}

.activity-refund-dialog > header small {
  color: #1597ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.activity-refund-dialog > header h2 {
  margin: 3px 0 0;
  color: #10233f;
  font-size: 21px;
}

.activity-refund-dialog > header button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #6c7f93;
  background: #eff5fa;
  font-size: 24px;
  line-height: 1;
}

.activity-refund-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 22px 0;
  padding: 14px 16px;
  border-radius: 12px;
  color: #526b84;
  background: #f3f9ff;
}

.activity-refund-summary strong {
  flex: 0 0 auto;
  color: #0875cf;
}

.activity-refund-previous {
  margin: 12px 22px 0;
  padding: 10px 12px;
  border-radius: 10px;
  color: #a15b13;
  background: #fff7e9;
}

.activity-refund-form,
.refund-review-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.activity-refund-dialog .activity-refund-form {
  padding: 4px 22px 20px;
}

.activity-refund-form label,
.activity-refund-form label > span,
.activity-refund-form label > small {
  display: block;
}

.activity-refund-form label > span {
  margin-bottom: 8px;
  color: #263b53;
  font-weight: 800;
}

.activity-refund-form label > span em {
  color: #ef4b73;
  font-style: normal;
}

.activity-refund-form label > small {
  margin-top: 7px;
  color: #7b8ea3;
  line-height: 1.6;
}

.activity-refund-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.activity-refund-form textarea,
.refund-review-form input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d7e4f0;
  border-radius: 10px;
  background: #fbfdff;
  resize: vertical;
}

.refund-request-summary {
  grid-column: 1 / -1;
  padding: 12px;
  border-radius: 10px;
  background: #f3f9ff;
}

.refund-request-summary strong,
.refund-approved {
  color: #0875cf;
}

.activity-quick-tags {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 8px;
  padding: 7px 0 0;
}

.activity-quick-tags strong {
  flex: 0 0 auto;
  color: #2a3b50;
  font-size: 14px;
  font-weight: 900;
}

.activity-quick-tags nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.activity-quick-tags a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1px;
  border-bottom: 2px solid transparent;
  color: #53677e;
  font-size: 13px;
  font-weight: 900;
  transition: border-color .16s ease, color .16s ease;
}

.activity-quick-tags a:hover,
.activity-quick-tags a.active {
  border-bottom-color: #ef4b73;
  color: #e83e68;
}

.activity-quick-tags + .activity-grid {
  padding-top: 10px;
}

.portal-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.mosaic-grid {
  width: min(1880px, 100%);
  height: 318px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.05fr 1.48fr 1.05fr;
  gap: 4px;
  overflow: hidden;
  background: #fff;
}

.mosaic-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  min-width: 0;
}

.mosaic-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(21, 151, 255, 0.15), rgba(255, 255, 255, 0.35)),
    #dfeef8;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.mosaic-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(3, 24, 48, 0.62));
  z-index: -1;
}

.mosaic-card figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.mosaic-card figcaption span {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 800;
  opacity: 0.88;
}

.mosaic-card figcaption strong {
  display: block;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 900;
}

.mosaic-feature figcaption strong {
  max-width: 560px;
  font-size: 38px;
  line-height: 1.08;
}

.shortcut-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.shortcut-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: center;
}

.shortcut {
  height: 54px;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: var(--ink);
}

.shortcut:hover .shortcut-icon {
  border-color: #a9dcff;
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.shortcut-icon {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: #738196;
  font-weight: 900;
}

.shortcut strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.shortcut small {
  display: block;
  margin-top: 4px;
  color: #7a8797;
  font-size: 12px;
}

.idea-band {
  padding: 32px 16px 34px;
  background: linear-gradient(90deg, #f3f9ff, #fff, #eff9ff);
}

.idea-box {
  width: min(760px, 100%);
  height: 58px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 48px 1fr 42px;
  align-items: center;
  gap: 10px;
  border: 2px solid #9ed8ff;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(21, 151, 255, 0.12);
  padding: 0 10px 0 12px;
}

.idea-mascot {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #102033;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
}

.idea-box input {
  width: 100%;
  border: 0;
  outline: none;
  color: var(--ink);
  font-size: 15px;
}

.idea-submit {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.section {
  padding-top: 36px;
}

.section-title,
.route-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

.section-title.compact {
  margin-bottom: 18px;
}

.section-title h2,
.route-head h1,
.form-panel h2,
.admin-content h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.section-title h2 { font-size: 27px; }
.route-head h1 { font-size: 42px; }

.section-title p,
.route-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.route-head {
  display: block;
  padding: 46px 0 26px;
}

.route-head p {
  max-width: 850px;
  font-size: 16px;
}

.section-link {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.route-chips { margin-top: 0; }

.chip {
  height: 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #fff;
  color: #405268;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(28, 55, 84, 0.04);
  display: inline-flex;
  align-items: center;
}

.chip.active,
.chip:hover {
  color: var(--blue-dark);
  border-color: #bfe4ff;
  background: var(--blue-soft);
}

.scheme-grid,
.content-grid,
.talent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.scheme-grid.narrow {
  grid-template-columns: repeat(2, 1fr);
}

.activity-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding-top: 32px;
}

.activity-grid .card-cover {
  height: 150px;
}

.activity-grid .card-body {
  padding: 14px;
}

.activity-grid h3 {
  font-size: 16px;
}

.activity-grid p {
  display: -webkit-box;
  min-height: 46px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-activity-grid {
  grid-template-columns: repeat(var(--visible-cards, 5), minmax(0, 1fr)) !important;
}

.home-activity-grid > .activity-card:nth-of-type(n+6) {
  display: none !important;
}

.home-activity-grid > .activity-card[hidden] {
  display: none !important;
}

.home-talent-grid,
.home-demand-grid {
  grid-template-columns: repeat(var(--visible-cards, 5), minmax(0, 1fr)) !important;
}

.home-talent-grid > *:nth-child(n+6),
.home-demand-grid > *:nth-child(n+6),
.home-talent-grid > *[hidden],
.home-demand-grid > *[hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  .home-activity-grid,
  .home-talent-grid,
  .home-demand-grid {
    grid-template-columns: repeat(var(--visible-cards, 4), minmax(0, 1fr)) !important;
  }
}

@media (max-width: 920px) {
  .home-activity-grid,
  .home-talent-grid,
  .home-demand-grid {
    grid-template-columns: repeat(var(--visible-cards, 3), minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .home-activity-grid,
  .home-talent-grid,
  .home-demand-grid {
    grid-template-columns: repeat(var(--visible-cards, 2), minmax(0, 1fr)) !important;
  }
}

@media (max-width: 460px) {
  .home-activity-grid,
  .home-talent-grid,
  .home-demand-grid {
    grid-template-columns: repeat(var(--visible-cards, 1), minmax(0, 1fr)) !important;
  }
}

.content-card,
.scheme-card,
.talent-card,
.module-card,
.process-card,
.surface,
.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.scheme-card,
.content-card {
  overflow: hidden;
  min-width: 0;
}

.activity-card-clickable {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.activity-card-clickable:hover {
  border-color: rgba(41, 169, 225, .45);
  box-shadow: 0 18px 34px rgba(24, 45, 70, .1);
  transform: translateY(-2px);
}

.activity-card-clickable h3 {
  color: var(--ink);
}

.card-cover {
  height: 154px;
  background:
    linear-gradient(135deg, rgba(21, 151, 255, 0.18), rgba(255, 255, 255, 0.3)),
    #dceef9;
  background-size: cover;
  background-position: center;
}

.card-cover.has-image {
  background-size: cover;
  background-position: center;
}

.card-cover.has-image span {
  background: rgba(255, 255, 255, .86);
}

.activity-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(24, 45, 70, .04);
  padding: 14px 16px;
}

.activity-toolbar strong {
  display: block;
  margin-bottom: 3px;
  font-size: 18px;
}

.activity-toolbar span {
  color: var(--muted);
  font-size: 13px;
}

.card-body {
  padding: 16px;
}

.required-mark {
  color: #e84b7a;
  font-style: normal;
  font-weight: 900;
}

.card-topline,
.card-meta,
.card-actions,
.talent-head,
.score-row,
.tag-row,
.admin-row,
.admin-stat-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-topline {
  justify-content: space-between;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.card-topline strong { color: var(--orange); }

.scheme-card h3,
.content-card h3,
.talent-card h3,
.module-card h3,
.process-card h3 {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.35;
}

.scheme-card p,
.content-card p,
.talent-card p,
.module-card p,
.process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.locked-box,
.private-box,
.form-note,
.db-alert {
  margin-top: 14px;
  border-radius: 7px;
  padding: 11px 12px;
  font-size: 13px;
  line-height: 1.6;
}

.locked-box {
  background: #f5f9fd;
  color: #6f7e91;
  border: 1px dashed #d4e4f0;
}

.private-box {
  background: #eef9f5;
  color: #276a54;
  border: 1px solid #ccecdf;
}

.private-box b {
  margin-right: 6px;
}

.form-note {
  margin: 0 0 16px;
  background: var(--blue-soft);
  color: #235c86;
  border: 1px solid #cfebff;
}

.db-alert {
  margin-top: 18px;
  background: #fff7ec;
  border: 1px solid #ffdfb0;
  color: #8a4e00;
}

.card-meta {
  flex-wrap: wrap;
  margin-top: 14px;
}

.card-meta span,
.tag-row span {
  border-radius: 5px;
  background: #f2f7fb;
  color: #66778d;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 800;
}

.card-actions {
  margin-top: 14px;
}

.card-actions .btn,
.card-actions form { flex: 1; }
.card-actions form { margin: 0; }
.card-actions form .btn { width: 100%; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 26px;
}

.page-link {
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #41546e;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}

.page-link.active,
.page-link:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.page-link.disabled {
  background: #f2f6fa;
  color: #a2adba;
  pointer-events: none;
}

.home-columns {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 18px;
  align-items: start;
}

.surface,
.form-panel {
  padding: 20px;
}

.open-surface {
  box-shadow: none;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.module-card,
.process-card,
.talent-card {
  padding: 18px;
  box-shadow: none;
}

.module-index,
.process-card span {
  display: inline-flex;
  margin-bottom: 18px;
  width: 42px;
  height: 30px;
  border-radius: 7px;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 900;
}

.mini-list {
  display: grid;
  gap: 10px;
}

.mini-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 4px 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 12px;
  text-align: left;
}

.mini-row:hover {
  border-color: #bfe3ff;
  background: #f8fcff;
}

.mini-row span,
.mini-row small {
  color: var(--muted);
  font-size: 12px;
}

.mini-row strong {
  font-size: 14px;
}

.mini-row small {
  grid-column: 2;
}

.split-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 20px;
  align-items: start;
}

.demand-page,
.demand-detail-page {
  background: #f3f3f3;
}

.demand-hero {
  height: 198px;
  overflow: hidden;
  background: #eef3ff;
}

.demand-hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.demand-searchbar {
  background: #fff;
  border-bottom: 1px solid #eceff3;
}

.demand-search-inner,
.demand-filter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.demand-search-inner {
  padding-top: 18px;
  padding-bottom: 18px;
}

.demand-search-form {
  display: flex;
  flex: 1;
  max-width: 760px;
  margin: 0 auto;
}

.demand-search-form input {
  flex: 1;
  height: 44px;
  border: 1px solid #d8dde5;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  padding: 0 18px;
  font-size: 15px;
}

.demand-search-form button {
  width: 86px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: #1f1f1f;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.demand-publish-link {
  height: 44px;
  min-width: 108px;
  border: 1px solid #111;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-weight: 900;
  background: #fff;
}

.demand-filter-row {
  background: #fff;
}

.demand-filter-inner {
  padding-top: 18px;
  padding-bottom: 18px;
}

.demand-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.demand-select {
  min-width: 132px;
  height: 38px;
  border: 1px solid #d9dde4;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4d5969;
  background: #fff;
  font-size: 14px;
}

.demand-select.active,
.demand-select:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.demand-switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #444;
  font-size: 14px;
  white-space: nowrap;
}

.demand-switch input {
  display: none;
}

.demand-switch span {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #c6cbd2;
  position: relative;
}

.demand-switch span::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
  transition: transform .18s ease;
}

.demand-switch input:checked + span {
  background: var(--primary);
}

.demand-switch input:checked + span::before {
  transform: translateX(20px);
}

.demand-main {
  padding: 28px 0 54px;
}

.demand-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

.demand-list {
  display: grid;
  gap: 18px;
}

.demand-list-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 20px;
  background: #fff;
  padding: 24px 28px;
  min-height: 150px;
}

.demand-list-main {
  color: inherit;
}

.demand-list-card h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.demand-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #7b8492;
  font-size: 14px;
}

.demand-tags span {
  border-radius: 3px;
  background: #2aa274;
  color: #fff;
  padding: 4px 10px;
  font-style: normal;
}

.demand-tags em {
  font-style: normal;
}

.demand-list-card p {
  margin: 24px 0 0;
  color: #364153;
  line-height: 1.75;
}

.demand-list-side {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 16px;
}

.demand-list-side strong,
.demand-detail-cta strong {
  color: #ff273f;
  font-size: 16px;
}

.demand-list-side span {
  color: #7a8290;
}

.demand-sidebar {
  display: grid;
  gap: 18px;
}

.demand-publish-card {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: #98df0a;
}

.demand-publish-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.demand-seen-card,
.demand-publish-panel,
.demand-detail-card {
  background: #fff;
  border-radius: 4px;
}

.demand-seen-card h3 {
  margin: 0;
  padding: 17px 20px;
  text-align: center;
  background: #f1eefa;
  font-size: 16px;
}

.demand-seen-card a {
  display: grid;
  gap: 8px;
  padding: 18px 22px;
  color: inherit;
  border-top: 1px solid #f1f2f5;
}

.demand-seen-card span {
  color: #ff273f;
  font-size: 13px;
}

.demand-seen-card em,
.demand-seen-card p {
  color: #687284;
  font-style: normal;
}

.demand-publish-panel {
  padding: 16px;
}

.demand-publish-panel summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 900;
}

.demand-publish-panel form {
  margin-top: 16px;
}

.demand-publish-panel p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.demand-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
}

.demand-modal:target {
  display: flex;
}

.demand-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 32, .52);
  backdrop-filter: blur(8px);
}

.demand-modal-card {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(10, 24, 42, .28);
}

.demand-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #667085;
  background: #f4f6f8;
  font-size: 22px;
  line-height: 1;
}

.demand-modal-close:hover {
  color: #111827;
  background: #edf1f5;
}

.demand-modal-head {
  padding: 30px 34px 18px;
  border-bottom: 1px solid #eef1f5;
}

.demand-modal-head span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 900;
  font-size: 13px;
}

.demand-modal-head h2 {
  margin: 0;
  font-size: 24px;
}

.demand-modal-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.demand-publish-form {
  padding: 24px 34px 30px;
}

.demand-deposit-note {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #f5f9ff;
  color: #365476;
  font-size: 13px;
}

.demand-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.demand-field-wide {
  grid-column: 1 / -1;
}

.demand-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

.demand-image-helper {
  margin-top: 16px;
}

.demand-image-helper p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.demand-image-helper p.error {
  color: #e5484d;
}

.demand-image-preview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.demand-image-preview span,
.demand-attachment-grid a {
  display: block;
  overflow: hidden;
  border: 1px solid #edf1f5;
  border-radius: 6px;
  background: #f7f9fb;
  aspect-ratio: 4 / 3;
}

.demand-image-preview img,
.demand-attachment-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.demand-attachment-gallery {
  margin: 18px 0;
}

.demand-attachment-gallery h3 {
  margin: 0 0 12px;
}

.demand-attachment-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 56px 92px;
  background: rgba(8, 15, 24, .76);
  backdrop-filter: blur(8px);
}

.image-lightbox.open {
  display: flex;
}

.image-lightbox-stage {
  margin: 0;
  width: min(1120px, 100%);
  max-height: calc(100vh - 112px);
  display: grid;
  gap: 12px;
  justify-items: center;
}

.image-lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .36);
}

.image-lightbox-stage figcaption {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.image-lightbox-close,
.image-lightbox-prev,
.image-lightbox-next {
  position: absolute;
  border: 0;
  cursor: pointer;
  color: #172033;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .24);
  transition: transform .18s ease, background .18s ease;
}

.image-lightbox-close:hover,
.image-lightbox-prev:hover,
.image-lightbox-next:hover {
  background: #fff;
  transform: scale(1.05);
}

.image-lightbox-close {
  top: 22px;
  right: 28px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.image-lightbox-prev,
.image-lightbox-next {
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.image-lightbox-prev {
  left: 28px;
}

.image-lightbox-next {
  right: 28px;
}

.image-lightbox-prev::before,
.image-lightbox-next::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 auto;
}

.image-lightbox-prev::before {
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: translateX(2px) rotate(45deg);
}

.image-lightbox-next::before {
  border-right: 3px solid currentColor;
  border-top: 3px solid currentColor;
  transform: translateX(-2px) rotate(45deg);
}

body.modal-open {
  overflow: hidden;
}

.demand-detail-head {
  background: #d6dae6;
}

.demand-detail-head-inner {
  min-height: 142px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.demand-detail-head h1 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 26px;
}

.demand-detail-cta {
  display: flex;
  align-items: center;
  gap: 30px;
}

.demand-detail-cta form {
  margin: 0;
}

.demand-detail-main {
  padding-top: 26px;
}

.demand-detail-card {
  min-height: 360px;
  padding: 34px 44px;
}

.demand-detail-card h2 {
  margin: 0 0 30px;
  font-size: 18px;
}

.demand-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 80px;
  margin-bottom: 42px;
  color: #8a8f99;
}

.demand-detail-grid span {
  display: flex;
  gap: 22px;
}

.demand-detail-grid b {
  color: #8a8f99;
}

.demand-detail-card h3 {
  margin: 0 0 18px;
  font-size: 16px;
}

.demand-detail-card > p {
  margin: 0;
  color: #101827;
  line-height: 1.9;
}

.form-panel {
  position: sticky;
  top: 72px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
}

.field span {
  color: #53667f;
  font-size: 13px;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 9px 11px;
  outline: none;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #95d4ff;
  box-shadow: 0 0 0 3px rgba(21, 151, 255, 0.12);
}

.field-inline-action {
  display: flex;
  gap: 10px;
  align-items: center;
}

.field-inline-action input {
  min-width: 0;
  flex: 1;
}

.field-inline-action .btn {
  white-space: nowrap;
}

.field.is-hidden {
  display: none;
}

.publish-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.publish-activity-form {
  position: static;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.publish-activity-form h2,
.media-upload-grid,
.cover-upload-panel,
.time-fields,
.time-preview,
.publish-activity-form .form-note,
.publish-activity-form .btn.full {
  grid-column: 1 / -1;
}

.media-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.media-upload-card {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfe;
  padding: 16px;
}

.media-upload-card strong {
  display: block;
  margin-bottom: 6px;
  color: #213349;
  font-size: 15px;
  font-weight: 900;
}

.media-upload-card p {
  margin: 0;
  color: #64778d;
  font-size: 13px;
  line-height: 1.65;
}

.media-upload-action {
  justify-content: center;
  min-height: 40px;
  cursor: pointer;
}

.media-upload-action input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.media-upload-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.media-upload-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 3;
  object-fit: cover;
}

.media-upload-preview.qr-preview {
  width: min(180px, 100%);
}

.media-upload-preview.qr-preview img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 10px;
}

.activity-contacts-editor {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
}

.activity-contacts-head,
.activity-contact-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.activity-contacts-head p,
.activity-contact-image p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.activity-contact-list {
  display: grid;
  gap: 14px;
}

.activity-contact-card {
  display: grid;
  gap: 16px;
  border: 1px solid #d8e5f1;
  border-radius: 12px;
  background: linear-gradient(180deg, #fbfdff, #f4f9fe);
  padding: 18px;
}

.activity-contact-card-head {
  border-bottom: 1px solid #e2ebf4;
  padding-bottom: 12px;
}

.activity-contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.activity-contact-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 16px;
  align-items: center;
  border-top: 1px dashed #d6e3ef;
  padding-top: 14px;
}

.activity-contact-image .contact-qr-preview,
.activity-contact-image .form-note,
.activity-contact-image .contact-image-remove {
  grid-column: 1 / -1;
}

.contact-image-remove {
  color: #6d7e91;
  font-size: 13px;
}

.activity-contact-card .btn.danger:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.time-fields {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr .8fr 1.15fr;
  gap: 14px;
  align-items: end;
}

.cross-day-field {
  margin-bottom: 13px;
  width: 150px;
}

.toggle-line {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 8px 10px;
  cursor: pointer;
}

.toggle-line input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-line b {
  width: 34px;
  height: 20px;
  border-radius: 99px;
  background: #cbd8e5;
  position: relative;
  transition: background .18s ease;
}

.toggle-line b::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(17, 40, 62, .18);
  transition: transform .18s ease;
}

.toggle-line input:checked + b {
  background: var(--pink);
}

.toggle-line input:checked + b::after {
  transform: translateX(14px);
}

.toggle-line em {
  color: #40566f;
  font-style: normal;
  font-weight: 900;
}

.time-preview {
  margin-top: -2px;
}

.cover-upload-panel {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  align-items: stretch;
}

.cover-upload-box {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 2px dashed #b9d7ec;
  border-radius: 8px;
  background: #f7fbff;
  color: #37526c;
  text-align: center;
  padding: 20px;
  cursor: pointer;
}

.cover-upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cover-upload-box span {
  font-size: 17px;
  font-weight: 900;
}

.cover-upload-box small {
  color: var(--muted);
  line-height: 1.6;
}

.cover-preview {
  min-height: 150px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #edf4fa;
  color: #7990a6;
  font-size: 13px;
}

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

.qr-upload-panel {
  grid-template-columns: 280px minmax(160px, 240px);
}

.qr-preview {
  aspect-ratio: 1 / 1;
  min-height: 180px;
}

.qr-preview img {
  object-fit: contain;
  padding: 10px;
  background: #fff;
}

.form-note.error {
  color: #b62844;
}

.publish-guide {
  position: sticky;
  top: 76px;
  display: grid;
  gap: 14px;
}

.publish-guide ul {
  margin: 0;
  padding-left: 18px;
  color: #5d7086;
  line-height: 1.8;
}

.wallet-box {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfe;
  padding: 14px;
}

.wallet-box span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.wallet-box strong {
  color: var(--blue-dark);
  font-size: 24px;
}

.wallet-box.large {
  margin: 8px 0;
}

.activity-detail-hero {
  width: 100%;
  max-height: 360px;
  overflow: hidden;
  background: #eaf3fb;
}

.activity-detail-hero img {
  display: block;
  width: 100%;
  height: min(360px, 32vw);
  min-height: 180px;
  object-fit: cover;
}

.activity-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  padding-top: 28px;
}

.activity-detail-main,
.activity-detail-side {
  padding: 24px;
}

.activity-detail-title span {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 99px;
  background: #fff3f6;
  color: #ef4b73;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 900;
}

.activity-detail-title h1 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.2;
}

.activity-detail-title p,
.article-body p {
  color: #51667d;
  line-height: 1.85;
}

.activity-detail-main h2 {
  margin: 28px 0 12px;
}

.activity-detail-side {
  position: sticky;
  top: 76px;
  align-self: start;
  display: grid;
  gap: 14px;
}

.activity-detail-side h3 {
  margin: 0;
}

.activity-detail-side dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.activity-detail-side dt {
  color: #213349;
  font-weight: 900;
}

.activity-detail-side dd {
  margin: -4px 0 6px;
  color: var(--muted);
  line-height: 1.7;
}

.activity-public-contacts {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.activity-public-contacts h4 {
  margin: 0;
  font-size: 15px;
}

.activity-public-contact {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid #dce7f1;
  border-radius: 10px;
  background: #f8fbfe;
  padding: 10px;
}

.activity-public-contact.no-image {
  grid-template-columns: 1fr;
}

.activity-public-contact img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.activity-public-contact div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.activity-public-contact span {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.activity-qr-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
  text-align: center;
}

.activity-qr-card img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  justify-self: center;
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
  padding: 8px;
}

.activity-qr-card strong {
  color: var(--ink);
}

.activity-qr-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.recharge-shell {
  min-height: calc(100vh - 220px);
  display: grid;
  place-items: center;
  padding-top: 48px;
}

.recharge-card {
  width: min(460px, 100%);
}

.recharge-card h1 {
  margin: 0;
}

.recharge-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.quick-recharge {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.quick-recharge button {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #39516b;
  font-weight: 900;
}

.quick-recharge button:hover {
  border-color: #9bd8ff;
  color: var(--blue-dark);
}

.talent-head {
  align-items: flex-start;
  margin-bottom: 14px;
}

.talent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #23b2ff, #92dcff);
  color: #fff;
  font-weight: 900;
}

.talent-head h3 {
  margin-bottom: 3px;
}

.talent-head p {
  font-size: 13px;
}

.tag-row {
  flex-wrap: wrap;
  margin-top: 14px;
}

.score-row {
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.score-row span {
  display: grid;
  gap: 2px;
}

.score-row strong {
  color: var(--blue-dark);
  font-size: 20px;
}

.score-row small {
  color: var(--muted);
  font-size: 12px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: start;
}

.admin-menu,
.admin-content {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.admin-menu {
  position: sticky;
  top: 72px;
  display: grid;
  gap: 10px;
}

.admin-menu strong {
  margin-bottom: 6px;
}

.admin-menu button {
  height: 38px;
  border: 0;
  border-radius: 6px;
  background: #f5f9fd;
  text-align: left;
  padding: 0 12px;
  color: #4d6077;
  font-weight: 900;
}

.admin-menu button.active {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.admin-stat-row {
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.admin-stat-row span {
  border-radius: 7px;
  background: #f5f9fd;
  padding: 10px 12px;
  color: #43566d;
  font-weight: 900;
}

.admin-table {
  display: grid;
  gap: 10px;
  margin: 12px 0 22px;
}

.admin-row {
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px;
}

.admin-row small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.admin-activity-row {
  align-items: flex-start;
}

.admin-inline-form {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  flex-wrap: wrap;
}

.admin-inline-form label {
  display: grid;
  gap: 5px;
  color: #53677d;
  font-size: 12px;
  font-weight: 900;
}

.admin-inline-form select {
  min-width: 104px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #203149;
  padding: 0 10px;
}

.activity-admin-metrics a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(24, 45, 70, .04);
  padding: 14px;
  color: #5c6e83;
  font-weight: 900;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.activity-admin-metrics a:hover {
  border-color: rgba(41, 169, 225, .45);
  box-shadow: 0 14px 28px rgba(24, 45, 70, .08);
  transform: translateY(-1px);
}

.activity-admin-metrics b {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 26px;
}

.admin-panel-head.split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.activity-admin-overview {
  padding-bottom: 16px;
}

.activity-slot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.recommend-move-tip {
  margin: -4px 0 12px;
  border: 1px solid #d8ecfa;
  border-radius: 8px;
  background: #f4fbff;
  color: #1d7fb0;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 900;
}

.activity-slot {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 88px;
  border: 1px dashed #cbd8e6;
  border-radius: 8px;
  background: #f7fbff;
  padding: 12px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.activity-slot.filled {
  border-style: solid;
  border-color: rgba(41, 169, 225, .3);
  background: linear-gradient(180deg, #f6fbff, #fff);
}

.activity-slot.is-over {
  border-color: #29a9e1;
  box-shadow: inset 0 0 0 2px rgba(41, 169, 225, .18), 0 14px 28px rgba(24, 45, 70, .08);
  transform: translateY(-1px);
}

.activity-slot:hover {
  border-color: rgba(41, 169, 225, .55);
}

.activity-slot .slot-index {
  display: inline-flex;
  border-radius: 999px;
  background: #eaf6ff;
  padding: 3px 8px;
  color: #1d7fb0;
  font-size: 12px;
  font-weight: 900;
}

.recommend-move-block {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(41, 169, 225, .28);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(24, 45, 70, .06);
  padding: 10px;
  cursor: grab;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.recommend-move-block:hover {
  box-shadow: 0 14px 28px rgba(24, 45, 70, .1);
  transform: translateY(-1px);
}

.recommend-move-block.is-selected,
.activity-review-item.is-selected,
[data-recommend-pick].is-selected {
  border-color: #29a9e1;
  box-shadow: 0 0 0 3px rgba(41, 169, 225, .16), 0 14px 28px rgba(24, 45, 70, .1);
}

[data-recommend-pick].is-selected {
  background: #e8f8ff;
  color: #177eaf;
}

.recommend-move-block em {
  color: #1d7fb0;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.activity-slot strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.activity-slot small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.slot-remove {
  margin-top: 8px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #e84b7a;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 8px;
  cursor: pointer;
}

.slot-remove:hover {
  background: #fff0f5;
}

.admin-filter-form {
  display: grid;
  grid-template-columns: 150px 150px 150px minmax(240px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.admin-filter-form label {
  display: grid;
  gap: 6px;
  color: #53677d;
  font-size: 12px;
  font-weight: 900;
}

.admin-filter-form select,
.admin-filter-form input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #203149;
  padding: 0 12px;
  outline: none;
}

.admin-filter-form input:focus,
.admin-filter-form select:focus {
  border-color: rgba(41, 169, 225, .72);
  box-shadow: 0 0 0 3px rgba(41, 169, 225, .12);
}

.admin-filter-actions {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.activity-admin-list {
  display: grid;
  gap: 14px;
}

.activity-admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.activity-admin-card[draggable="true"] {
  cursor: grab;
}

.activity-admin-card.is-dragging,
.activity-slot.is-dragging,
.recommend-move-block.is-dragging,
.activity-review-item.is-dragging {
  opacity: .48;
  border-color: #29a9e1;
  box-shadow: 0 16px 34px rgba(24, 45, 70, .12);
}

.activity-admin-main {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
}

.activity-admin-cover {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 7px;
  background: linear-gradient(135deg, #e9f7ff, #f7fbff);
  color: #7c90a6;
  font-size: 13px;
  font-weight: 900;
  overflow: hidden;
}

.activity-admin-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-admin-info {
  min-width: 0;
}

.activity-admin-titleline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.activity-admin-titleline strong {
  flex-basis: 100%;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.activity-admin-info p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 12px;
  color: #53677d;
  line-height: 1.7;
}

.status-badge,
.recommend-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 900;
}

.status-badge {
  background: #fff3d8;
  color: #9a6a00;
}

.recommend-badge {
  background: #e8f8ff;
  color: #177eaf;
}

.drag-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eef8f0;
  color: #26824a;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 900;
}

.activity-admin-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.activity-admin-fields div {
  min-width: 0;
  border: 1px solid #eef3f8;
  border-radius: 7px;
  background: #f9fbfd;
  padding: 10px;
}

.activity-admin-fields dt {
  margin: 0 0 5px;
  color: #7d8fa3;
  font-size: 12px;
  font-weight: 900;
}

.activity-admin-fields dd {
  margin: 0;
  color: #24364c;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  word-break: break-word;
}

.activity-admin-actions {
  justify-content: flex-start;
  border-top: 1px solid var(--line);
  background: #f7fbff;
  padding: 12px 14px;
}

.activity-signup-panel {
  border-top: 1px solid var(--line);
  background: #fff;
}

.activity-signup-panel summary {
  padding: 12px 14px;
  color: #203149;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.activity-signup-panel[open] summary {
  border-bottom: 1px solid var(--line);
  background: #fbfdff;
}

.activity-signup-table {
  display: grid;
  padding: 12px 14px 14px;
  gap: 8px;
}

.signup-table-head,
.signup-table-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.4fr .9fr 1.2fr;
  gap: 10px;
  align-items: center;
}

.signup-table-head {
  color: #7d8fa3;
  font-size: 12px;
  font-weight: 900;
}

.signup-table-row {
  border: 1px solid #eef3f8;
  border-radius: 7px;
  background: #f9fbfd;
  padding: 10px;
  color: #24364c;
  font-size: 13px;
  font-weight: 800;
}

.signup-table-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty.compact {
  margin: 0;
  padding: 12px 14px 14px;
}

.activity-review-list {
  display: grid;
  gap: 8px;
  overflow-x: auto;
}

.activity-review-head,
.activity-review-row {
  display: grid;
  grid-template-columns: minmax(300px, 1.9fr) minmax(150px, 1fr) minmax(170px, 1.05fr) minmax(130px, .8fr) minmax(105px, .65fr) minmax(170px, .8fr);
  gap: 12px;
  align-items: center;
  min-width: 1120px;
}

.activity-review-head {
  border: 1px solid #e8eff6;
  border-radius: 8px;
  background: #f4f8fc;
  padding: 10px 12px;
  color: #687b90;
  font-size: 12px;
  font-weight: 900;
}

.activity-review-item {
  min-width: 1120px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.activity-review-item[draggable="true"] {
  cursor: grab;
}

.activity-review-item.is-dragging {
  opacity: .48;
  border-color: #29a9e1;
  box-shadow: 0 16px 34px rgba(24, 45, 70, .12);
}

.activity-review-row {
  padding: 12px;
}

.review-activity-cell {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.review-thumb {
  display: grid;
  place-items: center;
  width: 76px;
  height: 52px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e9f7ff, #f7fbff);
  color: #7c90a6;
  font-size: 12px;
  font-weight: 900;
  overflow: hidden;
}

.review-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-title-block {
  min-width: 0;
}

.review-title-block strong {
  display: block;
  margin: 6px 0 4px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
}

.review-title-block small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #6d8095;
  line-height: 1.5;
}

.review-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.review-info-cell {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.review-info-cell b {
  color: #203149;
  font-size: 13px;
  line-height: 1.35;
}

.review-info-cell span {
  overflow: hidden;
  color: #6d8095;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-state-cell {
  display: grid;
  justify-items: start;
  gap: 7px;
}

.activity-review-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin: 0;
}

.activity-review-actions label {
  display: grid;
  gap: 4px;
  color: #53677d;
  font-size: 12px;
  font-weight: 900;
}

.activity-review-actions select {
  width: 100%;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #203149;
  padding: 0 9px;
}

.activity-review-actions .btn {
  width: 100%;
  height: 34px;
  justify-content: center;
}

.review-signups {
  border-top: 1px solid var(--line);
}

.hidden-form {
  display: none;
}

.admin-config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-config-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(24, 45, 70, .04);
}

.admin-config-card strong {
  display: block;
  margin-bottom: 8px;
  color: #17263a;
  font-size: 17px;
}

.admin-config-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 30px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  padding: 0 10px;
  white-space: nowrap;
}

.admin-body {
  min-height: 100vh;
  background: #eef3f8;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 58px;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #dfe8f0;
  background: #fff;
  padding: 0 22px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
  color: #182638;
}

.admin-brand img {
  width: 102px;
  height: 30px;
  object-fit: contain;
}

.admin-brand span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.admin-primary {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 24px;
}

.admin-primary a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #45586e;
  font-size: 14px;
  font-weight: 900;
}

.admin-primary a.active,
.admin-primary a:hover {
  color: var(--blue-dark);
}

.admin-primary a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--blue);
}

.admin-userbar {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4f6277;
  font-size: 13px;
  font-weight: 900;
}

.admin-userbar form {
  margin: 0;
}

.admin-userbar button {
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #46596d;
  padding: 0 12px;
  font-weight: 900;
}

.admin-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: calc(100vh - 58px);
}

.admin-sidebar {
  position: sticky;
  top: 58px;
  align-self: start;
  height: calc(100vh - 58px);
  border-right: 1px solid #dfe8f0;
  background: #fff;
  padding: 18px 14px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.admin-sidebar strong {
  display: block;
  padding: 0 10px 10px;
  color: #172235;
}

.admin-sidebar a {
  height: 38px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  color: #53667c;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 900;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.admin-main {
  min-width: 0;
  padding: 24px;
}

.admin-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-page-head h1 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
}

.admin-page-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.admin-metrics span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(24, 45, 70, .04);
  padding: 14px;
  color: #5c6e83;
  font-weight: 900;
}

.admin-metrics b {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 26px;
}

.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 18px;
}

.admin-panel-head {
  margin-bottom: 14px;
}

.admin-panel-head h2 {
  margin: 0;
  color: var(--ink);
}

.admin-panel-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  border: 0;
  background: rgba(10, 22, 35, 0.35);
  padding: 0;
}

.dialog::backdrop {
  background: rgba(10, 22, 35, 0.35);
}

.dialog-card {
  position: relative;
  width: min(420px, calc(100vw - 32px));
  margin: 10vh auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(12, 34, 56, 0.2);
  padding: 24px;
}

.dialog-card.large { width: min(720px, calc(100vw - 32px)); }

.crop-dialog-card {
  width: min(920px, calc(100vw - 32px));
  margin-top: 5vh;
}

.crop-frame {
  --crop-ratio: 8 / 3;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: var(--crop-ratio);
  border: 1px solid #c6d9ea;
  border-radius: 8px;
  background: #edf5fc;
  touch-action: none;
  cursor: grab;
}

.crop-frame:active {
  cursor: grabbing;
}

.crop-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 0 0 999px rgba(4, 20, 35, .08);
  pointer-events: none;
}

.crop-frame img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  user-select: none;
  will-change: transform, width, height;
}

.crop-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

.crop-tools label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #425970;
  font-size: 13px;
  font-weight: 900;
}

.crop-tools input {
  flex: 1;
}

.crop-tools span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.crop-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.static-card {
  margin: 44px auto 60px;
}

.standalone-form {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto 60px;
  position: static;
}

.dialog-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.dialog-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.auth-body {
  min-height: 100vh;
  background: #55c7b0;
  overflow: hidden;
}

.auth-header {
  height: 72px;
  background: #fff;
  display: grid;
  border-bottom: 1px solid rgba(26, 50, 70, .08);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #1c2634;
  font-size: 22px;
  font-weight: 900;
  padding-left: 24px;
}

.auth-brand img {
  width: 118px;
  height: 34px;
  object-fit: contain;
}

.auth-brand span {
  width: 1px;
  height: 28px;
  background: #d5dde6;
}

.auth-main {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: start center;
  padding: 144px 24px 80px;
  background:
    linear-gradient(90deg, rgba(42, 187, 165, .42), rgba(65, 197, 176, .78)),
    #55c7b0;
  isolation: isolate;
}

.auth-main::before,
.auth-main::after,
.auth-bg-shape {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.auth-main::before {
  width: 520px;
  height: 520px;
  right: 18%;
  top: -230px;
  border-radius: 50%;
  border: 88px solid rgba(255, 255, 255, .12);
}

.auth-main::after {
  width: 420px;
  height: 420px;
  left: 23%;
  bottom: -260px;
  border-radius: 50%;
  border: 80px solid rgba(20, 98, 86, .13);
}

.auth-bg-shape.one {
  width: 260px;
  height: 210px;
  left: 13%;
  top: 26%;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
}

.auth-bg-shape.two {
  width: 300px;
  height: 250px;
  right: 18%;
  bottom: 22%;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
}

.auth-card-shell {
  width: min(760px, 100%);
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  background: #fff;
  box-shadow: 0 28px 72px rgba(21, 84, 78, .22);
}

.auth-visual {
  position: relative;
  overflow: hidden;
  background: #8bd9c9;
  padding: 64px 70px;
  color: rgba(26, 71, 70, .6);
}

.auth-visual p {
  margin: 0;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: .06em;
}

.auth-quote {
  position: absolute;
  right: 74px;
  top: 34px;
  color: rgba(255, 255, 255, .2);
  font-size: 92px;
  line-height: 1;
  font-weight: 900;
}

.auth-illustration {
  position: absolute;
  left: 68px;
  bottom: 78px;
  width: 300px;
  height: 170px;
}

.mini-window {
  position: absolute;
  display: block;
  border: 4px solid #374552;
  background: #fffaf0;
  box-shadow: 0 4px 0 rgba(55, 69, 82, .12);
}

.mini-window::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 24px;
  background: #f071aa;
  border-bottom: 4px solid #374552;
}

.mini-window::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 7px;
  width: 26px;
  height: 7px;
  background: repeating-linear-gradient(90deg, #fff 0 6px, transparent 6px 10px);
}

.win-a {
  left: 0;
  top: 10px;
  width: 84px;
  height: 112px;
}

.win-b {
  left: 64px;
  top: 66px;
  width: 120px;
  height: 94px;
}

.win-b::before { background: #ffe055; }

.win-c {
  left: 176px;
  top: 42px;
  width: 108px;
  height: 92px;
}

.win-c::before { background: #76d5cc; }

.rainbow {
  position: absolute;
  left: 68px;
  bottom: 0;
  width: 122px;
  height: 60px;
  border-radius: 120px 120px 0 0;
  background:
    radial-gradient(circle at 50% 100%, #8bd9c9 0 26px, transparent 27px),
    linear-gradient(90deg, #ff6fae 0 20%, #ffe055 20% 40%, #77d37b 40% 60%, #64c5ff 60% 80%, #a78bff 80% 100%);
  border: 4px solid #374552;
  border-bottom: 0;
}

.smile {
  position: absolute;
  right: 26px;
  top: 60px;
  width: 66px;
  height: 66px;
  border: 4px solid #374552;
  border-radius: 50%;
  background: #ffe055;
}

.smile::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 20px;
  width: 30px;
  height: 16px;
  border-bottom: 4px solid #374552;
  border-radius: 0 0 30px 30px;
}

.auth-panel {
  position: relative;
  min-width: 0;
  background: #fff;
  padding: 56px 34px 34px;
}

.register-auth-body {
  overflow: auto;
}

.register-auth-body .auth-main {
  padding-top: 72px;
}

.register-auth-body .auth-panel {
  padding-top: 40px;
}

.profile-auth-body {
  background: #e8d831;
}

.profile-auth-body .auth-main {
  background:
    linear-gradient(90deg, rgba(219, 200, 35, .78), rgba(241, 221, 54, .88)),
    #e8d831;
}

.profile-auth-body .auth-main::before {
  border-color: rgba(255, 255, 255, .16);
}

.profile-auth-body .auth-main::after {
  border-color: rgba(125, 111, 22, .10);
}

.profile-auth-body .auth-bg-shape {
  background: rgba(255, 255, 255, .08);
}

.profile-auth-body .auth-card-shell {
  width: min(850px, 100%);
  min-height: 520px;
  grid-template-columns: 1.36fr 1fr;
  box-shadow: 0 28px 72px rgba(136, 112, 12, .22);
}

.profile-auth-body .auth-visual {
  background: #ffed47;
  color: rgba(68, 67, 34, .62);
}

.profile-auth-body .auth-panel {
  padding-top: 50px;
}

.profile-title {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 10px;
}

.profile-title strong {
  color: #172233;
  font-size: 17px;
}

.profile-title p {
  margin: 0;
  color: #7b8794;
  font-size: 13px;
  line-height: 1.8;
}

.profile-title::after {
  content: "";
  width: 56px;
  height: 2px;
  background: #172233;
}

.profile-skip {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 62px;
  height: 34px;
  border: 1px solid #d6dde5;
  background: #fff;
  color: #7a8795;
  font-size: 13px;
  font-weight: 800;
}

.profile-skip:hover {
  color: #ef4b73;
  border-color: #efb3c8;
}

.auth-flashes {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.auth-flashes .flash {
  margin: 0;
  padding: 9px 10px;
  font-size: 12px;
}

.passport-form {
  display: grid;
  gap: 14px;
}

.passport-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #222f3d;
  font-size: 15px;
}

.passport-tabs strong {
  font-size: 16px;
  font-weight: 900;
}

.passport-phone,
.passport-field {
  height: 38px;
  display: grid;
  border: 1px solid #d9e1e8;
  border-radius: 2px;
  background: #fff;
  overflow: hidden;
}

.passport-phone {
  grid-template-columns: 48px 1fr;
}

.passport-phone span {
  display: grid;
  place-items: center;
  border-right: 1px solid #d9e1e8;
  color: #596b7e;
  font-size: 13px;
  font-weight: 800;
}

.passport-phone input,
.passport-field input,
.passport-field select {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 12px;
  color: #243244;
  font-size: 13px;
  background: #fff;
}

.passport-field select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #9aa7b4 50%) right 18px center / 6px 6px no-repeat,
    linear-gradient(135deg, #9aa7b4 50%, transparent 50%) right 12px center / 6px 6px no-repeat,
    #fff;
}

.passport-phone:focus-within,
.passport-field:focus-within {
  border-color: #74d5c5;
  box-shadow: 0 0 0 3px rgba(87, 199, 177, .15);
}

.passport-code-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 10px;
}

.passport-code-button {
  height: 38px;
  border: 1px solid #f5a4ca;
  border-radius: 2px;
  background: #fff4f9;
  color: #e94f98;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.passport-code-button:hover:not(:disabled) {
  border-color: #ee77ae;
  background: #ffe8f3;
}

.passport-code-button:focus-visible {
  outline: 3px solid rgba(87, 199, 177, .28);
  outline-offset: 2px;
}

.passport-code-button:disabled {
  cursor: not-allowed;
  border-color: #dce3e9;
  background: #f4f6f8;
  color: #8a98a6;
}

.passport-code-help {
  margin: -7px 0 0;
  color: #8a98a6;
  font-size: 11px;
  line-height: 1.5;
}

.passport-submit {
  height: 40px;
  border: 0;
  border-radius: 2px;
  background: #fb70af;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.passport-submit:hover {
  background: #f35c9f;
}

.profile-illustration {
  position: absolute;
  left: 68px;
  bottom: 92px;
  width: 340px;
  height: 198px;
}

.profile-card-shape {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 310px;
  height: 112px;
  background: #fffced;
  border-radius: 34px 0 56px 0;
}

.profile-card-shape::before {
  content: "";
  position: absolute;
  left: 58px;
  top: -22px;
  width: 88px;
  height: 88px;
  background: #9ee7c8;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  border: 4px solid #344353;
}

.profile-scale-beam {
  position: absolute;
  left: 58px;
  top: 54px;
  width: 205px;
  height: 26px;
  border: 5px solid #344353;
  border-radius: 20px;
  background: #9fb6ff;
  transform: rotate(-12deg);
}

.profile-scale-base {
  position: absolute;
  left: 150px;
  bottom: 12px;
  width: 92px;
  height: 110px;
  border-left: 7px solid #344353;
  transform: rotate(-13deg);
}

.profile-scale-base::after {
  content: "";
  position: absolute;
  left: -52px;
  bottom: -14px;
  width: 88px;
  height: 14px;
  border-radius: 20px;
  background: #6cd9cd;
  border: 4px solid #344353;
}

.profile-coin {
  position: absolute;
  left: 118px;
  bottom: 12px;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 5px solid #344353;
  border-radius: 50%;
  background: #ffe452;
  color: #f05aa4;
  font-size: 48px;
  font-weight: 900;
}

.profile-eye {
  position: absolute;
  left: 150px;
  top: 3px;
  width: 62px;
  height: 42px;
  border: 5px solid #344353;
  border-radius: 50% 50% 45% 45%;
  background: #fff;
  transform: rotate(13deg);
}

.profile-eye::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #344353;
}

.profile-star {
  position: absolute;
  right: 14px;
  width: 58px;
  height: 58px;
  background: #fff16a;
  clip-path: polygon(50% 0, 61% 33%, 97% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 3% 35%, 39% 33%);
  border: 4px solid #344353;
}

.profile-star.one {
  top: 12px;
}

.profile-star.two {
  top: 58px;
  right: 8px;
  background: #fb6eb0;
  transform: scale(.88);
}

.passport-forgot,
.passport-switch {
  justify-self: center;
  margin: 0;
  color: #8b98a7;
  font-size: 12px;
}

.passport-forgot {
  margin-top: 2px;
}

.passport-forgot:hover,
.passport-switch a {
  color: #fb4f9e;
  font-weight: 900;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f2f6fb;
  color: #65768b;
  font-size: 20px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  min-width: 220px;
  max-width: calc(100vw - 32px);
  border-radius: 8px;
  background: #102033;
  color: #fff;
  padding: 12px 16px;
  text-align: center;
  box-shadow: 0 18px 42px rgba(16, 32, 51, 0.2);
  transition: .2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast-stack {
  position: fixed;
  top: 78px;
  right: 22px;
  z-index: 1200;
  display: grid;
  gap: 12px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.toast-message {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 12px;
  min-height: 46px;
  padding: 13px 14px 13px 16px;
  border: 1px solid rgba(32, 148, 243, 0.18);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #26384d;
  box-shadow: 0 16px 42px rgba(25, 50, 83, 0.16);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity .22s ease, transform .22s ease;
  backdrop-filter: blur(10px);
}

.toast-message.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.toast-message.is-leaving {
  opacity: 0;
  transform: translateX(18px);
}

.toast-message.success {
  border-left-color: #16b978;
}

.toast-message.warning {
  border-left-color: #f4a21b;
}

.toast-message.error,
.toast-message.critical {
  border-left-color: #f04465;
}

.toast-message.sticky {
  border-color: rgba(240, 68, 101, 0.22);
}

.toast-message span {
  min-width: 0;
  word-break: break-word;
}

.toast-message button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #eef3f8;
  color: #6a7a90;
  font-size: 18px;
  line-height: 24px;
  cursor: pointer;
}

.toast-message button:hover {
  background: #dde8f3;
  color: #1c2d40;
}

.float-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 60;
  transform: translateY(-50%);
  display: grid;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(25, 50, 83, .12);
}

.float-rail-item {
  width: 52px;
  height: 58px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: grid;
  gap: 3px;
  place-items: center;
  color: #7c8998;
  cursor: pointer;
}

.float-rail-item:last-of-type {
  border-bottom: 0;
}

.float-rail-item span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0f3f7;
  color: #98a4b1;
  font-size: 13px;
  font-weight: 900;
}

.float-rail-item b {
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.float-rail-item:hover {
  background: #f8fbff;
  color: var(--blue);
}

.float-rail-item:hover span {
  background: #e7f3ff;
  color: var(--blue);
}

.community-rail-item {
  position: relative;
}

.community-popover {
  position: absolute;
  right: 64px;
  top: 0;
  width: 186px;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(25, 50, 83, .18);
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity .18s ease, transform .18s ease;
}

.community-rail-item:hover .community-popover,
.community-rail-item.is-community-open .community-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.community-popover strong {
  color: #1d2e43;
  font-size: 14px;
}

.community-popover img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  border-radius: 6px;
  background: #f5f8fb;
}

.community-popover p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
}

.feedback-modal.is-open {
  display: flex;
}

.feedback-mask {
  position: absolute;
  inset: 0;
  background: rgba(16, 28, 44, .45);
}

.feedback-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 28px));
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(9, 24, 44, .24);
}

.feedback-head {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.feedback-head h2 {
  margin: 0;
  color: #1f2e42;
  font-size: 18px;
}

.feedback-head button {
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.feedback-form {
  display: grid;
  gap: 18px;
  padding: 26px 24px 18px;
}

.feedback-form textarea {
  min-height: 78px;
}

.feedback-form p {
  margin: 0;
  color: #5f7084;
  font-size: 13px;
}

.feedback-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 4px -24px -18px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: #fafbfc;
}

.float-setting-preview {
  display: inline-grid;
  justify-items: center;
  gap: 8px;
  width: 160px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.float-setting-preview img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.float-setting-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.feedback-admin-list {
  display: grid;
  gap: 12px;
}

.feedback-admin-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.feedback-admin-item strong {
  color: #1f2e42;
}

.feedback-admin-item p {
  margin: 8px 0;
  color: #40536a;
  line-height: 1.7;
  white-space: pre-wrap;
}

.feedback-admin-item small {
  color: var(--muted);
}

.feedback-admin-item form {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.feedback-admin-item select {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0 8px;
}

.flash-stack {
  display: grid;
  gap: 10px;
  padding-top: 16px;
}

.flash {
  border-radius: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: #43566d;
  font-weight: 800;
}

.flash.success {
  border-color: #bcebd9;
  background: #f0fbf6;
  color: #17694f;
}

.flash.error {
  border-color: #ffd2db;
  background: #fff4f6;
  color: #9b2440;
}

.flash.warning {
  border-color: #ffe0ad;
  background: #fff8ed;
  color: #865000;
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 28px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #52667d;
  font-weight: 900;
}

.empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.member-page {
  background: #f5f8fb;
}

.member-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(21, 151, 255, .12), rgba(70, 199, 232, .08)),
    #fff;
}

.member-hero-inner {
  min-height: 180px;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 22px;
}

.member-avatar-large {
  width: 92px;
  height: 92px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #1597ff, #13a77a);
  color: #fff;
  box-shadow: 0 18px 40px rgba(24, 45, 70, .12);
  font-size: 34px;
  font-weight: 900;
}

.member-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-hero h1 {
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: 900;
}

.member-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.member-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 112px);
  gap: 10px;
}

.member-hero-stats > span,
.member-hero-stats > a {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  text-align: center;
}

.member-hero-stats b {
  color: var(--blue-dark);
  font-size: 20px;
}

.member-hero-stats small {
  color: var(--muted);
  font-size: 12px;
}

.member-shell {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  padding-top: 28px;
}

.member-side {
  position: sticky;
  top: 76px;
  align-self: start;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.member-side a {
  border-radius: 7px;
  color: #405268;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 900;
}

.member-side a:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.member-side a.active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 18px rgba(21, 151, 255, .18);
}

.member-main {
  display: grid;
  gap: 18px;
}

.member-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(24, 45, 70, .05);
  padding: 22px;
}

.member-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.member-card-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

.member-card-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.member-profile-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.avatar-upload-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 14px;
}

.avatar-preview {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #1597ff, #48d1cc);
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}

.avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-upload-box {
  display: grid;
  gap: 6px;
  cursor: pointer;
  color: #203149;
}

.avatar-upload-box input {
  width: 1px;
  height: 1px;
  opacity: 0;
  position: absolute;
}

.avatar-upload-box strong {
  font-size: 15px;
}

.avatar-upload-box small {
  color: var(--muted);
}

.avatar-upload-box small.error,
.form-note.error {
  color: #e5385f;
}

.member-profile-form .btn {
  width: 160px;
}

.member-two-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.member-two-cols h3 {
  margin: 0 0 12px;
  color: #203149;
  font-size: 17px;
}

.member-posts-page {
  display: grid;
  gap: 18px;
}

.member-posts-head {
  align-items: flex-start;
}

.member-post-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.member-post-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.member-post-tabs a,
.member-post-tabs button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  color: #203149;
  padding: 12px 14px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.member-post-tabs a:hover {
  border-color: rgba(32, 148, 243, 0.38);
  background: #eef7ff;
}

.member-post-tabs strong {
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}

.member-post-tabs span {
  color: #5f7084;
  font-size: 13px;
}

.member-post-tabs button {
  cursor: not-allowed;
  opacity: .58;
}

.member-post-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.member-post-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #f9fbfe;
}

.member-post-section-head h3 {
  margin: 0;
  color: #203149;
  font-size: 18px;
}

.member-post-section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.member-post-list {
  display: grid;
}

.member-post-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px auto;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.member-post-row:last-child {
  border-bottom: 0;
}

.member-post-main {
  min-width: 0;
}

.member-post-main strong {
  display: block;
  color: #203149;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-post-main span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.member-post-meta {
  display: grid;
  gap: 6px;
  justify-content: flex-start;
}

.member-post-meta small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 28px;
  border-radius: 99px;
  background: #fff7e8;
  color: #b36b00;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.status-pill.approved {
  background: #ebfff6;
  color: #12855a;
}

.status-pill.pending {
  background: #fff7e8;
  color: #b36b00;
}

.status-pill.draft {
  background: #eef3f8;
  color: #607086;
}

.member-post-empty {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 22px 18px;
  color: var(--muted);
}

.member-post-empty strong {
  color: #203149;
  font-size: 15px;
}

.member-post-empty p {
  margin: 0 0 4px;
  line-height: 1.7;
}

.member-signup-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.member-signup-head h1 {
  margin: 8px 0 8px;
  color: #142238;
  font-size: 28px;
  line-height: 1.25;
}

.member-signup-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.back-link {
  color: var(--blue);
  font-weight: 900;
}

.signup-list-card {
  padding: 10px 30px;
  overflow: hidden;
}

.signup-table-wrap {
  overflow-x: auto;
}

.signup-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1080px;
}

.signup-table th,
.signup-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: #2d3d51;
  font-size: 13px;
  vertical-align: middle;
}

.signup-table th {
  background: #f8fbff;
  color: #637489;
  font-weight: 900;
}

.signup-table tr:last-child td {
  border-bottom: 0;
}

.signup-table strong,
.signup-table small {
  display: block;
}

.signup-table strong {
  color: #142238;
  font-size: 14px;
}

.signup-table small {
  margin-top: 4px;
  color: var(--muted);
}

.member-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
}

.member-mini-row:first-of-type {
  padding-top: 0;
}

.member-mini-row strong {
  color: #203149;
  font-size: 14px;
}

.member-mini-row span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.member-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.member-row-actions .btn {
  min-width: 58px;
  padding: 8px 12px;
}

.member-ledger {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.member-ledger h3 {
  margin: 0 0 12px;
  color: #203149;
  font-size: 17px;
}

.ledger-row b {
  color: #ef4b73;
  white-space: nowrap;
}

.member-message-list {
  display: grid;
  margin-top: 8px;
}

.member-message {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  min-height: 72px;
  padding: 13px 5px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background .18s ease, transform .18s ease;
}

.member-message.unread {
  background: linear-gradient(90deg, #f4f9ff, #fff 62%);
}

.member-message:hover {
  background: #f7fbff;
  transform: translateX(2px);
}

.member-message > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d1d9e3;
}

.member-message.unread > i {
  background: #168ef2;
  box-shadow: 0 0 0 4px #e8f4ff;
}

.member-message > div {
  min-width: 0;
}

.member-message strong,
.member-message p {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.member-message strong {
  margin-bottom: 4px;
  color: #1b2a3d;
  font-size: 14px;
}

.member-message p {
  margin: 0;
  color: #5d7086;
  font-size: 12px;
  line-height: 1.5;
}

.member-message time {
  color: #98a5b4;
  font-size: 12px;
  white-space: nowrap;
}

.member-message-center-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.member-message-center-head form {
  flex: 0 0 auto;
}

.member-message-center-head button:disabled {
  cursor: default;
  opacity: .48;
}

.member-message-pagination {
  margin-top: 22px;
}

.member-message-page-count {
  align-self: center;
  color: #8493a5;
  font-size: 13px;
}

.detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.detail-main {
  padding: 24px;
  border-radius: 8px;
}

.detail-main h2 {
  margin: 0 0 12px;
  font-size: 26px;
  color: #17263a;
}

.detail-main h3 {
  margin: 24px 0 10px;
  font-size: 18px;
  color: #203149;
}

.detail-main p {
  color: #53677d;
  line-height: 1.8;
}

.detail-cover {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
}

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

.detail-grid span {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
  color: #53677d;
  line-height: 1.5;
}

.detail-grid b {
  color: #203149;
  font-size: 13px;
}

.preline {
  white-space: pre-line;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.message-detail-card {
  max-width: 760px;
}

.message-state {
  display: inline-grid;
  place-items: center;
  min-width: 56px;
  height: 28px;
  margin-bottom: 14px;
  border-radius: 99px;
  background: #edf4fa;
  color: #58708a;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .admin-topbar {
    height: auto;
    grid-template-columns: 1fr;
    padding: 12px 16px;
  }

  .admin-primary {
    height: auto;
    flex-wrap: wrap;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #dfe8f0;
    display: flex;
    flex-wrap: wrap;
  }

  .admin-sidebar strong {
    width: 100%;
  }

  .admin-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .activity-slot-grid,
  .activity-admin-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signup-table-head,
  .signup-table-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-filter-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-filter-form .wide,
  .admin-filter-actions {
    grid-column: 1 / -1;
  }

  .auth-main {
    padding-top: 96px;
  }

  .auth-card-shell {
    width: min(720px, 100%);
  }

  .profile-auth-body .auth-card-shell {
    width: min(760px, 100%);
  }

  .media-upload-grid,
  .time-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar-inner {
    width: min(100% - 28px, 1180px);
    height: auto;
    min-height: 62px;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 0;
  }

  .nav,
  .top-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .message-popover {
    right: auto;
    left: 0;
  }

  .user-popover {
    right: 0;
  }

  .member-hero-inner {
    grid-template-columns: 76px 1fr;
  }

  .member-avatar-large {
    width: 76px;
    height: 76px;
    font-size: 28px;
  }

  .member-hero-stats {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
  }

  .member-shell {
    grid-template-columns: 1fr;
  }

  .member-side {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .publish-layout,
  .activity-detail-shell {
    grid-template-columns: 1fr;
  }

  .publish-guide,
  .activity-detail-side {
    position: static;
  }

  .mosaic-grid {
    height: auto;
    grid-template-columns: repeat(2, 1fr);
  }

  .mosaic-card { min-height: 220px; }
  .mosaic-feature { min-height: 300px; }

  .shortcut-inner {
    grid-template-columns: repeat(3, 1fr);
    padding: 12px 0;
  }

  .scheme-grid,
  .content-grid,
  .talent-grid,
  .scheme-grid.narrow {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-columns,
  .split-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .form-panel,
  .admin-menu {
    position: static;
  }

  .float-rail { display: none; }
}

@media (max-width: 720px) {
  .admin-main {
    padding: 16px;
  }

  .admin-page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-metrics {
    grid-template-columns: 1fr;
  }

  .admin-panel-head.split {
    align-items: flex-start;
    flex-direction: column;
  }

  .activity-slot-grid,
  .admin-filter-form,
  .activity-admin-main,
  .activity-admin-fields {
    grid-template-columns: 1fr;
  }

  .activity-admin-cover {
    max-width: 260px;
  }

  .signup-table-head {
    display: none;
  }

  .signup-table-row {
    grid-template-columns: 1fr;
  }

  .signup-table-row span {
    white-space: normal;
  }

  .admin-filter-actions {
    flex-wrap: wrap;
  }

  .admin-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-body {
    overflow: auto;
  }

  .auth-header {
    height: 64px;
  }

  .auth-brand {
    gap: 12px;
    font-size: 18px;
  }

  .auth-brand img {
    width: 104px;
  }

  .auth-main {
    min-height: calc(100vh - 64px);
    padding: 24px 14px 40px;
    place-items: start center;
  }

  .media-upload-grid,
  .time-fields {
    grid-template-columns: 1fr;
  }

  .crop-dialog-card {
    margin-top: 24px;
    padding: 16px;
  }

  .crop-tools,
  .crop-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-card-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .auth-visual {
    min-height: 168px;
    padding: 26px 28px;
  }

  .auth-visual p {
    font-size: 14px;
  }

  .auth-quote {
    right: 28px;
    top: 10px;
    font-size: 62px;
  }

  .auth-illustration {
    left: auto;
    right: 16px;
    bottom: 20px;
    transform: scale(.56);
    transform-origin: right bottom;
  }

  .auth-panel {
    padding: 30px 22px 26px;
  }

  .register-auth-body .auth-panel {
    padding-top: 30px;
  }

  .passport-code-group {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 8px;
  }

  .profile-auth-body .auth-panel {
    padding-top: 48px;
  }

  .profile-illustration {
    left: auto;
    right: 14px;
    bottom: 8px;
    transform: scale(.48);
    transform-origin: right bottom;
  }

  .profile-title p {
    font-size: 12px;
  }

  .container { width: min(100% - 22px, 1180px); }
  .brand { align-items: flex-start; flex-direction: column; gap: 2px; }
  .brand img { width: 104px; }
  .brand strong { font-size: 15px; }
  .brand em { font-size: 12px; }
  .nav { gap: 14px; overflow-x: auto; justify-content: flex-start; }
  .top-actions { gap: 6px; }
  .header-user {
    max-width: 120px;
  }

  .message-popover {
    width: min(320px, calc(100vw - 28px));
  }

  .user-popover {
    right: -8px;
    width: min(330px, calc(100vw - 24px));
  }

  .member-hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 26px 0;
  }

  .member-hero h1 {
    font-size: 28px;
  }

  .member-hero-stats {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .member-card {
    padding: 16px;
  }

  .member-card-head,
  .member-two-cols {
    grid-template-columns: 1fr;
    display: grid;
  }

  .member-posts-head,
  .member-post-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .member-post-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .member-post-tabs {
    grid-template-columns: 1fr;
  }

  .member-post-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .member-post-meta {
    justify-content: flex-start;
  }

  .member-signup-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .member-profile-form {
    grid-template-columns: 1fr;
  }

  .member-message { grid-template-columns: 10px minmax(0, 1fr); }
  .member-message time { grid-column: 2; }

  .publish-activity-form,
  .cover-upload-panel {
    grid-template-columns: 1fr;
  }

  .activity-detail-title h1 {
    font-size: 28px;
  }

  .ai-button, .btn, .icon-button { height: 32px; padding: 0 10px; }
  .icon-button { width: 32px; }

  .mosaic-grid {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .mosaic-card,
  .mosaic-feature {
    min-height: 190px;
  }

  .mosaic-feature figcaption strong {
    font-size: 28px;
  }

  .shortcut-inner,
  .module-grid,
  .scheme-grid,
  .content-grid,
  .talent-grid,
  .scheme-grid.narrow,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .shortcut-inner {
    gap: 4px;
  }

  .idea-band { padding: 22px 11px; }
  .idea-box {
    height: auto;
    min-height: 54px;
    grid-template-columns: 42px 1fr 38px;
  }

  .section { padding-top: 28px; }
  .section-title { display: block; }
  .route-head { padding: 34px 0 20px; }
  .route-head h1 { font-size: 32px; }
  .section-title h2 { font-size: 24px; }

  .card-cover { height: 138px; }
  .activity-toolbar { align-items: flex-start; flex-direction: column; }
  .pagination { flex-wrap: wrap; }
  .mini-row { grid-template-columns: 1fr; }
  .mini-row small { grid-column: 1; }
  .card-actions { flex-direction: column; }
  .footer-grid { display: grid; }
  .footer-links { flex-wrap: wrap; }
  .admin-row { align-items: flex-start; flex-direction: column; }
}

/* Resource-style homepage */
.home-shell {
  background: #fff;
  padding-bottom: 64px;
}

.booth-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.booth-carousel {
  position: relative;
  margin: 0 auto;
  height: 180px;
  --booth-gap: 3px;
  --booth-visible-count: 6;
  --booth-gap-total: 15px;
}

.booth-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  height: 100%;
}

.booth-scroll::-webkit-scrollbar {
  display: none;
}

.booth-grid {
  display: flex;
  gap: var(--booth-gap);
  height: 100%;
  padding: 0;
  margin: 0;
}

.booth-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
  width: calc((100% - var(--booth-gap-total)) / var(--booth-visible-count));
  min-width: 0;
  padding: 14px;
  background-size: cover;
  background-position: center;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}

.booth-prev,
.booth-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: #152238;
  box-shadow: 0 10px 26px rgba(17, 35, 55, .18);
  backdrop-filter: blur(10px);
  z-index: 10;
  cursor: pointer;
  transition: background .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}

.booth-prev:hover,
.booth-next:hover {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 14px 34px rgba(17, 35, 55, .24);
  transform: translateY(-50%) scale(1.06);
}

.booth-prev:active,
.booth-next:active {
  transform: translateY(-50%) scale(.96);
}

.booth-prev {
  left: 18px;
}

.booth-next {
  right: 18px;
}

.booth-prev::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: translateX(2px) rotate(45deg);
}

.booth-next::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto;
  border-right: 3px solid currentColor;
  border-top: 3px solid currentColor;
  transform: translateX(-2px) rotate(45deg);
}

.booth-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(5, 20, 36, .58));
}

.booth-card span {
  position: relative;
  z-index: 1;
  line-height: 1.15;
}

.notice-strip {
  background: #fff;
  border-bottom: 1px solid #f1f4f7;
}

.notice-inner {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #47566a;
  font-size: 14px;
}

.notice-inner span {
  border-radius: 999px;
  background: #28be64;
  color: #fff;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 900;
}

.notice-inner b {
  color: #1f2e42;
}

.notice-inner p {
  margin: 0;
  color: #66758a;
}

.site-search-band {
  padding: 30px 16px;
  background: linear-gradient(90deg, #f4faff, #fff5fb);
}

.site-search {
  width: min(920px, 100%);
  height: 58px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 118px;
  border: 2px solid #a7d9ff;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(21, 151, 255, .12);
}

.site-search input {
  min-width: 0;
  border: 0;
  outline: none;
  padding: 0 22px;
  color: var(--ink);
  font-size: 15px;
}

.site-search button {
  border: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
}

.resource-section {
  padding-top: 46px;
}

.resource-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 16px;
}

.resource-title h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  color: #172235;
}

.resource-title h2 span {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  border-radius: 4px;
  background: #ff3f70;
  color: #fff;
  padding: 2px 6px;
  font-size: 12px;
  vertical-align: middle;
}

.resource-title a {
  color: #3f4d60;
  font-size: 13px;
  font-weight: 900;
}


.color-cover,
.color-hero {
  position: relative;
  overflow: hidden;
  background-image: none;
}

.color-cover {
  display: grid;
  place-items: center;
  color: #1f344a;
}

.color-cover span,
.color-cover em {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #24394f;
  padding: 6px 12px;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.color-hero {
  background-image: none;
}

.color-avatar {
  display: grid;
  place-items: center;
  background-image: none;
  color: #fff;
  font-weight: 900;
}

.color-slot-1 { background-color: #eaf7ff; }
.color-slot-2 { background-color: #dff5f7; }
.color-slot-3 { background-color: #edf2ff; }
.color-slot-4 { background-color: #e9f8ef; }
.color-slot-5 { background-color: #fff3df; }
.color-slot-6 { background-color: #f4ecff; }
.color-slot-7 { background-color: #e8f1f8; }
.color-slot-8 { background-color: #f7eef3; }

.color-hero {
  border: 1px solid var(--line);
  color: #1d3046;
}

.color-hero span {
  background: rgba(255, 255, 255, .72);
  color: #27415b;
}


.color-avatar.color-slot-1 { background-color: #1597ff; }
.color-avatar.color-slot-2 { background-color: #13a7a8; }
.color-avatar.color-slot-3 { background-color: #5777e7; }
.color-avatar.color-slot-4 { background-color: #13a77a; }
.color-avatar.color-slot-5 { background-color: #f59a23; }
.color-avatar.color-slot-6 { background-color: #8e64d8; }
.color-avatar.color-slot-7 { background-color: #4f6f8c; }
.color-avatar.color-slot-8 { background-color: #d85f88; }

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

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .avatar-upload-row,
  .member-mini-row,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .member-row-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.footer {
  border-top: 0;
  background: #2b3033;
  color: #dbe2e8;
  padding: 46px 0 32px;
}

.footer p,
.footer-links {
  color: #aab4be;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 1180px) {
  .activity-page .container {
    width: min(100% - 32px, 980px);
  }

  .activity-list-bar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0;
  }

  .activity-content-tabs {
    justify-content: center;
  }

  .activity-publish-btn {
    justify-self: center;
  }

  .booth-card {
    min-height: 120px;
  }

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

@media (max-width: 720px) {
  .activity-page .container {
    width: min(100% - 24px, 520px);
  }

  .activity-content-tabs {
    gap: 16px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .activity-search-form {
    grid-template-columns: 1fr 66px;
  }

  .activity-publish-btn {
    width: 100%;
  }

  .booth-carousel {
    height: 128px;
  }

  .booth-card {
    font-size: 19px;
  }

  .booth-prev,
  .booth-next {
    display: none;
  }

  .notice-inner {
    display: grid;
    gap: 6px;
    padding: 12px 0;
  }

  .site-search {
    grid-template-columns: 1fr;
    height: auto;
  }

  .site-search input {
    min-height: 48px;
  }

  .site-search button {
    min-height: 42px;
  }

  .resource-title {
    align-items: flex-start;
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .demand-layout {
    grid-template-columns: 1fr;
  }

  .demand-sidebar {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .demand-hero {
    height: 112px;
  }

  .demand-search-inner,
  .demand-filter-inner,
  .demand-detail-head-inner {
    display: grid;
  }

  .demand-search-form {
    width: 100%;
  }

  .demand-publish-link {
    width: 100%;
  }

  .demand-selects {
    gap: 10px;
  }

  .demand-modal {
    align-items: flex-end;
    padding: 0;
  }

  .demand-modal-card {
    width: 100%;
    max-height: 92vh;
    border-radius: 14px 14px 0 0;
  }

  .demand-modal-head,
  .demand-publish-form {
    padding-left: 18px;
    padding-right: 18px;
  }

  .demand-form-grid {
    grid-template-columns: 1fr;
  }

  .demand-modal-actions {
    display: grid;
  }

  .demand-image-preview,
  .demand-attachment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-lightbox {
    padding: 54px 14px 78px;
  }

  .image-lightbox-stage img {
    max-height: calc(100vh - 170px);
  }

  .image-lightbox-close {
    top: 14px;
    right: 14px;
  }

  .image-lightbox-prev,
  .image-lightbox-next {
    top: auto;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }

  .image-lightbox-prev {
    left: calc(50% - 58px);
  }

  .image-lightbox-next {
    right: calc(50% - 58px);
  }

  .demand-select {
    min-width: calc(50% - 5px);
  }

  .demand-list-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .demand-list-side {
    justify-items: start;
  }

  .demand-detail-cta {
    display: grid;
    gap: 14px;
  }

  .demand-detail-card {
    padding: 24px 20px;
  }

  .demand-detail-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Admin workspace refresh */
.admin-body {
  background: #f4f7fb;
  color: #172235;
}

.admin-topbar {
  grid-template-columns: 248px 1fr auto;
  height: 64px;
  border-bottom: 1px solid #e4ebf3;
  box-shadow: 0 8px 24px rgba(20, 43, 70, .05);
}

.admin-primary {
  gap: 8px;
}

.admin-primary a {
  border-radius: 8px;
  padding: 0 16px;
}

.admin-primary a.active,
.admin-primary a:hover {
  background: #e9f4ff;
}

.admin-primary a.active::after {
  display: none;
}

.admin-shell {
  grid-template-columns: 282px minmax(0, 1fr);
  min-height: calc(100vh - 64px);
}

.admin-sidebar {
  top: 64px;
  height: calc(100vh - 64px);
  padding: 18px;
  gap: 10px;
}

.admin-sidebar strong {
  padding: 8px 10px 12px;
  font-size: 15px;
}

.admin-sidebar a {
  height: auto;
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 13px 14px;
  border: 1px solid transparent;
}

.admin-sidebar a span {
  color: inherit;
}

.admin-sidebar a small {
  display: block;
  color: #7b8ca1;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
  border-color: #cfe4f8;
  background: #eef7ff;
  color: #1568b7;
}

.admin-main {
  padding: 28px;
}

.admin-eyebrow {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e9f4ff;
  color: #1568b7;
  font-size: 12px;
  font-weight: 900;
}

.admin-page-head {
  align-items: center;
  padding: 22px 24px;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(24, 45, 70, .06);
}

.admin-page-head h1 {
  margin-top: 10px;
  font-size: 26px;
}

.ops-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.ops-metrics span,
.ops-panel {
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(24, 45, 70, .06);
}

.ops-metrics span {
  padding: 18px;
  color: #65778b;
  font-size: 13px;
  font-weight: 900;
}

.ops-metrics b {
  display: block;
  margin-bottom: 8px;
  color: #132235;
  font-size: 28px;
}

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

.ops-board {
  grid-template-columns: 1fr;
}

.ops-panel {
  padding: 20px;
  margin-bottom: 18px;
}

.ops-panel-head {
  margin-bottom: 16px;
}

.ops-panel-head.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.ops-panel-head h2 {
  margin: 0;
  color: #132235;
  font-size: 18px;
}

.ops-panel-head p {
  margin: 7px 0 0;
  color: #718295;
  line-height: 1.7;
}

.ops-list {
  display: grid;
  gap: 12px;
}

.ops-list.compact {
  max-height: 560px;
  overflow: auto;
  padding-right: 4px;
}

.ops-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-width: 0;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfdff;
  padding: 14px;
}

.ops-item strong,
.ops-table-row b {
  display: block;
  color: #162438;
}

.ops-item p,
.ops-table-row small {
  display: block;
  margin: 6px 0 0;
  color: #728397;
  line-height: 1.55;
}

.ops-actions,
.ops-inline-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
}

.ops-inline-form select,
.admin-filter-form select,
.admin-filter-form input {
  height: 36px;
  border: 1px solid #d8e2ec;
  border-radius: 6px;
  background: #fff;
  padding: 0 10px;
  color: #27384b;
}

.admin-filter-form {
  display: grid;
  grid-template-columns: 150px 150px 150px 1fr auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfdff;
}

.admin-filter-form label {
  display: grid;
  gap: 6px;
  color: #607287;
  font-size: 12px;
  font-weight: 900;
}

.admin-filter-actions {
  display: flex;
  gap: 8px;
}

.ops-slot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.ops-slot {
  min-height: 128px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  border: 1px dashed #cdd9e6;
  border-radius: 8px;
  background: #f8fbff;
  padding: 14px;
}

.ops-slot.filled {
  border-style: solid;
  border-color: #9bcaf2;
  background: #eef8ff;
}

.ops-slot span {
  color: #1568b7;
  font-size: 12px;
  font-weight: 900;
}

.ops-slot strong {
  color: #152539;
  line-height: 1.45;
}

.ops-slot small {
  color: #6f8094;
}

.ops-slot form {
  margin: 0;
}

.ops-slot button {
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #1568b7;
  font-weight: 900;
  cursor: pointer;
}

.ops-table {
  display: grid;
  gap: 10px;
}

.ops-table-head,
.ops-table-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(160px, 1fr) minmax(130px, .8fr) minmax(130px, .8fr) minmax(260px, 1.2fr);
  gap: 14px;
  align-items: center;
}

.pages-admin-table .ops-table-head,
.pages-admin-table .ops-table-row {
  grid-template-columns: minmax(180px, 1fr) minmax(120px, .7fr) minmax(280px, 1.4fr) minmax(120px, .6fr);
}

.users-admin-table .ops-table-head,
.users-admin-table .ops-table-row,
.users-asset-table .ops-table-head,
.users-asset-table .ops-table-row,
.assets-admin-table .ops-table-head,
.assets-admin-table .ops-table-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.users-asset-table .ops-table-head,
.users-asset-table .ops-table-row {
  grid-template-columns: minmax(240px, 1.3fr) minmax(170px, .8fr) minmax(180px, .9fr) 128px;
}

.ops-row-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.asset-dialog-card {
  width: min(620px, calc(100vw - 32px));
}

.asset-current-box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.asset-current-box span {
  display: grid;
  gap: 6px;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
  color: #708195;
  font-size: 12px;
  font-weight: 900;
}

.asset-current-box strong {
  color: #172235;
  font-size: 18px;
}

.asset-dialog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.asset-dialog-grid .wide {
  grid-column: 1 / -1;
}

.asset-dialog-grid textarea {
  min-height: 92px;
  resize: vertical;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.ops-table-head {
  padding: 0 14px;
  color: #75879b;
  font-size: 12px;
  font-weight: 900;
}

.ops-table-row {
  min-height: 78px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfdff;
  padding: 14px;
}

.ops-steps {
  margin: 0;
  padding-left: 22px;
  color: #516276;
  line-height: 2;
}

.empty {
  margin: 0;
  border: 1px dashed #ccd8e5;
  border-radius: 8px;
  background: #f8fbff;
  padding: 18px;
  color: #75879b;
  text-align: center;
}

@media (max-width: 1200px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-sidebar strong {
    grid-column: 1 / -1;
  }

  .ops-metrics,
  .ops-slot-grid,
  .ops-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-filter-form,
  .ops-table-head,
  .ops-table-row,
  .pages-admin-table .ops-table-head,
  .pages-admin-table .ops-table-row,
  .users-admin-table .ops-table-head,
  .users-admin-table .ops-table-row,
  .users-asset-table .ops-table-head,
  .users-asset-table .ops-table-row,
  .assets-admin-table .ops-table-head,
  .assets-admin-table .ops-table-row {
    grid-template-columns: 1fr;
  }

  .asset-current-box,
  .asset-dialog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-topbar {
    grid-template-columns: 1fr;
    height: auto;
    padding: 12px;
  }

  .admin-primary,
  .admin-userbar,
  .ops-panel-head.split,
  .ops-item,
  .ops-actions,
  .ops-inline-form {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .admin-sidebar,
  .ops-metrics,
  .ops-slot-grid,
  .ops-grid.two {
    grid-template-columns: 1fr;
  }

  .field-inline-action {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-main {
    padding: 16px;
  }
}

/* Talent page refresh */
.talents-page {
  background: #f5f8fb;
  padding-bottom: 54px;
}

.talent-hero {
  border-bottom: 1px solid #e4edf5;
  background:
    linear-gradient(120deg, rgba(21, 151, 255, .12), rgba(255, 255, 255, .86) 48%, rgba(19, 167, 168, .12)),
    #fff;
}

.talent-hero-inner {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.talent-hero h1 {
  margin: 10px 0 10px;
  color: #142238;
  font-size: 42px;
  letter-spacing: 0;
}

.talent-hero p {
  max-width: 760px;
  margin: 0;
  color: #5f7185;
  font-size: 16px;
  line-height: 1.8;
}

.talent-join-button {
  min-width: 128px;
  height: 44px;
}

.talent-toolbar {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 380px);
  gap: 16px;
  align-items: center;
  margin-top: 22px;
  border: 1px solid #e2ebf4;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 12px 28px rgba(24, 45, 70, .05);
}

.talent-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.talent-tabs a {
  height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #edf2f7;
  border-radius: 999px;
  background: #f8fbfe;
  color: #4e6075;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 900;
}

.talent-tabs a.active,
.talent-tabs a:hover {
  border-color: #bfe4ff;
  background: #eaf7ff;
  color: #1568b7;
}

.talent-search {
  display: grid;
  grid-template-columns: 1fr 74px;
  border: 1px solid #d8e4ef;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.talent-search input,
.talent-search button {
  height: 40px;
  border: 0;
}

.talent-search input {
  padding: 0 13px;
  color: #24384d;
}

.talent-search button {
  background: #172235;
  color: #fff;
  font-weight: 900;
}

.talent-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.talent-summary span {
  border: 1px solid #e2ebf4;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  color: #687a8f;
  font-size: 13px;
  font-weight: 900;
}

.talent-summary strong {
  display: block;
  margin-bottom: 6px;
  color: #152539;
  font-size: 26px;
}

.talent-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-top: 20px;
}

/* 连续二维码扫码签到 */
.checkin-scanner-page .checkin-shell{max-width:820px}.camera-checkin-card{padding:22px;margin-bottom:16px;border-radius:18px}.camera-card-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}.camera-card-head h2{margin:7px 0 5px;font-size:24px}.camera-card-head p{max-width:590px;margin:0;color:#6b7c90;line-height:1.65}.camera-mode-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eaf5ff;color:#0572da;font-size:12px;font-weight:700}.camera-status{flex:none;padding:7px 11px;border-radius:999px;background:#f1f4f7;color:#65758a;font-size:12px;font-weight:700}.checkin-scanner-page[data-camera-state="scanning"] .camera-status{background:#e7f8f0;color:#087851}.checkin-scanner-page[data-camera-state="requesting"] .camera-status{background:#fff6df;color:#976200}.checkin-scanner-page[data-camera-state="error"] .camera-status,.checkin-scanner-page[data-camera-state="warning"] .camera-status{background:#fff0f0;color:#ae3434}.checkin-scanner-page[data-camera-state="success"] .camera-status{background:#e8f8ef;color:#087851}
.camera-viewport{position:relative;display:grid;place-items:center;min-height:430px;overflow:hidden;border-radius:16px;background:linear-gradient(145deg,#071522,#102c42);isolation:isolate}.camera-viewport video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .2s ease}.camera-viewport.is-active video{opacity:1}.camera-placeholder{display:grid;place-items:center;gap:9px;text-align:center;color:#d9e8f4}.camera-placeholder b{display:grid;place-items:center;width:70px;height:70px;border:2px solid #3f6683;border-radius:20px;font-size:42px;color:#6cc2ff}.camera-placeholder strong{font-size:18px}.camera-placeholder span{font-size:13px;color:#91a9bb}.scanner-frame{position:relative;width:min(68vw,290px);aspect-ratio:1;z-index:2}.scanner-frame i{position:absolute;width:42px;height:42px;border-color:#4cdd9c;border-style:solid}.scanner-frame i:nth-child(1){left:0;top:0;border-width:4px 0 0 4px;border-radius:10px 0 0}.scanner-frame i:nth-child(2){right:0;top:0;border-width:4px 4px 0 0;border-radius:0 10px 0 0}.scanner-frame i:nth-child(3){right:0;bottom:0;border-width:0 4px 4px 0;border-radius:0 0 10px}.scanner-frame i:nth-child(4){left:0;bottom:0;border-width:0 0 4px 4px;border-radius:0 0 0 10px}.scanner-frame span{position:absolute;left:8px;right:8px;top:10px;height:2px;background:linear-gradient(90deg,transparent,#64f3b0,transparent);box-shadow:0 0 12px #40da93;animation:checkin-scan-line 2s ease-in-out infinite}.camera-viewport.is-active::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at center,transparent 0 32%,rgba(0,12,22,.38) 65%);z-index:1;pointer-events:none}@keyframes checkin-scan-line{0%,100%{transform:translateY(0);opacity:.55}50%{transform:translateY(255px);opacity:1}}
.camera-actions{display:flex;gap:10px;margin-top:16px}.camera-actions [hidden]{display:none!important}.camera-start-button{min-height:50px;flex:1;font-size:17px}.camera-help{margin:11px 0 0;color:#74859a;font-size:13px;text-align:center}.manual-checkin-card{padding:0;overflow:hidden;border-radius:16px}.manual-checkin-card summary{cursor:pointer;list-style:none;padding:18px 21px}.manual-checkin-card summary::-webkit-details-marker{display:none}.manual-checkin-card summary span{display:grid;gap:4px;position:relative;padding-right:30px}.manual-checkin-card summary span::after{content:"+";position:absolute;right:0;top:3px;font-size:24px;color:#2687df}.manual-checkin-card[open] summary span::after{content:"−"}.manual-checkin-card summary small{color:#78899b}.manual-checkin-card .checkin-form{padding:0 21px 21px;margin-top:0;border-top:1px solid #e4edf5;padding-top:18px}
.scan-result-dialog{width:min(440px,calc(100vw - 32px));padding:27px;border:0;border-radius:20px;text-align:center;box-shadow:0 24px 80px rgba(0,23,48,.26)}.scan-result-dialog::backdrop{background:rgba(2,16,29,.66);backdrop-filter:blur(3px)}.scan-result-dialog .scan-result-icon{display:grid;place-items:center;width:66px;height:66px;margin:0 auto 15px;border-radius:50%;background:#e4f8ee;color:#078153;font-size:38px;font-weight:800}.scan-result-dialog.is-error .scan-result-icon{background:#fff0f0;color:#b63838}.scan-result-dialog h2{margin:0 0 8px;font-size:25px}.scan-result-dialog p{margin:0 0 20px;color:#64758a;line-height:1.7;white-space:pre-line}
@media(max-width:640px){.checkin-scanner-page{padding-top:20px}.checkin-scanner-page .checkin-hero{margin-bottom:14px}.camera-checkin-card{padding:14px}.camera-card-head{display:grid;gap:10px}.camera-card-head h2{font-size:21px}.camera-status{width:max-content}.camera-viewport{min-height:390px}.scanner-frame{width:240px}.camera-actions{display:grid}.camera-actions .btn{min-height:48px}.manual-checkin-card summary{padding:16px}.manual-checkin-card .checkin-form{padding:16px}@keyframes checkin-scan-line{0%,100%{transform:translateY(0);opacity:.55}50%{transform:translateY(210px);opacity:1}}}

/* 活动报名审核与现场签到 */
.activity-signup-state{display:grid;gap:6px;padding:14px 16px;margin:10px 0;border-radius:12px;background:#eef7ff;color:#175b9f}.activity-signup-state span{font-size:13px;line-height:1.6}.activity-signup-state.is-pending{background:#fff7e8;color:#9a5a00}.activity-signup-state.is-rejected{background:#fff1f1;color:#a33a3a}
.activity-signup-tip{margin:10px 0 0;color:#718096;font-size:12px;line-height:1.6}
@media (max-width:760px){.activity-contacts-head,.activity-contact-card-head{align-items:flex-start;flex-direction:column}.activity-contacts-head .btn,.activity-contact-card-head .btn{width:100%}.activity-contact-fields{grid-template-columns:1fr}.activity-contact-image{grid-template-columns:1fr}.activity-contact-image .media-upload-action{width:100%}}
.activity-ticket-card{display:grid;place-items:center;gap:10px;padding:18px;border:1px solid #dbe8f5;border-radius:16px;background:linear-gradient(180deg,#fff,#f6fbff)}.activity-ticket-qr img,.operator-qr img{display:block;width:196px;height:196px}.activity-ticket-card>span{font-size:13px;color:#65758b}.activity-ticket-code{width:100%;padding:14px;text-align:center;border-radius:12px;background:#0f6fdc;color:#fff}.activity-ticket-code small{display:block;margin-bottom:4px;opacity:.8}.activity-ticket-code strong{font-size:30px;letter-spacing:9px}.activity-ticket-checked{margin:0;color:#11815b;font-weight:700}
.activity-manage-page{padding:34px 0 60px}.checkin-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}.checkin-stat-grid div{display:grid;gap:5px;padding:18px;border:1px solid #dce7f2;border-radius:14px;background:#fff}.checkin-stat-grid span{color:#68798f;font-size:13px}.checkin-stat-grid strong{font-size:28px;color:#0874dd}
.checkin-operator-card{display:grid;gap:18px;margin-bottom:18px}.checkin-operator-card h2,.signup-list-title h2{margin:0 0 5px}.checkin-operator-card p,.signup-list-title p{margin:0;color:#718096}.operator-create-form{display:flex;gap:10px}.operator-create-form input,.created-operator-panel input,.signup-review-form input{min-height:42px;padding:0 12px;border:1px solid #d5e1ed;border-radius:9px}.operator-create-form input{flex:1}.created-operator-panel{display:grid;grid-template-columns:220px 1fr;gap:20px;align-items:center;padding:18px;border-radius:14px;background:#f1f8ff}.created-operator-panel>div:last-child{display:grid;gap:10px}.operator-access-actions,.operator-list-actions{display:flex;gap:8px;align-items:center}.operator-list{display:grid;border-top:1px solid #e2ebf4}.operator-list>div{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #e7eef5}.operator-list span{display:grid;gap:3px;flex:1}.operator-list small{color:#7a899a}.operator-list-actions form{margin:0}
.signup-manage-list{display:grid}.signup-manage-item{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(150px,.6fr) minmax(280px,1fr);gap:18px;align-items:center;padding:17px 0;border-bottom:1px solid #e5edf5}.signup-person,.signup-state{display:grid;gap:5px}.signup-person span,.signup-person small,.signup-state span,.signup-state small{color:#718096;font-size:13px}.signup-state .status-pill{width:max-content}.signup-review-form{display:flex;gap:8px}.signup-review-form input{min-width:0;flex:1}.signup-code-hint{font-weight:700;color:#0874dd;letter-spacing:1px}.signup-review-note{color:#8b5a5a}
.checkin-page{min-height:calc(100vh - 160px);padding:42px 0;background:radial-gradient(circle at top,#e9f6ff,#f6f9fc 55%)}.checkin-shell{max-width:760px}.checkin-shell.compact{max-width:560px}.checkin-hero{margin-bottom:18px}.checkin-hero span{color:#0874dd;font-weight:700}.checkin-hero h1{margin:8px 0;font-size:30px}.checkin-hero p{color:#66768a}.checkin-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.checkin-progress div{display:grid;gap:3px;padding:16px;border-radius:14px;background:#fff;border:1px solid #dfebf5}.checkin-progress strong{font-size:25px;color:#0874dd}.checkin-progress span{font-size:12px;color:#718096}.checkin-methods,.ticket-verify-card{padding:24px}.checkin-notice{padding:15px;border-radius:12px;background:#eef7ff}.checkin-notice p{margin:6px 0 0;line-height:1.65;color:#5f7186}.checkin-form{display:grid;gap:15px;margin-top:20px}.checkin-form label{display:grid;gap:7px}.checkin-form input,.checkin-form select{min-height:48px;padding:0 14px;border:1px solid #cfddea;border-radius:10px;font-size:16px}.ticket-verify-card{display:grid;gap:16px;text-align:center;border-radius:20px}.ticket-verify-card h1{margin:0}.ticket-verify-card>p{margin:0;color:#6f8094}.ticket-person{display:grid;gap:6px;padding:18px;border-radius:14px;background:#f4f8fc}.ticket-person strong{font-size:22px}.ticket-person span,.ticket-person small{color:#627489}.checkin-result{display:grid;gap:5px;padding:16px;border-radius:12px;background:#fff7e8;color:#8b5a00}.checkin-result.success{background:#eaf9f2;color:#087652}
@media(max-width:900px){.activity-ticket-detail-shell>aside{grid-row:1}.activity-ticket-detail-shell>article{grid-row:2}}
@media(max-width:760px){.checkin-stat-grid{grid-template-columns:repeat(2,1fr)}.created-operator-panel{grid-template-columns:1fr}.operator-qr{display:grid;place-items:center}.operator-list>div{align-items:flex-start;flex-wrap:wrap}.operator-list-actions{width:100%}.operator-list-actions form{flex:1}.operator-list-actions .btn{width:100%}.operator-access-actions{display:grid;grid-template-columns:1fr 1fr}.signup-manage-item{grid-template-columns:1fr}.signup-review-form{flex-wrap:wrap}.signup-review-form input{flex-basis:100%}.operator-create-form{display:grid}.checkin-page{padding:24px 0}.checkin-hero h1{font-size:24px}.checkin-methods,.ticket-verify-card{padding:18px}.activity-ticket-code strong{font-size:26px}}

.talent-profile-card {
  min-width: 0;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2ebf4;
  border-radius: 12px;
  background: #fff;
  padding: 18px;
  color: inherit;
  box-shadow: 0 10px 24px rgba(24, 45, 70, .05);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.talent-profile-card:hover,
.talent-profile-card:focus-visible {
  border-color: rgba(21, 151, 255, .45);
  box-shadow: 0 18px 38px rgba(24, 45, 70, .11);
  outline: none;
  transform: translateY(-3px);
}

.talent-profile-head {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
}

.talent-profile-head .talent-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.talent-profile-identity {
  min-width: 0;
}

.talent-profile-head h3 {
  margin: 0 0 5px;
  color: #172235;
  font-size: 17px;
}

.talent-profile-head p,
.talent-profile-bio {
  color: #64768a;
}

.talent-profile-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  min-height: 38px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.talent-profile-head em {
  border-radius: 999px;
  background: #eef9f5;
  color: #22835f;
  padding: 5px 9px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.talent-profile-summary {
  margin-top: 18px;
}

.talent-profile-summary > span {
  display: block;
  margin-bottom: 6px;
  color: #9aa8b7;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.talent-profile-bio {
  min-height: 71px;
  max-height: 71px;
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  line-height: 1.7;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.talent-profile-tags {
  min-height: 60px;
  align-content: flex-start;
  margin-top: 14px;
}

.talent-profile-tags .tag-more {
  background: #eaf5fd;
  color: #2477ad;
}

.talent-profile-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-height: 51px;
  margin-top: auto;
  border-top: 1px solid #edf2f7;
  padding-top: 14px;
}

.talent-profile-meta span {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.talent-profile-meta strong {
  color: #172235;
  font-size: 16px;
}

.talent-profile-meta small {
  color: #7d8da0;
  font-size: 12px;
}

.talent-profile-meta .talent-availability strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.talent-profile-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  border-radius: 8px;
  background: #f5f9fd;
  padding: 10px 12px;
  color: #2978ad;
  font-size: 13px;
  font-weight: 900;
}

.talent-profile-open b,
.talent-profile-open svg {
  width: 18px;
  height: 18px;
  display: block;
}

.talent-profile-open b {
  transition: transform .18s ease;
}

.talent-profile-open svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.talent-profile-card:hover .talent-profile-open b,
.talent-profile-card:focus-visible .talent-profile-open b {
  transform: translateX(3px);
}

.talent-dialog-card {
  width: min(720px, calc(100vw - 32px));
}

.talent-dialog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.talent-dialog-grid .wide {
  grid-column: 1 / -1;
}

.talent-dialog-grid textarea {
  min-height: 110px;
  resize: vertical;
}

/* 人才详情页 */
.talent-detail-page {
  min-height: calc(100vh - 54px);
  background:
    radial-gradient(circle at 12% 10%, rgba(21, 151, 255, .08), transparent 26%),
    #f5f8fb;
}

.talent-detail-nav {
  padding-top: 26px;
  padding-bottom: 16px;
}

.talent-detail-nav a {
  color: #39769f;
  font-size: 14px;
  font-weight: 900;
}

.talent-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.talent-detail-main,
.talent-detail-side {
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(24, 45, 70, .06);
}

.talent-detail-main {
  padding: 30px;
}

.talent-detail-header {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid #e8eef4;
  padding-bottom: 26px;
}

.talent-detail-avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #1499ed, #55c8ee);
  color: #fff;
  font-size: 27px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(21, 151, 255, .2);
}

.talent-detail-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.talent-detail-name h1 {
  margin: 0;
  color: #152539;
  font-size: 30px;
}

.talent-detail-name em {
  border-radius: 999px;
  background: #eef9f5;
  color: #22835f;
  padding: 5px 10px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.talent-detail-header p {
  margin: 8px 0 0;
  color: #63768b;
}

.talent-detail-section {
  padding-top: 28px;
}

.talent-detail-section h2 {
  margin: 6px 0 14px;
  color: #17263a;
  font-size: 22px;
}

.talent-detail-bio p,
.talent-tech-direction {
  margin: 0 0 12px;
  color: #52677d;
  font-size: 15px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.talent-detail-tags {
  gap: 9px;
}

.talent-detail-tags span {
  padding: 7px 11px;
  background: #eef7fd;
  color: #3b7398;
}

.talent-detail-side {
  position: sticky;
  top: 76px;
  padding: 24px;
}

.talent-detail-side h2 {
  margin: 0 0 18px;
  color: #17263a;
  font-size: 20px;
}

.talent-detail-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.talent-detail-stats span {
  display: grid;
  gap: 5px;
  border-radius: 9px;
  background: #f3f8fc;
  padding: 14px;
}

.talent-detail-stats strong {
  color: #0d77bd;
  font-size: 24px;
}

.talent-detail-stats small {
  color: #7d8da0;
}

.talent-detail-side dl {
  display: grid;
  gap: 0;
  margin: 0 0 20px;
}

.talent-detail-side dl > div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  border-top: 1px solid #edf2f7;
  padding: 13px 0;
}

.talent-detail-side dt {
  color: #8b99a9;
  font-size: 13px;
}

.talent-detail-side dd {
  margin: 0;
  color: #31475e;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.talent-detail-privacy {
  margin: 13px 0 0;
  color: #91a0af;
  font-size: 12px;
  line-height: 1.6;
}

.home-demand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-demand-card {
  min-width: 0;
  display: grid;
  gap: 12px;
  border: 1px solid #e2ebf4;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  color: inherit;
  box-shadow: 0 10px 24px rgba(24, 45, 70, .05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-demand-card:hover {
  border-color: rgba(41, 169, 225, .45);
  box-shadow: 0 18px 34px rgba(24, 45, 70, .1);
  transform: translateY(-2px);
}

.home-demand-card > div,
.home-demand-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-demand-card span {
  border-radius: 5px;
  background: #eef7ff;
  color: #1568b7;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
}

.home-demand-card strong {
  color: #7a8da1;
  font-size: 12px;
}

.home-demand-card h3 {
  margin: 0;
  color: #172235;
  font-size: 18px;
  line-height: 1.45;
}

.home-demand-card p {
  display: -webkit-box;
  min-height: 48px;
  margin: 0;
  overflow: hidden;
  color: #64768a;
  line-height: 1.7;
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-demand-card em {
  color: #f06f2f;
  font-style: normal;
  font-weight: 900;
}

.home-demand-card small {
  color: #7c8da0;
}

.showcase-admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.showcase-admin-form .wide {
  grid-column: 1 / -1;
}

.showcase-admin-form textarea {
  min-height: 92px;
  resize: vertical;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 0;
}

.page-banner-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.page-banner-admin-card {
  display: grid;
  gap: 12px;
  border: 1px solid #dfe8f1;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.page-banner-admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-banner-admin-head strong,
.page-banner-admin-head small {
  display: block;
}

.page-banner-admin-head small {
  margin-top: 3px;
  color: #7c8da0;
}

.page-banner-admin-preview {
  aspect-ratio: 2048 / 208;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid #e0e8ef;
  border-radius: 6px;
  background: #f3f7fa;
  color: #7c8da0;
  font-size: 13px;
}

.page-banner-admin-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .page-banner-admin-grid {
    grid-template-columns: 1fr;
  }
}

.showcase-page {
  padding-top: 24px;
}

.showcase-toolbar {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 16px;
}

.showcase-pagination {
  padding-bottom: 54px;
}

.showcase-card {
  overflow: hidden;
  border: 1px solid #e2ebf4;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  box-shadow: 0 12px 28px rgba(24, 45, 70, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.showcase-card-link {
  display: block;
  color: inherit;
}

.showcase-card:hover {
  border-color: rgba(41, 169, 225, .45);
  box-shadow: 0 18px 34px rgba(24, 45, 70, .1);
  transform: translateY(-2px);
}

.showcase-cover {
  position: relative;
  min-height: 138px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background-color: #dff3ff;
  background-size: cover;
  background-position: center;
  padding: 10px;
}

.showcase-cover-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.showcase-cover span {
  position: relative;
  z-index: 2;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: #172235;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}

.showcase-body {
  padding: 12px;
}

.showcase-body h2 {
  margin: 0 0 6px;
  color: #172235;
  font-size: 16px;
  line-height: 1.45;
}

.showcase-body p {
  min-height: 42px;
  margin: 0 0 9px;
  font-size: 13px;
  color: #64768a;
  line-height: 1.65;
}

.showcase-body small {
  color: #7c8da0;
  font-size: 12px;
}

.showcase-recommend-form {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.showcase-recommend-form .btn {
  min-width: 132px;
  box-shadow: 0 10px 22px rgba(12, 34, 56, .18);
}

.showcase-card:hover .showcase-recommend-form {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.showcase-card:hover .showcase-cover span {
  opacity: 0;
}

.showcase-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 54px;
}

.showcase-photo-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: #edf3f8;
  aspect-ratio: 4 / 3;
}

.showcase-photo-grid a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #edf3f8;
  width: 100%;
  height: 100%;
}

.showcase-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}

.showcase-photo-grid a:hover img {
  transform: scale(1.04);
}

.showcase-photo-item figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.showcase-photo-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.showcase-photo-item figcaption button {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #132235;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
  box-shadow: 0 8px 18px rgba(10, 24, 42, .14);
}

.showcase-photo-item figcaption button:last-child {
  color: #d73356;
}

.showcase-create-form textarea {
  min-height: 92px;
  resize: vertical;
}

.showcase-manage-card {
  width: min(860px, calc(100vw - 32px));
  margin-top: 5vh;
}

.showcase-upload-drop {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 150px;
  border: 1px dashed #9fc7e6;
  border-radius: 8px;
  background: #f5fbff;
  color: #53667f;
  cursor: pointer;
  text-align: center;
}

.member-balance-card {
  color: inherit;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.member-balance-card b,
.member-balance-card small {
  transition: opacity .18s ease;
}

.member-balance-card em {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1597ff, #29b8d8);
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
}

.member-balance-card:hover,
.member-balance-card:focus-visible {
  border-color: #1597ff;
  box-shadow: 0 10px 24px rgba(21, 151, 255, .22);
  transform: translateY(-2px);
}

.member-balance-card:hover b,
.member-balance-card:hover small,
.member-balance-card:focus-visible b,
.member-balance-card:focus-visible small {
  opacity: 0;
}

.member-balance-card:hover em,
.member-balance-card:focus-visible em {
  opacity: 1;
  transform: translateY(0);
}

.showcase-upload-drop input {
  display: none;
}

.showcase-upload-drop strong {
  color: #15263a;
  font-size: 18px;
}

.showcase-upload-drop span {
  font-size: 13px;
}

.showcase-upload-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  max-height: 260px;
  overflow-y: auto;
}

.showcase-upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 92px;
  gap: 10px;
  align-items: center;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfdff;
  padding: 10px;
}

.showcase-upload-row span {
  overflow: hidden;
  color: #25364c;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-upload-row progress {
  width: 100%;
  height: 10px;
  accent-color: #25a7e0;
}

.showcase-upload-row em {
  color: #718295;
  font-size: 12px;
  font-style: normal;
  text-align: right;
}

.form-status {
  min-height: 20px;
  margin: 8px 0 0;
  color: #53667f;
  font-size: 13px;
}

.form-status.error {
  color: #d73356;
}

.showcase-uploader {
  display: grid;
  grid-template-rows: 34px 1fr;
  width: min(1500px, calc(100vw - 12px));
  height: min(880px, calc(100vh - 18px));
  margin-top: 6px;
  padding: 0;
  overflow: hidden;
}

.showcase-uploader-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dfe5eb;
  background: #f7f8fa;
  color: #172235;
  padding: 0 12px;
  font-size: 13px;
}

.showcase-uploader-title .dialog-close {
  position: static;
  background: transparent;
  box-shadow: none;
}

.showcase-uploader .showcase-upload-form {
  display: grid;
  grid-template-rows: 56px 1fr 64px;
  min-height: 0;
}

.showcase-uploader-target {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #eef1f5;
  background: linear-gradient(180deg, #fff, #f3f5f7);
  padding: 8px 16px;
  color: #394b60;
  font-size: 13px;
}

.showcase-uploader-album {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 210px;
  max-width: 360px;
  height: 40px;
  border: 1px solid #dce3ea;
  border-radius: 4px;
  background: #fff;
  padding: 4px 12px 4px 4px;
}

.showcase-uploader-album img,
.showcase-uploader-album i {
  width: 40px;
  height: 30px;
  border-radius: 3px;
  background: linear-gradient(135deg, #d7edff, #3fa8e8);
  object-fit: cover;
}

.showcase-uploader-album b {
  overflow: hidden;
  color: #29384a;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-upload-stage {
  position: relative;
  min-height: 0;
  overflow: auto;
  background: #fff;
}

.showcase-upload-picker {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  gap: 8px;
  width: 240px;
  border: 0;
  background: transparent;
  color: #8c98a6;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.showcase-upload-picker span {
  display: grid;
  place-items: center;
  width: 240px;
  height: 52px;
  border-radius: 3px;
  background: #58aee9;
  color: #fff;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.showcase-upload-picker strong {
  margin-top: -46px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.showcase-upload-picker em {
  margin-top: 4px;
  color: #999;
  font-size: 13px;
  font-style: normal;
}

.showcase-upload-form.has-files .showcase-upload-picker {
  display: none;
}

.showcase-upload-list {
  grid-template-columns: repeat(auto-fill, minmax(128px, 128px));
  align-content: start;
  gap: 22px 24px;
  max-height: none;
  margin: 0;
  padding: 16px;
}

.showcase-upload-list[hidden] {
  display: none;
}

.showcase-upload-row,
.showcase-upload-add-tile {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 106px 22px 10px 18px;
  gap: 4px;
  width: 128px;
  height: 150px;
  border: 1px solid #d9e1ea;
  border-radius: 0;
  background: #fff;
  padding: 0;
}

.showcase-upload-row img {
  width: 100%;
  height: 106px;
  background: #f1f4f7;
  object-fit: cover;
}

.showcase-upload-row span {
  padding: 0 4px;
  color: #111;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
}

.showcase-upload-row progress {
  width: calc(100% - 8px);
  height: 8px;
  margin: 0 4px;
  accent-color: #58aee9;
}

.showcase-upload-row em {
  padding: 0 4px;
  color: #7a8592;
  font-size: 12px;
  text-align: center;
}

.showcase-upload-row.is-failed {
  border-color: #f0b8c4;
  background: #fff7f9;
}

.showcase-upload-row.is-failed em {
  color: #d73356;
}

.showcase-upload-row button {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid #d6dde5;
  border-radius: 50%;
  background: #fff;
  color: #66788c;
  cursor: pointer;
}

.showcase-upload-form.is-uploading .showcase-upload-row button,
.showcase-upload-form.is-uploading .showcase-upload-clear,
.showcase-upload-form.is-uploading [data-showcase-pick] {
  pointer-events: none;
  opacity: .45;
}

.showcase-upload-add-tile {
  place-items: center;
  border: 0;
  background: #f3f3f3;
  color: #aaa;
  cursor: pointer;
  grid-template-rows: 1fr 30px;
}

.showcase-upload-add-tile strong {
  color: #b4b4b4;
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
}

.showcase-upload-add-tile span {
  color: #aaa;
  font-size: 13px;
}

.showcase-upload-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #eef1f5;
  background: #f6f6f6;
  padding: 10px 16px;
}

.showcase-upload-footer .btn {
  min-width: 126px;
  height: 42px;
}

.showcase-upload-footer [data-showcase-upload-count] {
  color: #717c88;
  font-size: 13px;
}

.showcase-upload-footer .form-status {
  flex: 1;
  margin: 0;
}

.showcase-upload-clear {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #758394;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .talent-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .showcase-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .showcase-upload-row {
    grid-template-columns: 1fr;
  }

  .showcase-upload-row em {
    text-align: left;
  }
}

@media (max-width: 900px) {
  .talent-hero-inner,
  .talent-toolbar {
    grid-template-columns: 1fr;
    display: grid;
  }

  .talent-card-grid,
  .talent-summary,
  .showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .talent-detail-shell {
    grid-template-columns: 1fr;
  }

  .talent-detail-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .talent-hero h1 {
    font-size: 32px;
  }

  .talent-card-grid,
  .talent-summary,
  .talent-dialog-grid,
  .showcase-grid,
  .showcase-photo-grid,
  .showcase-admin-form {
    grid-template-columns: 1fr;
  }

  .talent-profile-card {
    min-height: 0;
  }

  .talent-profile-tags {
    min-height: 0;
  }

  .talent-detail-nav {
    padding-top: 18px;
  }

  .talent-detail-main,
  .talent-detail-side {
    padding: 20px;
  }

  .talent-detail-header {
    grid-template-columns: 60px 1fr;
    gap: 14px;
  }

  .talent-detail-avatar {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    font-size: 23px;
  }

  .talent-detail-name h1 {
    font-size: 24px;
  }
}

/* 账户充值页 */
.recharge-page {
  min-height: calc(100vh - 54px);
  padding: 0 0 64px;
  background:
    radial-gradient(circle at 12% 16%, rgba(21, 151, 255, 0.1), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(70, 199, 232, 0.09), transparent 30%),
    #f5f9fd;
}

.recharge-page .recharge-shell {
  min-height: calc(100vh - 154px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 34px;
}

.recharge-back {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 16px;
  color: #5f7188;
  font-size: 13px;
  font-weight: 800;
  transition: color 0.18s ease, transform 0.18s ease;
}

.recharge-back:hover {
  color: var(--blue-dark);
  transform: translateX(-2px);
}

.recharge-back svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.recharge-layout {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  overflow: hidden;
  border: 1px solid rgba(210, 225, 238, 0.9);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(27, 67, 105, 0.13);
}

.recharge-summary {
  position: relative;
  min-height: 570px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 48px 44px 38px;
  background: linear-gradient(145deg, #0879df 0%, #0b93ef 52%, #30b7df 100%);
  color: #fff;
}

.recharge-summary::before,
.recharge-summary::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.recharge-summary::before {
  top: -96px;
  right: -90px;
  width: 270px;
  height: 270px;
  border: 54px solid rgba(255, 255, 255, 0.08);
}

.recharge-summary::after {
  right: -42px;
  bottom: -96px;
  width: 210px;
  height: 210px;
  background: rgba(255, 255, 255, 0.08);
}

.recharge-summary > * {
  position: relative;
  z-index: 1;
}

.recharge-summary-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.recharge-summary-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.recharge-summary h1 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.recharge-summary > p {
  max-width: 300px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.8;
}

.recharge-balance {
  display: grid;
  gap: 8px;
  margin: 42px 0 30px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.recharge-balance span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
}

.recharge-balance strong {
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.recharge-balance small {
  margin-right: 5px;
  font-size: 20px;
  font-weight: 700;
  vertical-align: 4px;
}

.recharge-benefits {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recharge-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.recharge-benefits svg {
  width: 19px;
  height: 19px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.17);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.recharge-environment-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.55;
}

.recharge-environment-note svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.recharge-page .recharge-card {
  position: static;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 48px 52px 38px;
  background: #fff;
}

.recharge-card-head {
  margin-bottom: 30px;
}

.recharge-card-head h2 {
  margin: 0 0 8px;
  color: #162235;
  font-size: 27px;
  line-height: 1.25;
}

.recharge-card-head p {
  margin: 0;
  color: #7a899c;
  font-size: 14px;
}

.recharge-amount-fieldset {
  min-width: 0;
  margin: 0 0 25px;
  padding: 0;
  border: 0;
}

.recharge-amount-fieldset legend,
.recharge-custom-field > span:first-child {
  display: block;
  margin-bottom: 11px;
  color: #34465c;
  font-size: 13px;
  font-weight: 900;
}

.recharge-page .quick-recharge {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.recharge-page .quick-recharge button {
  position: relative;
  height: 52px;
  border: 1px solid #dce7f0;
  border-radius: 9px;
  background: #fff;
  color: #34465c;
  font-size: 18px;
  font-weight: 900;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.recharge-page .quick-recharge button span {
  margin-right: 2px;
  font-size: 12px;
  font-weight: 800;
  vertical-align: 2px;
}

.recharge-page .quick-recharge button:hover {
  border-color: #79c8ff;
  color: #0879d9;
  transform: translateY(-1px);
}

.recharge-page .quick-recharge button.is-active {
  border-color: #1597ff;
  background: #eef8ff;
  color: #0879d9;
  box-shadow: 0 0 0 2px rgba(21, 151, 255, 0.1);
}

.recharge-page .quick-recharge button.is-active::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1597ff;
}

.recharge-custom-field {
  display: block;
  margin-bottom: 24px;
}

.recharge-input-wrap {
  height: 52px;
  display: flex;
  align-items: center;
  border: 1px solid #dce7f0;
  border-radius: 9px;
  background: #fbfdff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.recharge-input-wrap:focus-within {
  border-color: #68c0fb;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(21, 151, 255, 0.11);
}

.recharge-input-wrap b {
  padding-left: 16px;
  color: #73849a;
  font-size: 17px;
}

.recharge-input-wrap input {
  min-width: 0;
  height: 100%;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #162235;
  padding: 0 15px 0 8px;
  font-size: 18px;
  font-weight: 900;
}

.recharge-custom-field small {
  display: block;
  margin-top: 8px;
  color: #93a1b2;
  font-size: 12px;
}

.recharge-preview {
  display: grid;
  gap: 11px;
  margin-bottom: 24px;
  padding: 15px 17px;
  border: 1px solid #e5eef5;
  border-radius: 9px;
  background: #f7fafc;
}

.recharge-preview div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #73849a;
  font-size: 13px;
}

.recharge-preview div:last-child {
  padding-top: 11px;
  border-top: 1px dashed #d9e5ee;
}

.recharge-preview strong {
  color: #314359;
  font-size: 14px;
}

.recharge-preview div:last-child strong {
  color: #0879d9;
  font-size: 17px;
}

.recharge-page .recharge-submit {
  height: 48px;
  border-radius: 9px;
  box-shadow: 0 9px 20px rgba(21, 151, 255, 0.21);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.recharge-page .recharge-submit:hover {
  background: #087edb;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(21, 151, 255, 0.26);
}

.recharge-submit svg {
  width: 17px;
  height: 17px;
  margin-left: 5px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.recharge-submit-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 13px 0 0;
  color: #92a0b0;
  font-size: 11px;
}

.recharge-submit-note svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 820px) {
  .recharge-page .recharge-shell {
    justify-content: flex-start;
    padding-top: 28px;
  }

  .recharge-layout {
    grid-template-columns: 1fr;
    width: min(560px, 100%);
  }

  .recharge-summary {
    min-height: 0;
    padding: 34px 34px 30px;
  }

  .recharge-summary-mark {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
  }

  .recharge-summary h1 {
    font-size: 26px;
  }

  .recharge-summary > p,
  .recharge-benefits,
  .recharge-environment-note {
    display: none;
  }

  .recharge-balance {
    margin: 27px 0 0;
    padding: 0;
    border: 0;
  }

  .recharge-balance strong {
    font-size: 34px;
  }

  .recharge-page .recharge-card {
    padding: 36px 34px 30px;
  }
}

@media (max-width: 480px) {
  .recharge-page {
    padding-bottom: 30px;
  }

  .recharge-page .recharge-shell {
    width: min(100% - 22px, 1180px);
    padding-top: 18px;
  }

  .recharge-back {
    margin-bottom: 12px;
  }

  .recharge-layout {
    border-radius: 14px;
    box-shadow: 0 16px 38px rgba(27, 67, 105, 0.11);
  }

  .recharge-summary {
    padding: 27px 24px 24px;
  }

  .recharge-summary-mark {
    width: 43px;
    height: 43px;
    margin-bottom: 14px;
    border-radius: 12px;
  }

  .recharge-summary-mark svg {
    width: 25px;
    height: 25px;
  }

  .recharge-summary h1 {
    margin-bottom: 5px;
    font-size: 23px;
  }

  .recharge-balance {
    margin-top: 20px;
  }

  .recharge-balance strong {
    font-size: 30px;
  }

  .recharge-page .recharge-card {
    padding: 28px 22px 24px;
  }

  .recharge-card-head {
    margin-bottom: 24px;
  }

  .recharge-card-head h2 {
    font-size: 23px;
  }

  .recharge-page .quick-recharge {
    gap: 9px;
  }

  .recharge-page .quick-recharge button {
    height: 48px;
    font-size: 16px;
  }

  .recharge-input-wrap {
    height: 49px;
  }
}

/* 个人中心充值记录 */
.recharge-history-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.recharge-history-head > div {
  min-width: 0;
}

.recharge-history-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 24px;
}

.recharge-history-summary > span {
  display: grid;
  gap: 8px;
  border: 1px solid #e2ebf3;
  border-radius: 9px;
  background: #f8fbfe;
  padding: 16px 18px;
}

.recharge-history-summary small {
  color: #75869a;
  font-size: 12px;
  font-weight: 800;
}

.recharge-history-summary strong {
  color: #17263a;
  font-size: 22px;
}

.recharge-history-list {
  display: grid;
  gap: 10px;
}

.recharge-history-table-head,
.recharge-history-row {
  display: grid;
  grid-template-columns: minmax(250px, 1.7fr) minmax(100px, .65fr) minmax(100px, .65fr) 108px;
  gap: 14px;
  align-items: center;
}

.recharge-history-table-head {
  padding: 0 16px 2px;
  color: #8291a3;
  font-size: 12px;
  font-weight: 900;
}

.recharge-history-row {
  min-height: 82px;
  border: 1px solid #e6edf4;
  border-radius: 9px;
  background: #fbfdff;
  padding: 14px 16px;
}

.recharge-history-order {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.recharge-history-order strong {
  overflow: hidden;
  color: #22354c;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recharge-history-order span,
.recharge-history-order small {
  color: #8291a3;
  font-size: 11px;
}

.recharge-history-amount {
  color: #126fbd;
  font-size: 17px;
}

.recharge-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.recharge-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.recharge-status.completed {
  background: #eaf8f2;
  color: #16845e;
}

.recharge-status.refunded {
  background: #eef2f6;
  color: #68798d;
}

.recharge-history-empty {
  padding: 42px 20px;
}

.invoice-dialog-card {
  width: min(420px, calc(100vw - 32px));
  text-align: center;
}

.invoice-dialog-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 4px auto 18px;
  border-radius: 16px;
  background: #eaf7ff;
  color: #0879d9;
  font-size: 24px;
  font-weight: 900;
}

.invoice-dialog-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.invoice-dialog-card p {
  margin-bottom: 8px;
  color: #4f6176;
}

.invoice-dialog-card > small {
  display: block;
  margin-bottom: 22px;
  color: #8a98a8;
  font-size: 11px;
  word-break: break-all;
}

/* 后台充值流水管理 */
.recharge-admin-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.recharge-admin-metrics .recharge-metric-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 176px;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 22px 24px 20px;
  border: 1px solid #e5edf5;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff 0%, #f7fbff 100%);
  box-shadow: 0 12px 28px rgba(26, 59, 91, .055);
}

.recharge-admin-metrics .recharge-metric-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 84px;
  height: 84px;
  border-radius: 0 0 0 84px;
  background: rgba(21, 151, 255, .055);
  content: "";
  pointer-events: none;
}

.recharge-admin-metrics .recharge-metric-card > span {
  color: #4f6074;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .2px;
}

.recharge-admin-metrics .recharge-metric-card > strong {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 16px 0 13px;
  color: #253447;
  font-size: clamp(36px, 3.25vw, 54px);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.recharge-admin-metrics .recharge-metric-card > small {
  margin-top: auto;
  color: #8795a6;
  font-size: 12px;
  line-height: 1.5;
}

.recharge-admin-metrics .recharge-metric-card.total > strong {
  color: #1679ca;
}

.recharge-admin-metrics .recharge-metric-card.completed > strong {
  color: #11876b;
}

.recharge-admin-metrics .recharge-metric-card.completed::after {
  background: rgba(17, 135, 107, .06);
}

.recharge-admin-metrics .recharge-metric-card.refunded > strong {
  color: #687789;
}

.recharge-admin-metrics .recharge-metric-card.refunded::after {
  background: rgba(104, 119, 137, .065);
}

.recharge-admin-filter {
  grid-template-columns: minmax(240px, 1.4fr) 150px 150px 150px auto;
}

.recharge-admin-filter .wide {
  min-width: 0;
}

.recharge-admin-table {
  overflow-x: auto;
}

.recharge-admin-table .ops-table-head,
.recharge-admin-table .ops-table-row {
  min-width: 1120px;
  grid-template-columns: minmax(190px, 1.35fr) minmax(170px, 1.15fr) 110px 155px 100px 105px minmax(160px, 1fr);
}

.recharge-admin-order,
.recharge-admin-user,
.recharge-admin-action,
.recharge-admin-table .ops-table-row > span {
  min-width: 0;
}

.recharge-admin-order,
.recharge-admin-user,
.recharge-admin-action {
  display: grid;
  gap: 5px;
}

.recharge-admin-order small,
.recharge-admin-user small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recharge-admin-amount {
  color: #0879d9;
  font-size: 16px;
}

.recharge-admin-action form {
  margin: 0;
}

.btn.danger {
  border-color: #f3bcc7;
  background: #fff6f8;
  color: #c73955;
}

.btn.danger:hover:not(:disabled) {
  border-color: #e86f86;
  background: #fff0f3;
}

.refund-completed {
  color: #68798d;
  font-size: 13px;
}

.negative-money {
  color: #c73955;
  font-weight: 900;
}

.recharge-admin-pagination {
  width: 100%;
  justify-content: flex-end;
  margin-top: 18px;
}

.recharge-page-count {
  display: inline-flex;
  align-items: center;
  color: #6d7e91;
  font-size: 12px;
}

.secondary-ledger-panel {
  margin-top: 20px;
}

@media (max-width: 1200px) {
  .recharge-admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recharge-admin-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recharge-admin-filter .wide,
  .recharge-admin-filter .admin-filter-actions {
    grid-column: 1 / -1;
  }

  .recharge-admin-table .ops-table-head,
  .recharge-admin-table .ops-table-row {
    display: grid;
    grid-template-columns: minmax(190px, 1.35fr) minmax(170px, 1.15fr) 110px 155px 100px 105px minmax(160px, 1fr);
  }
}

@media (max-width: 760px) {
  .recharge-history-head {
    display: grid;
  }

  .recharge-history-head .btn {
    width: fit-content;
  }

  .recharge-history-summary,
  .recharge-admin-metrics,
  .recharge-admin-filter {
    grid-template-columns: 1fr;
  }

  .recharge-admin-metrics .recharge-metric-card {
    min-height: 150px;
  }

  .recharge-admin-filter .wide,
  .recharge-admin-filter .admin-filter-actions {
    grid-column: auto;
  }

  .recharge-history-table-head {
    display: none;
  }

  .recharge-history-row {
    grid-template-columns: 1fr auto;
  }

  .recharge-history-order {
    grid-column: 1 / -1;
  }

  .recharge-history-row .btn {
    justify-self: end;
  }

  .recharge-admin-pagination {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* 在线支付页 */
.online-payment-page {
  min-height: calc(100vh - 54px);
  padding: 42px 0 64px;
  background: #f5f9fd;
}

.online-payment-shell {
  width: min(980px, calc(100% - 32px));
}

.online-payment-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  overflow: hidden;
  border: 1px solid #dce8f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 56px rgba(24, 63, 99, .12);
}

.online-payment-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 42px 54px 38px;
  text-align: center;
}

.online-payment-main header h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

.online-payment-main header p {
  margin: 0;
  color: #7a899b;
  font-size: 13px;
}

.online-payment-amount {
  display: grid;
  gap: 5px;
  margin: 26px 0 20px;
}

.online-payment-amount span {
  color: #718298;
  font-size: 12px;
  font-weight: 800;
}

.online-payment-amount strong {
  color: #0c79d5;
  font-size: 37px;
  line-height: 1.15;
}

.online-payment-amount small {
  margin-right: 4px;
  font-size: 20px;
}

.online-payment-qr {
  width: 228px;
  height: 228px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dce7ef;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}

.online-payment-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.online-payment-qr span {
  color: #8493a5;
  font-size: 12px;
  line-height: 1.6;
}

.online-payment-open {
  width: min(300px, 100%);
  height: 44px;
  margin-top: 22px;
  border-radius: 8px;
}

.online-payment-tip {
  margin: 12px 0 0;
  color: #8997a8;
  font-size: 11px;
}

.online-payment-aside {
  border-left: 1px solid #e3ebf2;
  background: #f8fbfe;
  padding: 48px 38px;
}

.online-payment-status {
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #e0e9f1;
  padding-bottom: 26px;
}

.online-payment-status-icon {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 4px solid #b9dffc;
  border-top-color: #1597ff;
  border-radius: 50%;
  animation: payment-spin 1s linear infinite;
}

.online-payment-status.paid .online-payment-status-icon {
  border: 0;
  background: #18a874;
  animation: none;
}

.online-payment-status.paid .online-payment-status-icon::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 9px;
  width: 12px;
  height: 20px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

@keyframes payment-spin {
  to { transform: rotate(360deg); }
}

.online-payment-status div {
  display: grid;
  gap: 5px;
}

.online-payment-status strong {
  color: #1b2d43;
  font-size: 18px;
}

.online-payment-status small {
  color: #7d8d9f;
  font-size: 12px;
}

.online-payment-details {
  display: grid;
  gap: 0;
  margin: 24px 0;
}

.online-payment-details div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  font-size: 12px;
}

.online-payment-details dt {
  color: #8493a5;
}

.online-payment-details dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #34475d;
  font-weight: 800;
  text-align: right;
}

.online-payment-safety {
  border: 1px solid #dfe9f1;
  border-radius: 9px;
  background: #fff;
  padding: 17px;
}

.online-payment-safety strong {
  color: #34475d;
  font-size: 13px;
}

.online-payment-safety ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #718298;
  font-size: 11px;
  line-height: 1.9;
}

.payment-success-card {
  width: min(420px, calc(100vw - 32px));
  text-align: center;
}

.payment-success-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #18a874;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}

.payment-success-card h3 {
  margin-bottom: 9px;
  font-size: 23px;
}

.payment-success-card p {
  margin-bottom: 22px;
}

@media (max-width: 820px) {
  .online-payment-card {
    grid-template-columns: 1fr;
  }

  .online-payment-aside {
    border-top: 1px solid #e3ebf2;
    border-left: 0;
    padding: 32px;
  }
}

@media (max-width: 480px) {
  .online-payment-page {
    padding: 22px 0 34px;
  }

  .online-payment-shell {
    width: min(100% - 22px, 980px);
  }

  .online-payment-card {
    border-radius: 13px;
  }

  .online-payment-main {
    padding: 30px 22px 28px;
  }

  .online-payment-main header h1 {
    font-size: 24px;
  }

  .online-payment-qr {
    width: 210px;
    height: 210px;
  }

  .online-payment-aside {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .online-payment-status-icon {
    animation: none;
  }
}

/* 2026-07-15 风采相册数据与互动界面 */
.showcase-cover-stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.showcase-cover-stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: rgba(15, 32, 52, .72);
  color: #fff;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.showcase-cover-stats svg,
.showcase-photo-stats svg,
.showcase-viewer-actions svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.showcase-card:hover .showcase-cover-stats,
.showcase-card:hover .showcase-cover-stats span {
  opacity: 1;
}

.showcase-card.has-admin-actions:hover .showcase-cover-stats,
.showcase-card.has-admin-actions:hover .showcase-cover-stats span {
  opacity: 0;
}

.showcase-detail-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid #dcebf6;
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 12%, rgba(30, 164, 242, .13), transparent 30%),
    linear-gradient(135deg, #fff 0%, #f5fbff 100%);
  padding: 28px 32px;
  box-shadow: 0 12px 32px rgba(24, 62, 96, .06);
}

.showcase-detail-copy {
  min-width: 0;
}

.showcase-back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: #60758a;
  font-size: 13px;
  font-weight: 700;
}

.showcase-detail-copy .section-kicker {
  display: block;
  color: #1597e5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.showcase-detail-copy h1 {
  margin: 8px 0 8px;
  color: #12243a;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
}

.showcase-detail-copy > p {
  max-width: 760px;
  margin: 0;
  color: #61778d;
  font-size: 15px;
  line-height: 1.8;
}

.showcase-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
  color: #73869a;
  font-size: 13px;
}

.showcase-detail-meta span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.showcase-detail-meta b {
  color: #168fd5;
  font-size: 17px;
}

.showcase-detail-admin-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.showcase-manage-button,
.showcase-edit-button {
  min-width: 104px;
  justify-content: center;
}

.showcase-edit-card {
  width: min(620px, calc(100vw - 32px));
  margin-top: min(10vh, 92px);
}

.showcase-edit-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: #1597e5;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.showcase-edit-card .field {
  margin-top: 14px;
}

.showcase-edit-card textarea {
  min-height: 116px;
  resize: vertical;
}

.showcase-photo-grid {
  gap: 14px;
}

.showcase-photo-item {
  border: 1px solid #e0eaf2;
  border-radius: 10px;
  background: #eef4f8;
  box-shadow: 0 8px 22px rgba(20, 47, 73, .05);
}

.showcase-photo-open {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}

.showcase-photo-open img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}

.showcase-photo-item:hover .showcase-photo-open img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.showcase-photo-stats {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 3;
  display: flex;
  gap: 6px;
  pointer-events: none;
}

.showcase-photo-stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 48px;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  background: rgba(10, 25, 43, .68);
  color: #fff;
  padding: 5px 8px;
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.showcase-photo-stats b {
  font-weight: 800;
}

.showcase-photo-admin-actions {
  top: 9px;
  right: auto;
  bottom: auto;
  left: 9px;
  z-index: 4;
  justify-content: flex-start;
  height: 30px;
}

.showcase-viewer {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  grid-template-columns: minmax(0, 1fr) 380px;
  background: rgba(7, 15, 25, .96);
  color: #fff;
}

.showcase-viewer.open {
  display: grid;
}

.showcase-viewer-close {
  position: fixed;
  top: 16px;
  right: 396px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(15, 28, 43, .74);
  color: #fff;
  font-size: 25px;
  cursor: pointer;
}

.showcase-viewer-stage {
  position: relative;
  min-width: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 12px;
  padding: 36px 20px;
}

.showcase-viewer-image-wrap {
  position: relative;
  grid-column: 2;
  min-width: 0;
  display: grid;
  place-items: center;
  height: calc(100vh - 72px);
}

.showcase-viewer-image-wrap img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

.showcase-viewer-index {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(8, 20, 34, .7);
  padding: 6px 11px;
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.showcase-viewer-nav {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
  color: #fff;
  cursor: pointer;
}

.showcase-viewer-nav.prev {
  grid-column: 1;
}

.showcase-viewer-nav.next {
  grid-column: 3;
}

.showcase-viewer-nav::before {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  margin: 0 auto;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.showcase-viewer-nav.prev::before {
  transform: translateX(2px) rotate(45deg);
}

.showcase-viewer-nav.next::before {
  transform: translateX(-2px) rotate(225deg);
}

.showcase-viewer-panel {
  min-width: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #e3ebf2;
  background: #fff;
  color: #1a2b40;
  box-shadow: -18px 0 50px rgba(0, 0, 0, .16);
}

.showcase-viewer-panel > header {
  padding: 26px 24px 18px;
}

.showcase-viewer-panel > header > span {
  color: #169ce8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.showcase-viewer-panel h2 {
  margin: 7px 0 6px;
  font-size: 20px;
  line-height: 1.4;
}

.showcase-viewer-panel header p {
  margin: 0;
  color: #718399;
  font-size: 13px;
  line-height: 1.65;
}

.showcase-viewer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid #edf1f5;
  border-bottom: 1px solid #edf1f5;
  padding: 12px 24px;
}

.showcase-viewer-actions > button,
.showcase-viewer-actions > span {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #dfe8ef;
  border-radius: 8px;
  background: #f8fbfd;
  color: #5d7187;
  font-size: 13px;
}

.showcase-viewer-actions > button {
  cursor: pointer;
}

.showcase-viewer-actions > button:hover,
.showcase-viewer-actions > button[aria-pressed="true"] {
  border-color: #ffc2ce;
  background: #fff5f7;
  color: #ef476f;
}

.showcase-viewer-actions > button[aria-pressed="true"] svg {
  fill: currentColor;
}

.showcase-comment-section {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 24px 0;
}

.showcase-comment-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.showcase-comment-heading h3 {
  margin: 0;
  font-size: 15px;
}

.showcase-comment-heading span {
  color: #8696a7;
  font-size: 12px;
}

.showcase-comment-list {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
}

.showcase-comment-empty {
  margin: 28px 0;
  color: #96a4b2;
  font-size: 13px;
  text-align: center;
}

.showcase-comment-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #f0f3f6;
}

.showcase-comment-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, #30a7ed, #20c6b7);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.showcase-comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-comment-content header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.showcase-comment-content strong {
  overflow: hidden;
  color: #263b50;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-comment-content time {
  flex: 0 0 auto;
  color: #9aa7b4;
  font-size: 11px;
}

.showcase-comment-content p {
  margin: 5px 0 0;
  color: #5f7185;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.showcase-comment-form {
  border-top: 1px solid #e9eef3;
  padding: 14px 24px 20px;
}

.showcase-comment-form textarea {
  width: 100%;
  min-height: 72px;
  resize: none;
  border: 1px solid #dce6ee;
  border-radius: 8px;
  background: #f8fbfd;
  padding: 10px 12px;
  color: #263b50;
  font: inherit;
  line-height: 1.55;
}

.showcase-comment-form textarea:focus {
  outline: none;
  border-color: #60b9eb;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(40, 164, 232, .1);
}

.showcase-comment-form > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
}

.showcase-comment-form > div > span {
  color: #8b99a7;
  font-size: 11px;
}

.showcase-comment-form .btn {
  min-width: 88px;
}

.showcase-login-prompt {
  display: block;
  margin: 14px 24px 22px;
  border: 1px solid #cfe8f8;
  border-radius: 8px;
  background: #f2faff;
  padding: 12px;
  color: #168fd5;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 900px) {
  .showcase-detail-head {
    align-items: flex-start;
    padding: 24px;
  }

  .showcase-viewer {
    grid-template-columns: 1fr;
    grid-template-rows: 56vh 44vh;
    overflow-y: auto;
  }

  .showcase-viewer-stage,
  .showcase-viewer-image-wrap {
    height: 56vh;
  }

  .showcase-viewer-stage {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    padding: 18px 8px;
  }

  .showcase-viewer-image-wrap {
    max-height: calc(56vh - 36px);
  }

  .showcase-viewer-panel {
    height: 44vh;
    border-top: 1px solid #e3ebf2;
    border-left: 0;
  }

  .showcase-viewer-panel > header {
    display: none;
  }

  .showcase-viewer-close {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 640px) {
  .showcase-detail-head {
    display: block;
    margin-bottom: 16px;
    border-radius: 10px;
    padding: 20px;
  }

  .showcase-detail-copy h1 {
    font-size: 25px;
  }

  .showcase-detail-admin-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 18px;
  }

  .showcase-manage-button,
  .showcase-edit-button {
    width: 100%;
  }

  .showcase-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .showcase-photo-stats {
    right: 6px;
    bottom: 6px;
    gap: 4px;
  }

  .showcase-photo-stats span {
    min-width: 40px;
    padding: 4px 6px;
    font-size: 11px;
  }

  .showcase-viewer-actions,
  .showcase-comment-section,
  .showcase-comment-form {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-photo-open img {
    transition: none;
  }
}

/* 活动发布草稿 */
.activity-draft-resume {
  width: fit-content;
  margin-top: 10px !important;
  border: 1px solid #cce8f8;
  border-radius: 999px;
  background: #f1faff;
  padding: 6px 12px;
  color: #168fd5 !important;
  font-size: 13px;
  font-weight: 800;
}

.card-meta .activity-card-views {
  margin-left: auto;
  background: transparent;
  color: #8492a5;
  padding-right: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}

.activity-card-views svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.activity-publish-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
  border-top: 1px solid #e8eef4;
  padding-top: 20px;
}

.activity-publish-actions .btn {
  min-width: 132px;
}

.activity-draft-note {
  margin: 10px 0 0;
  color: #74869a;
  text-align: right;
}

.activity-draft-box {
  border-color: #cce8f8;
  background: #f3fbff;
}

@media (max-width: 640px) {
  .activity-publish-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .activity-publish-actions .btn {
    width: 100%;
  }

  .activity-draft-note {
    text-align: left;
  }
}

/* 后台活动内容维护与报名名单 */
.activity-ops-panel-scroll {
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.demand-publish-form.is-submitting .demand-modal-actions {
  pointer-events: none;
  opacity: .72;
}

.activity-ops-panel {
  width: 100%;
  min-width: 0;
}

.activity-ops-table .ops-table-head,
.activity-ops-table .ops-table-row {
  grid-template-columns: minmax(190px, 1.4fr) minmax(145px, .92fr) minmax(105px, .65fr) minmax(205px, 1fr) minmax(96px, .46fr);
}

.activity-ops-table .ops-table-row {
  align-items: start;
}

.ops-action-cell {
  display: grid;
  width: 100%;
  min-width: 0;
  justify-items: end;
}

.ops-action-menu {
  position: relative;
  display: grid;
  justify-items: end;
}

.ops-action-menu:hover,
.ops-action-menu:focus-within {
  z-index: 80;
}

.ops-action-trigger {
  min-width: 92px;
  justify-content: center;
  gap: 8px;
}

.ops-action-trigger span {
  font-size: 12px;
  transition: transform .18s ease;
}

.ops-action-menu:hover .ops-action-trigger span,
.ops-action-menu:focus-within .ops-action-trigger span {
  transform: rotate(180deg);
}

.ops-action-dropdown {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  z-index: 81;
  display: grid;
  width: min(248px, calc(100vw - 32px));
  justify-self: end;
  gap: 12px;
  margin: 0;
  padding: 13px;
  border: 1px solid #dce7f2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(23, 55, 91, .16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.ops-action-menu:hover .ops-action-dropdown,
.ops-action-menu:focus-within .ops-action-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.ops-action-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.ops-action-links a {
  display: grid;
  min-height: 34px;
  place-items: center;
  border: 1px solid #e2eaf3;
  border-radius: 7px;
  color: #315779;
  background: #f7fbff;
  font-size: 12px;
  font-weight: 800;
}

.ops-action-links a:hover {
  border-color: #9fd0f4;
  color: #0875cc;
  background: #edf8ff;
}

.activity-inline-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0;
}

.activity-inline-settings label {
  min-width: 0;
}

.activity-inline-settings label span {
  display: block;
  margin-bottom: 5px;
  color: #718196;
  font-size: 11px;
  font-weight: 800;
}

.activity-inline-settings select {
  width: 100%;
  height: 34px;
  border: 1px solid #dce5ef;
  border-radius: 7px;
  padding: 0 9px;
  outline: none;
  color: #263a52;
  background: #fff;
  font-size: 12px;
}

.activity-inline-settings > small {
  grid-column: 1 / -1;
  margin: 0;
  color: #7a8a9d;
  font-size: 11px;
  line-height: 1.25;
}

.activity-inline-settings.is-saving {
  pointer-events: none;
  opacity: .68;
}

.ops-action-delete-trigger {
  width: 100%;
  min-height: 34px;
  justify-content: center;
  margin-top: 4px;
}

.activity-delete-dialog-card {
  width: min(540px, calc(100vw - 32px));
  margin-top: min(14vh, 120px);
}

.activity-delete-dialog-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  color: #b4233d;
  background: #fff0f3;
  font-size: 12px;
  font-weight: 900;
}

.activity-delete-dialog-card p strong {
  color: #17283d;
}

.activity-delete-reason-field {
  display: grid;
  gap: 8px;
}

.activity-delete-reason-field > span {
  color: #263a52;
  font-size: 13px;
  font-weight: 900;
}

.activity-delete-reason-field > span b {
  margin-left: 5px;
  color: #c82943;
  font-size: 11px;
}

.activity-delete-reason-field textarea {
  width: 100%;
  min-height: 108px;
  resize: vertical;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  padding: 11px 12px;
  outline: none;
  color: #263a52;
  background: #fff;
  font: inherit;
  line-height: 1.6;
}

.activity-delete-reason-field textarea:focus {
  border-color: #5aa9e6;
  box-shadow: 0 0 0 3px rgba(42, 149, 230, .12);
}

.activity-delete-reason-field small {
  color: #7a8a9d;
  font-size: 12px;
  line-height: 1.55;
}

.activity-admin-pagination {
  align-items: center;
  flex-wrap: wrap;
}

.activity-page-count {
  margin-left: 4px;
  color: #718196;
  font-size: 12px;
  font-weight: 800;
}

.admin-page-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-activity-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
  align-items: start;
}

.admin-activity-editor {
  margin-bottom: 0;
}

.admin-editor-section {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border-bottom: 1px solid #e8eef4;
  padding-bottom: 22px;
}

.admin-editor-section + .admin-editor-section {
  padding-top: 6px;
}

.admin-editor-section .ops-panel-head,
.admin-editor-section .media-upload-grid,
.admin-editor-section .time-fields,
.admin-editor-section .time-preview,
.admin-editor-section .field.wide {
  grid-column: 1 / -1;
}

.admin-activity-editor-side {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 14px;
}

.admin-activity-editor-side .ops-panel-head {
  margin-bottom: 0;
}

.admin-editor-side-actions {
  display: grid;
  gap: 10px;
  border-top: 1px solid #e8eef4;
  padding-top: 16px;
}

.admin-editor-actions {
  grid-column: 1 / -1;
}

.admin-signup-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-signup-filter {
  grid-template-columns: minmax(300px, 1fr) auto;
}

.admin-filter-result {
  margin: -2px 0 16px;
  color: #526a82;
  font-size: 13px;
  font-weight: 800;
}

.admin-signup-table {
  min-width: 1380px;
}

.admin-signup-table th,
.admin-signup-table td {
  padding: 13px 12px;
}

.admin-signup-empty {
  border: 1px dashed #cdd9e6;
  border-radius: 8px;
  background: #f8fbfe;
}

@media (max-width: 1180px) {
  .activity-ops-panel-scroll {
    overflow: visible;
  }

  .activity-ops-panel {
    min-width: 0;
  }

  .activity-ops-table .ops-table-head {
    display: none;
  }

  .activity-ops-table .ops-table-row,
  .admin-activity-editor-layout {
    grid-template-columns: 1fr;
  }

  .ops-action-menu {
    justify-items: stretch;
  }

  .ops-action-trigger,
  .ops-action-dropdown {
    width: 100%;
    max-width: none;
  }

  .activity-inline-settings {
    width: 100%;
    max-width: 420px;
  }

  .admin-activity-editor-side {
    position: static;
  }
}

@media (max-width: 720px) {
  .admin-page-actions,
  .admin-signup-metrics,
  .admin-signup-filter,
  .admin-editor-section {
    grid-template-columns: 1fr;
  }

  .admin-page-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-page-actions .btn {
    width: 100%;
  }
}

/* 首页人才推荐卡片 */
.home-talent-grid {
  align-items: start;
}

.home-talent-card {
  min-height: 0;
  align-self: start;
  border: 1px solid #dfe8f1;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 26px rgba(24, 45, 70, .05);
}

.home-talent-card .talent-profile-head {
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 6px;
  align-items: start;
}

.home-talent-card .talent-profile-head em {
  grid-column: 2;
  justify-self: start;
  padding: 4px 8px;
  font-size: 11px;
}

.home-talent-card .talent-profile-head .talent-avatar {
  width: 44px;
  height: 44px;
}

.home-talent-card .talent-profile-head h3 {
  min-height: 44px;
  max-height: 44px;
  display: -webkit-box;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-talent-card .talent-profile-head p {
  min-height: 36px;
  max-height: 36px;
  font-size: 12px;
  line-height: 1.5;
}

.home-talent-card .talent-profile-summary {
  margin-top: 16px;
}

.home-talent-card .talent-profile-bio {
  min-height: 67px;
  max-height: 67px;
  font-size: 14px;
  line-height: 1.6;
}

.home-talent-card .talent-profile-tags {
  min-height: 58px;
  margin-top: 14px;
}

.home-talent-card .talent-profile-meta {
  min-height: 51px;
  margin-top: 14px;
}

.home-talent-card .talent-profile-meta strong {
  color: #116fc0;
  font-size: 17px;
}

.home-talent-card .talent-profile-meta .talent-availability strong {
  font-size: 13px;
}

.home-talent-card .talent-profile-meta small {
  font-size: 11px;
}

.home-talent-card .talent-profile-open {
  margin-top: 13px;
  padding: 9px 11px;
  font-size: 12px;
}

/* 后台人才管理 */
.talent-admin-create-form {
  border: 1px solid #e8eef4;
  border-radius: 9px;
  background: #f9fcff;
  padding: 18px;
}

.talent-admin-create-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.talent-admin-create-grid .wide {
  grid-column: span 2;
}

.talent-admin-create-grid textarea {
  min-height: 108px;
  resize: vertical;
}

.talent-admin-create-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  border-top: 1px solid #e4ebf2;
  padding-top: 16px;
}

.talent-admin-create-actions span {
  color: #708196;
  font-size: 12px;
  line-height: 1.6;
}

.talent-admin-edit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
  align-items: start;
}

.talent-admin-edit-form {
  min-width: 0;
}

.talent-admin-edit-form .talent-admin-bio-field {
  grid-column: 1 / -1;
}

.talent-admin-edit-form textarea {
  min-height: 180px;
  resize: vertical;
}

.talent-admin-edit-side {
  position: sticky;
  top: 88px;
}

.talent-admin-edit-side .field + .field {
  margin-top: 14px;
}

.talent-admin-account-card {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #e2ebf3;
  border-radius: 10px;
  background: #f7fbff;
}

.talent-admin-account-card span,
.talent-admin-account-card small {
  color: #728398;
  font-size: 12px;
  line-height: 1.55;
}

.talent-admin-account-card strong {
  color: #153c61;
  font-size: 15px;
}

.talent-admin-edit-side-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.talent-admin-filter {
  grid-template-columns: 150px 150px minmax(260px, 1fr) auto;
}

.talent-admin-table .ops-table-head,
.talent-admin-table .ops-table-row {
  grid-template-columns: minmax(160px, 1fr) minmax(190px, 1.1fr) minmax(120px, .7fr) minmax(320px, 1.35fr);
}

.talent-admin-table .ops-table-row > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
  .talent-admin-edit-layout {
    grid-template-columns: 1fr;
  }

  .talent-admin-edit-side {
    position: static;
  }

  .talent-admin-create-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .talent-admin-table .ops-table-head {
    display: none;
  }

  .talent-admin-table .ops-table-row,
  .talent-admin-filter {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-talent-card {
    min-height: 0;
  }

  .home-talent-card .talent-profile-tags {
    min-height: 0;
  }

  .talent-admin-create-grid {
    grid-template-columns: 1fr;
  }

  .talent-admin-create-grid .wide {
    grid-column: auto;
  }

  .talent-admin-create-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* 最终覆盖：发布列表与报名管理组件位于历史样式之后，避免旧规则反向覆盖 */
.member-post-section { border-radius: 14px; box-shadow: 0 10px 30px rgba(27, 72, 112, .05); }
.member-post-section-head { padding: 18px 20px; background: linear-gradient(135deg, #fbfdff, #f4f9fd); }
.member-post-row { min-height: 92px; grid-template-columns: minmax(230px, 1fr) minmax(210px, .72fr) 260px; gap: 22px; padding: 16px 20px; }
.member-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 260px; gap: 8px; }
.member-action-grid .btn { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; height: 34px; padding: 0 10px; white-space: nowrap; }
.signup-manage-list { gap: 14px; padding-top: 16px; }
.signup-manage-item { grid-template-columns: 1fr; gap: 0; align-items: stretch; padding: 0; overflow: hidden; border: 1px solid #dce8f2; border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(30, 77, 116, .04); }
.refund-review-panel { grid-template-columns: 1fr; gap: 14px; }
.refund-review-panel .refund-request-summary { grid-column: auto; }
.refund-review-form { display: grid; grid-column: auto; grid-template-columns: minmax(320px, 1fr) auto; gap: 10px; align-items: end; margin: 0; }
.refund-review-form input { min-height: 42px; width: 100%; padding: 0 12px; border: 1px solid #d5e1ed; border-radius: 9px; background: #fff; }

@media (max-width: 1200px) {
  .member-post-row { grid-template-columns: minmax(0, 1fr) 260px; }
  .member-post-main { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .member-post-row { grid-template-columns: 1fr; }
  .member-post-main { grid-column: auto; }
  .member-action-grid { width: 100%; }
  .signup-manage-item { grid-template-columns: 1fr; }
  .refund-review-form { grid-template-columns: 1fr; }
}
