.tzr-calculator {
  --tzr-ink: #111;
  --tzr-yellow: #f4f01e;
  --tzr-paper: #efefef;
  --tzr-white: #fff;
  --tzr-line: #d1d1d1;
  width: 100%;
  margin: 2rem 0;
  color: var(--tzr-ink);
  background: var(--tzr-paper);
  border: 1px solid var(--tzr-ink);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  box-sizing: border-box;
}

.tzr-calculator *,
.tzr-calculator *::before,
.tzr-calculator *::after { box-sizing: border-box; }
.tzr-calculator button,
.tzr-calculator input,
.tzr-calculator select { font: inherit; }
.tzr-zone:empty { display: none; }
.tzr-plus-workspace { padding-top: 0; }
.tzr-calculator .wp-block-pmpro-membership { margin: 0; }

.tzr-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, .85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  padding: clamp(34px, 5.5vw, 64px);
  color: var(--tzr-ink);
  background: var(--tzr-white);
  border-top: 4px solid var(--tzr-yellow);
  border-bottom: 1px solid var(--tzr-ink);
}
.tzr-heading > * { position: relative; z-index: 1; }
.tzr-heading .tzr-eyebrow { display: inline-block; padding: 4px 7px; color: var(--tzr-ink); background: var(--tzr-yellow); font-size: 11px; font-weight: 800; letter-spacing: .09em; }
.tzr-heading h2 { margin: 17px 0 0; color: var(--tzr-ink); font-family: "Archivo", Arial, sans-serif; font-size: clamp(43px, 6.4vw, 76px); font-weight: 500; line-height: 1.01; letter-spacing: -.04em; text-transform: none; }
.tzr-heading p { margin: 0; color: #333; font-family: "Noto Serif", Georgia, serif; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.6; }

.tzr-tabs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--tzr-ink); border-bottom: 1px solid var(--tzr-ink); }
.tzr-tabs button { min-height: 50px; border: 0; border-right: 1px solid var(--tzr-ink); border-radius: 0; background: transparent; color: var(--tzr-ink); font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; cursor: pointer; }
.tzr-tabs button:last-child { border-right: 0; }
.tzr-tabs button.is-active { color: var(--tzr-yellow); background: var(--tzr-ink); }

.tzr-workspace { display: block; padding: clamp(16px, 3vw, 30px); }
.tzr-race-card { overflow: hidden; border: 1px solid var(--tzr-ink); background: var(--tzr-white); }
.tzr-race-toolbar { padding: clamp(22px, 3.5vw, 38px); display: flex; justify-content: space-between; align-items: end; gap: 28px; }
.tzr-race-toolbar .tzr-section-label { margin-bottom: 0; }
.tzr-race-toolbar h3 { margin: 6px 0 9px; color: var(--tzr-ink); font-family: "Archivo", Arial, sans-serif; font-size: clamp(28px, 4vw, 42px); font-weight: 500; line-height: 1.06; letter-spacing: -.03em; }
.tzr-race-toolbar p { max-width: 680px; margin: 0; color: #555; font-family: "Noto Serif", Georgia, serif; font-size: 14px; line-height: 1.55; }
.tzr-reset { flex: 0 0 auto; min-height: 40px; padding: 8px 11px; border: 1px solid var(--tzr-ink); border-radius: 0; color: var(--tzr-ink); background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tzr-reset:hover { color: var(--tzr-yellow); background: var(--tzr-ink); }
.tzr-race-card > .tzr-rule { margin: 0; padding: 15px clamp(22px, 3.5vw, 38px); border-top: 1px solid #d5d0c8; background: #fafafa; }
.tzr-swipe-hint { display: none; }
.tzr-race-scroll { overflow-x: auto; border-top: 1px solid var(--tzr-ink); }
.tzr-race-table { width: 100%; min-width: 930px; margin: 0; border: 0; border-collapse: collapse; background: #fff; }
.tzr-race-table th,
.tzr-race-table td { border: 0; text-align: left; }
.tzr-race-table th { height: 40px; padding: 8px 11px; color: #666; background: #efefef; border-bottom: 1px solid var(--tzr-ink); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.tzr-race-table th:nth-child(4),
.tzr-race-table th:nth-child(5),
.tzr-race-table td:nth-child(4),
.tzr-race-table td:nth-child(5) { text-align: right; }
.tzr-race-table td { height: 76px; padding: 10px 11px; border-bottom: 1px solid #d7d7d7; vertical-align: middle; font-size: 12px; }
.tzr-race-table tr:last-child td { border-bottom: 0; }
.tzr-race-table tbody tr:hover { background: #fafafa; }
.tzr-race-table tbody tr.is-winner { background: #fffde2; }
.tzr-race-table tbody tr.is-winner td:first-child { box-shadow: inset 5px 0 0 var(--tzr-yellow); }
.tzr-place { font-family: "Archivo", Arial, sans-serif; font-size: 24px; font-weight: 600; }
.tzr-athlete { min-width: 180px; display: flex; flex-direction: column; }
.tzr-athlete strong { color: var(--tzr-ink); font-size: 13px; }
.tzr-athlete small { margin-top: 4px; color: #777; font-size: 11px; }
.tzr-row-time { width: 154px; height: 37px; display: flex; align-items: center; gap: 4px; padding: 4px 7px; border: 1px solid #999; background: #fff; }
.tzr-row-time input { width: 38px; min-width: 0; padding: 2px; border: 0; border-bottom: 1px solid #c9c9c9; border-radius: 0; outline: none; background: transparent; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.tzr-row-time small { margin-left: auto; color: #777; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.tzr-winner { margin-top: 5px; padding: 0; border: 0; color: #555; background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.tzr-winner:hover { color: #000; }
.tzr-race-points,
.tzr-new-total { color: var(--tzr-ink); font-size: 18px; font-variant-numeric: tabular-nums; }
.tzr-virtual-rank { display: inline-block; padding: 4px 6px; color: var(--tzr-ink); background: #efefef; font-size: 11px; font-weight: 800; white-space: nowrap; }
.tzr-race-table .is-winner .tzr-race-points { padding: 3px 5px; background: var(--tzr-yellow); }
.tzr-summary { margin-top: 16px; }
.tzr-summary .tzr-leader-card { min-width: 0; }
.tzr-controls,
.tzr-result,
.tzr-table-card,
.tzr-leader-card { min-width: 0; border: 1px solid var(--tzr-ink); background: var(--tzr-white); }
.tzr-controls { padding: clamp(20px, 3vw, 32px); }
.tzr-section-label,
.tzr-card-heading > div > span { display: block; margin-bottom: 20px; font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.tzr-controls label { display: block; margin-top: 17px; color: #555; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.tzr-controls select { width: 100%; height: 48px; margin-top: 7px; padding: 0 35px 0 11px; border: 1px solid #9d9991; border-radius: 0; color: var(--tzr-ink) !important; background: #fff !important; font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.tzr-controls select option { color: var(--tzr-ink) !important; background: #fff !important; }
.tzr-field-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12px; }
.tzr-time { height: 48px; margin-top: 7px; display: flex; align-items: center; gap: 5px; padding: 6px 10px; border: 1px solid #9d9991; background: #fff; }
.tzr-time input { width: 48px; min-width: 0; padding: 2px; border: 0; border-bottom: 1px solid #ccc; border-radius: 0; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.tzr-time small { margin-left: auto; color: #777; font-size: 9px; }
.tzr-range-label { margin: 21px 0 5px; display: flex; justify-content: space-between; color: #777; font-size: 9px; font-weight: 800; }
.tzr-range { width: 100%; height: 20px; margin: 0; accent-color: var(--tzr-yellow); cursor: pointer; }
.tzr-presets { margin-top: 17px; display: flex; flex-wrap: wrap; gap: 6px; }
.tzr-presets button { padding: 6px 9px; border: 1px solid #b9b4ac; border-radius: 0; color: var(--tzr-ink); background: transparent; font-size: 10px; font-weight: 800; cursor: pointer; }
.tzr-presets button:hover,
.tzr-presets button.is-active { color: #fff; border-color: var(--tzr-ink); background: var(--tzr-ink); }
.tzr-rule { margin-top: 24px; padding-top: 16px; display: flex; gap: 10px; align-items: flex-start; border-top: 1px solid #d5d0c8; color: #5c5954; font-size: 12px; }
.tzr-rule > b { flex: 0 0 23px; height: 23px; display: grid; place-items: center; color: var(--tzr-ink); background: var(--tzr-yellow); }

.tzr-result { position: relative; overflow: hidden; padding: clamp(22px, 4vw, 38px); color: #fff; background: var(--tzr-ink); }
.tzr-result::after { content: "PUNKTE"; position: absolute; right: -14px; bottom: -22px; color: rgba(255,255,255,.035); font-size: clamp(60px, 9vw, 100px); font-weight: 900; letter-spacing: -.07em; pointer-events: none; }
.tzr-result-meta { position: relative; z-index: 1; padding-bottom: 14px; display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid #444; color: #bababa; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tzr-equation { position: relative; z-index: 1; padding: 29px 0; display: grid; grid-template-columns: minmax(105px, 1.25fr) auto minmax(78px, .8fr) auto minmax(92px, 1fr); gap: clamp(12px, 2.4vw, 25px); align-items: end; }
.tzr-equation div { min-width: 0; }
.tzr-equation span { display: block; margin-bottom: 6px; color: #969696; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tzr-equation strong { display: block; color: #fff; font-size: clamp(24px, 4.3vw, 46px); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.tzr-equation strong.is-five-digit { font-size: clamp(21px, 3.45vw, 38px); letter-spacing: -.025em; }
.tzr-equation strong.tzr-points { color: var(--tzr-yellow); font-size: clamp(47px, 7vw, 76px); }
.tzr-equation i { padding: 0 2px 5px; color: #777; font-size: 22px; font-style: normal; }
.tzr-result-facts { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #444; border-bottom: 1px solid #444; }
.tzr-result-facts > div { padding: 15px 0; }
.tzr-result-facts > div + div { padding-left: 20px; border-left: 1px solid #444; }
.tzr-result-facts span { display: block; color: #8f8f8f; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.tzr-result-facts strong { display: block; margin-top: 4px; color: #fff; font-size: 19px; }
.tzr-result > p { position: relative; z-index: 1; margin: 15px 0; color: #aaa; font-size: 11px; line-height: 1.55; }
.tzr-copy { position: relative; z-index: 1; width: 100%; min-height: 43px; padding: 8px 13px; border: 1px solid var(--tzr-yellow); border-radius: 0; color: var(--tzr-ink); background: var(--tzr-yellow); font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; cursor: pointer; }
.tzr-copy:hover { border-color: #fff; background: #fff; }

.tzr-table-card,
.tzr-leader-card { padding: clamp(18px, 3vw, 28px); }
.tzr-card-heading { min-height: 55px; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: end; gap: 15px; }
.tzr-card-heading > div > span { margin: 0; }
.tzr-card-heading h3 { margin: 4px 0 0; color: var(--tzr-ink); font-family: "Archivo", Arial, sans-serif; font-size: 22px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.tzr-card-heading p { max-width: 200px; margin: 0; color: #777; font-size: 11px; text-align: right; }
.tzr-table-scroll { overflow-x: auto; }
.tzr-table-card table { width: 100%; margin: 0; border: 0; border-collapse: collapse; background: transparent; }
.tzr-table-card th,
.tzr-table-card td { padding: 10px 8px; border: 0; border-bottom: 1px solid #dad5cd; background: transparent; text-align: left; font-size: 12px; white-space: nowrap; }
.tzr-table-card th { color: #777; border-top: 1px solid var(--tzr-ink); font-size: 9px; letter-spacing: .07em; text-transform: uppercase; }
.tzr-table-card th:nth-child(n+2),
.tzr-table-card td:nth-child(n+2) { text-align: right; }
.tzr-table-card td:last-child { font-weight: 800; }
.tzr-table-card tbody tr { cursor: pointer; }
.tzr-table-card tbody tr:hover,
.tzr-table-card tbody tr.is-selected { background: #f0ece4; }
.tzr-table-card tbody tr.is-selected { background: #fffde2; }
.tzr-table-card tbody tr.is-selected td:first-child { box-shadow: inset 4px 0 0 var(--tzr-yellow); }
.tzr-leaders { border-top: 1px solid var(--tzr-ink); }
.tzr-leader { min-height: 43px; padding: 0 3px; display: grid; grid-template-columns: 31px 1fr auto; gap: 9px; align-items: center; border-bottom: 1px solid #d8d3ca; font-size: 13px; }
.tzr-leader > b { font-size: 17px; }
.tzr-leader > span { font-weight: 700; }
.tzr-leader > strong { font-variant-numeric: tabular-nums; }
.tzr-leader.is-selected { margin: 0 -6px; padding: 0 9px; color: var(--tzr-ink); border-color: var(--tzr-yellow); background: var(--tzr-yellow); }
.tzr-leader-card > small { display: block; margin-top: 13px; color: #777; font-size: 11px; line-height: 1.5; }

.tzr-how { padding: clamp(24px, 4vw, 42px); color: #fff; background: var(--tzr-ink); border-top: 1px solid #3d3d3d; }
.tzr-how span { display: inline-block; margin-bottom: 12px; padding: 4px 7px; color: var(--tzr-ink); background: var(--tzr-yellow); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.tzr-how h3 { margin: 0; color: #fff; font-family: "Archivo", Arial, sans-serif; font-size: clamp(32px, 5vw, 54px); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; }
.tzr-explainer { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #3d3d3d; background: #fff; }
.tzr-explainer > div { position: relative; min-height: 128px; padding: clamp(22px, 3vw, 30px) clamp(16px, 2.5vw, 25px) clamp(16px, 2.5vw, 25px); display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--tzr-ink); }
.tzr-explainer > div::before { content: ""; position: absolute; top: 0; left: 0; width: 42px; height: 6px; background: var(--tzr-yellow); }
.tzr-explainer > div:last-child { border-right: 0; }
.tzr-explainer strong { color: var(--tzr-ink); font-family: "Archivo", Arial, sans-serif; font-size: clamp(34px, 5vw, 52px); font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.tzr-explainer span { color: #555; font-size: 12px; }
.tzr-footer { padding: 15px clamp(17px, 3vw, 30px); display: flex; flex-wrap: wrap; gap: 8px 19px; color: #aaa; background: var(--tzr-ink); font-size: 11px; }
.tzr-footer a { color: #e4e4e4 !important; text-decoration: none !important; }
.tzr-footer a:hover { color: #fff !important; text-decoration: underline !important; }

@media (max-width: 760px) {
  .tzr-heading { grid-template-columns: 1fr; }
  .tzr-race-toolbar { align-items: flex-start; flex-direction: column; }
  .tzr-swipe-hint { min-height: 43px; padding: 10px 17px; display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--tzr-ink); color: var(--tzr-ink); background: var(--tzr-yellow); font-size: 12px; font-weight: 800; line-height: 1.35; }
  .tzr-swipe-hint span { font-size: 21px; line-height: 1; }
}

@media (max-width: 480px) {
  .tzr-calculator { margin-left: 0; margin-right: 0; }
  .tzr-heading { padding: 26px 19px; }
  .tzr-heading h2 { font-size: 45px; line-height: 1.04; letter-spacing: -.03em; }
  .tzr-workspace { padding: 10px; gap: 10px; }
  .tzr-race-toolbar { padding: 21px 17px; }
  .tzr-race-card > .tzr-rule { padding-left: 17px; padding-right: 17px; }
  .tzr-race-scroll { box-shadow: inset -12px 0 16px -16px rgba(0, 0, 0, .55); }
  .tzr-field-grid { grid-template-columns: 1fr; }
  .tzr-result-meta { flex-direction: column; gap: 4px; }
  .tzr-equation { grid-template-columns: 1fr auto 1fr; }
  .tzr-equation > div:last-child { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid #3d3d3d; }
  .tzr-equation > i:last-of-type { display: none; }
  .tzr-result-facts { grid-template-columns: 1fr; }
  .tzr-result-facts > div + div { padding-left: 0; border-top: 1px solid #444; border-left: 0; }
  .tzr-card-heading { align-items: flex-start; flex-direction: column; }
  .tzr-card-heading p { text-align: left; }
  .tzr-explainer { grid-template-columns: 1fr 1fr; }
  .tzr-explainer > div { border-bottom: 1px solid var(--tzr-ink); }
  .tzr-explainer > div:nth-child(2) { border-right: 0; }
  .tzr-explainer > div:nth-child(n+3) { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tzr-calculator * { scroll-behavior: auto !important; }
}
