.save-editor-page {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: none;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #e2e8f0;
}
.save-editor-page.is-open { display: block; }
body.save-editor-open .universal-modal { z-index: 13050; }

.save-editor-shell {
  display: flex;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.save-editor-page .sidebar-overlay {
  display: none;
}

.save-editor-page .save-editor-sidebar {
  min-height: 0;
  overflow: hidden;
}

.save-editor-page .save-editor-sidebar .sidebar-header {
  flex-shrink: 0;
}

.save-editor-page .sidebar:not(.expanded) .save-editor-nav-fold {
  height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.save-editor-nav {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.save-editor-nav .nav-item {
  width: 100%;
}

.save-editor-nav-group,
.save-editor-nav-fold {
  font-size: 11px;
  color: #64748b;
  margin: 16px 8px 8px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
}

.save-editor-nav-fold {
  display: flex;
  width: calc(100% - 16px);
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 8px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: default;
  color: #64748b;
}

.save-editor-nav-fold-caret {
  display: none;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.save-editor-nav-fold.is-open .save-editor-nav-fold-caret {
  transform: rotate(0deg);
}

.save-editor-nav-fold:not(.is-open) .save-editor-nav-fold-caret {
  transform: rotate(-90deg);
}

.save-editor-nav-section.is-collapsed {
  display: block;
}

.save-editor-page .sidebar.expanded .save-editor-nav-group,
.save-editor-page .sidebar.expanded .save-editor-nav-fold {
  opacity: 1;
}

.save-editor-page .header-title {
  margin: 0;
}

.save-editor-page-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
}

.save-editor-page-body.is-hub {
  padding: 0;
}

.save-editor-main {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 96px;
}

.save-editor-page-body.is-hub .save-editor-main {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

.save-editor-fabs {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 8100;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.save-editor-page.is-open .save-editor-fabs {
  display: flex;
}

.save-editor-fab {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.save-editor-fab:hover {
  transform: scale(1.08);
}

.save-editor-fab-back {
  background: linear-gradient(135deg, #64748b, #475569);
}

.save-editor-fab-save {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.35);
}

.save-editor-fab-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.8);
}
.save-editor-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.save-editor-chip {
  background: rgba(251, 191, 36, .12);
  border: 1px solid rgba(251, 191, 36, .22);
  color: #fde68a;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
}
.save-editor-card {
  background: rgba(30, 41, 59, .72);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
}
.save-editor-card h3 { margin: 0 0 6px; font-size: 16px; }
.save-editor-note { font-size: 13px; color: #94a3b8; margin: 0 0 14px; line-height: 1.5; }
.save-editor-fields {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.save-editor-field-group {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  color: #e2e8f0;
  font-weight: 600;
}
.save-editor-field-group:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.save-editor-field.is-wide {
  grid-column: 1 / -1;
}
.save-editor-field-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(68px, 0.55fr);
  gap: 8px;
}
.save-editor-field-pair select,
.save-editor-field-pair input {
  width: 100%;
  min-width: 0;
}
.save-editor-field label {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 6px;
}
.save-editor-field input,
.save-editor-field select {
  width: 100%;
  background: rgba(15,23,42,.8);
  border: 1px solid rgba(255,255,255,.1);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
}
.save-editor-multi {
  max-height: 240px;
  overflow: auto;
  background: rgba(15,23,42,.8);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 8px 10px;
}
.save-editor-multi-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-size: 13px;
  padding: 6px 4px;
  cursor: pointer;
}
.save-editor-multi-item input {
  width: auto;
  margin: 0;
}
.save-editor-field input.dirty { border-color: #f59e0b; }
.save-editor-field.is-missing input { opacity: .5; }
.save-editor-field-cap { font-size: 11px; color: #64748b; margin-top: 4px; }
.save-editor-actions { display: flex; gap: 10px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.save-editor-bag table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.save-editor-bag th,
.save-editor-bag td {
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 8px 6px;
  text-align: left;
}
.save-editor-bag th { color: #94a3b8; font-weight: 600; }
.save-editor-bag input {
  width: 100%;
  background: rgba(15,23,42,.8);
  border: 1px solid rgba(255,255,255,.1);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
}
.save-editor-grad-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.save-editor-grad-table th,
.save-editor-grad-table td {
  padding: 8px 6px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-align: left;
}
.save-editor-grad-table .to { color: #86efac; }
/* 背包 hub：对齐造梦4一键日常 inventory 布局 */
.save-editor-page .se-inventory-hub.inventory-container {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  margin: 0;
}

.save-editor-page .se-inventory-hub .inventory-header {
  padding: 24px 24px 0;
  background: rgba(30, 41, 59, 0.6);
}

.save-editor-page .se-inventory-hub .inventory-title {
  margin: 0;
  font-size: 18px;
  color: #e2e8f0;
}

.save-editor-page .se-inventory-hub .inventory-tabs {
  margin: 24px 24px 0;
  padding: 0;
}

.save-editor-page .se-inventory-hub .sub-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 12px 24px;
  margin: 0;
  background: rgba(30, 41, 59, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.save-editor-page .se-inventory-hub .sub-tab-btn {
  padding: 10px 16px;
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 10px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.save-editor-page .se-inventory-hub .sub-tab-btn:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.save-editor-page .se-inventory-hub .sub-tab-btn.active {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-color: #3b82f6;
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.save-editor-page .se-inventory-hub .sub-tabs.se-hub-l3 {
  padding-top: 0;
  background: rgba(15, 23, 42, 0.35);
}

.save-editor-page .se-inventory-hub .sub-tabs.se-hub-l3 .sub-tab-btn {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12px;
}

.save-editor-page .se-inventory-hub .sub-tabs.se-hub-l4 {
  padding-top: 0;
  background: rgba(2, 6, 23, 0.28);
}

.save-editor-page .se-inventory-hub .sub-tabs.se-hub-l4 .sub-tab-btn {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
}

.save-editor-page .se-inventory-hub .sub-tabs.se-hub-back {
  padding-top: 0;
}

.save-editor-page .se-inventory-hub .sub-tabs.se-hub-back .sub-tab-btn {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12px;
}

.save-editor-page .se-inventory-hub .tab-content-container {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.save-editor-page .se-inventory-hub .tab-content {
  flex: 1;
  min-height: 0;
  padding: 24px;
  overflow: auto;
}

.save-editor-page .save-editor-bag {
  min-height: 180px;
}

.save-editor-page .se-inventory-hub .empty-inventory {
  min-height: 280px;
}

.save-editor-page .se-wear-board {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.save-editor-page .se-bag-block + .se-bag-block {
  margin-top: 24px;
  padding-top: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.save-editor-page .se-bag-block-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
}

.save-editor-page .se-wear-row {
  display: grid;
  grid-template-columns: repeat(var(--se-wear-cols, 4), minmax(148px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.save-editor-page .se-wear-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 10px 12px;
  min-height: 196px;
}

.save-editor-page .se-wear-card .se-wear-media {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 64px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.6);
  box-shadow: inset 0 0 0 2px var(--se-wear-q, rgba(148, 163, 184, 0.35));
}

.save-editor-page .se-wear-card .se-wear-pic {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 8px;
}

.save-editor-page .se-wear-card.is-title .se-wear-media {
  width: 100%;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 8px;
}

.save-editor-page .se-wear-card.is-title .se-wear-pic {
  width: calc(100% - 8px) !important;
  height: 28px !important;
  max-width: 100%;
  max-height: 28px;
}

.save-editor-page .se-wear-card .se-wear-meta {
  width: 100%;
  min-width: 0;
}

.save-editor-page .se-wear-card .se-wear-name {
  font-size: 13px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.save-editor-page .se-wear-card .se-wear-slot {
  display: inline-block;
  margin-bottom: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 16px;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.16);
}

.save-editor-page .se-wear-card .item-name {
  font-size: 13px;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.save-editor-page .se-wear-card .item-actions {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  gap: 6px;
}
.save-editor-page .se-wear-card.is-pet {
  min-height: 292px;
  padding-bottom: 10px;
}
.save-editor-page .se-wear-card .se-pet-specials {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  margin: 8px 0 10px;
}
.save-editor-page .se-pet-specials-cap {
  font-size: 11px;
  line-height: 16px;
  color: #93c5fd;
  text-align: center;
}
.save-editor-page .se-pet-specials-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.save-editor-page .se-wear-card .se-pet-specials .se-pet-worn-slot {
  min-width: 0;
}
.save-editor-page .se-wear-card .se-pet-specials .se-pet-worn-slot span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.save-editor-page .se-wear-card .item-actions.se-wear-acts {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.save-editor-page .se-wear-acts-row {
  display: flex;
  justify-content: stretch;
  flex-wrap: nowrap;
  gap: 6px;
}
.save-editor-page .se-wear-acts-row .action-btn {
  flex: 1 1 0;
  min-width: 0;
}

.save-editor-page .se-wear-card .item-actions .action-btn {
  padding: 5px 10px;
  font-size: 12px;
}

.save-editor-page .se-wear-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #94a3b8;
}

.save-editor-page .se-bag-toolbar {
  margin-bottom: 12px;
  padding: 14px 16px;
}

.save-editor-page .se-jtsj-lead {
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.35);
}

.save-editor-page .se-jtsj-lead-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 10px;
}

.save-editor-page .se-jtsj-lead-top label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #94a3b8;
}

.save-editor-page .se-jtsj-pick {
  min-width: 220px;
  max-width: 360px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #0f172a;
  color: #e2e8f0;
}

.save-editor-page .se-jtsj-lead-name {
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
}

.save-editor-page .se-jtsj-lead-name span {
  margin-left: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #f59e0b;
}

.save-editor-page .se-jtsj-attrs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}

.save-editor-page .se-jtsj-attr {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #cbd5e1;
}

.save-editor-page .se-jtsj-attr b {
  color: #f8fafc;
  font-variant-numeric: tabular-nums;
}

.save-editor-page .se-jtsj-filters {
  flex-wrap: wrap;
}

.save-editor-slots.se-gwdys6-slots,
.se-gwdys6-slots,
.save-editor-page .save-editor-slots.se-gwdys6-slots,
.save-editor-page .se-gwdys6-slots {
  grid-template-columns: 1fr;
  max-height: none;
}
.save-editor-page .se-gwdys6-slot { align-items: flex-start; }
.save-editor-page .se-gwdys6-slot-name { font-weight: 700; }
.save-editor-page .se-gwdys6-faces { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.save-editor-page .se-gwdys6-face { width: 58px; text-align: center; }
.save-editor-page .se-gwdys6-face img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: transparent;
  display: block;
  margin: 0 auto;
}
.save-editor-page .se-gwdys6-face i {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #fbbf24;
  font-style: normal;
  font-weight: 700;
}
.save-editor-page .se-gwdys6-face.is-current img { box-shadow: 0 0 0 2px #f59e0b; }
.save-editor-page .se-xymyz-face-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border-radius: 10px;
  background: #1e293b;
  color: #f8fafc;
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
}
.save-editor-page .se-gwdys6-face.is-locked i { color: #94a3b8; font-weight: 600; }
.save-editor-page .sub-tab-btn.is-locked span { color: #94a3b8; }
.save-editor-page .se-hub-l3 .sub-tab-btn.is-locked span { color: #94a3b8; }
.save-editor-page .se-gwdys6-job-lock-icon {
  width: 87px;
  height: 87px;
  display: block;
  margin: 0 auto 12px;
}

.save-editor-page .item-card.se-roster-on {
  outline: 2px solid rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
}

.save-editor-page .se-bag-grid.items-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 16px;
}

.save-editor-page .se-zmjh2-pack.items-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 8px;
  max-width: 720px;
}

.save-editor-page .se-zmjh2-pack-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 247, 230, 0.7);
  border: 1px solid rgba(180, 120, 60, 0.22);
  color: #6b4a2a;
  font-size: 14px;
}

.save-editor-page .se-zmjh2-pack .se-zmjh2-slot {
  min-width: 0;
  padding: 8px;
}

.save-editor-page .se-zmjh2-pack .se-zmjh2-slot .item-card-header {
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.save-editor-page .se-zmjh2-pack .se-zmjh2-slot .item-icon-container {
  position: relative;
  width: 56px;
  height: 56px;
}

.save-editor-page .se-zmjh2-pack .se-zmjh2-slot .item-icon {
  width: 56px;
  height: 56px;
}

.save-editor-page .se-zmjh2-pack .se-zmjh2-slot .item-info {
  width: 100%;
  text-align: center;
}

.save-editor-page .se-zmjh2-pack .se-zmjh2-slot .item-name {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.save-editor-page .se-zmjh2-pack .se-zmjh2-slot .item-id {
  font-size: 11px;
}

.save-editor-page .se-zmjh2-pack .se-zmjh2-slot .item-actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

.save-editor-page .se-zmjh2-pack .se-zmjh2-slot .item-actions .action-btn {
  padding: 2px 6px;
  font-size: 11px;
}

.save-editor-page .se-zmjh2-qty {
  position: absolute;
  right: -4px;
  bottom: -4px;
  min-width: 18px;
  padding: 0 4px;
  border-radius: 8px;
  background: rgba(30, 20, 10, 0.78);
  color: #fff7e6;
  font-size: 11px;
  line-height: 16px;
}

.save-editor-page .se-yzr-skill-board.items-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px;
  max-width: 1120px;
}

.save-editor-page .se-yzr-skill-board .item-card {
  min-width: 0;
}

.save-editor-page .se-yzr-skill-board .item-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.save-editor-page .se-yzr-skill-board .item-id,
.save-editor-page .se-yzr-skill-board .item-description {
  display: none;
}

.save-editor-page .item-icon.is-locked,
.save-editor-page .item-card.is-locked .item-icon {
  filter: grayscale(1) brightness(0.45);
  opacity: 0.9;
}

.save-editor-page .se-yzr-skill-board .item-icon.is-locked,
.save-editor-page .se-yzr-skill-board .item-card.is-locked .item-icon {
  filter: none;
  opacity: 0.72;
}

.save-editor-page .item-icon {
  object-fit: contain;
  object-position: center;
}

.save-editor-page .se-yzr-creature-board .se-inv-card .item-icon-container {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  max-width: min(140px, 100%);
}

.save-editor-page .se-yzr-creature-board .se-inv-card .item-icon {
  width: auto !important;
  height: auto !important;
  max-width: min(140px, 100%);
  max-height: 88px;
  object-fit: contain;
  object-position: center;
  padding: 0;
}

.save-editor-page .se-zmxy3-pet-board .se-inv-card .item-icon-container {
  width: 112px;
  height: 128px;
  flex: 0 0 112px;
}

.save-editor-page .se-zmxy3-pet-board .se-inv-card .item-icon {
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
  object-position: center;
}

.save-editor-page .item-card.is-locked .item-name,
.save-editor-page .item-card.is-locked .item-id {
  color: #94a3b8;
}

.save-editor-page .se-xf-tabs {
  margin-top: 0;
  padding-top: 0;
}

.save-editor-page .se-xf-toolbar {
  margin-bottom: 12px;
  padding: 12px 16px;
}

.save-editor-page .se-xf-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.save-editor-page .se-xf-toolbar-row select,
.save-editor-page .se-skill-lv {
  min-width: 110px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.save-editor-page .se-skill-card-acts {
  margin-top: 8px;
}

.save-editor-page .se-sgxz2-star-ico {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  background: #0b1220;
}

.save-editor-page .se-sgxz2-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 8px 4px 20px;
}

.save-editor-page .se-sgxz2-tree-tier {
  font-size: 13px;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: 0.12em;
}

.save-editor-page .se-sgxz2-tree-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  width: 100%;
}

.save-editor-page .se-sgxz2-tree-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.save-editor-page .se-sgxz2-tree-branch-title {
  font-size: 13px;
  color: #cbd5e1;
}

.save-editor-page .se-sgxz2-tree-skills {
  display: flex;
  gap: 10px;
}

.save-editor-page .se-sgxz2-tree-skill {
  width: 128px;
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  text-align: center;
}

.save-editor-page .se-sgxz2-tree-skill.is-locked {
  opacity: 0.62;
}

.save-editor-page .se-sgxz2-tree-skill .item-icon-container {
  margin: 0 auto 8px;
}

.save-editor-page .se-sgxz2-tree-skill-name {
  font-size: 12px;
  color: #e2e8f0;
  line-height: 1.35;
  min-height: 32px;
}

.save-editor-page .se-sgxz2-tree-skill-lv,
.save-editor-page .se-sgxz2-tree-skill-lock {
  font-size: 11px;
  color: #94a3b8;
  margin: 4px 0 8px;
}

.save-editor-page .se-sgxz2-tree-skill .se-skill-lv {
  width: 100%;
  min-width: 0;
}

.save-editor-page .se-skill-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.8);
}

.save-editor-page .se-inv-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  --se-q: #64748b;
  --se-q-text: #e2e8f0;
  border-color: color-mix(in srgb, var(--se-q) 28%, rgba(255, 255, 255, 0.05));
}

.save-editor-page .se-inv-card .item-card-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.save-editor-page .se-inv-card .item-icon-container {
  position: relative;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  overflow: visible;
  background: rgba(15, 23, 42, 0.55);
}

.save-editor-page .se-inv-card.se-fst2-lock {
  opacity: 0.85;
}

.save-editor-page .se-inv-card.se-fst2-lock .item-icon-container {
  background: rgba(15, 23, 42, 0.75);
}

.save-editor-page .se-inv-card .se-fst2-qty {
  position: absolute;
  right: -4px;
  bottom: -4px;
  z-index: 2;
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #0f172a;
  border: 1px solid #fbbf24;
  color: #fde68a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.save-editor-page .se-inv-card .item-icon {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 0;
  display: block;
  background: transparent;
}

.save-editor-page .se-inv-card .item-icon-border {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  pointer-events: none;
}

.save-editor-page .se-inv-card .item-info {
  flex: 1;
  min-width: 0;
  padding: 0;
}

.save-editor-page .se-inv-card .item-name {
  color: var(--se-q-text, var(--se-q));
  margin-bottom: 4px;
  -webkit-line-clamp: 1;
}

.save-editor-page .se-inv-card .item-seat {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
}

.save-editor-page .se-inv-card .item-seat.is-on {
  color: #fdba74;
}

.save-editor-page .se-inv-card .item-id {
  font-family: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.save-editor-page .se-inv-card .item-quantity {
  color: var(--se-q);
  background: color-mix(in srgb, var(--se-q) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--se-q) 38%, transparent);
  min-width: 0;
}

.save-editor-page .se-inv-card .item-description {
  position: relative;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.5;
  margin: 4px 0 12px;
  padding: 12px 72px 12px 12px;
  min-height: 64px;
  background: rgba(30, 41, 59, 0.4);
  border-radius: 8px;
  border-left: 3px solid var(--se-q);
}

.save-editor-page .se-inv-card .item-desc-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.save-editor-page .se-inv-card .item-type-tag {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--se-q-text, var(--se-q));
  background: color-mix(in srgb, var(--se-q) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--se-q) 32%, transparent);
}

.save-editor-page .se-inv-card .item-actions {
  margin-top: auto;
}

.save-editor-page .se-inv-card.item-quality-1 { --se-q: #94a3b8; --se-q-text: #e2e8f0; }
.save-editor-page .se-inv-card.item-quality-2 { --se-q: #22c55e; --se-q-text: #22c55e; }
.save-editor-page .se-inv-card.item-quality-3 { --se-q: #3b82f6; --se-q-text: #60a5fa; }
.save-editor-page .se-inv-card.item-quality-4 { --se-q: #a855f7; --se-q-text: #c084fc; }
.save-editor-page .se-inv-card.item-quality-5 { --se-q: #f97316; --se-q-text: #fb923c; }
.save-editor-page .se-inv-card.item-quality-6 { --se-q: #ef4444; --se-q-text: #f87171; }
.save-editor-page .se-inv-card.item-quality-7 { --se-q: #334155; --se-q-text: #e2e8f0; }
.save-editor-page .se-inv-card.item-quality-8 { --se-q: #eab308; --se-q-text: #facc15; }
.save-editor-page .se-inv-card.item-quality-9 { --se-q: #c026d3; --se-q-text: #e879f9; }
.save-editor-page .se-inv-card.item-quality-10 { --se-q: #67e8f9; --se-q-text: #67e8f9; }

.save-editor-page .se-inv-card.has-post {
  overflow: visible;
}

.save-editor-fields.is-pet-edit {
  max-height: none;
}

.save-editor-page .se-pet-post {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 6;
  min-width: 28px;
  padding: 5px 10px 5px 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 1px;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%);
  pointer-events: none;
}

.save-editor-page .se-pet-post-fight {
  background: linear-gradient(180deg, #ffb347 0%, #f08a24 45%, #e85d04 100%);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.save-editor-page .se-pet-post-ride {
  background: linear-gradient(180deg, #7dd3fc 0%, #0ea5e9 45%, #0369a1 100%);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.save-editor-page .se-pet-post-sub {
  background: linear-gradient(180deg, #c4b5fd 0%, #8b5cf6 45%, #6d28d9 100%);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.save-editor-page .se-pet-post-clear {
  background: linear-gradient(180deg, #86efac 0%, #22c55e 45%, #15803d 100%);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.save-editor-page .se-pet-post-rest {
  background: linear-gradient(180deg, #94a3b8 0%, #64748b 45%, #475569 100%);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.save-editor-page .item-card-quality-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
}

.save-editor-page .se-pet-worn {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 10px;
}
.save-editor-page .se-pet-worn-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #94a3b8;
}
.save-editor-page .se-pet-worn-icon,
.save-editor-page .se-pet-worn-fallback {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255,255,255,.12);
}
.save-editor-page .se-pet-worn-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #e2e8f0;
}
.save-editor-page .se-pet-worn-slot.is-empty {
  opacity: 0.45;
}
.save-editor-page .se-wear-empty {
  opacity: 0.85;
  border-style: dashed;
}
.save-editor-page .se-garden-slot .item-icon {
  background: rgba(22, 163, 74, 0.18);
}
.save-editor-page .save-editor-field textarea {
  width: 100%;
  min-height: 64px;
  resize: vertical;
}

.save-editor-add {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 12px 0;
  flex-wrap: wrap;
}
.save-editor-add select {
  flex: 1;
  min-width: 180px;
  background: rgba(15,23,42,.8);
  border: 1px solid rgba(255,255,255,.1);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
}
.save-editor-pick-q {
  width: 100%;
  background: rgba(15,23,42,.8);
  border: 1px solid rgba(255,255,255,.1);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.save-editor-pick-list {
  max-height: 360px;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
}
.save-editor-pick-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #e2e8f0;
  padding: 10px 12px;
  cursor: pointer;
  content-visibility: auto;
  contain-intrinsic-size: auto 72px;
}
.se-pick-more {
  padding: 10px 12px;
  margin: 0;
  text-align: center;
}
.se-pick-left { flex: 0 0 auto; }
.se-pick-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(15,23,42,.6);
}
.se-pick-icon.is-title,
.save-editor-pick-row.is-title .se-pick-icon {
  width: 108px;
  height: 28px;
}
.se-pick-icon-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid var(--se-quality, #64748b);
  background: rgba(15,23,42,.6);
  font-weight: 700;
  color: #e2e8f0;
}
.se-pick-body { flex: 1; min-width: 0; }
.se-pick-title { font-weight: 600; margin-bottom: 2px; }
.se-pick-meta { color: #94a3b8; font-size: 12px; }
.se-pick-desc { color: #cbd5e1; font-size: 12px; margin-top: 4px; line-height: 1.45; }
.save-editor-pick-row:hover,
.save-editor-pick-row.is-hi {
  background: rgba(245, 158, 11, .14);
}
.save-editor-pick-id { color: #94a3b8; font-size: 12px; }
.save-editor-issue {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: rgba(15,23,42,.45);
}
.save-editor-issue b { display: block; margin-bottom: 4px; }
.save-editor-issue span { display: block; font-size: 13px; color: #94a3b8; line-height: 1.5; }
.save-editor-issue.danger { border-color: rgba(239, 68, 68, .45); }
.save-editor-issue.warn { border-color: rgba(251, 191, 36, .4); }
.save-editor-issue.info { border-color: rgba(148, 163, 184, .25); }
.save-editor-diff td.num { font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.save-editor-diff tr.diff-added td { color: #86efac; }
.save-editor-diff tr.diff-removed td { color: #fca5a5; }
.save-editor-plain {
  white-space: pre-wrap;
  font-size: 13px;
  color: #cbd5e1;
  margin: 0;
}
.save-editor-table-q {
  width: 180px;
  background: rgba(15,23,42,.8);
  border: 1px solid rgba(255,255,255,.1);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
}
.save-editor-row-acts {
  white-space: nowrap;
}
.save-editor-page .item-actions .action-btn,
.save-editor-row-acts .action-btn {
  flex: 1 1 auto;
  min-width: 72px;
  padding: 8px 12px;
}
.save-editor-bag-table { width: 100%; border-collapse: collapse; }
.save-editor-bag-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.save-editor-bag-tabs button {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}
.save-editor-bag-tabs button.active {
  background: rgba(245, 158, 11, .18);
  border-color: rgba(251, 191, 36, .35);
  color: #fff;
}
.save-editor-busy {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .55);
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: #fde68a;
}
.save-editor-page.is-busy .save-editor-busy { display: flex; }
.save-editor-game.is-ready {
  border-color: rgba(251, 191, 36, .45);
  background: rgba(245, 158, 11, .12);
}
.save-editor-badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  color: #fbbf24;
}
.save-editor-badge.is-wait { color: #64748b; }

@media (max-width: 768px) {
  .save-editor-page .save-editor-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    transform: translateX(-100%);
    z-index: 8200;
    transition: transform 0.3s ease;
  }

  .save-editor-page .save-editor-sidebar.expanded {
    transform: translateX(0);
    width: min(280px, 86vw);
  }

  .save-editor-page .save-editor-sidebar .sidebar-header {
    padding: 16px 16px 10px;
    margin-bottom: 6px;
    flex-shrink: 0;
  }

  .save-editor-page .save-editor-sidebar .logo-text,
  .save-editor-page .save-editor-sidebar.expanded .nav-text {
    opacity: 1;
  }

  .save-editor-page .save-editor-nav .nav-item {
    padding: 10px 12px;
    margin-bottom: 4px;
  }

  .save-editor-page .save-editor-nav-group {
    display: none;
  }

  .save-editor-page .save-editor-nav-fold {
    display: flex;
    opacity: 1;
    margin: 8px 8px 4px;
    cursor: pointer;
  }

  .save-editor-page .save-editor-nav-fold-caret {
    display: inline;
  }

  .save-editor-page .save-editor-nav-section.is-collapsed {
    display: none;
  }

  .save-editor-page .sidebar-toggle {
    display: none;
  }

  .save-editor-page .sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 8190;
    display: none;
  }

  .save-editor-page .save-editor-sidebar.expanded + .sidebar-overlay {
    display: block;
  }

  .save-editor-page-body {
    padding: 16px;
  }

  .save-editor-fabs {
    right: 16px;
    bottom: 16px;
  }

  .save-editor-fab {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .save-editor-page .se-inventory-hub .inventory-header {
    padding: 16px 16px 0;
  }

  .save-editor-page .se-inventory-hub .inventory-tabs {
    margin: 16px 16px 0;
    gap: 4px;
  }

  .save-editor-page .se-inventory-hub .sub-tabs {
    padding: 10px 16px;
    gap: 4px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .save-editor-page .se-inventory-hub .tab-content {
    padding: 16px;
  }

  .save-editor-page .se-inventory-hub .tab-btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .save-editor-page .se-bag-grid.items-grid {
    grid-template-columns: 1fr !important;
  }

  .save-editor-page .se-zmjh2-pack.items-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .save-editor-page .se-yzr-skill-board.items-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .save-editor-page .se-wear-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .save-editor-page .sidebar.expanded .save-editor-nav-group {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .save-editor-page .se-inventory-hub .tab-btn {
    padding: 8px 12px;
    font-size: 12px;
    flex: 1;
    justify-content: center;
  }

  .save-editor-page .se-inventory-hub .sub-tab-btn {
    padding: 8px 12px;
    font-size: 12px;
    flex-shrink: 0;
  }

  .save-editor-page .item-actions {
    flex-direction: column;
  }

  .save-editor-page .item-actions .action-btn {
    width: 100%;
  }

  .save-editor-page .se-wear-acts-row {
    flex-wrap: nowrap;
  }

  .save-editor-page .se-wear-acts-row .action-btn {
    width: auto;
  }
}

.save-editor-page .se-mzqx-slots {
  grid-template-columns: 1fr 1fr;
}
.save-editor-page .se-mzqx-slot {
  align-items: center;
}
.save-editor-page .se-mzqx-slot .se-jtsj-slot-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.save-editor-page .se-mzqx-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 12px;
}
.save-editor-page .se-mzqx-face {
  width: 40px;
  height: 44px;
  background: transparent;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.save-editor-page .se-mzqx-face img,
.save-editor-page .se-mzqx-face b {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.save-editor-page .se-mzqx-face b {
  color: #f8fafc;
  font-size: 16px;
  line-height: 48px;
  text-align: center;
}
.save-editor-page .se-mzqx-hero-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.save-editor-page .se-mzqx-hero-meta i {
  font-style: normal;
  font-size: 12px;
  color: #94a3b8;
}
.save-editor-page .se-mzqx-ghost .item-icon-container {
  width: 88px;
  height: 120px;
  flex: 0 0 88px;
  background: transparent;
}
.save-editor-page .se-mzqx-ghost .item-icon {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
}
.save-editor-page .se-mzqx-ghost .item-description {
  padding: 10px 12px;
  min-height: 0;
}
.save-editor-page .se-mzqx-ghost .item-desc-text,
.save-editor-page .se-mzqx-skill .item-desc-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  white-space: normal;
}
.save-editor-page .se-mzqx-skill .item-description {
  padding: 10px 12px;
  min-height: 0;
}

.save-editor-page .se-mzqx-hero-meta em {
  font-style: normal;
  font-weight: 700;
  color: #f8fafc;
}
