/* 狩魂者 车卡器 — Warm Paper-Tone CSS
   100% exact copy from 车卡器v1.2 reference
   Body styles are in index.html, not here */

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    /* ── 页面容器 ── */
    .sheet-wrapper { max-width: 920px; margin: 0 auto; }
    .page {
      background: #d6d2cc;
      background-image:
        radial-gradient(ellipse at 20% 80%, rgba(180,170,155,0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(200,195,185,0.3) 0%, transparent 55%);
      border: 2px solid #3a3a3a;
      padding: 18px 16px;
      margin-bottom: 28px;
      position: relative;
      box-shadow: 3px 3px 12px rgba(0,0,0,0.35);
    }
    /* ── 标题区 ── */
    .title-row {
      display: flex;
      align-items: flex-end;
      gap: 12px;
      margin-bottom: 14px;
      border-bottom: 2px solid #3a3a3a;
      padding-bottom: 10px;
    }
    .title-cn {
      font-size: 54px;
      font-weight: 900;
      line-height: 1;
      color: #1a1a1a;
      letter-spacing: -2px;
      text-shadow: 2px 2px 0 rgba(0,0,0,0.15);
    }
    .title-right {
      display: flex;
      flex-direction: column;
      gap: 4px;
      padding-bottom: 4px;
    }
    .title-en {
      font-size: 12px;
      font-weight: bold;
      color: #444;
      letter-spacing: 2px;
    }
    /* ── 节标题 ── */
    .sec-header {
      background: #2c2c2c;
      color: #ede9e2;
      padding: 4px 10px;
      font-size: 13px;
      font-weight: bold;
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 8px;
      letter-spacing: 1px;
    }
    .sec-header::before {
      content: "◆◆◆◆";
      font-size: 9px;
      letter-spacing: 1px;
      color: #aaa;
    }
    .sec-header-simple::before {
      content: "◆";
      font-size: 9px;
      color: #aaa;
    }
    .sub-header {
      background: #1e1e1e;
      color: #ede9e2;
      padding: 3px 10px;
      font-size: 13px;
      font-weight: bold;
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 8px;
    }
    .sub-header::before { content: "■"; font-size: 10px; color: #999; }
    /* ── 武器容器 ── */
    .weapon-container {
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
    }
    .weapon-slot {
      padding: 8px;
      border: 1px dashed rgba(0,0,0,0.2);
      background: rgba(0,0,0,0.03);
      transition: all 0.3s ease;
    }
    .weapon-slot.locked {
      border: 2px dashed #ccc;
      background: rgba(200,200,200,0.15);
      opacity: 0.7;
    }
    .weapon-slot.locked .sub-header {
      color: #888;
    }
    /* .weapon-slot.unlocked {
      border: 2px solid #4a9;
      background: rgba(68,170,153,0.08);
    } */
    .weapon-slot .sub-header {
      margin-top: 0;
      margin-bottom: 8px;
    }
    .weapon-lock-hint {
      font-size: 11px;
      color: #999;
      margin-top: 6px;
      padding: 4px 8px;
      background: rgba(0,0,0,0.06);
      border-left: 2px solid #999;
    }
    .weapon-lock-hint.locked {
      color: #b00;
      border-color: #b00;
      background: rgba(0,0,0,0.06);
    }
    /* .weapon-lock-hint.unlocked {
      color: #4a9;
      border-color: #4a9;
      background: rgba(0,0,0,0.06);
    } */
    /* ── 区块盒子 ── */
    .box {
      border: 1.5px solid #5a5a5a;
      padding: 10px;
      margin-bottom: 12px;
      background: rgba(255,255,255,0.06);
    }
    .box:last-child { margin-bottom: 0; }
    /* ── 字段 ── */
    .field { margin-bottom: 8px; }
    .field:last-child { margin-bottom: 0; }
    .field-label {
      font-size: 11px;
      color: #555;
      margin-bottom: 3px;
      font-weight: bold;
      letter-spacing: 0.5px;
    }
    /* ── 输入框通用 ── */
    input[type="text"],
    input[type="number"],
    textarea,
    select {
      background: rgba(255,255,255,0.18);
      border: none;
      border-bottom: 1.5px solid #5a5a5a;
      width: 100%;
      padding: 4px 3px;
      font-family: inherit;
      font-size: 13px;
      color: #1a1a1a;
      outline: none;
      transition: background 0.15s, border-color 0.15s;
    }
    input[type="text"]:focus,
    input[type="number"]:focus,
    textarea:focus {
      background: rgba(255,255,255,0.38);
      border-bottom-color: #1a1a1a;
    }
    textarea {
      border: 1.5px solid #5a5a5a;
      resize: vertical;
      padding: 6px 5px;
      line-height: 1.6;
    }
    textarea:focus { border-color: #1a1a1a; }
    /* ── 网格布局 ── */
    .g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .g3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
    .main-cols {
      display: grid;
      grid-template-columns: 1fr 270px;
      gap: 14px;
      align-items: start;
    }
    /* ── 属性圆圈 ── */
    .attr-block { margin-bottom: 12px; }
    .attr-block:last-child { margin-bottom: 0; }
    .attr-name {
      font-size: 12px;
      font-weight: bold;
      margin-bottom: 5px;
      color: #2a2a2a;
    }
    .circles-row {
      display: flex;
      gap: 5px;
      margin-bottom: 6px;
    }
    .circle {
      width: 30px;
      height: 30px;
      border: 2px solid #3a3a3a;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,255,255,0.1);
    }
    .circle input {
      width: 22px;
      height: 22px;
      text-align: center;
      font-size: 12px;
      font-weight: bold;
      border: none !important;
      border-bottom: none !important;
      background: transparent;
      padding: 0;
      color: #1a1a1a;
    }
    .circle input:focus { background: transparent; }
    .attr-subs {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }
    .attr-sub-item {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
    }
    .attr-sub-item input {
      width: 46px !important;
      border: 1.5px solid #5a5a5a !important;
      border-bottom: 1.5px solid #5a5a5a !important;
      text-align: center;
      padding: 3px 2px !important;
    }
    /* ── 技能表格 ── */
    .skill-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 12px;
      margin-bottom: 10px;
    }
    .skill-table th {
      background: #383838;
      color: #ede9e2;
      padding: 4px 5px;
      text-align: center;
      font-weight: normal;
      white-space: nowrap;
    }
    .skill-table td {
      border: 1px solid #6a6a6a;
      padding: 2px 4px;
      vertical-align: middle;
    }
    .skill-table td.sname {
      background: rgba(0,0,0,0.07);
      font-weight: bold;
      white-space: nowrap;
      text-align: center;
      font-size: 12px;
    }
    .skill-table td input {
      border: none !important;
      border-bottom: none !important;
      background: transparent;
      text-align: center;
      padding: 2px;
      font-size: 12px;
    }
    .skill-table td input:focus { background: rgba(255,255,255,0.3); }
    /* ── 时髦动作表格 ── */
    .time-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 12px;
    }
    .time-table th {
      background: #383838;
      color: #ede9e2;
      padding: 4px 6px;
      text-align: center;
    }
    .time-table td {
      border: 1px solid #6a6a6a;
      padding: 3px;
      vertical-align: top;
    }
    .time-table .common-label {
      text-align: center;
      font-size: 12px;
      font-weight: bold;
      background: rgba(0,0,0,0.07);
      vertical-align: middle;
    }
    .time-table td input,
    .time-table td textarea {
      border: none !important;
      border-bottom: none !important;
      background: transparent;
      font-size: 12px;
    }
    .time-table td textarea { resize: none; }
    .time-table td select {
      border: 1px solid #aaa;
      background: rgba(255,255,255,0.8);
      font-size: 11px;
      padding: 2px;
      width: 100%;
    }
    .time-table .small-btn {
      font-size: 10px;
      padding: 2px 4px;
      cursor: pointer;
      margin: 1px;
    }
    /* ── 时髦动作选择弹窗 ── */
    .time-action-modal {
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.5);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .time-action-modal-content {
      background: #d6d2cc;
      border: 2px solid #2c2c2c;
      border-radius: 4px;
      width: 90%;
      max-width: 600px;
      max-height: 80vh;
      display: flex;
      flex-direction: column;
    }
    .time-action-modal-header {
      padding: 12px 16px;
      background: #2c2c2c;
      color: #ede9e2;
      font-weight: bold;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .time-action-modal-close {
      background: none;
      border: none;
      color: #ede9e2;
      font-size: 24px;
      cursor: pointer;
      padding: 0;
      line-height: 1;
    }
    .time-action-modal-body {
      padding: 16px;
      overflow-y: auto;
      flex: 1;
    }
    .time-action-modal-footer {
      padding: 12px 16px;
      border-top: 1px solid #aaa;
      text-align: right;
    }
    .time-action-option {
      padding: 10px;
      border: 1px solid #aaa;
      margin-bottom: 8px;
      cursor: pointer;
      background: rgba(255,255,255,0.5);
      transition: background 0.2s;
    }
    .time-action-option:hover {
      background: rgba(0,0,0,0.1);
    }
    .time-action-option-style {
      font-size: 11px;
      color: #666;
      margin-bottom: 4px;
    }
    .time-action-option-name {
      font-weight: bold;
      margin-bottom: 4px;
    }
    .time-action-option-desc {
      font-size: 12px;
    }
    /* ── 绝技布局 ── */
    .tech-grid {
      display: grid;
      grid-template-columns: 160px 1fr;
      gap: 10px;
      margin-bottom: 8px;
    }
    /* ── 操作栏 ── */
    .action-bar {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      justify-content: center;
      margin-top: 8px;
      padding: 0 4px;
    }
    .btn {
      padding: 11px 28px;
      font-size: 14px;
      font-family: inherit;
      cursor: pointer;
      border: 2px solid #2c2c2c;
      font-weight: bold;
      letter-spacing: 1px;
      transition: all 0.18s;
    }
    .btn-solid {
      background: #2c2c2c;
      color: #ede9e2;
    }
    .btn-solid:hover { background: #4a4a4a; border-color: #4a4a4a; }
    .btn-outline {
      background: #d6d2cc;
      color: #2c2c2c;
    }
    .btn-outline:hover { background: #2c2c2c; color: #ede9e2; }
    /* ── 提示 Toast ── */
    .toast {
      position: fixed;
      bottom: 32px;
      left: 50%;
      transform: translateX(-50%) translateY(10px);
      background: #2c2c2c;
      color: #ede9e2;
      padding: 10px 24px;
      font-size: 13px;
      opacity: 0;
      transition: opacity 0.25s, transform 0.25s;
      pointer-events: none;
      z-index: 9999;
      white-space: nowrap;
    }
    .toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
    .toast.success { border: 1px solid #4a9; }
    .toast.error { border: 1px solid #b00; }
    /* ── 数字微调器 ── */
    .spinner {
      display: inline-flex;
      align-items: center;
      border: 1.5px solid #5a5a5a;
      background: rgba(255,255,255,0.18);
      overflow: hidden;
    }
    .spinner button {
      background: rgba(0,0,0,0.12);
      border: none;
      color: #1a1a1a;
      font-size: 14px;
      font-weight: bold;
      width: 22px;
      height: 24px;
      cursor: pointer;
      line-height: 1;
      flex-shrink: 0;
      padding: 0;
      transition: background 0.1s;
    }
    .spinner button:hover { background: rgba(0,0,0,0.22); }
    .spinner button:active { background: rgba(0,0,0,0.35); }
    .spinner input[type="number"] {
      width: 36px;
      border: none !important;
      border-bottom: none !important;
      background: transparent;
      text-align: center;
      font-size: 13px;
      font-weight: bold;
      padding: 2px 0;
      -moz-appearance: textfield;
    }
    .spinner input[type="number"]::-webkit-outer-spin-button,
    .spinner input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }
    /* 技能表格内的迷你微调器 */
    .spinner-sm button { width: 18px; height: 22px; font-size: 12px; }
    .spinner-sm input[type="number"] { width: 28px; font-size: 12px; }
    /* ── 基础属性新布局 ── */
    .attr-two-cols {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }
    .attr-entry {
      display: flex;
      flex-direction: column;
      gap: 5px;
      margin-bottom: 10px;
    }
    .attr-entry:last-child { margin-bottom: 0; }
    .attr-entry-label {
      font-size: 11px;
      font-weight: bold;
      color: #333;
      letter-spacing: 0.5px;
    }
    .attr-entry-row {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .strength-badge {
      font-size: 11px;
      color: #555;
      white-space: nowrap;
    }
    .strength-badge span {
      font-weight: bold;
      color: #2a2a2a;
      font-size: 13px;
    }
    .derived-entry {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 8px;
      padding: 3px 0;
      border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    .derived-entry:last-child { border-bottom: none; margin-bottom: 0; }
    .derived-label {
      font-size: 12px;
      color: #444;
      font-weight: bold;
    }
    .derived-val {
      font-size: 16px;
      font-weight: 900;
      color: #1a1a1a;
      min-width: 32px;
      text-align: right;
    }
    .derived-formula {
      font-size: 10px;
      color: #888;
      margin-top: 1px;
    }
    /* ── 注释文本 ── */
    .note-text {
      font-size: 10.5px;
      color: #666;
      line-height: 1.6;
      border-top: 1px solid #aaa;
      padding-top: 6px;
      margin-top: 8px;
    }
    /* ── 灵识进度条 ── */
    .sense-section {
      border-top: 1px solid rgba(0,0,0,0.15);
      padding-top: 10px;
      margin-top: 10px;
    }
    .sense-row {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 8px;
    }
    .sense-progress-track {
      display: flex;
      gap: 4px;
      align-items: center;
    }
    .sense-cell {
      width: 26px;
      height: 26px;
      border: 2px solid #3a3a3a;
      border-radius: 3px;
      background: rgba(255,255,255,0.1);
      cursor: pointer;
      transition: background 0.15s;
    }
    .sense-cell.filled {
      background: #3a3a3a;
    }
    .sense-cell:hover { background: rgba(58,58,58,0.3); }
    .sense-cell.filled:hover { background: #555; }
    /* ── DM 控制区域（玩家端不可交互） ── */
    .dm-controlled .sense-cell {
      cursor: default;
      pointer-events: none;
    }
    .dm-controlled .sense-cell:hover { background: rgba(255,255,255,0.1); }
    .dm-controlled .sense-cell.filled:hover { background: #3a3a3a; }
    .dm-controlled .sense-spinner-btn { display: none; }
    .dm-controlled .sense-value { cursor: default; }
    textarea[readonly] {
      background: rgba(0,0,0,0.06);
      border-style: dashed;
      cursor: default;
      color: #666;
    }
    /* ── 响应式 ── */
    @media (max-width: 680px) {
      .main-cols {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
      }
      .main-cols > div:first-child { order: 2; }
      .main-cols > div:last-child { order: 1; }
      .g2 { grid-template-columns: 1fr; }
      .g3 { grid-template-columns: 1fr 1fr; }
      .title-cn { font-size: 38px; }
      .tech-grid { grid-template-columns: 1fr; }
      .skill-preview-panel { width: 90vw; max-width: 360px; left: 5vw !important; right: 5vw !important; }
    }
    @media (max-width: 420px) {
      .g3 { grid-template-columns: 1fr; }
      .title-cn { font-size: 30px; }
      .page { padding: 12px 10px; }
    }
    /* ── 级联技能选择器 ── */
    .btn-add-skill {
      margin-left: auto;
      background: rgba(255,255,255,0.15);
      border: 1px solid #888;
      color: #ede9e2;
      font-size: 11px;
      padding: 2px 8px;
      cursor: pointer;
      font-family: inherit;
      letter-spacing: 0.5px;
      transition: background 0.15s;
    }
    .btn-add-skill:hover { background: rgba(255,255,255,0.3); }
    .btn-time-action {
      background: #888;
      border: 1px solid #2c2c2c;
      color: #2c2c2c;
      font-size: 11px;
      padding: 2px 8px;
      cursor: pointer;
      font-family: inherit;
      letter-spacing: 0.5px;
      transition: background 0.15s;
    }
    .btn-time-action:hover { background: #aaa; }
    .sub-header { display: flex; align-items: center; }
    .skill-row {
      border: 1px solid #666;
      border-radius: 2px;
      margin-bottom: 8px;
      background: rgba(255,255,255,0.05);
      padding: 8px 8px 6px;
      position: relative;
    }
    .skill-row-selects {
      display: flex;
      gap: 6px;
      align-items: center;
      flex-wrap: wrap;
    }
    .skill-row select {
      flex: 1;
      min-width: 90px;
      background: rgba(255,255,255,0.18);
      border: 1px solid #777;
      border-bottom: 1.5px solid #5a5a5a;
      padding: 4px 4px;
      font-size: 12px;
      font-family: inherit;
      color: #1a1a1a;
      cursor: pointer;
    }
    .skill-row select:focus { outline: none; border-color: #1a1a1a; }
    .skill-row-del {
      background: transparent;
      border: 1px solid #999;
      color: #888;
      font-size: 13px;
      width: 22px;
      height: 22px;
      cursor: pointer;
      line-height: 1;
      padding: 0;
      flex-shrink: 0;
      transition: all 0.15s;
      border-radius: 2px;
    }
    .skill-row-del:hover { background: #b00; color: #fff; border-color: #b00; }
    .skill-detail {
      margin-top: 6px;
      padding: 5px 7px;
      background: rgba(0,0,0,0.1);
      border-left: 2px solid #888;
      font-size: 11px;
      color: #333;
      line-height: 1.65;
    }
    .skill-detail-row { margin-bottom: 2px; }
    .skill-detail-row:last-child { margin-bottom: 0; }
    .skill-detail-label {
      font-weight: bold;
      color: #555;
      margin-right: 3px;
    }
    /* ── 绝技选择器 ── */
    .tech-selector-row {
      display: flex;
      gap: 6px;
      align-items: center;
      margin-bottom: 8px;
    }
    .tech-selector-row select {
      flex: 1;
      background: rgba(255,255,255,0.18);
      border: 1px solid #777;
      border-bottom: 1.5px solid #5a5a5a;
      padding: 4px 4px;
      font-size: 12px;
      font-family: inherit;
      color: #1a1a1a;
      cursor: pointer;
    }
    .tech-selector-row select:focus { outline: none; border-color: #1a1a1a; }
    .tech-detail {
      padding: 6px 8px;
      background: rgba(0,0,0,0.1);
      border-left: 2px solid #888;
      font-size: 11px;
      color: #333;
      line-height: 1.65;
    }
    .tech-detail-row { margin-bottom: 3px; }
    .tech-detail-row:last-child { margin-bottom: 0; }
    .tech-detail-label { font-weight: bold; color: #555; margin-right: 4px; }
    /* ── 剩余点数提示 ── */
    .points-info {
      font-size: 11px;
      color: #555;
      margin: 4px 0 8px;
      padding: 3px 7px;
      background: rgba(0,0,0,0.06);
      border-left: 2px solid #999;
    }
    .points-info.warn { color: #b00; border-color: #b00; }
    .points-info.full { color: #999; }
    /* ── 技能槽选择器 ── */
    .skill-slot {
      border: 1px solid #888;
      border-radius: 2px;
      margin-bottom: 6px;
      background: rgba(255,255,255,0.05);
      padding: 6px 8px;
    }
    .skill-slot select {
      width: 100%;
      background: rgba(255,255,255,0.18);
      border: 1px solid #777;
      border-bottom: 1.5px solid #5a5a5a;
      padding: 4px 4px;
      font-size: 12px;
      font-family: inherit;
      color: #1a1a1a;
      cursor: pointer;
    }
    .skill-slot select:focus { outline: none; border-color: #1a1a1a; }
    .skill-slot-innate {
      font-size: 12px;
      font-weight: bold;
      color: #555;
      padding: 3px 0 4px;
    }
    .no-slots-hint {
      font-size: 11px;
      color: #999;
      padding: 4px 2px;
      font-style: italic;
    }
    /* ── 技能预览面板 ── */
    .skill-preview-panel {
      position: fixed;
      z-index: 1000;
      width: 360px;
      max-height: 80vh;
      overflow-y: auto;
      background: #d6d2cc;
      border: 2px solid #3a3a3a;
      padding: 10px 12px;
      box-shadow: 4px 4px 16px rgba(0,0,0,0.4);
      display: none;
      font-size: 11px;
      line-height: 1.6;
    }
    .skill-preview-panel.show { display: block; }
    .skill-preview-title {
      font-size: 14px;
      font-weight: bold;
      margin-bottom: 6px;
      padding-bottom: 4px;
      border-bottom: 1px solid #888;
    }
    .skill-preview-meta {
      color: #555;
      margin-bottom: 6px;
    }
    .skill-preview-desc {
      color: #444;
      margin-bottom: 6px;
    }
    .skill-preview-effect {
      background: rgba(0,0,0,0.1);
      padding: 6px 8px;
      border-left: 2px solid #666;
      color: #222;
    }
    /* ── 技能标签（移动端双击支持） ── */
    .skill-tag { touch-action: manipulation; }
    /* ── 绝技锁定状态 ── */
    .tech-locked-hint {
      font-size: 11px;
      color: #999;
      margin-top: 4px;
      padding: 4px 8px;
      background: rgba(0,0,0,0.06);
      border-left: 2px solid #999;
    }
    .tech-locked-hint.warn { color: #b00; border-color: #b00; }
    /* ── 灵识值微调器特殊样式 ── */
    .sense-spinner {
      display: inline-flex;
      align-items: center;
      border: 1.5px solid #5a5a5a;
      background: rgba(255,255,255,0.18);
      overflow: visible;
    }
    .sense-spinner-btn {
      background: rgba(0,0,0,0.12);
      border: none;
      color: #1a1a1a;
      font-size: 18px;
      font-weight: bold;
      width: 36px;
      height: 36px;
      cursor: pointer;
      line-height: 1;
      flex-shrink: 0;
      padding: 0;
      margin: 0;
      transition: background 0.1s;
      z-index: 1;
    }
    .sense-spinner-btn:hover { background: rgba(0,0,0,0.22); }
    .sense-spinner-btn:active { background: rgba(0,0,0,0.35); }
    .sense-value {
      font-size: 20px;
      font-weight: 900;
      color: #1a1a1a;
      min-width: 48px;
      width: 48px;
      text-align: center;
      margin: 0;
      padding: 0;
    }
    /* ── 验证遮罩层 ── */
    .auth-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(40, 40, 40, 0.98);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 99999;
    }
    .auth-overlay.hidden {
      display: none;
    }
    .auth-box {
      background: #d6d2cc;
      border: 3px solid #3a3a3a;
      padding: 40px 50px;
      border-radius: 8px;
      box-shadow: 6px 6px 24px rgba(0,0,0,0.5);
      text-align: center;
      max-width: 420px;
    }
    .auth-title {
      font-size: 28px;
      font-weight: 900;
      color: #1a1a1a;
      margin-bottom: 8px;
      letter-spacing: 2px;
    }
    .auth-subtitle {
      font-size: 13px;
      color: #666;
      margin-bottom: 30px;
    }
    .auth-input {
      width: 100%;
      padding: 16px;
      font-size: 32px;
      font-family: "Consolas", "Monaco", monospace;
      text-align: center;
      letter-spacing: 12px;
      border: 2px solid #5a5a5a;
      background: rgba(255,255,255,0.3);
      color: #1a1a1a;
      border-radius: 6px;
      outline: none;
      margin-bottom: 20px;
    }
    .auth-input:focus {
      border-color: #4a9;
      background: rgba(255,255,255,0.5);
    }
    .auth-btn {
      width: 100%;
      padding: 14px;
      font-size: 16px;
      font-weight: bold;
      letter-spacing: 2px;
      background: #2c2c2c;
      color: #ede9e2;
      border: 2px solid #2c2c2c;
      cursor: pointer;
      border-radius: 6px;
      transition: all 0.2s;
    }
    .auth-btn:hover {
      background: #4a4a4a;
      border-color: #4a4a4a;
    }
    .auth-error {
      color: #b00;
      font-size: 13px;
      margin-top: 16px;
      min-height: 18px;
    }
    /* ── 灵能力多描述框 ── */
    .spirit-desc-container {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .spirit-desc-item {
      position: relative;
    }
    .spirit-desc-item textarea {
      width: 100%;
      border: 1.5px solid #5a5a5a;
      background: rgba(255,255,255,0.18);
      padding: 6px 5px;
      font-size: 13px;
      line-height: 1.6;
      min-height: 70px;
      resize: vertical;
    }
    .spirit-desc-item textarea:focus {
      background: rgba(255,255,255,0.38);
      border-color: #1a1a1a;
      outline: none;
    }
    .spirit-desc-label {
      font-size: 11px;
      color: #555;
      margin-bottom: 3px;
      font-weight: bold;
      letter-spacing: 0.5px;
    }
    .spirit-desc-locked {
      opacity: 0.5;
      pointer-events: none;
    }
    .spirit-desc-locked textarea {
      background: rgba(0,0,0,0.1);
      border-style: dashed;
    }
    .spirit-desc-hint {
      font-size: 11px;
      color: #b00;
      margin-top: 6px;
      padding: 6px 10px;
      background: rgba(0,0,0,0.06);
      border-left: 2px solid #b00;
    }
    /* [REGION:CSS] 样式区域结束 */