:root {
  --bg: #fbf6ec;
  --paper: #fffdf8;
  --card: #fffdf8;
  --ink: #3d3733;
  --text: #2f2a27;
  --muted: #7a6d63;
  --primary: #d0603d;
  --primary-dark: #a9472a;
  --primary-soft: #fdeee5;
  --primary-line: #f1c7b3;
  --mustard: #f2b33d;
  --mustard-soft: #fff3d6;
  --accent: #5f9470;
  --accent-dark: #3f7553;
  --accent-soft: #e7f1e8;
  --warn: #d98e12;
  --danger: #cf4343;
  --border: #e8dccb;
  --border-strong: #d4c3ab;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-paper: 5px 5px 0 #eadfcd;
  --shadow-paper-lg: 7px 7px 0 #e2d2b8;
  --shadow-ink: 3px 3px 0 var(--ink);
  --ring: 0 0 0 3px rgba(208, 96, 61, 0.25);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic UI", system-ui, sans-serif;
  --font-hand: "Klee One", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { color-scheme: light; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(122, 109, 99, 0.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  color: var(--text);
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(242, 179, 61, 0.45); color: var(--text); }

/* ---------- ヘッダー ---------- */
.site-header {
  background:
    radial-gradient(circle at calc(100% - max(28px, calc((100% - 928px) / 2) + 40px)) 46px, var(--mustard) 0 30px, transparent 31px),
    radial-gradient(circle at calc(100% - max(28px, calc((100% - 928px) / 2) + 40px)) 46px, rgba(255, 243, 214, 0.25) 0 44px, transparent 45px),
    radial-gradient(rgba(255, 248, 236, 0.14) 1.2px, transparent 1.6px) 0 0 / 18px 18px,
    #bf5130;
  color: #fff8ec;
  padding: 30px max(16px, calc((100% - 928px) / 2)) 0;
  border-bottom: 3px solid var(--ink);
}

.site-header h1 {
  margin: 0 0 10px;
  font-family: var(--font-hand);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.site-header h1::after {
  content: "";
  display: block;
  width: 190px;
  height: 9px;
  margin-top: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='9' viewBox='0 0 40 9'%3E%3Cpath d='M0 4.5 Q5 0.5 10 4.5 T20 4.5 T30 4.5 T40 4.5' fill='none' stroke='%23f2b33d' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left center / 40px 9px;
}

.lead {
  margin: 0 0 22px;
  font-size: 0.97rem;
  max-width: 680px;
  line-height: 1.9;
  color: #fff3e2;
}

.tabs { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }

.tab {
  border: 2px solid transparent;
  border-bottom: none;
  background: rgba(255, 248, 236, 0.18);
  color: #fff8ec;
  padding: 10px 18px 11px;
  border-radius: 16px 18px 0 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: none;
  margin-bottom: -3px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.tab:hover:not(:disabled) { background: rgba(255, 248, 236, 0.3); color: #fff; box-shadow: none; transform: translateY(-2px); border-color: transparent; }

.tab.active,
.tab.active:hover:not(:disabled) {
  background: var(--bg);
  color: var(--primary-dark);
  font-weight: 900;
  border-color: var(--ink);
  transform: none;
  padding-bottom: 14px;
}

.tab:active:not(:disabled) { transform: none; }
.tab:focus-visible { outline: 2px dashed #fff8ec; outline-offset: -6px; box-shadow: none; }
.tab.active:focus-visible { outline-color: var(--primary); }

/* ---------- レイアウト ---------- */
main { max-width: 960px; margin: 0 auto; padding: 26px 16px 16px; }

.panel.hidden, .hidden { display: none !important; }

.panel:not(.hidden) { animation: fadeIn 0.35s var(--ease) both; }

.card {
  position: relative;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 18px 22px 16px 21px / 21px 16px 22px 18px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-paper);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.card:hover { box-shadow: var(--shadow-paper-lg); transform: translate(-1px, -1px); }

.card.highlight {
  background:
    radial-gradient(rgba(242, 179, 61, 0.14) 1px, transparent 1.4px) 0 0 / 16px 16px,
    #fff8e6;
  box-shadow: 6px 6px 0 var(--primary);
  margin-top: 14px;
}

.card.highlight:hover { box-shadow: 8px 8px 0 var(--primary); }

.card.highlight::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 120px;
  height: 26px;
  margin-left: -60px;
  background: rgba(242, 179, 61, 0.72);
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0 6px, transparent 6px 12px);
  transform: rotate(-3deg);
  border-left: 2px dotted rgba(255, 255, 255, 0.6);
  border-right: 2px dotted rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

#result:not(.hidden) > .card { animation: popIn 0.5s var(--ease) both; }
#result:not(.hidden) > .card:nth-child(2) { animation-delay: 0.06s; }
#result:not(.hidden) > .card:nth-child(3) { animation-delay: 0.12s; }
#result:not(.hidden) > .card:nth-child(4) { animation-delay: 0.18s; }
#result:not(.hidden) > .card:nth-child(5) { animation-delay: 0.24s; }
#result:not(.hidden) > .card:nth-child(6) { animation-delay: 0.3s; }

@keyframes popIn {
  from { opacity: 0; transform: translateY(14px) rotate(-0.4deg); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

h2 {
  font-family: var(--font-hand);
  font-size: 1.2rem;
  margin: 0 0 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.55;
  color: var(--text);
}

.card > h2:first-child {
  padding-bottom: 10px;
  border-bottom: 2px dashed var(--border-strong);
}

.row.between h2 { margin: 0; padding: 0; border: none; }

h3 {
  display: table;
  font-size: 1rem;
  margin: 22px 0 8px;
  font-weight: 700;
  color: var(--text);
  padding: 0 6px;
  line-height: 1.6;
  background: linear-gradient(transparent 60%, rgba(242, 179, 61, 0.45) 60%);
  border-radius: 2px;
}

.label { display: block; font-weight: 700; margin: 12px 0 6px; font-size: 0.93rem; color: var(--ink); }
.muted { color: var(--muted); font-size: 0.88rem; }
.error { color: var(--danger); font-weight: 700; min-height: 1em; margin: 10px 0 0; }

ul, ol { padding-left: 1.5em; }
li { margin: 3px 0; }
li::marker { color: var(--primary); }

/* ---------- 入力欄 ---------- */
textarea, input[type="password"], input[type="number"], input[type="text"], select {
  width: 100%;
  border: 2px solid var(--border-strong);
  border-radius: 12px 14px 11px 13px;
  padding: 11px 13px;
  font-size: 0.97rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.75;
  color: var(--text);
  background: #fffefb;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

textarea { resize: vertical; }

textarea:hover, input[type="password"]:hover, input[type="number"]:hover, input[type="text"]:hover, select:hover { border-color: #bfa98a; }

textarea:focus, input[type="password"]:focus, input[type="number"]:focus, input[type="text"]:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: var(--ring);
}

textarea::placeholder, input::placeholder { color: #b0a294; }

#taskInput {
  background-color: #fffefb;
  background-image: linear-gradient(90deg, transparent 30px, rgba(208, 96, 61, 0.18) 30px, rgba(208, 96, 61, 0.18) 31.5px, transparent 31.5px);
  padding-left: 42px;
}

#promptOut {
  background: #fffaf0;
  font-size: 0.93rem;
  line-height: 1.85;
}

#catalogJson, #chainLight, #chainSearch, #chainMain {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
}

.row { display: flex; gap: 10px; align-items: center; margin: 12px 0; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.row input[type="number"] { width: 160px; }
.row input[type="password"],
.row input[type="text"] { flex: 1; }

.check { display: flex; gap: 8px; align-items: center; font-size: 0.93rem; cursor: pointer; }
.check input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--primary); cursor: pointer; }

/* ---------- ボタン ---------- */
button {
  cursor: pointer;
  border-radius: 12px 14px 12px 13px;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 700;
  padding: 9px 18px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--text);
  line-height: 1.5;
  box-shadow: var(--shadow-ink);
  transition: background 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.12s var(--ease), transform 0.12s var(--ease);
}

button:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
button:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
button:focus-visible { outline: 3px solid rgba(208, 96, 61, 0.45); outline-offset: 2px; }
button:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: 1px 1px 0 var(--ink); transform: translate(2px, 2px); }

button.primary {
  background: var(--primary);
  color: #fff8ec;
  letter-spacing: 0.04em;
  margin-top: 12px;
  padding: 10px 22px;
}

button.primary:hover:not(:disabled) { background: #c4552f; }

#runBtn {
  width: 100%;
  padding: 13px 22px;
  font-size: 1.05rem;
  border-radius: 14px 18px 13px 16px;
  box-shadow: 4px 4px 0 var(--ink);
}

#runBtn:hover:not(:disabled) { box-shadow: 6px 6px 0 var(--ink); }
#runBtn:active:not(:disabled) { box-shadow: 1px 1px 0 var(--ink); }

button.secondary {
  background: var(--mustard-soft);
  color: var(--text);
}

button.secondary:hover:not(:disabled) { background: #ffe9b3; }

/* ---------- 進行表示 ---------- */
.progress {
  list-style: none;
  padding: 10px;
  margin: 16px 0 0;
  background: #fffaf0;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-sm);
}

.progress .step {
  padding: 6px 10px 6px 36px;
  margin: 3px 0;
  position: relative;
  color: var(--muted);
  border-radius: 10px;
  font-size: 0.93rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.progress .step::before { content: "○"; position: absolute; left: 12px; top: 6px; display: inline-block; line-height: inherit; }
.progress .step.running { color: var(--primary-dark); font-weight: 700; background: var(--mustard-soft); }
.progress .step.running::before { content: "◔"; color: var(--primary); animation: spin 1.1s linear infinite; }
.progress .step.done { color: var(--accent-dark); text-decoration: line-through; text-decoration-color: rgba(95, 148, 112, 0.5); text-decoration-thickness: 2px; }
.progress .step.done::before { content: "✔"; color: var(--accent); }

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------- 推薦結果 ---------- */
.badge {
  display: inline-block;
  background: var(--primary);
  color: #fff8ec;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 2px 14px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-4deg);
}

.badge.sub {
  background: var(--paper);
  color: var(--ink);
  border: 2px dashed var(--ink);
  box-shadow: none;
  font-weight: 700;
  letter-spacing: 0.05em;
  transform: rotate(2deg);
}

.badge:empty { display: none; }

.rec-service { margin: 16px 0 0; color: var(--muted); font-weight: 700; font-size: 0.97rem; }

.rec-model {
  display: table;
  margin: 2px 0 10px;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--text);
  padding: 0 6px;
  background: linear-gradient(transparent 62%, rgba(242, 179, 61, 0.55) 62%);
}

.score {
  display: inline-block;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 1px 12px;
  font-size: 0.9rem;
  margin-right: 6px;
}

.button-link {
  display: inline-block;
  background: var(--accent);
  color: #fffdf8;
  padding: 8px 20px;
  border: 2px solid var(--ink);
  border-radius: 12px 14px 12px 13px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-top: 6px;
  box-shadow: var(--shadow-ink);
  transition: box-shadow 0.12s var(--ease), transform 0.12s var(--ease), background 0.2s var(--ease);
}

.button-link:hover { background: var(--accent-dark); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.button-link:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.button-link:focus-visible { outline: 3px solid rgba(95, 148, 112, 0.5); outline-offset: 2px; }

.flags {
  color: #8a4b08;
  background: #fff6e0;
  border: 2px dashed #e7b54d;
  border-radius: var(--radius-sm);
  padding: 10px 12px 10px 30px;
  font-size: 0.88rem;
  margin: 16px 0 0;
}

.explain {
  font-size: 1.02rem;
  line-height: 1.95;
  background: #fffaf0;
  border: 2px dashed var(--border-strong);
  border-left: 6px solid var(--mustard);
  padding: 14px 18px;
  border-radius: 6px 14px 14px 6px;
  white-space: pre-wrap;
}

.tips {
  color: #2f5c3e;
  background: var(--accent-soft);
  border-radius: 10px 14px 10px 12px;
  border: 2px solid #bcd6c3;
  padding: 8px 12px;
}

.tips:empty { display: none; }

#alternatives li { margin: 8px 0; }

.pre { white-space: pre-wrap; }

#proposal, #searchSummary, #disabledList {
  background: #fffaf0;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

/* ---------- フィードバック ---------- */
.fb-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0;
  padding: 8px 0;
  border-bottom: 2px dotted var(--border);
}

.fb-row .label { width: 120px; margin: 0; }
.fb-row select { width: auto; min-width: 220px; }

.star {
  font-size: 1.3rem;
  color: #d8cbb8;
  padding: 3px 11px;
  line-height: 1.3;
  box-shadow: 2px 2px 0 var(--ink);
}

.star:hover:not(:disabled) { color: var(--mustard); box-shadow: 3px 3px 0 var(--ink); }
.star.on { color: var(--warn); background: var(--mustard-soft); }

.verdict.on {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 1px 1px 0 var(--accent-dark);
  transform: translate(2px, 2px);
}

/* ---------- 表 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  margin-top: 12px;
  background: var(--paper);
}

table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }

th, td {
  border-bottom: 1.5px dashed var(--border);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f6ecd9;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-bottom: 2px solid var(--ink);
}

tbody tr { transition: background 0.15s var(--ease); }
tbody tr:hover { background: #fff6e2; }
tbody tr:last-child td { border-bottom: none; }

.st-ok, .good { color: var(--accent-dark); font-weight: 700; }
.st-fallback, .st-fixed, .warn { color: var(--warn); font-weight: 700; }
.st-rule, .st-skip, .st-cache { color: var(--muted); }
.bad { color: var(--danger); font-weight: 700; }

/* ---------- KPI（付箋） ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; padding: 4px 2px 6px; }

.kpi {
  border: 2px solid var(--ink);
  border-radius: 4px 4px 14px 4px;
  padding: 14px;
  position: relative;
  background: #fff3c4;
  box-shadow: 3px 3px 0 rgba(61, 55, 51, 0.85);
  transform: rotate(-1deg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.kpi:nth-child(4n+2) { background: #e3efe5; transform: rotate(0.8deg); }
.kpi:nth-child(4n+3) { background: #fde2d5; transform: rotate(-0.5deg); }
.kpi:nth-child(4n+4) { background: #e4ebf4; transform: rotate(1.1deg); }

.kpi:hover { transform: rotate(0deg) translateY(-3px); box-shadow: 5px 5px 0 rgba(61, 55, 51, 0.85); }

.kpi-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 0 8px;
  line-height: 1.7;
}

.kpi-value { font-size: 1.45rem; font-weight: 900; margin-top: 16px; color: var(--text); line-height: 1.3; font-variant-numeric: tabular-nums; }
.kpi-label { font-size: 0.8rem; color: #5e534b; margin-top: 2px; font-weight: 700; }

/* ---------- 棒グラフ（色鉛筆風） ---------- */
.bar-row { display: grid; grid-template-columns: 56px 1fr 190px; gap: 10px; align-items: center; margin: 8px 0; font-size: 0.86rem; }
.bar-date { color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.bar-track { background: #f3e9d7; border: 1.5px solid var(--ink); border-radius: 999px; height: 14px; overflow: hidden; }
.bar {
  background: repeating-linear-gradient(-45deg, var(--primary) 0 7px, #e07a55 7px 14px);
  height: 100%;
  width: 0;
  border-radius: 999px;
  transition: width 0.7s var(--ease);
}
.bar-num { color: #5e534b; }

.bias .plus { color: var(--accent-dark); }
.bias .minus { color: var(--danger); }

/* ---------- 詳細・出力 ---------- */
details summary {
  cursor: pointer;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 2px 0;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

details summary:hover { color: var(--primary-dark); }
details summary:focus-visible { outline: 2px dashed var(--primary); outline-offset: 3px; border-radius: 6px; }
details[open] summary { margin-bottom: 10px; }

.out {
  background: #2f3d35;
  color: #f3efe2;
  padding: 16px 18px;
  border-radius: 6px;
  overflow-x: auto;
  white-space: pre-wrap;
  font-size: 0.83rem;
  line-height: 1.75;
  max-height: 420px;
  margin: 0;
  border: 6px solid #8a6a4a;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.25), 3px 3px 0 var(--ink);
}

.site-footer {
  text-align: center;
  padding: 22px 16px 32px;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 2px dashed var(--border-strong);
  margin-top: 10px;
}

.site-footer p { margin: 0 auto; max-width: 720px; }

/* ---------- 状態メッセージ ---------- */
.status {
  margin: 12px 0 0;
  padding: 11px 14px;
  border-radius: 10px 14px 10px 12px;
  font-size: 0.9rem;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-all;
  border: 2px solid transparent;
}

.status:empty { display: none; }
.status.muted { background: #f5efe4; color: var(--muted); border-color: var(--border); border-style: dashed; }
.status.info { background: var(--mustard-soft); color: #7a5208; border-color: #edcf87; }
.status.ok { background: var(--accent-soft); color: #2f5c3e; font-weight: 700; border-color: #a9cbb3; }
.status.ng { background: #fdecea; color: #9b2c2c; font-weight: 700; border-color: #f0b9b3; }

/* ---------- スマホ ---------- */
@media (max-width: 600px) {
  .site-header {
    padding-top: 22px;
    background:
      radial-gradient(circle at calc(100% - 26px) 30px, var(--mustard) 0 16px, transparent 17px),
      radial-gradient(rgba(255, 248, 236, 0.14) 1.2px, transparent 1.6px) 0 0 / 18px 18px,
      #bf5130;
  }
  .site-header h1 { font-size: 1.5rem; padding-right: 40px; }
  .site-header h1::after { width: 140px; }
  .lead { font-size: 0.9rem; margin-bottom: 16px; }
  .tabs { gap: 4px; }
  .tab { flex: 1 1 auto; padding: 9px 8px 10px; font-size: 0.86rem; text-align: center; }
  .tab.active, .tab.active:hover:not(:disabled) { padding-bottom: 12px; }
  main { padding: 18px 12px; }
  .card { padding: 16px; box-shadow: 4px 4px 0 #eadfcd; }
  .card.highlight { box-shadow: 4px 4px 0 var(--primary); }
  .rec-model { font-size: 1.4rem; }
  .bar-row { grid-template-columns: 48px 1fr; }
  .bar-num { grid-column: 1 / -1; }
  .fb-row .label { width: 100%; }
  .fb-row select { width: 100%; min-width: 0; }
  .row.between { flex-wrap: wrap; }
  .kpis { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
}

/* ---------- 動きを減らす設定への配慮 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .kpi, .kpi:nth-child(n), .badge, .badge.sub { transform: none; }
}
