/* AUREA Conquest — single-field base game (patch #111).
   Dark navy shell with gold/purple neon frames, matching the
   site-wide visual standard. Field markers are simple symbols
   with level numbers (never character portraits at small size);
   the official eagle art appears large in the base panels. */
.cqf-section { margin: 18px auto 8px; max-width: 1180px; padding: 0 12px; }
.cqf-head { margin: 6px 0 12px; }
.cqf-title { font-size: 24px; font-weight: 800; color: #F5C542; margin: 0; }
.cqf-beta { font-size: 12px; vertical-align: super; color: #0A0F1E;
  background: linear-gradient(90deg, #FFD700, #B388FF); border-radius: 6px;
  padding: 1px 6px; font-weight: 800; }
.cqf-sub { color: #A7ACC2; margin: 4px 0 0; font-size: 14px; }
.cqf-soon { margin: 0; }
.cqf-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px;
  align-items: start; }
@media (max-width: 860px) { .cqf-layout { grid-template-columns: 1fr; } }
.cqf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 14px; }
@media (max-width: 860px) { .cqf-cols { grid-template-columns: 1fr; } }

.cqf-field { position: relative; width: 100%; aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 215, 0, .38); border-radius: 14px;
  background:
    radial-gradient(ellipse 90% 55% at 50% 108%, rgba(255, 138, 60, .16), rgba(255, 138, 60, 0) 60%),
    radial-gradient(circle at 28% 12%, rgba(139, 92, 246, .14), rgba(139, 92, 246, 0) 55%),
    repeating-linear-gradient(0deg, transparent, transparent calc(2.5% - 1px), rgba(232, 234, 246, .045) calc(2.5% - 1px), rgba(232, 234, 246, .045) 2.5%),
    repeating-linear-gradient(90deg, transparent, transparent calc(2.5% - 1px), rgba(232, 234, 246, .045) calc(2.5% - 1px), rgba(232, 234, 246, .045) 2.5%),
    linear-gradient(168deg, #17351F 0%, #10261A 30%, #0C1D26 62%, #0A0F1E 100%);
  box-shadow: 0 0 18px rgba(255, 215, 0, .15), inset 0 0 90px rgba(0, 0, 0, .55), inset 0 0 40px rgba(80, 40, 160, .22);
  overflow: hidden; }
.cqf-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.cqf-line { stroke-width: 0.24; stroke-dasharray: 0.7 0.5; opacity: .9; }
.cqf-line.out { stroke: #FFD700; }
.cqf-line.ret { stroke: #B388FF; }
.cqf-line.in { stroke: #FF4D4F; }
.cqf-marker { position: absolute; transform: translate(-50%, -62%);
  width: 44px; height: 48px; background: none; border: none;
  cursor: pointer; padding: 0; z-index: 2; }
.cqf-bld { width: 44px; height: 44px; display: block;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .5)); }
.cqf-marker:hover .cqf-bld { filter: brightness(1.18) drop-shadow(0 3px 3px rgba(0, 0, 0, .5)); }
.cqf-marker.cpu .cqf-bld { filter: saturate(.4) brightness(.8) drop-shadow(0 3px 3px rgba(0, 0, 0, .5)); }
.cqf-marker::after { content: ""; position: absolute; left: 50%; bottom: 3px;
  width: 40px; height: 13px; transform: translateX(-50%);
  border-radius: 50%; border: 2px solid transparent; pointer-events: none; }
.cqf-marker.mine::after { border-color: #FFD700;
  box-shadow: 0 0 10px rgba(255, 215, 0, .55), inset 0 0 8px rgba(255, 215, 0, .3);
  animation: cqfRingPulse 2.4s ease-in-out infinite; }
.cqf-marker.ally::after { border-color: #B388FF;
  box-shadow: 0 0 8px rgba(179, 136, 255, .5); }
.cqf-marker.sel::after { border-color: #FF4DD2;
  box-shadow: 0 0 12px rgba(255, 77, 210, .7); }
.cqf-marker.sel .cqf-bld { filter: brightness(1.22) drop-shadow(0 3px 3px rgba(0, 0, 0, .5)); }
@keyframes cqfRingPulse { 0%, 100% { opacity: .9; } 50% { opacity: .45; } }
.cqf-mk-lv { position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%); min-width: 20px; padding: 0 5px;
  border-radius: 999px; background: rgba(6, 8, 18, .88);
  border: 1px solid rgba(255, 215, 0, .65); color: #FFE98A;
  font-size: 11px; font-weight: 800; line-height: 15px; text-align: center; }
.cqf-marker.cpu .cqf-mk-lv { border-color: #39415F; color: #A7ACC2; }
.cqf-mk-cpu { position: absolute; top: -3px; left: -4px; font-size: 8px;
  font-weight: 800; letter-spacing: .4px; color: #0A0F1E;
  background: #8B90A5; border-radius: 4px; padding: 0 3px;
  line-height: 12px; }
.cqf-mk-flag { position: absolute; top: -6px; right: -3px;
  width: 12px; height: 14px; }
.cqf-mk-flag svg { width: 100%; height: 100%; display: block; }
.cqf-mk-sh { position: absolute; top: 0; right: 0; width: 9px; height: 9px;
  border-radius: 50%; background: #57E389; border: 1px solid #0A0F1E;
  z-index: 3; }
@media (max-width: 560px) { .cqf-marker { width: 32px; height: 36px; }
  .cqf-bld { width: 32px; height: 32px; }
  .cqf-marker::after { width: 30px; height: 10px; }
  .cqf-mk-lv { font-size: 10px; line-height: 13px; min-width: 17px; } }

.cqf-panelbox { border: 1px solid #39415F; border-radius: 14px;
  background: linear-gradient(170deg, rgba(27, 36, 80, .55), rgba(10, 15, 30, .85));
  box-shadow: 0 0 14px rgba(120, 70, 220, .18); padding: 14px; margin-top: 14px; }
.cqf-layout .cqf-panelbox:first-child { margin-top: 0; }
.cqf-h3 { font-size: 15px; color: #F5C542; margin: 16px 0 8px; font-weight: 800; }
.cqf-h3:first-child { margin-top: 0; }
.cqf-h3.cqf-danger { color: #FF8080; }
.cqf-mehead { display: flex; gap: 12px; align-items: center; }
.cqf-eagle { width: 64px; height: 64px; object-fit: contain; }
.cqf-eagle.big { width: 110px; height: 110px; }
.cqf-mename { font-size: 18px; font-weight: 800; color: #FFF; }
.cqf-melevel { color: #FFD700; font-weight: 700; }
.cqf-coord { color: #8B90A5; font-weight: 600; font-size: 12px; }
.cqf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.cqf-stat { border: 1px solid #39415F; border-radius: 10px; padding: 8px 10px;
  background: rgba(10, 15, 30, .6); }
.cqf-stat span { display: block; font-size: 11px; color: #A7ACC2; }
.cqf-stat strong { font-size: 20px; color: #FFF; }
.cqf-stored-top { display: flex; justify-content: space-between;
  align-items: center; color: #E8EAF6; font-size: 13px; margin-bottom: 6px; }
.cqf-bar { height: 10px; border-radius: 6px; background: #12172E;
  border: 1px solid #39415F; overflow: hidden; }
.cqf-bar > div { height: 100%;
  background: linear-gradient(90deg, #FFD700, #B388FF); }
.cqf-btn { border: 1px solid #39415F; background: #1B2450; color: #E8EAF6;
  border-radius: 10px; padding: 8px 12px; font-weight: 700; cursor: pointer;
  font-size: 13px; }
.cqf-btn:hover:not(:disabled) { border-color: #FFD700; }
.cqf-btn:disabled { opacity: .45; cursor: default; }
.cqf-btn.small { padding: 5px 9px; font-size: 12px; }
.cqf-btn.primary { background: linear-gradient(90deg, #8A6D00, #4A2B8F);
  border-color: #FFD700; color: #FFF; }
.cqf-btn.danger { border-color: #FF4D4F; }
.cqf-btnsub { display: block; font-size: 11.5px; font-weight: 600;
  color: #FFD700; margin-top: 2px; }
.cqf-upgrade { width: 100%; margin: 12px 0 4px; font-size: 15px; }
.cqf-maxlv { color: #57E389; font-weight: 700; font-size: 12.5px; }
.cqf-gated { color: #8B90A5; font-size: 12px; }
.cqf-rowline { display: flex; justify-content: space-between; gap: 8px;
  align-items: center; margin-top: 10px; color: #E8EAF6; font-size: 13px;
  flex-wrap: wrap; }
.cqf-shieldbtns { display: flex; gap: 6px; }
.cqf-fac { display: flex; justify-content: space-between; gap: 8px;
  align-items: center; padding: 6px 0; border-bottom: 1px dashed #232B52;
  color: #E8EAF6; font-size: 13.5px; }
.cqf-fac:last-child { border-bottom: none; }
.cqf-facname b { color: #FFD700; }
.cqf-train { display: inline-flex; gap: 6px; align-items: center; }
.cqf-train input, .cqf-fac input { width: 64px; background: #0A0F1E;
  border: 1px solid #39415F; border-radius: 8px; color: #FFF;
  padding: 5px 7px; font-size: 13px; }
.cqf-job { display: flex; justify-content: space-between; gap: 8px;
  padding: 5px 0; border-bottom: 1px dashed #232B52; color: #E8EAF6;
  font-size: 13px; }
.cqf-job:last-child { border-bottom: none; }
.cqf-cd { color: #B388FF; font-weight: 700; white-space: nowrap; }
.cqf-win { color: #57E389; } .cqf-lose { color: #FF8080; }
.cqf-note { color: #A7ACC2; font-size: 13px; }
.cqf-found { text-align: center; }
.cqf-found .cqf-btn { font-size: 15px; padding: 12px 22px; }
.cqf-tname { font-size: 17px; font-weight: 800; color: #FFF; }
.cqf-tkind { font-size: 11px; color: #0A0F1E; background: #B388FF;
  border-radius: 6px; padding: 1px 6px; vertical-align: middle; }
.cqf-trow { display: flex; justify-content: space-between; padding: 4px 0;
  color: #A7ACC2; font-size: 13.5px; border-bottom: 1px dashed #232B52; }
.cqf-trow b { color: #FFF; }
.cqf-targetbox .cqf-btn.primary { width: 100%; margin-top: 10px; }
.cqf-toast { position: fixed; left: 50%; bottom: 86px;
  transform: translateX(-50%); z-index: 99995;
  max-width: min(92vw, 520px); padding: 10px 16px; border-radius: 12px;
  font-weight: 700; font-size: 13.5px; color: #FFF; display: none;
  background: rgba(24, 60, 32, .96); border: 1px solid #57E389;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.cqf-toast.bad { background: rgba(120, 18, 24, .96); border-color: #FF4D4F; }

/* Improvement pass (#112): starter missions, level-gated locked
   teasers, and "in about …" hints. */
.cqf-mission { display: flex; justify-content: space-between; gap: 10px;
  align-items: center; padding: 7px 0;
  border-bottom: 1px dashed #232B52; }
.cqf-mission:last-of-type { border-bottom: none; }
.cqf-mission.done { opacity: .65; }
.cqf-mission-name { color: #FFF; font-weight: 700; font-size: 13.5px; }
.cqf-mission-desc { color: #A7ACC2; font-size: 12px; }
.cqf-mission-side { display: flex; align-items: center; gap: 8px;
  flex: none; }
.cqf-mission-reward { color: #FFD700; font-weight: 700; font-size: 12.5px;
  white-space: nowrap; }
.cqf-claimed { color: #57E389; font-weight: 700; font-size: 12.5px;
  white-space: nowrap; }
.cqf-locked { display: flex; align-items: center; gap: 10px;
  margin-top: 16px; border: 1px dashed #39415F; border-radius: 10px;
  padding: 10px 12px; color: #8B90A5; background: rgba(10, 15, 30, .45); }
.cqf-locked svg { width: 18px; height: 18px; flex: none; }
.cqf-locked-name { font-weight: 700; color: #A7ACC2; font-size: 13.5px; }
.cqf-locked-lv { margin-left: auto; color: #FFD700; font-weight: 700;
  font-size: 12.5px; white-space: nowrap; }
.cqf-hint { color: #B388FF; font-size: 12.5px; font-weight: 600;
  margin: 5px 0 2px; }
.cqf-attacklock { margin-top: 10px; color: #FFD700; font-weight: 600; }

/* Field design refresh (Part C): terrain dressing + assembly
   flag. Decorations sit under the bases and never take taps;
   the only animations are the assembly beam and the my-base
   ring, both transform/opacity only. */
.cqf-decor { position: absolute; inset: 0; overflow: hidden;
  pointer-events: none; z-index: 0; }
.cqf-decor-i { position: absolute; transform: translate(-50%, -50%);
  opacity: .5; display: block; }
.cqf-decor-i svg { width: 100%; height: auto; display: block; }
.cqf-assembly { position: absolute; transform: translate(-50%, -88%);
  display: flex; flex-direction: column; align-items: center;
  pointer-events: none; z-index: 60; }
.cqf-beam { width: 12px; height: 58px; margin-bottom: -6px;
  background: linear-gradient(to top, rgba(179, 136, 255, .65), rgba(179, 136, 255, 0));
  clip-path: polygon(38% 100%, 62% 100%, 88% 0, 12% 0);
  transform-origin: bottom center;
  animation: cqfBeam 2.6s ease-in-out infinite alternate; }
@keyframes cqfBeam { from { opacity: .5; transform: scaleY(.93); }
  to { opacity: 1; transform: scaleY(1); } }
.cqf-flag { width: 24px; height: 30px;
  filter: drop-shadow(0 0 6px rgba(139, 92, 246, .8)); }
.cqf-assembly-label { margin-top: 1px; font-size: 10px; font-weight: 800;
  color: #E4D6FF; background: rgba(30, 16, 66, .82);
  border: 1px solid rgba(179, 136, 255, .7); border-radius: 999px;
  padding: 0 6px; line-height: 15px; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .cqf-beam, .cqf-marker.mine::after { animation: none; }
}

/* Understandability pass: how-to guide, "next step" banner,
   facility effect previews, protected-amount line, exchange
   preview, and the scroll-target flash. */
.cqf-guide summary { cursor: pointer; color: #F5C542; font-weight: 800;
  font-size: 15px; }
.cqf-guide summary:hover { color: #FFD700; }
.cqf-guide-body { display: flex; gap: 14px; margin-top: 12px; }
.cqf-owl { width: 96px; height: 96px; object-fit: contain; flex: none;
  align-self: flex-start; }
@media (max-width: 560px) { .cqf-owl { width: 64px; height: 64px; } }
.cqf-guide-main { flex: 1; min-width: 0; }
.cqf-guide-purpose { color: #FFF; font-weight: 800; font-size: 15.5px;
  margin: 0 0 10px; }
.cqf-steps { display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap; margin-bottom: 10px; }
.cqf-step { display: flex; align-items: center; gap: 7px;
  border: 1px solid #39415F; border-radius: 10px; padding: 7px 9px;
  background: rgba(10, 15, 30, .6); color: #E8EAF6;
  font-size: 12.5px; font-weight: 700; }
.cqf-step-ic { color: #FFD700; display: inline-flex; }
.cqf-step-ic svg { width: 18px; height: 18px; display: block; }
.cqf-step-n { width: 17px; height: 17px; border-radius: 50%; flex: none;
  background: linear-gradient(90deg, #FFD700, #B388FF); color: #0A0F1E;
  font-size: 11px; font-weight: 800; line-height: 17px;
  text-align: center; }
.cqf-step-arrow { color: #FFD700; font-weight: 800; }
.cqf-rules { margin: 0; padding-left: 18px; color: #A7ACC2;
  font-size: 13px; }
.cqf-rules li { margin: 3px 0; }
.cqf-nextstep { display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left; border: 1px solid #FFD700;
  border-radius: 12px; padding: 11px 13px; margin-bottom: 14px;
  cursor: pointer; color: #FFF;
  background: linear-gradient(90deg, rgba(255, 215, 0, .16), rgba(139, 92, 246, .16));
  box-shadow: 0 0 12px rgba(255, 215, 0, .22); }
.cqf-nextstep:hover { border-color: #FFE98A; }
.cqf-next-label { flex: none; font-size: 11px; font-weight: 800;
  color: #0A0F1E; background: linear-gradient(90deg, #FFD700, #B388FF);
  border-radius: 999px; padding: 2px 8px; }
.cqf-next-text { font-size: 15px; font-weight: 800; }
.cqf-next-arrow { margin-left: auto; color: #FFD700; font-weight: 800; }
.cqf-facefx { display: block; font-size: 11.5px; color: #8B90A5;
  font-weight: 600; margin-top: 1px; }
.cqf-protect { color: #A7ACC2; font-size: 12.5px; margin-top: 6px; }
.cqf-protect b { color: #FFE98A; }
.cqf-expv { color: #FFD700; font-weight: 700; font-size: 13px;
  white-space: nowrap; }
.cqf-flash { animation: cqfFlash 1.6s ease-in-out; border-radius: 10px; }
@keyframes cqfFlash { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
  25%, 60% { box-shadow: 0 0 0 2px #FFD700, 0 0 16px rgba(255, 215, 0, .6); } }
@media (prefers-reduced-motion: reduce) { .cqf-flash { animation: none; } }

/* Icon pass: single-symbol line marks to the LEFT of every
   label (labels are never replaced). One size family across
   all rows; color is currentColor, tinted gold on the dark
   data rows and inherited (gold/red) in section headings. */
.cqf-ic { width: 20px; height: 20px; display: inline-block;
  vertical-align: -5px; margin-right: 6px; }
.cqf-h3 .cqf-ic { width: 19px; height: 19px; vertical-align: -4px;
  margin-right: 7px; }
.cqf-facname .cqf-ic, .cqf-rowline .cqf-ic, .cqf-protect .cqf-ic,
.cqf-stored-top .cqf-ic, .cqf-stat .cqf-ic,
.cqf-mission-name .cqf-ic, .cqf-trow .cqf-ic { color: #F5C542; }
.cqf-facname { min-width: 0; }
.cqf-btn .cqf-ic { width: 15px; height: 15px; vertical-align: -3px;
  margin-right: 5px; }
.cqf-upgrade .cqf-ic { width: 19px; height: 19px;
  vertical-align: -4px; color: #FFE98A; }
.cqf-guide summary .cqf-ic { width: 19px; height: 19px;
  vertical-align: -4px; }
.cqf-locked .cqf-ic { color: #A7ACC2; }
.cqf-locked-lv { display: inline-flex; align-items: center; gap: 5px; }
.cqf-locked-lv svg { width: 14px; height: 14px; flex: none; }
.cqf-next-ic { display: inline-flex; flex: none; color: #FFD700; }
.cqf-next-ic .cqf-ic { width: 22px; height: 22px; margin-right: 0;
  vertical-align: 0; }
@media (max-width: 560px) {
  .cqf-ic { width: 18px; height: 18px; margin-right: 5px; }
  .cqf-btn .cqf-ic { width: 14px; height: 14px; }
  .cqf-next-ic .cqf-ic { width: 20px; height: 20px; }
}

/* Legacy city maps + practice mode: kept functional, demoted
   behind a disclosure so the field game is the front. */
.cq-legacy { max-width: 1180px; margin: 26px auto 0; padding: 0 12px; }
.cq-legacy > summary { cursor: pointer; color: #A7ACC2; font-weight: 700;
  border: 1px dashed #39415F; border-radius: 10px; padding: 10px 14px;
  list-style: none; }
.cq-legacy > summary:hover { color: #FFD700; border-color: #FFD700; }
