.family-section { container-type: inline-size; margin: 0; background: #fff; color: #000; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; font-weight: 800; scroll-margin-top: 12px; }
.family-banner { grid-template-columns: 3% 35% 5% 21% 5% 28% 3%; min-height: 10.7cqw; }
.family-banner h2 { font-size: 4.7cqw; }
.family-banner .record-domain { font-size: 4.1cqw; }
.family-lipstick { display: block; width: 100%; height: 6.6cqw; object-fit: contain; }
.family-row { display: grid; grid-template-columns: 39% 36% 25%; align-items: center; min-height: 10cqw; padding: 1.1cqw .45cqw; border: .22cqw solid #ccc; border-top: 0; background: #fff; color: #000; font-size: 4.8cqw; font-weight: 800; line-height: 1.4; letter-spacing: -.13cqw; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.family-prefix,.family-choice strong,.family-result b { font-weight: inherit; }
.family-prefix { min-width: 0; }
.family-choice { display: flex; justify-content: center; align-items: baseline; min-width: 0; }
.family-result { text-align: right; min-width: 0; }
.family-red { color: #e80000; }
.family-row.has-long-period { grid-template-columns: 1fr; gap: .5cqw; padding: 1.5cqw 1cqw; white-space: normal; overflow-wrap: anywhere; }
.family-row.has-long-period .family-choice { justify-content: flex-start; }
.family-row.has-long-period .family-result { text-align: left; }
.family-legend { display: flex; align-items: center; justify-content: center; gap: 2.2cqw; min-height: 9.4cqw; margin: 0; padding: 1.4cqw .5cqw; border: .22cqw solid #ccc; border-top: 0; background: #fff; color: #000; font-size: 4.2cqw; font-weight: 800; line-height: 1.4; letter-spacing: -.1cqw; white-space: nowrap; }
.family-legend > span:first-child { color: #0000cc; }
.family-legend > span:last-child { color: #008000; }
.family-admin-preview { container-type: inline-size; padding: 0; background: #fff; border: 1px solid #d9e3f4; border-radius: 10px; overflow: hidden; }
@media (max-width: 600px) { .family-row,.family-legend { border-width: 1px; } }
