/*
 * ModernStyle for cnblogs Custom
 * Concept: Morning Lab / living research notes
 * No external font, image or framework dependency.
 */

:root {
  --modern-paper: #fbfaf7;
  --modern-surface: rgba(255, 255, 255, 0.82);
  --modern-surface-strong: #ffffff;
  --modern-ink: #18202e;
  --modern-content: #30394a;
  --modern-muted: #6c7484;
  --modern-faint: #929aaa;
  --modern-line: rgba(41, 52, 73, 0.11);
  --modern-violet: #6657e8;
  --modern-violet-deep: #5142ca;
  --modern-cyan: #13a995;
  --modern-coral: #f06567;
  --modern-sun: #eca934;
  --modern-violet-soft: rgba(102, 87, 232, 0.1);
  --modern-cyan-soft: rgba(19, 169, 149, 0.1);
  --modern-coral-soft: rgba(240, 101, 103, 0.1);
  --modern-shadow-sm: 0 8px 24px rgba(34, 39, 58, 0.06);
  --modern-shadow-md: 0 22px 60px rgba(34, 39, 58, 0.1);
  --modern-shadow-focus: 0 0 0 4px rgba(102, 87, 232, 0.12);
  --modern-home-width: 1040px;
  --modern-article-width: 760px;
  --modern-figure-width: 1080px;
  --modern-radius-sm: 12px;
  --modern-radius-md: 20px;
  --modern-radius-lg: 30px;
  --modern-font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  --modern-code-font: "Fira Code", "SFMono-Regular", Consolas,
    "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--modern-ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(102, 87, 232, 0.1), transparent 30%),
    radial-gradient(circle at 91% 18%, rgba(19, 169, 149, 0.1), transparent 27%),
    radial-gradient(circle at 74% 87%, rgba(240, 101, 103, 0.08), transparent 30%),
    var(--modern-paper);
  background-attachment: fixed;
  font: 16px/1.68 var(--modern-font);
  word-break: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(24, 32, 46, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 32, 46, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  content: "";
}

body::after {
  position: fixed;
  z-index: -1;
  right: -140px;
  bottom: -170px;
  width: 430px;
  height: 430px;
  background:
    radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.72), transparent 20%),
    linear-gradient(145deg, rgba(102, 87, 232, 0.18), rgba(19, 169, 149, 0.12));
  border-radius: 42% 58% 64% 36% / 46% 42% 58% 54%;
  filter: blur(2px);
  pointer-events: none;
  content: "";
  animation: modern-drift 18s ease-in-out infinite alternate;
}

::selection {
  color: #fff;
  background: var(--modern-violet);
}

a,
a:link,
a:visited {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--modern-violet-deep);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--modern-violet);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.clear {
  clear: both;
}

/* Progress and accessibility */
.modern-skip-link {
  position: fixed;
  z-index: 10002;
  top: 12px;
  left: 16px;
  padding: 8px 14px;
  color: #fff !important;
  background: var(--modern-ink);
  border-radius: 999px;
  box-shadow: var(--modern-shadow-sm);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.modern-skip-link:focus {
  transform: translateY(0);
}

.modern-progress {
  position: fixed;
  z-index: 10001;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.modern-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--modern-violet),
    var(--modern-cyan),
    var(--modern-coral)
  );
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* Core cnblogs frame */
#home {
  width: 100%;
  min-width: 0;
  margin: 0;
  background: transparent;
}

#header {
  position: relative;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  width: min(calc(100% - 32px), 1120px);
  min-height: 64px;
  margin: 14px auto 0;
  padding: 8px 12px 8px 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 14px 38px rgba(31, 39, 61, 0.08);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

#blogTitle {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 0;
}

#blogTitle h1,
#blogTitle h2 {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

#blogTitle h1 {
  font-size: 20px;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

#blogTitle h1 a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--modern-ink);
}

#blogTitle h1 a::before {
  width: 11px;
  height: 11px;
  background: linear-gradient(135deg, var(--modern-coral), var(--modern-violet));
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--modern-violet-soft);
  content: "";
}

#blogTitle h2,
#blogLogo {
  display: none;
}

#navigator {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  min-height: 46px;
  margin: 0 0 0 22px;
  padding: 0;
  background: transparent;
  border: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

#navigator::-webkit-scrollbar {
  display: none;
}

#navList {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

#navList li {
  float: none;
  margin: 0 2px;
  white-space: nowrap;
}

#navList a,
#navList a:link,
#navList a:visited,
#navList a:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 38px;
  padding: 0 13px;
  color: var(--modern-muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 580;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

#navList a:hover,
#navList a:focus-visible {
  color: var(--modern-ink);
  background: rgba(102, 87, 232, 0.08);
  text-decoration: none;
  transform: translateY(-1px);
}

.blogStats {
  display: none;
}

#main {
  display: block;
  width: min(100%, calc(var(--modern-home-width) + 48px));
  min-width: 0;
  min-height: calc(100vh - 160px);
  margin: 0 auto;
  padding: 56px 24px 104px;
  text-align: left;
}

body.modern-article-page #main {
  width: min(100%, calc(var(--modern-article-width) + 48px));
}

#mainContent,
#mainContent .forFlow {
  float: none;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  word-break: normal;
}

#sideBar,
#sideBarMain,
#blog-calendar,
#leftcontentcontainer,
#blog-sidecolumn {
  display: none !important;
}

/* Home hero */
.modern-hero {
  display: none;
}

body.modern-home-page .modern-hero.is-ready {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 36px;
  min-height: 430px;
  margin: 4px 0 48px;
  padding: clamp(34px, 6vw, 68px);
  color: #f8f8ff;
  background:
    radial-gradient(circle at 88% 18%, rgba(19, 169, 149, 0.4), transparent 25%),
    radial-gradient(circle at 68% 110%, rgba(240, 101, 103, 0.34), transparent 42%),
    linear-gradient(135deg, #171d2e 0%, #292b55 54%, #363166 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 38px;
  box-shadow: var(--modern-shadow-md);
  overflow: hidden;
}

.modern-hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 82%);
  pointer-events: none;
  content: "";
}

.modern-hero__content {
  position: relative;
  z-index: 2;
  align-self: center;
}

.modern-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.modern-hero__kicker::before {
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--modern-cyan), var(--modern-sun));
  border-radius: 999px;
  content: "";
}

.modern-hero h1 {
  max-width: 660px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6.4vw, 72px);
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.modern-hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #fff 0%, #b9fff5 48%, #ffd4c5 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.modern-hero__bio {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.8;
}

.modern-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.modern-hero__links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 620;
  backdrop-filter: blur(8px);
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.modern-hero__links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.17);
  transform: translateY(-2px);
}

.modern-hero__visual {
  position: relative;
  z-index: 1;
  min-height: 250px;
}

.modern-orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: modern-spin 20s linear infinite;
}

.modern-orbit::before,
.modern-orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.modern-orbit::before {
  top: 13px;
  left: 34px;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #56e2cf, #2aa996);
  box-shadow: 0 0 30px rgba(86, 226, 207, 0.42);
}

.modern-orbit::after {
  right: -8px;
  bottom: 52px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ffb06b, #ee6569);
  box-shadow: 0 0 36px rgba(240, 101, 103, 0.4);
}

.modern-orbit__core {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34% 66% 58% 42% / 46% 42% 58% 54%;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
  font-size: 34px;
  transform: translate(-50%, -50%);
  animation: modern-morph 8s ease-in-out infinite alternate;
  backdrop-filter: blur(8px);
}

/* Home entry cards */
.day {
  display: block;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
}

.day::after {
  display: block;
  clear: both;
  content: "";
}

body.modern-home-page .day > .dayTitle {
  display: none;
}

.modern-entry {
  position: relative;
  display: grid;
  grid-template:
    "date cover" auto
    "title cover" auto
    "summary cover" 1fr
    "meta cover" auto /
    minmax(0, 1fr) minmax(260px, 42%);
  column-gap: 32px;
  min-height: 0;
  margin: 0 0 28px;
  padding: 30px;
  background:
    linear-gradient(var(--modern-surface-strong), var(--modern-surface-strong))
      padding-box,
    linear-gradient(
        135deg,
        rgba(102, 87, 232, 0.28),
        rgba(19, 169, 149, 0.14),
        rgba(240, 101, 103, 0.22)
      )
      border-box;
  border: 1px solid transparent;
  border-radius: var(--modern-radius-lg);
  box-shadow: var(--modern-shadow-sm);
  overflow: hidden;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.modern-entry::before {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(102, 87, 232, 0.16);
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
  content: attr(data-modern-index);
}

.modern-entry:hover {
  box-shadow: var(--modern-shadow-md);
  transform: translateY(-5px);
}

.modern-entry--reverse {
  grid-template:
    "cover date" auto
    "cover title" auto
    "cover summary" 1fr
    "cover meta" auto /
    minmax(260px, 42%) minmax(0, 1fr);
}

.modern-entry--text {
  grid-template:
    "date" auto
    "title" auto
    "summary" auto
    "meta" auto /
    minmax(0, 1fr);
}

.dayTitle,
.modern-entry__date {
  grid-area: date;
  width: auto;
  margin: 0 0 12px;
  padding: 0;
  color: var(--modern-faint);
  border: 0;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.dayTitle a,
.modern-entry__date a {
  color: inherit;
}

.postTitle {
  grid-area: title;
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 28px;
  font-weight: 760;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.postTitle a,
.postTitle a:link,
.postTitle a:visited,
.postTitle a:active {
  color: var(--modern-ink);
}

.postTitle a:hover {
  color: var(--modern-violet-deep);
  text-decoration: none;
}

.postCon {
  grid-area: summary;
  float: none;
  clear: both;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 16px 0 18px;
  color: var(--modern-content);
  font: 15px/1.75 var(--modern-font);
}

.postCon p {
  margin: 0 0 0.8em;
  text-indent: 0;
}

.postCon .c_b_p_desc {
  min-height: 0;
  line-height: inherit;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.postCon .desc_img {
  float: right;
  width: 220px;
  height: 145px;
  margin: 0 0 12px 20px;
  border-radius: 16px;
  object-fit: cover;
}

.modern-entry .postCon .desc_img {
  display: none;
}

.postCon .c_b_p_desc_readmore {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  color: var(--modern-violet-deep);
  font-size: 13px;
  font-weight: 720;
  white-space: nowrap;
}

.postCon .c_b_p_desc_readmore::after {
  margin-left: 5px;
  content: "↗";
  transition: transform 160ms ease;
}

.postCon .c_b_p_desc_readmore:hover::after {
  transform: translate(2px, -2px);
}

.postDesc,
#topics .postDesc,
.entrylistItemPostDesc,
.postDesc2 {
  grid-area: meta;
  float: none;
  clear: both;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--modern-faint);
  font-size: 12px;
  line-height: 1.65;
  text-align: left;
}

.postDesc a,
.postDesc a:link,
.postDesc a:visited {
  color: var(--modern-muted);
}

.postDesc a:hover {
  color: var(--modern-violet-deep);
}

.modern-entry > .clear {
  display: none;
}

.modern-entry__cover {
  position: relative;
  grid-area: cover;
  min-height: 250px;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--modern-violet-soft), var(--modern-cyan-soft));
  border-radius: 22px;
}

.modern-entry__cover::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(19, 24, 37, 0.2));
  pointer-events: none;
  content: "";
}

.modern-entry__cover img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  margin: 0;
  object-fit: cover;
  transition:
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 300ms ease;
}

.modern-entry:hover .modern-entry__cover img {
  filter: saturate(1.08);
  transform: scale(1.045);
}

.postSeparator {
  display: none;
}

.topicListFooter,
.pager,
.pages {
  margin: 38px 0 0;
  color: var(--modern-muted);
  font-size: 13px;
  text-align: center;
}

.topicListFooter a,
.pager a,
.pages a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 0 4px;
  padding: 0 14px;
  background: var(--modern-surface);
  border: 1px solid var(--modern-line);
  border-radius: 999px;
  box-shadow: var(--modern-shadow-sm);
}

.topicListFooter a:hover,
.pager a:hover,
.pages a:hover {
  color: #fff;
  background: var(--modern-violet);
  border-color: var(--modern-violet);
}

/* Article */
#topics {
  float: none;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: visible;
  word-break: normal;
}

body.modern-article-page #topics {
  position: relative;
}

body.modern-article-page #topics::before {
  display: block;
  width: 64px;
  height: 6px;
  margin: 0 0 24px;
  background: linear-gradient(
    90deg,
    var(--modern-violet),
    var(--modern-cyan),
    var(--modern-coral)
  );
  border-radius: 999px;
  content: "";
}

#topics .postTitle {
  float: none;
  width: auto;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: -0.052em;
}

.modern-article-meta {
  float: none !important;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  width: auto !important;
  margin: 0 0 34px !important;
  padding: 0 !important;
  color: var(--modern-muted) !important;
  font: 13px/1.6 var(--modern-font) !important;
  font-variant-numeric: tabular-nums;
  text-align: left !important;
}

.modern-article-meta a {
  color: var(--modern-violet-deep) !important;
}

.modern-article-meta__reading {
  display: inline-flex;
  align-items: center;
}

.modern-article-meta__reading::before {
  margin-right: 8px;
  color: var(--modern-faint);
  content: "•";
}

.postBody {
  padding: 0;
  color: var(--modern-content);
  border: 0;
  font: 17px/1.86 var(--modern-font);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.postBody > :first-child {
  margin-top: 0;
}

.postBody p {
  margin: 1.3em 0;
  text-indent: 0;
}

.postBody h1,
.postBody h2,
.postBody h3,
.postBody h4,
.postBody h5,
.postBody h6 {
  position: relative;
  margin: 2.15em 0 0.8em;
  color: var(--modern-ink);
  font-family: var(--modern-font);
  font-weight: 760;
  line-height: 1.28;
  letter-spacing: -0.032em;
  scroll-margin-top: 32px;
}

.postBody h1 {
  font-size: 2.05em;
}

.postBody h2 {
  padding-left: 20px;
  font-size: 1.62em;
}

.postBody h2::before {
  position: absolute;
  top: 0.18em;
  bottom: 0.18em;
  left: 0;
  width: 5px;
  background: linear-gradient(
    180deg,
    var(--modern-violet),
    var(--modern-cyan)
  );
  border-radius: 999px;
  content: "";
}

.postBody h3 {
  font-size: 1.3em;
}

.postBody h4,
.postBody h5,
.postBody h6 {
  font-size: 1.08em;
}

.postBody a,
.postBody a:link,
.postBody a:visited {
  color: var(--modern-violet-deep);
  text-decoration: underline;
  text-decoration-color: rgba(102, 87, 232, 0.3);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.postBody a:hover {
  color: var(--modern-coral);
  text-decoration-color: currentColor;
}

.postBody ul,
.postBody ol {
  margin: 1.2em 0;
  padding-left: 1.55em;
}

.postBody li {
  margin: 0.46em 0;
  padding-left: 0.16em;
}

.postBody li::marker {
  color: var(--modern-violet);
}

.postBody blockquote {
  min-height: 0;
  margin: 1.8em 0;
  padding: 20px 24px;
  color: var(--modern-content);
  background:
    linear-gradient(
      135deg,
      rgba(102, 87, 232, 0.08),
      rgba(19, 169, 149, 0.06)
    );
  border: 0;
  border-left: 5px solid var(--modern-violet);
  border-radius: 0 18px 18px 0;
  font-size: 0.98em;
  line-height: 1.75;
}

.postBody blockquote p {
  margin: 0.7em 0;
}

.postBody hr {
  width: 42%;
  height: 3px;
  margin: 3.8em auto;
  background: linear-gradient(
    90deg,
    transparent,
    var(--modern-violet),
    var(--modern-cyan),
    transparent
  );
  border: 0;
  border-radius: 999px;
}

.postBody img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2em auto;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(32, 39, 58, 0.1);
}

.postBody figure {
  margin: 2.2em 0;
}

.postBody figure img {
  width: 100%;
  margin: 0;
}

.postBody figcaption {
  max-width: 720px;
  margin: 12px auto 0;
  color: var(--modern-muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

@media (min-width: 1080px) {
  .postBody .modern-figure-wide {
    --modern-figure-shift: 0px;
    display: block;
    width: min(var(--modern-figure-width), calc(100vw - 72px));
    max-width: none;
    margin-top: 2.7em;
    margin-bottom: 2.7em;
    margin-left: 50% !important;
    transform: translateX(calc(-50% + var(--modern-figure-shift)));
  }

  .postBody img.modern-figure-wide {
    height: auto;
  }

  .postBody .modern-figure-wide img {
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
  }
}

.postBody :not(pre) > code,
.postCon :not(pre) > code {
  margin: 0 0.08em;
  padding: 0.18em 0.4em;
  color: var(--modern-violet-deep);
  background: var(--modern-violet-soft);
  border: 1px solid rgba(102, 87, 232, 0.09);
  border-radius: 6px;
  font: 0.86em/1.5 var(--modern-code-font);
}

.postBody pre,
.postCon pre {
  max-width: 100%;
  margin: 1.8em 0;
  overflow: auto;
  border: 1px solid rgba(33, 40, 58, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(26, 31, 48, 0.12);
  font-size: 13px;
  line-height: 1.68;
  text-align: left;
}

.postBody table {
  display: block;
  width: 100%;
  margin: 2em 0;
  overflow-x: auto;
  border: 1px solid var(--modern-line);
  border-radius: 16px;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: var(--modern-shadow-sm);
  font-size: 14px;
  line-height: 1.6;
}

.postBody th,
.postBody td {
  min-width: 110px;
  padding: 11px 13px;
  border: 0;
  border-right: 1px solid var(--modern-line);
  border-bottom: 1px solid var(--modern-line);
  text-align: left;
}

.postBody th:last-child,
.postBody td:last-child {
  border-right: 0;
}

.postBody tr:last-child td {
  border-bottom: 0;
}

.postBody th {
  color: var(--modern-ink);
  background: rgba(102, 87, 232, 0.06);
  font-weight: 700;
}

#EntryTag {
  margin-top: 34px;
  padding-top: 18px;
  color: var(--modern-muted);
  border-top: 0;
  font-size: 13px;
}

#EntryTag:empty {
  display: none;
}

#EntryTag a {
  display: inline-flex;
  margin: 4px 3px;
  padding: 4px 10px;
  color: var(--modern-violet-deep);
  background: var(--modern-violet-soft);
  border-radius: 999px;
}

/* Article TOC: compact inline fallback, floating rail on wide screens */
.cnblogs-toc-button,
.cnblogs-toc-pinned-navigator {
  display: none !important;
}

.modern-toc {
  margin: 0 0 30px;
  padding: 6px;
  background:
    linear-gradient(
      135deg,
      rgba(102, 87, 232, 0.055),
      rgba(19, 169, 149, 0.035),
      rgba(240, 101, 103, 0.035)
    );
  border: 1px solid var(--modern-line);
  border-radius: 16px;
}

.modern-toc summary {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  color: var(--modern-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 720;
  list-style: none;
  user-select: none;
}

.modern-toc summary::-webkit-details-marker {
  display: none;
}

.modern-toc summary::before {
  width: 5px;
  height: 18px;
  margin-right: 9px;
  background: linear-gradient(135deg, var(--modern-violet), var(--modern-cyan));
  border-radius: 999px;
  content: "";
}

.modern-toc summary::after {
  margin-left: auto;
  color: var(--modern-muted);
  content: "＋";
  transition: transform 180ms ease;
}

.modern-toc[open] summary::after {
  transform: rotate(45deg);
}

.modern-toc nav {
  max-height: 56vh;
  padding: 4px 6px 8px;
  overflow-y: auto;
}

.modern-toc ol {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modern-toc li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.modern-toc a {
  display: block;
  padding: 6px 9px;
  color: var(--modern-muted);
  border-left: 2px solid transparent;
  border-radius: 0 9px 9px 0;
  font-size: 12px;
  line-height: 1.45;
}

.modern-toc li[data-level="3"] a {
  padding-left: 19px;
  font-size: 11px;
}

.modern-toc a:hover,
.modern-toc a.is-active {
  color: var(--modern-violet-deep);
  background: rgba(102, 87, 232, 0.075);
  border-left-color: var(--modern-violet);
}

@media (min-width: 1280px) {
  body.modern-article-page .modern-toc {
    position: fixed;
    z-index: 120;
    top: 104px;
    left: max(18px, calc(50% - 650px));
    width: 230px;
    max-height: calc(100vh - 132px);
    margin: 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.74);
    border-color: rgba(102, 87, 232, 0.14);
    border-radius: 18px;
    box-shadow: 0 16px 42px rgba(31, 39, 61, 0.08);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
  }

  body.modern-article-page .modern-toc nav {
    max-height: calc(100vh - 196px);
  }
}

/* Archive and category pages */
.entrylistTitle,
.PostListTitle,
.thumbTitle {
  margin: 0 0 28px;
  padding: 0;
  color: var(--modern-ink);
  border: 0;
  font-size: 38px;
  font-weight: 780;
  letter-spacing: -0.045em;
  text-align: left;
}

.entrylistDescription,
.thumbDescription {
  margin: -12px 0 28px;
  padding: 0;
  color: var(--modern-muted);
  text-align: left;
}

.entrylistItem,
.PostList {
  min-height: 0;
  margin: 0 0 18px;
  padding: 24px;
  background: var(--modern-surface);
  border: 1px solid var(--modern-line);
  border-radius: 22px;
  box-shadow: var(--modern-shadow-sm);
  backdrop-filter: blur(12px);
}

.entrylistPosttitle,
.postTitl2 {
  float: none;
  padding: 0;
  border: 0;
  font-size: 22px;
  font-weight: 740;
}

.entrylistPostSummary,
.postText2 {
  clear: both;
  margin: 10px 0 0;
  padding: 0;
  color: var(--modern-content);
  font-size: 14px;
  line-height: 1.72;
}

/* Native post info */
#blog_post_info_block {
  float: none !important;
  display: flow-root !important;
  clear: both !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin-top: 46px;
  padding: 22px 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--modern-font);
  overflow: visible !important;
}

#blog_post_info_block::before,
#blog_post_info_block::after {
  display: none !important;
  content: none !important;
}

#blog_post_info_block hr,
#blog_post_info hr {
  display: none !important;
}

#blog_post_info,
#blog_post_info_block .clear {
  float: none !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
}

#blog_post_info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

#blog_post_info_block .clear {
  display: none;
}

.post-meta-container .post-meta-tags,
.post-meta-disclaimer {
  display: none !important;
}

#green_channel {
  float: none !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0;
  border: 0;
  text-align: left;
}

#green_channel > a {
  display: none !important;
}

#green_channel > #green_channel_digg,
#green_channel > #green_channel_follow,
#green_channel > #green_channel_favorite,
#green_channel > #green_channel_wechat {
  display: inline-flex !important;
}

#green_channel a,
#green_channel a:link,
#green_channel a:visited,
#green_channel a:active {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0;
  padding: 0 13px;
  color: var(--modern-ink) !important;
  background: rgba(255, 255, 255, 0.82) !important;
  background-image: none !important;
  border: 1px solid var(--modern-line) !important;
  border-radius: 999px;
  box-shadow: none;
  text-shadow: none;
  font-size: 12px;
  font-weight: 650;
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

#green_channel a:hover {
  border-color: rgba(102, 87, 232, 0.32) !important;
  text-decoration: none;
  transform: translateY(-2px);
}

#author_profile {
  display: none !important;
}

#author_profile img,
#author_profile .author_avatar {
  display: none !important;
}

#author_profile_info,
.author_profile_info {
  display: none !important;
}

.author_profile_title {
  display: none !important;
}

#div_digg {
  float: none !important;
  display: flex;
  gap: 8px;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  font-size: 12px;
  text-align: left;
}

#div_digg .diggit,
#div_digg .buryit {
  float: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  height: 40px;
  margin: 0;
  padding: 0 13px;
  color: var(--modern-muted);
  background: rgba(255, 255, 255, 0.76) !important;
  border: 1px solid var(--modern-line);
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

#div_digg .diggit:hover,
#div_digg .buryit:hover {
  border-color: rgba(102, 87, 232, 0.32);
  transform: translateY(-2px);
}

#div_digg .diggit::before {
  color: var(--modern-cyan);
  content: "↑ 推荐";
}

#div_digg .buryit::before {
  color: var(--modern-coral);
  content: "↓ 反对";
}

#div_digg .diggnum,
#div_digg .burynum {
  color: var(--modern-ink);
  font-size: 12px;
  font-weight: 720;
  line-height: 1 !important;
}

#div_digg .diggword {
  display: none !important;
}

#post_next_prev {
  float: none !important;
  display: grid;
  clear: both !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100% !important;
  height: auto !important;
  margin-top: 20px;
  padding-top: 20px;
  color: var(--modern-muted);
  border: 0;
  font-size: 13px;
  line-height: 1.6;
}

#post_next_prev br {
  display: none;
}

#post_next_prev.modern-post-nav .modern-post-nav__item {
  display: flex;
  min-width: 0;
  min-height: 72px;
  padding: 12px 14px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  color: var(--modern-ink);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--modern-line);
  border-radius: 14px;
}

#post_next_prev.modern-post-nav .modern-post-nav__item--next {
  grid-column: 2;
  text-align: right;
}

.modern-post-nav__label {
  color: var(--modern-muted);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modern-post-nav__title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  font-weight: 680;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#post_next_prev.modern-post-nav .modern-post-nav__item:hover {
  color: var(--modern-violet-deep);
  border-color: rgba(102, 87, 232, 0.3);
  text-decoration: none;
}

/* Comments */
.feedback_area_title,
.pfl_feedback_area_title {
  margin: 48px 0 18px;
  padding: 0;
  color: var(--modern-ink);
  border: 0;
  font-size: 28px;
  font-weight: 760;
  letter-spacing: -0.035em;
  text-align: left;
}

.feedbackItem,
.pfl_feedbackItem {
  margin: 0 0 12px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--modern-line);
  border-radius: 18px;
  box-shadow: var(--modern-shadow-sm);
}

.feedbackListSubtitle,
.pfl_feedbacksubtitle {
  color: var(--modern-muted);
  border: 0;
  font-size: 12px;
}

.feedbackCon,
.pfl_feedbackCon {
  width: auto;
  min-height: 0;
  margin: 10px 0 0;
  padding: 0;
  color: var(--modern-content);
  background: transparent;
  border: 0;
  font-size: 15px;
  line-height: 1.72;
}

#comment_form {
  float: none !important;
  display: flow-root !important;
  clear: both;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 48px 0 0 !important;
  padding: 24px !important;
  color: var(--modern-ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8))
      padding-box,
    linear-gradient(
        135deg,
        rgba(102, 87, 232, 0.34),
        rgba(19, 169, 149, 0.24),
        rgba(240, 101, 103, 0.28)
      )
      border-box;
  border: 1px solid transparent;
  border-radius: 28px;
  box-shadow: var(--modern-shadow-md);
  font-family: var(--modern-font);
  backdrop-filter: blur(14px);
}

#comment_nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100% !important;
  height: auto !important;
  margin: 0 0 20px;
  padding: 0;
  color: var(--modern-muted);
  border: 0;
  font-size: 12px;
}

#comment_nav .comment-nav-right {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

#comment_nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  color: var(--modern-muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--modern-line);
  border-radius: 999px;
}

#comment_nav a:hover {
  color: var(--modern-violet-deep);
  border-color: rgba(102, 87, 232, 0.26);
}

#comment_form_container {
  float: none !important;
  clear: both !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin-top: 10px;
}

#comment_form_container,
#comment_form_container .commentbox_main,
#comment_form_container .commentbox_title,
#comment_form_container .commentbox_footer {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
}

#comment_form_container > p {
  margin: 10px 0;
  color: var(--modern-muted);
  font-size: 13px;
}

.commentbox,
.divPostCommentBox {
  float: none;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.commentbox_title {
  min-height: 46px;
  padding-bottom: 9px;
  border: 0 !important;
}

.commentbox_title_left,
.commentbox_title_right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
}

.commentbox_title_right {
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 0;
}

.commentbox_tab {
  margin-right: 12px;
  padding: 0 3px;
  color: var(--modern-muted);
  font-size: 13px;
  letter-spacing: 0;
}

.commentbox_tab:hover,
.commentbox_tab.active {
  color: var(--modern-violet-deep);
  border-bottom-color: var(--modern-violet);
}

#tbCommentBody,
#tbCommentBodyPreview {
  box-sizing: border-box;
  width: 100% !important;
  min-height: 250px;
  margin: 0;
  padding: 16px;
  color: var(--modern-content);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--modern-line);
  border-radius: 16px;
  outline: 0;
  font: 15px/1.68 var(--modern-font);
  resize: vertical;
}

#tbCommentBody:focus {
  border-color: rgba(102, 87, 232, 0.44);
  box-shadow: var(--modern-shadow-focus);
}

.commentbox_footer {
  min-height: 46px;
  padding-top: 12px;
  color: var(--modern-muted);
  border: 0 !important;
  font-size: 12px;
}

#comment_form #btn_comment_submit,
#comment_form .comment_btn {
  box-sizing: border-box;
  width: auto !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  color: #fff;
  background:
    linear-gradient(135deg, var(--modern-violet), var(--modern-violet-deep))
    !important;
  border: 0 !important;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(102, 87, 232, 0.22);
  font: 680 14px/42px var(--modern-font) !important;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

#comment_form #btn_comment_submit:hover,
#comment_form .comment_btn:hover {
  color: #fff;
  box-shadow: 0 14px 28px rgba(102, 87, 232, 0.3);
  transform: translateY(-2px);
}

#commentbox_opt {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  color: var(--modern-muted);
  font-size: 13px;
}

#commentbox_opt a {
  padding-left: 0 !important;
  color: var(--modern-muted);
}

#commentbox_opt a:hover {
  color: var(--modern-violet-deep);
}

#blog-comments-placeholder,
#divCommentShow,
#ad_text_under_commentbox,
#cnblogs_ch,
#opt_under_post,
#under_post_card1,
#related_posts_card,
#under_post_card2,
#HistoryToday {
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  box-sizing: border-box !important;
}

#ad_text_under_commentbox:empty,
#cnblogs_ch:empty,
#opt_under_post:empty,
#under_post_card1:empty,
#related_posts_card:empty,
#under_post_card2:empty,
#HistoryToday:empty {
  display: none !important;
}

#ad_text_under_commentbox:not(:empty),
#cnblogs_ch:not(:empty),
#opt_under_post:not(:empty),
#under_post_card1:not(:empty),
#related_posts_card:not(:empty),
#under_post_card2:not(:empty),
#HistoryToday:not(:empty) {
  margin-top: 14px !important;
  padding: 14px 16px !important;
  color: var(--modern-muted);
  background: rgba(255, 255, 255, 0.58) !important;
  border: 1px solid var(--modern-line);
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.65;
}

#cnblogs_ch ul,
#opt_under_post ul {
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
}

#cnblogs_ch li,
#opt_under_post li {
  margin: 7px 0;
}

#comment_form .ad_text_commentbox a,
#comment_form .under-post-card a,
#cnblogs_ch a,
#opt_under_post a {
  color: var(--modern-muted);
}

#comment_form .ad_text_commentbox a:hover,
#comment_form .under-post-card a:hover,
#cnblogs_ch a:hover,
#opt_under_post a:hover {
  color: var(--modern-violet-deep);
}

/* Footer */
#footer,
.lil-custom-footer,
.medium-custom-footer,
.academic-custom-footer {
  display: none !important;
}

.modern-custom-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 32px), 1040px);
  min-height: 84px;
  margin: 0 auto 24px;
  padding: 18px 24px;
  color: var(--modern-muted);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  box-shadow: var(--modern-shadow-sm);
  font-size: 12px;
  line-height: 1.6;
  backdrop-filter: blur(14px);
}

.modern-custom-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--modern-ink);
  font-weight: 700;
}

.modern-custom-footer__mark {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--modern-cyan), var(--modern-violet));
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--modern-violet-soft);
}

.modern-custom-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.modern-custom-footer a {
  color: var(--modern-muted);
}

.modern-custom-footer a:hover {
  color: var(--modern-violet-deep);
}

/* Responsive */
@media (max-width: 820px) {
  body::after {
    width: 300px;
    height: 300px;
  }

  #header {
    position: relative;
    top: 0;
    display: block;
    width: calc(100% - 24px);
    margin-top: 12px;
    padding: 8px 14px;
    border-radius: 24px;
  }

  #blogTitle {
    min-height: 44px;
  }

  #navigator {
    justify-content: flex-start;
    min-height: 42px;
    margin-left: 0;
    border-top: 1px solid var(--modern-line);
  }

  #navList a,
  #navList a:link,
  #navList a:visited,
  #navList a:active {
    min-height: 36px;
    padding: 0 11px;
  }

  #main {
    width: 100%;
    padding: 34px 16px 78px;
  }

  body.modern-home-page .modern-hero.is-ready {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    margin-bottom: 30px;
    padding: 40px 30px;
    border-radius: 28px;
  }

  .modern-hero h1 {
    font-size: clamp(40px, 11vw, 56px);
  }

  .modern-hero__visual {
    display: none;
  }

  .modern-entry,
  .modern-entry--reverse {
    grid-template:
      "cover" auto
      "date" auto
      "title" auto
      "summary" auto
      "meta" auto /
      minmax(0, 1fr);
  }

  .modern-entry {
    padding: 20px;
    border-radius: 24px;
  }

  .modern-entry::before {
    top: 16px;
    right: 18px;
    font-size: 40px;
  }

  .modern-entry__cover {
    min-height: 0;
    margin-bottom: 20px;
    aspect-ratio: 16 / 9;
  }

  .modern-entry__cover img {
    min-height: 0;
  }

  .postTitle {
    font-size: 24px;
  }

  #topics .postTitle {
    font-size: 38px;
  }

  .postBody {
    font-size: 16px;
    line-height: 1.78;
  }

  .modern-toc ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .postBody .modern-figure-wide {
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    transform: none;
  }

  #post_next_prev {
    grid-template-columns: minmax(0, 1fr);
  }

  #post_next_prev.modern-post-nav .modern-post-nav__item--next {
    grid-column: 1;
  }

  #comment_form {
    padding: 18px !important;
    border-radius: 22px;
  }

  #comment_nav {
    justify-content: flex-start;
  }

  #tbCommentBody,
  #tbCommentBodyPreview {
    min-height: 190px;
    padding: 13px;
  }

  .modern-custom-footer {
    display: grid;
    justify-items: center;
    width: calc(100% - 24px);
    margin-bottom: 12px;
    padding: 20px;
    text-align: center;
  }

  .modern-custom-footer__links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  #navList li {
    margin-right: 0;
  }

  #navList a,
  #navList a:link,
  #navList a:visited,
  #navList a:active {
    padding: 0 9px;
    font-size: 13px;
  }

  body.modern-home-page .modern-hero.is-ready {
    padding: 34px 22px;
  }

  .modern-hero h1 {
    font-size: 39px;
  }

  .modern-hero__bio {
    font-size: 15px;
  }

  .modern-hero__links a {
    min-height: 36px;
    padding: 0 12px;
  }

  .modern-entry {
    padding: 17px;
  }

  #topics .postTitle {
    font-size: 34px;
  }

  .postBody h2 {
    padding-left: 16px;
  }

  #blog_post_info_block {
    padding-top: 18px;
  }

  #green_channel {
    gap: 6px;
  }

  #green_channel a {
    min-height: 34px;
    padding: 0 10px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes modern-drift {
  from {
    transform: translate3d(0, 0, 0) rotate(0);
  }

  to {
    transform: translate3d(-70px, -34px, 0) rotate(12deg);
  }
}

@keyframes modern-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes modern-morph {
  from {
    border-radius: 34% 66% 58% 42% / 46% 42% 58% 54%;
    transform: translate(-50%, -50%) rotate(-5deg);
  }

  to {
    border-radius: 58% 42% 38% 62% / 42% 58% 42% 58%;
    transform: translate(-50%, -50%) rotate(8deg);
  }
}