/* 纸张克重换算 —— 牛皮米黄 · 纸叠 */
.c60{
  --a:#92400e;
  --a2:#fcd34d;
  --a-soft:rgba(146,64,14,.09);
  --a-line:rgba(146,64,14,.26);
}

.c60-hero{
  background:
    radial-gradient(700px 320px at 10% 0%, rgba(255,255,255,.8), transparent 60%),
    repeating-linear-gradient(0deg, rgba(146,64,14,.045) 0 1px, transparent 1px 6px),
    linear-gradient(135deg,#fffbeb 0%,#fef3c7 48%,#fffdf7 100%);
}
:root[data-theme="dark"] .c60-hero{
  background:
    radial-gradient(700px 320px at 10% 0%, rgba(146,64,14,.2), transparent 60%),
    repeating-linear-gradient(0deg, rgba(252,211,77,.04) 0 1px, transparent 1px 6px),
    linear-gradient(135deg,#1a1206 0%,#211707 48%,#0b1322 100%);
}

.pg-art{min-height:206px;}
.pg-stack{
  position:relative;
  width:168px;
  height:176px;
}
.pg-stack span{
  position:absolute;
  left:0;
  width:150px;
  height:112px;
  border-radius:4px;
  background:linear-gradient(135deg,#fffbeb,#fde68a);
  border:1px solid rgba(146,64,14,.28);
  box-shadow:0 6px 16px rgba(146,64,14,.12);
  font-size:10px;
  font-weight:800;
  color:#92400e;
  text-align:right;
  padding:6px 8px;
  box-sizing:border-box;
}
.pg-stack span:nth-child(1){bottom:0;left:18px;transform:rotate(-5deg);}
.pg-stack span:nth-child(2){bottom:9px;left:12px;transform:rotate(-2deg);}
.pg-stack span:nth-child(3){bottom:18px;left:6px;transform:rotate(1deg);}
.pg-stack span:nth-child(4){bottom:27px;left:0;transform:rotate(4deg);}
.pg-card{
  position:absolute;
  right:-6px;
  top:-6px;
  z-index:2;
  padding:8px 10px;
  border-radius:10px;
  background:#fffdf7;
  border:1px solid rgba(146,64,14,.3);
  box-shadow:0 12px 26px rgba(146,64,14,.18);
  font-size:11px;
  line-height:1.5;
  color:#78350f;
  text-align:center;
  font-weight:700;
}
.pg-card b{font-size:20px;color:#92400e;}
.pg-art .chip{white-space:nowrap;}
.pg-art .chip.c1{top:36px;right:0;left:auto;}
.pg-art .chip.c2{bottom:4px;right:-10px;left:auto;}
.pg-art .chip b{color:#92400e;}

.c60-metric.is-hero{
  background:linear-gradient(135deg,#b45309,#78350f 78%);
  box-shadow:0 16px 34px rgba(146,64,14,.3);
}
.c60-chip.on{background:rgba(146,64,14,.1);border-color:#92400e;color:#78350f;}
.c60-bar-row .bf{background:linear-gradient(90deg,#fcd34d,#b45309);}

/* 纸叠 SVG */
.pg-svg{margin-top:16px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--soft);overflow-x:auto;}
.pg-svg svg{display:block;width:100%;height:auto;min-width:300px;}
.pg-svg .pg-cap{display:flex;justify-content:space-between;gap:10px;margin-bottom:8px;font-size:12px;font-weight:800;color:var(--muted);}
.pg-svg .pg-cap span:last-child{color:var(--ink2);}
.pg-svg .pg-sheet{fill:url(#pgSheetGrad);stroke:#b45309;stroke-width:1;}
.pg-svg .pg-sheet-top{fill:#fef3c7;stroke:#92400e;stroke-width:1.3;}
.pg-svg .pg-dim{stroke:#fcd34d;stroke-width:1.2;}
.pg-svg .pg-dimtext{font-size:11px;fill:#64748b;font-weight:700;}
.pg-svg .pg-big{font-size:20px;font-weight:900;fill:#92400e;}

/* 三向换算表 */
#pgConvertTable tbody tr:nth-child(even) td{background:rgba(146,64,14,.035);}
#pgConvertTable td:first-child{font-weight:800;color:var(--ink);}
#pgConvertTable td{font-variant-numeric:tabular-nums;}
#pgBatchInput{min-height:96px;}
#pgBatchTable td{font-variant-numeric:tabular-nums;}

@media (max-width:640px){
  .pg-svg{padding:10px;}
  .pg-svg .pg-cap{flex-direction:column;gap:2px;}
  .pg-art{display:none;}
}
