/* ============================================================================
   WORLD CUP TEMP — content styles for the predictions overlay (#wc-content).
   Remove this file + its <link> after the tournament. Uses the global :root
   tokens from dinasty/styles.css (parchment / gold / pixel fonts).
   ============================================================================ */

#wc-content { padding: 0; }
.wc-wrap { max-width: 1100px; margin: 0 auto; padding: 96px 26px 72px; color: #E6DCBF; }
.wc-wrap a { color: #FFD988; text-decoration: none; border-bottom: 1px solid rgba(255,217,136,.35); }
.wc-wrap a:hover { color: #FFE7A8; border-bottom-color: #FFE7A8; }

/* ---------- hero ---------- */
.wc-hero { position: relative; margin-bottom: 34px; padding-right: 120px; }
.wc-hero .wc-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold); }
.wc-hero h1 { font-family: var(--display); font-size: 30px; line-height: 1.25; margin-top: 12px;
  color: #FFE7A8; text-shadow: 3px 3px 0 rgba(0,0,0,.45); }
.wc-hero p { margin-top: 16px; max-width: 760px; font-size: 14px; line-height: 1.7; color: #D9CFB2; }
.wc-hero .wc-hero-ball { position: absolute; top: -6px; right: 0; width: 92px; height: 92px;
  opacity: .9; filter: drop-shadow(0 6px 10px rgba(0,0,0,.4)); }

/* ---------- generic section ---------- */
.wc-section { margin: 40px 0; }
.wc-section > h2 { font-family: var(--display); font-size: 16px; color: #FFE7A8;
  text-shadow: 2px 2px 0 rgba(0,0,0,.4); display: flex; align-items: center; gap: 10px; }
.wc-section > h2::after { content: ''; flex: 1; height: 2px;
  background: linear-gradient(90deg, rgba(255,217,136,.5), rgba(255,217,136,0)); }
.wc-section > .wc-lead { margin-top: 10px; font-size: 13px; line-height: 1.65; color: #CFC5A8; max-width: 820px; }

/* ---------- card (parchment) ---------- */
.wc-card { background: var(--panel-strong); color: var(--ink);
  border: 2px solid var(--border-strong); border-radius: 10px;
  box-shadow: var(--shadow); padding: 18px 20px; }
.wc-card a { color: var(--gold-deep); border-bottom-color: rgba(135,96,18,.4); }
.wc-card a:hover { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }

/* ---------- wallet identity ---------- */
.wc-wallet { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: start; }
.wc-wallet .wc-ens { font-family: var(--display); font-size: 18px; color: var(--ink);
  display: flex; align-items: center; gap: 10px; }
.wc-wallet .wc-ens .wc-dot { width: 9px; height: 9px; border-radius: 50%; background: #3fae5e;
  box-shadow: 0 0 8px rgba(63,174,94,.8); flex: none; }
.wc-kv { margin-top: 14px; display: grid; gap: 9px; }
.wc-kv .wc-row { display: flex; flex-direction: column; gap: 2px; }
.wc-kv .wc-k { font-family: var(--mono); font-size: 8px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.wc-kv .wc-v { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); word-break: break-all; }
.wc-chain-tag { display: inline-block; font-family: var(--mono); font-size: 8px; letter-spacing: .1em;
  text-transform: uppercase; padding: 2px 7px; border-radius: 4px; margin-left: 6px;
  background: var(--slot); color: var(--ink-soft); border: 1px solid var(--border); }

/* button row */
.wc-btns { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 4px; }
.wc-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 7px;
  font: 700 11px var(--font); cursor: pointer; text-decoration: none !important; border: 1px solid var(--gold-deep);
  background: var(--gold); color: #2a1d08; transition: transform .12s ease, box-shadow .2s ease; }
.wc-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px -4px rgba(54,40,18,.5); color: #2a1d08 !important; }
.wc-btn.is-ghost { background: var(--slot); color: var(--ink); }
.wc-btn.is-ghost:hover { color: var(--ink) !important; }
.wc-btn .wc-ext { font-family: var(--mono); font-size: 10px; opacity: .7; }

/* ---------- strategy blurbs ---------- */
.wc-strategy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wc-strat h3 { font-family: var(--display); font-size: 12px; color: var(--gold-deep); line-height: 1.4; }
.wc-strat p { margin-top: 12px; font-size: 12.5px; line-height: 1.6; color: var(--ink-soft); }
.wc-strat .wc-btns { margin-top: 15px; }
.wc-strat .wc-tag { font-family: var(--mono); font-size: 8px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700; }

/* ---------- matches ---------- */
.wc-next { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.wc-vs { display: flex; align-items: center; justify-content: center; gap: 16px; }
.wc-team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 92px; }
.wc-team .wc-flag { width: 52px; height: auto; border-radius: 3px; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.wc-team .wc-name { font-family: var(--font); font-weight: 700; font-size: 13px; color: var(--ink); text-align: center; }
.wc-vs .wc-mid { font-family: var(--display); font-size: 13px; color: var(--ink-faint); }
.wc-next .wc-meta { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); line-height: 1.7; }
.wc-next .wc-meta b { color: var(--ink); }

.wc-flag { width: 26px; height: auto; border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.3); vertical-align: middle; }
.wc-flag-tbd { display: inline-grid; place-items: center; width: 26px; height: 18px; font-size: 12px;
  background: var(--slot); border-radius: 2px; }

/* fixtures rail / list */
.wc-fixtures { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 16px; }
.wc-fix { background: var(--panel); border: 1px solid var(--border-strong); border-radius: 8px; padding: 11px 13px;
  display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.wc-fix .wc-fix-top { display: flex; justify-content: space-between; align-items: center; }
.wc-fix .wc-fix-date { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; color: var(--ink-faint); text-transform: uppercase; }
.wc-fix .wc-fix-teams { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12.5px; color: var(--ink); }
.wc-fix .wc-fix-teams .wc-sep { color: var(--ink-faint); font-weight: 400; }
.wc-fix .wc-fix-foot { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 9px; color: var(--ink-soft); }

/* prediction badges */
.wc-badge { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 9px;
  font-weight: 700; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.wc-badge.is-bet   { background: rgba(78,126,42,.18); color: #2f5d1c; border: 1px solid rgba(78,126,42,.5); }
.wc-badge.is-sim   { background: rgba(176,126,28,.16); color: #7a5512; border: 1px solid rgba(176,126,28,.5); }
.wc-badge.is-none  { background: var(--slot); color: var(--ink-faint); border: 1px solid var(--border); }
.wc-badge.is-win   { background: rgba(31,94,40,.2);  color: #1f5e28; border: 1px solid rgba(31,94,40,.55); }
.wc-badge.is-loss  { background: rgba(168,45,45,.16); color: #a82d2d; border: 1px solid rgba(168,45,45,.5); }

/* result chip on played games */
.wc-score { font-family: var(--mono); font-weight: 700; color: var(--ink); }

/* ---------- trades table ---------- */
.wc-table-wrap { overflow-x: auto; margin-top: 16px; border-radius: 10px; }
table.wc-table { width: 100%; border-collapse: collapse; background: var(--panel-strong); color: var(--ink);
  border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); font-size: 12px; }
.wc-table th { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase;
  text-align: left; padding: 11px 12px; color: var(--ink-faint); background: rgba(228,218,193,.55);
  border-bottom: 2px solid var(--border-strong); white-space: nowrap; }
.wc-table td { padding: 11px 12px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.wc-table tr:last-child td { border-bottom: none; }
.wc-table tr:hover td { background: rgba(255,241,198,.45); }
.wc-table .wc-num { font-family: var(--mono); text-align: right; white-space: nowrap; }
.wc-table .wc-pick { font-weight: 700; }
.wc-table .wc-note { color: var(--ink-soft); font-size: 11px; line-height: 1.5; max-width: 280px; }
.wc-method { font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 4px; border: 1px solid var(--border); }
.wc-method.is-auto { background: rgba(31,94,168,.12); color: #1f5ea8; border-color: rgba(31,94,168,.4); }
.wc-method.is-manual { background: var(--slot); color: var(--ink-soft); }
.wc-tx { font-family: var(--mono); font-size: 10px; }

/* outright + simulated */
.wc-outright { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; margin-top: 8px; }
.wc-sim-banner { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #7a5512;
  background: rgba(176,126,28,.16); border: 1px solid rgba(176,126,28,.5); padding: 6px 12px; border-radius: 6px; }
.wc-lessons { margin-top: 16px; display: grid; gap: 8px; }
.wc-lessons li { list-style: none; padding-left: 22px; position: relative; font-size: 12.5px; line-height: 1.6; color: var(--ink-soft); }
.wc-lessons li::before { content: '\25B8'; position: absolute; left: 4px; color: var(--gold-deep); }

/* loading / empty */
.wc-loading { color: #CFC5A8; font-family: var(--mono); font-size: 12px; padding: 18px 0; }

/* footer */
.wc-foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,217,136,.18);
  font-family: var(--mono); font-size: 10px; color: #9a906f; line-height: 1.8; }

/* responsive */
@media (max-width: 760px) {
  .wc-wallet, .wc-strategy { grid-template-columns: 1fr; }
  .wc-hero { padding-right: 0; }
  .wc-hero .wc-hero-ball { display: none; }
}
