.acfp-frontend{ max-width: 1100px; margin: 0 auto; }
.acfp-stage{ position:relative; border:1px solid #e5e7eb; border-radius: 14px; overflow:hidden; background:#0b1220; }
.acfp-img{ width:100%; height:auto; display:block; }
.acfp-svg{ position:absolute; inset:0; width:100%; height:100%; }

.acfp-shape{
  cursor:pointer;
  stroke: rgba(15,23,42,.35);
  stroke-width: 1.5;
  fill: rgba(27,179,92,1);
  transition: filter .15s ease, stroke .15s ease, fill-opacity .15s ease;
}
.acfp-shape:hover{ filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.acfp-shape.free{ fill: #1bb35c; }
.acfp-shape.reserved{ fill: #f0b400; }
.acfp-shape.sold{ fill: #d13b3b; }
.acfp-shape.selected{ stroke: rgba(37,99,235,.95); stroke-width: 3; }

.acfp-controls{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap:12px;
  padding: 10px 2px;
}
.acfp-legend{ display:flex; gap:8px; flex-wrap: wrap; }
.acfp-pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border-radius:999px;
  font-size: 13px;
  border:1px solid #e5e7eb;
  background:#fff;
}
.acfp-pill.free::before, .acfp-pill.reserved::before, .acfp-pill.sold::before{
  content:""; width:10px; height:10px; border-radius:50%;
}
.acfp-pill.free::before{ background:#1bb35c; }
.acfp-pill.reserved::before{ background:#f0b400; }
.acfp-pill.sold::before{ background:#d13b3b; }

.acfp-opacity-wrap{ display:flex; align-items:center; gap:10px; }
.acfp-opacity-wrap label{ font-size: 13px; color:#334155; }
.acfp-opacity{ width: 180px; }

.acfp-modal{ position: fixed; inset:0; display:none; z-index: 99999; }
.acfp-modal.open{ display:block; }
.acfp-modal-backdrop{ position:absolute; inset:0; background: rgba(0,0,0,.55); }
.acfp-modal-card{
  position: absolute;
  left:50%; top:50%;
  transform: translate(-50%,-50%);
  width:min(520px, calc(100% - 24px));
  background:#fff;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.acfp-close{
  position:absolute; right:10px; top:8px;
  border:none; background:transparent; font-size: 26px; line-height: 1; cursor:pointer;
}
.acfp-modal-body h3{ margin: 6px 0 10px 0; }
.acfp-meta{ display:grid; gap:6px; font-size: 14px; color:#0f172a; }
.acfp-excerpt{ color:#475569; margin: 10px 0 0 0; }
body.acfp-modal-open{ overflow:hidden; }
