/* === SOURCE: css/234-v5595-playstyle-source-warning-style.css === */

/* AMP chooser: source checks use the same visual language as the PlayStyle page.
   Green = regular PlayStyle slot. Sand-gold = club facility. */
.fc27-amp-modal-choice{
  position:relative!important;
}
.fc27-amp-modal-choice.current{
  border-color:rgba(216,184,95,.42)!important;
  background:rgba(216,184,95,.055)!important;
  box-shadow:inset 0 0 0 1px rgba(216,184,95,.08)!important;
}
.fc27-amp-source-check{
  position:absolute;
  z-index:8;
  top:5px;
  width:16px;
  height:16px;
  display:grid;
  place-items:center;
  border:2px solid #0b1219;
  border-radius:50%;
  font-size:8px;
  line-height:1;
  font-weight:950;
  font-style:normal;
  box-shadow:0 2px 7px rgba(0,0,0,.27);
  pointer-events:auto;
}
.fc27-amp-source-check.regular{
  right:5px;
  background:#55b982;
  color:#07150e;
}
.fc27-amp-source-check.facility{
  right:24px;
  background:#d3ad58;
  color:#211a0c;
}

/* Facility page: active reward badge gets the same restrained red issue dot. */
.facility-ps-badge.has-ps-issue{
  position:relative!important;
}
.facility-ps-conflict-dot{
  position:absolute;
  z-index:6;
  right:-1px;
  top:-2px;
  width:9px;
  height:9px;
  border:2px solid #111923;
  border-radius:50%;
  background:#dc5b5b;
  box-shadow:0 2px 6px rgba(0,0,0,.28);
  pointer-events:none;
}
.facility-slot-foot .facility-ps-conflict-dot{
  right:0;
  top:-1px;
}
.facility-summary-playstyles .facility-ps-conflict-dot{
  right:1px;
  top:0;
}

/* === SOURCE: css/235-v5596-amp-representative-priority-style.css === */

.global-archetype-overview-card .ovc-ps-source-amp[data-amp-remove]{
  cursor:pointer!important;
}
.global-archetype-overview-card .ovc-ps-source-amp[data-amp-remove]::after{
  content:"AMP";
  position:absolute;
  z-index:7;
  left:50%;
  bottom:-5px;
  transform:translateX(-50%);
  padding:1px 3px;
  border-radius:999px;
  border:1px solid rgba(214,181,90,.26);
  background:rgba(19,17,12,.92);
  color:#d6b55a;
  font-size:5.5px;
  font-weight:900;
  line-height:1;
  letter-spacing:.03em;
  pointer-events:none;
  opacity:.78;
}
.global-archetype-overview-card .ovc-ps-source-amp[data-amp-remove]:hover::after{
  opacity:1;
}

/* === SOURCE: css/236-v5597-amp-interaction-repair-style.css === */

.global-archetype-overview-card .ovc-ps-source-amp[data-amp-remove]{
  cursor:pointer!important;
}
.global-archetype-overview-card .ovc-ps-source-amp[data-amp-remove]:hover{
  filter:brightness(1.13)!important;
}

/* === SOURCE: css/237-v5598-amp-silver-independent-style.css === */

/* Silver AMP keeps its own physical slot even when duplicated.
   Only the badge art is dimmed; the red issue dot stays vivid and clickable. */
.global-archetype-overview-card .ovc-ps-source-amp.is-inactive-duplicate{
  opacity:1!important;
  filter:none!important;
}
.global-archetype-overview-card .ovc-ps-source-amp.is-inactive-duplicate .overview-badge-shell{
  opacity:.34!important;
  filter:grayscale(.72) brightness(.68)!important;
  transition:opacity .14s ease,filter .14s ease!important;
}
.global-archetype-overview-card .ovc-ps-source-amp.is-inactive-duplicate:hover .overview-badge-shell{
  opacity:.46!important;
  filter:grayscale(.55) brightness(.78)!important;
}
.global-archetype-overview-card .ovc-ps-source-amp.is-inactive-duplicate .ovc-ps-issue-dot{
  opacity:1!important;
  filter:none!important;
}

/* === SOURCE: css/238-v5599-ap-calculator-validation-style.css === */

#diyPanel .diy-attr-row.is-below-minimum .diy-attr-input{
  color:#8b7370!important;
  border-color:rgba(184,105,96,.24)!important;
}
#diyPanel .diy-attr-row.is-below-minimum .diy-attr-copy::after{
  content:"低于有效范围";
  margin-left:5px;
  color:#8f6864;
  font-size:7px;
  font-weight:700;
}
