.dug {
  --dg-paper: #f2f0e8;
  --dg-ink: #121212;
  --dg-red: #ff4c2f;
  --dg-rule: rgba(18, 18, 18, 0.4);
  --dg-gutter: clamp(22px, 4vw, 68px);
  margin: 0;
  color: var(--dg-ink);
  background: var(--dg-paper);
  font-family: Manrope, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.dug *,
.dug *::before,
.dug *::after {
  box-sizing: border-box;
}
.dug-shell {
  max-width: 1600px;
  margin-inline: auto;
}
.dug-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding-inline: var(--dg-gutter);
  border-bottom: 1px solid var(--dg-ink);
}
.dug-home,
.dug-index,
.dug-face {
  color: inherit;
  text-decoration: none;
}
.dug-home,
.dug-index {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.dug-home {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.065em;
}
.dug-home b {
  color: #1646d8;
}
.dug-index {
  font-size: 14px;
  gap: 9px;
}
.dug-index svg {
  width: 17px;
  height: 17px;
}
.dug-bar h1 {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.dug-bar h1::before {
  content: "";
  height: 20px;
  width: 1px;
  background: var(--dg-rule);
  transform: rotate(20deg);
}
.dug-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}
.dug-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--dg-ink);
}
.dug-face {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(188px, 1fr) auto;
  min-width: 0;
  height: clamp(565px, calc(100svh - 145px), 740px);
  padding: clamp(28px, 3.5vw, 56px) var(--dg-gutter) 0;
}
.dug-face:first-child {
  background: var(--dg-paper);
}
.dug-face:last-child {
  border-left: 1px solid var(--dg-ink);
  background: var(--dg-red);
}
.dug-face:focus-visible {
  outline: 3px solid var(--dg-ink);
  outline-offset: -7px;
  z-index: 1;
}
.dug-id {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 clamp(12px, 1.7vw, 26px);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 650;
}
.dug-id span:last-child {
  font:
    500 12px/1.4 "DM Mono",
    monospace;
  letter-spacing: 0.045em;
}
.dug-head h2 {
  margin: 0;
  font-size: clamp(42px, 5.45vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.065em;
}
.dug-head p:last-child {
  margin: clamp(13px, 1.2vw, 18px) 0 0;
  font-size: clamp(15px, 1.12vw, 18px);
  line-height: 1.6;
  font-weight: 450;
}
.dug-product,
.dug-score {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  min-height: 0;
}
.dug-product {
  position: relative;
  align-items: center;
  padding-top: 6px;
}
.dug-product img {
  display: block;
  max-height: 100%;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.2, 0.72, 0.3, 1);
}
.dug-score {
  margin-block: 12px;
}
.dug-score-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  border-bottom: 1px solid var(--dg-rule);
  padding-bottom: 9px;
}
.dug-score-top span:first-child {
  font-weight: 650;
  font-size: 15px;
}
.dug-score-top span:last-child {
  font:
    500 12px/1.3 "DM Mono",
    monospace;
}
.dug-average {
  display: block;
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(108px, 14.7vw, 230px);
  line-height: 0.99;
  font-weight: 800;
  letter-spacing: -0.052em;
  margin-left: -0.05em;
}
.dug-equation {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}
.dug-equation svg {
  width: clamp(88px, 13.25vw, 205px);
  flex: none;
  height: auto;
  display: block;
}
.dug-equation span {
  font-size: clamp(13px, 1.1vw, 17px);
  font-weight: 550;
  white-space: nowrap;
}
.dug-action {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  min-height: clamp(66px, 6vw, 85px);
  border-top: 1px solid var(--dg-ink);
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 650;
}
.dug-action svg {
  width: 30px;
  height: 30px;
  transition: transform 0.2s;
}
@media (hover: hover) {
  .dug-face:hover .dug-action svg {
    transform: translateY(4px);
  }
  .dug-face:hover .dug-product img {
    transform: translateY(-3px) scale(1.015);
  }
  .dug-index:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}
@media (max-width: 670px) {
  .dug {
    --dg-gutter: 20px;
  }
  .dug-bar {
    min-height: 58px;
  }
  .dug-brand,
  .dug-bar h1 {
    gap: 11px;
  }
  .dug-bar h1 {
    font-size: 14px;
  }
  .dug-index {
    font-size: 13px;
    gap: 6px;
  }
  .dug-pair {
    grid-template-columns: 1fr;
  }
  .dug-face {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    grid-template-rows: 1fr auto;
    align-items: center;
    column-gap: 16px;
    padding: 18px var(--dg-gutter) 0;
    height: auto;
    min-height: 235px;
  }
  .dug-face:last-child {
    border-left: 0;
    border-top: 1px solid var(--dg-ink);
  }
  .dug-id {
    margin: 0 0 12px;
    font-size: 13px;
  }
  .dug-id span:last-child {
    display: none;
  }
  .dug-head h2 {
    font-size: clamp(30px, 7.9vw, 43px);
    white-space: nowrap;
  }
  .dug-head p:last-child {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.55;
  }
  .dug-product {
    padding: 0;
    height: clamp(110px, 31vw, 160px);
  }
  .dug-product img {
    width: 112%;
    max-width: none;
    height: 100%;
  }
  .dug-score {
    margin: 0;
    align-self: center;
  }
  .dug-score-top {
    padding-bottom: 4px;
  }
  .dug-score-top span:first-child,
  .dug-score-top span:last-child {
    font-size: 12px;
  }
  .dug-average {
    font-size: clamp(58px, 15.3vw, 100px);
  }
  .dug-equation {
    gap: 5px;
    flex-wrap: wrap;
  }
  .dug-equation svg {
    display: none;
  }
  .dug-equation span {
    font-size: 12px;
  }
  .dug-action {
    grid-column: 1 / -1;
    min-height: 46px;
    margin-top: 8px;
    font-size: 14px;
  }
  .dug-action svg {
    width: 21px;
    height: 21px;
  }
}
@media (max-width: 359px) {
  .dug {
    --dg-gutter: 15px;
  }
  .dug-face {
    column-gap: 8px;
  }
  .dug-index svg {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dug-face *,
  .dug-face *::after {
    transition: none !important;
  }
}

.bb-section {
  box-sizing: border-box;
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 64px) clamp(18px, 4vw, 64px);
  color: #121212;
  background: #f2f0e8;
  font-family: Manrope, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  scroll-margin-top: 12px;
}
.bb-section * {
  box-sizing: border-box;
}
.bb-section h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(28px, 3.1vw, 48px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.25;
}
.bb-heading,
.dad-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.bb-filter {
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.bb-filter select {
  margin-left: 8px;
  min-height: 44px;
  cursor: pointer;
  border: 1px solid #9e9c94;
  border-radius: 0;
  padding: 5px 13px;
  background: #f2f0e8;
  color: #121212;
  font:
    600 16px Manrope,
    "PingFang SC",
    sans-serif;
}
.bb-tabs {
  display: flex;
  gap: clamp(16px, 3vw, 40px);
  border-bottom: 1px solid #a6a49a;
  margin-top: 18px;
}
.bb-tabs button {
  border: 0;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #56554d;
  padding: 11px 0 10px;
  font:
    650 17px/1.3 Manrope,
    "PingFang SC",
    sans-serif;
  min-height: 46px;
  cursor: pointer;
}
.bb-tabs button[aria-pressed="true"] {
  border-color: #d63b20;
  color: #121212;
}
.bb-tabs small {
  font:
    500 12px "DM Mono",
    monospace;
  margin-left: 4px;
}
.bb-thead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 20px 0 9px;
}
.bb-thead h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.5;
}
.bb-thead span,
.bb-note,
.bb-explainer p,
.bb-section .dad-intro p,
.bb-section article p {
  color: #48483f;
}
.bb-thead span {
  font-size: 13px;
}
.bb-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}
.bb-scroll-hint {
  display: none;
}
@media (max-width: 450px) {
  .bb-scroll-hint {
    display: block;
    margin: -2px 0 8px;
    color: #55544d;
    font-size: 12px;
  }
}
.bb-table {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  font:
    400 14px/1.3 "DM Mono",
    ui-monospace,
    monospace;
  font-variant-numeric: tabular-nums;
}
.bb-table thead th {
  background: #deddd3;
  padding: 9px;
  color: #35352d;
  font-size: 12px;
}
.bb-table th,
.bb-table td {
  text-align: right;
  min-width: 47px;
  white-space: nowrap;
  padding: 10px 9px;
  border: 0;
  border-bottom: 1px solid #c9c8bd;
}
.bb-table th:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 210px;
  background: #f2f0e8;
  border-right: 1px solid #c6c5b9;
  white-space: normal;
  font-family: Manrope, "PingFang SC", sans-serif;
  font-weight: 650;
}
.bb-table thead th:first-child {
  background: #deddd3;
}
.bb-table .bb-total > * {
  background: #22251e;
  color: #fbfaf4;
}
.bb-table .bb-total th:first-child {
  background: #22251e;
}
.bb-table th small {
  display: block;
  font:
    400 12px/1.45 "DM Mono",
    "PingFang SC",
    monospace;
  color: #605f56;
  margin-top: 3px;
}
.bb-note,
.bb-empty,
.bb-explainer {
  font-size: 14px;
  line-height: 1.7;
}
.bb-note {
  margin: 12px 0 0;
}
.bb-empty {
  padding: 26px 0;
  border-bottom: 1px solid #a6a49a;
}
.bb-explainer {
  margin-top: 14px;
}
.bb-explainer summary {
  cursor: pointer;
  width: fit-content;
  padding: 11px 0;
  font-weight: 650;
}
.bb-explainer dl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px 18px;
}
.bb-explainer dt {
  font-weight: 700;
}
.bb-explainer dd {
  margin: 0;
}
.bb-section a {
  color: inherit;
  text-underline-offset: 4px;
}
.bb-section a:focus-visible,
.bb-section :is(button, select, summary, [tabindex]):focus-visible {
  outline: 3px solid #1646d8;
  outline-offset: -2px;
}
#dad.bb-section {
  border-top: 1px solid #aaa89d;
}
.dad-intro > div {
  max-width: 700px;
}
.bb-section .dad-intro p,
.bb-section article p {
  margin: 12px 0;
  font-size: 16px;
  line-height: 1.8;
}
.dad-logo {
  width: clamp(150px, 22vw, 295px);
  margin-left: auto;
}
.dad-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.dad-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 650;
}
.dad-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.dad-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 38px);
  margin-top: 26px;
}
.dad-products article {
  min-width: 0;
}
.dad-products h3 {
  font-size: clamp(19px, 1.8vw, 27px);
  letter-spacing: -0.04em;
  margin: 14px 0 0;
}
.dad-products h3 a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.dad-products h3 a:hover {
  text-decoration: underline;
}
.dad-picture {
  aspect-ratio: 1.74;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  overflow: hidden;
}
.dad-picture img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 12px;
  object-fit: contain;
}
.dad-picture.scoring {
  background: #133731;
}
.dad-picture.motion {
  background: #e4ded7;
}
.dad-picture.schedule {
  background: #d9e0cb;
}
.schedule > div {
  width: 76%;
  padding: 10px 12px;
  border: 1px solid #6b755e;
  background: #f4f1e7;
}
.schedule small {
  font-size: 12px;
  font-weight: 700;
}
.schedule span {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: clamp(12px, 1vw, 16px);
  line-height: 1.45;
  padding: 5px 0;
  border-top: 1px solid #bdc3b0;
}
.schedule b {
  font-weight: 600;
}
.schedule small {
  display: block;
  margin-bottom: 7px;
}
@media (max-width: 720px) {
  .bb-section {
    padding: 32px 18px;
  }
  .bb-section h2 {
    font-size: 27px;
  }
  .bb-heading {
    gap: 6px;
    flex-wrap: wrap;
  }
  .bb-filter {
    font-size: 12px;
  }
  .bb-filter select {
    padding: 4px 6px;
    font-size: 15px;
    margin-left: 2px;
  }
  .bb-tabs {
    justify-content: space-between;
    gap: 8px;
  }
  .bb-tabs button {
    font-size: 16px;
  }
  .bb-tabs small {
    display: block;
    margin: 3px 0 0;
  }
  .bb-table th:first-child {
    width: 124px;
    min-width: 124px;
    max-width: 124px;
  }
  .bb-table th,
  .bb-table td {
    padding: 9px 7px;
    min-width: 43px;
  }
  .dad-intro {
    flex-wrap: wrap;
  }
  .dad-logo {
    width: 148px;
    margin: 0;
  }
  .dad-products {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }
  .dad-products article {
    border-top: 1px solid #b5b3a8;
    padding-top: 18px;
  }
  .schedule span {
    font-size: 14px;
  }
  .bb-note {
    font-size: 14px;
  }
  .bb-thead {
    gap: 4px;
  }
  .bb-thead span {
    font-size: 12px;
  }
}
.site-skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 5;
  padding: 12px;
  background: var(--dg-ink);
  color: var(--dg-paper);
}
.site-skip:focus {
  top: 12px;
}
.site-footer {
  border-top: 1px solid var(--dg-rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px var(--dg-gutter);
  font:
    500 12px/1.4 "DM Mono",
    monospace;
}
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-underline-offset: 4px;
}
#stats {
  border-top: 1px solid var(--dg-rule);
}
.bb-heading h2 {
  overflow-wrap: anywhere;
}
.bb-scroll:focus-visible {
  outline-offset: -3px;
}
.bb-status {
  font-size: 15px;
  line-height: 1.65;
}
.bb-table th abbr {
  text-decoration: none;
}
.dad-links a:hover,
.dug-index:hover {
  text-decoration: underline;
}
@media (max-width: 720px) {
  .dad-intro p,
  .bb-section article p {
    font-size: 16px;
  }
  .bb-filter select {
    font-size: 16px;
  }
}
#stats [hidden] {
  display: none;
}
#bb-output > button {
  min-height: 44px;
  padding: 6px 16px;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid var(--dg-ink);
  cursor: pointer;
}
