:root {
  color-scheme: light;
  --pd-bg: #edf2f2;
  --pd-surface: rgba(255, 253, 249, 0.82);
  --pd-surface-solid: #f8f5ef;
  --pd-surface-soft: rgba(247, 245, 240, 0.68);
  --pd-text: #17242a;
  --pd-muted: #6b7c80;
  --pd-sage: #66856d;
  --pd-sage-strong: #526f5b;
  --pd-sage-soft: rgba(102, 133, 109, 0.12);
  --pd-line: rgba(255, 255, 255, 0.82);
  --pd-line-dark: rgba(79, 104, 91, 0.13);
  --pd-shadow-low: 0 10px 30px rgba(59, 76, 72, 0.09);
  --pd-shadow-mid: 0 18px 44px rgba(54, 70, 67, 0.13);
  --pd-shadow-high: 0 28px 70px rgba(48, 64, 62, 0.16);
  --pd-focus: #2d7354;
  --pd-ease: cubic-bezier(.2, .75, .25, 1);
}

html[data-personal-desktop][data-theme='dark'] {
  color-scheme: dark;
  --pd-bg: #15221e;
  --pd-surface: rgba(33, 48, 42, 0.84);
  --pd-surface-solid: #24332d;
  --pd-surface-soft: rgba(35, 50, 44, 0.72);
  --pd-text: #edf2ed;
  --pd-muted: #aabbb1;
  --pd-sage: #9ab7a2;
  --pd-sage-strong: #b5cebc;
  --pd-sage-soft: rgba(154, 183, 162, 0.14);
  --pd-line: rgba(224, 236, 229, 0.15);
  --pd-line-dark: rgba(207, 226, 215, 0.11);
  --pd-shadow-low: 0 12px 34px rgba(5, 12, 9, 0.22);
  --pd-shadow-mid: 0 20px 48px rgba(4, 10, 8, 0.30);
  --pd-shadow-high: 0 30px 80px rgba(3, 8, 6, 0.38);
  --pd-focus: #b4d1bc;
}

html[data-personal-desktop] {
  min-width: 320px;
  min-height: 100%;
  background: var(--pd-bg);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[data-personal-desktop] *,
html[data-personal-desktop] *::before,
html[data-personal-desktop] *::after {
  box-sizing: border-box;
}

html[data-personal-desktop] body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--pd-text);
  background: var(--pd-bg);
}

.personal-desktop {
  position: relative;
  display: grid;
  grid-template-columns: clamp(250px, 18.5vw, 292px) minmax(0, 1fr);
  gap: clamp(30px, 3.1vw, 58px);
  width: min(100%, 1600px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(76px, 8vh, 96px) clamp(46px, 4.2vw, 80px) 28px;
  isolation: isolate;
}

.ambient-light {
  position: fixed;
  z-index: -2;
  inset: 0;
  background: var(--pd-bg) url('/img/personal-desktop/ambient-light.webp') center / cover no-repeat;
  transition: filter .28s ease, opacity .28s ease;
}

.ambient-light::after {
  content: '';
  position: absolute;
  top: -5%;
  right: -3%;
  width: min(34vw, 520px);
  aspect-ratio: 1;
  background: url('/img/personal-desktop/project-botanical.webp') center / cover no-repeat;
  opacity: .08;
  pointer-events: none;
  transform: rotate(18deg);
}

html[data-personal-desktop][data-theme='dark'] .ambient-light {
  opacity: .17;
  filter: brightness(.44) saturate(.68) hue-rotate(22deg);
}

.personal-desktop a {
  color: inherit;
  text-decoration: none;
}

.personal-desktop button,
.home-search button,
.home-search input {
  font: inherit;
}

.personal-desktop button,
.home-search button {
  color: inherit;
}

.personal-desktop img {
  display: block;
  max-width: 100%;
}

.desktop-sidebar {
  position: sticky;
  top: clamp(36px, 6vh, 70px);
  align-self: start;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  min-height: min(845px, calc(100svh - 92px));
  padding: 30px 26px 24px;
  overflow: hidden;
  border: 1px solid var(--pd-line);
  border-radius: 34px 38px 32px 42px;
  background: var(--pd-surface);
  box-shadow: var(--pd-shadow-mid);
  backdrop-filter: blur(18px) saturate(115%);
}

.desktop-sidebar::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 0 8px 24px;
  border-bottom: 1px solid var(--pd-line-dark);
}

.sidebar-profile img {
  width: 61px;
  height: 61px;
  flex: 0 0 auto;
  border: 3px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 7px 18px rgba(64, 81, 74, .15);
}

.sidebar-profile > div {
  min-width: 0;
}

.sidebar-profile a {
  display: block;
  margin-bottom: 6px;
  font-size: 1.55rem;
  font-weight: 610;
  letter-spacing: -.04em;
}

.sidebar-profile span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pd-muted);
  font-size: .9rem;
  white-space: nowrap;
}

.sidebar-profile span i,
.identity-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pd-sage);
  box-shadow: 0 0 0 4px var(--pd-sage-soft);
}

.sidebar-section {
  padding-top: 20px;
}

.sidebar-find {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--pd-line-dark);
}

.sidebar-label {
  margin: 0 8px 10px;
  color: var(--pd-muted);
  font-size: .76rem;
  font-weight: 560;
  letter-spacing: .055em;
}

.sidebar-nav {
  display: grid;
  gap: 3px;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 45px;
  padding: 0 16px;
  border-radius: 19px;
  color: var(--pd-text);
  font-size: .98rem;
  font-weight: 540;
  transition: color .2s ease, background .2s ease, transform .2s var(--pd-ease);
}

.sidebar-nav-link .ph {
  width: 23px;
  color: currentColor;
  font-size: 1.31rem;
  text-align: center;
}

.sidebar-nav-link:hover {
  transform: translateX(3px);
  color: var(--pd-sage-strong);
  background: rgba(255, 255, 255, .30);
}

.sidebar-nav-link.is-current {
  color: var(--pd-sage-strong);
  background: var(--pd-sage-soft);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 9px;
  border: 1px solid var(--pd-line-dark);
  border-radius: 13px;
  background: rgba(255, 255, 255, .24);
  font-size: clamp(.68rem, .74vw, .79rem);
  white-space: nowrap;
  transition: border-color .2s ease, background .2s ease, transform .2s var(--pd-ease);
}

.social-link .ph {
  font-size: 1.14rem;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(82, 111, 91, .28);
  background: rgba(255, 255, 255, .48);
}

.social-link.is-disabled {
  cursor: not-allowed;
  opacity: .52;
}

.site-stats {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--pd-line-dark);
}

.stats-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.stats-heading .sidebar-label {
  margin-bottom: 11px;
}

.stats-mode {
  margin-right: 7px;
  color: var(--pd-muted);
  font-size: .64rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stat-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 3px 7px;
  min-height: 54px;
  padding: 8px 10px;
  border: 1px solid var(--pd-line-dark);
  border-radius: 15px;
  color: var(--pd-muted);
  background: rgba(255, 255, 255, .2);
  font-size: .68rem;
}

button.stat-item {
  cursor: pointer;
}

.stat-item .ph {
  grid-row: 1 / 3;
  color: var(--pd-sage-strong);
  font-size: 1.08rem;
}

.stat-item strong {
  color: var(--pd-text);
  font-size: .84rem;
  font-variant-numeric: tabular-nums;
  font-weight: 620;
}

.site-like-toggle.is-liked {
  color: var(--pd-sage-strong);
  background: var(--pd-sage-soft);
}

.site-like-toggle:disabled {
  cursor: wait;
  opacity: .6;
}

.desktop-canvas {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .62fr .85fr .62fr;
  grid-template-rows: 288px 240px 230px;
  gap: 14px 24px;
  min-width: 0;
  align-self: start;
  margin-top: clamp(50px, 5.5vh, 68px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.desktop-object {
  position: relative;
  min-width: 0;
}

.today-scene,
.latest-article,
.projects-card,
.tools-portal,
.calendar-card,
.moments-object {
  transition: transform .28s var(--pd-ease), box-shadow .28s ease, border-color .28s ease;
}

.today-scene:hover,
.today-scene:focus-within,
.latest-article:hover,
.latest-article:focus-within,
.projects-card:hover,
.projects-card:focus-within,
.tools-portal:hover,
.tools-portal:focus-visible,
.calendar-card:hover,
.calendar-card:focus-within,
.moments-object:hover,
.moments-object:focus-visible {
  transform: translateY(-4px) scale(1.006);
}

.utility-controls {
  position: absolute;
  z-index: 20;
  top: -58px;
  right: 0;
  display: flex;
  gap: 14px;
}

.icon-control,
.round-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 47px;
  padding: 0;
  border: 1px solid var(--pd-line);
  border-radius: 16px;
  background: var(--pd-surface);
  box-shadow: var(--pd-shadow-low);
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: transform .2s var(--pd-ease), background .2s ease, box-shadow .2s ease;
}

.icon-control .ph,
.round-control .ph {
  font-size: 1.35rem;
}

.icon-control:hover,
.round-control:hover {
  transform: translateY(-3px);
  background: var(--pd-surface-solid);
  box-shadow: var(--pd-shadow-mid);
}

.today-scene {
  grid-column: 1 / 3;
  grid-row: 1;
  position: relative;
  justify-self: start;
  width: 100%;
  height: 100%;
  isolation: isolate;
}

.scene-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--pd-surface-soft);
  box-shadow: var(--pd-shadow-low);
  clip-path: url(#scene-blob);
  transform: scale(1.032, 1.075);
}

.scene-frame {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 42% 58% 30% 70% / 52% 36% 64% 48%;
  background: var(--pd-surface);
  clip-path: url(#scene-blob);
  filter: drop-shadow(0 18px 34px rgba(54, 70, 67, .16));
  transition: transform .28s var(--pd-ease), filter .28s ease;
}

.scene-blob-defs {
  position: absolute;
}

.scene-image-link { display: block; width: 100%; height: 100%; }

.scene-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.scene-nav-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--pd-line);
  border-radius: 50%;
  background: var(--pd-surface-soft);
  color: var(--pd-text);
  box-shadow: var(--pd-shadow-low);
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
}

.scene-nav-button:disabled { opacity: .42; cursor: not-allowed; }
.scene-nav-previous { left: 5.5%; }
.scene-nav-next { right: 5.5%; }

.scene-position {
  position: absolute;
  z-index: 2;
  left: 15%;
  bottom: 18%;
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

.scene-status {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18px;
  max-width: calc(100% - 190px);
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(31, 43, 38, .64);
  font-size: .72rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
}

.scene-status[hidden] { display: none; }

.scene-download-link {
  position: absolute;
  right: 12%;
  bottom: 22%;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--pd-line);
  border-radius: 50%;
  background: var(--pd-surface-soft);
  color: var(--pd-sage);
  box-shadow: var(--pd-shadow-low);
  opacity: 0;
  backdrop-filter: blur(10px);
  transform: translateY(6px) scale(.96);
  transition: opacity .22s ease, transform .22s var(--pd-ease), background .22s ease;
}

.scene-download-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.today-scene:hover .scene-download-link,
.today-scene:focus-within .scene-download-link,
.scene-download-link:focus-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scene-download-link:hover {
  background: var(--pd-surface-solid);
}

@media (hover: none) {
  .scene-download-link {
    opacity: .76;
    transform: translateY(0) scale(1);
  }
}

.scene-label,
.eyebrow,
.article-category,
.object-label {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 999px;
  background: rgba(248, 246, 240, .78);
  color: #405348;
  box-shadow: 0 6px 18px rgba(44, 61, 55, .08);
  backdrop-filter: blur(10px);
}

html[data-personal-desktop][data-theme='dark'] .scene-label,
html[data-personal-desktop][data-theme='dark'] .eyebrow,
html[data-personal-desktop][data-theme='dark'] .article-category,
html[data-personal-desktop][data-theme='dark'] .object-label {
  border-color: var(--pd-line);
  background: rgba(38, 54, 47, .82);
  color: var(--pd-sage-strong);
}

.scene-label {
  position: absolute;
  z-index: 2;
  top: 12%;
  left: 9%;
  padding: 6px 14px;
  font-size: .92rem;
  font-weight: 640;
  letter-spacing: .02em;
}

.identity-object {
  grid-column: 1 / 3;
  grid-row: 2;
  align-self: center;
  width: 100%;
  min-height: 200px;
}

.identity-link {
  position: relative;
  display: block;
  width: 100%;
  height: 200px;
  transition: transform .28s var(--pd-ease);
}

.identity-note {
  position: absolute;
  right: 0;
  top: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 88%;
  height: 172px;
  padding: 24px 78px 24px 168px;
  border: 1px solid var(--pd-line);
  border-radius: 999px;
  background: var(--pd-surface);
  box-shadow: var(--pd-shadow-low);
  transform: translateY(-50%) rotate(.4deg);
  transition: transform .3s var(--pd-ease), box-shadow .3s ease;
}

.identity-note h1 {
  margin: 0 0 9px;
  font-family: inherit;
  font-size: clamp(1.22rem, 1.52vw, 1.56rem);
  font-weight: 600;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.identity-note p {
  margin: 0;
  color: var(--pd-muted);
  font-size: .9rem;
  line-height: 1.65;
}

.identity-chevron {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 38px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--pd-muted);
  transform: translateY(-50%);
  transition: color .22s ease, transform .22s var(--pd-ease);
}

.identity-chevron .ph {
  font-size: 1.3rem;
  font-weight: 600;
}

.identity-avatar-frame {
  position: absolute;
  z-index: 3;
  left: 30px;
  top: 50%;
  display: block;
  width: 132px;
  height: 132px;
  border: 5px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  box-shadow: var(--pd-shadow-mid);
  overflow: hidden;
  transform: translateY(-50%);
  transition: transform .3s var(--pd-ease), box-shadow .3s ease;
}

.identity-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.identity-link:hover,
.identity-link:focus-visible {
  transform: translateY(-4px);
}

.identity-link:hover .identity-note,
.identity-link:focus-visible .identity-note {
  box-shadow: var(--pd-shadow-mid);
  transform: translateY(-50%) rotate(-.3deg) scale(1.008);
}

.identity-link:hover .identity-avatar-frame,
.identity-link:focus-visible .identity-avatar-frame {
  box-shadow: var(--pd-shadow-high);
  transform: translateY(-50%) rotate(-3deg) scale(1.035);
}

.identity-link:hover .identity-chevron,
.identity-link:focus-visible .identity-chevron {
  color: var(--pd-sage-strong);
  transform: translateY(-50%) translateX(4px);
}

.latest-article {
  grid-column: 3 / 5;
  grid-row: 2;
  align-self: center;
  height: 240px;
  overflow: hidden;
  border: 1px solid var(--pd-line);
  border-radius: 46% 54% 43% 57% / 35% 33% 67% 65%;
  background: var(--pd-surface-solid);
  box-shadow: var(--pd-shadow-high);
}

.latest-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.latest-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 61%;
  height: 100%;
  padding: 48px 12px 38px 42px;
  border-radius: 0 58% 52% 0 / 0 45% 55% 0;
  background: rgba(248, 245, 238, .94);
}

html[data-personal-desktop][data-theme='dark'] .latest-copy {
  background: rgba(36, 51, 45, .94);
}

.eyebrow,
.article-category,
.object-label {
  padding: 7px 11px;
  font-size: .73rem;
  font-weight: 620;
}

.article-category {
  display: none;
}

.latest-copy h2 {
  margin: 21px 0 12px;
  font-size: clamp(1.12rem, 1.35vw, 1.4rem);
  font-weight: 620;
  letter-spacing: -.035em;
  line-height: 1.3;
}

.latest-copy time {
  color: var(--pd-muted);
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
}

.article-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  transition: transform .45s var(--pd-ease);
}

.latest-link:hover .article-cover {
  transform: scale(1.025);
}

.projects-card {
  grid-column: 1;
  grid-row: 3;
  align-self: center;
  width: 90%;
  min-height: 175px;
  padding: 22px 20px 18px;
  border: 1px solid var(--pd-line);
  border-radius: 30px 38px 32px 25px;
  background: var(--pd-surface);
  box-shadow: var(--pd-shadow-low);
}

.tools-portal {
  grid-column: 2;
  grid-row: 3;
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 23px;
  width: 190px;
  aspect-ratio: 1;
  border: 1px solid var(--pd-line);
  border-radius: 50%;
  background: var(--pd-surface);
  box-shadow: var(--pd-shadow-low);
  backdrop-filter: blur(18px) saturate(118%);
}

.tools-portal > strong { font-size: .94rem; font-weight: 620; }
.tools-portal-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; width: calc(100% - 28px); }
.tools-portal-items > span { display: grid; place-items: center; gap: 8px; min-width: 0; }
.tools-portal-items .ph { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--pd-line); border-radius: 50%; background: var(--pd-surface-solid); box-shadow: var(--pd-shadow-low); font-size: 1.05rem; }
.tools-portal-items small { color: var(--pd-muted); font-size: .58rem; white-space: nowrap; }

.projects-card h2 {
  margin: 0 0 21px;
  font-size: .95rem;
  font-weight: 610;
}

.project-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project-link {
  min-width: 0;
}

.project-link img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 19px;
  object-fit: cover;
  box-shadow: var(--pd-shadow-low);
  transition: transform .23s var(--pd-ease);
}

.project-link:hover img {
  transform: translateY(-4px) rotate(-1deg);
}

.project-link span {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  color: var(--pd-muted);
  font-size: .68rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wander-object {
  grid-column: 4;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  display: grid;
  grid-template-rows: auto auto;
  place-items: center;
  gap: 10px;
  width: min(100%, 152px);
  padding: 16px 14px 13px;
  border: 1px solid var(--pd-line);
  border-radius: 26px;
  background: var(--pd-surface);
  box-shadow: var(--pd-shadow-low);
  backdrop-filter: blur(14px);
}

.music-wander-pair {
  grid-column: 3 / 5;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 152px;
  gap: 18px;
  align-items: center;
}

.music-wander-pair .wander-object {
  grid-column: auto;
  grid-row: auto;
}

.wander-label {
  position: relative;
  z-index: 2;
  color: var(--pd-text);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.wander-button {
  position: relative;
  width: 108px;
  height: 108px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.wander-button img {
  width: 108px;
  height: 108px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 18px 22px rgba(54, 66, 59, .15));
  transition: transform .32s var(--pd-ease);
}

.wander-button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

html[data-personal-desktop][data-theme='dark'] .wander-button img {
  mix-blend-mode: normal;
  opacity: .88;
}

.wander-button:hover img {
  transform: rotate(4deg) translateY(-3px);
}

.moments-object {
  grid-column: 4;
  grid-row: 3;
  align-self: center;
  justify-self: stretch;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 200px;
  padding: 16px 16px 13px;
  border: 1px solid var(--pd-line);
  border-radius: 28px;
  background: var(--pd-surface);
  box-shadow: var(--pd-shadow-low);
  backdrop-filter: blur(14px);
}

.calendar-card {
  grid-column: 3;
  grid-row: 3;
  align-self: center;
  justify-self: center;
  width: min(100%, 278px);
  min-height: 205px;
  padding: 19px 20px 16px;
  border: 1px solid var(--pd-line);
  border-radius: 31px 38px 34px 27px;
  background: var(--pd-surface);
  box-shadow: var(--pd-shadow-low);
  backdrop-filter: blur(15px);
}

.calendar-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.calendar-controls {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.calendar-control,
.calendar-today {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  color: var(--pd-muted);
  background: transparent;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, transform .18s var(--pd-ease);
}

.calendar-control {
  border-radius: 50%;
}

.calendar-control .ph {
  font-size: .72rem;
}

.calendar-today {
  padding: 0 6px;
  border-radius: 8px;
  font-size: .58rem;
}

.calendar-control:hover,
.calendar-control:focus-visible,
.calendar-today:hover,
.calendar-today:focus-visible {
  color: var(--pd-sage-strong);
  background: var(--pd-sage-soft);
  transform: translateY(-2px);
}

.calendar-today[hidden] {
  display: none;
}

.card-chevron {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--pd-muted);
  transition: color .2s ease, transform .2s var(--pd-ease);
}

.card-chevron .ph {
  font-size: .95rem;
  font-weight: 600;
}

.projects-card:hover .card-chevron,
.moments-object:hover .card-chevron {
  color: var(--pd-sage-strong);
  transform: translateX(3px);
}

.latest-chevron {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: auto;
  color: var(--pd-muted);
}

.latest-chevron .ph {
  font-size: 1.05rem;
  font-weight: 600;
}

.latest-link:hover .latest-chevron {
  color: var(--pd-sage-strong);
}

.moments-caption {
  margin-top: auto;
  padding-top: 10px;
  color: var(--pd-muted);
  font-size: .72rem;
  text-align: center;
}

.calendar-kicker {
  color: var(--pd-text);
  font-size: .95rem;
  font-weight: 610;
}

.calendar-card > strong {
  display: block;
  margin-top: 5px;
  color: var(--pd-text);
  font-size: .76rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.moments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.moments-title {
  font-size: .95rem;
  font-weight: 610;
}

.moments-head .card-chevron {
  position: static;
}

.moment-stack {
  position: relative;
  display: block;
  width: 100%;
  height: 118px;
  margin-top: 10px;
}

.moment-photo {
  position: absolute;
  width: 76px;
  height: 102px;
  padding: 6px 6px 18px;
  border: 1px solid rgba(255, 255, 255, .82);
  background: #f7f3eb;
  object-fit: cover;
  box-shadow: var(--pd-shadow-mid);
  transition: transform .3s var(--pd-ease);
}

.moment-photo-1 {
  left: 12%;
  top: 4px;
  transform: rotate(-8deg);
}

.moment-photo-2 {
  right: 10%;
  bottom: 0;
  transform: rotate(5deg);
}

.moments-object:hover .moment-photo-1 {
  transform: translate(-4px, -4px) rotate(-10deg);
}

.moments-object:hover .moment-photo-2 {
  transform: translate(4px, -3px) rotate(7deg);
}

.mobile-header {
  display: none;
}

.home-search {
  width: min(620px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--pd-line);
  border-radius: 30px;
  color: var(--pd-text);
  background: var(--pd-surface-solid);
  box-shadow: var(--pd-shadow-high);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px 5px;
}

.calendar-weekdays {
  margin: 5px 0 3px;
  color: var(--pd-muted);
  font-size: .61rem;
  text-align: center;
}

.personal-desktop .calendar-day {
  display: grid;
  place-items: center;
  min-height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--pd-text);
  background: transparent;
  font-size: .67rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, transform .18s var(--pd-ease);
}

.calendar-day.is-outside {
  color: var(--pd-muted);
  opacity: .42;
  cursor: default;
}

.calendar-day.is-today {
  color: #fff;
  background: var(--pd-sage);
  box-shadow: 0 8px 18px rgba(82, 111, 91, .22);
}

.calendar-day:not(.is-outside):hover,
.calendar-day:focus-visible,
.calendar-day.is-selected {
  color: var(--pd-sage-strong);
  background: var(--pd-sage-soft);
  transform: scale(1.08);
}

.calendar-day.is-today.is-selected {
  color: #fff;
  background: var(--pd-sage-strong);
}

.home-search::backdrop {
  background: rgba(34, 47, 43, .22);
  backdrop-filter: blur(10px);
}

.search-panel {
  padding: 28px;
}

.search-panel header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.search-panel h2 {
  margin: 13px 0 24px;
  font-size: 1.65rem;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--pd-line-dark);
  border-radius: 17px;
  background: var(--pd-sage-soft);
}

.search-field .ph {
  color: var(--pd-muted);
  font-size: 1.2rem;
}

.search-field input {
  width: 100%;
  height: 52px;
  border: 0;
  outline: 0;
  color: var(--pd-text);
  background: transparent;
}

.search-results {
  display: grid;
  gap: 8px;
  max-height: 360px;
  margin-top: 18px;
  overflow: auto;
}

.search-results p {
  margin: 12px 3px;
  color: var(--pd-muted);
}

.search-result {
  display: block;
  padding: 15px 16px;
  border-radius: 15px;
  background: var(--pd-sage-soft);
}

.search-result strong {
  display: block;
  margin-bottom: 5px;
}

.search-result span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--pd-muted);
  font-size: .84rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.personal-desktop :focus-visible,
.home-search :focus-visible {
  outline: 3px solid color-mix(in srgb, var(--pd-focus) 70%, transparent);
  outline-offset: 4px;
}

@media (min-width: 1280px) {
  .desktop-canvas {
    grid-template-areas:
      "scene scene media media"
      "identity identity latest latest"
      "projects tools calendar moments";
  }

  .today-scene { grid-area: scene; }
  .music-wander-pair { grid-area: media; }
  .identity-object { grid-area: identity; }
  .latest-article { grid-area: latest; }
  .projects-card { grid-area: projects; }
  .tools-portal { grid-area: tools; }
  .calendar-card { grid-area: calendar; }
  .moments-object { grid-area: moments; }
}

@media (max-width: 1279px) {
  .personal-desktop {
    display: block;
    padding: 84px 42px 60px;
  }

  .mobile-header {
    position: fixed;
    z-index: 60;
    top: 18px;
    left: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px 8px 9px;
    border: 1px solid var(--pd-line);
    border-radius: 20px;
    background: var(--pd-surface);
    box-shadow: var(--pd-shadow-low);
    backdrop-filter: blur(18px);
  }

  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 620;
  }

  .mobile-brand img {
    width: 38px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    object-fit: cover;
  }

  .mobile-header .icon-control {
    width: 44px;
    height: 44px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .desktop-sidebar {
    position: fixed;
    z-index: 70;
    top: 76px;
    right: 24px;
    left: auto;
    width: min(330px, calc(100% - 48px));
    margin-top: 0;
    min-height: 0;
    max-height: calc(100svh - 96px);
    padding: 28px;
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px) scale(.97);
    transform-origin: top right;
    transition: visibility .2s, opacity .2s ease, transform .2s var(--pd-ease);
  }

  .desktop-sidebar.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .sidebar-profile {
    padding-bottom: 24px;
  }

  .sidebar-find {
    margin-top: 22px;
  }

  .desktop-canvas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 26px;
    margin-top: 0;
  }

  .utility-controls {
    position: fixed;
    z-index: 61;
    top: 26px;
    right: 82px;
  }

  .utility-controls .icon-control {
    width: 44px;
    height: 44px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .today-scene,
  .identity-object,
  .latest-article,
  .projects-card,
  .tools-portal,
  .wander-object,
  .calendar-card,
  .moments-object {
    grid-column: auto;
    grid-row: auto;
  }

  .today-scene {
    grid-column: 1 / -1;
    width: 100%;
    height: 230px;
    margin: 0;
  }

  .desktop-canvas.without-music .today-scene {
    width: 100%;
  }

  .music-wander-pair {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .identity-object {
    min-height: 200px;
    margin: 0;
  }

  .identity-link {
    height: 200px;
  }

  .latest-article {
    height: 280px;
  }

  .projects-card {
    width: 100%;
  }

  .tools-portal { width: 190px; }

  .wander-object,
  .moments-object {
    justify-self: center;
  }

  .calendar-card {
    width: min(100%, 320px);
  }
}

@media (max-width: 767px) {
  .personal-desktop {
    padding: 84px 17px 44px;
  }

  .mobile-header {
    left: 12px;
    right: 12px;
  }

  .utility-controls {
    right: 70px;
  }

  .desktop-canvas {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .today-scene { order: 1; }
  .identity-object { order: 2; }
  .latest-article { order: 3; }
  .projects-card { order: 4; }
  .tools-portal { order: 5; }
  .calendar-card { order: 6; }
  .moments-object { order: 7; }
  .music-wander-pair { display: none; }

  .scene-download-link {
    opacity: .76;
    transform: translateY(0) scale(1);
  }

  .identity-object {
    min-height: 210px;
  }

  .identity-link {
    height: 210px;
  }

  .identity-note {
    left: 24px;
    right: 10px;
    width: auto;
    height: 178px;
    padding: 24px 54px 24px 118px;
    border-radius: 90px 70px 84px 64px / 78px 88px 72px 92px;
  }

  .identity-avatar-frame {
    left: 14px;
    width: 100px;
    height: 100px;
  }

  .identity-note h1,
  .identity-note p {
    margin-left: 0;
  }

  .identity-note h1 {
    margin-bottom: 10px;
    font-size: 1.22rem;
    white-space: normal;
  }

  .identity-note p {
    font-size: .82rem;
  }

  .identity-chevron {
    right: 22px;
  }

  .latest-article {
    width: 100%;
    height: 330px;
    border-radius: 44px 74px 50px 65px;
    clip-path: none;
  }

  .latest-copy {
    width: 82%;
    padding: 43px 28px 70px;
    border-radius: 0 58% 52% 0 / 0 45% 55% 0;
    background: rgba(248, 245, 238, .94);
  }

  html[data-personal-desktop][data-theme='dark'] .latest-copy {
    background: rgba(36, 51, 45, .94);
  }

  .latest-copy h2 {
    max-width: 78%;
    margin-top: 22px;
  }

  .article-cover {
    object-position: 66% center;
  }

  .today-scene {
    height: 225px;
  }

  .scene-frame {
    border: 2px solid var(--pd-line);
    border-radius: 42px 54px 50px 37px;
    clip-path: none;
    filter: none;
    box-shadow: var(--pd-shadow-mid);
  }

  .scene-backdrop {
    display: none;
  }

  .projects-card {
    padding: 24px;
  }

  .tools-portal { margin: 0 auto; }

  .project-links {
    grid-template-columns: repeat(2, 108px);
  }

  .moments-object {
    width: 220px;
    margin: 0 auto;
  }

  .calendar-card {
    width: min(100%, 330px);
    min-height: 215px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-personal-desktop] {
    scroll-behavior: auto;
  }

  .personal-desktop *,
  .personal-desktop *::before,
  .personal-desktop *::after,
  .home-search *,
  .home-search *::before,
  .home-search *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }

  .sidebar-nav-link:hover,
  .social-link:hover,
  .today-scene:hover,
  .today-scene:focus-within,
  .latest-article:hover,
  .latest-article:focus-within,
  .projects-card:hover,
  .projects-card:focus-within,
  .tools-portal:hover,
  .tools-portal:focus-visible,
  .calendar-card:hover,
  .calendar-card:focus-within,
  .moments-object:hover,
  .moments-object:focus-visible,
  .icon-control:hover,
  .round-control:hover,
  .scene-download-link,
  .today-scene:hover .scene-download-link,
  .today-scene:focus-within .scene-download-link,
  .scene-download-link:focus-visible,
  .identity-link:hover,
  .identity-link:focus-visible,
  .identity-link:hover .identity-avatar-frame,
  .identity-link:focus-visible .identity-avatar-frame,
  .identity-chevron,
  .identity-link:hover .identity-chevron,
  .identity-link:focus-visible .identity-chevron,
  .latest-link:hover .article-cover,
  .project-link:hover img,
  .wander-button:hover img,
  .calendar-control:hover,
  .calendar-control:focus-visible,
  .calendar-today:hover,
  .calendar-today:focus-visible,
  .calendar-day:hover,
  .calendar-day:focus-visible,
  .calendar-day.is-selected {
    transform: none !important;
  }

  .identity-link:hover .identity-note,
  .identity-link:focus-visible .identity-note {
    transform: translateY(-50%) rotate(.4deg) !important;
  }

  .moments-object:hover .moment-photo-1 { transform: rotate(-8deg) !important; }
  .moments-object:hover .moment-photo-2 { transform: rotate(5deg) !important; }
}
