.cookies-notice {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 22px;
  border: 1px solid #34435e;
  border-radius: 16px;
  background: #111a2a;
  color: #f3f7ff;
  box-shadow: 0 12px 36px #0006;
  font: 14px/1.5 system-ui, sans-serif;
}

.cookies-notice-copy {
  flex: 1;
  min-width: 0;
}

.cookies-notice-copy strong {
  display: block;
  font-size: 16px;
}

.cookies-notice-copy p {
  margin: 6px 0 0;
  color: #bec9dc;
}

.cookies-notice-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 16px;
}

.cookies-notice-actions a,
.cookies-legal-footer a {
  color: #84ddff;
  text-underline-offset: 3px;
}

.cookies-notice-actions button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #61cbed;
  border-radius: 10px;
  background: #83ddf9;
  color: #061021;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookies-notice-actions button:hover {
  background: #b8edff;
}

.cookies-notice :focus-visible,
.cookies-legal-footer :focus-visible,
.cookies-storage-table-wrap:focus-visible {
  outline: 3px solid #8be2ff;
  outline-offset: 3px;
}

.cookies-legal-footer {
  padding: 20px;
  text-align: center;
  font: 14px/1.5 system-ui, sans-serif;
}

.cookies-storage-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--line, #34435e);
  border-radius: 12px;
}

.cookies-storage-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 14px;
}

.cookies-storage-table th,
.cookies-storage-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line, #34435e);
  text-align: left;
  vertical-align: top;
}

.cookies-storage-table th {
  color: var(--text, #f3f7ff);
  background: #142036;
}

.cookies-storage-table td {
  color: var(--muted, #bec9dc);
}

.cookies-storage-table tr:last-child td {
  border-bottom: 0;
}

.cookies-storage-table code {
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .cookies-notice {
    right: 12px;
    bottom: 12px;
    left: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    padding: 16px;
  }

  .cookies-notice-actions {
    justify-content: space-between;
  }
}
