/* MahjongSolitaire.cz — GDPR cookie consent (Warm tile) */
#ms-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  background: #4a3428;
  color: #f3ebe0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
  font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

#ms-cookie-banner .ms-cc-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 18px 18px;
}

#ms-cookie-banner .ms-cc-text {
  margin: 0 0 12px;
}

#ms-cookie-banner .ms-cc-text a {
  color: #f3ebe0;
  text-decoration: underline;
  font-weight: 600;
}

#ms-cookie-banner .ms-cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

#ms-cookie-banner button,
#ms-cookie-settings button,
.ms-gd-gate button {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  border: 2px solid transparent;
  padding: 8px 14px;
  line-height: 1.2;
}

#ms-cookie-banner .ms-cc-accept {
  background: #c45c26;
  color: #fff;
  border-color: #c45c26;
}

#ms-cookie-banner .ms-cc-accept:hover {
  background: #a84c1e;
  border-color: #a84c1e;
}

#ms-cookie-banner .ms-cc-reject {
  background: transparent;
  color: #f3ebe0;
  border-color: #f3ebe0;
}

#ms-cookie-banner .ms-cc-reject:hover {
  background: rgba(243, 235, 224, 0.12);
}

#ms-cookie-banner .ms-cc-details {
  background: transparent;
  color: #f3ebe0;
  border: none;
  text-decoration: underline;
  padding: 8px 6px;
  font-weight: 600;
}

#ms-cookie-banner .ms-cc-panel {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(243, 235, 224, 0.25);
}

#ms-cookie-banner .ms-cc-cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

#ms-cookie-banner .ms-cc-cat:last-child {
  margin-bottom: 0;
}

#ms-cookie-banner .ms-cc-cat strong {
  display: block;
  margin-bottom: 2px;
}

#ms-cookie-banner .ms-cc-cat span {
  display: block;
  font-size: 13px;
  opacity: 0.9;
}

#ms-cookie-banner .ms-cc-toggle {
  flex-shrink: 0;
  margin-top: 2px;
}

#ms-cookie-banner .ms-cc-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #c45c26;
  cursor: pointer;
}

#ms-cookie-banner .ms-cc-toggle input:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

#ms-cookie-banner .ms-cc-save {
  margin-top: 10px;
  background: #c45c26;
  color: #fff;
  border-color: #c45c26;
}

#ms-cookie-settings {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 99999;
}

#ms-cookie-settings button {
  background: #4a3428;
  color: #f3ebe0;
  border: 2px solid #c45c26;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  padding: 7px 12px;
  font-size: 13px;
}

#ms-cookie-settings button:hover {
  background: #5a4030;
}

.ms-gd-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  min-height: 280px;
  width: 100%;
  padding: 24px 18px;
  background: #f3ebe0;
  color: #4a3428;
  border: 2px solid #4a3428;
  border-radius: 8px;
  font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.ms-gd-gate p {
  margin: 0 0 14px;
  max-width: 420px;
}

.ms-gd-gate .ms-gd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.ms-gd-gate button {
  background: #c45c26;
  color: #fff;
  border-color: #c45c26;
}

.ms-gd-gate button.ms-gd-settings {
  background: transparent;
  color: #4a3428;
  border-color: #4a3428;
}

@media (max-width: 600px) {
  #ms-cookie-banner .ms-cc-inner {
    padding: 14px 14px 16px;
  }

  #ms-cookie-banner .ms-cc-actions {
    flex-direction: column;
    align-items: stretch;
  }

  #ms-cookie-banner button {
    width: 100%;
  }

  #ms-cookie-settings {
    left: 8px;
    bottom: 8px;
  }
}
