.tackle-check {
  --tc-ink: #17211c;
  --tc-muted: #66736d;
  --tc-line: #d8e4dd;
  --tc-panel: #ffffff;
  --tc-soft: #f2f8f4;
  --tc-accent: #0b8f5a;
  --tc-accent-dark: #086c45;
  --tc-warn: #b86a00;
  --tc-bad: #a33a2a;
  color: var(--tc-ink);
  display: grid;
  gap: 18px;
  margin: 8px 0 32px;
}

.tackle-check * {
  box-sizing: border-box;
}

.tackle-check-hero {
  background: linear-gradient(135deg, #eef9f1 0%, #ffffff 58%, #fff6df 100%);
  border: 1px solid var(--tc-line);
  border-radius: 8px;
  padding: 22px 18px;
}

.tackle-check-kicker {
  color: var(--tc-accent-dark);
  font-size: 0.86rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.tackle-check-hero h2 {
  font-size: clamp(1.9rem, 8vw, 2.7rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 10px;
}

.tackle-check-hero p {
  color: var(--tc-muted);
  margin: 0;
}

.tackle-check-hero .tackle-check-beta-note {
  color: #6b5c2e;
  font-size: 0.86rem;
  margin-top: 10px;
}

.tackle-check-panel,
.tackle-check-suggestions,
.tackle-check-result,
.tackle-check-learning,
.tackle-check-note {
  background: var(--tc-panel);
  border: 1px solid var(--tc-line);
  border-radius: 8px;
  padding: 16px;
}

.tackle-check-panel {
  display: grid;
  gap: 14px;
}

.tackle-check-field {
  display: grid;
  gap: 7px;
}

.tackle-check-field--suggest {
  position: relative;
  z-index: 2;
}

.tackle-check-field label {
  color: var(--tc-ink);
  font-weight: 700;
}

.tackle-check-field label span {
  color: var(--tc-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.tackle-check-field input {
  border: 1px solid #b7cbc1;
  border-radius: 8px;
  color: var(--tc-ink);
  font-size: 1.08rem;
  min-height: 52px;
  padding: 12px 13px;
  width: 100%;
}

.tackle-check-field input:focus {
  border-color: var(--tc-accent);
  box-shadow: 0 0 0 3px rgba(11, 143, 90, 0.18);
  outline: none;
}

.tackle-check-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 104px;
}

.tackle-check button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
}

.tackle-check-primary {
  background: var(--tc-accent);
  border: 1px solid var(--tc-accent);
  color: #fff;
}

.tackle-check-secondary {
  background: #fff;
  border: 1px solid var(--tc-line);
  color: var(--tc-muted);
}

.tackle-check-candidates {
  background: #fff;
  border: 1px solid var(--tc-line);
  border-radius: 10px;
  box-shadow: 0 18px 35px rgba(23, 33, 28, 0.14);
  display: grid;
  gap: 0;
  left: 0;
  max-height: 320px;
  overflow: auto;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
}

.tackle-check-candidates[hidden] {
  display: none;
}

.tackle-check-candidate {
  background: #fff;
  border: 1px solid transparent;
  color: var(--tc-ink);
  display: grid;
  gap: 4px;
  justify-items: start;
  min-height: 58px;
  padding: 10px 12px;
  text-align: left;
  width: 100%;
}

.tackle-check-candidate:hover,
.tackle-check-candidate:focus {
  background: var(--tc-soft);
  outline: none;
}

.tackle-check-candidate[aria-pressed="true"] {
  background: #e4f5eb;
  border-color: var(--tc-accent);
}

.tackle-check-candidate small {
  color: var(--tc-muted);
  font-weight: 600;
}

.tackle-check-verdict {
  border-left: 5px solid var(--tc-accent);
  padding-left: 12px;
}

.tackle-check-product-summary {
  align-items: center;
  background: linear-gradient(135deg, #f7fbf8 0%, #ffffff 100%);
  border: 1px solid var(--tc-line);
  border-radius: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 132px;
  margin-bottom: 14px;
  padding: 12px;
}

.tackle-check-product-name {
  display: grid;
  gap: 4px;
}

.tackle-check-product-name span {
  color: var(--tc-accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.tackle-check-product-name strong {
  color: var(--tc-ink);
  font-size: 1.15rem;
  line-height: 1.25;
}

.tackle-check-product-summary:empty {
  display: none;
}

.tackle-check-verdict.is-warn {
  border-left-color: var(--tc-warn);
}

.tackle-check-verdict.is-bad {
  border-left-color: var(--tc-bad);
}

.tackle-check-label {
  color: var(--tc-muted);
  font-size: 0.84rem;
  font-weight: 700;
  margin: 0 0 3px;
}

.tackle-check-verdict h3 {
  font-size: 1.55rem;
  margin: 0 0 6px;
}

.tackle-check-verdict p {
  color: var(--tc-muted);
  margin: 0;
}

.tackle-check-source {
  font-size: 0.84rem;
  margin-top: 8px !important;
}

.tackle-check-metrics {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.tackle-check-metrics div {
  background: var(--tc-soft);
  border-radius: 8px;
  padding: 11px 10px;
}

.tackle-check-metrics span {
  color: var(--tc-muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.tackle-check-metrics strong {
  display: block;
  font-size: 1rem;
}

.tackle-check-product-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.tackle-check-price-link {
  --mall: var(--tc-accent);
  --mall-soft: #edf8f2;
  background: #fff;
  border: 2px solid color-mix(in srgb, var(--mall) 34%, #fff);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(23, 33, 28, 0.08);
  color: var(--tc-ink);
  display: grid;
  gap: 5px;
  min-height: 104px;
  padding: 13px 14px;
  position: relative;
  text-decoration: none !important;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.tackle-check-price-link *,
.tackle-check-price-link:hover,
.tackle-check-price-link:focus {
  text-decoration: none !important;
}

.tackle-check-price-link:hover,
.tackle-check-price-link:focus {
  border-color: var(--mall);
  box-shadow: 0 14px 28px rgba(23, 33, 28, 0.13);
  outline: none;
  transform: translateY(-1px);
}

.tackle-check-price-link.is-missing {
  background: #f8fbf9;
  border-style: dashed;
  box-shadow: none;
}

.tackle-check-price-link.is-missing strong {
  color: var(--tc-muted);
}

.tackle-check-price-link.is-amazon {
  --mall: #ff9900;
  --mall-soft: #fff4dd;
}

.tackle-check-price-link.is-rakuten {
  --mall: #bf0000;
  --mall-soft: #fff0f0;
}

.tackle-check-price-link.is-yahoo {
  --mall: #ff0033;
  --mall-soft: #fff0f4;
}

.tackle-check-price-link.is-mercari {
  --mall: #4db8ff;
  --mall-soft: #eef8ff;
}

.tackle-check-price-link span {
  align-items: center;
  color: var(--tc-muted);
  display: flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 6px;
}

.tackle-check-price-link span i {
  align-items: center;
  background: var(--mall);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  height: 24px;
  justify-content: center;
  letter-spacing: -0.02em;
  min-width: 24px;
  padding: 0 5px;
}

.tackle-check-price-link span b {
  background: #fff1c8;
  border: 1px solid #f0cf72;
  border-radius: 999px;
  color: #8a5a00;
  font-size: 0.7rem;
  padding: 1px 6px;
}

.tackle-check-price-link strong {
  color: var(--tc-ink);
  font-size: 1.26rem;
  line-height: 1.1;
}

.tackle-check-price-link small {
  color: var(--tc-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.tackle-check-price-link em {
  align-items: center;
  background: var(--mall-soft);
  border-radius: 8px;
  color: color-mix(in srgb, var(--mall) 76%, #17211c);
  display: inline-flex;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
  justify-content: center;
  margin-top: 3px;
  min-height: 34px;
}

.tackle-check-product-image {
  aspect-ratio: 4 / 3;
  background: #f6faf8;
  border: 1px solid var(--tc-line);
  border-radius: 10px;
  height: 112px;
  object-fit: contain;
  padding: 6px;
  width: 100%;
}

.tackle-check-learning {
  display: grid;
  gap: 14px;
}

.tackle-check-learning[hidden] {
  display: none;
}

.tackle-check-learning-head h3 {
  font-size: 1.25rem;
  margin: 0 0 6px;
}

.tackle-check-learning-head p:last-child {
  color: var(--tc-muted);
  margin: 0;
}

.tackle-check-learning-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tackle-check-learning-grid h4 {
  font-size: 0.95rem;
  margin: 0 0 8px;
}

.tackle-check-popular-list {
  display: grid;
  gap: 8px;
}

.tackle-check-popular-item {
  align-items: center;
  background: #fff;
  border: 1px solid var(--tc-line);
  color: var(--tc-ink);
  display: grid !important;
  gap: 2px 9px;
  grid-template-columns: 30px minmax(0, 1fr);
  justify-items: start !important;
  min-height: 58px;
  padding: 10px;
  text-align: left;
  width: 100%;
}

.tackle-check-popular-item:hover,
.tackle-check-popular-item:focus {
  background: var(--tc-soft);
  border-color: var(--tc-accent);
  outline: none;
}

.tackle-check-popular-item span {
  align-items: center;
  background: var(--tc-accent);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  grid-row: span 2;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.tackle-check-popular-item.is-unregistered span {
  background: var(--tc-warn);
}

.tackle-check-popular-item strong {
  font-size: 0.95rem;
  line-height: 1.25;
}

.tackle-check-popular-item small {
  color: var(--tc-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.tackle-check-empty {
  background: #f8fbf9;
  border: 1px dashed var(--tc-line);
  border-radius: 8px;
  color: var(--tc-muted);
  font-size: 0.86rem;
  margin: 0;
  padding: 12px;
}

.tackle-check-note summary {
  cursor: pointer;
  font-weight: 700;
}

.tackle-check-note p {
  color: var(--tc-muted);
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .tackle-check-actions,
  .tackle-check-metrics,
  .tackle-check-product-actions,
  .tackle-check-learning-grid {
    grid-template-columns: 1fr;
  }

  .tackle-check-product-summary {
    grid-template-columns: 1fr;
  }

  .tackle-check-product-image {
    height: 150px;
  }

}
