/* JakSky V213 | Warm visual consistency
   Only presentation. Preserve events, requests, video, auth, VIP, and update gate.
   Do not recolor intentional user-selectable frames / third-party media.
   The previous moon-era CSS is still shipped for history; these styles only
   override the visible blue/pink legacy surfaces listed below.
*/
:root{
  --jk213-ink:#372c27;
  --jk213-brown:#58483f;
  --jk213-taupe:#8d7767;
  --jk213-cream:#f3e5d5;
  --jk213-rule:#d6c2ae;
}

/* Blue moon-era launcher, now a single restrained warm action. */
html:not(.jx193Christmas) body.jakPageHome #jakCsLauncher,
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10.jakMoonV2 #jakCsLauncher{
  background:linear-gradient(145deg,#58483f,#493a33)!important;
  border:1px solid rgba(238,218,198,.64)!important;
  color:#fff6ec!important;
  -webkit-text-fill-color:#fff6ec!important;
  box-shadow:0 5px 15px rgba(44,32,27,.16)!important;
}
/* Hide the legacy blue-square emoji visually. Keep its click behavior. */
html:not(.jx193Christmas) body.jakPageHome #jakCsLauncher .jakCsLauncherIcon{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:23px!important;height:23px!important;flex:0 0 23px!important;
  border:1px solid rgba(255,239,222,.24)!important;
  border-radius:7px!important;background:rgba(255,240,225,.09)!important;
  font-size:0!important;line-height:1!important;
}
html:not(.jx193Christmas) body.jakPageHome #jakCsLauncher .jakCsLauncherIcon::after{
  content:"?";font:750 15px/1 system-ui,-apple-system,sans-serif;
  color:#fff3e6!important;-webkit-text-fill-color:#fff3e6!important;
}
html:not(.jx193Christmas) body.jakPageHome #jakCsLauncher .jakCsLauncherText :is(b,small){color:#fff4e8!important}

/* Latest heading: neutral outlined mark replaces the older pictograph. */
html:not(.jx193Christmas) body.jakPageHome #jakMoonSectionTitleV2 h2{
  display:flex!important;align-items:center!important;gap:9px!important;
  color:#392e28!important;
}
html:not(.jx193Christmas) body.jakPageHome #jakMoonSectionTitleV2 .jk213LatestIcon{
  display:block;flex:0 0 24px;width:24px;height:24px;
  color:#967764!important;stroke:#967764!important;
}
html:not(.jx193Christmas) body.jakPageHome #jakMoonSectionTitleV2 span{color:#7e6654!important}
html:not(.jx193Christmas) body.jakPageHome #jakMoonSectionTitleV2 p{color:#5a5049!important}

/* A few inherited blue controls on media and older section widgets. */
html:not(.jx193Christmas) body.jakPageHome #downloadBtn{
  background:#5a473c!important;color:#fff5e9!important;
  box-shadow:0 4px 12px rgba(53,38,30,.12)!important;
}
html:not(.jx193Christmas) body.jakPageHome.jakUiRefreshV10.jakMoonV2 .btnFav.active{
  background:linear-gradient(145deg,#775e4e,#544238)!important;
  border-color:#d3bba4!important;
  color:#fff3e7!important;
}

/* The legacy comment backdrop was still dark navy in both appearance modes. */
html:not(.jx193Christmas) body.jakPageHome #comments .comment{
  background:linear-gradient(150deg,#4c3f38,#39302b)!important;
  border-color:rgba(217,190,164,.38)!important;
  color:#fff0e2!important;
  box-shadow:0 4px 16px rgba(39,29,24,.13)!important;
}
html:not(.jx193Christmas) body.jakPageHome #comments .comment .commentUserName{color:#fff3e7!important}
html:not(.jx193Christmas) body.jakPageHome #comments .comment > :is(p,.replyBodyText,.replyContextQuote){color:#f0ddca!important}
html:not(.jx193Christmas) body.jakPageHome #comments .comment > small,
html:not(.jx193Christmas) body.jakPageHome #comments .comment .replyContextLabel{color:#dcc4ac!important}
html:not(.jx193Christmas)[data-theme="light"] body.jakPageHome #comments .comment,
html:not(.jx193Christmas).light-mode body.jakPageHome #comments .comment,
html:not(.jx193Christmas) body.jakPageHome.light-mode #comments .comment{
  background:linear-gradient(145deg,#fff9f2,#f2e7db)!important;
  color:#382c26!important;border-color:rgba(118,91,71,.25)!important;
}
html:not(.jx193Christmas)[data-theme="light"] body.jakPageHome #comments .comment .commentUserName,
html:not(.jx193Christmas).light-mode body.jakPageHome #comments .comment .commentUserName,
html:not(.jx193Christmas) body.jakPageHome.light-mode #comments .comment .commentUserName{color:#382b24!important}
html:not(.jx193Christmas)[data-theme="light"] body.jakPageHome #comments .comment > p,
html:not(.jx193Christmas).light-mode body.jakPageHome #comments .comment > p,
html:not(.jx193Christmas) body.jakPageHome.light-mode #comments .comment > p{color:#57463b!important}

/* Help dialog: historic magenta / indigo should not resurface after click. */
html:not(.jx193Christmas) body.jakPageHome .jakCsPanel{
  background:linear-gradient(180deg,#fffaf4,#f3e6da)!important;
  border-color:rgba(120,91,72,.25)!important;
  box-shadow:0 18px 54px rgba(40,30,25,.23)!important;
}
html:not(.jx193Christmas) body.jakPageHome .jakCsHead{
  background:linear-gradient(130deg,#58463c,#3c312c)!important;
  border-bottom:1px solid rgba(255,239,224,.18)!important;
}
html:not(.jx193Christmas) body.jakPageHome .jakCsAvatar,
html:not(.jx193Christmas) body.jakPageHome .jakCsMiniAvatar{
  background:#725a4b!important;color:#fff6eb!important;box-shadow:none!important;
}
html:not(.jx193Christmas) body.jakPageHome .jakCsChips{background:#f9f0e6!important;border-bottom:1px solid #dfcdbd!important}
html:not(.jx193Christmas) body.jakPageHome .jakCsChip{
  background:#fffaf4!important;border-color:#d9c3b0!important;color:#57463b!important;box-shadow:none!important;
}
html:not(.jx193Christmas) body.jakPageHome .jakCsMessages{
  background:linear-gradient(180deg,#fbf5ee,#f4e9de)!important;
}
html:not(.jx193Christmas) body.jakPageHome .jakCsBubble{
  color:#41332c!important;background:#fffaf5!important;border-color:#e2d3c3!important;
  box-shadow:0 3px 10px rgba(46,32,25,.07)!important;
}
html:not(.jx193Christmas) body.jakPageHome .jakCsRow.user .jakCsBubble{
  background:#6b5345!important;color:#fff4e6!important;box-shadow:none!important;
}
html:not(.jx193Christmas) body.jakPageHome .jakCsComposer{
  background:#faf2e9!important;border-top-color:#e0cdbb!important;
}
html:not(.jx193Christmas) body.jakPageHome .jakCsInput{
  background:#fffaf5!important;color:#3e3028!important;
  border-color:#d6bfa8!important;box-shadow:none!important;
}
html:not(.jx193Christmas) body.jakPageHome .jakCsInput:focus{
  border-color:#96775f!important;box-shadow:0 0 0 3px rgba(140,106,81,.12)!important;
}
html:not(.jx193Christmas) body.jakPageHome .jakCsSend{
  background:#584438!important;color:#fff5e8!important;box-shadow:none!important;
}
html:not(.jx193Christmas) body.jakPageHome .jakCsAction{
  background:#ecddcf!important;color:#5d483b!important;border-color:#d5bcaa!important;
}
/* Preserve a readable dark support panel when that user-selected theme applies. */
html[data-jak-theme="dark"]:not(.jx193Christmas) body.jakPageHome .jakCsPanel{
  background:linear-gradient(180deg,#44372f,#352c27)!important;
}
html[data-jak-theme="dark"]:not(.jx193Christmas) body.jakPageHome .jakCsChips,
html[data-jak-theme="dark"]:not(.jx193Christmas) body.jakPageHome .jakCsComposer{
  background:#45362d!important;border-color:rgba(226,200,175,.19)!important;
}
html[data-jak-theme="dark"]:not(.jx193Christmas) body.jakPageHome .jakCsMessages{
  background:#362c26!important;
}
html[data-jak-theme="dark"]:not(.jx193Christmas) body.jakPageHome .jakCsChip,
html[data-jak-theme="dark"]:not(.jx193Christmas) body.jakPageHome .jakCsBubble{
  background:#554338!important;border-color:#896c57!important;color:#fff0e0!important;
}
html[data-jak-theme="dark"]:not(.jx193Christmas) body.jakPageHome .jakCsInput{
  background:#4e3d33!important;border-color:#8e705b!important;color:#fff3e6!important;
}
html:not(.jx193Christmas) body.jakPageHome .jakCsSend:focus-visible,
html:not(.jx193Christmas) body.jakPageHome #jakCsLauncher:focus-visible,
html:not(.jx193Christmas) body.jakPageHome .jakCsChip:focus-visible{
  outline:3px solid #cfae92!important;outline-offset:3px!important;
}
@media(prefers-reduced-motion:reduce){
  html:not(.jx193Christmas) body.jakPageHome #jakCsLauncher,
  html:not(.jx193Christmas) body.jakPageHome .jakCsPanel{transition:none!important}
}
