/* Global size converter — Roberin KO Phase 1 fresh redesign 20260616 */
.global-size-converter.gsc-renew,
.global-size-converter.gsc-renew *,
.global-size-converter.gsc-renew *::before,
.global-size-converter.gsc-renew *::after {
  box-sizing: border-box;
}

.global-size-converter.gsc-renew,
.global-size-converter.gsc-renew * {
  -webkit-text-fill-color: currentColor !important;
}

.global-size-converter.gsc-renew {
  --gsc-shell: #faf2e8;
  --gsc-paper: #fff7e8;
  --gsc-panel: #fffdf7;
  --gsc-input: #fffaf0;
  --gsc-soft: #faecd4;
  --gsc-soft-2: #f2e3d3;
  --gsc-line: #6b5745;
  --gsc-ink: #2b2119;
  --gsc-muted: #746759;
  --gsc-result: #e3efd2;
  --gsc-result-2: #dfeef8;
  --gsc-danger: #f6d7cd;
  --gsc-shadow: 4px 4px 0 rgba(107, 87, 69, 0.22);
  --gsc-shadow-soft: 2px 2px 0 rgba(107, 87, 69, 0.16);
  --gsc-grid-line: rgba(107, 87, 69, 0.045);
  --gsc-title-bg:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(250, 236, 212, 0.96)),
    var(--gsc-paper);
  --gsc-example-bg: #fff4d8;
  --gsc-unit-bg: #faecd4;
  --gsc-note-bg: rgba(255, 253, 247, 0.78);
  --gsc-placeholder-bg: rgba(250, 236, 212, 0.5);
  position: relative;
  display: block;
  width: min(100%, 1040px);
  margin: 12px auto 18px;
  padding: 0;
  color: var(--gsc-ink) !important;
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.45;
  background:
    linear-gradient(var(--gsc-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--gsc-grid-line) 1px, transparent 1px),
    var(--gsc-shell);
  background-size: 20px 20px, 20px 20px, auto;
  border: 2px solid var(--gsc-line);
  border-radius: 0;
  box-shadow: var(--gsc-shadow);
  overflow: hidden;
}

.global-size-converter.gsc-renew :where(h2, h3, p) {
  margin: 0;
}

.global-size-converter.gsc-renew :where(button, input, select) {
  font: inherit;
}

.global-size-converter.gsc-renew button {
  appearance: none;
  border-radius: 0;
}

.global-size-converter.gsc-renew .gsc-rec-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 18px 20px 17px;
  background: var(--gsc-title-bg);
}

.global-size-converter.gsc-renew .gsc-rec-title-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.global-size-converter.gsc-renew .gsc-rec-kicker {
  width: fit-content;
  padding: 4px 8px;
  color: var(--gsc-muted);
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.01em;
  background: var(--gsc-soft);
  border: 2px solid var(--gsc-line);
  box-shadow: var(--gsc-shadow-soft);
}

.global-size-converter.gsc-renew .gsc-rec-title h2 {
  color: var(--gsc-ink);
  font-size: clamp(25px, 4vw, 36px);
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: -0.045em;
  word-break: keep-all;
}

.global-size-converter.gsc-renew .gsc-rec-title p {
  max-width: 680px;
  color: var(--gsc-muted);
  font-size: 15px;
  font-weight: 750;
  word-break: keep-all;
}

.global-size-converter.gsc-renew .gsc-rec-title-metric {
  display: grid;
  place-items: center;
  min-width: 104px;
  padding: 10px 12px;
  color: var(--gsc-ink);
  text-align: center;
  background: var(--gsc-result-2);
  border: 2px solid var(--gsc-line);
  box-shadow: var(--gsc-shadow-soft);
}

.global-size-converter.gsc-renew .gsc-rec-title-metric strong {
  font-size: 34px;
  font-weight: 950;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.global-size-converter.gsc-renew .gsc-rec-title-metric span {
  color: var(--gsc-muted);
  font-size: 11px;
  font-weight: 950;
}

.global-size-converter.gsc-renew .gsc-rec-body {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-top: 2px solid var(--gsc-line);
}

.global-size-converter.gsc-renew .gsc-rec-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(0, 1.06fr);
  gap: 10px;
  align-items: stretch;
  min-width: 0;
}

.global-size-converter.gsc-renew .gsc-rec-panel {
  min-width: 0;
  padding: 12px;
  background: var(--gsc-panel);
  border: 2px solid var(--gsc-line);
  border-radius: 0;
  box-shadow: var(--gsc-shadow-soft);
}

.global-size-converter.gsc-renew .gsc-rec-control-panel,
.global-size-converter.gsc-renew .gsc-rec-result-panel {
  display: grid;
  align-content: start;
  gap: 10px;
}

.global-size-converter.gsc-renew .gsc-rec-panel-head {
  display: grid;
  gap: 3px;
  padding-bottom: 8px;
  border-bottom: 2px dashed rgba(107, 87, 69, 0.32);
}

.global-size-converter.gsc-renew .gsc-rec-panel-head h3 {
  color: var(--gsc-ink);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.global-size-converter.gsc-renew .gsc-rec-panel-head p {
  color: var(--gsc-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  word-break: keep-all;
}

.global-size-converter.gsc-renew .gsc-rec-tabs,
.global-size-converter.gsc-renew .gsc-rec-example-row,
.global-size-converter.gsc-renew .gsc-rec-actions,
.global-size-converter.gsc-renew .alt-buttons {
  display: grid;
  gap: 6px;
}

.global-size-converter.gsc-renew .gsc-rec-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.global-size-converter.gsc-renew .gsc-rec-tabs .tab-btn,
.global-size-converter.gsc-renew .gsc-rec-example-row .btn-example,
.global-size-converter.gsc-renew .gsc-rec-actions button,
.global-size-converter.gsc-renew .alt-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  min-width: 0;
  padding: 7px 9px;
  color: var(--gsc-ink) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  text-align: center;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
  background: var(--gsc-soft-2) !important;
  border: 2px solid var(--gsc-line) !important;
  border-radius: 0 !important;
  box-shadow: var(--gsc-shadow-soft);
  cursor: pointer;
}

.global-size-converter.gsc-renew .gsc-rec-tabs .tab-btn.active,
.global-size-converter.gsc-renew .gsc-rec-tabs .tab-btn[aria-selected="true"] {
  background: var(--gsc-result) !important;
}

.global-size-converter.gsc-renew .gsc-rec-example-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.global-size-converter.gsc-renew .gsc-rec-example-row .btn-example {
  min-height: 36px;
  padding: 6px 8px;
  background: var(--gsc-example-bg) !important;
  font-size: 12px !important;
}

.global-size-converter.gsc-renew .gsc-rec-tabs .tab-btn:hover,
.global-size-converter.gsc-renew .gsc-rec-example-row .btn-example:hover,
.global-size-converter.gsc-renew .gsc-rec-actions button:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(107, 87, 69, 0.22);
}

.global-size-converter.gsc-renew .tab-content {
  display: none;
}

.global-size-converter.gsc-renew .tab-content.active {
  display: grid;
  gap: 9px;
}

.global-size-converter.gsc-renew .gsc-rec-field-grid,
.global-size-converter.gsc-renew .input-row.gsc-rec-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.global-size-converter.gsc-renew .gsc-rec-field {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.global-size-converter.gsc-renew .gsc-rec-label {
  color: var(--gsc-muted);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.global-size-converter.gsc-renew :where(select, input[type="text"], input[type="number"]) {
  width: 100%;
  min-height: 42px;
  min-width: 0;
  padding: 8px 10px;
  color: var(--gsc-ink) !important;
  -webkit-text-fill-color: var(--gsc-ink) !important;
  background: var(--gsc-input) !important;
  border: 2px solid var(--gsc-line) !important;
  border-radius: 0 !important;
  box-shadow: inset 0 1px 0 rgba(107, 87, 69, 0.08);
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.global-size-converter.gsc-renew :where(#shoesSize, #chest, #waistTop, #waistBottom, #hip) {
  font-weight: 950 !important;
  font-variation-settings: "wght" 950;
}

.global-size-converter.gsc-renew input::placeholder {
  color: #a99b8b;
  -webkit-text-fill-color: #a99b8b;
  font-weight: 650;
  opacity: 1;
}

.global-size-converter.gsc-renew .gsc-rec-input-with-unit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  min-width: 0;
}

.global-size-converter.gsc-renew .gsc-rec-input-with-unit input {
  border-right-width: 0 !important;
}

.global-size-converter.gsc-renew .gsc-rec-unit,
.global-size-converter.gsc-renew .unit-display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 42px;
  padding: 8px 10px;
  color: var(--gsc-muted);
  background: var(--gsc-unit-bg);
  border: 2px solid var(--gsc-line);
  border-radius: 0;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

.global-size-converter.gsc-renew .gsc-rec-hint {
  color: var(--gsc-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.global-size-converter.gsc-renew .gsc-rec-unit-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 8px 10px;
  background: var(--gsc-soft);
  border: 2px solid var(--gsc-line);
}

.global-size-converter.gsc-renew .gsc-rec-unit-toggle > span {
  color: var(--gsc-muted);
  font-size: 12px;
  font-weight: 950;
}

.global-size-converter.gsc-renew .unit-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.global-size-converter.gsc-renew .unit-switch input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.global-size-converter.gsc-renew .unit-switch .slider {
  position: relative;
  width: 40px;
  height: 22px;
  background: var(--gsc-panel);
  border: 2px solid var(--gsc-line);
}

.global-size-converter.gsc-renew .unit-switch .slider::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: var(--gsc-line);
  transition: transform 0.14s ease;
}

.global-size-converter.gsc-renew .unit-switch input:checked + .slider::after {
  transform: translateX(18px);
}

.global-size-converter.gsc-renew .unit-labels {
  display: inline-flex;
  gap: 4px;
  color: var(--gsc-muted);
  font-size: 11px;
  font-weight: 950;
}

.global-size-converter.gsc-renew .unit-labels .active {
  color: var(--gsc-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.global-size-converter.gsc-renew .gsc-rec-actions {
  grid-template-columns: 1fr;
}

.global-size-converter.gsc-renew .gsc-rec-actions .gsc-rec-secondary {
  width: 100%;
  background: var(--gsc-panel) !important;
}

.global-size-converter.gsc-renew .result-placeholder {
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 216px;
  padding: 18px;
  color: var(--gsc-muted);
  text-align: center;
  background: var(--gsc-placeholder-bg);
  border: 2px dashed rgba(107, 87, 69, 0.45);
}

.global-size-converter.gsc-renew .result-placeholder strong {
  max-width: 320px;
  color: var(--gsc-ink);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.25;
  word-break: keep-all;
}

.global-size-converter.gsc-renew .result-placeholder span:not(.gsc-rec-placeholder-icon) {
  max-width: 340px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

.global-size-converter.gsc-renew .gsc-rec-placeholder-icon {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  min-height: 34px;
  padding: 0 8px;
  color: var(--gsc-ink);
  background: var(--gsc-result-2);
  border: 2px solid var(--gsc-line);
  box-shadow: var(--gsc-shadow-soft);
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.global-size-converter.gsc-renew .gsc-rec-result-card {
  display: none;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.global-size-converter.gsc-renew #resultCard[style*="block"] {
  display: grid !important;
}

.global-size-converter.gsc-renew .conversion-path {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  color: var(--gsc-muted);
  background: var(--gsc-soft);
  border: 2px solid var(--gsc-line);
  font-size: 12px;
  font-weight: 950;
}

.global-size-converter.gsc-renew .size-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  min-width: 0;
}

.global-size-converter.gsc-renew .size-box {
  display: grid;
  place-items: center;
  gap: 4px;
  min-width: 0;
  min-height: 128px;
  padding: 14px 10px;
  text-align: center;
  background: var(--gsc-panel);
  border: 2px solid var(--gsc-line);
  box-shadow: var(--gsc-shadow-soft);
}

.global-size-converter.gsc-renew .size-box.converted {
  background: var(--gsc-result);
}

.global-size-converter.gsc-renew .size-label,
.global-size-converter.gsc-renew .size-region,
.global-size-converter.gsc-renew .countries-title,
.global-size-converter.gsc-renew .alt-label {
  color: var(--gsc-muted);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
}

.global-size-converter.gsc-renew .size-value {
  max-width: 100%;
  color: var(--gsc-ink);
  font-size: clamp(34px, 6vw, 54px);
  font-weight: 950;
  line-height: 1;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.global-size-converter.gsc-renew .arrow {
  display: grid;
  place-items: center;
  color: var(--gsc-line);
  font-size: 24px;
  font-weight: 950;
}

.global-size-converter.gsc-renew .size-description {
  padding: 10px 12px;
  color: var(--gsc-ink);
  background: var(--gsc-soft);
  border: 2px solid var(--gsc-line);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
  word-break: keep-all;
}

.global-size-converter.gsc-renew .size-description strong {
  font-weight: 950;
}

.global-size-converter.gsc-renew .major-countries,
.global-size-converter.gsc-renew .alternative-sizes {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.global-size-converter.gsc-renew .countries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}

.global-size-converter.gsc-renew .country-item {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 54px;
  padding: 6px;
  background: var(--gsc-panel);
  border: 2px solid var(--gsc-line);
  text-align: center;
}

.global-size-converter.gsc-renew .country-item span {
  min-width: 0;
  color: var(--gsc-muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.global-size-converter.gsc-renew .country-item strong {
  color: var(--gsc-ink);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.global-size-converter.gsc-renew .alt-buttons {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.global-size-converter.gsc-renew .alt-btn {
  min-height: 32px;
  padding: 5px 7px;
  background: var(--gsc-panel) !important;
  cursor: default;
}

.global-size-converter.gsc-renew .alt-btn.current {
  background: var(--gsc-result-2) !important;
}

.global-size-converter.gsc-renew .gsc-rec-note-strip {
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(0, 1.06fr);
  align-items: stretch;
  gap: 10px;
  min-width: 0;
}

.global-size-converter.gsc-renew .gsc-rec-note-strip span {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 64px;
  padding: 12px;
  color: var(--gsc-muted);
  background: var(--gsc-note-bg);
  border: 2px solid rgba(107, 87, 69, 0.7);
  box-shadow: var(--gsc-shadow-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  word-break: keep-all;
}

.global-size-converter.gsc-renew .gsc-rec-note-strip strong {
  color: var(--gsc-ink);
  font-weight: 950;
}


@media (prefers-color-scheme: dark) {
  .global-size-converter.gsc-renew {
    --gsc-shell: #241c16;
    --gsc-paper: #2f251e;
    --gsc-panel: #33281f;
    --gsc-input: #3a2e24;
    --gsc-soft: #463625;
    --gsc-soft-2: #5a4734;
    --gsc-line: #ead7bd;
    --gsc-ink: #fff3df;
    --gsc-muted: #d5c0a2;
    --gsc-result: #34452b;
    --gsc-result-2: #263d4d;
    --gsc-danger: #5a3229;
    --gsc-shadow: 4px 4px 0 rgba(0, 0, 0, 0.32);
    --gsc-shadow-soft: 2px 2px 0 rgba(0, 0, 0, 0.28);
    --gsc-grid-line: rgba(234, 215, 189, 0.075);
    --gsc-title-bg:
      linear-gradient(135deg, rgba(47, 37, 30, 0.98), rgba(70, 54, 37, 0.96)),
      var(--gsc-paper);
    --gsc-example-bg: #5a4734;
    --gsc-unit-bg: #463625;
    --gsc-note-bg: rgba(51, 40, 31, 0.92);
    --gsc-placeholder-bg: rgba(70, 54, 37, 0.82);
  }
}

body.dark .global-size-converter.gsc-renew,
body.dark-mode .global-size-converter.gsc-renew,
body[data-theme="dark"] .global-size-converter.gsc-renew,
html[data-theme="dark"] .global-size-converter.gsc-renew,
body[data-scheme="dark"] .global-size-converter.gsc-renew,
body[data-scheme="inverse"] .global-size-converter.gsc-renew,
html[data-scheme="dark"] .global-size-converter.gsc-renew,
html[data-scheme="inverse"] .global-size-converter.gsc-renew,
body[data-scheme="auto"][data-d="dark"] .global-size-converter.gsc-renew,
body[data-scheme="auto"][data-l="dark"] .global-size-converter.gsc-renew {
  --gsc-shell: #241c16;
  --gsc-paper: #2f251e;
  --gsc-panel: #33281f;
  --gsc-input: #3a2e24;
  --gsc-soft: #463625;
  --gsc-soft-2: #5a4734;
  --gsc-line: #ead7bd;
  --gsc-ink: #fff3df;
  --gsc-muted: #d5c0a2;
  --gsc-result: #34452b;
  --gsc-result-2: #263d4d;
  --gsc-danger: #5a3229;
  --gsc-shadow: 4px 4px 0 rgba(0, 0, 0, 0.32);
  --gsc-shadow-soft: 2px 2px 0 rgba(0, 0, 0, 0.28);
  --gsc-grid-line: rgba(234, 215, 189, 0.075);
  --gsc-title-bg:
    linear-gradient(135deg, rgba(47, 37, 30, 0.98), rgba(70, 54, 37, 0.96)),
    var(--gsc-paper);
  --gsc-example-bg: #5a4734;
  --gsc-unit-bg: #463625;
  --gsc-note-bg: rgba(51, 40, 31, 0.92);
  --gsc-placeholder-bg: rgba(70, 54, 37, 0.82);
}

@media (max-width: 980px) {
  .global-size-converter.gsc-renew .gsc-rec-title,
  .global-size-converter.gsc-renew .gsc-rec-layout,
  .global-size-converter.gsc-renew .gsc-rec-note-strip {
    grid-template-columns: 1fr;
  }

  .global-size-converter.gsc-renew .gsc-rec-title-metric {
    width: fit-content;
    min-width: 132px;
  }

  .global-size-converter.gsc-renew .gsc-rec-result-panel {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .global-size-converter.gsc-renew {
    margin: 8px auto 14px;
  }

  .global-size-converter.gsc-renew .gsc-rec-title {
    padding: 15px 14px 14px;
  }

  .global-size-converter.gsc-renew .gsc-rec-body {
    padding: 9px;
  }

  .global-size-converter.gsc-renew .gsc-rec-panel {
    padding: 10px;
  }

  .global-size-converter.gsc-renew .gsc-rec-field-grid,
  .global-size-converter.gsc-renew .input-row.gsc-rec-field-grid,
  .global-size-converter.gsc-renew .gsc-rec-example-row,
  .global-size-converter.gsc-renew .gsc-rec-actions,
  .global-size-converter.gsc-renew .alt-buttons {
    grid-template-columns: 1fr;
  }

  .global-size-converter.gsc-renew .countries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .global-size-converter.gsc-renew .gsc-rec-tabs .tab-btn,
  .global-size-converter.gsc-renew .gsc-rec-example-row .btn-example,
  .global-size-converter.gsc-renew .gsc-rec-actions button {
    min-height: 40px;
  }

  .global-size-converter.gsc-renew .size-comparison {
    grid-template-columns: 1fr;
  }

  .global-size-converter.gsc-renew .arrow {
    transform: rotate(90deg);
    min-height: 24px;
  }

  .global-size-converter.gsc-renew .size-box {
    min-height: 96px;
  }

  .global-size-converter.gsc-renew .result-placeholder {
    min-height: 170px;
  }
}

@media (max-width: 380px) {
  .global-size-converter.gsc-renew .gsc-rec-title h2 {
    font-size: 24px;
  }

  .global-size-converter.gsc-renew .gsc-rec-tabs .tab-btn,
  .global-size-converter.gsc-renew .gsc-rec-example-row .btn-example,
  .global-size-converter.gsc-renew .gsc-rec-actions button,
  .global-size-converter.gsc-renew :where(select, input[type="text"], input[type="number"]) {
    font-size: 13px !important;
  }

  .global-size-converter.gsc-renew .gsc-rec-kicker {
    font-size: 11px;
  }
}
