/* Yellow Duck cnblogs Clay cream theme
   Optional: replace AVATAR_IMAGE_URL with your uploaded avatar image URL. */
:root {
  --yd-primary: #0a0a0a;
  --yd-ink: #171717;
  --yd-body: #3a3a3a;
  --yd-muted: #6a6a6a;
  --yd-muted-soft: #9a9a9a;
  --yd-canvas: #fffaf0;
  --yd-surface-soft: #faf5e8;
  --yd-surface-card: #f5f0e0;
  --yd-surface-strong: #ebe6d6;
  --yd-hairline: #e6decd;
  --yd-pink: #ff4d8b;
  --yd-teal: #1a3a3a;
  --yd-lavender: #b8a4ed;
  --yd-peach: #ffb084;
  --yd-ochre: #e8b94a;
  --yd-mint: #a4d4c5;
  --yd-coral: #ff6b5a;
  --yd-radius-sm: 8px;
  --yd-radius-md: 12px;
  --yd-radius-lg: 16px;
  --yd-radius-xl: 24px;
  --yd-shadow-soft: 0 18px 45px rgba(88, 72, 42, 0.08);
  --yd-pixel-shadow: 4px 4px 0 rgba(10, 10, 10, 0.08);
}

html,
body {
  min-height: 100%;
  margin: 0;
  color: var(--yd-body);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 176, 132, 0.24), transparent 24%),
    radial-gradient(circle at 86% 8%, rgba(184, 164, 237, 0.22), transparent 24%),
    radial-gradient(circle at 70% 72%, rgba(164, 212, 197, 0.22), transparent 28%),
    var(--yd-canvas);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black, transparent 76%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.9) 0 7px, rgba(210, 225, 245, 0.36) 8px, rgba(255, 255, 255, 0.16) 13px, transparent 18px),
    radial-gradient(circle at 34% 8%, rgba(255, 255, 255, 0.74) 0 4px, rgba(210, 225, 245, 0.28) 5px, transparent 11px),
    radial-gradient(circle at 62% 22%, rgba(255, 255, 255, 0.82) 0 6px, rgba(210, 225, 245, 0.3) 7px, transparent 15px),
    radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.78) 0 9px, rgba(210, 225, 245, 0.32) 10px, rgba(255, 255, 255, 0.12) 16px, transparent 22px),
    radial-gradient(circle at 22% 58%, rgba(255, 255, 255, 0.7) 0 6px, rgba(210, 225, 245, 0.24) 7px, transparent 15px),
    radial-gradient(circle at 72% 68%, rgba(255, 255, 255, 0.76) 0 7px, rgba(210, 225, 245, 0.26) 8px, transparent 17px),
    radial-gradient(circle at 46% 78%, rgba(255, 255, 255, 0.66) 0 5px, rgba(210, 225, 245, 0.22) 6px, transparent 13px),
    radial-gradient(circle at 92% 44%, rgba(255, 255, 255, 0.72) 0 6px, rgba(210, 225, 245, 0.22) 7px, transparent 15px);
  background-size: 540px 420px, 460px 360px, 620px 500px, 520px 440px, 600px 480px, 480px 380px, 560px 460px, 500px 420px;
  opacity: 0.68;
  filter: drop-shadow(0 5px 12px rgba(180, 158, 118, 0.16)) drop-shadow(0 0 10px rgba(210, 225, 245, 0.22));
  animation: ydSnowDrift 34s linear infinite;
}

a {
  color: var(--yd-primary);
  text-decoration: underline;
  text-decoration-color: rgba(10, 10, 10, 0.2);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--yd-coral);
  text-decoration-color: currentColor;
}

#top_nav,
#top_nav_under,
#cnblogs_c1,
#cnblogs_c2,
#ad_t2,
#under_post_news,
#under_post_kb,
#HistoryToday,
#green_channel,
#author_profile,
#blog-calendar,
#sidebar_search,
#sidebar_recentcomments,
#sidebar_topviewedposts,
#sidebar_topcommentedposts,
#sidebar_topdiggedposts {
  display: none !important;
}

#home {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto 64px;
  background: transparent;
}

#header {
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#blogTitle {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 82px 20px 54px;
}

#blogTitle::before {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 999px;
  content: "YD";
  color: var(--yd-primary);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent),
    url("AVATAR_IMAGE_URL") center / cover no-repeat,
    linear-gradient(135deg, var(--yd-peach), var(--yd-lavender) 48%, var(--yd-mint));
  box-shadow: var(--yd-pixel-shadow);
  font-size: 25px;
  font-weight: 700;
}

#blogTitle h1,
#blogTitle h1 a {
  margin: 0;
  color: var(--yd-primary) !important;
  font-size: clamp(38px, 5.6vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-decoration: none;
}

#blogTitle h2,
#blogStats,
#blog_stats,
.blogStats,
#profile_block,
#blogTitle .desc_img {
  display: none !important;
}

#navigator {
  position: fixed !important;
  box-sizing: border-box !important;
  top: 92px !important;
  left: 0 !important;
  z-index: 50 !important;
  width: 198px !important;
  min-height: 0;
  padding: 12px 12px 12px 14px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-left: 0;
  border-radius: 0 var(--yd-radius-xl) var(--yd-radius-xl) 0;
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 12px 18px 45px rgba(88, 72, 42, 0.12);
  backdrop-filter: blur(18px);
  overflow: visible !important;
  transform: translateX(calc(-100% - 1px)) !important;
  transition: transform 180ms ease;
}

#navigator::before {
  position: absolute;
  top: 24px;
  right: -10px !important;
  width: 10px !important;
  height: 92px;
  border-radius: 0 999px 999px 0;
  content: "";
  background: linear-gradient(180deg, var(--yd-pink), var(--yd-ochre), var(--yd-mint));
  box-shadow: 4px 4px 0 rgba(10, 10, 10, 0.08);
}

#navigator:hover,
#navigator:focus-within,
#navigator.yd-nav-open {
  transform: translateX(0) !important;
}

body.yd-impact-active #navigator,
body.yd-impact-active #navigator:hover,
body.yd-impact-active #navigator:focus-within {
  transform: translateX(calc(-100% - 1px)) !important;
}

#navList {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
}

#navList li {
  float: none;
  list-style: none;
}

#navList a {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid var(--yd-hairline);
  border-radius: var(--yd-radius-md);
  color: var(--yd-primary) !important;
  background: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: left;
  text-decoration: none;
  white-space: normal;
}

#navList li:nth-child(1) a { background: rgba(255, 77, 139, 0.13); }
#navList li:nth-child(2) a { background: rgba(184, 164, 237, 0.2); }
#navList li:nth-child(3) a { background: rgba(255, 176, 132, 0.22); }
#navList li:nth-child(4) a { background: rgba(164, 212, 197, 0.22); }
#navList li:nth-child(5) a { background: rgba(232, 185, 74, 0.22); }

#navList a:hover {
  border-color: rgba(10, 10, 10, 0.16);
  background: var(--yd-primary);
  color: #fff !important;
}

#main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: 28px;
  align-items: start;
}

#mainContent,
#sideBar {
  float: none;
  width: auto;
}

#mainContent .forFlow,
.day,
.entrylistPost {
  padding: 36px 38px;
  border: 1px solid var(--yd-hairline);
  border-radius: var(--yd-radius-xl);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--yd-shadow-soft);
}

.day,
.entrylistPost {
  margin: 0;
}

.day + .day,
.entrylistPost + .entrylistPost {
  margin-top: 32px;
}

.post,
#post_detail {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#sideBarMain {
  position: sticky;
  top: 28px;
  padding: 18px;
  border: 1px solid var(--yd-hairline);
  border-radius: var(--yd-radius-xl);
  background: rgba(250, 245, 232, 0.82);
  box-shadow: var(--yd-shadow-soft);
}

.newsItem .catListTitle,
.catListTitle,
#sideBar h3 {
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--yd-hairline);
  color: var(--yd-primary);
  font-size: 15px;
  font-weight: 600;
}

.yd-profile-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.yd-profile-card__avatar {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: var(--yd-primary);
  background:
    url("AVATAR_IMAGE_URL") center / cover no-repeat,
    linear-gradient(135deg, var(--yd-peach), var(--yd-lavender), var(--yd-mint));
  box-shadow: var(--yd-pixel-shadow);
  font-size: 14px;
  font-weight: 700;
}

.yd-profile-card__body strong {
  display: block;
  color: var(--yd-primary);
  font-size: 16px;
  font-weight: 600;
}

.yd-profile-card__body span {
  display: block;
  margin-top: 4px;
  color: var(--yd-muted);
  font-size: 12px;
  line-height: 1.5;
}

.yd-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
}

.yd-tag-cloud span,
.yd-tag-cloud a {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--yd-primary);
  background: var(--yd-surface-card);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.yd-tag-cloud a:hover {
  color: #fff;
  background: var(--yd-primary);
}

.yd-tag-cloud span:nth-child(1),
.yd-tag-cloud a:nth-child(1) { background: rgba(255, 77, 139, 0.15); }
.yd-tag-cloud span:nth-child(2),
.yd-tag-cloud a:nth-child(2) { background: rgba(26, 58, 58, 0.14); }
.yd-tag-cloud span:nth-child(3),
.yd-tag-cloud a:nth-child(3) { background: rgba(184, 164, 237, 0.24); }
.yd-tag-cloud span:nth-child(4),
.yd-tag-cloud a:nth-child(4) { background: rgba(255, 176, 132, 0.26); }
.yd-tag-cloud span:nth-child(5),
.yd-tag-cloud a:nth-child(5) { background: rgba(232, 185, 74, 0.26); }
.yd-tag-cloud span:nth-child(6),
.yd-tag-cloud a:nth-child(6) { background: rgba(164, 212, 197, 0.28); }

.yd-side-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0;
}

.yd-side-links a {
  display: block;
  padding: 9px 10px;
  border: 1px solid var(--yd-hairline);
  border-radius: var(--yd-radius-md);
  color: var(--yd-primary);
  background: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.yd-side-links a:hover {
  color: #fff;
  background: var(--yd-primary);
}

.yd-note-card {
  margin: 0;
  padding: 14px 15px;
  border-radius: var(--yd-radius-lg);
  color: var(--yd-body);
  background: rgba(255, 176, 132, 0.18);
  font-size: 13px;
  line-height: 1.7;
}

.yd-note-card p {
  margin: 0;
}

.postTitle,
.entrylistPosttitle,
#cb_post_title_url {
  color: var(--yd-primary) !important;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.postTitle,
.entrylistPosttitle {
  margin: 0 0 12px;
}

.postDesc + .postTitle {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--yd-hairline);
}

.postTitle a,
.entrylistPosttitle a {
  color: inherit !important;
  text-decoration: none;
}

.postTitle a:hover,
.entrylistPosttitle a:hover,
#cb_post_title_url:hover {
  color: var(--yd-coral) !important;
}

.postBody,
#cnblogs_post_body,
.entrylistPostSummary {
  color: var(--yd-body);
  font-size: 16px;
  line-height: 1.78;
}

.postCon,
.entrylistPostSummary {
  margin: 0 0 14px;
}

#cnblogs_post_body h1,
#cnblogs_post_body h2,
#cnblogs_post_body h3,
.postBody h1,
.postBody h2,
.postBody h3 {
  margin-top: 1.65em;
  color: var(--yd-primary);
  font-weight: 500;
  letter-spacing: -0.025em;
}

#cnblogs_post_body h2,
.postBody h2 {
  padding-bottom: 9px;
  border-bottom: 1px solid var(--yd-hairline);
}

#cnblogs_post_body blockquote,
.postBody blockquote {
  margin: 20px 0;
  padding: 18px 20px;
  border: 1px solid rgba(232, 185, 74, 0.32);
  border-radius: var(--yd-radius-lg);
  color: var(--yd-body);
  background: rgba(232, 185, 74, 0.16);
}

#cnblogs_post_body pre,
.postBody pre {
  position: relative;
  overflow: auto;
  padding: 42px 20px 20px;
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: var(--yd-radius-lg);
  color: #243042;
  background: #fff7e8 !important;
  box-shadow: 4px 4px 0 rgba(10, 10, 10, 0.08);
}

#cnblogs_post_body pre::before,
.postBody pre::before {
  position: absolute;
  top: 15px;
  left: 18px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  content: "";
  background: var(--yd-pink);
  box-shadow: 15px 0 0 var(--yd-ochre), 30px 0 0 var(--yd-mint);
}

#cnblogs_post_body code,
.postBody code {
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--yd-primary);
  background: rgba(245, 240, 224, 0.9);
}

#cnblogs_post_body pre code,
.postBody pre code {
  padding: 0;
  color: #243042 !important;
  background: transparent !important;
}

#cnblogs_post_body pre *,
.postBody pre *,
.cnblogs_code *,
.hljs {
  background: transparent !important;
}

#cnblogs_post_body .hljs-keyword,
#cnblogs_post_body .hljs-built_in,
#cnblogs_post_body .hljs-selector-tag,
.postBody .hljs-keyword,
.postBody .hljs-built_in,
.postBody .hljs-selector-tag {
  color: #7b4fc9 !important;
}

#cnblogs_post_body .hljs-string,
#cnblogs_post_body .hljs-title,
#cnblogs_post_body .hljs-name,
.postBody .hljs-string,
.postBody .hljs-title,
.postBody .hljs-name {
  color: #1f7a62 !important;
}

#cnblogs_post_body .hljs-comment,
#cnblogs_post_body .hljs-quote,
.postBody .hljs-comment,
.postBody .hljs-quote {
  color: #8a7b61 !important;
}

#cnblogs_post_body .hljs-number,
#cnblogs_post_body .hljs-literal,
#cnblogs_post_body .hljs-attr,
.postBody .hljs-number,
.postBody .hljs-literal,
.postBody .hljs-attr {
  color: #c46a2d !important;
}

#cnblogs_post_body .hljs-class,
#cnblogs_post_body .hljs-function,
#cnblogs_post_body .hljs-variable,
.postBody .hljs-class,
.postBody .hljs-function,
.postBody .hljs-variable {
  color: #245f9c !important;
}

.postDesc,
.entrylistItemPostDesc,
#post-date,
#post_view_count,
#post_comment_count {
  color: var(--yd-muted) !important;
  font-size: 13px;
}

.postDesc,
.entrylistItemPostDesc {
  display: block;
  margin-top: 12px;
  line-height: 1.6;
}

.pager a,
.pager span.current,
#homepage_top_pager a,
#homepage_bottom_pager a {
  display: inline-block;
  margin: 4px;
  padding: 8px 12px;
  border: 1px solid var(--yd-hairline);
  border-radius: var(--yd-radius-md);
  color: var(--yd-primary);
  background: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}

.yd-page-dots {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.yd-page-dots i {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 1) 0 28%, rgba(242, 247, 255, 0.86) 46%, rgba(210, 225, 245, 0.32) 70%, transparent 100%);
  box-shadow: 0 10px 22px rgba(180, 158, 118, 0.18), 0 0 24px rgba(255, 255, 255, 0.82), 0 0 18px rgba(210, 225, 245, 0.38);
  animation: ydSnowPuffFloat 7s ease-in-out infinite;
}

.yd-page-dots i:nth-child(1) { top: 118px; left: 16%; width: 14px; height: 14px; }
.yd-page-dots i:nth-child(2) { top: 172px; left: 78%; width: 18px; height: 18px; animation-delay: -1.8s; animation-duration: 8.5s; }
.yd-page-dots i:nth-child(3) { top: 350px; left: 8%; width: 12px; height: 12px; animation-delay: -3.2s; animation-duration: 9s; }
.yd-page-dots i:nth-child(4) { top: 430px; left: 90%; width: 20px; height: 20px; animation-delay: -4.6s; animation-duration: 7.8s; }

.yd-backtop-duck {
  position: fixed;
  right: 28px;
  bottom: 34px;
  z-index: 58;
  width: 92px;
  height: 178px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease;
  touch-action: manipulation;
}

.yd-backtop-duck.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.yd-backtop-duck__cord {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 86px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: repeating-linear-gradient(180deg, #1a1a1a 0 8px, #ff6b5a 8px 13px);
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.6);
}

.yd-backtop-duck__ring {
  position: absolute;
  top: 78px;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translateX(-50%);
  border: 3px solid #8b5a2b;
  border-radius: 50%;
  background: var(--yd-canvas);
  box-shadow: 2px 2px 0 rgba(10, 10, 10, 0.08);
}

.yd-backtop-duck__duck {
  position: absolute;
  right: 9px;
  bottom: 18px;
  width: 70px;
  height: 58px;
  transform-origin: 50% -50px;
  filter: drop-shadow(4px 5px 0 rgba(10, 10, 10, 0.08));
}

.yd-backtop-duck__body {
  position: absolute;
  right: 5px;
  bottom: 0;
  width: 58px;
  height: 42px;
  border: 2px solid rgba(10, 10, 10, 0.12);
  border-radius: 58% 48% 48% 56%;
  background: linear-gradient(135deg, #ffd84a 0%, #ffc531 56%, #f2a900 100%);
}

.yd-backtop-duck__body::after {
  position: absolute;
  right: 8px;
  bottom: 10px;
  width: 22px;
  height: 15px;
  border-radius: 70% 45% 55% 50%;
  content: "";
  background: rgba(255, 244, 150, 0.55);
  transform: rotate(-12deg);
}

.yd-backtop-duck__head {
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 36px;
  border: 2px solid rgba(10, 10, 10, 0.12);
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe36a 0%, #ffc928 100%);
}

.yd-backtop-duck__eye {
  position: absolute;
  left: 22px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0a0a0a;
  box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.58);
}

.yd-backtop-duck__beak {
  position: absolute;
  left: -8px;
  top: 18px;
  width: 17px;
  height: 10px;
  border: 2px solid rgba(10, 10, 10, 0.1);
  border-radius: 70% 30% 30% 70%;
  background: #ff8a3d;
}

.yd-backtop-duck__feet {
  position: absolute;
  right: 19px;
  bottom: -5px;
  width: 24px;
  height: 8px;
}

.yd-backtop-duck__feet::before,
.yd-backtop-duck__feet::after {
  position: absolute;
  bottom: 0;
  width: 13px;
  height: 7px;
  border-radius: 70% 30% 60% 40%;
  content: "";
  background: #ff8a3d;
}

.yd-backtop-duck__feet::before { left: 0; transform: rotate(8deg); }
.yd-backtop-duck__feet::after { right: 0; transform: rotate(-8deg); }

.yd-backtop-duck__label {
  position: absolute;
  right: 4px;
  bottom: 0;
  padding: 3px 7px;
  border: 1px solid var(--yd-hairline);
  border-radius: 999px;
  color: var(--yd-primary);
  background: rgba(255, 250, 240, 0.92);
  box-shadow: 2px 2px 0 rgba(10, 10, 10, 0.08);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.yd-backtop-duck:hover .yd-backtop-duck__duck,
.yd-backtop-duck:focus-visible .yd-backtop-duck__duck {
  animation: ydDuckSwing 700ms ease-in-out;
}

.yd-backtop-duck:focus-visible {
  outline: 2px solid var(--yd-primary);
  outline-offset: 4px;
  border-radius: var(--yd-radius-xl);
}

.yd-click-bloom {
  position: fixed;
  left: var(--yd-bloom-x);
  top: var(--yd-bloom-y);
  z-index: 57;
  width: 0;
  height: 0;
  contain: layout style;
  overflow: visible;
  pointer-events: none;
}

.yd-click-bloom i {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--yd-bloom-size);
  height: var(--yd-bloom-size);
  border-radius: var(--yd-bloom-radius, 999px);
  background: var(--yd-bloom-color);
  filter: drop-shadow(0 4px 8px rgba(88, 72, 42, 0.18));
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.4) rotate(0deg);
  animation: ydClickBloom 1.1s cubic-bezier(0.16, 0.84, 0.24, 1) forwards;
  animation-delay: var(--yd-bloom-delay, 0ms);
  will-change: transform, opacity;
}

.yd-click-bloom i:first-child {
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.32);
}

.yd-click-bloom.is-max i {
  animation-duration: 1.25s;
  filter: drop-shadow(0 6px 12px rgba(88, 72, 42, 0.22));
}

.yd-click-bloom.is-max i:first-child {
  box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.38), 0 0 26px rgba(255, 77, 139, 0.34);
}

.yd-impact-wave {
  position: fixed;
  left: var(--yd-impact-x);
  top: var(--yd-impact-y);
  z-index: 55;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 77, 139, 0.5);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.46), rgba(255, 176, 132, 0.2) 42%, transparent 70%);
  box-shadow: 0 0 30px rgba(255, 77, 139, 0.22), 0 0 46px rgba(255, 176, 132, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) scale(0.4);
  animation: ydImpactWave 620ms cubic-bezier(0.12, 0.78, 0.18, 1) forwards;
  will-change: transform, opacity;
}

#main.yd-impact-shake #mainContent .forFlow,
#main.yd-impact-shake .day,
#main.yd-impact-shake .entrylistPost,
#main.yd-impact-shake #sideBarMain {
  animation: ydImpactPanelShake 420ms cubic-bezier(0.18, 0.82, 0.22, 1);
  will-change: transform;
}

#main.yd-impact-shake #sideBarMain {
  animation-delay: 26ms;
}

.yd-charge-core {
  position: fixed;
  left: var(--yd-charge-x);
  top: var(--yd-charge-y);
  z-index: 56;
  width: 0;
  height: 0;
  contain: layout style;
  overflow: visible;
  pointer-events: none;
}

.yd-charge-core i {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--yd-charge-dot-size);
  height: var(--yd-charge-dot-size);
  border-radius: 999px;
  background: var(--yd-charge-color);
  opacity: 0;
  transform: translate3d(var(--yd-charge-dx), var(--yd-charge-dy), 0) scale(0.75);
  animation: ydChargeInhale var(--yd-charge-speed, 760ms) ease-in-out infinite;
  animation-delay: var(--yd-charge-delay, 0ms);
  filter: drop-shadow(0 4px 8px rgba(88, 72, 42, 0.14));
  will-change: transform, opacity;
}

.yd-charge-core i:nth-child(-n+3) {
  opacity: 0.52;
}

.yd-charge-core.is-stage-1 {
  --yd-charge-speed: 700ms;
}

.yd-charge-core.is-stage-2 {
  --yd-charge-speed: 600ms;
}

.yd-charge-core.is-stage-3 {
  --yd-charge-speed: 500ms;
}

.yd-charge-core.is-stage-1 i:nth-child(-n+8),
.yd-charge-core.is-stage-2 i:nth-child(-n+13),
.yd-charge-core.is-stage-3 i {
  opacity: 0.88;
}

.yd-charge-core.is-stage-2 i {
  filter: drop-shadow(0 5px 10px rgba(88, 72, 42, 0.18));
}

.yd-charge-core.is-stage-3 i {
  filter: drop-shadow(0 6px 12px rgba(255, 77, 139, 0.22));
}

@keyframes ydDuckSwing {
  0%, 100% { transform: rotate(0deg); }
  28% { transform: rotate(-8deg); }
  58% { transform: rotate(6deg); }
}

@keyframes ydSnowDrift {
  0% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 64px 420px, -42px 360px, 52px 500px, -36px 440px, 44px 480px, -28px 380px, 36px 460px, -46px 420px; }
}

@keyframes ydSnowPuffFloat {
  0%, 100% { opacity: 0.72; transform: translate3d(0, 0, 0) scale(1); }
  50% { opacity: 1; transform: translate3d(10px, 14px, 0) scale(1.1); }
}

@keyframes ydClickBloom {
  0% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(0.62) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translate3d(calc(-50% + var(--yd-bloom-dx)), calc(-50% + var(--yd-bloom-dy)), 0) scale(0.4) rotate(var(--yd-bloom-rotate));
  }
}

@keyframes ydImpactWave {
  0% {
    opacity: 0.78;
    transform: translate3d(-50%, -50%, 0) scale(0.4);
  }

  100% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(9.5);
  }
}

@keyframes ydImpactPanelShake {
  0%, 100% { transform: translate3d(0, 0, 0); }
  16% { transform: translate3d(-3px, 2px, 0) rotate(-0.18deg); }
  34% { transform: translate3d(4px, -2px, 0) rotate(0.16deg); }
  54% { transform: translate3d(-2px, -1px, 0) rotate(-0.1deg); }
  74% { transform: translate3d(1px, 1px, 0) rotate(0.06deg); }
}

@keyframes ydChargeInhale {
  0% {
    opacity: 0.1;
    transform: translate3d(var(--yd-charge-dx), var(--yd-charge-dy), 0) scale(0.62);
  }

  55% {
    opacity: 0.95;
  }

  100% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after,
  .yd-page-dots i,
  .yd-click-bloom i,
  .yd-impact-wave,
  #main.yd-impact-shake #mainContent .forFlow,
  #main.yd-impact-shake .day,
  #main.yd-impact-shake .entrylistPost,
  #main.yd-impact-shake #sideBarMain,
  .yd-charge-core i {
    animation: none !important;
  }
}

#footer {
  margin: 42px 0 0;
  padding: 34px 0 46px;
  color: var(--yd-muted);
  font-size: 13px;
  text-align: center;
}

.yd-footer-signature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--yd-hairline);
  border-radius: 999px;
  background: var(--yd-surface-soft);
}

.yd-footer-signature::before,
.yd-footer-signature::after {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  content: "";
  background: var(--yd-pink);
}

.yd-footer-signature::after {
  background: var(--yd-mint);
}

@media (max-width: 900px) {
  #home {
    width: min(100% - 24px, 720px);
  }

  #header {
    min-height: 280px;
  }

  #blogTitle {
    padding: 64px 16px 42px;
  }

  #blogTitle::before {
    width: 86px;
    height: 86px;
  }

  #main {
    display: block;
  }

  #mainContent .forFlow,
  .day,
  .entrylistPost {
    padding: 26px 18px;
  }

  .post,
  #post_detail {
    padding: 0;
  }

  #sideBarMain {
    position: static;
    margin-top: 22px;
  }

  #navigator {
    top: 72px;
    width: 198px !important;
    transform: translateX(calc(-100% - 1px)) !important;
  }
}

@media (max-width: 520px) {
  html,
  body {
    min-width: 0 !important;
    overflow-x: hidden !important;
    color: var(--yd-body) !important;
    background:
      radial-gradient(circle at 10% 8%, rgba(255, 176, 132, 0.26), transparent 28%),
      radial-gradient(circle at 92% 14%, rgba(184, 164, 237, 0.22), transparent 28%),
      var(--yd-canvas) !important;
  }

  #home {
    width: calc(100% - 20px) !important;
    min-width: 0 !important;
    margin: 0 auto 36px !important;
    background: transparent !important;
  }

  #header {
    min-height: 245px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    text-align: center !important;
  }

  #blogTitle {
    display: grid !important;
    justify-items: center !important;
    gap: 14px !important;
    padding: 48px 12px 34px !important;
    background: transparent !important;
  }

  #blogTitle::before {
    width: 82px !important;
    height: 82px !important;
    border-radius: 999px !important;
    box-shadow: var(--yd-pixel-shadow) !important;
  }

  #blogTitle h1,
  #blogTitle h1 a {
    margin: 0 !important;
    color: var(--yd-primary) !important;
    font-size: clamp(32px, 10vw, 38px) !important;
    font-weight: 500 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.025em !important;
    text-decoration: none !important;
  }

  #navigator {
    top: 58px !important;
    left: 0 !important;
    box-sizing: border-box !important;
    width: 186px !important;
    padding: 12px 11px 12px 14px !important;
    border: 1px solid rgba(10, 10, 10, 0.08) !important;
    border-left: 0 !important;
    border-radius: 0 var(--yd-radius-xl) var(--yd-radius-xl) 0 !important;
    background: rgba(255, 250, 240, 0.96) !important;
    box-shadow: 12px 18px 45px rgba(88, 72, 42, 0.16) !important;
    backdrop-filter: blur(18px);
    transform: translateX(calc(-100% - 1px)) !important;
  }

  #navigator::before {
    display: none !important;
  }

  .yd-mobile-nav-handle {
    position: fixed !important;
    top: 58px !important;
    left: 0 !important;
    z-index: 60 !important;
    display: block !important;
    width: 22px !important;
    height: 112px !important;
    padding: 0 !important;
    border: 1px solid rgba(10, 10, 10, 0.08) !important;
    border-left: 0 !important;
    border-radius: 0 999px 999px 0 !important;
    background: linear-gradient(180deg, var(--yd-pink), var(--yd-ochre), var(--yd-mint)) !important;
    box-shadow: 4px 4px 0 rgba(10, 10, 10, 0.08) !important;
    appearance: none !important;
    touch-action: manipulation;
  }

  .yd-backtop-duck {
    right: 14px;
    bottom: 76px;
    width: 74px;
    height: 142px;
  }

  .yd-backtop-duck__cord {
    height: 68px;
  }

  .yd-backtop-duck__ring {
    top: 61px;
    width: 17px;
    height: 17px;
  }

  .yd-backtop-duck__duck {
    right: 6px;
    bottom: 16px;
    transform: scale(0.82);
  }

  .yd-backtop-duck__label {
    right: 0;
    bottom: -2px;
    font-size: 11px;
  }

  #navigator:hover:not(.yd-nav-open):not(:focus-within) {
    transform: translateX(calc(-100% - 1px)) !important;
  }

  #navList a {
    display: flex !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 40px !important;
    align-items: center !important;
    padding: 11px 12px !important;
    border-radius: var(--yd-radius-md) !important;
    color: var(--yd-primary) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
    text-decoration: none !important;
    white-space: normal !important;
  }

  #main {
    display: block !important;
    width: 100% !important;
    background: transparent !important;
  }

  #mainContent,
  #sideBar {
    width: auto !important;
    float: none !important;
    background: transparent !important;
  }

  #mainContent .forFlow,
  .day,
  .entrylistPost,
  #sideBarMain {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 22px 16px !important;
    border: 1px solid var(--yd-hairline) !important;
    border-radius: var(--yd-radius-xl) !important;
    background: rgba(255, 255, 255, 0.72) !important;
    box-shadow: var(--yd-shadow-soft) !important;
  }

  #mainContent .forFlow,
  #sideBarMain {
    margin: 0 0 18px !important;
  }

  .day,
  .entrylistPost {
    margin: 0 0 32px !important;
  }

  .day + .day,
  .entrylistPost + .entrylistPost {
    margin-top: 0 !important;
  }

  .post,
  #post_detail {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #sideBarMain {
    background: rgba(250, 245, 232, 0.86) !important;
  }

  .postTitle,
  .entrylistPosttitle,
  #cb_post_title_url {
    font-size: clamp(20px, 6vw, 24px) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.015em !important;
  }

  .postBody,
  #cnblogs_post_body,
  .entrylistPostSummary {
    color: var(--yd-body) !important;
    font-size: 15px !important;
    line-height: 1.78 !important;
  }
}

@media (min-width: 521px) {
  .yd-mobile-nav-handle {
    display: none !important;
  }
}
