/* ==========================================================================
   MMO11 — FETİH PAGE (hub view #hubViewConquest) — a full-screen tabletop board
   The map fills the game window over a painted sea; every club's land has a thick outline in a darker shade of its
   colour, the player's own a glowing gold one; a club's crest marks its stadium. Over the board: the top bar (back, title, time, tries, Ödüller,
   Sıralama), the banner of the moment, the player's own chip (bottom left) and the tapped province (bottom centre).
   Ödüller / Sıralama are in-window panels (.cq-panel, GameWindow.createPanel). Text colours explicit everywhere.
   ========================================================================== */
#hubViewConquest { position: relative; }
#conquestPage.cq-on {
  position: absolute; inset: 0; max-width: none; margin: 0; padding: 0; gap: 0;
}

.cq-board {
  position: absolute; inset: 0; overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, #dff3fc 0%, #b8e1f4 55%, #93cde9 100%);
}
.cq-map { position: absolute; inset: 64px 12px 70px; width: calc(100% - 24px); height: calc(100% - 134px); }

/* ---------------------------------------------------------------- provinces */
.cq-prov { stroke: rgba(10, 18, 32, 0.55); stroke-width: 0.8; stroke-linejoin: round; cursor: pointer; }
.cq-prov:hover { filter: brightness(1.12); }
.cq-mark { fill: none; stroke-linejoin: round; }
.cq-mark.can { stroke: #ffffff; stroke-width: 1.6; stroke-dasharray: 5 3; }
.cq-mark.battle { stroke: #dc2626; stroke-width: 3.5; }
.cq-mark.sel { stroke: #ffffff; stroke-width: 4; }
.cq-label {
  font: 800 11px 'Rajdhani', sans-serif; fill: #ffffff; letter-spacing: 0.02em;
  paint-order: stroke; stroke: rgba(8, 14, 26, 0.85); stroke-width: 3px;
}
.cq-label.mine { fill: #fff3c4; font-size: 12px; }

/* ---------------------------------------------------------------- overlay UI */
.cq-ui { position: absolute; left: 0; right: 0; pointer-events: none; zoom: var(--cq-zoom, 1); }
.cq-ui > * { pointer-events: auto; }
.cq-ui-top { top: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 14px 0; }
.cq-ui-bottom { bottom: 0; display: flex; align-items: flex-end; justify-content: center; padding: 0 14px 12px; }

.cq-top {
  align-self: stretch; display: flex; align-items: center; gap: 14px; padding: 6px 10px; border-radius: 16px;
  background: rgba(10, 16, 30, 0.82); border: 1px solid rgba(255, 213, 74, 0.35); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}
.cq-top .ep-back { flex: 0 0 auto; }
.cq-brand { display: flex; align-items: center; gap: 8px; }
.cq-brand img { width: 52px; height: auto; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5)); }
.cq-brand b { display: block; font-size: 26px; line-height: 1; font-weight: 900; color: #ffffff; }
.cq-brand span { font-size: 13px; font-weight: 700; color: #ffd54a; }
.cq-top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.cq-tries {
  display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center;
  padding: 4px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
}
.cq-tries span { font-size: 12px; font-weight: 700; color: #cbd5e1; }
.cq-tries b { font-size: 18px; color: #ffffff; justify-self: end; }
.cq-tries small { font-size: 11px; color: #cbd5e1; justify-self: end; }
.cq-dots { display: flex; gap: 4px; }
.cq-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.cq-dots i.on { background: #ffd54a; box-shadow: 0 0 6px rgba(255, 213, 74, 0.7); }
.cq-tbtn {
  border: 0; border-radius: 12px; padding: 10px 18px; font: 800 16px 'Rajdhani', sans-serif; cursor: pointer;
  color: #1f1400; background: linear-gradient(180deg, #ffe27a, #f5b700); box-shadow: 0 4px 0 #b07f00;
}
.cq-tbtn:active { transform: translateY(2px); box-shadow: 0 2px 0 #b07f00; }
.cq-tbtn.cq-help { width: 44px; padding: 10px 0; font-size: 20px; }

.cq-banner {
  display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-radius: 999px; color: #ffffff;
  background: rgba(10, 16, 30, 0.88); border: 1px solid rgba(255, 255, 255, 0.18);
}
.cq-banner b { font-size: 16px; color: #ffffff; }
.cq-banner span { font-size: 14px; color: #cbd5e1; }
.cq-banner.live { border-color: rgba(34, 197, 94, 0.7); }
.cq-banner.lost { border-color: rgba(239, 68, 68, 0.7); background: rgba(69, 10, 10, 0.9); }
.cq-banner.done { border-color: rgba(255, 213, 74, 0.7); }
.cq-live-dot { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #ffffff; background: #dc2626; }

.cq-btn { border: 0; border-radius: 12px; padding: 10px 20px; font: 800 16px 'Rajdhani', sans-serif; cursor: pointer; color: #ffffff; }
.cq-btn.green { background: linear-gradient(180deg, #22c55e, #15803d); }
.cq-btn.warm { background: linear-gradient(180deg, #fb923c, #dc2626); box-shadow: 0 4px 0 #8f1d1d; }
.cq-btn.blue { background: linear-gradient(180deg, #3e8ef7, #1d5fc4); box-shadow: 0 4px 0 #123f85; }
.cq-btns { display: flex; gap: 8px; }
.cq-btns .cq-btn { flex: 1; }
.cq-power { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 8px; font-size: 14px; color: #cbd5e1; }
.cq-power b { color: #ffffff; }
.cq-btn:disabled { opacity: 0.5; cursor: default; }

.cq-me {
  position: absolute; left: 14px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 8px 14px;
  border-radius: 14px; background: rgba(10, 16, 30, 0.85); border: 2px solid #ffd54a; color: #ffffff;
}
.cq-me i { width: 18px; height: 18px; border-radius: 5px; box-shadow: 0 0 0 2px #ffd54a; }
.cq-me b { display: block; font-size: 16px; color: #ffffff; }
.cq-me span { font-size: 13px; color: #fde68a; }

.cq-hint { padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 700; color: #ffffff; background: rgba(10, 16, 30, 0.75); }
.cq-pick {
  position: relative; width: 340px; padding: 12px 16px; border-radius: 16px; color: #e2e8f0;
  background: rgba(10, 16, 30, 0.92); border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}
.cq-pick-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding-right: 30px; }
.cq-pick-head img { width: 56px; height: auto; }
.cq-pick h3 { margin: 0 0 2px; font-size: 21px; color: #ffffff; }
.cq-owner { display: flex; align-items: center; gap: 7px; font-size: 15px; color: #e2e8f0; }
.cq-owner i { width: 13px; height: 13px; border-radius: 4px; }
.cq-owner span { font-size: 13px; color: #94a3b8; }
.cq-stake { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: #ffd54a; }
.cq-why { margin: 0; font-size: 14px; color: #fca5a5; }
.cq-fight { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: #f87171; }
.cq-pick-head img { border-radius: 50%; background: #ffffff; padding: 3px; box-sizing: border-box; }
.cq-x {
  position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 10px;
  font-size: 22px; line-height: 1; cursor: pointer; color: #e2e8f0; background: rgba(255, 255, 255, 0.1);
}

.cq-closed { padding: 30px; border-radius: 18px; text-align: center; font-size: 16px; color: #1f2937; background: #ffffff; }

/* ---------------------------------------------------------------- panels (Ödüller / Sıralama) */
.cq-panel { position: absolute; inset: 0; z-index: 9996; display: none; align-items: center; justify-content: center; background: rgba(4, 8, 18, 0.7); }
.cq-panel-card {
  zoom: var(--cq-zoom, 1); width: min(480px, 92%); max-height: 86%; overflow-y: auto; box-sizing: border-box; padding: 16px 18px;
  border-radius: 18px; color: #e2e8f0; background: #101a2e; border: 2px solid #ffd54a; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}
.cq-panel-head { position: relative; margin-bottom: 10px; }
.cq-panel-head h3 { margin: 0; font-size: 22px; font-weight: 900; color: #ffd54a; }
.cq-panel-head .cq-x { top: -4px; right: -6px; }
.cq-panel-sub { margin: 0 0 10px; font-size: 14px; color: #cbd5e1; }
.cq-panel-card h4 { margin: 14px 0 6px; font-size: 16px; color: #ffffff; }
.cq-prizes, .cq-feed, .cq-table { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cq-prizes li { display: flex; align-items: center; gap: 10px; }
.cq-place { width: 46px; font-weight: 800; color: #ffd54a; }
.cq-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cq-table li { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; font-size: 15px; color: #e2e8f0; background: rgba(255, 255, 255, 0.04); }
.cq-table li.me { background: rgba(255, 213, 74, 0.14); border: 1px solid rgba(255, 213, 74, 0.5); }
.cq-table li.fallen { opacity: 0.5; }
.cq-rank { width: 22px; text-align: center; font-weight: 800; color: #cbd5e1; }
.cq-dot { width: 13px; height: 13px; border-radius: 50%; flex: 0 0 auto; }
.cq-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #ffffff; }
.cq-name em { font-style: normal; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 6px; color: #1f2937; background: #ffd54a; }
.cq-regions { font-weight: 800; color: #ffffff; white-space: nowrap; }
.cq-feed li { font-size: 14px; color: #cbd5e1; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); }
.cq-feed li b { color: #ffffff; }
.cq-feed li.good { border-left: 3px solid #22c55e; }
.cq-feed li.bad { border-left: 3px solid #ef4444; }
.cq-steps { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cq-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.cq-steps b { display: block; font-size: 17px; color: #ffffff; }
.cq-steps p { margin: 2px 0 0; font-size: 14px; color: #cbd5e1; }
.cq-step { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 18px; color: #1f1400; background: #ffd54a; }
