.sakura-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border-top: 1px solid #e7e5e4;
  box-shadow: 0 -6px 20px -8px rgba(0, 0, 0, 0.18);
  font-family: 'Noto Sans JP', system-ui, sans-serif;
  color: #44403c;
}

.sakura-consent-text {
  flex: 1 1 auto;
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0;
}

.sakura-consent-link {
  color: #e11d48;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.sakura-consent-link:hover {
  color: #be123c;
}

.sakura-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 0.6rem;
  align-items: stretch;
  flex: 0 0 auto;
}

.sakura-consent-btn {
  flex: 1 1 0;
  min-width: 8rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  border-radius: 0.5rem;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sakura-consent-btn-accept {
  background: #e11d48;
  color: #ffffff;
  border: 2px solid #e11d48;
}

.sakura-consent-btn-accept:hover {
  background: #be123c;
  border-color: #be123c;
}

.sakura-consent-btn-reject {
  background: #ffffff;
  color: #44403c;
  border: 2px solid #d6d3d1;
}

.sakura-consent-btn-reject:hover {
  border-color: #a8a29e;
  background: #fafaf9;
}

.sakura-consent-btn:focus-visible {
  outline: 2px solid #e11d48;
  outline-offset: 2px;
}

.sakura-consent-reopen {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 9000;
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  font-size: 1.25rem;
  line-height: 1;
  border: 1px solid #e7e5e4;
  border-radius: 9999px;
  background: #ffffff;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.sakura-consent-reopen:hover {
  background: #fafaf9;
}

.sakura-consent-reopen:focus-visible {
  outline: 2px solid #e11d48;
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .sakura-consent-banner {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 0.85rem 1.5rem;
  }

  .sakura-consent-actions {
    align-items: center;
  }

  .sakura-consent-btn {
    flex: 0 0 auto;
    min-width: 9rem;
  }
}
