/* ARCADE V4 — game clarity, table rules, open-duel controls */
html.av2 .av3-rules {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--av2-ui);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .10em;
  color: var(--av2-dim);
  border: 1px solid var(--av2-line);
  background: rgba(255,255,255,.025);
  border-radius: 999px;
  padding: 5px 9px;
  margin-left: auto;
  white-space: nowrap;
  max-width: 62%;
  overflow: hidden;
  text-overflow: ellipsis;
}
html.av2 #view-home .av2-duel-hero p { max-width: 84%; }
html.av2 .av3-myduel {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(198,255,74,.28);
  background: linear-gradient(90deg, rgba(198,255,74,.09), rgba(255,255,255,.025));
  border-radius: 14px;
  padding: 10px 12px;
  margin: 0 0 12px;
}
html.av2 .av3-myduel.on { display: flex; }
html.av2 .av3-myduel .av3-md-k {
  font-family: var(--av2-ui);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--av2-lime);
}
html.av2 .av3-myduel .av3-md-t {
  flex: 1;
  min-width: 0;
  font-family: var(--av2-display);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html.av2 .av3-myduel .av3-md-x {
  flex: none;
  border: 1px solid rgba(255,91,110,.4);
  background: rgba(255,91,110,.1);
  color: var(--av2-red);
  border-radius: 8px;
  padding: 6px 9px;
  font-family: var(--av2-ui);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
}
html.av2 .av3-detail {
  font-family: var(--av2-ui);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--av2-muted);
  margin-top: 7px;
  min-height: 13px;
}
html.av2 .av3-detail b { color: var(--av2-text); font-family: var(--av2-num); font-size: 16px; font-weight: 400; letter-spacing: .02em; }
html.av2 .av3-stage-card.done .av3-progress { opacity: .35; }

/* explicit rules block on pvp */
html.av2 .av3-pvp-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}
html.av2 .av3-pvp-rules span {
  font-family: var(--av2-ui);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--av2-muted);
  border: 1px solid var(--av2-line);
  background: rgba(255,255,255,.025);
  border-radius: 7px;
  padding: 5px 8px;
}
html.av2 .av3-pvp-rules b { color: var(--av2-text); }

/* casino game status tags */
html.av2 .vhead { flex-wrap: wrap; }
html.av2 .vhead h2 { flex: 0 0 auto; }
@media (max-width: 420px) {
  html.av2 .av3-rules { max-width: 100%; margin-left: 0; order: 4; }
  html.av2 #view-pvp .av3-rules { display: none; }
}

/* locked dice settle */
html.av2 .av3-dice.locked .av3-die {
  animation: none !important;
  transform: none !important;
  box-shadow: 0 0 0 2px rgba(198,255,74,.25), 0 14px 30px rgba(0,0,0,.45);
}
