#right-sidebar widget-layout[data-id="hitokoto"]:has(.keine-heading) {
  display: block;
  position: relative;
  isolation: isolate;
  padding: 12px 16px 13px;
  border: 1px solid #455c50;
  border-bottom: 6px solid #93775a;
  border-radius: 9px 9px 4px 4px;
  color: #f1eee0;
  background: radial-gradient(ellipse at 12% 14%,#32594f 0,transparent 75%), #25463f;
  box-shadow: inset 0 0 0 2px #d5d4ad14, inset 0 -2px #102d28;
}
#right-sidebar widget-layout:has(.keine-heading)::after {
  content: ""; position: absolute; pointer-events: none; left: 15px; bottom: 0;
  width: 26px; height: 4px; border-radius: 1.5px; background: #e9e7d6;
  transform: rotate(-2deg); box-shadow: 31px 1px 0 -0.8px #b9cbc4, 1px 1px 1px #132f2b;
}
#right-sidebar .keine-heading {
  position: relative; display: flex; align-items: center; gap: .7rem;
  margin: 0 0 6px; min-height: 32px; color: #efe9d0;
  font: 700 1.23rem/1.25 KaiTi, STKaiti, "Kaiti SC", "Songti SC", SimSun, serif;
  letter-spacing: .12em;
}
.keine-heading span { position: relative; padding-bottom: 4px; }
.keine-heading span::after {
  content: ""; position: absolute; left: 0; right: 2px; bottom: 0; height: 2px;
  background: #dabf8a; opacity: .75; clip-path: polygon(0 15%,60% 0,100% 45%,97% 85%,34% 70%,2% 100%);
}
.keine-cap { width: 45px; height: 31px; margin-left: auto; flex: none; }
#right-sidebar .keine-heading + #hitokoto { padding: 0; overflow: visible; }
#right-sidebar .keine-heading + div .hitokoto-card { position: static; padding: 0; }
#right-sidebar .keine-heading + div .hitokoto-main-row { display: block; }
#right-sidebar .keine-heading + div .hitokoto-text {
  display: block; height: 4.7em; min-height: 0; margin: 0;
  overflow: auto; scrollbar-width: thin; scrollbar-color: #87998a transparent;
  font: 500 1.02rem/1.53 KaiTi, STKaiti, "Kaiti SC", "Songti SC", SimSun, serif;
  color: #f4f2df; text-align: left; overflow-wrap: anywhere; white-space: normal;
  transition: opacity .13s ease, transform .15s ease;
}
#right-sidebar .keine-heading + div .hitokoto-loading .hitokoto-text { opacity: .12; transform: translateX(2px); }
#right-sidebar .keine-heading + div .hitokoto-author-row {
  height: 18px; margin: 2px 37px 0 0; display: flex; align-items: center; justify-content: flex-end;
}
#right-sidebar .keine-heading + div .hitokoto-author {
  color: #c8d6c5; font-size: .74rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
#right-sidebar .keine-heading + div .hitokoto-author:empty { display: none; }
#right-sidebar .keine-heading + div .hitokoto-refresh {
  position: absolute; right: 12px; bottom: -2px; display: grid; place-content: center;
  width: 39px; height: 32px; padding: 0; border-radius: 3px;
  background: transparent; color: inherit; opacity: 1; transform: none; animation: none;
}
#right-sidebar .keine-heading + div .hitokoto-refresh .iconify-spin { display: none; }
#right-sidebar .keine-heading + div .hitokoto-refresh::before {
  content: ""; display: block; width: 28px; height: 11px;
  border: 1px solid #273e39; border-radius: 3px 3px 2px 2px;
  background: linear-gradient(to bottom,#d4ac76 0 24%,#ae8255 24% 50%,#687d80 50% 70%,#435959 70%);
  box-shadow: 0 1px 1px #102a24; transform: translateY(5px) skewX(-12deg) rotate(-4deg);
  transition: transform .15s ease;
}
#right-sidebar .keine-heading + div .hitokoto-refresh:is(:hover,:focus-visible)::before { transform: translateY(2px) skewX(-12deg) rotate(-8deg); }
#right-sidebar .keine-heading + div .hitokoto-refresh:is(:hover,:focus-visible)::after {
  content: attr(aria-label); position: absolute; right: 0; bottom: 100%;
  width: max-content; padding: 3px 6px; border-radius: 3px;
  background: #193b33; color: #f2eddd; font-size: 12px; line-height: 1.3; pointer-events: none;
}
#right-sidebar .keine-heading + div .hitokoto-refresh:focus-visible { outline: 2px solid #e2cd9b; outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) {
  #right-sidebar .keine-heading + div .hitokoto-text { transition: none; }
  #right-sidebar .keine-heading + div .hitokoto-refresh::before { transition: none; }
  #right-sidebar .keine-heading + div .hitokoto-loading .hitokoto-text { transform: none; }
}
