html, body {
  cursor: url('/images/cursor-normal.png'), auto;
}
a, button, summary, input[type='button'] {
  cursor: url('/images/cursor-hover.png'), pointer;
}
#site-title {
  font-size: 2.25rem;
  overflow-wrap: anywhere;
}
#site-info {
  text-align: center;
}
#site-subtitle {
  font-size: 1rem;
}
.blog-write-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  margin-top: 18px;
  padding: 6px 16px;
  border: 1px solid #fffc;
  border-radius: 4px;
  background: #0003;
  color: white;
  font-size: 14px;
  text-decoration: none;
}
.blog-write-link:hover {
  background: #fff;
  color: #18764b;
}
.blog-write-link:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}
/* One fixed wallpaper beneath both header and content on every page. */
#web_bg {
  opacity: 1 !important;
  animation: none !important;
}
#page-header {
  background-image: none !important;
  background-color: transparent !important;
}
#page-header:not(.not-top-img)::before {
  background-color: transparent !important;
}
#web_bg::before {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, .35);
  content: '';
}
#recent-posts > .recent-post-item,
#aside-content .card-widget,
.layout > div:first-child {
  border-radius: 8px;
}
.blog-music {
  margin-top: 20px;
  padding: 16px 24px;
  background: var(--card-bg);
  color: var(--font-color);
  border-radius: 8px;
  box-shadow: 0 2px 8px #0002;
}
.blog-music summary {
  font-size: 12px;
  cursor: pointer;
}
.blog-music audio {
  display: block;
  width: 100%;
  height: 32px;
  margin-top: 8px;
}
.blog-decoration {
  position: fixed;
  bottom: 98px;
  width: 110px;
  z-index: 5;
  pointer-events: none;
}
.blog-decoration.left { left: 8px; }
.blog-decoration.right { right: 8px; }
.blog-petal {
  position: fixed;
  top: -20px;
  width: 12px;
  height: 12px;
  background: #ffb7c5;
  border-radius: 12px 0;
  opacity: .7;
  pointer-events: none;
  z-index: 4;
  animation: blog-fall 8s linear forwards;
}
@keyframes blog-fall {
  to { transform: translate(50px, 105vh) rotate(360deg); }
}
#article-container mjx-container {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}
@media (max-width: 768px) {
  #site-title { font-size: 1.75rem; }
  #nav .site-name { font-size: 1rem; }
  .blog-decoration { display: none; }
  .blog-music { padding: 16px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-petal { display: none; }
}
