:root {
  --accent: #f1c93c;
  --white: #ffffff;
  --gray: #f7f7f7;
  --border: #e5e5e5;
  --text: #222222;
  --heading: #1a1a1a;
}
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--gray);
  color: var(--text);
  min-height: 100vh;
}

.main-content {
  max-width: 700px;
  margin: 32px auto;
  background: var(--white);
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 80vh;
}
header {
  text-align: center;
}
.logo {
  height: 80px;
  margin-bottom: 1rem;
}
header h1 {
  font-size: 1.5rem;
  color: var(--heading);
  margin-bottom: 0.7rem;
  line-height: 1.3;
}
.meta {
  font-size: 1rem;
  color: var(--text);
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
}
.toc {
  background: var(--accent);
  border-radius: 7px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.2rem;
}
.toc h2 {
  margin: 0 0 0.8rem 0;
  color: var(--heading);
  font-size: 1.1rem;
}
.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc li {
  margin-bottom: 0.6em;
}
.toc a {
  color: var(--heading);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}
.toc a:hover {
  color: #b58a20;
}

.policy-content section {
  margin-bottom: 2rem;
}
.policy-content h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}
.policy-content p, .policy-content ul {
  color: var(--text);
  font-size: 1rem;
}
.policy-content ul {
  padding-left: 1.2em;
}

@media (max-width: 900px) {
  .main-content {
    padding: 1.2rem 0.5rem;
    max-width: 99vw;
  }
  .logo {
    height: 56px;
  }
}
.announcement-popup {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--accent);
  color: var(--heading);
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
  padding: 0.8em 2.3em 0.8em 1.3em;
  z-index: 2000;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  animation: fadeInPopup 0.5s;
  transition: opacity 0.3s;
}
.announcement-msg {
  margin-right: 1.2em;
}
.close-announcement {
  background: transparent;
  border: none;
  color: var(--heading);
  font-size: 1.35em;
  cursor: pointer;
  font-weight: bold;
  padding: 0 0.1em;
  margin-left: auto;
  line-height: 1;
  transition: color 0.2s;
}
.close-announcement:hover {
  color: #995c00;
}

@keyframes fadeInPopup {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}

@media (max-width: 600px) {
  .announcement-popup {
    bottom: 16px;
    right: 8px;
    left: 8px;
    font-size: 0.97em;
    padding-right: 1.1em;
  }
}