:root {
  --notice-accent: #e7682a;
  --notice-ink: #34261f;
  --notice-surface: #fff8e8;
}

.pontime-notice {
  margin: auto;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  box-sizing: border-box;
  padding: clamp(18px, 5vw, 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 3px solid var(--notice-accent);
  border-radius: 20px;
  background: var(--notice-surface);
  color: var(--notice-ink);
  font: 16px/1.8 "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
.pontime-notice::backdrop { background: rgb(20 15 10 / 55%); }
.pontime-notice h2 { margin: 0 0 16px; font-size: 24px; }
.pontime-notice__close, .pontime-notice__demo {
  display: inline-block;
  margin: 12px 8px 0 0;
  padding: 10px 18px;
  border: 1px solid var(--notice-accent);
  border-radius: 12px;
  background: #fff;
  color: var(--notice-ink);
  font: inherit;
  cursor: pointer;
}
.pontime-notice__demo { background: var(--notice-accent); color: #fff; text-decoration: none; }
.pontime-notice__updates {
  margin: 20px 0 8px;
  padding-top: 18px;
  border-top: 1px solid #ecdcc1;
}
.pontime-notice__updates p { margin: 0 0 14px; font-size: 14px; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.social-links .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  box-sizing: border-box;
  border: 1px solid #e3ddd6;
  border-radius: 12px;
  background: #fff;
  color: #292522;
  font: 700 14px/1.2 "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  text-decoration: none;
  transition: border-color 160ms, box-shadow 160ms;
}
.social-link img { display: block; width: 22px; height: 22px; flex-shrink: 0; }
.social-links .social-link:hover { border-color: #7b7167; box-shadow: 0 3px 10px rgb(52 38 31 / 10%); }
.social-links .social-link--line:hover { border-color: #06c755; }
.social-link:focus-visible { outline: 3px solid var(--notice-accent); outline-offset: 3px; }
.site-footer__contact .social-links { margin: 4px 0 8px; }
.site-footer__contact .social-link { flex-direction: column; min-width: 60px; padding: 10px 8px; gap: 6px; }
.pontime-notice__updates[hidden] { display: none; }
.launch-announcement, .demo-fiction-notice {
  margin: 16px auto;
  padding: 16px 20px;
  max-width: 1080px;
  background: var(--notice-surface);
  border-left: 5px solid var(--notice-accent);
  color: var(--notice-ink);
  line-height: 1.7;
}
.demo-fiction-notice { font-weight: 700; }
/* 既存レイアウトのdisplay指定より、受付停止・案内の非表示を優先する。 */
[data-launch-form][hidden], [data-prelaunch-only][hidden], .pontime-notice__demo[hidden] { display: none; }
