.privacy-panel,
.privacy-settings {
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

.privacy-panel[hidden] { display: none; }
.privacy-close[hidden] { display: none; }

.privacy-panel {
  position: fixed;
  z-index: 10000;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  width: min(680px, calc(100% - 36px));
  padding: 22px;
  color: #f6f7f8;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(14, 16, 19, .97);
  box-shadow: 0 18px 70px rgba(0, 0, 0, .52);
}

.privacy-panel-copy { min-width: 0; }
.privacy-panel-copy > span { color: #ff6b64; font-size: .64rem; font-weight: 760; text-transform: uppercase; }
.privacy-panel-copy h2 { margin: 7px 0 0; font-size: 1.05rem; line-height: 1.2; font-weight: 650; }
.privacy-panel-copy p { margin: 9px 0 0; color: #b9bdc4; font-size: .78rem; line-height: 1.55; }
.privacy-panel-copy a { display: inline-block; margin-top: 10px; color: #dfe2e7; border-bottom: 1px solid #676d75; font-size: .69rem; text-decoration: none; }
.privacy-panel-copy a:hover,
.privacy-panel-copy a:focus-visible { color: #fff; border-color: #ff6b64; }

.privacy-panel-actions { display: flex; flex-direction: column; justify-content: center; gap: 8px; width: 156px; }
.privacy-panel-actions button,
.privacy-close,
.privacy-settings { cursor: pointer; }
.privacy-panel-actions button { min-height: 40px; padding: 0 14px; border-radius: 5px; font: inherit; font-size: .7rem; font-weight: 720; }
.privacy-accept { color: #fff; border: 1px solid #b91f25; background: #b91f25; }
.privacy-accept:hover { background: #9f181e; }
.privacy-reject { color: #d7dbe0; border: 1px solid #555b63; background: transparent; }
.privacy-reject:hover { color: #fff; border-color: #858c95; }
.privacy-panel button:focus-visible,
.privacy-settings:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.privacy-close {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 30px;
  height: 30px;
  padding: 0;
  color: #8d939b;
  border: 0;
  background: transparent;
  font: 400 1.15rem/1 Arial, sans-serif;
}
.privacy-close:hover { color: #fff; }

.privacy-settings {
  position: fixed;
  z-index: 9998;
  left: 14px;
  bottom: 12px;
  padding: 7px 9px;
  color: #858b93;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 4px;
  background: rgba(10, 11, 13, .84);
  font-size: .59rem;
}
.privacy-settings:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }

.privacy-document {
  min-width: 320px;
  margin: 0;
  color: #e9ebee;
  background: #0b0c0e;
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}
.privacy-document * { box-sizing: border-box; }
.privacy-document a { color: inherit; }
.privacy-document-header,
.privacy-document-main,
.privacy-document-footer { width: min(880px, calc(100% - 40px)); margin: 0 auto; }
.privacy-document-header { display: flex; align-items: center; justify-content: space-between; min-height: 68px; border-bottom: 1px solid #30343a; }
.privacy-document-brand { color: #fff; font-size: .78rem; font-weight: 760; text-decoration: none; text-transform: uppercase; }
.privacy-document-brand small { display: block; color: #858b93; font-size: .58rem; }
.privacy-document-language { display: flex; align-items: center; gap: 12px; color: #858b93; font-size: .68rem; }
.privacy-document-language a[aria-current="page"] { color: #fff; }
.privacy-document-language .privacy-document-back {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-right: 4px;
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .78);
  font-size: 20px;
  line-height: 1;
  transition: color 160ms ease, transform 160ms ease;
}
.privacy-document-language .privacy-document-back:hover,
.privacy-document-language .privacy-document-back:focus-visible { color: #fff; transform: translateX(-2px); }
.privacy-document-main { padding: 66px 0 72px; }
.privacy-document-main > span { color: #ff6b64; font-size: .66rem; font-weight: 760; text-transform: uppercase; }
.privacy-document-main h1 { max-width: 720px; margin: 10px 0 0; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.04; font-weight: 610; }
.privacy-document-lead { max-width: 690px; margin: 20px 0 45px; color: #adb2b9; }
.privacy-document-section { padding: 25px 0; border-top: 1px solid #30343a; }
.privacy-document-section h2 { margin: 0; font-size: 1.05rem; font-weight: 650; }
.privacy-document-section p,
.privacy-document-section li { color: #aeb3ba; font-size: .88rem; }
.privacy-document-section p { margin: 9px 0 0; }
.privacy-document-section ul { margin: 10px 0 0; padding-left: 20px; }
.privacy-document-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.privacy-document-actions a,
.privacy-document-actions button { min-height: 40px; padding: 9px 14px; border: 1px solid #555b63; border-radius: 5px; color: #f3f4f6; background: transparent; cursor: pointer; font: inherit; font-size: .72rem; font-weight: 700; text-decoration: none; }
.privacy-document-actions a:hover,
.privacy-document-actions button:hover { border-color: #e43236; }
.privacy-document-footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 34px; color: #737981; border-top: 1px solid #30343a; font-size: .66rem; }

@media (max-width: 640px) {
  .privacy-panel { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .privacy-panel-actions { width: 100%; }
  .privacy-panel-actions button { width: 100%; }
  .privacy-document-main { padding-top: 46px; }
  .privacy-document-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-panel,
  .privacy-settings { scroll-behavior: auto; }
}
