:root {
  --bg-app: #F7F5FB;
  --bg-raised: #FFFFFF;
  --surface-lavender: #B8A6FF;
  --surface-sky: #9EC9F0;
  --surface-mint: #7DD4A8;
  --surface-peach: #FFB59E;
  --surface-pink: #F5B8D0;
  --surface-lemon: #F5D77A;
  --action-primary: #FF7A6B;
  --action-on: #FFFFFF;
  --text-strong: #2E2A3F;
  --text-muted: #6B6580;
  --border-color: #C9B5FF;
  --r-card: 28px;
  --r-button: 18px;
  --r-chip: 999px;
  --r-input: 16px;
  --nav-height: 58px;
  --shadow-white: 8px 8px 22px rgba(140,108,255,0.16), -8px -8px 20px rgba(255,255,255,0.85), inset 3px 3px 6px rgba(255,255,255,0.7), inset -5px -5px 10px rgba(140,108,255,0.10);
  --shadow-sm: 4px 4px 12px rgba(140,108,255,0.18), -3px -3px 10px rgba(255,255,255,0.7);
  --shadow-pressed: inset 4px 4px 8px rgba(140,108,255,0.20), inset -4px -4px 8px rgba(255,255,255,0.75);
  --shadow-coral: 8px 8px 22px rgba(230,90,75,0.35), -6px -6px 18px rgba(255,255,255,0.6), inset 3px 3px 6px rgba(255,255,255,0.5), inset -5px -5px 10px rgba(230,90,75,0.30);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
body {
  font-family: 'Quicksand', 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-strong);
  background: transparent;
  max-width: 860px;
  margin: 0 auto;
  padding: 84px 18px 40px;
  overflow-x: hidden;
}
.bg-fixed-layer {
  position: fixed;
  inset: 0;
  background-color: var(--bg-app);
  z-index: -2;
}
.navbar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 1176px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  background: var(--bg-raised);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-white);
  z-index: 100;
}
.nav-back-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--bg-app);
  color: var(--text-strong);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.15s ease, color 0.15s ease;
}
.nav-back-icon:hover {
  color: var(--action-primary);
  transform: translateX(-2px);
}
.nav-back-icon:active {
  box-shadow: var(--shadow-pressed);
  transform: scale(0.94);
}
.nav-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-strong);
}
.page-header {
  text-align: center;
  padding: 8px 0 22px;
}
.page-header h1 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-strong);
}
.updated-at {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 16px;
  border-radius: var(--r-chip);
  background: var(--surface-sky);
  color: #123a5c;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.content-card {
  background: var(--bg-raised);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-white);
  padding: 22px 24px;
  margin-bottom: 18px;
}
.content-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 12px;
  padding-bottom: 9px;
  position: relative;
}
.content-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  border-radius: var(--r-chip);
  background: var(--action-primary);
}
.content-card p {
  color: var(--text-muted);
  margin-bottom: 10px;
}
.content-card p:last-child {
  margin-bottom: 0;
}
.content-card > ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.content-card > ul > li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
}
.content-card > ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--surface-lavender);
  box-shadow: 0 0 0 3px rgba(184,166,255,0.25);
}
.rules-box {
  background: var(--bg-app);
  border-radius: var(--r-input);
  padding: 10px;
  box-shadow: var(--shadow-pressed);
}
.rules-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rules-box li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg-raised);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.rules-box li svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.rules-box li strong {
  color: var(--text-strong);
  font-weight: 700;
}
.site-footer {
  margin-top: 2rem;
  padding: 24px 12px;
  background: transparent;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 24px;
}
.footer-brand-name {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-strong);
}
.footer-brand-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.15s ease;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.footer-links a:hover {
  background: transparent;
  color: var(--action-primary);
}
.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}
@media (min-width: 769px) {
  body {
    padding: 96px 24px 56px;
  }
  .page-header h1 {
    font-size: 2.3rem;
  }
  .content-card {
    padding: 28px 32px;
  }
  .content-card h2 {
    font-size: 1.2rem;
  }
}