:root {
  --nb-red: #ff2442;
  --nb-red-soft: #fff0f2;
  /* Extension/View+.swift jobListHeaderBackground 工作列表头部墨绿 */
  --nb-brand-green: #132a20;
  --nb-page-bg: #f7f7f7;
  --nb-bg: #ffffff;
  --nb-sidebar: var(--nb-page-bg);
  --nb-text: #333333;
  --nb-muted: #999999;
  --nb-border: #eeeeee;
  /* 与 Extension/View+.swift、JobTypeColorScheme 一致 */
  --nb-price-recruiting: #13b86b;
  --nb-price-seeking: #c99400;
  --nb-type-recruiting-bg: rgba(64, 192, 134, 0.12);
  --nb-type-seeking-bg: rgba(255, 232, 77, 0.35);
  --nb-sidebar-w: 252px;
  --nb-sidebar-pad-left: 28px;
  --nb-sidebar-pad-right: 20px;
  --nb-content-pad-x: 40px;
  --nb-header-h: 72px;
  --nb-radius: 12px;
  --nb-card-radius: 10px;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--nb-page-bg);
  color: var(--nb-text);
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.nb-shell {
  display: flex;
  min-height: 100vh;
}

.nb-sidebar {
  width: var(--nb-sidebar-w);
  flex-shrink: 0;
  padding: 32px var(--nb-sidebar-pad-right) 36px var(--nb-sidebar-pad-left);
  background: var(--nb-page-bg);
  border-right: none;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.nb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 36px;
  margin-left: 2px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--nb-brand-green);
  letter-spacing: 0.02em;
}

.nb-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.nb-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 999px;
  color: var(--nb-text);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
}

.nb-nav-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nb-nav-item.active {
  background: #e8e8e8;
  font-weight: 600;
}

.nb-nav-item svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.nb-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nb-sidebar-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 6px;
  padding-bottom: 4px;
}

.nb-sidebar-auth {
  margin-top: auto;
  padding-top: 8px;
}

.nb-auth-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(19, 42, 32, 0.06);
  font-size: 14px;
}

.nb-auth-bar.logged-in .nb-auth-status {
  color: var(--nb-brand-green);
  font-weight: 600;
}

.nb-auth-link {
  color: var(--nb-muted);
  font-size: 13px;
  padding: 4px 0;
}

.nb-auth-link:hover {
  color: var(--nb-text);
}

.nb-auth-login-btn {
  width: 100%;
}

.nb-header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--nb-brand-green);
  white-space: nowrap;
  text-decoration: none;
}

button.nb-header-login {
  border: none;
  cursor: pointer;
  font: inherit;
}

.nb-header-login.is-logged-in {
  color: var(--nb-muted);
  background: rgba(19, 42, 32, 0.06);
  font-weight: 500;
}

.nb-header-auth {
  flex-shrink: 0;
}

.nb-header,
.nb-detail-header {
  position: relative;
}

.nb-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
}

.nb-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(400px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 24px;
  z-index: 201;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.nb-modal h2 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--nb-brand-green);
}

.nb-modal-desc {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.65;
  color: #666;
}

.nb-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--nb-muted);
}

.nb-modal-close:hover {
  background: #f3f3f3;
  color: var(--nb-text);
}

.nb-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.nb-field {
  display: block;
  margin-bottom: 16px;
}

.nb-field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nb-text);
}

.nb-phone-row,
.nb-code-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nb-phone-prefix {
  flex-shrink: 0;
  padding: 0 12px;
  height: 44px;
  line-height: 44px;
  background: #f5f5f5;
  border-radius: 10px;
  font-size: 15px;
  color: #555;
}

.nb-phone-row input,
.nb-code-row input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--nb-border);
  border-radius: 10px;
  font-size: 16px;
}

.nb-phone-row input:focus,
.nb-code-row input:focus {
  outline: none;
  border-color: var(--nb-brand-green);
}

.nb-code-row .nb-btn-outline {
  flex-shrink: 0;
  white-space: nowrap;
  min-width: 108px;
}

.nb-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--nb-muted);
}

.nb-agree input {
  margin-top: 3px;
  flex-shrink: 0;
}

.nb-agree a {
  color: var(--nb-brand-green);
  text-decoration: underline;
}

.nb-login-error {
  margin: 0 0 12px;
  font-size: 13px;
  color: #c0392b;
}

.nb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.15s;
}

.nb-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.nb-btn-primary {
  background: var(--nb-brand-green);
  color: #fff;
}

.nb-btn-primary:hover:not(:disabled) {
  opacity: 0.92;
}

.nb-btn-ghost {
  background: #f3f3f3;
  color: var(--nb-text);
}

.nb-btn-outline {
  border: 1px solid var(--nb-border);
  background: #fff;
  color: var(--nb-brand-green);
}

.nb-btn-block {
  width: 100%;
  height: 46px;
}

.nb-auth-prompt .nb-modal-actions {
  margin-top: 4px;
}

.nb-auth-prompt .nb-modal-actions .nb-btn-primary {
  text-decoration: none;
}

.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 48px);
  padding: 32px var(--nb-content-pad-x) 48px;
}

.login-card {
  width: min(400px, 100%);
  padding: 36px 28px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--nb-border);
}

.login-card-logo {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  margin: 0 auto 16px;
}

.login-card h1 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 22px;
  color: var(--nb-brand-green);
}

.login-card-desc {
  margin: 0 0 24px;
  text-align: center;
  font-size: 14px;
  color: var(--nb-muted);
  line-height: 1.6;
}

.login-card-foot {
  margin: 20px 0 0;
  text-align: center;
  font-size: 14px;
}

.login-card-foot a {
  color: var(--nb-muted);
  text-decoration: underline;
}

.login-card-foot a:hover {
  color: var(--nb-text);
}

.nb-main-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--nb-bg);
}

.nb-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px var(--nb-content-pad-x) 8px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.nb-header-bar {
  display: flex;
  align-items: center;
  width: min(920px, 100%);
  gap: 14px;
}

.nb-user-avatar-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(19, 42, 32, 0.12);
  background: #e8edea;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.nb-user-avatar-btn:hover {
  border-color: rgba(19, 42, 32, 0.28);
  box-shadow: 0 2px 10px rgba(19, 42, 32, 0.12);
}

.nb-user-avatar-btn .nb-avatar-default {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #dfe8e3 0%, #c9d6cf 100%);
  color: var(--nb-brand-green);
}

.nb-user-avatar-btn .nb-avatar-default svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
  opacity: 0.92;
}

.nb-user-avatar-btn .nb-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#search-form {
  flex: 1;
  min-width: 0;
  width: auto;
  max-width: none;
  display: flex;
  align-items: center;
  background: #f3f3f3;
  border-radius: 999px;
  padding: 0 18px;
  height: 48px;
  border: 1px solid transparent;
}

#search-form:focus-within {
  background: #fff;
  border-color: var(--nb-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

#search-form svg {
  color: var(--nb-muted);
  flex-shrink: 0;
}

#search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  padding: 0 12px;
  font-size: 15px;
}

.nb-content {
  padding: 4px var(--nb-content-pad-x) 56px;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.nb-tabs {
  display: flex;
  gap: 12px;
  padding: 12px 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nb-tabs button {
  font-size: 16px;
  color: var(--nb-muted);
  padding: 8px 18px;
  white-space: nowrap;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}

.nb-tabs button:hover {
  color: var(--nb-text);
  background: #f5f5f5;
}

.nb-tabs button.active {
  color: var(--nb-text);
  font-weight: 600;
  background: #f0f0f0;
}

#feed-grid {
  column-count: 2;
  column-gap: 16px;
}

@media (min-width: 900px) {
  #feed-grid {
    column-count: 3;
  }
}

@media (min-width: 1200px) {
  #feed-grid {
    column-count: 4;
  }
}

@media (min-width: 1600px) {
  #feed-grid {
    column-count: 5;
  }
}

.feed-card {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  border-radius: var(--nb-card-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
}

.feed-card-link {
  display: block;
}

.feed-card-media {
  position: relative;
  background: #f2f2f2;
  overflow: hidden;
  border-radius: var(--nb-card-radius) var(--nb-card-radius) 0 0;
}

.feed-card-media img {
  width: 100%;
  display: block;
  min-height: 120px;
  object-fit: cover;
}

.feed-card-media img.img-placeholder,
img.img-placeholder {
  min-height: 160px;
  background: linear-gradient(160deg, #f0f0f0, #e8e8e8);
}

.feed-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
}

.feed-card-body {
  padding: 10px 10px 12px;
}

.feed-card-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.price {
  font-weight: 700;
  font-size: 17px;
}

.price .yen {
  font-size: 12px;
}

.price-recruiting {
  color: var(--nb-price-recruiting);
}

.price-seeking {
  color: var(--nb-price-seeking);
}

.feed-card-badge.type-recruiting {
  background: rgba(0, 0, 0, 0.45);
}

.feed-card-badge.type-seeking {
  background: rgba(160, 120, 0, 0.75);
}

.price.open-ended {
  font-size: 14px;
}

.feed-card-publisher {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 12px;
  color: var(--nb-muted);
}

.feed-card-publisher .publisher-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 72px;
}

.avatar-sm,
.avatar-md {
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
  flex-shrink: 0;
}

#feed-status {
  text-align: center;
  padding: 48px 24px;
  color: var(--nb-muted);
  font-size: 15px;
  line-height: 1.6;
}

#feed-status.error {
  color: #c0392b;
}

#feed-sentinel {
  height: 1px;
}

/* 详情页 */
.nb-detail-header {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  gap: 8px;
  padding: 16px var(--nb-content-pad-x);
  border-bottom: 1px solid var(--nb-border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.nb-detail-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.nb-detail-header .nb-back {
  justify-self: start;
}

.nb-detail-header .page-title {
  justify-self: center;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.nb-detail-header .nb-detail-fav-btn {
  justify-self: end;
}

.nb-detail-fav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--nb-muted);
  background: #f5f5f5;
  transition: background 0.15s, color 0.15s;
}

.nb-detail-fav-btn:hover {
  background: #eee;
}

.nb-detail-fav-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.nb-detail-fav-btn.active {
  color: var(--nb-red);
  background: var(--nb-red-soft);
}

.nb-detail-fav-btn.active svg {
  fill: var(--nb-red);
  stroke: var(--nb-red);
}

.nb-back {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--nb-text);
  font-size: 15px;
}

.detail-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--nb-content-pad-x) 40px;
}

.detail-layout-body {
  background: var(--nb-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--nb-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.detail-content-col {
  min-width: 0;
}

.detail-banner {
  background: var(--nb-red-soft);
  color: #b4233a;
  font-size: 13px;
  padding: 10px 16px;
  text-align: center;
}

.detail-gallery {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px;
  scroll-snap-type: x mandatory;
}

.detail-slide {
  flex: 0 0 88%;
  scroll-snap-align: center;
  border-radius: var(--nb-radius);
  overflow: hidden;
  background: #f2f2f2;
}

.detail-slide img {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
}

.detail-gallery-empty {
  padding: 48px;
  text-align: center;
  color: var(--nb-muted);
  width: 100%;
}

.detail-main {
  padding: 16px 20px 24px;
}

.detail-type-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.detail-type-pill.type-recruiting {
  background: var(--nb-type-recruiting-bg);
  color: var(--nb-price-recruiting);
}

.detail-type-pill.type-seeking {
  background: var(--nb-type-seeking-bg);
  color: #8a6500;
}

.detail-main h1 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.3;
}

.detail-salary-row {
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.detail-salary-row .price {
  font-size: 26px;
}

.detail-units {
  font-size: 14px;
  color: var(--nb-muted);
}

.detail-facts {
  margin: 0 0 24px;
  padding: 16px;
  background: #fafafa;
  border-radius: var(--nb-radius);
}

.detail-facts > div {
  display: flex;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
}

.detail-facts dt {
  width: 48px;
  color: var(--nb-muted);
  flex-shrink: 0;
}

.detail-facts dd {
  margin: 0;
  flex: 1;
}

.detail-main h2 {
  font-size: 16px;
  margin: 20px 0 8px;
}

.detail-text {
  font-size: 15px;
  line-height: 1.65;
  color: #444;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-tags span {
  font-size: 13px;
  padding: 4px 12px;
  background: #f5f5f5;
  border-radius: 999px;
}

.detail-publisher {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--nb-border);
  margin-top: 8px;
}

.detail-publisher-info {
  flex: 1;
  min-width: 0;
}

.detail-publisher-info strong {
  display: block;
  font-size: 16px;
}

.detail-publisher-info span {
  font-size: 13px;
  color: var(--nb-muted);
}

.btn-outline {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--nb-red);
  color: var(--nb-red);
  font-weight: 600;
}

.btn-outline.active {
  background: var(--nb-red-soft);
}

.about-page {
  max-width: 480px;
  margin: 56px auto;
  text-align: center;
  padding: 32px var(--nb-content-pad-x) 48px;
}

.about-page .about-logo-img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.about-page h1 {
  margin: 0 0 8px;
  color: var(--nb-brand-green);
}

.about-page .muted {
  color: var(--nb-muted);
  font-size: 14px;
}

.about-links {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-links a {
  color: var(--nb-blue);
  font-size: 16px;
}

.nb-toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%) translateY(12px);
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 100;
  max-width: 90vw;
  text-align: center;
}

.nb-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--nb-muted);
}

.empty.error {
  color: #c0392b;
}

@media (max-width: 768px) {
  :root {
    --nb-content-pad-x: 16px;
  }

  .nb-sidebar {
    display: none;
  }

  .nb-header {
    padding: 12px var(--nb-content-pad-x) 4px;
  }

  #search-form {
    height: 44px;
  }

  .nb-tabs {
    padding: 8px 0 14px;
    gap: 8px;
  }

  .nb-tabs button {
    padding: 6px 14px;
    font-size: 15px;
  }

  .nb-mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--nb-border);
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    z-index: 30;
    justify-content: space-around;
  }

  .nb-content {
    padding-bottom: 72px;
  }

  .nb-more-fab {
    display: flex;
    bottom: calc(72px + env(safe-area-inset-bottom));
  }
}

@media (min-width: 769px) {
  .nb-mobile-nav {
    display: none;
  }
}

@media (min-width: 1200px) {
  :root {
    --nb-content-pad-x: 48px;
    --nb-sidebar-pad-left: 32px;
    --nb-sidebar-pad-right: 24px;
  }

  #search-form {
    width: min(720px, 100%);
  }
}

@media (min-width: 900px) {
  .detail-layout-body {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
  }

  .detail-gallery {
    flex-direction: column;
    overflow-x: visible;
    overflow-y: auto;
    padding: 20px;
    max-height: none;
    scroll-snap-type: none;
  }

  .detail-slide {
    flex: none;
    width: 100%;
    scroll-snap-align: unset;
  }

  .detail-slide + .detail-slide {
    margin-top: 12px;
  }

  .detail-slide img {
    max-height: 560px;
    border-radius: var(--nb-radius);
  }

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

  .detail-publisher {
    padding: 16px 28px 24px;
  }
}

.nb-mobile-nav a {
  font-size: 12px;
  color: var(--nb-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 16px;
}

.nb-mobile-nav a.active {
  color: var(--nb-red);
  font-weight: 600;
}

/* 移动端右下角「更多」浮动按钮（桌面用侧栏入口） */
.nb-more-fab {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 40;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--nb-bg);
  color: var(--nb-text);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--nb-border);
  transition: box-shadow 0.15s, background 0.15s;
}

.nb-more-fab:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

.nb-more-fab svg {
  display: block;
}

.nb-nav-item.is-menu-open,
.nb-more-fab.is-menu-open {
  background: #e8e8e8;
  font-weight: 600;
}

.nb-more-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: transparent;
}

.nb-more-popover {
  position: fixed;
  z-index: 46;
  background: var(--nb-bg);
  border-radius: 16px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 6px 0 8px;
  animation: nb-more-pop-in 0.18s ease;
}

@keyframes nb-more-pop-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nb-more-block {
  padding: 2px 0;
}

.nb-more-block-label {
  margin: 0;
  padding: 10px 18px 4px;
  font-size: 12px;
  color: var(--nb-muted);
  font-weight: 400;
}

.nb-more-sep {
  height: 1px;
  margin: 6px 14px;
  background: #f0f0f0;
}

.nb-more-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  font-size: 15px;
  color: var(--nb-text);
  text-align: left;
}

.nb-more-row:hover {
  background: #f7f7f7;
}

.nb-more-chevron {
  flex-shrink: 0;
  color: #c2c2c2;
  order: 2;
  margin-left: auto;
}

.nb-more-row-link {
  gap: 0;
}

.nb-more-row-link span {
  flex: 1;
}

.nb-more-row-plain {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.nb-more-row-plain span:first-child {
  flex-shrink: 0;
  margin-right: 12px;
}

.nb-more-meta {
  flex: 1;
  min-width: 0;
  text-align: right;
  font-size: 13px;
  color: var(--nb-muted);
  word-break: break-all;
}

a.nb-more-row-plain .nb-more-meta {
  color: var(--nb-blue);
}

body.nb-page-job .nb-more-fab {
  bottom: calc(88px + env(safe-area-inset-bottom));
}

/* --- 合作弹窗 --- */
.nb-coop-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: transparent;
}

.nb-coop-popover {
  position: fixed;
  z-index: 46;
  background: var(--nb-bg);
  border-radius: 16px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 8px 0 10px;
  animation: nb-more-pop-in 0.18s ease;
}

.nb-coop-title {
  margin: 0;
  padding: 8px 18px 6px;
  font-size: 13px;
  color: var(--nb-muted);
  font-weight: 500;
}

.nb-coop-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  font-size: 15px;
  color: var(--nb-text);
}

.nb-coop-row:hover {
  background: #f7f7f7;
}

.nb-coop-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--nb-red);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nb-nav-cooperation,
.nb-mobile-cooperation {
  width: 100%;
  text-align: left;
}

.nb-nav-item.is-menu-open,
.nb-mobile-cooperation.is-menu-open {
  background: #e8e8e8;
  font-weight: 600;
}

/* --- 发布表单 --- */
.nb-post-page {
  max-width: 640px;
}

.nb-post-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 48px;
}

.nb-post-section {
  background: var(--nb-bg);
  border-radius: var(--nb-radius);
  padding: 16px 18px;
}

.nb-label {
  display: block;
  font-size: 13px;
  color: var(--nb-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.nb-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--nb-border);
  border-radius: 10px;
  font: inherit;
  background: #fafafa;
}

.nb-input:focus {
  outline: none;
  border-color: #ccc;
  background: #fff;
}

.nb-textarea {
  resize: vertical;
  min-height: 96px;
}

.nb-segment {
  display: flex;
  gap: 8px;
}

.nb-segment button {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  background: #f0f0f0;
  color: var(--nb-muted);
  font-weight: 500;
}

.nb-segment button.active {
  background: var(--nb-brand-green);
  color: #fff;
}

.nb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nb-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: #f0f0f0;
  font-size: 14px;
  color: var(--nb-text);
}

.nb-pill.active {
  background: var(--nb-brand-green);
  color: #fff;
}

.nb-picker-btn {
  text-align: left;
  cursor: pointer;
}

.nb-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 8px;
}

.nb-post-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.nb-post-submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
}

.nb-post-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.nb-post-img {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
}

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

.nb-post-img-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.nb-upload-label {
  display: inline-flex;
  cursor: pointer;
}

.nb-sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 52;
  width: min(480px, 100%);
  max-height: 70vh;
  overflow: auto;
  background: var(--nb-bg);
  border-radius: 16px 16px 0 0;
  padding: 20px 16px 32px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
}

.nb-sheet h2 {
  margin: 0 0 12px;
  font-size: 17px;
}

.nb-business-group-title {
  margin: 12px 0 8px;
  font-size: 13px;
  color: var(--nb-muted);
}

.nb-business-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nb-chip {
  padding: 8px 12px;
  border-radius: 8px;
  background: #f5f5f5;
  font-size: 14px;
}

.nb-chip:hover {
  background: #ebebeb;
}

.nb-header-spacer {
  width: 48px;
}

/* --- 订单列表 --- */
.nb-order-tabs {
  margin-bottom: 12px;
}

.nb-orders-list,
.nb-myjobs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nb-list-status {
  text-align: center;
  color: var(--nb-muted);
  font-size: 13px;
  padding: 12px 0;
}

.nb-order-card {
  background: var(--nb-bg);
  border-radius: var(--nb-radius);
  padding: 14px 16px;
}

.nb-order-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.nb-order-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.nb-order-meta {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--nb-muted);
}

.nb-order-status {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

.nb-order-status.status-done {
  background: rgba(19, 184, 107, 0.12);
  color: #0d9f5a;
}

.nb-order-status.status-active {
  background: rgba(61, 139, 253, 0.12);
  color: #2a6fd6;
}

.nb-order-status.status-warn {
  background: rgba(201, 148, 0, 0.15);
  color: #a67c00;
}

.nb-order-status.status-danger {
  background: rgba(255, 36, 66, 0.1);
  color: var(--nb-red);
}

.nb-order-status.status-default {
  background: #f0f0f0;
  color: var(--nb-muted);
}

.nb-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nb-btn-sm {
  padding: 7px 12px;
  font-size: 13px;
  border-radius: 8px;
}

.nb-btn-danger {
  color: var(--nb-red);
  border: 1px solid rgba(255, 36, 66, 0.35);
  background: #fff;
}

.nb-btn-danger:hover {
  background: var(--nb-red-soft);
}

.nb-empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--nb-muted);
}

.nb-empty-title {
  font-size: 16px;
  color: var(--nb-text);
  margin: 8px 0 4px;
}

.nb-empty-hint {
  font-size: 13px;
  margin: 0;
}

.nb-myjob-card {
  display: flex;
  gap: 12px;
  background: var(--nb-bg);
  border-radius: var(--nb-radius);
  overflow: hidden;
  padding: 10px;
}

.nb-myjob-media {
  position: relative;
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
}

.nb-myjob-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nb-myjob-body {
  flex: 1;
  min-width: 0;
}

.nb-myjob-body h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.nb-myjob-status {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--nb-muted);
}

.nb-myjob-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nb-order-modal {
  max-width: 400px;
}

.nb-review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.nb-star {
  font-size: 28px;
  color: #ddd;
  padding: 0 2px;
}

.nb-star.active {
  color: #ffb800;
}

.nb-mobile-nav .nb-mobile-cooperation {
  flex: 1;
  border: none;
  background: none;
  font: inherit;
  color: var(--nb-muted);
  padding: 8px 4px;
  font-size: 12px;
}

.nb-mobile-nav .nb-mobile-cooperation.active {
  color: var(--nb-brand-green);
  font-weight: 600;
}

@media (max-width: 768px) {
  .nb-post-row-2 {
    grid-template-columns: 1fr;
  }
}

