/* v5.22 — Modifier Opt-In styles */

.vfl-twist-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  justify-content: center;
}

.vfl-twist-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  color: #ccc;
  border-radius: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
}
.vfl-twist-btn:hover {
  background: rgba(255, 230, 0, 0.12);
  border-color: rgba(255, 230, 0, 0.5);
  color: #ffe14d;
}
.vfl-twist-btn.active {
  background: linear-gradient(135deg, rgba(255, 214, 10, 0.2) 0%, rgba(255, 149, 0, 0.2) 100%);
  border: 1px solid #ffd60a;
  color: #ffd60a;
}
.vfl-twist-btn .twist-ico {
  font-size: 14px;
}

/* Picker overlay */
.vfl-twist-picker {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  padding: 20px;
}
.vfl-twist-picker.show {
  opacity: 1;
  pointer-events: auto;
}

.twist-picker-card {
  background: #14171c;
  border-radius: 16px;
  padding: 28px;
  max-width: 720px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  position: relative;
}

.twist-picker-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: #888;
  font-size: 22px;
  cursor: pointer;
}
.twist-picker-close:hover { color: #fff; }

.twist-picker-head {
  font-family: 'Anton', 'Inter', sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: #ffd60a;
  text-align: center;
  margin-bottom: 6px;
}
.twist-picker-sub {
  text-align: center;
  color: #999;
  font-size: 13px;
  margin-bottom: 22px;
}

.twist-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.twist-mod {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 14px 12px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.14s ease;
  font-family: inherit;
}
.twist-mod:hover {
  background: rgba(255, 214, 10, 0.1);
  border-color: rgba(255, 214, 10, 0.45);
  transform: translateY(-1px);
}

.twist-mod-label {
  font-family: 'Anton', 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #ffd60a;
  margin-bottom: 4px;
}
.twist-mod-desc {
  font-size: 11.5px;
  color: #bbb;
  line-height: 1.35;
}

.twist-picker-foot {
  margin-top: 18px;
  text-align: center;
}

.twist-clear {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #aaa;
  padding: 8px 16px;
  border-radius: 18px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}
.twist-clear:hover { color: #fff; border-color: #fff; }

@media (max-width: 600px) {
  .twist-picker-card { padding: 20px; }
  .twist-picker-grid { grid-template-columns: 1fr; }
}
