/* OpenMeme — IDO 板块 v3 严谨版 */
.ido-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 1000px) {
  .ido-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ido-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  transition: all 0.2s;
  position: relative;
}

.ido-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.ido-header {
  padding: 20px;
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.ido-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  overflow: hidden;
}

.ido-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ido-titles {
  flex: 1;
  min-width: 0;
}

.ido-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ido-symbol {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 14px;
}

.ido-chain-tag {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.ido-stage {
  color: var(--text-dim);
  font-size: 13px;
}

.ido-verdict {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.ido-verdict.green {
  background: rgba(46, 189, 133, 0.15);
  color: var(--green);
  border: 1px solid rgba(46, 189, 133, 0.3);
}

.ido-verdict.yellow {
  background: rgba(240, 185, 11, 0.15);
  color: var(--gold);
  border: 1px solid rgba(240, 185, 11, 0.3);
}

.ido-verdict.blue {
  background: rgba(79, 156, 249, 0.15);
  color: var(--blue);
  border: 1px solid rgba(79, 156, 249, 0.3);
}

.ido-verdict.red {
  background: rgba(246, 70, 93, 0.15);
  color: var(--red);
  border: 1px solid rgba(246, 70, 93, 0.3);
}

.ido-body {
  padding: 20px;
  display: grid;
  gap: 16px;
}

.ido-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 13px;
  line-height: 1.5;
}

.ido-row-label {
  color: var(--text-dim);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ido-row-value {
  color: var(--text);
}

.ido-section-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ido-summary {
  background: var(--bg);
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-line;
}

.ido-pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 600px) {
  .ido-pros-cons {
    grid-template-columns: 1fr 1fr;
  }
}

.ido-pros, .ido-cons {
  background: var(--bg);
  border-radius: 6px;
  padding: 12px;
  font-size: 13px;
}

.ido-pros {
  border-left: 3px solid var(--green);
}

.ido-cons {
  border-left: 3px solid var(--red);
}

.ido-pros li, .ido-cons li {
  margin-bottom: 6px;
  line-height: 1.5;
  color: var(--text);
}

.ido-pros li::before {
  content: '✓ ';
  color: var(--green);
  font-weight: 700;
}

.ido-cons li::before {
  content: '✗ ';
  color: var(--red);
  font-weight: 700;
}

.ido-pros ul, .ido-cons ul {
  list-style: none;
  padding: 0;
}

.ido-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ido-social a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px;
  transition: all 0.2s;
}

.ido-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.ido-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 12px;
}

.ido-trust-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ido-trust-icon {
  font-size: 14px;
}

.ido-actions {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.ido-action {
  flex: 1;
  min-width: 90px;
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
}

.ido-action.primary {
  background: var(--gold);
  color: var(--bg);
}

.ido-action.primary:hover {
  background: var(--gold-bright);
}

.ido-action.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.ido-action.secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.ido-risk-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.ido-risk-tag {
  display: inline-block;
  background: rgba(240, 185, 11, 0.1);
  color: var(--gold);
  border: 1px solid rgba(240, 185, 11, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.ido-followers {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-dim);
  font-size: 12px;
}

.ido-followers .up { color: var(--green); }
.ido-followers .down { color: var(--red); }

.ido-score-bar {
  height: 4px;
  background: var(--bg);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}

.ido-score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red) 0%, var(--gold) 50%, var(--green) 100%);
  border-radius: 2px;
  transition: width 0.5s;
}
