/* ROBERIN K/9 calculator ko+ja+en+es+id locale styles v9 - 2026-05-10 */
body.postid-1699,
body.postid-4943 {
  --k9-page: #f9f1e7;
  --k9-paper: #fff8ed;
  --k9-panel: #f8efe2;
  --k9-card: #fff3df;
  --k9-accent: #e2edd8;
  --k9-accent-ink: #355733;
  --k9-ink: #34281f;
  --k9-muted: #574838;
  --k9-line: #6b5745;
  --k9-line-soft: rgba(107, 87, 69, 0.28);
  --k9-mustard: #ddbf6f;
  --k9-mustard-deep: #d2aa55;
  --k9-focus: #4f7d94;
  --k9-warn: #a94a36;
  --k9-shadow: 4px 4px 0 rgba(82, 65, 50, 0.24);
  --k9-shadow-soft: 2px 2px 0 rgba(82, 65, 50, 0.16);
  background:
    linear-gradient(90deg, rgba(107, 87, 69, 0.025) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(107, 87, 69, 0.022) 1px, transparent 1px) 0 0 / 18px 18px,
    var(--k9-page);
}

body.postid-1699 .entry-content,
body.postid-4943 .entry-content,
body.postid-1699 .cs-entry__content,
body.postid-4943 .cs-entry__content,
body.postid-1699 .cs-entry__content-wrap,
body.postid-4943 .cs-entry__content-wrap {
  overflow-x: clip;
}

/* Page-scoped overflow guard: keeps existing ad slots from widening the viewport without changing their order. */
body.postid-1699 .cs-custom-content,
body.postid-4943 .cs-custom-content,
body.postid-1699 .cs-custom-content-post-before,
body.postid-4943 .cs-custom-content-post-before,
body.postid-1699 .cs-custom-content-post-after,
body.postid-4943 .cs-custom-content-post-after,
body.postid-1699 .entry-content,
body.postid-4943 .entry-content {
  max-width: 100%;
  overflow-x: clip;
}

body.postid-1699 ins.adsbygoogle,
body.postid-4943 ins.adsbygoogle {
  max-width: min(728px, calc(100vw - 32px)) !important;
  width: min(728px, calc(100vw - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.postid-1699 [id^="aswift_"][id$="_host"],
body.postid-4943 [id^="aswift_"][id$="_host"],
body.postid-1699 iframe[id^="aswift_"],
body.postid-4943 iframe[id^="aswift_"] {
  max-width: 100% !important;
  left: 0 !important;
  right: auto !important;
}

body.postid-1699 .k9-calculator-container,
body.postid-4943 .k9-calculator-container,
.k9-calculator-container,
.k9-calculator-container *,
.k9-calculator-container *::before,
.k9-calculator-container *::after {
  box-sizing: border-box;
  min-width: 0;
}

body.postid-1699 .k9-calculator-container,
body.postid-4943 .k9-calculator-container,
.k9-calculator-container {
  position: relative;
  isolation: isolate;
  width: min(950px, calc(100vw - 32px));
  max-width: 950px;
  margin: 18px auto 28px;
  padding: 14px;
  display: grid;
  gap: 12px;
  overflow: hidden;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background:
    linear-gradient(90deg, rgba(107, 87, 69, 0.045) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(0deg, rgba(107, 87, 69, 0.036) 1px, transparent 1px) 0 0 / 16px 16px,
    var(--k9-paper);
  border: 2px solid var(--k9-line);
  border-radius: 0;
  box-shadow: var(--k9-shadow);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.52;
}

.k9-calculator-container svg,
.k9-calculator-container .dark-mode-toggle,
.k9-calculator-container #darkModeToggle,
.k9-calculator-container .tooltip {
  display: none !important;
}

.k9-calculator-container button,
.k9-calculator-container input {
  font: inherit;
}

.k9-calculator-container .calculator-header {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 0 12px;
  text-align: left;
  border: 0;
  border-bottom: 2px solid var(--k9-line);
}

.k9-calculator-container .calculator-header::before {
  content: "PITCHING RATE";
  width: fit-content;
  padding: 4px 8px;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  background: var(--k9-accent);
  border: 1px solid var(--k9-line);
  box-shadow: var(--k9-shadow-soft);
  font-size: 12px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.k9-calculator-container .main-title {
  display: block;
  margin: 0;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-size: clamp(23px, 2.6vw, 33px);
  line-height: 1.14;
  font-weight: 950;
  letter-spacing: -0.045em;
  text-align: left;
  text-shadow: none;
  word-break: keep-all;
}

.k9-calculator-container .subtitle {
  max-width: 720px;
  margin: 0;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 720;
  word-break: keep-all;
}

.k9-calculator-container .main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.97fr);
  gap: 12px;
  align-items: start;
  margin: 0;
}

.k9-calculator-container .input-section,
.k9-calculator-container .result-section,
.k9-calculator-container .info-section {
  align-self: start;
  min-width: 0;
  padding: 12px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-panel);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: var(--k9-shadow-soft);
}

.k9-calculator-container .section-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  padding: 0 0 8px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  border-bottom: 1px solid var(--k9-line);
  font-size: 16.5px;
  line-height: 1.2;
  font-weight: 930;
  letter-spacing: -0.02em;
}

.k9-calculator-container .input-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}

.k9-calculator-container .input-group {
  display: grid;
  gap: 5px;
}

.k9-calculator-container .input-group label {
  display: block;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 850;
  word-break: keep-all;
}

.k9-calculator-container .k9-field-help {
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 720;
  word-break: keep-all;
}

.k9-calculator-container .input-field {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-paper);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: inset 1px 1px 0 rgba(82, 65, 50, 0.1);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "D2Coding", "Nanum Gothic Coding", monospace;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 820;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.k9-calculator-container .input-field::placeholder {
  color: rgba(87, 72, 56, 0.72);
  -webkit-text-fill-color: rgba(87, 72, 56, 0.72);
  opacity: 1;
  font-weight: 650;
}

.k9-calculator-container .input-field:focus {
  outline: 2px solid var(--k9-focus);
  outline-offset: 2px;
  border-color: var(--k9-focus);
  background: #fff8ed;
  box-shadow: 0 0 0 3px rgba(79, 125, 148, 0.16);
}

.k9-calculator-container .input-field.is-invalid {
  border-color: var(--k9-warn);
  box-shadow: inset 1px 1px 0 rgba(82, 65, 50, 0.1), 0 0 0 3px rgba(169, 74, 54, 0.13);
}

.k9-calculator-container .k9-error-message {
  display: none;
  margin: 0 0 10px;
  padding: 8px 10px;
  color: var(--k9-warn);
  -webkit-text-fill-color: var(--k9-warn);
  background: #f3dfae;
  border: 1px dashed var(--k9-line);
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 780;
}

.k9-calculator-container .k9-error-message.is-visible {
  display: block;
}

.k9-calculator-container .button-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.k9-calculator-container .sample-btn,
.k9-calculator-container .reset-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: var(--k9-shadow-soft);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.k9-calculator-container .sample-btn {
  color: #241c15;
  -webkit-text-fill-color: #241c15;
  background: var(--k9-mustard);
}

.k9-calculator-container .reset-btn {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-card);
}

.k9-calculator-container .sample-btn:hover,
.k9-calculator-container .reset-btn:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(82, 65, 50, 0.18);
}

.k9-calculator-container .sample-btn:focus-visible,
.k9-calculator-container .reset-btn:focus-visible {
  outline: 2px solid var(--k9-focus);
  outline-offset: 2px;
}

.k9-calculator-container .result-main {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin: 0 0 10px;
  padding: 14px 12px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-accent);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: inset 2px 2px 0 rgba(82, 65, 50, 0.08);
  text-align: center;
}

.k9-calculator-container .result-label {
  margin: 0;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 850;
  word-break: keep-all;
}

.k9-calculator-container .result-value {
  margin: 0;
  color: #7a412f;
  -webkit-text-fill-color: #7a412f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "D2Coding", "Nanum Gothic Coding", monospace;
  font-size: clamp(44px, 7vw, 64px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.k9-calculator-container .rating-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 5px 10px;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  background: var(--k9-paper);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  word-break: keep-all;
}

.k9-calculator-container .rating-badge.elite,
.k9-calculator-container .rating-badge.excellent {
  color: #314d5c;
  -webkit-text-fill-color: #314d5c;
  background: #dfeaf0;
}

.k9-calculator-container .rating-badge.good {
  color: var(--k9-accent-ink);
  -webkit-text-fill-color: var(--k9-accent-ink);
  background: #e2edd8;
}

.k9-calculator-container .rating-badge.average {
  color: #5b431c;
  -webkit-text-fill-color: #5b431c;
  background: #f3dfae;
}

.k9-calculator-container .rating-badge.below,
.k9-calculator-container .rating-badge.invalid {
  color: var(--k9-warn);
  -webkit-text-fill-color: var(--k9-warn);
  background: #f2d8c7;
}

.k9-calculator-container .k9-result-breakdown {
  min-height: 1.35em;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 760;
  word-break: keep-all;
}

.k9-calculator-container .gauge-container {
  margin: 0 0 10px;
}

.k9-calculator-container .gauge-bar {
  position: relative;
  height: 18px;
  overflow: visible;
  background:
    linear-gradient(90deg,
      rgba(169, 74, 54, 0.20) 0%,
      rgba(221, 191, 111, 0.26) 42%,
      rgba(226, 237, 216, 0.92) 62%,
      rgba(223, 234, 240, 0.92) 100%);
  border: 1px solid var(--k9-line);
  border-radius: 0;
}

.k9-calculator-container .gauge-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: rgba(122, 65, 47, 0.18);
  border-right: 1px solid rgba(107, 87, 69, 0.5);
  border-radius: 0;
  transition: width 220ms ease;
}

.k9-calculator-container .gauge-marker {
  position: absolute;
  top: -5px;
  left: 0;
  display: none;
  width: 3px;
  height: 28px;
  transform: translateX(-50%);
  background: var(--k9-ink);
  border: 1px solid var(--k9-paper);
  border-radius: 0;
  box-shadow: 1px 1px 0 rgba(82, 65, 50, 0.24);
  transition: left 220ms ease;
}

.k9-calculator-container .gauge-marker.visible {
  display: block;
}

.k9-calculator-container .gauge-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 820;
}

.k9-calculator-container .formula-box {
  margin: 0;
  padding: 10px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-card);
  border: 1px dashed var(--k9-line);
  border-radius: 0;
  text-align: left;
}

.k9-calculator-container .formula-label {
  margin: 0 0 4px;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 11.5px;
  line-height: 1.2;
  font-weight: 850;
}

.k9-calculator-container .formula-text {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "D2Coding", "Nanum Gothic Coding", monospace;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 850;
  word-break: keep-all;
}

.k9-calculator-container .info-section {
  display: grid;
  gap: 0;
}

.k9-calculator-container .rating-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.k9-calculator-container .rating-item {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-height: 58px;
  padding: 9px 5px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-paper);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  text-align: center;
}

.k9-calculator-container .rating-item.elite,
.k9-calculator-container .rating-item.excellent {
  background: #dfeaf0;
}

.k9-calculator-container .rating-item.good {
  background: #e2edd8;
}

.k9-calculator-container .rating-item.average {
  background: #f3dfae;
}

.k9-calculator-container .rating-item.below {
  background: #f2d8c7;
}

.k9-calculator-container .rating-range {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "D2Coding", "Nanum Gothic Coding", monospace;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 930;
}

.k9-calculator-container .rating-name {
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 840;
}

.k9-calculator-container .toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 1000;
  display: flex;
  align-items: center;
  max-width: min(420px, calc(100vw - 28px));
  padding: 10px 12px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-paper);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: var(--k9-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(12px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.k9-calculator-container .toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.k9-calculator-container .toast-message {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 850;
}

body[data-scheme="dark"].postid-1699,
body[data-scheme="dark"].postid-4943,
body[data-scheme="inverse"].postid-1699,
body[data-scheme="inverse"].postid-4943 {
  --k9-page: #201811;
  --k9-paper: #2b2119;
  --k9-panel: #33271d;
  --k9-card: #241c15;
  --k9-accent: #344a32;
  --k9-accent-ink: #f2e4cf;
  --k9-ink: #f2e4cf;
  --k9-muted: #f0dfc5;
  --k9-line: #a98b6b;
  --k9-line-soft: rgba(169, 139, 107, 0.35);
  --k9-shadow: 4px 4px 0 rgba(10, 8, 6, 0.34);
  --k9-shadow-soft: 2px 2px 0 rgba(10, 8, 6, 0.28);
  background:
    linear-gradient(90deg, rgba(169, 139, 107, 0.04) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(169, 139, 107, 0.035) 1px, transparent 1px) 0 0 / 18px 18px,
    var(--k9-page);
}

body[data-scheme="dark"] .k9-calculator-container,
body[data-scheme="inverse"] .k9-calculator-container {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background:
    linear-gradient(90deg, rgba(169, 139, 107, 0.052) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(0deg, rgba(169, 139, 107, 0.044) 1px, transparent 1px) 0 0 / 16px 16px,
    var(--k9-paper);
  border-color: var(--k9-line);
  box-shadow: var(--k9-shadow);
}

body[data-scheme="dark"] .k9-calculator-container .calculator-header::before,
body[data-scheme="inverse"] .k9-calculator-container .calculator-header::before {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #344a32;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .input-section,
body[data-scheme="dark"] .k9-calculator-container .result-section,
body[data-scheme="dark"] .k9-calculator-container .info-section,
body[data-scheme="inverse"] .k9-calculator-container .input-section,
body[data-scheme="inverse"] .k9-calculator-container .result-section,
body[data-scheme="inverse"] .k9-calculator-container .info-section {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-panel);
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .input-field,
body[data-scheme="inverse"] .k9-calculator-container .input-field {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #241c15;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .input-field::placeholder,
body[data-scheme="inverse"] .k9-calculator-container .input-field::placeholder {
  color: rgba(240, 223, 197, 0.7);
  -webkit-text-fill-color: rgba(240, 223, 197, 0.7);
}

body[data-scheme="dark"] .k9-calculator-container .result-main,
body[data-scheme="inverse"] .k9-calculator-container .result-main {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #344a32;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .result-value,
body[data-scheme="inverse"] .k9-calculator-container .result-value {
  color: #ddbf6f;
  -webkit-text-fill-color: #ddbf6f;
}

body[data-scheme="dark"] .k9-calculator-container .sample-btn,
body[data-scheme="inverse"] .k9-calculator-container .sample-btn {
  color: #241c15;
  -webkit-text-fill-color: #241c15;
  background: #d2aa55;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .reset-btn,
body[data-scheme="inverse"] .k9-calculator-container .reset-btn,
body[data-scheme="dark"] .k9-calculator-container .formula-box,
body[data-scheme="inverse"] .k9-calculator-container .formula-box,
body[data-scheme="dark"] .k9-calculator-container .rating-badge,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge,
body[data-scheme="dark"] .k9-calculator-container .rating-item,
body[data-scheme="inverse"] .k9-calculator-container .rating-item,
body[data-scheme="dark"] .k9-calculator-container .toast,
body[data-scheme="inverse"] .k9-calculator-container .toast {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #241c15;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .rating-badge.elite,
body[data-scheme="dark"] .k9-calculator-container .rating-badge.excellent,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.elite,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.excellent {
  color: #dcecf2;
  -webkit-text-fill-color: #dcecf2;
  background: #314d5c;
}

body[data-scheme="dark"] .k9-calculator-container .rating-badge.good,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.good {
  color: #e2edd8;
  -webkit-text-fill-color: #e2edd8;
  background: #344a32;
}

body[data-scheme="dark"] .k9-calculator-container .rating-badge.average,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.average {
  color: #241c15;
  -webkit-text-fill-color: #241c15;
  background: #d2aa55;
}

body[data-scheme="dark"] .k9-calculator-container .rating-badge.below,
body[data-scheme="dark"] .k9-calculator-container .rating-badge.invalid,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.below,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.invalid {
  color: #f4c7b8;
  -webkit-text-fill-color: #f4c7b8;
  background: #4b2a20;
}

body[data-scheme="dark"] .k9-calculator-container .k9-error-message,
body[data-scheme="inverse"] .k9-calculator-container .k9-error-message {
  color: #f4c7b8;
  -webkit-text-fill-color: #f4c7b8;
  background: #4b2a20;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .gauge-bar,
body[data-scheme="inverse"] .k9-calculator-container .gauge-bar {
  background:
    linear-gradient(90deg,
      rgba(244, 199, 184, 0.22) 0%,
      rgba(210, 170, 85, 0.33) 42%,
      rgba(52, 74, 50, 0.92) 62%,
      rgba(49, 77, 92, 0.92) 100%);
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .gauge-marker,
body[data-scheme="inverse"] .k9-calculator-container .gauge-marker {
  background: #f2e4cf;
  border-color: #241c15;
}

body[data-scheme="dark"] .k9-calculator-container .formula-label,
body[data-scheme="dark"] .k9-calculator-container .formula-text,
body[data-scheme="dark"] .k9-calculator-container .main-title,
body[data-scheme="dark"] .k9-calculator-container .subtitle,
body[data-scheme="dark"] .k9-calculator-container .section-header,
body[data-scheme="dark"] .k9-calculator-container label,
body[data-scheme="dark"] .k9-calculator-container .k9-field-help,
body[data-scheme="dark"] .k9-calculator-container .result-label,
body[data-scheme="dark"] .k9-calculator-container .k9-result-breakdown,
body[data-scheme="dark"] .k9-calculator-container .gauge-labels,
body[data-scheme="dark"] .k9-calculator-container .rating-range,
body[data-scheme="dark"] .k9-calculator-container .rating-name,
body[data-scheme="dark"] .k9-calculator-container .toast-message,
body[data-scheme="inverse"] .k9-calculator-container .formula-label,
body[data-scheme="inverse"] .k9-calculator-container .formula-text,
body[data-scheme="inverse"] .k9-calculator-container .main-title,
body[data-scheme="inverse"] .k9-calculator-container .subtitle,
body[data-scheme="inverse"] .k9-calculator-container .section-header,
body[data-scheme="inverse"] .k9-calculator-container label,
body[data-scheme="inverse"] .k9-calculator-container .k9-field-help,
body[data-scheme="inverse"] .k9-calculator-container .result-label,
body[data-scheme="inverse"] .k9-calculator-container .k9-result-breakdown,
body[data-scheme="inverse"] .k9-calculator-container .gauge-labels,
body[data-scheme="inverse"] .k9-calculator-container .rating-range,
body[data-scheme="inverse"] .k9-calculator-container .rating-name,
body[data-scheme="inverse"] .k9-calculator-container .toast-message {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
}

@media (max-width: 760px) {
  body.postid-1699 .k9-calculator-container,
  body.postid-4943 .k9-calculator-container,
  .k9-calculator-container {
    width: min(950px, calc(100vw - 24px));
    margin-top: 14px;
    margin-bottom: 22px;
    padding: 12px;
  }

  .k9-calculator-container .main-grid,
  .k9-calculator-container .rating-grid {
    grid-template-columns: 1fr;
  }

  .k9-calculator-container .rating-grid {
    gap: 6px;
  }

  .k9-calculator-container .rating-item {
    min-height: 0;
    grid-template-columns: 86px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    text-align: left;
  }
}

@media (max-width: 480px) {
  body.postid-1699 .k9-calculator-container,
  body.postid-4943 .k9-calculator-container,
  .k9-calculator-container {
    width: min(950px, calc(100vw - 20px));
    padding: 10px;
    gap: 10px;
  }

  .k9-calculator-container .calculator-header {
    padding-bottom: 10px;
  }

  .k9-calculator-container .input-section,
  .k9-calculator-container .result-section,
  .k9-calculator-container .info-section {
    padding: 10px;
  }

  .k9-calculator-container .input-row,
  .k9-calculator-container .button-group {
    grid-template-columns: 1fr;
  }

  .k9-calculator-container .input-field,
  .k9-calculator-container .sample-btn,
  .k9-calculator-container .reset-btn {
    min-height: 46px;
  }

  .k9-calculator-container .result-value {
    font-size: clamp(40px, 15vw, 54px);
  }
}



/* ROBERIN K/9 Phase 2 article + standard ad slots - 2026-05-10 */
body.postid-1699 .roberin-ad,
body.postid-4943 .roberin-ad,
body.postid-1699 .roberin-leaderboard-ad,
body.postid-4943 .roberin-leaderboard-ad {
  display: block !important;
  width: min(728px, calc(100vw - 32px)) !important;
  max-width: 728px !important;
  min-width: 0 !important;
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
  margin: 18px auto 24px !important;
  padding: 0 !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  text-align: center !important;
}

body.postid-1699 .roberin-ad--after-tool,
body.postid-4943 .roberin-ad--after-tool {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

body.postid-1699 .roberin-ad--bottom,
body.postid-4943 .roberin-ad--bottom {
  margin-top: 20px !important;
  margin-bottom: 28px !important;
}

body.postid-1699 .roberin-ad ins.adsbygoogle,
body.postid-4943 .roberin-ad ins.adsbygoogle,
body.postid-1699 .roberin-leaderboard-ad ins.adsbygoogle,
body.postid-4943 .roberin-leaderboard-ad ins.adsbygoogle,
body.postid-1699 .entry-content .roberin-ad ins.adsbygoogle,
body.postid-4943 .entry-content .roberin-ad ins.adsbygoogle {
  display: block !important;
  width: min(728px, calc(100vw - 32px)) !important;
  max-width: 728px !important;
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.postid-1699 .roberin-ad iframe,
body.postid-4943 .roberin-ad iframe,
body.postid-1699 .roberin-ad [id^="aswift_"],
body.postid-4943 .roberin-ad [id^="aswift_"],
body.postid-1699 .roberin-leaderboard-ad iframe,
body.postid-4943 .roberin-leaderboard-ad iframe,
body.postid-1699 .roberin-leaderboard-ad [id^="aswift_"],
body.postid-4943 .roberin-leaderboard-ad [id^="aswift_"] {
  max-width: 100% !important;
  width: 100% !important;
  height: 90px !important;
  max-height: 90px !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  border: 0 !important;
  overflow: hidden !important;
}

body.postid-1699 .entry-content article.roberin-article-body.k9-article-body,
body.postid-4943 .entry-content article.roberin-article-body.k9-article-body,
body.postid-1699 article.roberin-article-body.k9-article-body,
body.postid-4943 article.roberin-article-body.k9-article-body,
body.postid-1699 .k9-article-body,
body.postid-4943 .k9-article-body,
body.postid-1699 .k9-article-body *,
body.postid-4943 .k9-article-body *,
body.postid-1699 .k9-article-body *::before,
body.postid-4943 .k9-article-body *::before,
body.postid-1699 .k9-article-body *::after,
body.postid-4943 .k9-article-body *::after {
  box-sizing: border-box;
  min-width: 0;
}

body.postid-1699 .entry-content article.roberin-article-body.k9-article-body,
body.postid-4943 .entry-content article.roberin-article-body.k9-article-body,
body.postid-1699 article.roberin-article-body.k9-article-body,
body.postid-4943 article.roberin-article-body.k9-article-body {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 18px;
  width: min(950px, calc(100vw - 32px));
  max-width: 950px;
  margin: 0 auto 24px;
  padding: clamp(16px, 3vw, 28px);
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  background: var(--k9-panel) !important;
  border: 2px solid var(--k9-line) !important;
  box-shadow: var(--k9-shadow) !important;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.72;
  word-break: keep-all;
}

body.postid-1699 .entry-content article.roberin-article-body.k9-article-body::before,
body.postid-4943 .entry-content article.roberin-article-body.k9-article-body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(107, 87, 69, 0.044) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 87, 69, 0.036) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

body.postid-1699 .k9-article-kicker,
body.postid-4943 .k9-article-kicker {
  width: fit-content;
  margin: 0;
  padding: 4px 9px;
  color: var(--k9-accent-ink) !important;
  -webkit-text-fill-color: var(--k9-accent-ink) !important;
  background: var(--k9-accent) !important;
  border: 1px solid var(--k9-line) !important;
  box-shadow: var(--k9-shadow-soft) !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em;
}

body.postid-1699 .k9-article-section,
body.postid-4943 .k9-article-section {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding-top: 8px;
}

body.postid-1699 .k9-article-section + .k9-article-section,
body.postid-4943 .k9-article-section + .k9-article-section {
  margin-top: 6px;
  padding-top: 22px;
  border-top: 1px dashed var(--k9-line-soft);
}

body.postid-1699 .k9-article-body h2,
body.postid-4943 .k9-article-body h2,
body.postid-1699 .k9-article-body h3,
body.postid-4943 .k9-article-body h3 {
  margin: 0 !important;
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  background: transparent;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

body.postid-1699 .k9-article-body h2,
body.postid-4943 .k9-article-body h2 {
  width: auto;
  max-width: 100%;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: clamp(22px, 2.4vw, 30px) !important;
  line-height: 1.18 !important;
  font-weight: 950 !important;
}

body.postid-1699 .k9-article-body h3,
body.postid-4943 .k9-article-body h3 {
  padding-bottom: 7px !important;
  border-bottom: 1px solid var(--k9-line-soft) !important;
  font-size: clamp(17px, 1.8vw, 21px) !important;
  line-height: 1.3 !important;
  font-weight: 900 !important;
}

body.postid-1699 .k9-article-body p,
body.postid-4943 .k9-article-body p,
body.postid-1699 .k9-article-body li,
body.postid-4943 .k9-article-body li,
body.postid-1699 .k9-article-body summary,
body.postid-4943 .k9-article-body summary,
body.postid-1699 .k9-article-body td,
body.postid-4943 .k9-article-body td,
body.postid-1699 .k9-article-body th,
body.postid-4943 .k9-article-body th,
body.postid-1699 .k9-article-body span,
body.postid-4943 .k9-article-body span {
  color: var(--k9-muted) !important;
  -webkit-text-fill-color: var(--k9-muted) !important;
  font-size: 15px !important;
  line-height: 1.72 !important;
  font-weight: 680 !important;
}

body.postid-1699 .k9-article-body p,
body.postid-4943 .k9-article-body p {
  margin: 0 !important;
}

body.postid-1699 .k9-article-body strong,
body.postid-4943 .k9-article-body strong,
body.postid-1699 .k9-article-body summary,
body.postid-4943 .k9-article-body summary,
body.postid-1699 .k9-article-body th,
body.postid-4943 .k9-article-body th,
body.postid-1699 .k9-article-card strong,
body.postid-4943 .k9-article-card strong,
body.postid-1699 .k9-notice h3,
body.postid-4943 .k9-notice h3 {
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  font-weight: 920 !important;
}

body.postid-1699 .k9-article-body code,
body.postid-4943 .k9-article-body code {
  display: inline-block;
  max-width: 100%;
  padding: 1px 5px;
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  background: var(--k9-paper) !important;
  border: 1px solid var(--k9-line-soft) !important;
  border-radius: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em !important;
  font-weight: 780 !important;
  overflow-wrap: anywhere;
}

body.postid-1699 .k9-article-body ul,
body.postid-4943 .k9-article-body ul,
body.postid-1699 .k9-article-body ol,
body.postid-4943 .k9-article-body ol {
  display: grid;
  gap: 8px;
  margin: 0 !important;
  padding-left: 1.25em !important;
}

body.postid-1699 .k9-article-card-grid,
body.postid-4943 .k9-article-card-grid,
body.postid-1699 .k9-result-grid,
body.postid-4943 .k9-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.postid-1699 .k9-result-grid,
body.postid-4943 .k9-result-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.postid-1699 .k9-article-card,
body.postid-4943 .k9-article-card,
body.postid-1699 .k9-formula-panel,
body.postid-4943 .k9-formula-panel,
body.postid-1699 .k9-example-panel,
body.postid-4943 .k9-example-panel,
body.postid-1699 .k9-result-card,
body.postid-4943 .k9-result-card,
body.postid-1699 .k9-notice,
body.postid-4943 .k9-notice,
body.postid-1699 .k9-faq details,
body.postid-4943 .k9-faq details {
  min-width: 0;
  color: var(--k9-muted) !important;
  -webkit-text-fill-color: var(--k9-muted) !important;
  background: var(--k9-paper) !important;
  border: 1px solid var(--k9-line) !important;
  box-shadow: var(--k9-shadow-soft) !important;
}

body.postid-1699 .k9-article-card,
body.postid-4943 .k9-article-card,
body.postid-1699 .k9-result-card,
body.postid-4943 .k9-result-card {
  display: grid;
  gap: 5px;
  padding: 12px;
}

body.postid-1699 .k9-formula-panel,
body.postid-4943 .k9-formula-panel,
body.postid-1699 .k9-example-panel,
body.postid-4943 .k9-example-panel {
  display: grid;
  gap: 10px;
  padding: 13px 14px;
}

body.postid-1699 .k9-formula-panel code,
body.postid-4943 .k9-formula-panel code {
  display: block;
  width: fit-content;
  white-space: normal;
}

body.postid-1699 .k9-example-panel .k9-example-row,
body.postid-4943 .k9-example-panel .k9-example-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px dashed var(--k9-line-soft);
}

body.postid-1699 .k9-example-panel .k9-example-row:last-child,
body.postid-4943 .k9-example-panel .k9-example-row:last-child {
  border-bottom: 0;
}

body.postid-1699 .k9-result-card span:first-child,
body.postid-4943 .k9-result-card span:first-child {
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  font-size: 14px !important;
  font-weight: 920 !important;
}

body.postid-1699 .k9-notice,
body.postid-4943 .k9-notice {
  display: grid;
  gap: 10px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(221, 191, 111, 0.18), rgba(226, 237, 216, 0.12)),
    var(--k9-paper) !important;
  border-left: 6px solid var(--k9-mustard-deep) !important;
}

body.postid-1699 .k9-notice h3,
body.postid-4943 .k9-notice h3 {
  border-bottom-color: var(--k9-line-soft) !important;
}

body.postid-1699 .k9-faq,
body.postid-4943 .k9-faq {
  display: grid;
  gap: 8px;
}

body.postid-1699 .k9-faq details,
body.postid-4943 .k9-faq details {
  padding: 0;
}

body.postid-1699 .k9-faq summary,
body.postid-4943 .k9-faq summary {
  cursor: pointer;
  padding: 11px 12px;
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  font-weight: 900 !important;
  list-style-position: inside;
}

body.postid-1699 .k9-faq details[open] summary,
body.postid-4943 .k9-faq details[open] summary {
  border-bottom: 1px dashed var(--k9-line-soft);
}

body.postid-1699 .k9-faq details p,
body.postid-4943 .k9-faq details p {
  padding: 10px 12px 12px;
}

body[data-scheme="dark"].postid-1699 .entry-content article.roberin-article-body.k9-article-body,
body[data-scheme="dark"].postid-4943 .entry-content article.roberin-article-body.k9-article-body,
body[data-scheme="inverse"].postid-1699 .entry-content article.roberin-article-body.k9-article-body,
body[data-scheme="inverse"].postid-4943 .entry-content article.roberin-article-body.k9-article-body {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: #2b2119 !important;
  border-color: #a98b6b !important;
  box-shadow: 4px 4px 0 rgba(10, 8, 6, 0.34) !important;
}

body[data-scheme="dark"].postid-1699 .entry-content article.roberin-article-body.k9-article-body::before,
body[data-scheme="dark"].postid-4943 .entry-content article.roberin-article-body.k9-article-body::before,
body[data-scheme="inverse"].postid-1699 .entry-content article.roberin-article-body.k9-article-body::before,
body[data-scheme="inverse"].postid-4943 .entry-content article.roberin-article-body.k9-article-body::before {
  background:
    linear-gradient(rgba(169, 139, 107, 0.050) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 139, 107, 0.042) 1px, transparent 1px);
  background-size: 22px 22px;
}

body[data-scheme="dark"].postid-1699 .k9-article-kicker,
body[data-scheme="dark"].postid-4943 .k9-article-kicker,
body[data-scheme="inverse"].postid-1699 .k9-article-kicker,
body[data-scheme="inverse"].postid-4943 .k9-article-kicker {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: #344a32 !important;
  border-color: #a98b6b !important;
}

body[data-scheme="dark"].postid-1699 .k9-article-body h2,
body[data-scheme="dark"].postid-4943 .k9-article-body h2,
body[data-scheme="inverse"].postid-1699 .k9-article-body h2,
body[data-scheme="inverse"].postid-4943 .k9-article-body h2 {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body[data-scheme="dark"].postid-1699 .k9-article-body h3,
body[data-scheme="dark"].postid-4943 .k9-article-body h3,
body[data-scheme="dark"].postid-1699 .k9-article-body strong,
body[data-scheme="dark"].postid-4943 .k9-article-body strong,
body[data-scheme="dark"].postid-1699 .k9-article-body summary,
body[data-scheme="dark"].postid-4943 .k9-article-body summary,
body[data-scheme="dark"].postid-1699 .k9-article-body th,
body[data-scheme="dark"].postid-4943 .k9-article-body th,
body[data-scheme="inverse"].postid-1699 .k9-article-body h3,
body[data-scheme="inverse"].postid-4943 .k9-article-body h3,
body[data-scheme="inverse"].postid-1699 .k9-article-body strong,
body[data-scheme="inverse"].postid-4943 .k9-article-body strong,
body[data-scheme="inverse"].postid-1699 .k9-article-body summary,
body[data-scheme="inverse"].postid-4943 .k9-article-body summary,
body[data-scheme="inverse"].postid-1699 .k9-article-body th,
body[data-scheme="inverse"].postid-4943 .k9-article-body th {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background-color: transparent !important;
  border-color: #a98b6b !important;
}

body[data-scheme="dark"].postid-1699 .k9-article-body p,
body[data-scheme="dark"].postid-4943 .k9-article-body p,
body[data-scheme="dark"].postid-1699 .k9-article-body li,
body[data-scheme="dark"].postid-4943 .k9-article-body li,
body[data-scheme="dark"].postid-1699 .k9-article-body td,
body[data-scheme="dark"].postid-4943 .k9-article-body td,
body[data-scheme="dark"].postid-1699 .k9-article-body span,
body[data-scheme="dark"].postid-4943 .k9-article-body span,
body[data-scheme="inverse"].postid-1699 .k9-article-body p,
body[data-scheme="inverse"].postid-4943 .k9-article-body p,
body[data-scheme="inverse"].postid-1699 .k9-article-body li,
body[data-scheme="inverse"].postid-4943 .k9-article-body li,
body[data-scheme="inverse"].postid-1699 .k9-article-body td,
body[data-scheme="inverse"].postid-4943 .k9-article-body td,
body[data-scheme="inverse"].postid-1699 .k9-article-body span,
body[data-scheme="inverse"].postid-4943 .k9-article-body span {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
}

body[data-scheme="dark"].postid-1699 .k9-article-body code,
body[data-scheme="dark"].postid-4943 .k9-article-body code,
body[data-scheme="inverse"].postid-1699 .k9-article-body code,
body[data-scheme="inverse"].postid-4943 .k9-article-body code {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: #241c15 !important;
  border-color: rgba(169, 139, 107, 0.35) !important;
}

body[data-scheme="dark"].postid-1699 .k9-article-card,
body[data-scheme="dark"].postid-4943 .k9-article-card,
body[data-scheme="dark"].postid-1699 .k9-formula-panel,
body[data-scheme="dark"].postid-4943 .k9-formula-panel,
body[data-scheme="dark"].postid-1699 .k9-example-panel,
body[data-scheme="dark"].postid-4943 .k9-example-panel,
body[data-scheme="dark"].postid-1699 .k9-result-card,
body[data-scheme="dark"].postid-4943 .k9-result-card,
body[data-scheme="dark"].postid-1699 .k9-notice,
body[data-scheme="dark"].postid-4943 .k9-notice,
body[data-scheme="dark"].postid-1699 .k9-faq details,
body[data-scheme="dark"].postid-4943 .k9-faq details,
body[data-scheme="inverse"].postid-1699 .k9-article-card,
body[data-scheme="inverse"].postid-4943 .k9-article-card,
body[data-scheme="inverse"].postid-1699 .k9-formula-panel,
body[data-scheme="inverse"].postid-4943 .k9-formula-panel,
body[data-scheme="inverse"].postid-1699 .k9-example-panel,
body[data-scheme="inverse"].postid-4943 .k9-example-panel,
body[data-scheme="inverse"].postid-1699 .k9-result-card,
body[data-scheme="inverse"].postid-4943 .k9-result-card,
body[data-scheme="inverse"].postid-1699 .k9-notice,
body[data-scheme="inverse"].postid-4943 .k9-notice,
body[data-scheme="inverse"].postid-1699 .k9-faq details,
body[data-scheme="inverse"].postid-4943 .k9-faq details {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
  background: #33271d !important;
  border-color: #a98b6b !important;
  box-shadow: 2px 2px 0 rgba(10, 8, 6, 0.28) !important;
}

body[data-scheme="dark"].postid-1699 .k9-notice,
body[data-scheme="dark"].postid-4943 .k9-notice,
body[data-scheme="inverse"].postid-1699 .k9-notice,
body[data-scheme="inverse"].postid-4943 .k9-notice {
  background:
    linear-gradient(135deg, rgba(210, 170, 85, 0.18), rgba(52, 74, 50, 0.14)),
    #33271d !important;
  border-left-color: #d2aa55 !important;
}

@media (max-width: 760px) {
  body.postid-1699 .roberin-ad,
  body.postid-4943 .roberin-ad,
  body.postid-1699 .roberin-leaderboard-ad,
  body.postid-4943 .roberin-leaderboard-ad,
  body.postid-1699 .roberin-ad ins.adsbygoogle,
  body.postid-4943 .roberin-ad ins.adsbygoogle,
  body.postid-1699 .roberin-leaderboard-ad ins.adsbygoogle,
  body.postid-4943 .roberin-leaderboard-ad ins.adsbygoogle,
  body.postid-1699 .entry-content article.roberin-article-body.k9-article-body,
  body.postid-4943 .entry-content article.roberin-article-body.k9-article-body {
    width: min(950px, calc(100vw - 24px)) !important;
  }

  body.postid-1699 .entry-content article.roberin-article-body.k9-article-body,
  body.postid-4943 .entry-content article.roberin-article-body.k9-article-body {
    gap: 15px;
    padding: 14px 12px;
    box-shadow: 3px 3px 0 rgba(82, 65, 50, 0.20) !important;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  body.postid-1699 .k9-article-card-grid,
  body.postid-4943 .k9-article-card-grid,
  body.postid-1699 .k9-result-grid,
  body.postid-4943 .k9-result-grid {
    grid-template-columns: 1fr;
  }

  body.postid-1699 .k9-example-panel .k9-example-row,
  body.postid-4943 .k9-example-panel .k9-example-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  body.postid-1699 .k9-article-body p,
  body.postid-4943 .k9-article-body p,
  body.postid-1699 .k9-article-body li,
  body.postid-4943 .k9-article-body li,
  body.postid-1699 .k9-article-body summary,
  body.postid-4943 .k9-article-body summary,
  body.postid-1699 .k9-article-body span,
  body.postid-4943 .k9-article-body span {
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  body.postid-1699 .roberin-ad,
  body.postid-4943 .roberin-ad,
  body.postid-1699 .roberin-leaderboard-ad,
  body.postid-4943 .roberin-leaderboard-ad,
  body.postid-1699 .roberin-ad ins.adsbygoogle,
  body.postid-4943 .roberin-ad ins.adsbygoogle,
  body.postid-1699 .roberin-leaderboard-ad ins.adsbygoogle,
  body.postid-4943 .roberin-leaderboard-ad ins.adsbygoogle {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
  }

  body.postid-1699 .entry-content article.roberin-article-body.k9-article-body,
  body.postid-4943 .entry-content article.roberin-article-body.k9-article-body {
    width: calc(100vw - 20px) !important;
    padding: 12px 10px;
  }

  body.postid-1699 .k9-article-body h2,
  body.postid-4943 .k9-article-body h2 {
    font-size: clamp(21px, 7vw, 26px) !important;
  }

  body.postid-1699 .k9-article-body h3,
  body.postid-4943 .k9-article-body h3 {
    font-size: clamp(17px, 5.5vw, 19px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .k9-calculator-container *,
  .k9-calculator-container *::before,
  .k9-calculator-container *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* EN post scope mirrors canonical K/9 styles. */
body.postid-4944,
body.postid-4944 {
  --k9-page: #f9f1e7;
  --k9-paper: #fff8ed;
  --k9-panel: #f8efe2;
  --k9-card: #fff3df;
  --k9-accent: #e2edd8;
  --k9-accent-ink: #355733;
  --k9-ink: #34281f;
  --k9-muted: #574838;
  --k9-line: #6b5745;
  --k9-line-soft: rgba(107, 87, 69, 0.28);
  --k9-mustard: #ddbf6f;
  --k9-mustard-deep: #d2aa55;
  --k9-focus: #4f7d94;
  --k9-warn: #a94a36;
  --k9-shadow: 4px 4px 0 rgba(82, 65, 50, 0.24);
  --k9-shadow-soft: 2px 2px 0 rgba(82, 65, 50, 0.16);
  background:
    linear-gradient(90deg, rgba(107, 87, 69, 0.025) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(107, 87, 69, 0.022) 1px, transparent 1px) 0 0 / 18px 18px,
    var(--k9-page);
}

body.postid-4944 .entry-content,
body.postid-4944 .entry-content,
body.postid-4944 .cs-entry__content,
body.postid-4944 .cs-entry__content,
body.postid-4944 .cs-entry__content-wrap,
body.postid-4944 .cs-entry__content-wrap {
  overflow-x: clip;
}

/* Page-scoped overflow guard: keeps existing ad slots from widening the viewport without changing their order. */
body.postid-4944 .cs-custom-content,
body.postid-4944 .cs-custom-content,
body.postid-4944 .cs-custom-content-post-before,
body.postid-4944 .cs-custom-content-post-before,
body.postid-4944 .cs-custom-content-post-after,
body.postid-4944 .cs-custom-content-post-after,
body.postid-4944 .entry-content,
body.postid-4944 .entry-content {
  max-width: 100%;
  overflow-x: clip;
}

body.postid-4944 ins.adsbygoogle,
body.postid-4944 ins.adsbygoogle {
  max-width: min(728px, calc(100vw - 32px)) !important;
  width: min(728px, calc(100vw - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.postid-4944 [id^="aswift_"][id$="_host"],
body.postid-4944 [id^="aswift_"][id$="_host"],
body.postid-4944 iframe[id^="aswift_"],
body.postid-4944 iframe[id^="aswift_"] {
  max-width: 100% !important;
  left: 0 !important;
  right: auto !important;
}

body.postid-4944 .k9-calculator-container,
body.postid-4944 .k9-calculator-container,
.k9-calculator-container,
.k9-calculator-container *,
.k9-calculator-container *::before,
.k9-calculator-container *::after {
  box-sizing: border-box;
  min-width: 0;
}

body.postid-4944 .k9-calculator-container,
body.postid-4944 .k9-calculator-container,
.k9-calculator-container {
  position: relative;
  isolation: isolate;
  width: min(950px, calc(100vw - 32px));
  max-width: 950px;
  margin: 18px auto 28px;
  padding: 14px;
  display: grid;
  gap: 12px;
  overflow: hidden;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background:
    linear-gradient(90deg, rgba(107, 87, 69, 0.045) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(0deg, rgba(107, 87, 69, 0.036) 1px, transparent 1px) 0 0 / 16px 16px,
    var(--k9-paper);
  border: 2px solid var(--k9-line);
  border-radius: 0;
  box-shadow: var(--k9-shadow);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.52;
}

.k9-calculator-container svg,
.k9-calculator-container .dark-mode-toggle,
.k9-calculator-container #darkModeToggle,
.k9-calculator-container .tooltip {
  display: none !important;
}

.k9-calculator-container button,
.k9-calculator-container input {
  font: inherit;
}

.k9-calculator-container .calculator-header {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 0 12px;
  text-align: left;
  border: 0;
  border-bottom: 2px solid var(--k9-line);
}

.k9-calculator-container .calculator-header::before {
  content: "PITCHING RATE";
  width: fit-content;
  padding: 4px 8px;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  background: var(--k9-accent);
  border: 1px solid var(--k9-line);
  box-shadow: var(--k9-shadow-soft);
  font-size: 12px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.k9-calculator-container .main-title {
  display: block;
  margin: 0;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-size: clamp(23px, 2.6vw, 33px);
  line-height: 1.14;
  font-weight: 950;
  letter-spacing: -0.045em;
  text-align: left;
  text-shadow: none;
  word-break: keep-all;
}

.k9-calculator-container .subtitle {
  max-width: 720px;
  margin: 0;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 720;
  word-break: keep-all;
}

.k9-calculator-container .main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.97fr);
  gap: 12px;
  align-items: start;
  margin: 0;
}

.k9-calculator-container .input-section,
.k9-calculator-container .result-section,
.k9-calculator-container .info-section {
  align-self: start;
  min-width: 0;
  padding: 12px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-panel);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: var(--k9-shadow-soft);
}

.k9-calculator-container .section-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  padding: 0 0 8px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  border-bottom: 1px solid var(--k9-line);
  font-size: 16.5px;
  line-height: 1.2;
  font-weight: 930;
  letter-spacing: -0.02em;
}

.k9-calculator-container .input-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}

.k9-calculator-container .input-group {
  display: grid;
  gap: 5px;
}

.k9-calculator-container .input-group label {
  display: block;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 850;
  word-break: keep-all;
}

.k9-calculator-container .k9-field-help {
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 720;
  word-break: keep-all;
}

.k9-calculator-container .input-field {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-paper);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: inset 1px 1px 0 rgba(82, 65, 50, 0.1);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "D2Coding", "Nanum Gothic Coding", monospace;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 820;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.k9-calculator-container .input-field::placeholder {
  color: rgba(87, 72, 56, 0.72);
  -webkit-text-fill-color: rgba(87, 72, 56, 0.72);
  opacity: 1;
  font-weight: 650;
}

.k9-calculator-container .input-field:focus {
  outline: 2px solid var(--k9-focus);
  outline-offset: 2px;
  border-color: var(--k9-focus);
  background: #fff8ed;
  box-shadow: 0 0 0 3px rgba(79, 125, 148, 0.16);
}

.k9-calculator-container .input-field.is-invalid {
  border-color: var(--k9-warn);
  box-shadow: inset 1px 1px 0 rgba(82, 65, 50, 0.1), 0 0 0 3px rgba(169, 74, 54, 0.13);
}

.k9-calculator-container .k9-error-message {
  display: none;
  margin: 0 0 10px;
  padding: 8px 10px;
  color: var(--k9-warn);
  -webkit-text-fill-color: var(--k9-warn);
  background: #f3dfae;
  border: 1px dashed var(--k9-line);
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 780;
}

.k9-calculator-container .k9-error-message.is-visible {
  display: block;
}

.k9-calculator-container .button-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.k9-calculator-container .sample-btn,
.k9-calculator-container .reset-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: var(--k9-shadow-soft);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.k9-calculator-container .sample-btn {
  color: #241c15;
  -webkit-text-fill-color: #241c15;
  background: var(--k9-mustard);
}

.k9-calculator-container .reset-btn {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-card);
}

.k9-calculator-container .sample-btn:hover,
.k9-calculator-container .reset-btn:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(82, 65, 50, 0.18);
}

.k9-calculator-container .sample-btn:focus-visible,
.k9-calculator-container .reset-btn:focus-visible {
  outline: 2px solid var(--k9-focus);
  outline-offset: 2px;
}

.k9-calculator-container .result-main {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin: 0 0 10px;
  padding: 14px 12px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-accent);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: inset 2px 2px 0 rgba(82, 65, 50, 0.08);
  text-align: center;
}

.k9-calculator-container .result-label {
  margin: 0;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 850;
  word-break: keep-all;
}

.k9-calculator-container .result-value {
  margin: 0;
  color: #7a412f;
  -webkit-text-fill-color: #7a412f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "D2Coding", "Nanum Gothic Coding", monospace;
  font-size: clamp(44px, 7vw, 64px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.k9-calculator-container .rating-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 5px 10px;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  background: var(--k9-paper);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  word-break: keep-all;
}

.k9-calculator-container .rating-badge.elite,
.k9-calculator-container .rating-badge.excellent {
  color: #314d5c;
  -webkit-text-fill-color: #314d5c;
  background: #dfeaf0;
}

.k9-calculator-container .rating-badge.good {
  color: var(--k9-accent-ink);
  -webkit-text-fill-color: var(--k9-accent-ink);
  background: #e2edd8;
}

.k9-calculator-container .rating-badge.average {
  color: #5b431c;
  -webkit-text-fill-color: #5b431c;
  background: #f3dfae;
}

.k9-calculator-container .rating-badge.below,
.k9-calculator-container .rating-badge.invalid {
  color: var(--k9-warn);
  -webkit-text-fill-color: var(--k9-warn);
  background: #f2d8c7;
}

.k9-calculator-container .k9-result-breakdown {
  min-height: 1.35em;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 760;
  word-break: keep-all;
}

.k9-calculator-container .gauge-container {
  margin: 0 0 10px;
}

.k9-calculator-container .gauge-bar {
  position: relative;
  height: 18px;
  overflow: visible;
  background:
    linear-gradient(90deg,
      rgba(169, 74, 54, 0.20) 0%,
      rgba(221, 191, 111, 0.26) 42%,
      rgba(226, 237, 216, 0.92) 62%,
      rgba(223, 234, 240, 0.92) 100%);
  border: 1px solid var(--k9-line);
  border-radius: 0;
}

.k9-calculator-container .gauge-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: rgba(122, 65, 47, 0.18);
  border-right: 1px solid rgba(107, 87, 69, 0.5);
  border-radius: 0;
  transition: width 220ms ease;
}

.k9-calculator-container .gauge-marker {
  position: absolute;
  top: -5px;
  left: 0;
  display: none;
  width: 3px;
  height: 28px;
  transform: translateX(-50%);
  background: var(--k9-ink);
  border: 1px solid var(--k9-paper);
  border-radius: 0;
  box-shadow: 1px 1px 0 rgba(82, 65, 50, 0.24);
  transition: left 220ms ease;
}

.k9-calculator-container .gauge-marker.visible {
  display: block;
}

.k9-calculator-container .gauge-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 820;
}

.k9-calculator-container .formula-box {
  margin: 0;
  padding: 10px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-card);
  border: 1px dashed var(--k9-line);
  border-radius: 0;
  text-align: left;
}

.k9-calculator-container .formula-label {
  margin: 0 0 4px;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 11.5px;
  line-height: 1.2;
  font-weight: 850;
}

.k9-calculator-container .formula-text {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "D2Coding", "Nanum Gothic Coding", monospace;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 850;
  word-break: keep-all;
}

.k9-calculator-container .info-section {
  display: grid;
  gap: 0;
}

.k9-calculator-container .rating-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.k9-calculator-container .rating-item {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-height: 58px;
  padding: 9px 5px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-paper);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  text-align: center;
}

.k9-calculator-container .rating-item.elite,
.k9-calculator-container .rating-item.excellent {
  background: #dfeaf0;
}

.k9-calculator-container .rating-item.good {
  background: #e2edd8;
}

.k9-calculator-container .rating-item.average {
  background: #f3dfae;
}

.k9-calculator-container .rating-item.below {
  background: #f2d8c7;
}

.k9-calculator-container .rating-range {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "D2Coding", "Nanum Gothic Coding", monospace;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 930;
}

.k9-calculator-container .rating-name {
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 840;
}

.k9-calculator-container .toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 1000;
  display: flex;
  align-items: center;
  max-width: min(420px, calc(100vw - 28px));
  padding: 10px 12px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-paper);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: var(--k9-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(12px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.k9-calculator-container .toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.k9-calculator-container .toast-message {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 850;
}

body[data-scheme="dark"].postid-4944,
body[data-scheme="dark"].postid-4944,
body[data-scheme="inverse"].postid-4944,
body[data-scheme="inverse"].postid-4944 {
  --k9-page: #201811;
  --k9-paper: #2b2119;
  --k9-panel: #33271d;
  --k9-card: #241c15;
  --k9-accent: #344a32;
  --k9-accent-ink: #f2e4cf;
  --k9-ink: #f2e4cf;
  --k9-muted: #f0dfc5;
  --k9-line: #a98b6b;
  --k9-line-soft: rgba(169, 139, 107, 0.35);
  --k9-shadow: 4px 4px 0 rgba(10, 8, 6, 0.34);
  --k9-shadow-soft: 2px 2px 0 rgba(10, 8, 6, 0.28);
  background:
    linear-gradient(90deg, rgba(169, 139, 107, 0.04) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(169, 139, 107, 0.035) 1px, transparent 1px) 0 0 / 18px 18px,
    var(--k9-page);
}

body[data-scheme="dark"] .k9-calculator-container,
body[data-scheme="inverse"] .k9-calculator-container {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background:
    linear-gradient(90deg, rgba(169, 139, 107, 0.052) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(0deg, rgba(169, 139, 107, 0.044) 1px, transparent 1px) 0 0 / 16px 16px,
    var(--k9-paper);
  border-color: var(--k9-line);
  box-shadow: var(--k9-shadow);
}

body[data-scheme="dark"] .k9-calculator-container .calculator-header::before,
body[data-scheme="inverse"] .k9-calculator-container .calculator-header::before {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #344a32;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .input-section,
body[data-scheme="dark"] .k9-calculator-container .result-section,
body[data-scheme="dark"] .k9-calculator-container .info-section,
body[data-scheme="inverse"] .k9-calculator-container .input-section,
body[data-scheme="inverse"] .k9-calculator-container .result-section,
body[data-scheme="inverse"] .k9-calculator-container .info-section {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-panel);
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .input-field,
body[data-scheme="inverse"] .k9-calculator-container .input-field {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #241c15;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .input-field::placeholder,
body[data-scheme="inverse"] .k9-calculator-container .input-field::placeholder {
  color: rgba(240, 223, 197, 0.7);
  -webkit-text-fill-color: rgba(240, 223, 197, 0.7);
}

body[data-scheme="dark"] .k9-calculator-container .result-main,
body[data-scheme="inverse"] .k9-calculator-container .result-main {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #344a32;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .result-value,
body[data-scheme="inverse"] .k9-calculator-container .result-value {
  color: #ddbf6f;
  -webkit-text-fill-color: #ddbf6f;
}

body[data-scheme="dark"] .k9-calculator-container .sample-btn,
body[data-scheme="inverse"] .k9-calculator-container .sample-btn {
  color: #241c15;
  -webkit-text-fill-color: #241c15;
  background: #d2aa55;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .reset-btn,
body[data-scheme="inverse"] .k9-calculator-container .reset-btn,
body[data-scheme="dark"] .k9-calculator-container .formula-box,
body[data-scheme="inverse"] .k9-calculator-container .formula-box,
body[data-scheme="dark"] .k9-calculator-container .rating-badge,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge,
body[data-scheme="dark"] .k9-calculator-container .rating-item,
body[data-scheme="inverse"] .k9-calculator-container .rating-item,
body[data-scheme="dark"] .k9-calculator-container .toast,
body[data-scheme="inverse"] .k9-calculator-container .toast {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #241c15;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .rating-badge.elite,
body[data-scheme="dark"] .k9-calculator-container .rating-badge.excellent,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.elite,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.excellent {
  color: #dcecf2;
  -webkit-text-fill-color: #dcecf2;
  background: #314d5c;
}

body[data-scheme="dark"] .k9-calculator-container .rating-badge.good,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.good {
  color: #e2edd8;
  -webkit-text-fill-color: #e2edd8;
  background: #344a32;
}

body[data-scheme="dark"] .k9-calculator-container .rating-badge.average,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.average {
  color: #241c15;
  -webkit-text-fill-color: #241c15;
  background: #d2aa55;
}

body[data-scheme="dark"] .k9-calculator-container .rating-badge.below,
body[data-scheme="dark"] .k9-calculator-container .rating-badge.invalid,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.below,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.invalid {
  color: #f4c7b8;
  -webkit-text-fill-color: #f4c7b8;
  background: #4b2a20;
}

body[data-scheme="dark"] .k9-calculator-container .k9-error-message,
body[data-scheme="inverse"] .k9-calculator-container .k9-error-message {
  color: #f4c7b8;
  -webkit-text-fill-color: #f4c7b8;
  background: #4b2a20;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .gauge-bar,
body[data-scheme="inverse"] .k9-calculator-container .gauge-bar {
  background:
    linear-gradient(90deg,
      rgba(244, 199, 184, 0.22) 0%,
      rgba(210, 170, 85, 0.33) 42%,
      rgba(52, 74, 50, 0.92) 62%,
      rgba(49, 77, 92, 0.92) 100%);
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .gauge-marker,
body[data-scheme="inverse"] .k9-calculator-container .gauge-marker {
  background: #f2e4cf;
  border-color: #241c15;
}

body[data-scheme="dark"] .k9-calculator-container .formula-label,
body[data-scheme="dark"] .k9-calculator-container .formula-text,
body[data-scheme="dark"] .k9-calculator-container .main-title,
body[data-scheme="dark"] .k9-calculator-container .subtitle,
body[data-scheme="dark"] .k9-calculator-container .section-header,
body[data-scheme="dark"] .k9-calculator-container label,
body[data-scheme="dark"] .k9-calculator-container .k9-field-help,
body[data-scheme="dark"] .k9-calculator-container .result-label,
body[data-scheme="dark"] .k9-calculator-container .k9-result-breakdown,
body[data-scheme="dark"] .k9-calculator-container .gauge-labels,
body[data-scheme="dark"] .k9-calculator-container .rating-range,
body[data-scheme="dark"] .k9-calculator-container .rating-name,
body[data-scheme="dark"] .k9-calculator-container .toast-message,
body[data-scheme="inverse"] .k9-calculator-container .formula-label,
body[data-scheme="inverse"] .k9-calculator-container .formula-text,
body[data-scheme="inverse"] .k9-calculator-container .main-title,
body[data-scheme="inverse"] .k9-calculator-container .subtitle,
body[data-scheme="inverse"] .k9-calculator-container .section-header,
body[data-scheme="inverse"] .k9-calculator-container label,
body[data-scheme="inverse"] .k9-calculator-container .k9-field-help,
body[data-scheme="inverse"] .k9-calculator-container .result-label,
body[data-scheme="inverse"] .k9-calculator-container .k9-result-breakdown,
body[data-scheme="inverse"] .k9-calculator-container .gauge-labels,
body[data-scheme="inverse"] .k9-calculator-container .rating-range,
body[data-scheme="inverse"] .k9-calculator-container .rating-name,
body[data-scheme="inverse"] .k9-calculator-container .toast-message {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
}

@media (max-width: 760px) {
  body.postid-4944 .k9-calculator-container,
  body.postid-4944 .k9-calculator-container,
  .k9-calculator-container {
    width: min(950px, calc(100vw - 24px));
    margin-top: 14px;
    margin-bottom: 22px;
    padding: 12px;
  }

  .k9-calculator-container .main-grid,
  .k9-calculator-container .rating-grid {
    grid-template-columns: 1fr;
  }

  .k9-calculator-container .rating-grid {
    gap: 6px;
  }

  .k9-calculator-container .rating-item {
    min-height: 0;
    grid-template-columns: 86px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    text-align: left;
  }
}

@media (max-width: 480px) {
  body.postid-4944 .k9-calculator-container,
  body.postid-4944 .k9-calculator-container,
  .k9-calculator-container {
    width: min(950px, calc(100vw - 20px));
    padding: 10px;
    gap: 10px;
  }

  .k9-calculator-container .calculator-header {
    padding-bottom: 10px;
  }

  .k9-calculator-container .input-section,
  .k9-calculator-container .result-section,
  .k9-calculator-container .info-section {
    padding: 10px;
  }

  .k9-calculator-container .input-row,
  .k9-calculator-container .button-group {
    grid-template-columns: 1fr;
  }

  .k9-calculator-container .input-field,
  .k9-calculator-container .sample-btn,
  .k9-calculator-container .reset-btn {
    min-height: 46px;
  }

  .k9-calculator-container .result-value {
    font-size: clamp(40px, 15vw, 54px);
  }
}



/* ROBERIN K/9 Phase 2 article + standard ad slots - 2026-05-10 */
body.postid-4944 .roberin-ad,
body.postid-4944 .roberin-ad,
body.postid-4944 .roberin-leaderboard-ad,
body.postid-4944 .roberin-leaderboard-ad {
  display: block !important;
  width: min(728px, calc(100vw - 32px)) !important;
  max-width: 728px !important;
  min-width: 0 !important;
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
  margin: 18px auto 24px !important;
  padding: 0 !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  text-align: center !important;
}

body.postid-4944 .roberin-ad--after-tool,
body.postid-4944 .roberin-ad--after-tool {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

body.postid-4944 .roberin-ad--bottom,
body.postid-4944 .roberin-ad--bottom {
  margin-top: 20px !important;
  margin-bottom: 28px !important;
}

body.postid-4944 .roberin-ad ins.adsbygoogle,
body.postid-4944 .roberin-ad ins.adsbygoogle,
body.postid-4944 .roberin-leaderboard-ad ins.adsbygoogle,
body.postid-4944 .roberin-leaderboard-ad ins.adsbygoogle,
body.postid-4944 .entry-content .roberin-ad ins.adsbygoogle,
body.postid-4944 .entry-content .roberin-ad ins.adsbygoogle {
  display: block !important;
  width: min(728px, calc(100vw - 32px)) !important;
  max-width: 728px !important;
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.postid-4944 .roberin-ad iframe,
body.postid-4944 .roberin-ad iframe,
body.postid-4944 .roberin-ad [id^="aswift_"],
body.postid-4944 .roberin-ad [id^="aswift_"],
body.postid-4944 .roberin-leaderboard-ad iframe,
body.postid-4944 .roberin-leaderboard-ad iframe,
body.postid-4944 .roberin-leaderboard-ad [id^="aswift_"],
body.postid-4944 .roberin-leaderboard-ad [id^="aswift_"] {
  max-width: 100% !important;
  width: 100% !important;
  height: 90px !important;
  max-height: 90px !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  border: 0 !important;
  overflow: hidden !important;
}

body.postid-4944 .entry-content article.roberin-article-body.k9-article-body,
body.postid-4944 .entry-content article.roberin-article-body.k9-article-body,
body.postid-4944 article.roberin-article-body.k9-article-body,
body.postid-4944 article.roberin-article-body.k9-article-body,
body.postid-4944 .k9-article-body,
body.postid-4944 .k9-article-body,
body.postid-4944 .k9-article-body *,
body.postid-4944 .k9-article-body *,
body.postid-4944 .k9-article-body *::before,
body.postid-4944 .k9-article-body *::before,
body.postid-4944 .k9-article-body *::after,
body.postid-4944 .k9-article-body *::after {
  box-sizing: border-box;
  min-width: 0;
}

body.postid-4944 .entry-content article.roberin-article-body.k9-article-body,
body.postid-4944 .entry-content article.roberin-article-body.k9-article-body,
body.postid-4944 article.roberin-article-body.k9-article-body,
body.postid-4944 article.roberin-article-body.k9-article-body {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 18px;
  width: min(950px, calc(100vw - 32px));
  max-width: 950px;
  margin: 0 auto 24px;
  padding: clamp(16px, 3vw, 28px);
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  background: var(--k9-panel) !important;
  border: 2px solid var(--k9-line) !important;
  box-shadow: var(--k9-shadow) !important;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.72;
  word-break: keep-all;
}

body.postid-4944 .entry-content article.roberin-article-body.k9-article-body::before,
body.postid-4944 .entry-content article.roberin-article-body.k9-article-body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(107, 87, 69, 0.044) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 87, 69, 0.036) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

body.postid-4944 .k9-article-kicker,
body.postid-4944 .k9-article-kicker {
  width: fit-content;
  margin: 0;
  padding: 4px 9px;
  color: var(--k9-accent-ink) !important;
  -webkit-text-fill-color: var(--k9-accent-ink) !important;
  background: var(--k9-accent) !important;
  border: 1px solid var(--k9-line) !important;
  box-shadow: var(--k9-shadow-soft) !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em;
}

body.postid-4944 .k9-article-section,
body.postid-4944 .k9-article-section {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding-top: 8px;
}

body.postid-4944 .k9-article-section + .k9-article-section,
body.postid-4944 .k9-article-section + .k9-article-section {
  margin-top: 6px;
  padding-top: 22px;
  border-top: 1px dashed var(--k9-line-soft);
}

body.postid-4944 .k9-article-body h2,
body.postid-4944 .k9-article-body h2,
body.postid-4944 .k9-article-body h3,
body.postid-4944 .k9-article-body h3 {
  margin: 0 !important;
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  background: transparent;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

body.postid-4944 .k9-article-body h2,
body.postid-4944 .k9-article-body h2 {
  width: auto;
  max-width: 100%;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: clamp(22px, 2.4vw, 30px) !important;
  line-height: 1.18 !important;
  font-weight: 950 !important;
}

body.postid-4944 .k9-article-body h3,
body.postid-4944 .k9-article-body h3 {
  padding-bottom: 7px !important;
  border-bottom: 1px solid var(--k9-line-soft) !important;
  font-size: clamp(17px, 1.8vw, 21px) !important;
  line-height: 1.3 !important;
  font-weight: 900 !important;
}

body.postid-4944 .k9-article-body p,
body.postid-4944 .k9-article-body p,
body.postid-4944 .k9-article-body li,
body.postid-4944 .k9-article-body li,
body.postid-4944 .k9-article-body summary,
body.postid-4944 .k9-article-body summary,
body.postid-4944 .k9-article-body td,
body.postid-4944 .k9-article-body td,
body.postid-4944 .k9-article-body th,
body.postid-4944 .k9-article-body th,
body.postid-4944 .k9-article-body span,
body.postid-4944 .k9-article-body span {
  color: var(--k9-muted) !important;
  -webkit-text-fill-color: var(--k9-muted) !important;
  font-size: 15px !important;
  line-height: 1.72 !important;
  font-weight: 680 !important;
}

body.postid-4944 .k9-article-body p,
body.postid-4944 .k9-article-body p {
  margin: 0 !important;
}

body.postid-4944 .k9-article-body strong,
body.postid-4944 .k9-article-body strong,
body.postid-4944 .k9-article-body summary,
body.postid-4944 .k9-article-body summary,
body.postid-4944 .k9-article-body th,
body.postid-4944 .k9-article-body th,
body.postid-4944 .k9-article-card strong,
body.postid-4944 .k9-article-card strong,
body.postid-4944 .k9-notice h3,
body.postid-4944 .k9-notice h3 {
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  font-weight: 920 !important;
}

body.postid-4944 .k9-article-body code,
body.postid-4944 .k9-article-body code {
  display: inline-block;
  max-width: 100%;
  padding: 1px 5px;
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  background: var(--k9-paper) !important;
  border: 1px solid var(--k9-line-soft) !important;
  border-radius: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em !important;
  font-weight: 780 !important;
  overflow-wrap: anywhere;
}

body.postid-4944 .k9-article-body ul,
body.postid-4944 .k9-article-body ul,
body.postid-4944 .k9-article-body ol,
body.postid-4944 .k9-article-body ol {
  display: grid;
  gap: 8px;
  margin: 0 !important;
  padding-left: 1.25em !important;
}

body.postid-4944 .k9-article-card-grid,
body.postid-4944 .k9-article-card-grid,
body.postid-4944 .k9-result-grid,
body.postid-4944 .k9-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.postid-4944 .k9-result-grid,
body.postid-4944 .k9-result-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.postid-4944 .k9-article-card,
body.postid-4944 .k9-article-card,
body.postid-4944 .k9-formula-panel,
body.postid-4944 .k9-formula-panel,
body.postid-4944 .k9-example-panel,
body.postid-4944 .k9-example-panel,
body.postid-4944 .k9-result-card,
body.postid-4944 .k9-result-card,
body.postid-4944 .k9-notice,
body.postid-4944 .k9-notice,
body.postid-4944 .k9-faq details,
body.postid-4944 .k9-faq details {
  min-width: 0;
  color: var(--k9-muted) !important;
  -webkit-text-fill-color: var(--k9-muted) !important;
  background: var(--k9-paper) !important;
  border: 1px solid var(--k9-line) !important;
  box-shadow: var(--k9-shadow-soft) !important;
}

body.postid-4944 .k9-article-card,
body.postid-4944 .k9-article-card,
body.postid-4944 .k9-result-card,
body.postid-4944 .k9-result-card {
  display: grid;
  gap: 5px;
  padding: 12px;
}

body.postid-4944 .k9-formula-panel,
body.postid-4944 .k9-formula-panel,
body.postid-4944 .k9-example-panel,
body.postid-4944 .k9-example-panel {
  display: grid;
  gap: 10px;
  padding: 13px 14px;
}

body.postid-4944 .k9-formula-panel code,
body.postid-4944 .k9-formula-panel code {
  display: block;
  width: fit-content;
  white-space: normal;
}

body.postid-4944 .k9-example-panel .k9-example-row,
body.postid-4944 .k9-example-panel .k9-example-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px dashed var(--k9-line-soft);
}

body.postid-4944 .k9-example-panel .k9-example-row:last-child,
body.postid-4944 .k9-example-panel .k9-example-row:last-child {
  border-bottom: 0;
}

body.postid-4944 .k9-result-card span:first-child,
body.postid-4944 .k9-result-card span:first-child {
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  font-size: 14px !important;
  font-weight: 920 !important;
}

body.postid-4944 .k9-notice,
body.postid-4944 .k9-notice {
  display: grid;
  gap: 10px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(221, 191, 111, 0.18), rgba(226, 237, 216, 0.12)),
    var(--k9-paper) !important;
  border-left: 6px solid var(--k9-mustard-deep) !important;
}

body.postid-4944 .k9-notice h3,
body.postid-4944 .k9-notice h3 {
  border-bottom-color: var(--k9-line-soft) !important;
}

body.postid-4944 .k9-faq,
body.postid-4944 .k9-faq {
  display: grid;
  gap: 8px;
}

body.postid-4944 .k9-faq details,
body.postid-4944 .k9-faq details {
  padding: 0;
}

body.postid-4944 .k9-faq summary,
body.postid-4944 .k9-faq summary {
  cursor: pointer;
  padding: 11px 12px;
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  font-weight: 900 !important;
  list-style-position: inside;
}

body.postid-4944 .k9-faq details[open] summary,
body.postid-4944 .k9-faq details[open] summary {
  border-bottom: 1px dashed var(--k9-line-soft);
}

body.postid-4944 .k9-faq details p,
body.postid-4944 .k9-faq details p {
  padding: 10px 12px 12px;
}

body[data-scheme="dark"].postid-4944 .entry-content article.roberin-article-body.k9-article-body,
body[data-scheme="dark"].postid-4944 .entry-content article.roberin-article-body.k9-article-body,
body[data-scheme="inverse"].postid-4944 .entry-content article.roberin-article-body.k9-article-body,
body[data-scheme="inverse"].postid-4944 .entry-content article.roberin-article-body.k9-article-body {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: #2b2119 !important;
  border-color: #a98b6b !important;
  box-shadow: 4px 4px 0 rgba(10, 8, 6, 0.34) !important;
}

body[data-scheme="dark"].postid-4944 .entry-content article.roberin-article-body.k9-article-body::before,
body[data-scheme="dark"].postid-4944 .entry-content article.roberin-article-body.k9-article-body::before,
body[data-scheme="inverse"].postid-4944 .entry-content article.roberin-article-body.k9-article-body::before,
body[data-scheme="inverse"].postid-4944 .entry-content article.roberin-article-body.k9-article-body::before {
  background:
    linear-gradient(rgba(169, 139, 107, 0.050) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 139, 107, 0.042) 1px, transparent 1px);
  background-size: 22px 22px;
}

body[data-scheme="dark"].postid-4944 .k9-article-kicker,
body[data-scheme="dark"].postid-4944 .k9-article-kicker,
body[data-scheme="inverse"].postid-4944 .k9-article-kicker,
body[data-scheme="inverse"].postid-4944 .k9-article-kicker {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: #344a32 !important;
  border-color: #a98b6b !important;
}

body[data-scheme="dark"].postid-4944 .k9-article-body h2,
body[data-scheme="dark"].postid-4944 .k9-article-body h2,
body[data-scheme="inverse"].postid-4944 .k9-article-body h2,
body[data-scheme="inverse"].postid-4944 .k9-article-body h2 {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body[data-scheme="dark"].postid-4944 .k9-article-body h3,
body[data-scheme="dark"].postid-4944 .k9-article-body h3,
body[data-scheme="dark"].postid-4944 .k9-article-body strong,
body[data-scheme="dark"].postid-4944 .k9-article-body strong,
body[data-scheme="dark"].postid-4944 .k9-article-body summary,
body[data-scheme="dark"].postid-4944 .k9-article-body summary,
body[data-scheme="dark"].postid-4944 .k9-article-body th,
body[data-scheme="dark"].postid-4944 .k9-article-body th,
body[data-scheme="inverse"].postid-4944 .k9-article-body h3,
body[data-scheme="inverse"].postid-4944 .k9-article-body h3,
body[data-scheme="inverse"].postid-4944 .k9-article-body strong,
body[data-scheme="inverse"].postid-4944 .k9-article-body strong,
body[data-scheme="inverse"].postid-4944 .k9-article-body summary,
body[data-scheme="inverse"].postid-4944 .k9-article-body summary,
body[data-scheme="inverse"].postid-4944 .k9-article-body th,
body[data-scheme="inverse"].postid-4944 .k9-article-body th {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background-color: transparent !important;
  border-color: #a98b6b !important;
}

body[data-scheme="dark"].postid-4944 .k9-article-body p,
body[data-scheme="dark"].postid-4944 .k9-article-body p,
body[data-scheme="dark"].postid-4944 .k9-article-body li,
body[data-scheme="dark"].postid-4944 .k9-article-body li,
body[data-scheme="dark"].postid-4944 .k9-article-body td,
body[data-scheme="dark"].postid-4944 .k9-article-body td,
body[data-scheme="dark"].postid-4944 .k9-article-body span,
body[data-scheme="dark"].postid-4944 .k9-article-body span,
body[data-scheme="inverse"].postid-4944 .k9-article-body p,
body[data-scheme="inverse"].postid-4944 .k9-article-body p,
body[data-scheme="inverse"].postid-4944 .k9-article-body li,
body[data-scheme="inverse"].postid-4944 .k9-article-body li,
body[data-scheme="inverse"].postid-4944 .k9-article-body td,
body[data-scheme="inverse"].postid-4944 .k9-article-body td,
body[data-scheme="inverse"].postid-4944 .k9-article-body span,
body[data-scheme="inverse"].postid-4944 .k9-article-body span {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
}

body[data-scheme="dark"].postid-4944 .k9-article-body code,
body[data-scheme="dark"].postid-4944 .k9-article-body code,
body[data-scheme="inverse"].postid-4944 .k9-article-body code,
body[data-scheme="inverse"].postid-4944 .k9-article-body code {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: #241c15 !important;
  border-color: rgba(169, 139, 107, 0.35) !important;
}

body[data-scheme="dark"].postid-4944 .k9-article-card,
body[data-scheme="dark"].postid-4944 .k9-article-card,
body[data-scheme="dark"].postid-4944 .k9-formula-panel,
body[data-scheme="dark"].postid-4944 .k9-formula-panel,
body[data-scheme="dark"].postid-4944 .k9-example-panel,
body[data-scheme="dark"].postid-4944 .k9-example-panel,
body[data-scheme="dark"].postid-4944 .k9-result-card,
body[data-scheme="dark"].postid-4944 .k9-result-card,
body[data-scheme="dark"].postid-4944 .k9-notice,
body[data-scheme="dark"].postid-4944 .k9-notice,
body[data-scheme="dark"].postid-4944 .k9-faq details,
body[data-scheme="dark"].postid-4944 .k9-faq details,
body[data-scheme="inverse"].postid-4944 .k9-article-card,
body[data-scheme="inverse"].postid-4944 .k9-article-card,
body[data-scheme="inverse"].postid-4944 .k9-formula-panel,
body[data-scheme="inverse"].postid-4944 .k9-formula-panel,
body[data-scheme="inverse"].postid-4944 .k9-example-panel,
body[data-scheme="inverse"].postid-4944 .k9-example-panel,
body[data-scheme="inverse"].postid-4944 .k9-result-card,
body[data-scheme="inverse"].postid-4944 .k9-result-card,
body[data-scheme="inverse"].postid-4944 .k9-notice,
body[data-scheme="inverse"].postid-4944 .k9-notice,
body[data-scheme="inverse"].postid-4944 .k9-faq details,
body[data-scheme="inverse"].postid-4944 .k9-faq details {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
  background: #33271d !important;
  border-color: #a98b6b !important;
  box-shadow: 2px 2px 0 rgba(10, 8, 6, 0.28) !important;
}

body[data-scheme="dark"].postid-4944 .k9-notice,
body[data-scheme="dark"].postid-4944 .k9-notice,
body[data-scheme="inverse"].postid-4944 .k9-notice,
body[data-scheme="inverse"].postid-4944 .k9-notice {
  background:
    linear-gradient(135deg, rgba(210, 170, 85, 0.18), rgba(52, 74, 50, 0.14)),
    #33271d !important;
  border-left-color: #d2aa55 !important;
}

@media (max-width: 760px) {
  body.postid-4944 .roberin-ad,
  body.postid-4944 .roberin-ad,
  body.postid-4944 .roberin-leaderboard-ad,
  body.postid-4944 .roberin-leaderboard-ad,
  body.postid-4944 .roberin-ad ins.adsbygoogle,
  body.postid-4944 .roberin-ad ins.adsbygoogle,
  body.postid-4944 .roberin-leaderboard-ad ins.adsbygoogle,
  body.postid-4944 .roberin-leaderboard-ad ins.adsbygoogle,
  body.postid-4944 .entry-content article.roberin-article-body.k9-article-body,
  body.postid-4944 .entry-content article.roberin-article-body.k9-article-body {
    width: min(950px, calc(100vw - 24px)) !important;
  }

  body.postid-4944 .entry-content article.roberin-article-body.k9-article-body,
  body.postid-4944 .entry-content article.roberin-article-body.k9-article-body {
    gap: 15px;
    padding: 14px 12px;
    box-shadow: 3px 3px 0 rgba(82, 65, 50, 0.20) !important;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  body.postid-4944 .k9-article-card-grid,
  body.postid-4944 .k9-article-card-grid,
  body.postid-4944 .k9-result-grid,
  body.postid-4944 .k9-result-grid {
    grid-template-columns: 1fr;
  }

  body.postid-4944 .k9-example-panel .k9-example-row,
  body.postid-4944 .k9-example-panel .k9-example-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  body.postid-4944 .k9-article-body p,
  body.postid-4944 .k9-article-body p,
  body.postid-4944 .k9-article-body li,
  body.postid-4944 .k9-article-body li,
  body.postid-4944 .k9-article-body summary,
  body.postid-4944 .k9-article-body summary,
  body.postid-4944 .k9-article-body span,
  body.postid-4944 .k9-article-body span {
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  body.postid-4944 .roberin-ad,
  body.postid-4944 .roberin-ad,
  body.postid-4944 .roberin-leaderboard-ad,
  body.postid-4944 .roberin-leaderboard-ad,
  body.postid-4944 .roberin-ad ins.adsbygoogle,
  body.postid-4944 .roberin-ad ins.adsbygoogle,
  body.postid-4944 .roberin-leaderboard-ad ins.adsbygoogle,
  body.postid-4944 .roberin-leaderboard-ad ins.adsbygoogle {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
  }

  body.postid-4944 .entry-content article.roberin-article-body.k9-article-body,
  body.postid-4944 .entry-content article.roberin-article-body.k9-article-body {
    width: calc(100vw - 20px) !important;
    padding: 12px 10px;
  }

  body.postid-4944 .k9-article-body h2,
  body.postid-4944 .k9-article-body h2 {
    font-size: clamp(21px, 7vw, 26px) !important;
  }

  body.postid-4944 .k9-article-body h3,
  body.postid-4944 .k9-article-body h3 {
    font-size: clamp(17px, 5.5vw, 19px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .k9-calculator-container *,
  .k9-calculator-container *::before,
  .k9-calculator-container *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ES post scope mirrors the verified canonical K/9 styles - 2026-05-10 */
body.postid-4945,
body.postid-4945 {
  --k9-page: #f9f1e7;
  --k9-paper: #fff8ed;
  --k9-panel: #f8efe2;
  --k9-card: #fff3df;
  --k9-accent: #e2edd8;
  --k9-accent-ink: #355733;
  --k9-ink: #34281f;
  --k9-muted: #574838;
  --k9-line: #6b5745;
  --k9-line-soft: rgba(107, 87, 69, 0.28);
  --k9-mustard: #ddbf6f;
  --k9-mustard-deep: #d2aa55;
  --k9-focus: #4f7d94;
  --k9-warn: #a94a36;
  --k9-shadow: 4px 4px 0 rgba(82, 65, 50, 0.24);
  --k9-shadow-soft: 2px 2px 0 rgba(82, 65, 50, 0.16);
  background:
    linear-gradient(90deg, rgba(107, 87, 69, 0.025) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(107, 87, 69, 0.022) 1px, transparent 1px) 0 0 / 18px 18px,
    var(--k9-page);
}

body.postid-4945 .entry-content,
body.postid-4945 .entry-content,
body.postid-4945 .cs-entry__content,
body.postid-4945 .cs-entry__content,
body.postid-4945 .cs-entry__content-wrap,
body.postid-4945 .cs-entry__content-wrap {
  overflow-x: clip;
}

/* Page-scoped overflow guard: keeps existing ad slots from widening the viewport without changing their order. */
body.postid-4945 .cs-custom-content,
body.postid-4945 .cs-custom-content,
body.postid-4945 .cs-custom-content-post-before,
body.postid-4945 .cs-custom-content-post-before,
body.postid-4945 .cs-custom-content-post-after,
body.postid-4945 .cs-custom-content-post-after,
body.postid-4945 .entry-content,
body.postid-4945 .entry-content {
  max-width: 100%;
  overflow-x: clip;
}

body.postid-4945 ins.adsbygoogle,
body.postid-4945 ins.adsbygoogle {
  max-width: min(728px, calc(100vw - 32px)) !important;
  width: min(728px, calc(100vw - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.postid-4945 [id^="aswift_"][id$="_host"],
body.postid-4945 [id^="aswift_"][id$="_host"],
body.postid-4945 iframe[id^="aswift_"],
body.postid-4945 iframe[id^="aswift_"] {
  max-width: 100% !important;
  left: 0 !important;
  right: auto !important;
}

body.postid-4945 .k9-calculator-container,
body.postid-4945 .k9-calculator-container,
.k9-calculator-container,
.k9-calculator-container *,
.k9-calculator-container *::before,
.k9-calculator-container *::after {
  box-sizing: border-box;
  min-width: 0;
}

body.postid-4945 .k9-calculator-container,
body.postid-4945 .k9-calculator-container,
.k9-calculator-container {
  position: relative;
  isolation: isolate;
  width: min(950px, calc(100vw - 32px));
  max-width: 950px;
  margin: 18px auto 28px;
  padding: 14px;
  display: grid;
  gap: 12px;
  overflow: hidden;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background:
    linear-gradient(90deg, rgba(107, 87, 69, 0.045) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(0deg, rgba(107, 87, 69, 0.036) 1px, transparent 1px) 0 0 / 16px 16px,
    var(--k9-paper);
  border: 2px solid var(--k9-line);
  border-radius: 0;
  box-shadow: var(--k9-shadow);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.52;
}

.k9-calculator-container svg,
.k9-calculator-container .dark-mode-toggle,
.k9-calculator-container #darkModeToggle,
.k9-calculator-container .tooltip {
  display: none !important;
}

.k9-calculator-container button,
.k9-calculator-container input {
  font: inherit;
}

.k9-calculator-container .calculator-header {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 0 12px;
  text-align: left;
  border: 0;
  border-bottom: 2px solid var(--k9-line);
}

.k9-calculator-container .calculator-header::before {
  content: "PITCHING RATE";
  width: fit-content;
  padding: 4px 8px;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  background: var(--k9-accent);
  border: 1px solid var(--k9-line);
  box-shadow: var(--k9-shadow-soft);
  font-size: 12px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.k9-calculator-container .main-title {
  display: block;
  margin: 0;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-size: clamp(23px, 2.6vw, 33px);
  line-height: 1.14;
  font-weight: 950;
  letter-spacing: -0.045em;
  text-align: left;
  text-shadow: none;
  word-break: keep-all;
}

.k9-calculator-container .subtitle {
  max-width: 720px;
  margin: 0;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 720;
  word-break: keep-all;
}

.k9-calculator-container .main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.97fr);
  gap: 12px;
  align-items: start;
  margin: 0;
}

.k9-calculator-container .input-section,
.k9-calculator-container .result-section,
.k9-calculator-container .info-section {
  align-self: start;
  min-width: 0;
  padding: 12px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-panel);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: var(--k9-shadow-soft);
}

.k9-calculator-container .section-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  padding: 0 0 8px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  border-bottom: 1px solid var(--k9-line);
  font-size: 16.5px;
  line-height: 1.2;
  font-weight: 930;
  letter-spacing: -0.02em;
}

.k9-calculator-container .input-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}

.k9-calculator-container .input-group {
  display: grid;
  gap: 5px;
}

.k9-calculator-container .input-group label {
  display: block;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 850;
  word-break: keep-all;
}

.k9-calculator-container .k9-field-help {
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 720;
  word-break: keep-all;
}

.k9-calculator-container .input-field {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-paper);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: inset 1px 1px 0 rgba(82, 65, 50, 0.1);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "D2Coding", "Nanum Gothic Coding", monospace;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 820;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.k9-calculator-container .input-field::placeholder {
  color: rgba(87, 72, 56, 0.72);
  -webkit-text-fill-color: rgba(87, 72, 56, 0.72);
  opacity: 1;
  font-weight: 650;
}

.k9-calculator-container .input-field:focus {
  outline: 2px solid var(--k9-focus);
  outline-offset: 2px;
  border-color: var(--k9-focus);
  background: #fff8ed;
  box-shadow: 0 0 0 3px rgba(79, 125, 148, 0.16);
}

.k9-calculator-container .input-field.is-invalid {
  border-color: var(--k9-warn);
  box-shadow: inset 1px 1px 0 rgba(82, 65, 50, 0.1), 0 0 0 3px rgba(169, 74, 54, 0.13);
}

.k9-calculator-container .k9-error-message {
  display: none;
  margin: 0 0 10px;
  padding: 8px 10px;
  color: var(--k9-warn);
  -webkit-text-fill-color: var(--k9-warn);
  background: #f3dfae;
  border: 1px dashed var(--k9-line);
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 780;
}

.k9-calculator-container .k9-error-message.is-visible {
  display: block;
}

.k9-calculator-container .button-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.k9-calculator-container .sample-btn,
.k9-calculator-container .reset-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: var(--k9-shadow-soft);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.k9-calculator-container .sample-btn {
  color: #241c15;
  -webkit-text-fill-color: #241c15;
  background: var(--k9-mustard);
}

.k9-calculator-container .reset-btn {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-card);
}

.k9-calculator-container .sample-btn:hover,
.k9-calculator-container .reset-btn:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(82, 65, 50, 0.18);
}

.k9-calculator-container .sample-btn:focus-visible,
.k9-calculator-container .reset-btn:focus-visible {
  outline: 2px solid var(--k9-focus);
  outline-offset: 2px;
}

.k9-calculator-container .result-main {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin: 0 0 10px;
  padding: 14px 12px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-accent);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: inset 2px 2px 0 rgba(82, 65, 50, 0.08);
  text-align: center;
}

.k9-calculator-container .result-label {
  margin: 0;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 850;
  word-break: keep-all;
}

.k9-calculator-container .result-value {
  margin: 0;
  color: #7a412f;
  -webkit-text-fill-color: #7a412f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "D2Coding", "Nanum Gothic Coding", monospace;
  font-size: clamp(44px, 7vw, 64px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.k9-calculator-container .rating-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 5px 10px;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  background: var(--k9-paper);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  word-break: keep-all;
}

.k9-calculator-container .rating-badge.elite,
.k9-calculator-container .rating-badge.excellent {
  color: #314d5c;
  -webkit-text-fill-color: #314d5c;
  background: #dfeaf0;
}

.k9-calculator-container .rating-badge.good {
  color: var(--k9-accent-ink);
  -webkit-text-fill-color: var(--k9-accent-ink);
  background: #e2edd8;
}

.k9-calculator-container .rating-badge.average {
  color: #5b431c;
  -webkit-text-fill-color: #5b431c;
  background: #f3dfae;
}

.k9-calculator-container .rating-badge.below,
.k9-calculator-container .rating-badge.invalid {
  color: var(--k9-warn);
  -webkit-text-fill-color: var(--k9-warn);
  background: #f2d8c7;
}

.k9-calculator-container .k9-result-breakdown {
  min-height: 1.35em;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 760;
  word-break: keep-all;
}

.k9-calculator-container .gauge-container {
  margin: 0 0 10px;
}

.k9-calculator-container .gauge-bar {
  position: relative;
  height: 18px;
  overflow: visible;
  background:
    linear-gradient(90deg,
      rgba(169, 74, 54, 0.20) 0%,
      rgba(221, 191, 111, 0.26) 42%,
      rgba(226, 237, 216, 0.92) 62%,
      rgba(223, 234, 240, 0.92) 100%);
  border: 1px solid var(--k9-line);
  border-radius: 0;
}

.k9-calculator-container .gauge-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: rgba(122, 65, 47, 0.18);
  border-right: 1px solid rgba(107, 87, 69, 0.5);
  border-radius: 0;
  transition: width 220ms ease;
}

.k9-calculator-container .gauge-marker {
  position: absolute;
  top: -5px;
  left: 0;
  display: none;
  width: 3px;
  height: 28px;
  transform: translateX(-50%);
  background: var(--k9-ink);
  border: 1px solid var(--k9-paper);
  border-radius: 0;
  box-shadow: 1px 1px 0 rgba(82, 65, 50, 0.24);
  transition: left 220ms ease;
}

.k9-calculator-container .gauge-marker.visible {
  display: block;
}

.k9-calculator-container .gauge-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 820;
}

.k9-calculator-container .formula-box {
  margin: 0;
  padding: 10px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-card);
  border: 1px dashed var(--k9-line);
  border-radius: 0;
  text-align: left;
}

.k9-calculator-container .formula-label {
  margin: 0 0 4px;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 11.5px;
  line-height: 1.2;
  font-weight: 850;
}

.k9-calculator-container .formula-text {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "D2Coding", "Nanum Gothic Coding", monospace;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 850;
  word-break: keep-all;
}

.k9-calculator-container .info-section {
  display: grid;
  gap: 0;
}

.k9-calculator-container .rating-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.k9-calculator-container .rating-item {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-height: 58px;
  padding: 9px 5px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-paper);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  text-align: center;
}

.k9-calculator-container .rating-item.elite,
.k9-calculator-container .rating-item.excellent {
  background: #dfeaf0;
}

.k9-calculator-container .rating-item.good {
  background: #e2edd8;
}

.k9-calculator-container .rating-item.average {
  background: #f3dfae;
}

.k9-calculator-container .rating-item.below {
  background: #f2d8c7;
}

.k9-calculator-container .rating-range {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "D2Coding", "Nanum Gothic Coding", monospace;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 930;
}

.k9-calculator-container .rating-name {
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 840;
}

.k9-calculator-container .toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 1000;
  display: flex;
  align-items: center;
  max-width: min(420px, calc(100vw - 28px));
  padding: 10px 12px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-paper);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: var(--k9-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(12px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.k9-calculator-container .toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.k9-calculator-container .toast-message {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 850;
}

body[data-scheme="dark"].postid-4945,
body[data-scheme="dark"].postid-4945,
body[data-scheme="inverse"].postid-4945,
body[data-scheme="inverse"].postid-4945 {
  --k9-page: #201811;
  --k9-paper: #2b2119;
  --k9-panel: #33271d;
  --k9-card: #241c15;
  --k9-accent: #344a32;
  --k9-accent-ink: #f2e4cf;
  --k9-ink: #f2e4cf;
  --k9-muted: #f0dfc5;
  --k9-line: #a98b6b;
  --k9-line-soft: rgba(169, 139, 107, 0.35);
  --k9-shadow: 4px 4px 0 rgba(10, 8, 6, 0.34);
  --k9-shadow-soft: 2px 2px 0 rgba(10, 8, 6, 0.28);
  background:
    linear-gradient(90deg, rgba(169, 139, 107, 0.04) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(169, 139, 107, 0.035) 1px, transparent 1px) 0 0 / 18px 18px,
    var(--k9-page);
}

body[data-scheme="dark"] .k9-calculator-container,
body[data-scheme="inverse"] .k9-calculator-container {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background:
    linear-gradient(90deg, rgba(169, 139, 107, 0.052) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(0deg, rgba(169, 139, 107, 0.044) 1px, transparent 1px) 0 0 / 16px 16px,
    var(--k9-paper);
  border-color: var(--k9-line);
  box-shadow: var(--k9-shadow);
}

body[data-scheme="dark"] .k9-calculator-container .calculator-header::before,
body[data-scheme="inverse"] .k9-calculator-container .calculator-header::before {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #344a32;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .input-section,
body[data-scheme="dark"] .k9-calculator-container .result-section,
body[data-scheme="dark"] .k9-calculator-container .info-section,
body[data-scheme="inverse"] .k9-calculator-container .input-section,
body[data-scheme="inverse"] .k9-calculator-container .result-section,
body[data-scheme="inverse"] .k9-calculator-container .info-section {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-panel);
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .input-field,
body[data-scheme="inverse"] .k9-calculator-container .input-field {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #241c15;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .input-field::placeholder,
body[data-scheme="inverse"] .k9-calculator-container .input-field::placeholder {
  color: rgba(240, 223, 197, 0.7);
  -webkit-text-fill-color: rgba(240, 223, 197, 0.7);
}

body[data-scheme="dark"] .k9-calculator-container .result-main,
body[data-scheme="inverse"] .k9-calculator-container .result-main {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #344a32;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .result-value,
body[data-scheme="inverse"] .k9-calculator-container .result-value {
  color: #ddbf6f;
  -webkit-text-fill-color: #ddbf6f;
}

body[data-scheme="dark"] .k9-calculator-container .sample-btn,
body[data-scheme="inverse"] .k9-calculator-container .sample-btn {
  color: #241c15;
  -webkit-text-fill-color: #241c15;
  background: #d2aa55;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .reset-btn,
body[data-scheme="inverse"] .k9-calculator-container .reset-btn,
body[data-scheme="dark"] .k9-calculator-container .formula-box,
body[data-scheme="inverse"] .k9-calculator-container .formula-box,
body[data-scheme="dark"] .k9-calculator-container .rating-badge,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge,
body[data-scheme="dark"] .k9-calculator-container .rating-item,
body[data-scheme="inverse"] .k9-calculator-container .rating-item,
body[data-scheme="dark"] .k9-calculator-container .toast,
body[data-scheme="inverse"] .k9-calculator-container .toast {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #241c15;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .rating-badge.elite,
body[data-scheme="dark"] .k9-calculator-container .rating-badge.excellent,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.elite,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.excellent {
  color: #dcecf2;
  -webkit-text-fill-color: #dcecf2;
  background: #314d5c;
}

body[data-scheme="dark"] .k9-calculator-container .rating-badge.good,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.good {
  color: #e2edd8;
  -webkit-text-fill-color: #e2edd8;
  background: #344a32;
}

body[data-scheme="dark"] .k9-calculator-container .rating-badge.average,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.average {
  color: #241c15;
  -webkit-text-fill-color: #241c15;
  background: #d2aa55;
}

body[data-scheme="dark"] .k9-calculator-container .rating-badge.below,
body[data-scheme="dark"] .k9-calculator-container .rating-badge.invalid,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.below,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.invalid {
  color: #f4c7b8;
  -webkit-text-fill-color: #f4c7b8;
  background: #4b2a20;
}

body[data-scheme="dark"] .k9-calculator-container .k9-error-message,
body[data-scheme="inverse"] .k9-calculator-container .k9-error-message {
  color: #f4c7b8;
  -webkit-text-fill-color: #f4c7b8;
  background: #4b2a20;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .gauge-bar,
body[data-scheme="inverse"] .k9-calculator-container .gauge-bar {
  background:
    linear-gradient(90deg,
      rgba(244, 199, 184, 0.22) 0%,
      rgba(210, 170, 85, 0.33) 42%,
      rgba(52, 74, 50, 0.92) 62%,
      rgba(49, 77, 92, 0.92) 100%);
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .gauge-marker,
body[data-scheme="inverse"] .k9-calculator-container .gauge-marker {
  background: #f2e4cf;
  border-color: #241c15;
}

body[data-scheme="dark"] .k9-calculator-container .formula-label,
body[data-scheme="dark"] .k9-calculator-container .formula-text,
body[data-scheme="dark"] .k9-calculator-container .main-title,
body[data-scheme="dark"] .k9-calculator-container .subtitle,
body[data-scheme="dark"] .k9-calculator-container .section-header,
body[data-scheme="dark"] .k9-calculator-container label,
body[data-scheme="dark"] .k9-calculator-container .k9-field-help,
body[data-scheme="dark"] .k9-calculator-container .result-label,
body[data-scheme="dark"] .k9-calculator-container .k9-result-breakdown,
body[data-scheme="dark"] .k9-calculator-container .gauge-labels,
body[data-scheme="dark"] .k9-calculator-container .rating-range,
body[data-scheme="dark"] .k9-calculator-container .rating-name,
body[data-scheme="dark"] .k9-calculator-container .toast-message,
body[data-scheme="inverse"] .k9-calculator-container .formula-label,
body[data-scheme="inverse"] .k9-calculator-container .formula-text,
body[data-scheme="inverse"] .k9-calculator-container .main-title,
body[data-scheme="inverse"] .k9-calculator-container .subtitle,
body[data-scheme="inverse"] .k9-calculator-container .section-header,
body[data-scheme="inverse"] .k9-calculator-container label,
body[data-scheme="inverse"] .k9-calculator-container .k9-field-help,
body[data-scheme="inverse"] .k9-calculator-container .result-label,
body[data-scheme="inverse"] .k9-calculator-container .k9-result-breakdown,
body[data-scheme="inverse"] .k9-calculator-container .gauge-labels,
body[data-scheme="inverse"] .k9-calculator-container .rating-range,
body[data-scheme="inverse"] .k9-calculator-container .rating-name,
body[data-scheme="inverse"] .k9-calculator-container .toast-message {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
}

@media (max-width: 760px) {
  body.postid-4945 .k9-calculator-container,
  body.postid-4945 .k9-calculator-container,
  .k9-calculator-container {
    width: min(950px, calc(100vw - 24px));
    margin-top: 14px;
    margin-bottom: 22px;
    padding: 12px;
  }

  .k9-calculator-container .main-grid,
  .k9-calculator-container .rating-grid {
    grid-template-columns: 1fr;
  }

  .k9-calculator-container .rating-grid {
    gap: 6px;
  }

  .k9-calculator-container .rating-item {
    min-height: 0;
    grid-template-columns: 86px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    text-align: left;
  }
}

@media (max-width: 480px) {
  body.postid-4945 .k9-calculator-container,
  body.postid-4945 .k9-calculator-container,
  .k9-calculator-container {
    width: min(950px, calc(100vw - 20px));
    padding: 10px;
    gap: 10px;
  }

  .k9-calculator-container .calculator-header {
    padding-bottom: 10px;
  }

  .k9-calculator-container .input-section,
  .k9-calculator-container .result-section,
  .k9-calculator-container .info-section {
    padding: 10px;
  }

  .k9-calculator-container .input-row,
  .k9-calculator-container .button-group {
    grid-template-columns: 1fr;
  }

  .k9-calculator-container .input-field,
  .k9-calculator-container .sample-btn,
  .k9-calculator-container .reset-btn {
    min-height: 46px;
  }

  .k9-calculator-container .result-value {
    font-size: clamp(40px, 15vw, 54px);
  }
}



/* ROBERIN K/9 Phase 2 article + standard ad slots - 2026-05-10 */
body.postid-4945 .roberin-ad,
body.postid-4945 .roberin-ad,
body.postid-4945 .roberin-leaderboard-ad,
body.postid-4945 .roberin-leaderboard-ad {
  display: block !important;
  width: min(728px, calc(100vw - 32px)) !important;
  max-width: 728px !important;
  min-width: 0 !important;
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
  margin: 18px auto 24px !important;
  padding: 0 !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  text-align: center !important;
}

body.postid-4945 .roberin-ad--after-tool,
body.postid-4945 .roberin-ad--after-tool {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

body.postid-4945 .roberin-ad--bottom,
body.postid-4945 .roberin-ad--bottom {
  margin-top: 20px !important;
  margin-bottom: 28px !important;
}

body.postid-4945 .roberin-ad ins.adsbygoogle,
body.postid-4945 .roberin-ad ins.adsbygoogle,
body.postid-4945 .roberin-leaderboard-ad ins.adsbygoogle,
body.postid-4945 .roberin-leaderboard-ad ins.adsbygoogle,
body.postid-4945 .entry-content .roberin-ad ins.adsbygoogle,
body.postid-4945 .entry-content .roberin-ad ins.adsbygoogle {
  display: block !important;
  width: min(728px, calc(100vw - 32px)) !important;
  max-width: 728px !important;
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.postid-4945 .roberin-ad iframe,
body.postid-4945 .roberin-ad iframe,
body.postid-4945 .roberin-ad [id^="aswift_"],
body.postid-4945 .roberin-ad [id^="aswift_"],
body.postid-4945 .roberin-leaderboard-ad iframe,
body.postid-4945 .roberin-leaderboard-ad iframe,
body.postid-4945 .roberin-leaderboard-ad [id^="aswift_"],
body.postid-4945 .roberin-leaderboard-ad [id^="aswift_"] {
  max-width: 100% !important;
  width: 100% !important;
  height: 90px !important;
  max-height: 90px !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  border: 0 !important;
  overflow: hidden !important;
}

body.postid-4945 .entry-content article.roberin-article-body.k9-article-body,
body.postid-4945 .entry-content article.roberin-article-body.k9-article-body,
body.postid-4945 article.roberin-article-body.k9-article-body,
body.postid-4945 article.roberin-article-body.k9-article-body,
body.postid-4945 .k9-article-body,
body.postid-4945 .k9-article-body,
body.postid-4945 .k9-article-body *,
body.postid-4945 .k9-article-body *,
body.postid-4945 .k9-article-body *::before,
body.postid-4945 .k9-article-body *::before,
body.postid-4945 .k9-article-body *::after,
body.postid-4945 .k9-article-body *::after {
  box-sizing: border-box;
  min-width: 0;
}

body.postid-4945 .entry-content article.roberin-article-body.k9-article-body,
body.postid-4945 .entry-content article.roberin-article-body.k9-article-body,
body.postid-4945 article.roberin-article-body.k9-article-body,
body.postid-4945 article.roberin-article-body.k9-article-body {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 18px;
  width: min(950px, calc(100vw - 32px));
  max-width: 950px;
  margin: 0 auto 24px;
  padding: clamp(16px, 3vw, 28px);
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  background: var(--k9-panel) !important;
  border: 2px solid var(--k9-line) !important;
  box-shadow: var(--k9-shadow) !important;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.72;
  word-break: keep-all;
}

body.postid-4945 .entry-content article.roberin-article-body.k9-article-body::before,
body.postid-4945 .entry-content article.roberin-article-body.k9-article-body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(107, 87, 69, 0.044) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 87, 69, 0.036) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

body.postid-4945 .k9-article-kicker,
body.postid-4945 .k9-article-kicker {
  width: fit-content;
  margin: 0;
  padding: 4px 9px;
  color: var(--k9-accent-ink) !important;
  -webkit-text-fill-color: var(--k9-accent-ink) !important;
  background: var(--k9-accent) !important;
  border: 1px solid var(--k9-line) !important;
  box-shadow: var(--k9-shadow-soft) !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em;
}

body.postid-4945 .k9-article-section,
body.postid-4945 .k9-article-section {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding-top: 8px;
}

body.postid-4945 .k9-article-section + .k9-article-section,
body.postid-4945 .k9-article-section + .k9-article-section {
  margin-top: 6px;
  padding-top: 22px;
  border-top: 1px dashed var(--k9-line-soft);
}

body.postid-4945 .k9-article-body h2,
body.postid-4945 .k9-article-body h2,
body.postid-4945 .k9-article-body h3,
body.postid-4945 .k9-article-body h3 {
  margin: 0 !important;
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  background: transparent;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

body.postid-4945 .k9-article-body h2,
body.postid-4945 .k9-article-body h2 {
  width: auto;
  max-width: 100%;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: clamp(22px, 2.4vw, 30px) !important;
  line-height: 1.18 !important;
  font-weight: 950 !important;
}

body.postid-4945 .k9-article-body h3,
body.postid-4945 .k9-article-body h3 {
  padding-bottom: 7px !important;
  border-bottom: 1px solid var(--k9-line-soft) !important;
  font-size: clamp(17px, 1.8vw, 21px) !important;
  line-height: 1.3 !important;
  font-weight: 900 !important;
}

body.postid-4945 .k9-article-body p,
body.postid-4945 .k9-article-body p,
body.postid-4945 .k9-article-body li,
body.postid-4945 .k9-article-body li,
body.postid-4945 .k9-article-body summary,
body.postid-4945 .k9-article-body summary,
body.postid-4945 .k9-article-body td,
body.postid-4945 .k9-article-body td,
body.postid-4945 .k9-article-body th,
body.postid-4945 .k9-article-body th,
body.postid-4945 .k9-article-body span,
body.postid-4945 .k9-article-body span {
  color: var(--k9-muted) !important;
  -webkit-text-fill-color: var(--k9-muted) !important;
  font-size: 15px !important;
  line-height: 1.72 !important;
  font-weight: 680 !important;
}

body.postid-4945 .k9-article-body p,
body.postid-4945 .k9-article-body p {
  margin: 0 !important;
}

body.postid-4945 .k9-article-body strong,
body.postid-4945 .k9-article-body strong,
body.postid-4945 .k9-article-body summary,
body.postid-4945 .k9-article-body summary,
body.postid-4945 .k9-article-body th,
body.postid-4945 .k9-article-body th,
body.postid-4945 .k9-article-card strong,
body.postid-4945 .k9-article-card strong,
body.postid-4945 .k9-notice h3,
body.postid-4945 .k9-notice h3 {
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  font-weight: 920 !important;
}

body.postid-4945 .k9-article-body code,
body.postid-4945 .k9-article-body code {
  display: inline-block;
  max-width: 100%;
  padding: 1px 5px;
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  background: var(--k9-paper) !important;
  border: 1px solid var(--k9-line-soft) !important;
  border-radius: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em !important;
  font-weight: 780 !important;
  overflow-wrap: anywhere;
}

body.postid-4945 .k9-article-body ul,
body.postid-4945 .k9-article-body ul,
body.postid-4945 .k9-article-body ol,
body.postid-4945 .k9-article-body ol {
  display: grid;
  gap: 8px;
  margin: 0 !important;
  padding-left: 1.25em !important;
}

body.postid-4945 .k9-article-card-grid,
body.postid-4945 .k9-article-card-grid,
body.postid-4945 .k9-result-grid,
body.postid-4945 .k9-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.postid-4945 .k9-result-grid,
body.postid-4945 .k9-result-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.postid-4945 .k9-article-card,
body.postid-4945 .k9-article-card,
body.postid-4945 .k9-formula-panel,
body.postid-4945 .k9-formula-panel,
body.postid-4945 .k9-example-panel,
body.postid-4945 .k9-example-panel,
body.postid-4945 .k9-result-card,
body.postid-4945 .k9-result-card,
body.postid-4945 .k9-notice,
body.postid-4945 .k9-notice,
body.postid-4945 .k9-faq details,
body.postid-4945 .k9-faq details {
  min-width: 0;
  color: var(--k9-muted) !important;
  -webkit-text-fill-color: var(--k9-muted) !important;
  background: var(--k9-paper) !important;
  border: 1px solid var(--k9-line) !important;
  box-shadow: var(--k9-shadow-soft) !important;
}

body.postid-4945 .k9-article-card,
body.postid-4945 .k9-article-card,
body.postid-4945 .k9-result-card,
body.postid-4945 .k9-result-card {
  display: grid;
  gap: 5px;
  padding: 12px;
}

body.postid-4945 .k9-formula-panel,
body.postid-4945 .k9-formula-panel,
body.postid-4945 .k9-example-panel,
body.postid-4945 .k9-example-panel {
  display: grid;
  gap: 10px;
  padding: 13px 14px;
}

body.postid-4945 .k9-formula-panel code,
body.postid-4945 .k9-formula-panel code {
  display: block;
  width: fit-content;
  white-space: normal;
}

body.postid-4945 .k9-example-panel .k9-example-row,
body.postid-4945 .k9-example-panel .k9-example-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px dashed var(--k9-line-soft);
}

body.postid-4945 .k9-example-panel .k9-example-row:last-child,
body.postid-4945 .k9-example-panel .k9-example-row:last-child {
  border-bottom: 0;
}

body.postid-4945 .k9-result-card span:first-child,
body.postid-4945 .k9-result-card span:first-child {
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  font-size: 14px !important;
  font-weight: 920 !important;
}

body.postid-4945 .k9-notice,
body.postid-4945 .k9-notice {
  display: grid;
  gap: 10px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(221, 191, 111, 0.18), rgba(226, 237, 216, 0.12)),
    var(--k9-paper) !important;
  border-left: 6px solid var(--k9-mustard-deep) !important;
}

body.postid-4945 .k9-notice h3,
body.postid-4945 .k9-notice h3 {
  border-bottom-color: var(--k9-line-soft) !important;
}

body.postid-4945 .k9-faq,
body.postid-4945 .k9-faq {
  display: grid;
  gap: 8px;
}

body.postid-4945 .k9-faq details,
body.postid-4945 .k9-faq details {
  padding: 0;
}

body.postid-4945 .k9-faq summary,
body.postid-4945 .k9-faq summary {
  cursor: pointer;
  padding: 11px 12px;
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  font-weight: 900 !important;
  list-style-position: inside;
}

body.postid-4945 .k9-faq details[open] summary,
body.postid-4945 .k9-faq details[open] summary {
  border-bottom: 1px dashed var(--k9-line-soft);
}

body.postid-4945 .k9-faq details p,
body.postid-4945 .k9-faq details p {
  padding: 10px 12px 12px;
}

body[data-scheme="dark"].postid-4945 .entry-content article.roberin-article-body.k9-article-body,
body[data-scheme="dark"].postid-4945 .entry-content article.roberin-article-body.k9-article-body,
body[data-scheme="inverse"].postid-4945 .entry-content article.roberin-article-body.k9-article-body,
body[data-scheme="inverse"].postid-4945 .entry-content article.roberin-article-body.k9-article-body {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: #2b2119 !important;
  border-color: #a98b6b !important;
  box-shadow: 4px 4px 0 rgba(10, 8, 6, 0.34) !important;
}

body[data-scheme="dark"].postid-4945 .entry-content article.roberin-article-body.k9-article-body::before,
body[data-scheme="dark"].postid-4945 .entry-content article.roberin-article-body.k9-article-body::before,
body[data-scheme="inverse"].postid-4945 .entry-content article.roberin-article-body.k9-article-body::before,
body[data-scheme="inverse"].postid-4945 .entry-content article.roberin-article-body.k9-article-body::before {
  background:
    linear-gradient(rgba(169, 139, 107, 0.050) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 139, 107, 0.042) 1px, transparent 1px);
  background-size: 22px 22px;
}

body[data-scheme="dark"].postid-4945 .k9-article-kicker,
body[data-scheme="dark"].postid-4945 .k9-article-kicker,
body[data-scheme="inverse"].postid-4945 .k9-article-kicker,
body[data-scheme="inverse"].postid-4945 .k9-article-kicker {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: #344a32 !important;
  border-color: #a98b6b !important;
}

body[data-scheme="dark"].postid-4945 .k9-article-body h2,
body[data-scheme="dark"].postid-4945 .k9-article-body h2,
body[data-scheme="inverse"].postid-4945 .k9-article-body h2,
body[data-scheme="inverse"].postid-4945 .k9-article-body h2 {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body[data-scheme="dark"].postid-4945 .k9-article-body h3,
body[data-scheme="dark"].postid-4945 .k9-article-body h3,
body[data-scheme="dark"].postid-4945 .k9-article-body strong,
body[data-scheme="dark"].postid-4945 .k9-article-body strong,
body[data-scheme="dark"].postid-4945 .k9-article-body summary,
body[data-scheme="dark"].postid-4945 .k9-article-body summary,
body[data-scheme="dark"].postid-4945 .k9-article-body th,
body[data-scheme="dark"].postid-4945 .k9-article-body th,
body[data-scheme="inverse"].postid-4945 .k9-article-body h3,
body[data-scheme="inverse"].postid-4945 .k9-article-body h3,
body[data-scheme="inverse"].postid-4945 .k9-article-body strong,
body[data-scheme="inverse"].postid-4945 .k9-article-body strong,
body[data-scheme="inverse"].postid-4945 .k9-article-body summary,
body[data-scheme="inverse"].postid-4945 .k9-article-body summary,
body[data-scheme="inverse"].postid-4945 .k9-article-body th,
body[data-scheme="inverse"].postid-4945 .k9-article-body th {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background-color: transparent !important;
  border-color: #a98b6b !important;
}

body[data-scheme="dark"].postid-4945 .k9-article-body p,
body[data-scheme="dark"].postid-4945 .k9-article-body p,
body[data-scheme="dark"].postid-4945 .k9-article-body li,
body[data-scheme="dark"].postid-4945 .k9-article-body li,
body[data-scheme="dark"].postid-4945 .k9-article-body td,
body[data-scheme="dark"].postid-4945 .k9-article-body td,
body[data-scheme="dark"].postid-4945 .k9-article-body span,
body[data-scheme="dark"].postid-4945 .k9-article-body span,
body[data-scheme="inverse"].postid-4945 .k9-article-body p,
body[data-scheme="inverse"].postid-4945 .k9-article-body p,
body[data-scheme="inverse"].postid-4945 .k9-article-body li,
body[data-scheme="inverse"].postid-4945 .k9-article-body li,
body[data-scheme="inverse"].postid-4945 .k9-article-body td,
body[data-scheme="inverse"].postid-4945 .k9-article-body td,
body[data-scheme="inverse"].postid-4945 .k9-article-body span,
body[data-scheme="inverse"].postid-4945 .k9-article-body span {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
}

body[data-scheme="dark"].postid-4945 .k9-article-body code,
body[data-scheme="dark"].postid-4945 .k9-article-body code,
body[data-scheme="inverse"].postid-4945 .k9-article-body code,
body[data-scheme="inverse"].postid-4945 .k9-article-body code {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: #241c15 !important;
  border-color: rgba(169, 139, 107, 0.35) !important;
}

body[data-scheme="dark"].postid-4945 .k9-article-card,
body[data-scheme="dark"].postid-4945 .k9-article-card,
body[data-scheme="dark"].postid-4945 .k9-formula-panel,
body[data-scheme="dark"].postid-4945 .k9-formula-panel,
body[data-scheme="dark"].postid-4945 .k9-example-panel,
body[data-scheme="dark"].postid-4945 .k9-example-panel,
body[data-scheme="dark"].postid-4945 .k9-result-card,
body[data-scheme="dark"].postid-4945 .k9-result-card,
body[data-scheme="dark"].postid-4945 .k9-notice,
body[data-scheme="dark"].postid-4945 .k9-notice,
body[data-scheme="dark"].postid-4945 .k9-faq details,
body[data-scheme="dark"].postid-4945 .k9-faq details,
body[data-scheme="inverse"].postid-4945 .k9-article-card,
body[data-scheme="inverse"].postid-4945 .k9-article-card,
body[data-scheme="inverse"].postid-4945 .k9-formula-panel,
body[data-scheme="inverse"].postid-4945 .k9-formula-panel,
body[data-scheme="inverse"].postid-4945 .k9-example-panel,
body[data-scheme="inverse"].postid-4945 .k9-example-panel,
body[data-scheme="inverse"].postid-4945 .k9-result-card,
body[data-scheme="inverse"].postid-4945 .k9-result-card,
body[data-scheme="inverse"].postid-4945 .k9-notice,
body[data-scheme="inverse"].postid-4945 .k9-notice,
body[data-scheme="inverse"].postid-4945 .k9-faq details,
body[data-scheme="inverse"].postid-4945 .k9-faq details {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
  background: #33271d !important;
  border-color: #a98b6b !important;
  box-shadow: 2px 2px 0 rgba(10, 8, 6, 0.28) !important;
}

body[data-scheme="dark"].postid-4945 .k9-notice,
body[data-scheme="dark"].postid-4945 .k9-notice,
body[data-scheme="inverse"].postid-4945 .k9-notice,
body[data-scheme="inverse"].postid-4945 .k9-notice {
  background:
    linear-gradient(135deg, rgba(210, 170, 85, 0.18), rgba(52, 74, 50, 0.14)),
    #33271d !important;
  border-left-color: #d2aa55 !important;
}

@media (max-width: 760px) {
  body.postid-4945 .roberin-ad,
  body.postid-4945 .roberin-ad,
  body.postid-4945 .roberin-leaderboard-ad,
  body.postid-4945 .roberin-leaderboard-ad,
  body.postid-4945 .roberin-ad ins.adsbygoogle,
  body.postid-4945 .roberin-ad ins.adsbygoogle,
  body.postid-4945 .roberin-leaderboard-ad ins.adsbygoogle,
  body.postid-4945 .roberin-leaderboard-ad ins.adsbygoogle,
  body.postid-4945 .entry-content article.roberin-article-body.k9-article-body,
  body.postid-4945 .entry-content article.roberin-article-body.k9-article-body {
    width: min(950px, calc(100vw - 24px)) !important;
  }

  body.postid-4945 .entry-content article.roberin-article-body.k9-article-body,
  body.postid-4945 .entry-content article.roberin-article-body.k9-article-body {
    gap: 15px;
    padding: 14px 12px;
    box-shadow: 3px 3px 0 rgba(82, 65, 50, 0.20) !important;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  body.postid-4945 .k9-article-card-grid,
  body.postid-4945 .k9-article-card-grid,
  body.postid-4945 .k9-result-grid,
  body.postid-4945 .k9-result-grid {
    grid-template-columns: 1fr;
  }

  body.postid-4945 .k9-example-panel .k9-example-row,
  body.postid-4945 .k9-example-panel .k9-example-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  body.postid-4945 .k9-article-body p,
  body.postid-4945 .k9-article-body p,
  body.postid-4945 .k9-article-body li,
  body.postid-4945 .k9-article-body li,
  body.postid-4945 .k9-article-body summary,
  body.postid-4945 .k9-article-body summary,
  body.postid-4945 .k9-article-body span,
  body.postid-4945 .k9-article-body span {
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  body.postid-4945 .roberin-ad,
  body.postid-4945 .roberin-ad,
  body.postid-4945 .roberin-leaderboard-ad,
  body.postid-4945 .roberin-leaderboard-ad,
  body.postid-4945 .roberin-ad ins.adsbygoogle,
  body.postid-4945 .roberin-ad ins.adsbygoogle,
  body.postid-4945 .roberin-leaderboard-ad ins.adsbygoogle,
  body.postid-4945 .roberin-leaderboard-ad ins.adsbygoogle {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
  }

  body.postid-4945 .entry-content article.roberin-article-body.k9-article-body,
  body.postid-4945 .entry-content article.roberin-article-body.k9-article-body {
    width: calc(100vw - 20px) !important;
    padding: 12px 10px;
  }

  body.postid-4945 .k9-article-body h2,
  body.postid-4945 .k9-article-body h2 {
    font-size: clamp(21px, 7vw, 26px) !important;
  }

  body.postid-4945 .k9-article-body h3,
  body.postid-4945 .k9-article-body h3 {
    font-size: clamp(17px, 5.5vw, 19px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .k9-calculator-container *,
  .k9-calculator-container *::before,
  .k9-calculator-container *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ID post scope mirrors the verified canonical K/9 styles - 2026-05-10 */
body.postid-4946,
body.postid-4946 {
  --k9-page: #f9f1e7;
  --k9-paper: #fff8ed;
  --k9-panel: #f8efe2;
  --k9-card: #fff3df;
  --k9-accent: #e2edd8;
  --k9-accent-ink: #355733;
  --k9-ink: #34281f;
  --k9-muted: #574838;
  --k9-line: #6b5745;
  --k9-line-soft: rgba(107, 87, 69, 0.28);
  --k9-mustard: #ddbf6f;
  --k9-mustard-deep: #d2aa55;
  --k9-focus: #4f7d94;
  --k9-warn: #a94a36;
  --k9-shadow: 4px 4px 0 rgba(82, 65, 50, 0.24);
  --k9-shadow-soft: 2px 2px 0 rgba(82, 65, 50, 0.16);
  background:
    linear-gradient(90deg, rgba(107, 87, 69, 0.025) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(107, 87, 69, 0.022) 1px, transparent 1px) 0 0 / 18px 18px,
    var(--k9-page);
}

body.postid-4946 .entry-content,
body.postid-4946 .entry-content,
body.postid-4946 .cs-entry__content,
body.postid-4946 .cs-entry__content,
body.postid-4946 .cs-entry__content-wrap,
body.postid-4946 .cs-entry__content-wrap {
  overflow-x: clip;
}

/* Page-scoped overflow guard: keeps existing ad slots from widening the viewport without changing their order. */
body.postid-4946 .cs-custom-content,
body.postid-4946 .cs-custom-content,
body.postid-4946 .cs-custom-content-post-before,
body.postid-4946 .cs-custom-content-post-before,
body.postid-4946 .cs-custom-content-post-after,
body.postid-4946 .cs-custom-content-post-after,
body.postid-4946 .entry-content,
body.postid-4946 .entry-content {
  max-width: 100%;
  overflow-x: clip;
}

body.postid-4946 ins.adsbygoogle,
body.postid-4946 ins.adsbygoogle {
  max-width: min(728px, calc(100vw - 32px)) !important;
  width: min(728px, calc(100vw - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.postid-4946 [id^="aswift_"][id$="_host"],
body.postid-4946 [id^="aswift_"][id$="_host"],
body.postid-4946 iframe[id^="aswift_"],
body.postid-4946 iframe[id^="aswift_"] {
  max-width: 100% !important;
  left: 0 !important;
  right: auto !important;
}

body.postid-4946 .k9-calculator-container,
body.postid-4946 .k9-calculator-container,
.k9-calculator-container,
.k9-calculator-container *,
.k9-calculator-container *::before,
.k9-calculator-container *::after {
  box-sizing: border-box;
  min-width: 0;
}

body.postid-4946 .k9-calculator-container,
body.postid-4946 .k9-calculator-container,
.k9-calculator-container {
  position: relative;
  isolation: isolate;
  width: min(950px, calc(100vw - 32px));
  max-width: 950px;
  margin: 18px auto 28px;
  padding: 14px;
  display: grid;
  gap: 12px;
  overflow: hidden;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background:
    linear-gradient(90deg, rgba(107, 87, 69, 0.045) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(0deg, rgba(107, 87, 69, 0.036) 1px, transparent 1px) 0 0 / 16px 16px,
    var(--k9-paper);
  border: 2px solid var(--k9-line);
  border-radius: 0;
  box-shadow: var(--k9-shadow);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.52;
}

.k9-calculator-container svg,
.k9-calculator-container .dark-mode-toggle,
.k9-calculator-container #darkModeToggle,
.k9-calculator-container .tooltip {
  display: none !important;
}

.k9-calculator-container button,
.k9-calculator-container input {
  font: inherit;
}

.k9-calculator-container .calculator-header {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 0 12px;
  text-align: left;
  border: 0;
  border-bottom: 2px solid var(--k9-line);
}

.k9-calculator-container .calculator-header::before {
  content: "PITCHING RATE";
  width: fit-content;
  padding: 4px 8px;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  background: var(--k9-accent);
  border: 1px solid var(--k9-line);
  box-shadow: var(--k9-shadow-soft);
  font-size: 12px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.k9-calculator-container .main-title {
  display: block;
  margin: 0;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-size: clamp(23px, 2.6vw, 33px);
  line-height: 1.14;
  font-weight: 950;
  letter-spacing: -0.045em;
  text-align: left;
  text-shadow: none;
  word-break: keep-all;
}

.k9-calculator-container .subtitle {
  max-width: 720px;
  margin: 0;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 720;
  word-break: keep-all;
}

.k9-calculator-container .main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.97fr);
  gap: 12px;
  align-items: start;
  margin: 0;
}

.k9-calculator-container .input-section,
.k9-calculator-container .result-section,
.k9-calculator-container .info-section {
  align-self: start;
  min-width: 0;
  padding: 12px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-panel);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: var(--k9-shadow-soft);
}

.k9-calculator-container .section-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  padding: 0 0 8px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  border-bottom: 1px solid var(--k9-line);
  font-size: 16.5px;
  line-height: 1.2;
  font-weight: 930;
  letter-spacing: -0.02em;
}

.k9-calculator-container .input-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}

.k9-calculator-container .input-group {
  display: grid;
  gap: 5px;
}

.k9-calculator-container .input-group label {
  display: block;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 850;
  word-break: keep-all;
}

.k9-calculator-container .k9-field-help {
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 720;
  word-break: keep-all;
}

.k9-calculator-container .input-field {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-paper);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: inset 1px 1px 0 rgba(82, 65, 50, 0.1);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "D2Coding", "Nanum Gothic Coding", monospace;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 820;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.k9-calculator-container .input-field::placeholder {
  color: rgba(87, 72, 56, 0.72);
  -webkit-text-fill-color: rgba(87, 72, 56, 0.72);
  opacity: 1;
  font-weight: 650;
}

.k9-calculator-container .input-field:focus {
  outline: 2px solid var(--k9-focus);
  outline-offset: 2px;
  border-color: var(--k9-focus);
  background: #fff8ed;
  box-shadow: 0 0 0 3px rgba(79, 125, 148, 0.16);
}

.k9-calculator-container .input-field.is-invalid {
  border-color: var(--k9-warn);
  box-shadow: inset 1px 1px 0 rgba(82, 65, 50, 0.1), 0 0 0 3px rgba(169, 74, 54, 0.13);
}

.k9-calculator-container .k9-error-message {
  display: none;
  margin: 0 0 10px;
  padding: 8px 10px;
  color: var(--k9-warn);
  -webkit-text-fill-color: var(--k9-warn);
  background: #f3dfae;
  border: 1px dashed var(--k9-line);
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 780;
}

.k9-calculator-container .k9-error-message.is-visible {
  display: block;
}

.k9-calculator-container .button-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.k9-calculator-container .sample-btn,
.k9-calculator-container .reset-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: var(--k9-shadow-soft);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.k9-calculator-container .sample-btn {
  color: #241c15;
  -webkit-text-fill-color: #241c15;
  background: var(--k9-mustard);
}

.k9-calculator-container .reset-btn {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-card);
}

.k9-calculator-container .sample-btn:hover,
.k9-calculator-container .reset-btn:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(82, 65, 50, 0.18);
}

.k9-calculator-container .sample-btn:focus-visible,
.k9-calculator-container .reset-btn:focus-visible {
  outline: 2px solid var(--k9-focus);
  outline-offset: 2px;
}

.k9-calculator-container .result-main {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin: 0 0 10px;
  padding: 14px 12px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-accent);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: inset 2px 2px 0 rgba(82, 65, 50, 0.08);
  text-align: center;
}

.k9-calculator-container .result-label {
  margin: 0;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 850;
  word-break: keep-all;
}

.k9-calculator-container .result-value {
  margin: 0;
  color: #7a412f;
  -webkit-text-fill-color: #7a412f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "D2Coding", "Nanum Gothic Coding", monospace;
  font-size: clamp(44px, 7vw, 64px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.k9-calculator-container .rating-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 5px 10px;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  background: var(--k9-paper);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  word-break: keep-all;
}

.k9-calculator-container .rating-badge.elite,
.k9-calculator-container .rating-badge.excellent {
  color: #314d5c;
  -webkit-text-fill-color: #314d5c;
  background: #dfeaf0;
}

.k9-calculator-container .rating-badge.good {
  color: var(--k9-accent-ink);
  -webkit-text-fill-color: var(--k9-accent-ink);
  background: #e2edd8;
}

.k9-calculator-container .rating-badge.average {
  color: #5b431c;
  -webkit-text-fill-color: #5b431c;
  background: #f3dfae;
}

.k9-calculator-container .rating-badge.below,
.k9-calculator-container .rating-badge.invalid {
  color: var(--k9-warn);
  -webkit-text-fill-color: var(--k9-warn);
  background: #f2d8c7;
}

.k9-calculator-container .k9-result-breakdown {
  min-height: 1.35em;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 760;
  word-break: keep-all;
}

.k9-calculator-container .gauge-container {
  margin: 0 0 10px;
}

.k9-calculator-container .gauge-bar {
  position: relative;
  height: 18px;
  overflow: visible;
  background:
    linear-gradient(90deg,
      rgba(169, 74, 54, 0.20) 0%,
      rgba(221, 191, 111, 0.26) 42%,
      rgba(226, 237, 216, 0.92) 62%,
      rgba(223, 234, 240, 0.92) 100%);
  border: 1px solid var(--k9-line);
  border-radius: 0;
}

.k9-calculator-container .gauge-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: rgba(122, 65, 47, 0.18);
  border-right: 1px solid rgba(107, 87, 69, 0.5);
  border-radius: 0;
  transition: width 220ms ease;
}

.k9-calculator-container .gauge-marker {
  position: absolute;
  top: -5px;
  left: 0;
  display: none;
  width: 3px;
  height: 28px;
  transform: translateX(-50%);
  background: var(--k9-ink);
  border: 1px solid var(--k9-paper);
  border-radius: 0;
  box-shadow: 1px 1px 0 rgba(82, 65, 50, 0.24);
  transition: left 220ms ease;
}

.k9-calculator-container .gauge-marker.visible {
  display: block;
}

.k9-calculator-container .gauge-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 820;
}

.k9-calculator-container .formula-box {
  margin: 0;
  padding: 10px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-card);
  border: 1px dashed var(--k9-line);
  border-radius: 0;
  text-align: left;
}

.k9-calculator-container .formula-label {
  margin: 0 0 4px;
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 11.5px;
  line-height: 1.2;
  font-weight: 850;
}

.k9-calculator-container .formula-text {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "D2Coding", "Nanum Gothic Coding", monospace;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 850;
  word-break: keep-all;
}

.k9-calculator-container .info-section {
  display: grid;
  gap: 0;
}

.k9-calculator-container .rating-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.k9-calculator-container .rating-item {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-height: 58px;
  padding: 9px 5px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-paper);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  text-align: center;
}

.k9-calculator-container .rating-item.elite,
.k9-calculator-container .rating-item.excellent {
  background: #dfeaf0;
}

.k9-calculator-container .rating-item.good {
  background: #e2edd8;
}

.k9-calculator-container .rating-item.average {
  background: #f3dfae;
}

.k9-calculator-container .rating-item.below {
  background: #f2d8c7;
}

.k9-calculator-container .rating-range {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "D2Coding", "Nanum Gothic Coding", monospace;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 930;
}

.k9-calculator-container .rating-name {
  color: var(--k9-muted);
  -webkit-text-fill-color: var(--k9-muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 840;
}

.k9-calculator-container .toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 1000;
  display: flex;
  align-items: center;
  max-width: min(420px, calc(100vw - 28px));
  padding: 10px 12px;
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-paper);
  border: 1px solid var(--k9-line);
  border-radius: 0;
  box-shadow: var(--k9-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(12px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.k9-calculator-container .toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.k9-calculator-container .toast-message {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 850;
}

body[data-scheme="dark"].postid-4946,
body[data-scheme="dark"].postid-4946,
body[data-scheme="inverse"].postid-4946,
body[data-scheme="inverse"].postid-4946 {
  --k9-page: #201811;
  --k9-paper: #2b2119;
  --k9-panel: #33271d;
  --k9-card: #241c15;
  --k9-accent: #344a32;
  --k9-accent-ink: #f2e4cf;
  --k9-ink: #f2e4cf;
  --k9-muted: #f0dfc5;
  --k9-line: #a98b6b;
  --k9-line-soft: rgba(169, 139, 107, 0.35);
  --k9-shadow: 4px 4px 0 rgba(10, 8, 6, 0.34);
  --k9-shadow-soft: 2px 2px 0 rgba(10, 8, 6, 0.28);
  background:
    linear-gradient(90deg, rgba(169, 139, 107, 0.04) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(169, 139, 107, 0.035) 1px, transparent 1px) 0 0 / 18px 18px,
    var(--k9-page);
}

body[data-scheme="dark"] .k9-calculator-container,
body[data-scheme="inverse"] .k9-calculator-container {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background:
    linear-gradient(90deg, rgba(169, 139, 107, 0.052) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(0deg, rgba(169, 139, 107, 0.044) 1px, transparent 1px) 0 0 / 16px 16px,
    var(--k9-paper);
  border-color: var(--k9-line);
  box-shadow: var(--k9-shadow);
}

body[data-scheme="dark"] .k9-calculator-container .calculator-header::before,
body[data-scheme="inverse"] .k9-calculator-container .calculator-header::before {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #344a32;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .input-section,
body[data-scheme="dark"] .k9-calculator-container .result-section,
body[data-scheme="dark"] .k9-calculator-container .info-section,
body[data-scheme="inverse"] .k9-calculator-container .input-section,
body[data-scheme="inverse"] .k9-calculator-container .result-section,
body[data-scheme="inverse"] .k9-calculator-container .info-section {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
  background: var(--k9-panel);
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .input-field,
body[data-scheme="inverse"] .k9-calculator-container .input-field {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #241c15;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .input-field::placeholder,
body[data-scheme="inverse"] .k9-calculator-container .input-field::placeholder {
  color: rgba(240, 223, 197, 0.7);
  -webkit-text-fill-color: rgba(240, 223, 197, 0.7);
}

body[data-scheme="dark"] .k9-calculator-container .result-main,
body[data-scheme="inverse"] .k9-calculator-container .result-main {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #344a32;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .result-value,
body[data-scheme="inverse"] .k9-calculator-container .result-value {
  color: #ddbf6f;
  -webkit-text-fill-color: #ddbf6f;
}

body[data-scheme="dark"] .k9-calculator-container .sample-btn,
body[data-scheme="inverse"] .k9-calculator-container .sample-btn {
  color: #241c15;
  -webkit-text-fill-color: #241c15;
  background: #d2aa55;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .reset-btn,
body[data-scheme="inverse"] .k9-calculator-container .reset-btn,
body[data-scheme="dark"] .k9-calculator-container .formula-box,
body[data-scheme="inverse"] .k9-calculator-container .formula-box,
body[data-scheme="dark"] .k9-calculator-container .rating-badge,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge,
body[data-scheme="dark"] .k9-calculator-container .rating-item,
body[data-scheme="inverse"] .k9-calculator-container .rating-item,
body[data-scheme="dark"] .k9-calculator-container .toast,
body[data-scheme="inverse"] .k9-calculator-container .toast {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #241c15;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .rating-badge.elite,
body[data-scheme="dark"] .k9-calculator-container .rating-badge.excellent,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.elite,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.excellent {
  color: #dcecf2;
  -webkit-text-fill-color: #dcecf2;
  background: #314d5c;
}

body[data-scheme="dark"] .k9-calculator-container .rating-badge.good,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.good {
  color: #e2edd8;
  -webkit-text-fill-color: #e2edd8;
  background: #344a32;
}

body[data-scheme="dark"] .k9-calculator-container .rating-badge.average,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.average {
  color: #241c15;
  -webkit-text-fill-color: #241c15;
  background: #d2aa55;
}

body[data-scheme="dark"] .k9-calculator-container .rating-badge.below,
body[data-scheme="dark"] .k9-calculator-container .rating-badge.invalid,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.below,
body[data-scheme="inverse"] .k9-calculator-container .rating-badge.invalid {
  color: #f4c7b8;
  -webkit-text-fill-color: #f4c7b8;
  background: #4b2a20;
}

body[data-scheme="dark"] .k9-calculator-container .k9-error-message,
body[data-scheme="inverse"] .k9-calculator-container .k9-error-message {
  color: #f4c7b8;
  -webkit-text-fill-color: #f4c7b8;
  background: #4b2a20;
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .gauge-bar,
body[data-scheme="inverse"] .k9-calculator-container .gauge-bar {
  background:
    linear-gradient(90deg,
      rgba(244, 199, 184, 0.22) 0%,
      rgba(210, 170, 85, 0.33) 42%,
      rgba(52, 74, 50, 0.92) 62%,
      rgba(49, 77, 92, 0.92) 100%);
  border-color: var(--k9-line);
}

body[data-scheme="dark"] .k9-calculator-container .gauge-marker,
body[data-scheme="inverse"] .k9-calculator-container .gauge-marker {
  background: #f2e4cf;
  border-color: #241c15;
}

body[data-scheme="dark"] .k9-calculator-container .formula-label,
body[data-scheme="dark"] .k9-calculator-container .formula-text,
body[data-scheme="dark"] .k9-calculator-container .main-title,
body[data-scheme="dark"] .k9-calculator-container .subtitle,
body[data-scheme="dark"] .k9-calculator-container .section-header,
body[data-scheme="dark"] .k9-calculator-container label,
body[data-scheme="dark"] .k9-calculator-container .k9-field-help,
body[data-scheme="dark"] .k9-calculator-container .result-label,
body[data-scheme="dark"] .k9-calculator-container .k9-result-breakdown,
body[data-scheme="dark"] .k9-calculator-container .gauge-labels,
body[data-scheme="dark"] .k9-calculator-container .rating-range,
body[data-scheme="dark"] .k9-calculator-container .rating-name,
body[data-scheme="dark"] .k9-calculator-container .toast-message,
body[data-scheme="inverse"] .k9-calculator-container .formula-label,
body[data-scheme="inverse"] .k9-calculator-container .formula-text,
body[data-scheme="inverse"] .k9-calculator-container .main-title,
body[data-scheme="inverse"] .k9-calculator-container .subtitle,
body[data-scheme="inverse"] .k9-calculator-container .section-header,
body[data-scheme="inverse"] .k9-calculator-container label,
body[data-scheme="inverse"] .k9-calculator-container .k9-field-help,
body[data-scheme="inverse"] .k9-calculator-container .result-label,
body[data-scheme="inverse"] .k9-calculator-container .k9-result-breakdown,
body[data-scheme="inverse"] .k9-calculator-container .gauge-labels,
body[data-scheme="inverse"] .k9-calculator-container .rating-range,
body[data-scheme="inverse"] .k9-calculator-container .rating-name,
body[data-scheme="inverse"] .k9-calculator-container .toast-message {
  color: var(--k9-ink);
  -webkit-text-fill-color: var(--k9-ink);
}

@media (max-width: 760px) {
  body.postid-4946 .k9-calculator-container,
  body.postid-4946 .k9-calculator-container,
  .k9-calculator-container {
    width: min(950px, calc(100vw - 24px));
    margin-top: 14px;
    margin-bottom: 22px;
    padding: 12px;
  }

  .k9-calculator-container .main-grid,
  .k9-calculator-container .rating-grid {
    grid-template-columns: 1fr;
  }

  .k9-calculator-container .rating-grid {
    gap: 6px;
  }

  .k9-calculator-container .rating-item {
    min-height: 0;
    grid-template-columns: 86px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    text-align: left;
  }
}

@media (max-width: 480px) {
  body.postid-4946 .k9-calculator-container,
  body.postid-4946 .k9-calculator-container,
  .k9-calculator-container {
    width: min(950px, calc(100vw - 20px));
    padding: 10px;
    gap: 10px;
  }

  .k9-calculator-container .calculator-header {
    padding-bottom: 10px;
  }

  .k9-calculator-container .input-section,
  .k9-calculator-container .result-section,
  .k9-calculator-container .info-section {
    padding: 10px;
  }

  .k9-calculator-container .input-row,
  .k9-calculator-container .button-group {
    grid-template-columns: 1fr;
  }

  .k9-calculator-container .input-field,
  .k9-calculator-container .sample-btn,
  .k9-calculator-container .reset-btn {
    min-height: 46px;
  }

  .k9-calculator-container .result-value {
    font-size: clamp(40px, 15vw, 54px);
  }
}



/* ROBERIN K/9 Phase 2 article + standard ad slots - 2026-05-10 */
body.postid-4946 .roberin-ad,
body.postid-4946 .roberin-ad,
body.postid-4946 .roberin-leaderboard-ad,
body.postid-4946 .roberin-leaderboard-ad {
  display: block !important;
  width: min(728px, calc(100vw - 32px)) !important;
  max-width: 728px !important;
  min-width: 0 !important;
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
  margin: 18px auto 24px !important;
  padding: 0 !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  text-align: center !important;
}

body.postid-4946 .roberin-ad--after-tool,
body.postid-4946 .roberin-ad--after-tool {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

body.postid-4946 .roberin-ad--bottom,
body.postid-4946 .roberin-ad--bottom {
  margin-top: 20px !important;
  margin-bottom: 28px !important;
}

body.postid-4946 .roberin-ad ins.adsbygoogle,
body.postid-4946 .roberin-ad ins.adsbygoogle,
body.postid-4946 .roberin-leaderboard-ad ins.adsbygoogle,
body.postid-4946 .roberin-leaderboard-ad ins.adsbygoogle,
body.postid-4946 .entry-content .roberin-ad ins.adsbygoogle,
body.postid-4946 .entry-content .roberin-ad ins.adsbygoogle {
  display: block !important;
  width: min(728px, calc(100vw - 32px)) !important;
  max-width: 728px !important;
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.postid-4946 .roberin-ad iframe,
body.postid-4946 .roberin-ad iframe,
body.postid-4946 .roberin-ad [id^="aswift_"],
body.postid-4946 .roberin-ad [id^="aswift_"],
body.postid-4946 .roberin-leaderboard-ad iframe,
body.postid-4946 .roberin-leaderboard-ad iframe,
body.postid-4946 .roberin-leaderboard-ad [id^="aswift_"],
body.postid-4946 .roberin-leaderboard-ad [id^="aswift_"] {
  max-width: 100% !important;
  width: 100% !important;
  height: 90px !important;
  max-height: 90px !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  border: 0 !important;
  overflow: hidden !important;
}

body.postid-4946 .entry-content article.roberin-article-body.k9-article-body,
body.postid-4946 .entry-content article.roberin-article-body.k9-article-body,
body.postid-4946 article.roberin-article-body.k9-article-body,
body.postid-4946 article.roberin-article-body.k9-article-body,
body.postid-4946 .k9-article-body,
body.postid-4946 .k9-article-body,
body.postid-4946 .k9-article-body *,
body.postid-4946 .k9-article-body *,
body.postid-4946 .k9-article-body *::before,
body.postid-4946 .k9-article-body *::before,
body.postid-4946 .k9-article-body *::after,
body.postid-4946 .k9-article-body *::after {
  box-sizing: border-box;
  min-width: 0;
}

body.postid-4946 .entry-content article.roberin-article-body.k9-article-body,
body.postid-4946 .entry-content article.roberin-article-body.k9-article-body,
body.postid-4946 article.roberin-article-body.k9-article-body,
body.postid-4946 article.roberin-article-body.k9-article-body {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 18px;
  width: min(950px, calc(100vw - 32px));
  max-width: 950px;
  margin: 0 auto 24px;
  padding: clamp(16px, 3vw, 28px);
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  background: var(--k9-panel) !important;
  border: 2px solid var(--k9-line) !important;
  box-shadow: var(--k9-shadow) !important;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.72;
  word-break: keep-all;
}

body.postid-4946 .entry-content article.roberin-article-body.k9-article-body::before,
body.postid-4946 .entry-content article.roberin-article-body.k9-article-body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(107, 87, 69, 0.044) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 87, 69, 0.036) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

body.postid-4946 .k9-article-kicker,
body.postid-4946 .k9-article-kicker {
  width: fit-content;
  margin: 0;
  padding: 4px 9px;
  color: var(--k9-accent-ink) !important;
  -webkit-text-fill-color: var(--k9-accent-ink) !important;
  background: var(--k9-accent) !important;
  border: 1px solid var(--k9-line) !important;
  box-shadow: var(--k9-shadow-soft) !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em;
}

body.postid-4946 .k9-article-section,
body.postid-4946 .k9-article-section {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding-top: 8px;
}

body.postid-4946 .k9-article-section + .k9-article-section,
body.postid-4946 .k9-article-section + .k9-article-section {
  margin-top: 6px;
  padding-top: 22px;
  border-top: 1px dashed var(--k9-line-soft);
}

body.postid-4946 .k9-article-body h2,
body.postid-4946 .k9-article-body h2,
body.postid-4946 .k9-article-body h3,
body.postid-4946 .k9-article-body h3 {
  margin: 0 !important;
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  background: transparent;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

body.postid-4946 .k9-article-body h2,
body.postid-4946 .k9-article-body h2 {
  width: auto;
  max-width: 100%;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: clamp(22px, 2.4vw, 30px) !important;
  line-height: 1.18 !important;
  font-weight: 950 !important;
}

body.postid-4946 .k9-article-body h3,
body.postid-4946 .k9-article-body h3 {
  padding-bottom: 7px !important;
  border-bottom: 1px solid var(--k9-line-soft) !important;
  font-size: clamp(17px, 1.8vw, 21px) !important;
  line-height: 1.3 !important;
  font-weight: 900 !important;
}

body.postid-4946 .k9-article-body p,
body.postid-4946 .k9-article-body p,
body.postid-4946 .k9-article-body li,
body.postid-4946 .k9-article-body li,
body.postid-4946 .k9-article-body summary,
body.postid-4946 .k9-article-body summary,
body.postid-4946 .k9-article-body td,
body.postid-4946 .k9-article-body td,
body.postid-4946 .k9-article-body th,
body.postid-4946 .k9-article-body th,
body.postid-4946 .k9-article-body span,
body.postid-4946 .k9-article-body span {
  color: var(--k9-muted) !important;
  -webkit-text-fill-color: var(--k9-muted) !important;
  font-size: 15px !important;
  line-height: 1.72 !important;
  font-weight: 680 !important;
}

body.postid-4946 .k9-article-body p,
body.postid-4946 .k9-article-body p {
  margin: 0 !important;
}

body.postid-4946 .k9-article-body strong,
body.postid-4946 .k9-article-body strong,
body.postid-4946 .k9-article-body summary,
body.postid-4946 .k9-article-body summary,
body.postid-4946 .k9-article-body th,
body.postid-4946 .k9-article-body th,
body.postid-4946 .k9-article-card strong,
body.postid-4946 .k9-article-card strong,
body.postid-4946 .k9-notice h3,
body.postid-4946 .k9-notice h3 {
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  font-weight: 920 !important;
}

body.postid-4946 .k9-article-body code,
body.postid-4946 .k9-article-body code {
  display: inline-block;
  max-width: 100%;
  padding: 1px 5px;
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  background: var(--k9-paper) !important;
  border: 1px solid var(--k9-line-soft) !important;
  border-radius: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em !important;
  font-weight: 780 !important;
  overflow-wrap: anywhere;
}

body.postid-4946 .k9-article-body ul,
body.postid-4946 .k9-article-body ul,
body.postid-4946 .k9-article-body ol,
body.postid-4946 .k9-article-body ol {
  display: grid;
  gap: 8px;
  margin: 0 !important;
  padding-left: 1.25em !important;
}

body.postid-4946 .k9-article-card-grid,
body.postid-4946 .k9-article-card-grid,
body.postid-4946 .k9-result-grid,
body.postid-4946 .k9-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.postid-4946 .k9-result-grid,
body.postid-4946 .k9-result-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.postid-4946 .k9-article-card,
body.postid-4946 .k9-article-card,
body.postid-4946 .k9-formula-panel,
body.postid-4946 .k9-formula-panel,
body.postid-4946 .k9-example-panel,
body.postid-4946 .k9-example-panel,
body.postid-4946 .k9-result-card,
body.postid-4946 .k9-result-card,
body.postid-4946 .k9-notice,
body.postid-4946 .k9-notice,
body.postid-4946 .k9-faq details,
body.postid-4946 .k9-faq details {
  min-width: 0;
  color: var(--k9-muted) !important;
  -webkit-text-fill-color: var(--k9-muted) !important;
  background: var(--k9-paper) !important;
  border: 1px solid var(--k9-line) !important;
  box-shadow: var(--k9-shadow-soft) !important;
}

body.postid-4946 .k9-article-card,
body.postid-4946 .k9-article-card,
body.postid-4946 .k9-result-card,
body.postid-4946 .k9-result-card {
  display: grid;
  gap: 5px;
  padding: 12px;
}

body.postid-4946 .k9-formula-panel,
body.postid-4946 .k9-formula-panel,
body.postid-4946 .k9-example-panel,
body.postid-4946 .k9-example-panel {
  display: grid;
  gap: 10px;
  padding: 13px 14px;
}

body.postid-4946 .k9-formula-panel code,
body.postid-4946 .k9-formula-panel code {
  display: block;
  width: fit-content;
  white-space: normal;
}

body.postid-4946 .k9-example-panel .k9-example-row,
body.postid-4946 .k9-example-panel .k9-example-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px dashed var(--k9-line-soft);
}

body.postid-4946 .k9-example-panel .k9-example-row:last-child,
body.postid-4946 .k9-example-panel .k9-example-row:last-child {
  border-bottom: 0;
}

body.postid-4946 .k9-result-card span:first-child,
body.postid-4946 .k9-result-card span:first-child {
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  font-size: 14px !important;
  font-weight: 920 !important;
}

body.postid-4946 .k9-notice,
body.postid-4946 .k9-notice {
  display: grid;
  gap: 10px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(221, 191, 111, 0.18), rgba(226, 237, 216, 0.12)),
    var(--k9-paper) !important;
  border-left: 6px solid var(--k9-mustard-deep) !important;
}

body.postid-4946 .k9-notice h3,
body.postid-4946 .k9-notice h3 {
  border-bottom-color: var(--k9-line-soft) !important;
}

body.postid-4946 .k9-faq,
body.postid-4946 .k9-faq {
  display: grid;
  gap: 8px;
}

body.postid-4946 .k9-faq details,
body.postid-4946 .k9-faq details {
  padding: 0;
}

body.postid-4946 .k9-faq summary,
body.postid-4946 .k9-faq summary {
  cursor: pointer;
  padding: 11px 12px;
  color: var(--k9-ink) !important;
  -webkit-text-fill-color: var(--k9-ink) !important;
  font-weight: 900 !important;
  list-style-position: inside;
}

body.postid-4946 .k9-faq details[open] summary,
body.postid-4946 .k9-faq details[open] summary {
  border-bottom: 1px dashed var(--k9-line-soft);
}

body.postid-4946 .k9-faq details p,
body.postid-4946 .k9-faq details p {
  padding: 10px 12px 12px;
}

body[data-scheme="dark"].postid-4946 .entry-content article.roberin-article-body.k9-article-body,
body[data-scheme="dark"].postid-4946 .entry-content article.roberin-article-body.k9-article-body,
body[data-scheme="inverse"].postid-4946 .entry-content article.roberin-article-body.k9-article-body,
body[data-scheme="inverse"].postid-4946 .entry-content article.roberin-article-body.k9-article-body {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: #2b2119 !important;
  border-color: #a98b6b !important;
  box-shadow: 4px 4px 0 rgba(10, 8, 6, 0.34) !important;
}

body[data-scheme="dark"].postid-4946 .entry-content article.roberin-article-body.k9-article-body::before,
body[data-scheme="dark"].postid-4946 .entry-content article.roberin-article-body.k9-article-body::before,
body[data-scheme="inverse"].postid-4946 .entry-content article.roberin-article-body.k9-article-body::before,
body[data-scheme="inverse"].postid-4946 .entry-content article.roberin-article-body.k9-article-body::before {
  background:
    linear-gradient(rgba(169, 139, 107, 0.050) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 139, 107, 0.042) 1px, transparent 1px);
  background-size: 22px 22px;
}

body[data-scheme="dark"].postid-4946 .k9-article-kicker,
body[data-scheme="dark"].postid-4946 .k9-article-kicker,
body[data-scheme="inverse"].postid-4946 .k9-article-kicker,
body[data-scheme="inverse"].postid-4946 .k9-article-kicker {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: #344a32 !important;
  border-color: #a98b6b !important;
}

body[data-scheme="dark"].postid-4946 .k9-article-body h2,
body[data-scheme="dark"].postid-4946 .k9-article-body h2,
body[data-scheme="inverse"].postid-4946 .k9-article-body h2,
body[data-scheme="inverse"].postid-4946 .k9-article-body h2 {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body[data-scheme="dark"].postid-4946 .k9-article-body h3,
body[data-scheme="dark"].postid-4946 .k9-article-body h3,
body[data-scheme="dark"].postid-4946 .k9-article-body strong,
body[data-scheme="dark"].postid-4946 .k9-article-body strong,
body[data-scheme="dark"].postid-4946 .k9-article-body summary,
body[data-scheme="dark"].postid-4946 .k9-article-body summary,
body[data-scheme="dark"].postid-4946 .k9-article-body th,
body[data-scheme="dark"].postid-4946 .k9-article-body th,
body[data-scheme="inverse"].postid-4946 .k9-article-body h3,
body[data-scheme="inverse"].postid-4946 .k9-article-body h3,
body[data-scheme="inverse"].postid-4946 .k9-article-body strong,
body[data-scheme="inverse"].postid-4946 .k9-article-body strong,
body[data-scheme="inverse"].postid-4946 .k9-article-body summary,
body[data-scheme="inverse"].postid-4946 .k9-article-body summary,
body[data-scheme="inverse"].postid-4946 .k9-article-body th,
body[data-scheme="inverse"].postid-4946 .k9-article-body th {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background-color: transparent !important;
  border-color: #a98b6b !important;
}

body[data-scheme="dark"].postid-4946 .k9-article-body p,
body[data-scheme="dark"].postid-4946 .k9-article-body p,
body[data-scheme="dark"].postid-4946 .k9-article-body li,
body[data-scheme="dark"].postid-4946 .k9-article-body li,
body[data-scheme="dark"].postid-4946 .k9-article-body td,
body[data-scheme="dark"].postid-4946 .k9-article-body td,
body[data-scheme="dark"].postid-4946 .k9-article-body span,
body[data-scheme="dark"].postid-4946 .k9-article-body span,
body[data-scheme="inverse"].postid-4946 .k9-article-body p,
body[data-scheme="inverse"].postid-4946 .k9-article-body p,
body[data-scheme="inverse"].postid-4946 .k9-article-body li,
body[data-scheme="inverse"].postid-4946 .k9-article-body li,
body[data-scheme="inverse"].postid-4946 .k9-article-body td,
body[data-scheme="inverse"].postid-4946 .k9-article-body td,
body[data-scheme="inverse"].postid-4946 .k9-article-body span,
body[data-scheme="inverse"].postid-4946 .k9-article-body span {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
}

body[data-scheme="dark"].postid-4946 .k9-article-body code,
body[data-scheme="dark"].postid-4946 .k9-article-body code,
body[data-scheme="inverse"].postid-4946 .k9-article-body code,
body[data-scheme="inverse"].postid-4946 .k9-article-body code {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: #241c15 !important;
  border-color: rgba(169, 139, 107, 0.35) !important;
}

body[data-scheme="dark"].postid-4946 .k9-article-card,
body[data-scheme="dark"].postid-4946 .k9-article-card,
body[data-scheme="dark"].postid-4946 .k9-formula-panel,
body[data-scheme="dark"].postid-4946 .k9-formula-panel,
body[data-scheme="dark"].postid-4946 .k9-example-panel,
body[data-scheme="dark"].postid-4946 .k9-example-panel,
body[data-scheme="dark"].postid-4946 .k9-result-card,
body[data-scheme="dark"].postid-4946 .k9-result-card,
body[data-scheme="dark"].postid-4946 .k9-notice,
body[data-scheme="dark"].postid-4946 .k9-notice,
body[data-scheme="dark"].postid-4946 .k9-faq details,
body[data-scheme="dark"].postid-4946 .k9-faq details,
body[data-scheme="inverse"].postid-4946 .k9-article-card,
body[data-scheme="inverse"].postid-4946 .k9-article-card,
body[data-scheme="inverse"].postid-4946 .k9-formula-panel,
body[data-scheme="inverse"].postid-4946 .k9-formula-panel,
body[data-scheme="inverse"].postid-4946 .k9-example-panel,
body[data-scheme="inverse"].postid-4946 .k9-example-panel,
body[data-scheme="inverse"].postid-4946 .k9-result-card,
body[data-scheme="inverse"].postid-4946 .k9-result-card,
body[data-scheme="inverse"].postid-4946 .k9-notice,
body[data-scheme="inverse"].postid-4946 .k9-notice,
body[data-scheme="inverse"].postid-4946 .k9-faq details,
body[data-scheme="inverse"].postid-4946 .k9-faq details {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
  background: #33271d !important;
  border-color: #a98b6b !important;
  box-shadow: 2px 2px 0 rgba(10, 8, 6, 0.28) !important;
}

body[data-scheme="dark"].postid-4946 .k9-notice,
body[data-scheme="dark"].postid-4946 .k9-notice,
body[data-scheme="inverse"].postid-4946 .k9-notice,
body[data-scheme="inverse"].postid-4946 .k9-notice {
  background:
    linear-gradient(135deg, rgba(210, 170, 85, 0.18), rgba(52, 74, 50, 0.14)),
    #33271d !important;
  border-left-color: #d2aa55 !important;
}

@media (max-width: 760px) {
  body.postid-4946 .roberin-ad,
  body.postid-4946 .roberin-ad,
  body.postid-4946 .roberin-leaderboard-ad,
  body.postid-4946 .roberin-leaderboard-ad,
  body.postid-4946 .roberin-ad ins.adsbygoogle,
  body.postid-4946 .roberin-ad ins.adsbygoogle,
  body.postid-4946 .roberin-leaderboard-ad ins.adsbygoogle,
  body.postid-4946 .roberin-leaderboard-ad ins.adsbygoogle,
  body.postid-4946 .entry-content article.roberin-article-body.k9-article-body,
  body.postid-4946 .entry-content article.roberin-article-body.k9-article-body {
    width: min(950px, calc(100vw - 24px)) !important;
  }

  body.postid-4946 .entry-content article.roberin-article-body.k9-article-body,
  body.postid-4946 .entry-content article.roberin-article-body.k9-article-body {
    gap: 15px;
    padding: 14px 12px;
    box-shadow: 3px 3px 0 rgba(82, 65, 50, 0.20) !important;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  body.postid-4946 .k9-article-card-grid,
  body.postid-4946 .k9-article-card-grid,
  body.postid-4946 .k9-result-grid,
  body.postid-4946 .k9-result-grid {
    grid-template-columns: 1fr;
  }

  body.postid-4946 .k9-example-panel .k9-example-row,
  body.postid-4946 .k9-example-panel .k9-example-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  body.postid-4946 .k9-article-body p,
  body.postid-4946 .k9-article-body p,
  body.postid-4946 .k9-article-body li,
  body.postid-4946 .k9-article-body li,
  body.postid-4946 .k9-article-body summary,
  body.postid-4946 .k9-article-body summary,
  body.postid-4946 .k9-article-body span,
  body.postid-4946 .k9-article-body span {
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  body.postid-4946 .roberin-ad,
  body.postid-4946 .roberin-ad,
  body.postid-4946 .roberin-leaderboard-ad,
  body.postid-4946 .roberin-leaderboard-ad,
  body.postid-4946 .roberin-ad ins.adsbygoogle,
  body.postid-4946 .roberin-ad ins.adsbygoogle,
  body.postid-4946 .roberin-leaderboard-ad ins.adsbygoogle,
  body.postid-4946 .roberin-leaderboard-ad ins.adsbygoogle {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
  }

  body.postid-4946 .entry-content article.roberin-article-body.k9-article-body,
  body.postid-4946 .entry-content article.roberin-article-body.k9-article-body {
    width: calc(100vw - 20px) !important;
    padding: 12px 10px;
  }

  body.postid-4946 .k9-article-body h2,
  body.postid-4946 .k9-article-body h2 {
    font-size: clamp(21px, 7vw, 26px) !important;
  }

  body.postid-4946 .k9-article-body h3,
  body.postid-4946 .k9-article-body h3 {
    font-size: clamp(17px, 5.5vw, 19px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .k9-calculator-container *,
  .k9-calculator-container *::before,
  .k9-calculator-container *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
