/* ── 计算器专属样式 ── */
  .calc-section-links { display:flex; flex-wrap:wrap; gap:.5rem; }
  .calc-section-links a { border:1px solid var(--ui-accent-border); border-radius:999px; padding:.45rem .9rem; color:var(--ui-accent); font-size:.875rem; background:var(--ui-accent-soft); }
  .calc-section { scroll-margin-top:5rem; border:1px solid var(--ui-line); border-radius: var(--radius-card); background:var(--ui-panel); padding:1.25rem; }
  .calc-section-heading { margin-bottom:1rem; }
  .calc-section-heading h1, .calc-section-heading h2 { color:var(--ui-text); font-size:1.15rem; font-weight:750; }
  .calc-section-heading p { color:var(--ui-muted); font-size:.85rem; margin-top:.3rem; line-height:1.6; }
  .calc-section .calc-input-panel { background:var(--ui-panel-2); box-shadow:none; }
  .tc-card-summary { width:100%; text-align:left; }
  .tc-dropdown-item[aria-selected="true"] { background:var(--ui-good-soft); outline:2px solid var(--ui-good); outline-offset:-2px; }
  .btn-calc:disabled { opacity:.6; cursor:wait; }
  @media (max-width:640px) {
    .calc-section { padding:1rem .75rem; }
    .calc-section .calc-input-panel { padding:1rem .75rem; }
    .calc-section .input-field label { white-space:normal; }
  }
  .calc-hero {
    background: var(--ui-accent-soft);
    padding: 2rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--ui-accent-border);
  }
  .calc-hero h1 { font-size: 1.5rem; font-weight: 800; color: var(--ui-accent); margin-bottom: 0.25rem; }
  .calc-hero p  { font-size: 0.875rem; color: var(--ui-muted); font-weight: 500; }

  .calc-input-panel {
    background: var(--ui-panel-2);
    border-radius: var(--radius-card);
    padding: 1.1rem;
    border: 1px solid var(--ui-line);
  }
  .input-row {
    display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-start;
  }
  .input-field { flex: 1; min-width: 140px; }
  .input-field label {
    display: inline-flex; align-items: center; gap: 0.2rem;
    font-size: 0.8rem; font-weight: 600; color: var(--ui-text); margin-bottom: 0.35rem;
    white-space: nowrap;
  }
  .input-field input, .input-field select {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1.5px solid var(--ui-line);
    border-radius: 0.6rem;
    font-size: 0.95rem;
    background: var(--ui-panel-2);
    transition: border-color 0.2s;
    outline: none;
  }
  .input-field input:focus { border-color: var(--ui-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ui-accent) 12%, transparent); }
  .land-dist-field {
    min-width: 360px;
    flex: 2 1 360px;
  }
  .land-dist-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
  }
  .land-dist-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.6rem;
  }
  .land-dist-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
  }
  .land-dist-label {
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
  }
  .land-dist-item[data-land-level="5"] .land-dist-label { color: var(--ui-special); }
  .land-dist-item[data-land-level="4"] .land-dist-label { color: var(--ui-warn); }
  .land-dist-item[data-land-level="3"] .land-dist-label { color: var(--ui-text); }
  .land-dist-item[data-land-level="2"] .land-dist-label { color: var(--ui-danger); }
  .land-dist-item[data-land-level="1"] .land-dist-label { color: var(--land-1); }
  .input-field .land-dist-input {
    width: 48px;
    padding: 0.35rem 0.4rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    text-align: center;
  }
  .input-field .land-dist-input--purple { border-color: var(--ui-special); background: var(--ui-field); }
  .input-field .land-dist-input--gold { border-color: var(--ui-warn); background: var(--ui-warn-soft); }
  .input-field .land-dist-input--black { border-color: var(--ui-muted); background: var(--ui-panel-2); }
  .input-field .land-dist-input--red { border-color: var(--ui-danger); background: var(--ui-field); }
  .input-field .land-dist-input--normal { border-color: var(--ui-line); background: var(--ui-field); }

  .land-info {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.8rem; color: var(--ui-good); font-weight: 600;
    background: var(--ui-panel-2); padding: 0.35rem 0.75rem; border-radius: 0.5rem;
    margin-top: 0.5rem;
    transition: all 0.3s;
  }

  .fert-toggle {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 0;
  }
  .fert-toggle input[type="checkbox"] {
    width: 2.5rem; height: 1.35rem;
    -webkit-appearance: none; appearance: none;
    background: var(--ui-line-strong); border-radius: 999px;
    position: relative; cursor: pointer;
    transition: background 0.3s;
  }
  .fert-toggle input[type="checkbox"]::after {
    content: '';
    position: absolute; left: 2px; top: 2px;
    width: calc(1.35rem - 4px); height: calc(1.35rem - 4px);
    background: var(--ui-panel); border-radius: 50%;
    transition: transform 0.3s;
  }
  .fert-toggle input[type="checkbox"]:checked {
    background: var(--ui-accent);
  }
  .fert-toggle input[type="checkbox"]:checked::after {
    transform: translateX(calc(2.5rem - 1.35rem));
  }
  .fert-toggle span { font-size: 0.85rem; color: var(--ui-text); font-weight: 500; }

  .btn-calc {
    padding: 0.6rem 1.5rem;
    background: var(--ui-accent);
    color: var(--ui-on-accent); font-weight: 700; font-size: 0.9rem;
    border: none; border-radius: 0.65rem; cursor: pointer;
    transition: all 0.25s;
    box-shadow: var(--ui-shadow);
    white-space: nowrap;
  }
  .btn-calc:hover { transform: translateY(-1px); box-shadow: var(--ui-shadow); }
  .btn-calc:active { transform: translateY(0); }

  /* 推荐卡 */
  .rec-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  @media (max-width: 640px) { .rec-cards { grid-template-columns: 1fr; } }

  .rec-card {
    background: var(--ui-panel); border-radius: var(--radius-card); padding: 1.25rem;
    box-shadow: 0 1px 8px rgba(0,0,0,.05); border: 1px solid var(--ui-line);
    transition: transform 0.25s;
  }
  .rec-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,.08); }
  .rec-card.card-no-fert { border-left: 4px solid var(--ui-good); }
  .rec-card.card-fert { border-left: 4px solid var(--ui-warn); }

  .rec-card .card-label { font-size: 0.7rem; font-weight: 600; color: var(--ui-muted); text-transform: uppercase; letter-spacing: 0.05em; }
  .rec-card .card-name { font-size: 1.15rem; font-weight: 700; color: var(--ui-text); margin: 0.25rem 0 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
  .rec-card .card-name img { width: 32px; height: 32px; object-fit: contain; }
  .rec-card .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .rec-card .stat-item { text-align: center; padding: 0.4rem; background: var(--ui-panel-2); border-radius: 0.5rem; }
  .rec-card .stat-label { font-size: 0.65rem; color: var(--ui-muted); }
  .rec-card .stat-val { font-size: 0.95rem; font-weight: 700; color: var(--ui-text); }
  .rec-card .stat-val.highlight { color: var(--ui-accent); }

  /* 进度对比 */
  .progress-section { margin-top: 1.5rem; }
  .progress-title { font-size: 0.85rem; font-weight: 700; color: var(--ui-text); margin-bottom: 0.6rem; }
  /* 时间计算器：收获时刻 / 指定 */
  .tc-mode-tabs { display: flex; gap: 0.5rem; margin: 0.75rem 0 0.85rem; }
  .tc-mode-tab {
    border: 1px solid var(--ui-line); border-radius: 999px;
    padding: 0.45rem 1rem; background: var(--ui-panel-2); color: var(--ui-muted);
    font-size: 0.85rem; font-weight: 700; cursor: pointer;
  }
  .tc-mode-tab.active {
    background: var(--ui-accent); color: var(--ui-on-accent); border-color: var(--ui-accent);
  }
  .tc-target-toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-bottom: 0.85rem; }
  .tc-ruler-wrap {
    background: var(--ui-panel-2); border: 1px solid var(--ui-line);
    border-radius: 0.85rem; padding: 0.85rem 1rem 1rem;
  }
  .tc-ruler-labels {
    display: flex; justify-content: space-between; gap: 0.5rem;
    font-size: 0.72rem; color: var(--ui-muted); margin-bottom: 0.35rem;
  }
  .tc-ruler-track {
    position: relative; display: flex; height: 2.4rem;
    border-radius: 0.55rem; overflow: hidden;
    border: 1px solid var(--ui-line); background: var(--ui-bg-1);
  }
  .tc-ruler-phase {
    display: flex; align-items: center; justify-content: center;
    font-size: 0.68rem; font-weight: 700; color: var(--ui-text);
    border-right: 1px solid color-mix(in srgb, var(--ui-line) 80%, transparent);
    min-width: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 0.25rem;
  }
  .tc-ruler-phase:last-of-type { border-right: none; }
  .tc-ruler-phase.locked {
    background: repeating-linear-gradient(
      135deg,
      color-mix(in srgb, var(--ui-muted) 22%, transparent) 0 5px,
      color-mix(in srgb, var(--ui-panel-2) 70%, transparent) 5px 10px
    ) !important;
    color: var(--ui-muted);
    filter: none;
    opacity: 0.85;
  }
  /* 目标线之后的区域：半透明阴影 = 催熟区（按进度截断，不整格变色） */
  .tc-ruler-cut {
    position: absolute; top: 0; bottom: 0; right: 0;
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--ui-warn) 18%, transparent),
      color-mix(in srgb, var(--ui-warn) 8%, transparent)
    );
    border-left: none;
    pointer-events: none;
  }
  .tc-ruler-pin {
    position: absolute; top: -2px; bottom: -2px; width: 2px;
    background: var(--ui-accent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--ui-accent) 40%, transparent);
    pointer-events: none;
    border-radius: 1px;
  }
  .tc-ruler-phase.fert { opacity: 0.85; }
  .tc-ruler-slider { width: 100%; margin: 0.65rem 0 0.25rem; accent-color: var(--ui-accent); }
  .tc-ruler-marks {
    display: flex; justify-content: space-between;
    font-size: 0.72rem; color: var(--ui-muted); font-variant-numeric: tabular-nums;
  }
  .tc-target-result { margin-top: 0.85rem; }
  .tc-s2-wrap {
    margin-top: 0.85rem;
    padding: 0.75rem 1rem;
    border: 1px dashed var(--ui-line);
    border-radius: 0.85rem;
    background: var(--ui-panel-2);
  }
  .tc-s2-check {
    display: flex; align-items: center; gap: 0.45rem;
    font-size: 0.85rem; font-weight: 700; color: var(--ui-text); cursor: pointer;
  }
  .tc-fert-plan {
    border: 1px solid var(--ui-line); border-radius: 0.85rem;
    padding: 0.75rem 1rem; background: var(--ui-panel); line-height: 1.7;
    font-size: 0.88rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 1.5rem;
    align-items: start;
  }
  .tc-fert-plan .ok { color: var(--ui-good); font-weight: 700; }
  .tc-fert-plan .warn { color: var(--ui-warn); font-weight: 700; }
  .tc-fert-plan .list { margin: 0.25rem 0 0; padding-left: 1.05rem; color: var(--ui-muted); font-size: 0.82rem; }
  .tc-fert-plan .row { min-width: 0; }
  .tc-fert-plan .row-wide { grid-column: 1 / -1; }
  .tc-fert-plan .t1 { font-size: 1.05rem; }
  .tc-fert-plan .seg-sub { display: block; font-size: 0.75rem; color: var(--ui-muted); font-weight: 500; margin-left: 0.35rem; }
  .tc-detail-fold {
    margin-top: 0.55rem;
    border: 1px solid var(--ui-line); border-radius: 0.75rem;
    background: var(--ui-panel-2);
  }
  .tc-detail-fold > summary {
    cursor: pointer; list-style: none;
    padding: 0.55rem 0.85rem; font-size: 0.82rem; font-weight: 700; color: var(--ui-muted);
  }
  .tc-detail-fold > summary::-webkit-details-marker { display: none; }
  .tc-detail-fold > summary::after { content: ' ⌄'; opacity: 0.7; }
  .tc-detail-fold[open] > summary::after { content: ' ⌃'; }
  .tc-detail-body {
    padding: 0 0.85rem 0.75rem;
    font-size: 0.82rem; color: var(--ui-muted); line-height: 1.75;
    border-top: 1px solid var(--ui-line); padding-top: 0.55rem;
  }
  @media (max-width: 860px) {
    .tc-fert-plan { grid-template-columns: 1fr; }
  }
  .tc-drag-hint {
    margin-left: 0.35rem; font-size: 0.72rem; font-weight: 600;
    color: var(--ui-accent); opacity: 0.9;
  }
  .tc-time-shell { position: relative; }
  .tc-time-dd {
    position: absolute; left: 0; right: 0; top: calc(100% + 0.35rem);
    z-index: 40; max-height: 16rem; overflow-y: auto;
    border: 1px solid var(--ui-line); border-radius: 0.75rem;
    background: var(--ui-panel); box-shadow: var(--ui-shadow); padding: 0.35rem;
  }
  .tc-time-dd.uc-hidden { display: none !important; }
  .tc-time-opt {
    width: 100%; text-align: left; border: none; background: transparent;
    padding: 0.45rem 0.65rem; border-radius: 0.55rem;
    color: var(--ui-text); font-size: 0.88rem; cursor: pointer;
    font-variant-numeric: tabular-nums;
  }
  .tc-time-opt:hover, .tc-time-opt.active { background: color-mix(in srgb, var(--ui-accent) 14%, transparent); }
  /* 电脑端 Top5 双列，手机单列 */
  #progressBars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 1.5rem;
    align-items: start;
  }
  .top5-block { min-width: 0; }
  @media (max-width: 860px) {
    #progressBars { grid-template-columns: 1fr; }
  }
  .progress-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
  .progress-label { font-size: 0.75rem; color: var(--ui-muted); min-width: 80px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 0.25rem; }
  .progress-label img { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }
  .progress-track { flex: 1; height: 18px; background: var(--ui-bg-1); border-radius: 999px; overflow: hidden; position: relative; }
  .progress-fill { height: 100%; border-radius: 999px; transition: width 0.6s ease; display: flex; align-items: center; justify-content: flex-end; padding-right: 6px; font-size: 0.6rem; font-weight: 600; color: var(--ui-on-accent); min-width: 30px; }
  .progress-value { font-size: 0.7rem; font-weight: 600; color: var(--ui-text); min-width: 70px; text-align: right; white-space: nowrap; }

  .fill-green  { background: linear-gradient(90deg, var(--ui-good-soft), var(--ui-good)); }
  .fill-orange { background: linear-gradient(90deg, var(--ui-warn-soft), var(--ui-warn)); }
  .fill-purple { background: linear-gradient(90deg, var(--ui-special-soft), var(--ui-special)); }
  .fill-blue   { background: linear-gradient(90deg, var(--ui-info-soft), var(--ui-info)); }
  .fill-pink   { background: linear-gradient(90deg, var(--ui-danger-soft), var(--ui-danger)); }

  /* 排行表 */
  .rank-table { width: 100%; border-collapse: separate; border-spacing: 0; }
  .rank-table th {
    font-size: 0.7rem; font-weight: 600; color: var(--ui-muted); text-transform: uppercase;
    padding: 0.5rem 0.75rem; text-align: left; border-bottom: 2px solid var(--ui-bg-1);
    position: sticky; top: 0; background: var(--ui-panel); z-index: 1;
  }
  .rank-table td {
    padding: 0.55rem 0.75rem; font-size: 0.8rem; color: var(--ui-text);
    border-bottom: 1px solid var(--ui-panel-2);
  }
  .rank-table tr:hover td { background: var(--ui-panel-2); }
  .rank-medal { font-size: 1.1rem; }
  .rank-name-cell { display: flex; align-items: center; gap: 0.35rem; font-weight: 600; }
  .rank-name-cell img { width: 22px; height: 22px; object-fit: contain; }
  .rank-bar-wrap { width: 80px; height: 6px; background: var(--ui-bg-1); border-radius: 999px; overflow: hidden; }
  .rank-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--ui-good-soft), var(--ui-good)); transition: width 0.5s; }

  /* 条件摘要 */
  .calc-summary {
    background: var(--ui-panel-2); border: 1px solid var(--ui-accent-border); border-radius: 0.75rem;
    padding: 0.75rem 1rem; font-size: 0.8rem; color: var(--ui-accent);
    display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
    margin-bottom: 1rem;
  }
  .calc-summary .sum-item { display: flex; align-items: center; gap: 0.3rem; }

  /* 隐藏/显示 */
  .hidden { display: none !important; }

  /* 表格容器 滚动 */
  .table-wrap {
    overflow-x: auto; border-radius: 0.75rem;
    background: var(--ui-panel); border: 1px solid var(--ui-line);
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
  }

  /* 排行切换 Tab */
  .rank-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
  .rank-tab {
    padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
    cursor: pointer; border: 1.5px solid var(--ui-line); background: var(--ui-panel); color: var(--ui-muted);
    transition: all 0.2s;
  }
  .rank-tab:hover { border-color: var(--ui-accent); color: var(--ui-good); }
  .rank-tab.active { background: var(--ui-accent); color: var(--ui-on-accent); border-color: var(--ui-accent); }

  .spinner {
    display: inline-block; width: 18px; height: 18px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: var(--ui-on-accent); border-radius: 50%;
    animation: spin 0.7s linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }

  /* 提示框 */
  .fert-hint {
    font-size: 0.75rem; color: var(--ui-muted); margin-top: 0.25rem; line-height: 1.4;
  }

  /* 说明弹窗（通过标题后的 ⓘ 打开） */
  .info-btn {
    background: transparent; border: none; border-radius: 6px;
    width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; font-weight: 700; color: var(--ui-text); font-size:0.8rem;
    transition: background 0.12s, color 0.12s;
    padding: 0; line-height: 1;
  }
  .info-btn:hover {
    background: var(--ui-accent-soft); color: var(--ui-accent);
  }
  /* 更醒目的智能施肥提示颜色（默认仅改变文字色，hover 为浅橙背景） */
  .info-btn[data-info-key="smart-fert"] { color: var(--ui-warn); }
  .info-btn[data-info-key="smart-fert"]:hover { background: var(--ui-warn-soft); color:var(--ui-warn); }
  .info-popup {
    position: absolute; z-index: 9999; width: 340px; max-width: 92%;
    background: var(--ui-panel); border: 1px solid var(--ui-line); border-radius: 0.75rem; box-shadow: var(--ui-shadow);
    padding: 0.75rem 0.9rem; font-size: 0.9rem; color: var(--ui-text);
  }
  .info-popup .info-close { float: right; background: transparent; border: none; font-size: 1rem; cursor: pointer; color: var(--ui-muted); }
  .info-popup h4 { margin: 0 0 0.35rem 0; font-size: 1rem; color: var(--ui-text); }
  .info-popup ul { margin: 0.4rem 0 0 1rem; padding: 0; color: var(--ui-text); }

  /* ── 验算过程弹窗 ── */
  .verify-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.45); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
  }
  .verify-overlay.show { opacity: 1; pointer-events: auto; }
  .verify-panel {
    background: var(--ui-panel); border-radius: var(--radius-card); width: 92%; max-width: 860px;
    max-height: 88vh; overflow-y: auto; padding: 2rem 2rem 1.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transform: translateY(30px); transition: transform 0.3s;
  }
  .verify-overlay.show .verify-panel { transform: translateY(0); }
  .verify-close {
    float: right; background: var(--ui-bg-1); border: none; width: 36px; height: 36px;
    border-radius: 50%; font-size: 1.2rem; cursor: pointer; color: var(--ui-muted);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .verify-close:hover { background: var(--ui-line); }
  .verify-panel h2 { font-size: 1.3rem; font-weight: 800; color: var(--ui-text); margin-bottom: 1rem; }
  .verify-panel h3 { font-size: 1.05rem; font-weight: 700; color: var(--ui-accent); margin: 1.25rem 0 0.6rem; padding-bottom: 0.3rem; border-bottom: 2px solid color-mix(in srgb, var(--ui-good) 35%, transparent); }
  .verify-panel h4 { font-size: 0.9rem; font-weight: 700; color: var(--ui-text); margin: 0.8rem 0 0.4rem; }
  .v-table { width: 100%; border-collapse: collapse; margin: 0.5rem 0; font-size: 0.82rem; }
  .v-table th { background: var(--ui-panel-2); padding: 0.45rem 0.65rem; text-align: left; font-weight: 600; color: var(--ui-text); border-bottom: 2px solid var(--ui-line); }
  .v-table td { padding: 0.4rem 0.65rem; border-bottom: 1px solid var(--ui-bg-1); color: var(--ui-text); }
  .v-table tr:hover td { background: var(--ui-panel-2); }
  .v-formula { background: var(--ui-panel-2); border: 1px solid var(--ui-accent-border); border-radius: 0.6rem; padding: 0.65rem 1rem; margin: 0.5rem 0; font-size: 0.82rem; color: var(--ui-accent); line-height: 1.7; font-family: 'Courier New', monospace; }
  .v-formula .v-eq { color: var(--ui-accent); font-weight: 700; }
  .v-formula .v-ans { color: var(--ui-danger); font-weight: 700; font-size: 0.95rem; }
  .v-note { background: var(--ui-warn-soft); border: 1px solid color-mix(in srgb, var(--ui-warn) 40%, transparent); border-radius: 0.6rem; padding: 0.55rem 0.85rem; margin: 0.5rem 0; font-size: 0.78rem; color: var(--ui-warn); line-height: 1.6; }
  .v-step-num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: var(--ui-accent); color: var(--ui-on-accent); border-radius: 50%; font-size: 0.7rem; font-weight: 700; margin-right: 0.35rem; flex-shrink: 0; }
  .v-crop-header { display: flex; align-items: center; gap: 0.5rem; background: var(--ui-accent-soft); padding: 0.75rem 1rem; border-radius: 0.75rem; margin: 1rem 0 0.6rem; }
  .v-crop-header img { width: 36px; height: 36px; object-fit: contain; }
  .v-crop-header .v-crop-title { font-size: 1.1rem; font-weight: 800; color: var(--ui-accent); }
  .v-crop-tabs { display: flex; gap: 0.4rem; margin: 0.75rem 0; flex-wrap: wrap; }
  .v-crop-tab { padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; cursor: pointer; border: 1.5px solid var(--ui-line); background: var(--ui-panel); color: var(--ui-muted); transition: all 0.2s; }
  .v-crop-tab:hover { border-color: var(--ui-accent); color: var(--ui-good); }
  .v-crop-tab.v-active { background: var(--ui-accent); color: var(--ui-on-accent); border-color: var(--ui-accent); }
  .v-crop-detail { display: none; }
  .v-crop-detail.v-show { display: block; }
  .btn-verify {
    padding: 0.35rem 0.85rem; background: var(--ui-special);
    color: var(--ui-on-accent); font-weight: 600; font-size: 0.78rem; border: none; border-radius: 999px;
    cursor: pointer; transition: all 0.25s; white-space: nowrap;
    box-shadow: none;
  }
  .btn-verify:hover { transform: translateY(-1px); box-shadow: var(--ui-shadow); }
  /* 按钮容器，便于垂直居中及移动端适配 */
  .calc-action { flex: 0 0 auto; display: flex; align-items: center; }
  .calc-action .btn-calc { min-width: 120px; padding: 0.6rem 1.25rem; border-radius: 0.7rem; }
  @media (max-width: 640px) {
    .land-dist-field { min-width: 100%; }
    .land-dist-group { gap: 0.45rem 0.5rem; }
    .input-row { align-items: stretch; }
    .calc-action { width: 100%; margin-top: 0.5rem; }
    .calc-action .btn-calc { width: 100%; padding: 0.75rem; font-size: 1rem; }
  }

  /* ══ 计算器模式切换选项卡 ══ */
  .calc-mode-tabs {
    display: flex; gap: 0.35rem; background: var(--ui-bg-1);
    padding: 0.3rem; border-radius: 0.75rem; margin-bottom: 1rem;
  }
  .calc-mode-tab {
    flex: 1; padding: 0.55rem 1rem; border-radius: 0.6rem;
    font-size: 0.85rem; font-weight: 600; cursor: pointer;
    border: none; background: transparent; color: var(--ui-muted);
    transition: all 0.25s; text-align: center;
  }
  .calc-mode-tab.active {
    background: var(--ui-panel); color: var(--ui-accent);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  }
  .calc-mode-tab:hover:not(.active) { color: var(--ui-text); background: var(--ui-panel-2); }

  /* ══ 时间计算器样式 ══ */
  .tc-search-wrap { position: relative; }
  .tc-main-row { align-items: flex-end; }
  .tc-main-action {
    align-self: flex-end;
    min-width: 8.5rem;
    padding-bottom: 0.05rem;
  }
  .tc-main-action .btn-calc {
    width: 100%;
    min-height: 2.55rem;
  }
  @media (max-width: 640px) {
    .tc-main-row { align-items: stretch; }
    .tc-main-action { width: 100%; min-width: 0; }
    .tc-main-action .btn-calc { width: 100%; padding: 0.75rem; font-size: 1rem; }
  }
  .tc-dropdown {
    position: absolute; z-index: 100; left: 0; right: 0; top: 100%;
    max-height: 240px; overflow-y: auto;
    background: var(--ui-panel); border: 1.5px solid var(--ui-line); border-radius: 0.6rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12); margin-top: 2px;
  }
  .tc-dropdown-item {
    padding: 0.5rem 0.75rem; cursor: pointer;
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.85rem; color: var(--ui-text);
    border-bottom: 1px solid var(--ui-panel-2); transition: background 0.15s;
  }
  .tc-dropdown-item:hover { background: var(--ui-panel-2); }
  .tc-dropdown-item img { width: 24px; height: 24px; object-fit: contain; }
  .tc-dropdown-item .tc-dd-level { font-size: 0.7rem; color: var(--ui-muted); margin-left: auto; }

  .tc-selected-crop {
    display: flex; align-items: center; gap: 0.75rem;
    background: var(--ui-panel-2); border: 1px solid var(--ui-accent-border); border-radius: 0.75rem;
    padding: 0.75rem 1rem;
  }
  .tc-selected-crop img { width: 48px; height: 48px; object-fit: contain; }
  .tc-selected-crop .tc-crop-name { font-size: 1.05rem; font-weight: 700; color: var(--ui-accent); }
  .tc-selected-crop .tc-crop-meta { font-size: 0.78rem; color: var(--ui-muted); margin-top: 0.15rem; }

  .tc-toggle-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; padding: 0.5rem 0; }
  @media (max-width: 640px) {
    .tc-toggle-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .tc-toggle-row .fert-toggle { margin-left: 0 !important; }
  }
  .tc-info-tip {
    font-size: 0.75rem; color: var(--ui-muted); background: var(--ui-panel-2);
    border: 1px solid var(--ui-line); border-radius: 0.5rem;
    padding: 0; line-height: 1.4; max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.3s, opacity 0.3s, padding 0.3s;
  }
  .tc-info-tip.show { max-height: 100px; opacity: 1; padding: 0.4rem 0.7rem; }

  .tc-fert-phases { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
  .tc-fert-phase-btn {
    display: flex; align-items: center; gap: 0.35rem;
    padding: 0.4rem 0.7rem; border-radius: 0.5rem;
    font-size: 0.78rem; font-weight: 500;
    border: 1.5px solid var(--ui-line); background: var(--ui-panel); color: var(--ui-text);
    cursor: pointer; transition: all 0.2s;
  }
  .tc-fert-phase-btn img { width: 24px; height: 24px; object-fit: contain; }
  .tc-fert-phase-btn.selected { border-color: var(--ui-accent); background: var(--ui-panel-2); color: var(--ui-accent); font-weight: 600; }
  .tc-fert-phase-btn:hover { border-color: color-mix(in srgb, var(--ui-good) 40%, transparent); }

  .tc-land-times {
    display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem;
    padding: 0.75rem; background: var(--ui-panel-2); border-radius: 0.6rem; border: 1px solid var(--ui-line);
  }
  .tc-land-time-item { display: flex; align-items: center; gap: 0.35rem; }
  .tc-land-time-item label { font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
  .tc-land-time-item input[type="time"] {
    padding: 0.35rem 0.5rem; border: 1.5px solid var(--ui-line);
    border-radius: 0.5rem; font-size: 0.85rem; background: var(--ui-panel);
  }

  /* 时间结果卡片 */
  .tc-results { display: grid; grid-template-columns: 1fr; gap: 1rem; }
  @media (min-width: 768px) { .tc-results { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); } }

  .tc-land-card {
    background: var(--ui-panel); border-radius: var(--radius-card);
    box-shadow: 0 1px 8px rgba(0,0,0,0.05); border: 1px solid var(--ui-line); overflow: hidden;
  }
  .tc-land-card[data-land="1"] { border-top: 3px solid var(--ui-muted); }
  .tc-land-card[data-land="2"] { border-top: 3px solid var(--land-2); }
  .tc-land-card[data-land="3"] { border-top: 3px solid var(--ui-text); }
  .tc-land-card[data-land="4"] { border-top: 3px solid var(--land-4); }
  .tc-land-card[data-land="5"] {
    border-top: 3px solid var(--land-5);
    background: var(--ui-panel);
    box-shadow: var(--ui-shadow);
  }

  .tc-land-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.75rem 1rem; font-weight: 700; font-size: 0.88rem;
    flex-wrap: wrap; gap: 0.25rem;
  }
  .tc-land-header .tc-harvest-time { font-size: 0.82rem; color: var(--ui-accent); }

  /* 精简卡片摘要 */
  .tc-card-summary {
    cursor: pointer; user-select: none;
    padding: 0.65rem 1rem; transition: background 0.15s;
  }
  .tc-card-summary:hover { background: var(--ui-panel-2); }
  .tc-land-card[data-land="5"] .tc-card-summary {
    background: var(--ui-panel-2);
  }
  .tc-land-card[data-land="5"] .tc-card-summary:hover {
    background: var(--ui-panel-2);
  }
  /* 上排：土地名 + 成熟时间 */
  .tc-sum-top {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.5rem; flex-wrap: wrap;
  }
  .tc-sum-land {
    font-weight: 700; font-size: 0.9rem; white-space: nowrap;
  }
  .tc-sum-harvests {
    display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0;
  }
  .tc-sum-harvest-item {
    display: flex; align-items: baseline; gap: 0.25rem; white-space: nowrap;
  }
  .tc-sum-harvest-label {
    font-size: 0.7rem; color: var(--ui-muted); font-weight: 500;
  }
  .tc-sum-harvest-time {
    font-family: 'Courier New', monospace; font-size: 1.05rem;
    font-weight: 700; color: var(--ui-accent);
  }
  .tc-sum-harvest-item.s2 .tc-sum-harvest-label { color: var(--ui-special); }
  .tc-sum-harvest-item.s2 .tc-sum-harvest-time { color: var(--ui-special); }
  .tc-land-card[data-land="5"] .tc-sum-harvest-time { color: var(--ui-special); }
  .tc-land-card[data-land="5"] .tc-sum-harvest-item.s2 .tc-sum-harvest-time { color: var(--ui-special); }
  /* 下排：加成 / 耗时 / 经验 / 展开 */
  .tc-sum-bottom {
    display: flex; align-items: center; gap: 0.6rem; margin-top: 0.3rem;
    flex-wrap: wrap;
  }
  .tc-sum-tag {
    font-size: 0.7rem; white-space: nowrap;
    padding: 0.1rem 0.4rem; border-radius: 999px;
  }
  .tc-sum-tag.reduce { color: var(--ui-muted); background: var(--ui-bg-1); }
  .tc-sum-tag.dur { color: var(--ui-info); background: var(--ui-info-soft); }
  .tc-sum-tag.exp { color: var(--ui-special); background: var(--ui-special-soft); }
  .tc-land-card[data-land="5"] .tc-sum-tag.reduce { color: var(--ui-special); background: var(--ui-special-soft); }
  .tc-land-card[data-land="5"] .tc-sum-tag.exp { color: var(--ui-special); background: var(--ui-special-soft); }
  .tc-expand-icon {
    font-size: 0.7rem; color: var(--ui-muted); transition: transform 0.25s;
    margin-left: auto;
  }
  .tc-land-card.expanded .tc-expand-icon { transform: rotate(180deg); }
  /* 化肥摘要行 */
  .tc-sum-fert-row {
    display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
    padding: 0.3rem 1rem 0.45rem; font-size: 0.72rem; color: var(--ui-warn);
    border-top: 1px dashed color-mix(in srgb, var(--ui-warn) 40%, transparent); background: var(--ui-warn-soft);
  }
  .tc-land-card[data-land="5"] .tc-sum-fert-row {
    border-top-color: var(--ui-special-soft);
    background: var(--ui-field);
    color: var(--ui-special);
  }
  .tc-sum-fert-item {
    display: inline-flex; align-items: center; gap: 0.25rem;
  }
  .tc-sum-fert-time {
    font-family: 'Courier New', monospace; font-weight: 700;
  }
  .tc-sum-fert-skip {
    color: var(--ui-warn); font-weight: 500;
  }
  .tc-land-card[data-land="5"] .tc-sum-fert-skip { color: var(--ui-special); }

  /* 详情区域折叠 */
  .tc-card-detail {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease;
    border-top: 0 solid var(--ui-bg-1);
  }
  .tc-land-card.expanded .tc-card-detail {
    max-height: 2000px;
    border-top-width: 1px;
  }
  .tc-land-card[data-land="5"].expanded .tc-card-detail { border-top-color: var(--ui-special-soft); }

  /* 全部展开/收起按钮 */
  .tc-toggle-all-btn {
    font-size: 0.78rem; color: var(--ui-muted); cursor: pointer;
    padding: 0.35rem 0.75rem; border-radius: 0.5rem;
    border: 1px solid var(--ui-line); background: var(--ui-panel);
    transition: all 0.15s; display: inline-flex; align-items: center; gap: 0.3rem;
  }
  .tc-toggle-all-btn:hover { background: var(--ui-panel-2); border-color: var(--ui-line-strong); }

  .tc-season-divider {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; background: var(--ui-special-soft);
    font-size: 0.78rem; font-weight: 600; color: var(--ui-special);
  }
  .tc-land-card[data-land="5"] .tc-season-divider {
    background: var(--ui-special-soft);
    color: var(--ui-special);
  }
  .tc-phase-row {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0.45rem 1rem; border-bottom: 1px solid var(--ui-panel-2); transition: background 0.15s;
  }
  .tc-phase-row:hover { background: var(--ui-panel-2); }
  .tc-phase-row.skipped { opacity: 0.6; background: var(--ui-warn-soft); }
  .tc-phase-row.mature { background: var(--ui-panel-2); }
  .tc-phase-img {
    width: 36px; height: 36px; object-fit: contain;
    border-radius: 0.4rem; background: var(--ui-panel-2); padding: 3px; flex-shrink: 0;
  }
  .tc-phase-info { flex: 1; min-width: 0; }
  .tc-phase-name { font-weight: 600; font-size: 0.82rem; color: var(--ui-text); }
  .tc-phase-dur { font-size: 0.72rem; color: var(--ui-muted); }
  .tc-phase-clock {
    font-family: 'Courier New', monospace; font-size: 0.8rem;
    font-weight: 600; color: var(--ui-text); white-space: nowrap;
  }
  .tc-fert-badge {
    display: inline-block; font-size: 0.63rem; font-weight: 600;
    background: var(--ui-warn-soft); color: var(--ui-warn); padding: 0.08rem 0.35rem;
    border-radius: 999px; margin-left: 0.2rem;
  }
  .tc-mature-badge {
    display: inline-block; font-size: 0.63rem; font-weight: 600;
    background: var(--ui-good-soft); color: var(--ui-good); padding: 0.08rem 0.35rem;
    border-radius: 999px; margin-left: 0.2rem;
  }
  @media (max-width: 640px) {
    .tc-phase-clock { font-size: 0.7rem; }
    .tc-phase-img { width: 30px; height: 30px; }
    .tc-phase-row { padding: 0.4rem 0.75rem; gap: 0.5rem; }
    .tc-land-header { font-size: 0.8rem; padding: 0.6rem 0.75rem; }
    .tc-card-summary { padding: 0.5rem 0.75rem; }
    .tc-sum-harvest-time { font-size: 0.9rem; }
    .tc-sum-harvests { gap: 0.5rem; }
    .tc-sum-bottom { gap: 0.4rem; }
  }
