/* Page title banner (Most checked, Price drops) */
main > .wrap > h1 {
  margin: 0 0 20px;
  padding: 28px;
  border-radius: 14px;
  color: #fff;
  background-color: var(--navy);
  background-image: var(--blueprint);
  background-size: 32px 32px, 32px 32px, 100% 100%;
}
@media (max-width: 599px) {
  main > .wrap > h1 { font-size: 26px; }
}
.market-switch {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 24px 0;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.market-switch legend { font-weight: 600; }
.market-switch label { cursor: pointer; }
.market-switch input { accent-color: var(--blue); }
.tool-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 16px;
}
.tool-list h2 { font-size: 22px; overflow-wrap: anywhere; }
.tool-list p { margin: 8px 0; }
.tool-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 160px;
  gap: 16px;
  align-items: start;
}
.tool-list .tool-card {
  border: 0;
  border-left: 5px solid var(--blue);
  box-shadow: var(--shadow-strong);
}
.tool-icon {
  width: 40px;
  height: 40px;
  padding: 6px;
  border-radius: 12px;
  background: #e8f1fd;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tool-content > :first-child { margin-top: 0; }
.tool-content { overflow-wrap: anywhere; }
.tool-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 10px;
}
.tool-photo {
  width: 160px;
  max-width: 100%;
  margin: 0;
  text-align: center;
}
.tool-photo img {
  display: block;
  width: 160px;
  height: 160px;
  max-width: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
}
.tool-photo figcaption {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}
.tool-photo figcaption.actual-image {
  color: #000;
  font-weight: 600;
}
@media (max-width: 599px) {
  .tool-card { grid-template-columns: 40px minmax(0, 1fr); }
  .tool-icon { grid-column: 1; grid-row: 1 / span 2; }
  .tool-photo { grid-column: 2; grid-row: 1; }
  .tool-content { grid-column: 2; grid-row: 2; }
}
.tool-tag {
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.store-button {
  margin-top: 8px;
  max-width: 100%;
  font-size: 14px;
  min-height: 44px;
}
.store-button:focus-visible {
  outline: 3px solid var(--blue-dark);
  outline-offset: 3px;
}
.store-button:active { background: var(--blue-dark); }

.tool-content .price-with-time { margin-bottom: 2px; }
.tool-content .price-checked {
  margin-top: 0;
  color: var(--muted);
  font-size: 13px;
}

.tool-content .drop-amount {
  color: #00c853;
  font-weight: 700;
}
