/* Dostluk Turnuvası card in Genel Sohbet (chatCupCard.js) — small and plain (owner 2026-11-05). AGENTS.md §4.2. */
.ccc-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: min(580px, 55%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3%, 40px);
  box-sizing: border-box;
  pointer-events: none;
}
.ccc-card {
  pointer-events: auto;
  width: 100%;
  max-width: 340px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  color: #ffffff;
  background: #0f172a;
  border: 1.5px solid rgba(250, 204, 21, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.ccc-head { display: flex; align-items: center; gap: 12px; }
.ccc-trophy { width: 48px; height: 48px; flex-shrink: 0; }
.ccc-trophy svg { width: 100%; height: 100%; }
.ccc-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ccc-title { font-size: 20px; font-weight: 900; line-height: 1.15; }
.ccc-sub { font-size: 15px; color: #cbd5e1; }
.ccc-sub b { color: #fde68a; }
.ccc-prize { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: #94a3b8; }
.ccc-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 14px; font-weight: 900; color: #ffffff; }
.ccc-btn {
  width: 100%;
  min-height: 46px;
  border: none;
  border-radius: 12px;
  font-size: 19px;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  cursor: pointer;
}
.ccc-btn:active { transform: scale(0.98); }
.ccc-btn.ghost { background: linear-gradient(135deg, #38bdf8, #0284c7); }

/* narrow window: the chat is full width — a strip on top of the chat */
.ccc-strip { display: none; }
@container game (max-width: 1100px) {
  .ccc-zone { display: none !important; }
  .ccc-strip { display: block; padding: 8px 14px; background: #1e293b; border-bottom: 1px solid rgba(250, 204, 21, 0.35); }
  .ccc-strip[style*="display: none"] { display: none !important; }
}
.ccc-strip-in { display: flex; align-items: center; gap: 10px; }
.ccc-strip-trophy { width: 34px; height: 34px; flex-shrink: 0; }
.ccc-strip-trophy svg { width: 100%; height: 100%; }
.ccc-strip-text { flex: 1; min-width: 0; display: flex; flex-direction: column; color: #fff; font-size: 16px; }
.ccc-strip-text small { font-size: 13px; color: #cbd5e1; }
.ccc-strip-text small b { color: #fde68a; }
.ccc-strip .ccc-btn { width: auto; min-height: 40px; padding: 0 18px; font-size: 17px; }
