:root{
  --tmrgpd-bg:#111827;
  --tmrgpd-fg:#ffffff;
  --tmrgpd-muted:#cbd5e1;
  --tmrgpd-border:rgba(255,255,255,.12);
  --tmrgpd-btn:#ffffff;
  --tmrgpd-btn-fg:#111827;
  --tmrgpd-danger:#ef4444;
}

.tmrgpd-banner{
  position:fixed;
  left:16px; right:16px;
  z-index:999999;
  background:var(--tmrgpd-bg);
  color:var(--tmrgpd-fg);
  border:1px solid var(--tmrgpd-border);
  border-radius:14px;
  padding:14px;
  box-shadow:0 18px 50px rgba(0,0,0,.25);
  display:flex;
  gap:14px;
  align-items:flex-start;
  justify-content:space-between;
}
.tmrgpd-bottom{ bottom:16px; }
.tmrgpd-top{ top:16px; }

.tmrgpd-left{ flex:1; min-width:240px; }
.tmrgpd-title{ font-weight:700; margin-bottom:6px; font-size:15px; }
.tmrgpd-text{ font-size:13px; line-height:1.4; color:var(--tmrgpd-muted); }
.tmrgpd-links{ margin-top:10px; display:flex; flex-wrap:wrap; gap:10px; }
.tmrgpd-links a{ color:#93c5fd; font-size:12px; text-decoration:none; }
.tmrgpd-links a:hover{ text-decoration:underline; }

.tmrgpd-right{ display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; }
.tmrgpd-btn{
  border:0;
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
  font-weight:600;
  font-size:13px;
}
.tmrgpd-accept{ background:var(--tmrgpd-btn); color:var(--tmrgpd-btn-fg); }
.tmrgpd-reject{ background:transparent; color:var(--tmrgpd-fg); border:1px solid var(--tmrgpd-border); }
.tmrgpd-customize{ background:transparent; color:var(--tmrgpd-fg); border:1px solid var(--tmrgpd-border); }

.tmrgpd-modal{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:16px;
  background:rgba(0,0,0,.55);
}
.tmrgpd-modal.tmrgpd-open{ display:flex; }

.tmrgpd-modal-box{
  width:min(680px, 100%);
  background:#0b1220;
  color:#fff;
  border-radius:16px;
  border:1px solid var(--tmrgpd-border);
  box-shadow:0 24px 70px rgba(0,0,0,.35);
  padding:16px;
}
.tmrgpd-modal-title{ font-weight:800; font-size:16px; margin-bottom:12px; }

.tmrgpd-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border:1px solid var(--tmrgpd-border);
  border-radius:14px;
  margin-bottom:10px;
}
.tmrgpd-row-head{ flex:1; }
.tmrgpd-desc{ margin-top:6px; font-size:12px; color:var(--tmrgpd-muted); }
.tmrgpd-toggle{ display:flex; align-items:center; gap:10px; min-width:120px; justify-content:flex-end; }
.tmrgpd-lock{ font-weight:800; padding:6px 10px; border-radius:999px; background:rgba(34,197,94,.15); color:#86efac; border:1px solid rgba(34,197,94,.35); font-size:12px; }

.tmrgpd-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
  margin-top:12px;
}
.tmrgpd-save{ background:var(--tmrgpd-btn); color:var(--tmrgpd-btn-fg); }
.tmrgpd-close{ background:transparent; color:var(--tmrgpd-fg); border:1px solid var(--tmrgpd-border); }

.tmrgpd-manage{
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:999998;
  background:#0b1220;
  color:#fff;
  border:1px solid var(--tmrgpd-border);
  border-radius:999px;
  padding:10px 12px;
  font-weight:700;
  font-size:12px;
  cursor:pointer;
}
.tmrgpd-manage:hover{ filter:brightness(1.05); }

/* Switch */
.tmrgpd-toggle input[type="checkbox"]{ position:absolute; opacity:0; }
.tmrgpd-switch{
  width:44px; height:26px;
  display:inline-flex;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  border:1px solid var(--tmrgpd-border);
  padding:2px;
  cursor:pointer;
  align-items:center;
}
.tmrgpd-switch span{
  width:22px; height:22px;
  border-radius:999px;
  background:#fff;
  transform:translateX(0);
  transition:transform .15s ease;
}
.tmrgpd-toggle input[type="checkbox"]:checked + .tmrgpd-switch{
  background:rgba(34,197,94,.25);
  border-color:rgba(34,197,94,.35);
}
.tmrgpd-toggle input[type="checkbox"]:checked + .tmrgpd-switch span{
  transform:translateX(18px);
}

/* Mobile */
@media (max-width: 640px){
  .tmrgpd-banner{ flex-direction:column; }
  .tmrgpd-right{ width:100%; justify-content:stretch; }
  .tmrgpd-btn{ width:100%; }
  .tmrgpd-manage{ right:12px; bottom:12px; }
}


.tmrgpd-modal-links{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.tmrgpd-modal-links a{
  color:#93c5fd;
  font-size:12px;
  text-decoration:none;
}
.tmrgpd-modal-links a:hover{ text-decoration:underline; }
