/* TR Privacy & Cookies IL — minimal, accessible, RTL-first */

#trpc-banner {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  display: none;
  z-index: 99999;
  background: #0b2239;
  color: #ffffff;
  padding: 14px 16px;
  border-top: 3px solid #2f80ed;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  font: 400 14px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

#trpc-banner .trpc-banner-text {
  flex: 1 1 320px;
  min-width: 260px;
}

#trpc-banner .trpc-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 260px;
}

#trpc-banner .trpc-link {
  color: #a7d0ff;
  text-decoration: underline;
}
#trpc-banner .trpc-link:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 2px;
}

.trpc-btn {
  cursor: pointer;
  border: 0;
  border-radius: 4px;
  padding: 8px 12px;
  font: inherit;
}
.trpc-btn:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.trpc-accept {
  background: #2f80ed;
  color: #fff;
}
.trpc-reject {
  background: #34495e;
  color: #fff;
}
.trpc-manage {
  background: #1f2d3d;
  color: #fff;
  border: 1px solid #5a6b7e;
}

#trpc-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 100000;
}

#trpc-modal {
  display: none;
  position: fixed;
  inset-inline-start: 50%;
  top: 10vh;
  transform: translateX(-50%);
  max-width: 560px;
  width: calc(100% - 32px);
  background: #ffffff;
  color: #1a1a1a;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  z-index: 100001;
  font: 400 15px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.trpc-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}
.trpc-modal-header h2 {
  margin: 0;
  font-size: 18px;
}
.trpc-close {
  background: transparent;
  border: 0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.trpc-close:focus {
  outline: 2px solid #2f80ed;
  border-radius: 4px;
}

.trpc-modal-body {
  padding: 12px 16px 0 16px;
}

.trpc-cat-list {
  list-style: none;
  margin: 12px 0 0 0;
  padding: 0 16px 0 0;
}
.trpc-cat-list li {
  margin: 10px 0;
}

.trpc-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 16px 16px 16px;
  border-top: 1px solid #e5e7eb;
}
.trpc-save {
  background: #2f80ed;
  color: #fff;
}
.trpc-save:focus {
  outline: 2px solid #2f80ed;
}

@media (