html[data-christmas-theme][data-ui-style="apple"] {
  --winter-white: #fff9ec;
  --winter-pine: #224d3d;
  --winter-berry: #983049;
  --winter-gold: #edc989;
  --bg: #eae4d6;
  --page-bg: #eae4d6;
  --surface: #fffdf6;
  --surface2: #f5eddd;
  --surface3: #ece2ce;
  --bg-card: #fffdf6;
  --panel-bg: #fffdf6;
  --panel-bg-hover: #fffdfa;
  --panel-bg-soft: #f7f0e2;
  --card-bg: #fffdf6;
  --card-header-bg: #f5eddd;
  --card-border: #dbccaf;
  --card-border-hover: #c1a570;
  --input-bg: #fffdf7;
  --input-border: #d6c4a4;
  --control-bg: #fffcf4;
  --control-bg-hover: #f5ead7;
  --login-overlay-bg: #f6edddd9;
  --select-menu-bg: #fff9ed;
  --row-bg: #fffdf7;
  --row-bg-hover: #f8efdf;
  --border: #e3d6bd;
  --border-mid: #cbb891;
  --border-bright: #a67e46;
  --divider: #e5d8c0;
  --text: #26352f;
  --text-dim: #46534a;
  --text-muted: #59655b;
  --primary: #91324a;
  --primary-dark: #732137;
  --primary-light: #a9455c;
  --primary-gradient: linear-gradient(135deg,#842640,#a54155);
  --primary-gradient-hover: linear-gradient(135deg,#6f1e35,#90324a);
  --primary-shadow: #6f183538;
  --primary-shadow-hover: #6f18344f;
  --secondary: #3e8063;
  --accent: #2f6853;
  --accent-soft: #c3dccf70;
  --active-bg: #f8e6e7;
  --focus-ring: #a83d5651;
  --shadow: 0 10px 30px #48392714;
}

html[data-christmas-theme][data-ui-style="apple"] .app-shell {
  background:
    radial-gradient(ellipse at 65% 0%, #fbf5e6 0, transparent 59%),
    radial-gradient(ellipse at 100% 110%, #aac8b7 0, transparent 57%),
    linear-gradient(122deg, #e9e2d1, #f3eddc 54%, #d7e2d5);
}

html[data-christmas-theme][data-ui-style="apple"] .topbar {
  border-bottom-color: #d8b276;
  background: linear-gradient(103deg, #692337, #852c43 47%, #622237);
  box-shadow: 0 4px 20px #54233735;
}

html[data-christmas-theme][data-ui-style="apple"] .topbar :is(.topbar-logo-name,.topbar-logo-ver,.topbar-time,.topbar-status-text) {
  color: var(--winter-white);
}

html[data-christmas-theme][data-ui-style="apple"] .topbar :is(.topbar-style-switch,.topbar-update,.topbar-logout) {
  color: #fff4df;
  background: #481a2b56;
  border-color: #eac9955e;
  box-shadow: none;
}

html[data-christmas-theme][data-ui-style="apple"] .topbar :is(.topbar-style-option,.topbar-update-label) {
  color: #fff4df;
}

html[data-christmas-theme][data-ui-style="apple"] .topbar::after {
  position: absolute;
  inset: auto 0 -2px;
  height: 2px;
  background: repeating-linear-gradient(
    117deg, #be4b61 0 7px, #f8dfb1 7px 11px, #457d67 11px 18px, #fbf4de 18px 23px
  );
  content: "";
  pointer-events: none;
}

html[data-christmas-theme][data-ui-style="apple"] .topbar-style-option.active {
  color: #6c2537;
  background: linear-gradient(115deg, #f7dfae, #fff4d6);
  border-color: #ffe5af;
  box-shadow: 0 2px 8px #2d122c54;
}

html[data-christmas-theme][data-ui-style="apple"] .topbar-logo-icon {
  position: relative;
}

html[data-christmas-theme][data-ui-style="apple"] .topbar-logo-icon::before,
html[data-christmas-theme][data-ui-style="apple"] .topbar-logo-icon::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

html[data-christmas-theme][data-ui-style="apple"] .topbar-logo-icon::before {
  z-index: 2;
  top: -1px;
  left: 6px;
  width: 23px;
  height: 15px;
  rotate: -12deg;
  background: linear-gradient(125deg, #ed8b85, #c34051 58%, #943148);
  clip-path: polygon(2% 86%, 20% 36%, 41% 14%, 66% 12%, 95% 34%, 79% 33%, 70% 48%, 92% 86%, 70% 100%, 23% 100%);
}

html[data-christmas-theme][data-ui-style="apple"] .topbar-logo-icon::after {
  z-index: 3;
  top: 10px;
  left: 5px;
  width: 22px;
  height: 4px;
  rotate: -11deg;
  border: 1px solid #eadfe0;
  border-radius: 8px;
  background: #fff9f4;
  box-shadow: 2px 1px 2px #76445038;
}

html[data-christmas-theme][data-ui-style="apple"] .workspace-context-bar {
  border-color: #ad904f;
  background:
    radial-gradient(circle at 52% -45%, #6e8b55b0, transparent 57%),
    linear-gradient(112deg, #223f32, #325e4b 63%, #214635);
  box-shadow: 0 8px 25px #213b3027, inset 0 -1px #dec17d82;
}

html[data-christmas-theme][data-ui-style="apple"] .workspace-context-title strong {
  color: #fff6df;
}

html[data-christmas-theme][data-ui-style="apple"] .workspace-context-title .workspace-context-kicker {
  color: #e7dbb7;
}

html[data-christmas-theme][data-ui-style="apple"] .workspace-context-title .workspace-context-kicker em {
  color: #fff4d5;
  background: #f6d59124;
}

html[data-christmas-theme][data-ui-style="apple"] .workspace-context-bar::after {
  position: absolute;
  inset: 0 9px 0 auto;
  width: 94px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 26% 18%,#ffffff 0 2px,transparent 3px),
    radial-gradient(circle at 83% 40%,#daaf70b3 0 1.6px,transparent 2.5px),
    radial-gradient(circle at 64% 77%,#9ec3dcad 0 2px,transparent 3px),
    radial-gradient(circle at 38% 64%,#ffffff 0 2.2px,transparent 4px);
  content: "";
}

html[data-christmas-theme][data-ui-style="apple"] .sidebar {
  background: linear-gradient(170deg, #4c665b, #445e54 69%, #4d685b);
  border-color: #b8aa8a;
}

html[data-christmas-theme][data-ui-style="apple"] .sidebar :is(.nav-item,.sidebar-controls,.sidebar-account,.account-name,.account-role) {
  color: #f8edda;
}

html[data-christmas-theme][data-ui-style="apple"] .sidebar :is(.sidebar-controls,.sidebar-account) {
  border-color: #ebd19a36;
}

html[data-christmas-theme][data-ui-style="apple"] .sidebar .nav-item:hover {
  background: #fff3d91b;
  border-color: #ebd19a55;
  color: #fff9ed;
}

html[data-christmas-theme][data-ui-style="apple"] .sidebar .nav-item.parent.expanded {
  color: #274638;
  background: #eee5d2;
  border-color: #d9c8a3;
}

html[data-christmas-theme][data-ui-style="apple"] .sidebar .nav-item.parent.expanded .nav-chevron {
  color: #496458;
}

html[data-christmas-theme][data-ui-style="apple"] .sidebar .account-status {
  color: #e0eecf;
}

html[data-christmas-theme][data-ui-style="apple"] .wf-hdr .wf-zoom-text {
  color: #fff4d7;
  font-weight: 650;
}

html[data-christmas-theme][data-ui-style="apple"] .ranking-page {
  --accent: #87364b;
  background: #f8f4eb;
}

html[data-christmas-theme][data-ui-style="apple"] .account-data-module {
  --ad-page: linear-gradient(148deg, #d8e3d8, #e5e6d7 67%, #d1dfd4);
  --ad-card: #eee6d5;
  --ad-card-strong: #f1e8d8;
  --ad-soft: #e1e8db;
  --ad-row: #e2e9de;
  --ad-row-hover: #dbe6dd;
  --ad-control: #eee8d9;
  --ad-control-hover: #e1e9dd;
  --ad-border: #c9c8ad;
  --ad-border-strong: #b3c2b2;
  --ad-chart-bg: linear-gradient(155deg, #e4ebdf, #d9e5da);
  --ad-muted: #4e6055;
  --ad-shadow-soft: 0 5px 16px #284a3410;
}

html[data-christmas-theme][data-ui-style="apple"] .account-data-module :is(.filter-row, .kpi-card, .wide-chart-card, .recent-post-card) {
  box-shadow: var(--ad-shadow-soft);
}

html[data-christmas-theme][data-ui-style="apple"] .account-data-module .play-rank-hero {
  background: linear-gradient(138deg, #81374b, #984e56);
  color: #fff4df;
  box-shadow: 0 8px 18px #66223623;
}

html[data-christmas-theme][data-ui-style="apple"] .account-data-module .play-rank-hero :is(em, small) {
  color: #fff0d7;
}

html[data-christmas-theme][data-ui-style="apple"] .account-data-module .collection-health.attention {
  background: #f2e1d5;
  border-left-color: #ae5454;
}

html[data-christmas-theme][data-ui-style="apple"] .account-data-module .board-actions .platform-tab.muted:not(.active) {
  color: #5a675e;
  opacity: .88;
}

html[data-christmas-theme][data-ui-style="apple"] .account-data-module .history-period-select {
  width: auto;
  min-width: 80px;
  white-space: nowrap;
  padding-inline-end: 20px;
}

.christmas-greeting-modal.update-modal {
  width: min(460px, 100%);
  gap: 14px;
  padding: 26px;
  border: 1px solid #dbbf87;
  border-radius: 18px;
  background: radial-gradient(ellipse at 93% 0%, #dfebdf, transparent 48%), #fffbf1;
  color: #283d33;
  box-shadow: 0 18px 55px #17352655;
}

.christmas-greeting-modal .update-modal-kicker,
.christmas-greeting-modal .update-modal-close {
  background: #f7efdf;
  border-color: #dbcaa8;
  color: #405d4e;
}

.christmas-greeting-modal h3 {
  color: #722b42;
}

.christmas-greeting-modal .update-modal-subtitle,
.christmas-greeting-modal .update-modal-item p {
  color: #465a50;
}

.christmas-greeting-modal .update-modal-list {
  grid-template-columns: 1fr;
}

.christmas-greeting-modal .update-modal-item,
.christmas-greeting-modal .update-modal-item > span {
  background: #f9f3e6;
  border-color: #ead9b7;
}

.christmas-greeting-modal .update-modal-item strong {
  color: #324d3e;
}

.christmas-greeting-modal .update-modal-action {
  color: #fffaf1;
  border-color: #76283e;
  background: #87364b;
}

html[data-christmas-theme][data-ui-style="apple"]:has(.module[data-module="workflow"]) .christmas-snow {
  opacity: calc(var(--snow-opacity) * .55);
}

html[data-christmas-theme][data-ui-style="apple"]:has(.module[data-module="workflow"]) .christmas-snow-gust {
  opacity: .92;
}

html[data-christmas-theme][data-ui-style="apple"] .sidebar .nav-item.active {
  color: #fff7e4;
  border-color: #edc98793;
  background: linear-gradient(110deg,#7f2b40,#973b50);
  box-shadow: inset 2px 0 #edc989, 0 3px 8px #23382c36;
}

html[data-christmas-theme][data-ui-style="apple"] .sidebar .nav-item.active :is(.nav-label,.nav-icon) {
  color: #fff7e4;
}

html[data-christmas-theme][data-ui-style="apple"] .sidebar .nav-icon-signed-schedule {
  background: #f8e5b527;
  border-color: #f8e5b55e;
}

html[data-christmas-theme][data-ui-style="apple"] .schedule-page :is(.query-panel,.schedule-workbench,.finder-workbench),
html[data-christmas-theme][data-ui-style="apple"] .posttools-module :is(.media-console,.media-queue-panel),
html[data-christmas-theme][data-ui-style="apple"] .traffic-plan-v2 :is(.traffic-project-rail,.traffic-summary-panel,.traffic-execution-panel) {
  border-color: #d8c7a7;
  background: #fffaf0;
}

html[data-christmas-theme][data-ui-style="apple"] .schedule-page .day-head.today {
  background: #e4efdf;
  border-top-color: #47755a;
}

html[data-christmas-theme][data-ui-style="apple"] .schedule-page .schedule-search {
  background: #fffdf8;
}

html[data-christmas-theme][data-ui-style="apple"] .main-content :is(button.primary,button.btn-primary):not(:disabled) {
  background: var(--primary-gradient);
  color: #fff9ed;
  border-color: #91324a;
}

html[data-christmas-theme][data-ui-style="apple"] .main-content :is(button.primary,button.btn-primary):not(:disabled):hover {
  background: var(--primary-gradient-hover);
}

.christmas-decorations {
  display: none;
}

html[data-christmas-theme][data-ui-style="apple"] .christmas-decorations {
  position: fixed;
  display: block;
  inset: 0;
  z-index: 105;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.christmas-decorations > * {
  position: absolute;
  pointer-events: none;
}

.christmas-garland {
  top: -4px;
  left: var(--garland-center, 31vw);
  width: var(--garland-width, 380px);
  height: 67px;
  transform: translateX(-50%);
  filter: drop-shadow(0 3px 3px #37554424);
}

.christmas-tree {
  left: 9px;
  bottom: 48px;
  width: 154px;
  height: auto;
  background: radial-gradient(ellipse at 50% 68%,#e4f1c434,transparent 65%);
  filter: drop-shadow(0 3px 4px #42646121);
}

.christmas-snow {
  top: var(--snow-rest);
  left: var(--snow-x);
  width: var(--snow-size);
  height: var(--snow-size);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 1.5px #628caaa8, 0 1px 3px #8eacc97d;
  opacity: var(--snow-opacity);
  animation: christmas-fall var(--snow-duration) var(--snow-delay) linear infinite;
}

.christmas-snow-star {
  width: auto;
  height: auto;
  font-size: var(--snow-size);
  font-style: normal;
  line-height: 1;
  font-family: "Segoe UI Symbol", sans-serif;
  color: #c7e1e7;
  background: transparent;
  box-shadow: none;
  text-shadow: 0 1px 2px #fff, 0 0 4px #f9fcff;
}

.christmas-snow-gust {
  opacity: .92;
  animation-iteration-count: 1;
  animation-fill-mode: both;
}

@keyframes christmas-fall {
  from { transform: translate(-12px, calc(0px - var(--snow-y) - 20px)) rotate(0deg); }
  to { transform: translate(var(--snow-drift), calc(100vh - var(--snow-y) + 20px)) rotate(100deg); }
}

.christmas-eggs {
  display: none;
}

html[data-christmas-theme][data-ui-style="apple"] #app:not(:has(.login-overlay)) ~ .christmas-eggs {
  position: fixed;
  display: block;
  inset: 0;
  z-index: 106;
  pointer-events: none;
}

.christmas-surprise {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid #f6d8a49c;
  border-radius: 50%;
  line-height: 1;
  pointer-events: auto;
  cursor: pointer;
  transition: scale .18s ease, box-shadow .18s ease;
}

.christmas-surprise:hover {
  scale: 1.12;
  box-shadow: 0 0 14px #f7d88bbf;
}

.christmas-surprise:focus-visible {
  outline: 2px solid #fff6d7;
  outline-offset: 3px;
}

.christmas-star-button {
  top: 27px;
  left: var(--garland-center, 31vw);
  width: 25px;
  height: 25px;
  transform: translateX(-50%);
  color: #ffe7ad;
  background: #733049c9;
  font-size: 16px;
  text-shadow: 0 0 5px #fff4c7;
}

.christmas-star-button[data-no-space="true"] {
  display: none;
}

.christmas-gift-button {
  bottom: 49px;
  left: 72px;
  width: 30px;
  height: 30px;
  background: #7e2b45;
  font-size: 17px;
  box-shadow: 0 2px 12px #20362b8f;
}

.christmas-greeting {
  position: absolute;
  left: 111px;
  bottom: 51px;
  width: max-content;
  max-width: min(245px,calc(100vw - 24px));
  padding: 9px 14px;
  border: 1px solid #dfbd78;
  border-radius: 12px;
  background: #fff5dd;
  color: #733049;
  box-shadow: 0 6px 28px #2c281647;
  font-size: 13px;
  font-weight: 650;
  animation: christmas-greeting-in .24s ease-out;
}

.christmas-greeting-star {
  top: 60px;
  bottom: auto;
  left: var(--garland-center, 31vw);
  transform: translateX(-50%);
  color: #315e4f;
}

@keyframes christmas-greeting-in {
  from { opacity: 0; translate: 0 5px; }
  to { opacity: 1; translate: 0 0; }
}

@media (max-height: 890px) {
  .christmas-tree {
    width: 110px;
    left: 32px;
    opacity: .78;
  }
}

@media (max-height: 770px) {
  .christmas-tree {
    display: none;
  }
  .christmas-gift-button {
    top: 47px;
    bottom: auto;
    left: calc(var(--garland-center,31vw) + 36px);
  }
  .christmas-greeting:not(.christmas-greeting-star) {
    top: 84px;
    bottom: auto;
    left: calc(var(--garland-center,31vw) + 36px);
  }
}

@media (max-width: 760px) {
  html[data-christmas-theme] .topbar-update[aria-label="查看圣诞祝福"] {
    display: inline-grid;
    place-items: center;
    flex: 0 0 28px;
    width: 28px;
    padding: 0;
  }

  html[data-christmas-theme] .topbar-update[aria-label="查看圣诞祝福"]::before {
    content: "🎄";
  }

  html[data-christmas-theme] .topbar-update[aria-label="查看圣诞祝福"] > * {
    display: none;
  }

  .christmas-garland {
    top: 45px;
    left: auto;
    right: 0;
    width: 115px;
    height: 34px;
    transform: none;
    opacity: .76;
  }
  .christmas-tree {
    display: none;
  }
  .christmas-star-button,
  .christmas-star-button[data-no-space="true"] {
    display: grid;
    top: 60px;
    right: 57px;
    left: auto;
    transform: none;
  }
  .christmas-gift-button {
    top: 59px;
    right: 17px;
    bottom: auto;
    left: auto;
    width: 30px;
    height: 30px;
  }
  .christmas-greeting,
  .christmas-greeting:not(.christmas-greeting-star) {
    top: 95px;
    right: 11px;
    bottom: auto;
    left: auto;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .christmas-snow {
    animation: none;
    opacity: .48;
  }
  .christmas-greeting {
    animation: none;
  }
  .christmas-surprise {
    transition: none;
  }
}
