:root {
  --forest-bg: url('/images/fairy/forest-background.png');
  --article-bg: url('/images/fairy/article-card.png');
  --ink: #17251c;
  --muted: #617260;
  --green: #2f6e4e;
  --deep-green: #173a2b;
  --gold: #c69439;
  --cream: #fffdf3;
  --glass: rgba(255, 253, 239, .16);
  --line: rgba(48, 92, 62, .19);
  --shadow: 0 22px 70px rgba(23, 58, 43, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #dce9c9; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Nunito, "Noto Serif SC", sans-serif;
  background: #dce9c9 var(--forest-bg) center / cover fixed no-repeat;
  cursor: auto;
}
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(12, 45, 28, .28), rgba(255, 250, 219, .08) 50%, rgba(12, 45, 28, .24)); pointer-events: none; }
a, button { color: inherit; cursor: pointer; }
a { text-decoration: none; }
.site-header { transform: translateY(0); transition: transform .35s ease, opacity .35s ease; position: sticky; top: 18px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 32px; width: min(1400px, calc(100% - 48px)); margin: 0 auto; padding: 12px 18px 12px 20px; background: linear-gradient(180deg, rgba(248, 255, 235, .56), rgba(248, 255, 235, .25)); border: 1px solid rgba(255,255,255,.62); border-radius: 24px; box-shadow: 0 10px 30px rgba(22, 62, 39, .12); backdrop-filter: blur(16px); }
.site-header.nav-hidden { transform: translateY(calc(-100% - 28px)); opacity: 0; pointer-events: none; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; color: #fffaf0; background: linear-gradient(145deg, #8fb65c, #386e4d); border-radius: 13px 13px 13px 4px; box-shadow: 0 5px 16px rgba(57, 104, 70, .35); }
.brand strong, .brand small { display: block; line-height: 1.1; }
.brand strong { font-family: "Noto Serif SC", serif; font-size: 15px; letter-spacing: .04em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.site-nav { display: flex; align-items: center; gap: 7px; color: #46614b; font-size: 13px; font-weight: 700; }
.site-nav a { position: relative; padding: 9px 13px; border: 1px solid transparent; border-radius: 999px; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease; }
.site-nav a::after { content: "✦"; position: absolute; right: 8px; bottom: 2px; color: var(--gold); font-size: 7px; opacity: 0; transform: scale(.5); transition: opacity .25s ease, transform .25s ease; }
.site-nav a:hover { color: var(--deep-green); background: rgba(255, 253, 232, .45); border-color: rgba(255,255,255,.55); transform: translateY(-1px); }
.site-nav a:hover::after { opacity: 1; transform: scale(1); }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 20px; }
.search-toggle { position: relative; z-index: 2; padding: 8px 11px; color: #46614b; border: 1px solid transparent; border-radius: 999px; background: transparent; font-size: 21px; line-height: 1; transition: .25s ease; }
.search-toggle:hover { color: var(--deep-green); border-color: rgba(255,255,255,.6); background: rgba(255,253,232,.45); transform: translateY(-1px); }
.search-panel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 30; display: none; width: min(430px, calc(100vw - 28px)); padding: 14px; border: 1px solid rgba(255,255,255,.72); border-radius: 18px; background: rgba(248,255,235,.86); box-shadow: 0 16px 40px rgba(22,62,39,.18); backdrop-filter: blur(18px); }
.search-panel.open { display: block; }
.search-panel-inner { display: flex; gap: 8px; align-items: center; }
#site-search { min-width: 0; flex: 1; padding: 10px 12px; color: var(--ink); border: 1px solid rgba(70,110,70,.22); border-radius: 11px; outline: none; background: rgba(255,255,248,.72); font: 14px Nunito, "Noto Serif SC", sans-serif; }
#site-search:focus { border-color: rgba(47,110,78,.58); box-shadow: 0 0 0 3px rgba(118,154,83,.14); }
#search-close { padding: 6px 8px; color: var(--muted); border: 0; background: transparent; font-size: 19px; }
.search-results { display: grid; gap: 6px; max-height: 300px; margin-top: 10px; overflow-y: auto; }
.search-result { display: block; padding: 10px 11px; border-radius: 10px; background: rgba(255,255,248,.48); }
.search-result:hover { background: rgba(255,255,248,.9); }
.search-result strong, .search-result small { display: block; }
.search-result strong { color: var(--deep-green); font-family: "Noto Serif SC", serif; font-size: 14px; }
.search-result small { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.search-empty { padding: 12px; color: var(--muted); font-size: 12px; }
.site-main { width: min(1400px, calc(100% - 48px)); margin: 0 auto; padding: 74px 0 100px; }
.hero { display: flex; align-items: center; justify-content: space-between; min-height: 430px; padding: 48px 78px; overflow: hidden; border-radius: 32px; background: linear-gradient(125deg, rgba(246, 252, 227, .88), rgba(255, 250, 218, .52)); border: 1px solid rgba(255,255,255,.85); box-shadow: var(--shadow); }
.eyebrow, .card-kicker, .section-heading > span { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { max-width: 650px; margin: 18px 0 16px; color: var(--deep-green); font-family: "Noto Serif SC", serif; font-size: clamp(45px, 7vw, 82px); line-height: .98; letter-spacing: -.07em; }
h1 em, h2 em, h3 em { color: #769a53; font-style: normal; }
.hero-description { max-width: 470px; margin: 0; color: #56705b; font-family: "Noto Serif SC", serif; font-size: 16px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; gap: 15px; padding: 13px 20px; border-radius: 999px; font-size: 13px; font-weight: 800; transition: transform .25s, box-shadow .25s, background .25s; }
.button:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(45, 93, 61, .2); }
.button-primary { color: #fffdf3; background: var(--deep-green); }
.button-ghost { border: 1px solid rgba(47, 110, 78, .3); background: rgba(255,255,255,.32); }
.hero-sigil { display: grid; place-items: center; width: 185px; height: 185px; color: #fff8df; text-align: center; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(196, 221, 130, .85), rgba(53, 111, 72, .7)); box-shadow: inset 0 0 30px rgba(255,255,255,.3), 0 20px 45px rgba(45, 92, 58, .2); animation: pulse-glow 4s ease-in-out infinite; }
.hero-sigil span { margin-bottom: -34px; font-size: 40px; color: #fff3b0; }
.hero-sigil small { margin-top: -22px; font-size: 9px; line-height: 1.8; letter-spacing: .25em; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(250px, .8fr); gap: 38px; margin-top: 68px; }
.section-heading { margin-bottom: 23px; }
.section-heading h1, .section-heading h2 { margin: 9px 0 0; color: var(--deep-green); font-family: "Noto Serif SC", serif; font-size: clamp(31px, 4vw, 44px); letter-spacing: -.06em; }
.post-list { display: grid; gap: 16px; }
.post-card, .side-card, .article-card, .article-hero { border: 1px solid rgba(255,255,255,.7); box-shadow: 0 16px 48px rgba(38, 77, 47, .14); backdrop-filter: blur(13px); }
.post-card { padding: 25px 28px 23px; border-radius: 23px; background: rgba(250, 255, 239, .7); transition: transform .35s ease, background .35s ease, box-shadow .35s ease; }
.post-card:hover { transform: translateY(-5px); background: rgba(255, 255, 244, .88); box-shadow: 0 22px 55px rgba(38, 77, 47, .2); }
.post-card-top, .article-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.leaf-dot { color: var(--gold); }
.post-card h3 { margin: 14px 0 9px; font-family: "Noto Serif SC", serif; font-size: 22px; }
.post-card h3 a:hover { color: var(--green); }
.post-card p, .side-card p { margin: 0; color: #5b705e; font-size: 14px; line-height: 1.9; }
.read-more, .text-link { display: inline-flex; gap: 12px; margin-top: 17px; color: var(--green); font-size: 12px; font-weight: 800; }
.read-more span, .text-link span { transition: transform .25s; }
.read-more:hover span, .text-link:hover span { transform: translateX(4px); }
.side-column { display: grid; align-content: start; gap: 16px; }
.side-card { padding: 27px; border-radius: 25px; background: rgba(236, 249, 215, .7); }
.profile-card h3 { margin-bottom: 12px; }
.profile-info { display: grid; gap: 10px; margin-top: 19px; padding-top: 15px; border-top: 1px solid rgba(47, 110, 78, .16); }
.profile-info p { display: grid; gap: 3px; margin: 0; }
.profile-info strong { color: var(--deep-green); font-size: 11px; letter-spacing: .08em; }
.profile-info span, .profile-info a { color: #5b705e; font-size: 13px; line-height: 1.55; word-break: break-word; }
.profile-info a { color: var(--green); }
.profile-info a:hover { color: var(--gold); }
.side-card h3 { margin: 15px 0 11px; color: var(--deep-green); font-family: "Noto Serif SC", serif; font-size: 30px; line-height: 1.15; }
.tags-card { background: rgba(255, 250, 222, .67); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.tag-cloud a { padding: 7px 10px; color: #657b55; border: 1px solid rgba(105, 139, 80, .23); border-radius: 999px; font-size: 11px; transition: .25s; }
.tag-cloud a:hover { color: #fff; background: var(--green); }
.article-page { padding-top: 20px; }
.article-hero { max-width: 900px; margin: 0 auto 28px; padding: 42px clamp(25px, 6vw, 70px); border-radius: 30px; background: rgba(250, 255, 239, .72); text-align: center; }
.article-hero h1 { margin: 15px 0 14px; color: var(--deep-green); font-family: "Noto Serif SC", serif; font-size: clamp(34px, 5vw, 58px); line-height: 1.2; letter-spacing: -.06em; }
.article-meta { justify-content: center; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 30px; max-width: 1200px; margin: auto; align-items: start; }
.toc-panel { position: sticky; top: 104px; padding: 21px 18px; color: #263f2c; border: 1px solid rgba(255,255,255,.58); border-radius: 17px; background: rgba(245, 252, 232, .52); box-shadow: 0 10px 25px rgba(35, 76, 43, .12); backdrop-filter: blur(12px); font-size: 14px; line-height: 2.05; }
.toc-title { margin-bottom: 12px; color: #234d31; font-size: 11px; font-weight: 800; letter-spacing: .17em; }
.toc-panel ol { margin: 0; padding-left: 17px; }
.toc-panel a { color: #294832; }
.toc-panel a:hover { color: #8a5a1f; }
.article-card { position: relative; padding: clamp(25px, 5vw, 62px); overflow: hidden; border-radius: 27px; background: var(--glass); backdrop-filter: blur(18px); }
.article-card::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--article-bg) center / cover no-repeat; opacity: .04; pointer-events: none; }
.article-content, .article-footer { position: relative; z-index: 1; }
.article-content { color: #1d2b22; text-shadow: 0 1px 0 rgba(255,255,255,.28); font-family: "Noto Serif SC", serif; font-size: 16px; line-height: 2.05; }
.article-content h2, .article-content h3, .article-content h4 { margin: 2em 0 .7em; color: #10291a; text-shadow: 0 1px 0 rgba(255,255,255,.35); line-height: 1.35; }
.article-content h2 { font-size: 29px; }
.article-content h3 { font-size: 23px; }
.article-content a { color: #79511c; border-bottom: 1px dashed currentColor; }
.article-content blockquote { margin: 1.5em 0; padding: 12px 18px; color: #60755b; border-left: 4px solid #9bb76b; border-radius: 0 13px 13px 0; background: rgba(255,255,255,.38); }
.article-content figure.highlight .gutter { display: none; }
.article-content figure.highlight .code { width: 100%; }
.article-content figure.highlight > table { width: 100%; }
.article-content figure.highlight table { border: 0; border-spacing: 0; }
.article-content figure.highlight td, .article-content figure.highlight tr { border: 0; }
.article-content figure.highlight .gutter, .article-content figure.highlight .code { border: 0; }
.article-content figure.highlight > .copy-code-button { position: absolute !important; top: 10px; right: 10px; display: block; width: max-content; margin: 0; float: none; }
.article-content figure.highlight { position: relative; overflow: auto; margin: 1.5em 0; padding: 0; border: 1px solid rgba(75, 111, 70, .18); border-radius: 15px; background: rgba(239, 248, 222, .72); box-shadow: 0 8px 22px rgba(47, 83, 49, .10); }
.article-content pre { margin: 0; overflow: auto; padding: 18px 82px 18px 18px; color: #263b2c; background: transparent; font-family: Consolas, monospace; font-size: 13px; line-height: 1.65; }
.article-content code { padding: 2px 6px; color: #33664a; border-radius: 5px; background: rgba(118, 154, 83, .15); font-family: Consolas, monospace; font-size: .9em; }
.article-content pre code { padding: 0; color: inherit; background: transparent; }
.copy-code-button { position: absolute; top: 9px; right: 10px; z-index: 2; padding: 5px 10px; color: #557354; border: 1px solid rgba(75,111,70,.24); border-radius: 999px; background: rgba(255,255,244,.72); font: 700 10px Nunito, sans-serif; letter-spacing: .06em; cursor: pointer; transition: .2s ease; }
.copy-code-button:hover, .copy-code-button.copied { color: #fffdf3; background: #3e7350; border-color: #3e7350; }
.article-content img { display: block; max-width: 100%; height: auto; margin: 1.7em auto; border-radius: 14px; box-shadow: 0 11px 28px rgba(40, 81, 47, .18); }
.article-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-content th, .article-content td { padding: 8px 12px; border: 1px solid var(--line); }
.article-footer { display: flex; justify-content: space-between; gap: 15px; margin-top: 48px; padding-top: 18px; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
.archive-page { max-width: 900px; margin: auto; padding-top: 25px; }
.archive-intro { color: var(--muted); }
.column-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 28px 0 8px; }
.column-card { display: flex; min-height: 148px; padding: 21px 22px 18px; flex-direction: column; justify-content: space-between; border: 1px solid rgba(255,255,255,.76); border-radius: 21px; background: rgba(250, 255, 239, .68); box-shadow: 0 14px 34px rgba(38, 77, 47, .13); backdrop-filter: blur(12px); transition: transform .3s ease, background .3s ease, box-shadow .3s ease; }
.column-card:hover { transform: translateY(-5px); background: rgba(255,255,244,.9); box-shadow: 0 20px 42px rgba(38, 77, 47, .2); }
.column-card strong { color: var(--deep-green); font-family: "Noto Serif SC", serif; font-size: 21px; }
.column-card span { margin-top: 10px; color: #5b705e; font-size: 13px; line-height: 1.75; }
.column-card em { margin-top: 18px; color: var(--green); font-size: 12px; font-style: normal; font-weight: 800; }
.archive-list { display: grid; gap: 10px; margin-top: 34px; }
.archive-row { display: grid; grid-template-columns: 110px 1fr 20px; gap: 15px; align-items: center; padding: 20px 23px; border: 1px solid rgba(255,255,255,.72); border-radius: 17px; background: rgba(250, 255, 239, .68); transition: transform .25s, background .25s; }
.archive-row:hover { transform: translateX(6px); background: rgba(255,255,244,.9); }
.archive-row time { color: var(--muted); font-size: 11px; }
.archive-row strong { font-family: "Noto Serif SC", serif; font-size: 17px; }
.archive-row span { color: var(--gold); font-size: 18px; }
.site-footer { display: flex; justify-content: space-between; width: min(1400px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0 38px; color: rgba(34, 71, 42, .72); font-size: 11px; }
.moss-orb { position: fixed; z-index: -1; width: 240px; height: 240px; border-radius: 50%; filter: blur(45px); opacity: .25; pointer-events: none; }
.moss-orb-one { top: 16%; left: 3%; background: #ffe27d; animation: drift 11s ease-in-out infinite; }
.moss-orb-two { right: 4%; bottom: 10%; background: #a9d778; animation: drift 14s ease-in-out infinite reverse; }
#fairy-sprite { position: fixed; z-index: 1000; width: 28px; height: 28px; pointer-events: none; background: transparent url('/images/fairy/fairy-idle-transparent.png') center / contain no-repeat; mix-blend-mode: normal; filter: drop-shadow(0 9px 10px rgba(40, 81, 47, .2)); transform-origin: 4px 7px; animation: fairy-float 2.6s ease-in-out infinite; will-change: left, top; }
#fairy-sprite.casting { animation: fairy-cast .8s ease-out both; }
#sparkle-layer { position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden; }
.sparkle { position: absolute; width: var(--size); height: var(--size); border-radius: 50%; background: radial-gradient(circle, #fffde3 0 22%, #ffd76a 35%, transparent 72%); box-shadow: 0 0 12px #ffe58d; animation: sparkle-burst .95s cubic-bezier(.2,.75,.3,1) forwards; }
.sparkle::after { content: "✦"; position: absolute; inset: -8px; color: #fff5a8; font-size: calc(var(--size) * 1.7); line-height: 1; text-shadow: 0 0 10px #fff0a0; }
.reveal { opacity: 1; transform: translateY(0); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--delay, 0ms); }
.js-ready .reveal { opacity: 1; transform: translateY(0); }
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.article-page .reveal { opacity: 1; transform: translateY(0); }
@keyframes fairy-float { 0%, 100% { margin-top: 0; } 50% { margin-top: -8px; } }
@keyframes fairy-cast { 0% { rotate: 0deg; scale: 1; } 30% { rotate: -8deg; scale: 1.05; } 100% { rotate: 0deg; scale: 1; } }
@keyframes sparkle-burst { from { opacity: 1; transform: translate(0,0) scale(.3) rotate(0deg); } to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.35) rotate(160deg); } }
@keyframes pulse-glow { 0%,100% { transform: translateY(0); box-shadow: inset 0 0 30px rgba(255,255,255,.3), 0 20px 45px rgba(45, 92, 58, .2); } 50% { transform: translateY(-7px); box-shadow: inset 0 0 36px rgba(255,255,255,.42), 0 25px 55px rgba(45, 92, 58, .28); } }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(35px,-25px) scale(1.12); } }
@media (max-width: 780px) {
  body, a, button { cursor: auto; }
  #fairy-sprite { display: block; width: 28px; height: 28px; }
  .site-header, .site-main, .site-footer { width: min(100% - 26px, 600px); }
  body { background-attachment: scroll; background-position: center top; }
  .site-header { margin-top: 10px; }
  .site-nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 15px 20px; flex-direction: column; align-items: flex-start; gap: 5px; border-radius: 18px; background: rgba(250,255,241,.95); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav, .nav-toggle { display: none; }
  .site-main { padding-top: 35px; }
  .hero { min-height: auto; padding: 38px 25px 45px; }
  .hero-sigil { display: none; }
  .content-grid, .article-layout { grid-template-columns: 1fr; gap: 20px; }
  .toc-panel { position: static; order: 2; padding: 0 8px; }
  .toc-panel:empty { display: none; }
  .side-column { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; gap: 8px; }
  .column-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
  .column-card { min-height: 130px; padding: 18px; }
  .archive-row { grid-template-columns: 84px 1fr 15px; padding: 16px 15px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Compact personal card under the YangYang brand */
.hero { max-width: 760px; min-height: 0; margin: 18px 0 42px; padding: 29px 38px; }
.intro-line { margin: 16px 0 0; color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.hero-profile-info span, .hero-profile-info a { font-size: 15px; }
.hero-profile-info { gap: 12px; }
.hero-description { margin-top: 18px; font-size: 13px; line-height: 1.8; }
.sparkle { background: radial-gradient(circle, #fffdf0 0 18%, #f5d978 28%, #a8d982 48%, transparent 74%); box-shadow: 0 0 13px rgba(255, 235, 145, .9); }
@media (max-width: 760px) { .hero { width: 100%; padding: 24px; margin-bottom: 30px; } }
.profile-avatar { display: block; width: 76px; height: 76px; margin-bottom: 18px; object-fit: cover; border: 3px solid rgba(255,255,255,.78); border-radius: 24px; box-shadow: 0 9px 22px rgba(38, 77, 47, .18); }
.hero { width: min(620px, 100%); }
.sparkle { display: grid; place-items: center; width: auto; height: auto; background: none; box-shadow: none; color: #fff9d9; font-size: var(--size); line-height: 1; text-shadow: 0 0 8px #f5d978, 0 0 15px rgba(168, 217, 130, .9); }
/* Restore the original multi-star burst used by the published version */
.sparkle { position: absolute; width: var(--size); height: var(--size); border-radius: 50%; background: radial-gradient(circle, #fffde3 0 22%, #ffd76a 35%, transparent 72%); box-shadow: 0 0 12px #ffe58d; animation: sparkle-burst .95s cubic-bezier(.2,.75,.3,1) forwards; }
.sparkle::after { content: "✦"; position: absolute; inset: -8px; color: #fff5a8; font-size: calc(var(--size) * 1.7); line-height: 1; text-shadow: 0 0 10px #fff0a0; }
.profile-avatar { width: 52px !important; height: 52px !important; margin-bottom: 14px; border-radius: 17px; }

.home-top-grid { display: grid; grid-template-columns: minmax(0, 620px) minmax(260px, 1fr); gap: 28px; align-items: stretch; margin: 18px 0 42px; }
.home-top-grid .hero { width: 100%; margin: 0; }
.home-side-panel { align-self: stretch; padding: 31px 30px; border: 1px solid rgba(255,255,255,.72); border-radius: 27px; background: rgba(236, 249, 215, .62); box-shadow: 0 16px 45px rgba(38, 77, 47, .14); backdrop-filter: blur(15px); }
.home-side-panel h2 { margin: 12px 0 9px; color: var(--deep-green); font-family: "Noto Serif SC", serif; font-size: 29px; }
.home-side-intro { margin: 0; color: #5b705e; font-size: 13px; line-height: 1.8; }
.explore-links { display: grid; gap: 10px; margin-top: 24px; }
.explore-links a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 14px; border: 1px solid rgba(105, 139, 80, .18); border-radius: 14px; background: rgba(255,255,248,.28); transition: transform .25s ease, background .25s ease; }
.explore-links a:hover { transform: translateX(4px); background: rgba(255,255,248,.72); }
.explore-links strong { color: var(--deep-green); font-family: "Noto Serif SC", serif; font-size: 15px; }
.explore-links span { color: var(--green); font-size: 11px; white-space: nowrap; }
.home-stat-row { display: flex; gap: 20px; margin-top: 25px; padding-top: 17px; border-top: 1px solid rgba(47, 110, 78, .16); color: var(--muted); font-size: 11px; }
.home-stat-row strong { color: var(--deep-green); font-size: 20px; }
@media (max-width: 900px) { .home-top-grid { grid-template-columns: 1fr; gap: 18px; } .home-side-panel { padding: 25px; } }
.ambient-forest { position: relative; min-height: 100%; overflow: hidden; border: 1px solid rgba(255,255,255,.48); border-radius: 30px; background: linear-gradient(145deg, rgba(215, 237, 180, .2), rgba(255, 249, 207, .08)); box-shadow: inset 0 0 70px rgba(255,255,220,.1), 0 18px 50px rgba(38,77,47,.08); backdrop-filter: blur(2px); isolation: isolate; }
.ambient-forest::before { content: ""; position: absolute; inset: 14% 8% 10%; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; transform: rotate(-12deg); opacity: .65; }
.ambient-glow { position: absolute; border-radius: 50%; filter: blur(24px); pointer-events: none; }
.ambient-glow-one { transform: translate(var(--parallax-x, 0), var(--parallax-y, 0)); width: 190px; height: 190px; top: 10%; right: 12%; background: rgba(255, 229, 128, .28); animation: ambient-pulse 5s ease-in-out infinite; }
.ambient-glow-two { width: 170px; height: 170px; bottom: 8%; left: 12%; background: rgba(129, 203, 137, .22); animation: ambient-pulse 7s ease-in-out infinite reverse; }
.ambient-moon { position: absolute; top: 23%; right: 25%; z-index: 1; color: rgba(255,248,181,.86); font-size: 34px; text-shadow: 0 0 18px rgba(255,226,112,.9); animation: moon-float 4.5s ease-in-out infinite; }
.firefly-field i { position: absolute; z-index: 2; width: 6px; height: 6px; border-radius: 50%; background: #fff6ad; box-shadow: 0 0 8px 3px rgba(255,225,117,.72); animation: firefly-drift 4.8s ease-in-out infinite; }
.firefly-field i:nth-child(1) { top: 18%; left: 17%; animation-delay: -.5s; }
.firefly-field i:nth-child(2) { top: 34%; left: 72%; animation-delay: -2.1s; }
.firefly-field i:nth-child(3) { top: 57%; left: 31%; animation-delay: -1.4s; }
.firefly-field i:nth-child(4) { top: 69%; left: 79%; animation-delay: -3.2s; }
.firefly-field i:nth-child(5) { top: 78%; left: 52%; animation-delay: -1.9s; }
.firefly-field i:nth-child(6) { top: 44%; left: 47%; animation-delay: -.8s; }
.firefly-field i:nth-child(7) { top: 25%; left: 88%; animation-delay: -2.7s; }
.firefly-field i:nth-child(8) { top: 82%; left: 16%; animation-delay: -3.8s; }
.leaf-field span { position: absolute; z-index: 1; color: rgba(122, 166, 98, .42); font-size: 42px; animation: leaf-sway 6s ease-in-out infinite; }
.leaf-field span:nth-child(1) { top: 9%; left: 10%; transform: rotate(-28deg); }
.leaf-field span:nth-child(2) { right: 5%; bottom: 21%; font-size: 52px; animation-delay: -2.4s; transform: rotate(24deg); }
.leaf-field span:nth-child(3) { bottom: 7%; left: 43%; font-size: 31px; animation-delay: -4s; transform: rotate(-11deg); }
.ambient-caption { position: absolute; right: 28px; bottom: 27px; z-index: 3; color: rgba(32,76,45,.72); text-align: right; }
.ambient-caption span { display: block; margin-bottom: 7px; color: rgba(47,110,78,.7); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.ambient-caption strong { font-family: "Noto Serif SC", serif; font-size: 17px; font-weight: 600; line-height: 1.45; }
@keyframes ambient-pulse { 0%,100% { opacity: .45; transform: scale(.92); } 50% { opacity: .9; transform: scale(1.08); } }
@keyframes moon-float { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(-8px,-10px) rotate(10deg); } }
@keyframes firefly-drift { 0%,100% { opacity: .25; transform: translate(0,0) scale(.7); } 45% { opacity: 1; transform: translate(10px,-13px) scale(1.25); } 75% { opacity: .55; transform: translate(-8px,8px) scale(.9); } }
@keyframes leaf-sway { 0%,100% { margin-top: 0; } 50% { margin-top: 12px; transform: rotate(8deg) translateX(9px); } }
@media (max-width: 900px) { .ambient-forest { min-height: 240px; } .ambient-caption { right: 20px; bottom: 18px; } }
/* Keep the personal card and ambient scene side by side on normal screens */
@media (min-width: 701px) {
  .home-top-grid { grid-template-columns: minmax(0, 500px) minmax(220px, 1fr); gap: 24px; }
  .home-top-grid .hero { width: 100%; padding: 25px 30px; }
  .ambient-forest { min-height: 390px; }
}
@media (max-width: 700px) {
  .home-top-grid { grid-template-columns: 1fr; gap: 16px; }
  .ambient-forest { min-height: 230px; }
}
.pollen-field i { position: absolute; z-index: 2; width: 3px; height: 3px; border-radius: 50%; background: #fffbe0; box-shadow: 0 0 7px 2px rgba(255,231,139,.7); animation: pollen-rise 6s ease-in-out infinite; }
.pollen-field i:nth-child(1) { left: 22%; bottom: 16%; animation-delay: -1s; }
.pollen-field i:nth-child(2) { left: 38%; bottom: 28%; animation-delay: -3s; }
.pollen-field i:nth-child(3) { left: 58%; bottom: 12%; animation-delay: -4.5s; }
.pollen-field i:nth-child(4) { left: 70%; bottom: 35%; animation-delay: -2.2s; }
.pollen-field i:nth-child(5) { left: 83%; bottom: 18%; animation-delay: -5.3s; }
.pollen-field i:nth-child(6) { left: 48%; bottom: 46%; animation-delay: -.3s; }
.ambient-constellation { position: absolute; top: 18%; left: 24%; width: 150px; height: 105px; opacity: .55; transform: translate(var(--parallax-x,0), var(--parallax-y,0)); }
.ambient-constellation::before { content: ""; position: absolute; top: 30px; left: 25px; width: 110px; height: 52px; border-top: 1px solid rgba(255,245,180,.35); border-right: 1px solid rgba(255,245,180,.25); transform: rotate(17deg); }
.ambient-constellation i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff7bd; box-shadow: 0 0 8px 2px rgba(255,229,126,.8); }
.ambient-constellation i:nth-child(1) { top: 14px; left: 17px; }
.ambient-constellation i:nth-child(2) { top: 51px; left: 55px; }
.ambient-constellation i:nth-child(3) { top: 27px; right: 12px; }
.ambient-constellation i:nth-child(4) { bottom: 5px; left: 92px; }
.ambient-garden { position: absolute; right: 16%; bottom: 9%; z-index: 2; color: rgba(206,226,129,.6); text-shadow: 0 0 13px rgba(255,235,129,.8); }
.ambient-garden span { display: inline-block; margin: 0 7px; font-size: 25px; animation: flower-bob 3.5s ease-in-out infinite; }
.ambient-garden span:nth-child(2) { font-size: 37px; animation-delay: -.9s; }
.ambient-garden span:nth-child(3) { animation-delay: -1.7s; }
@keyframes pollen-rise { 0%,100% { opacity: 0; transform: translate(0,12px); } 35%,70% { opacity: .8; } 50% { transform: translate(13px,-38px); } }
@keyframes flower-bob { 0%,100% { transform: translateY(2px) rotate(-4deg); opacity: .55; } 50% { transform: translateY(-8px) rotate(5deg); opacity: .9; } }
/* Global ambient forest background */
#ambient-background { position: fixed; inset: 0; z-index: 4; min-height: 0; overflow: hidden; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; pointer-events: none; }
#ambient-background::before { display: none; }
.site-main, .site-footer { position: relative; z-index: 1; }
.home-top-grid { grid-template-columns: minmax(0, 500px); }
.home-top-grid .hero { width: 100%; }
@media (max-width: 700px) { .home-top-grid { grid-template-columns: 1fr; } }
/* Foreground ambient layer: decorative only, never blocks reading or clicking */
.ambient-stars i { position: absolute; z-index: 5; width: 4px; height: 4px; border-radius: 50%; background: #fff8bd; box-shadow: 0 0 9px 3px rgba(255,226,121,.72); animation: foreground-twinkle 3.8s ease-in-out infinite; }
.ambient-stars i:nth-child(1) { top: 11%; left: 8%; animation-delay: -.4s; }
.ambient-stars i:nth-child(2) { top: 19%; left: 34%; animation-delay: -2.2s; }
.ambient-stars i:nth-child(3) { top: 27%; left: 61%; animation-delay: -1.1s; }
.ambient-stars i:nth-child(4) { top: 38%; left: 89%; animation-delay: -3s; }
.ambient-stars i:nth-child(5) { top: 48%; left: 14%; animation-delay: -1.8s; }
.ambient-stars i:nth-child(6) { top: 57%; left: 42%; animation-delay: -.7s; }
.ambient-stars i:nth-child(7) { top: 64%; left: 76%; animation-delay: -2.8s; }
.ambient-stars i:nth-child(8) { top: 73%; left: 25%; animation-delay: -1.4s; }
.ambient-stars i:nth-child(9) { top: 81%; left: 57%; animation-delay: -3.5s; }
.ambient-stars i:nth-child(10) { top: 88%; left: 91%; animation-delay: -.9s; }
.ambient-stars i:nth-child(11) { top: 31%; left: 48%; animation-delay: -2.5s; }
.ambient-stars i:nth-child(12) { top: 68%; left: 5%; animation-delay: -1.7s; }
.ambient-petals span { position: absolute; z-index: 5; color: rgba(232,240,167,.52); font-size: 20px; text-shadow: 0 0 12px rgba(255,235,136,.7); animation: foreground-float 9s ease-in-out infinite; }
.ambient-petals span:nth-child(1) { top: 14%; left: 18%; animation-delay: -2s; }
.ambient-petals span:nth-child(2) { top: 25%; left: 83%; animation-delay: -6s; }
.ambient-petals span:nth-child(3) { top: 53%; left: 68%; animation-delay: -4s; }
.ambient-petals span:nth-child(4) { top: 61%; left: 9%; animation-delay: -7s; }
.ambient-petals span:nth-child(5) { top: 76%; left: 46%; animation-delay: -1s; }
.ambient-petals span:nth-child(6) { top: 91%; left: 73%; animation-delay: -5s; }
@keyframes foreground-twinkle { 0%,100% { opacity: .2; transform: scale(.65); } 45% { opacity: .95; transform: scale(1.35); } 65% { opacity: .45; transform: scale(.9); } }
@keyframes foreground-float { 0%,100% { opacity: .2; transform: translate(0,0) rotate(0); } 50% { opacity: .8; transform: translate(18px,-25px) rotate(25deg); } }
/* Stable wide-screen proportions */
@media (min-width: 901px) {
  .site-main { width: min(1640px, calc(100% - 64px)); }
  .article-layout { max-width: 1580px; grid-template-columns: 270px minmax(0, 1fr); gap: 34px; }
  .article-hero { max-width: 1580px; }
  .archive-page { max-width: 1280px; }
  .content-grid { grid-template-columns: minmax(0, 1.8fr) minmax(300px, .72fr); gap: 32px; }
}
@media (max-width: 900px) {
  .site-main { width: min(100% - 26px, 700px); }
}
/* Small and dense ambient motion */
.ambient-glow-one { width: 130px; height: 130px; opacity: .72; }
.ambient-glow-two { width: 115px; height: 115px; opacity: .7; }
.ambient-moon { font-size: 21px; }
.leaf-field span { font-size: 28px; }
.leaf-field span:nth-child(2) { font-size: 34px; }
.ambient-garden span { margin: 0 4px; font-size: 17px; }
.ambient-garden span:nth-child(2) { font-size: 23px; }
.firefly-field i { width: 4px; height: 4px; box-shadow: 0 0 7px 2px rgba(255,225,117,.68); }
.pollen-field i { width: 2px; height: 2px; box-shadow: 0 0 5px 1px rgba(255,231,139,.68); }
.ambient-stars i { width: 3px; height: 3px; box-shadow: 0 0 7px 2px rgba(255,226,121,.68); }
.ambient-petals span { font-size: 14px; }
.ambient-constellation { transform: scale(.78) translate(var(--parallax-x,0), var(--parallax-y,0)); transform-origin: top left; }
/* Forest calendar beside the personal card */
@media (min-width: 701px) { .home-top-grid { grid-template-columns: minmax(0, 500px) minmax(320px, 1fr); } }
.forest-calendar { align-self: stretch; padding: 28px 30px 24px; border: 1px solid rgba(255,255,255,.62); border-radius: 27px; background: rgba(236,249,215,.43); box-shadow: 0 16px 45px rgba(38,77,47,.12); backdrop-filter: blur(14px); }
.calendar-topline, .calendar-heading { display: flex; align-items: center; justify-content: space-between; }
.calendar-sparkle { color: #d4ad48; font-size: 22px; text-shadow: 0 0 12px rgba(255,226,121,.8); animation: calendar-pulse 2.8s ease-in-out infinite; }
.calendar-heading { margin: 13px 0 20px; }
.calendar-heading h2 { margin: 0; color: var(--deep-green); font-family: "Noto Serif SC", serif; font-size: 27px; }
.calendar-heading span { color: var(--muted); font-size: 12px; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; text-align: center; }
.calendar-weekdays { margin-bottom: 8px; color: var(--green); font-size: 11px; font-weight: 800; }
.calendar-day, .calendar-empty { display: grid; min-height: 34px; place-items: center; position: relative; border-radius: 11px; color: #526e58; font-size: 13px; }
.calendar-day { transition: background .2s ease, transform .2s ease; }
.calendar-day:hover { background: rgba(255,255,248,.55); transform: translateY(-2px); }
.calendar-day.has-post { color: var(--deep-green); background: rgba(255,251,215,.5); font-weight: 800; }
.calendar-day.has-post:hover { background: rgba(255,251,215,.88); }
.calendar-day i { position: absolute; right: 4px; top: 1px; color: #d4ad48; font-size: 8px; font-style: normal; }
.calendar-note { margin: 19px 0 0; padding-top: 14px; border-top: 1px solid rgba(47,110,78,.14); color: var(--muted); font-size: 11px; line-height: 1.7; }
@keyframes calendar-pulse { 0%,100% { opacity: .55; transform: scale(.9) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(12deg); } }
@media (max-width: 700px) { .forest-calendar { padding: 23px 20px; } .calendar-day, .calendar-empty { min-height: 31px; } }
.calendar-toolbar { display: grid; grid-template-columns: 34px 1fr 34px; gap: 8px; align-items: center; margin: 13px 0 10px; }
.calendar-arrow, .calendar-title, .calendar-mode-button { color: var(--deep-green); border: 1px solid rgba(47,110,78,.16); border-radius: 10px; background: rgba(255,255,248,.28); cursor: pointer; }
.calendar-arrow { height: 32px; font-size: 23px; line-height: 1; }
.calendar-title { height: 34px; font-family: "Noto Serif SC", serif; font-size: 21px; font-weight: 700; }
.calendar-mode { display: flex; justify-content: center; gap: 6px; margin-bottom: 14px; }
.calendar-mode-button { padding: 5px 10px; color: var(--muted); font-size: 11px; }
.calendar-mode-button.active { color: #fffdf3; background: var(--green); }
.calendar-grid.year-view { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.calendar-month-cell { display: grid; min-height: 55px; place-items: center; gap: 3px; border: 1px solid rgba(105,139,80,.16); border-radius: 12px; background: rgba(255,255,248,.25); color: var(--deep-green); cursor: pointer; }
.calendar-month-cell strong { font-family: "Noto Serif SC", serif; font-size: 15px; }
.calendar-month-cell span { color: var(--muted); font-size: 10px; }
.calendar-posts { display: grid; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(47,110,78,.14); }
.calendar-posts strong { color: var(--deep-green); font-size: 12px; }
.calendar-posts a { padding: 7px 9px; border-radius: 9px; color: var(--green); background: rgba(255,255,248,.3); font-size: 12px; }
.calendar-posts-hint { color: var(--muted); font-size: 11px; }
@media (max-width: 700px) { .calendar-grid.year-view { grid-template-columns: repeat(4, 1fr); } .nav-toggle { display: block !important; } .site-header { gap: 8px; } .search-toggle { margin-left: 0; } }
#fairy-sprite.fairy-hidden { opacity: 0; }
.calendar-note, .calendar-mode { display: none; }

/* Compact calendar */
@media (min-width: 701px) { .home-top-grid { grid-template-columns: minmax(0, 500px) minmax(260px, 360px); gap: 22px; } }
.forest-calendar { padding: 20px 22px; border-radius: 22px; }
.calendar-topline { margin-bottom: 5px; }
.calendar-toolbar { grid-template-columns: 28px 1fr 28px; margin: 8px 0 8px; }
.calendar-arrow { height: 28px; font-size: 20px; }
.calendar-title { height: 29px; font-size: 18px; }
.calendar-weekdays, .calendar-grid { gap: 4px; }
.calendar-weekdays { margin-bottom: 4px; font-size: 10px; }
.calendar-day, .calendar-empty { min-height: 26px; border-radius: 8px; font-size: 12px; }
.calendar-day i { right: 2px; top: 0; font-size: 6px; }
.calendar-grid.year-view { gap: 5px; }
.calendar-month-cell { min-height: 42px; border-radius: 9px; }
.calendar-month-cell strong { font-size: 13px; }
.calendar-month-cell span { font-size: 9px; }
.calendar-posts, .calendar-posts-hint { display: none; }
@media (max-width: 700px) { .forest-calendar { padding: 19px 18px; } }