/* AUREA Portal — /ai-duel (AI Prediction Duel). Page-specific styles
   only; shell/cards/buttons come from styles.css / rewards.css /
   ai-local.css. Copy lives in ai-duel.js (page-local 16-language dict). */

.pg-kicker {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(255,215,0,.55);
  background: linear-gradient(90deg, rgba(255,215,0,.16), rgba(179,136,255,.14));
  color: #FFD700; font-weight: 800; font-size: .72rem;
  letter-spacing: .14em; margin-bottom: 14px;
}

.duel-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.duel-rule {
  padding: 16px 18px; border-radius: 16px;
  border: 1px solid rgba(255,215,0,.4);
  background: linear-gradient(160deg, rgba(255,215,0,.07), rgba(10,15,30,.55));
  box-shadow: 0 0 18px rgba(255,215,0,.08);
}
.duel-rule h3 { margin: 0 0 6px; font-size: 1rem; color: #FFE97A; }
.duel-rule p { margin: 0; color: var(--muted, #A7ACC2); line-height: 1.6; font-size: .92rem; }
@media (max-width: 700px) { .duel-rules { grid-template-columns: 1fr; } }

.duel-card {
  padding: 18px 20px; border-radius: 16px; margin-top: 14px;
  border: 1px solid #39415F; background: rgba(255,255,255,.03);
}
.duel-cover {
  display: block; position: relative; margin: -18px -20px 14px;
  border-radius: 16px 16px 0 0; overflow: hidden;
}
.duel-cover img {
  display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover;
}
.duel-news-cap {
  position: absolute; left: 10px; bottom: 10px; padding: 3px 10px;
  border-radius: 999px; font-size: .72rem; font-weight: 700;
  color: #FFE97A; background: rgba(10,15,30,.8);
  border: 1px solid rgba(255,215,0,.5);
}
.duel-card h3 { margin: 0 0 8px; font-size: 1.08rem; line-height: 1.45; }
.duel-meta { color: var(--muted, #A7ACC2); font-size: .85rem; margin: 0 0 12px; }
.duel-prices { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 14px; }
.duel-price {
  flex: 1 1 140px; padding: 10px 14px; border-radius: 12px; text-align: center;
  border: 1px solid rgba(179,136,255,.45); background: rgba(179,136,255,.08);
}
.duel-price b { display: block; font-size: 1.3rem; color: #E7DBFF; }
.duel-price span { font-size: .8rem; color: var(--muted, #A7ACC2); }
.duel-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 700px) { .duel-sides { grid-template-columns: 1fr; } }
.duel-side { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid #39415F; }
.duel-side h4 { margin: 0 0 6px; font-size: .92rem; }
.duel-side.yes h4 { color: #7BE3A8; }
.duel-side.no h4 { color: #C9A7FF; }
.duel-side p { margin: 0; font-size: .88rem; line-height: 1.6; color: var(--muted, #A7ACC2);
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.duel-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.duel-outcome {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 800;
  border: 1px solid rgba(123,227,168,.6); color: #7BE3A8; background: rgba(123,227,168,.1);
}
.duel-soon h3 { margin-top: 0; color: #FFE97A; }
.duel-board-t { margin: 26px 0 8px; color: #FFE97A; }
.duel-board-row { display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 4px; border-bottom: 1px solid #39415F; font-size: .95rem; }
.duel-pick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.duel-pick button {
  padding: 8px 16px; border-radius: 999px; cursor: pointer; font-weight: 700;
  border: 1px solid #39415F; background: rgba(255,255,255,.04); color: var(--text, #EDEFF7);
}
.duel-pick button.sel { border-color: rgba(255,215,0,.75); color: #FFE97A; background: rgba(255,215,0,.1); }
.duel-pick button:disabled { opacity: .55; cursor: default; }
.duel-msg { font-size: .88rem; margin-top: 8px; color: var(--muted, #A7ACC2); }

.duel-sum {
  padding: 20px 22px; border-radius: 16px; margin-top: 14px;
  border: 1px solid rgba(255,215,0,.55);
  background: linear-gradient(160deg, rgba(255,215,0,.1), rgba(179,136,255,.07), rgba(10,15,30,.55));
  box-shadow: 0 0 22px rgba(255,215,0,.1);
}
.duel-sum h3 { margin: 0 0 8px; font-size: 1.05rem; color: #FFE97A; }
.duel-sum-line { margin: 0 0 6px; font-size: 1rem; font-weight: 700; }
.duel-sum-pnl { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 6px 0 10px; }
.duel-sum-pnl span { color: var(--muted, #A7ACC2); font-size: .9rem; }
.duel-sum-pnl b { font-size: 1.9rem; line-height: 1.1; }
.duel-call { margin: 8px 0 0; font-size: .95rem; }
.duel-badge {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  font-weight: 800; font-size: .82rem; margin-right: 4px;
}
.duel-badge.hit { border: 1px solid rgba(123,227,168,.65); color: #7BE3A8; background: rgba(123,227,168,.12); }
.duel-badge.miss { border: 1px solid rgba(255,138,138,.6); color: #FF9D9D; background: rgba(255,138,138,.1); }
.pnl-pos { color: #7BE3A8; }
.pnl-neg { color: #FF9D9D; }

/* AI Signal track-record table (ai-duel-record.js) */
.sig-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.sig-stat {
  padding: 14px 16px; border-radius: 14px;
  border: 1px solid rgba(255,215,0,.4);
  background: linear-gradient(160deg, rgba(255,215,0,.07), rgba(179,136,255,.05), rgba(10,15,30,.55));
  box-shadow: 0 0 16px rgba(255,215,0,.07);
}
.sig-stat span { display: block; font-size: .8rem; color: var(--muted, #A7ACC2); margin-bottom: 6px; }
.sig-stat b { font-size: 1.6rem; line-height: 1.15; color: #FFE97A; }
.sig-stat b.pnl-pos { color: #7BE3A8; }
.sig-stat b.pnl-neg { color: #FF9D9D; }
@media (max-width: 700px) { .sig-stats { grid-template-columns: repeat(2, 1fr); } .sig-stat b { font-size: 1.3rem; } }
.sig-table {
  width: 100%; border-collapse: collapse; margin-top: 16px;
  border: 1px solid rgba(179,136,255,.4); border-radius: 14px; overflow: hidden;
  background: rgba(255,255,255,.02); font-size: .95rem;
}
.sig-table th, .sig-table td { padding: 10px 12px; text-align: right; border-bottom: 1px solid #39415F; }
.sig-table thead th { color: #FFE97A; background: rgba(255,215,0,.07); font-size: .85rem; }
.sig-table tbody th { text-align: left; color: var(--text, #EDEFF7); font-weight: 700; }
.sig-table tbody tr:last-child th, .sig-table tbody tr:last-child td { border-bottom: none; }
.sig-lbl { display: none; }
@media (max-width: 700px) {
  .sig-table thead { display: none; }
  .sig-table, .sig-table tbody, .sig-table tr, .sig-table th, .sig-table td { display: block; width: 100%; }
  .sig-table tr { padding: 10px 4px; border-bottom: 1px solid #39415F; }
  .sig-table tbody th { border-bottom: none; padding: 4px 12px; font-size: 1.02rem; color: #FFE97A; }
  .sig-table td { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: none; padding: 4px 12px; }
  .sig-lbl { display: inline; color: var(--muted, #A7ACC2); font-size: .85rem; }
  .sig-table tbody th .sig-lbl { display: none; }
}
.sig-note { margin-top: 12px; }
.sig-updated { margin-top: 8px; }
