@font-face {
  font-family: "Great Vibes";
  src: url("/fonts/great-vibes.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body.codexxq-loading-active #page_wrapper,
body.codexxq-loading-active .codexxq-mode-toggle,
body.codexxq-loading-active .codexxq-icp-footer {
  opacity: 0;
}

body.codexxq-ready #page_wrapper,
body.codexxq-ready .codexxq-mode-toggle,
body.codexxq-ready .codexxq-icp-footer {
  opacity: 1;
  transition: opacity 420ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  background:
    radial-gradient(circle at 50% 38%, rgb(255 255 255 / 0.24), transparent 24rem),
    linear-gradient(135deg, #eef2ff, #f8fafc);
  transition:
    opacity 1.2s ease-out,
    filter 1.2s ease-out,
    visibility 1.2s ease-out;
}

html.codexxq-dark body::before {
  background:
    radial-gradient(circle at 50% 38%, rgb(56 189 248 / 0.16), transparent 24rem),
    linear-gradient(135deg, #020617, #0f172a);
}

body.codexxq-ready::before,
body.codexxq-ready::after,
body.codexxq-ready #codexxq-loading-card {
  opacity: 0;
  filter: blur(10px);
  visibility: hidden;
  pointer-events: none;
  animation: none;
}

body::after {
  content: "";
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1001;
  transform: translate(-50%, -50%);
  width: min(360px, calc(100vw - 48px));
  height: 168px;
  border-radius: 18px;
  pointer-events: none;
}

#codexxq-loading-card {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1002;
  transform: translate(-50%, -50%);
  width: min(320px, calc(100vw - 48px));
  padding: 24px 24px 22px;
  border: 1px solid rgb(255 255 255 / 0.58);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.38), rgb(255 255 255 / 0.16));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.42),
    0 24px 64px rgb(15 23 42 / 0.14);
  backdrop-filter: blur(14px) saturate(1.16);
  -webkit-backdrop-filter: blur(14px) saturate(1.16);
  text-align: center;
  opacity: 1;
  visibility: visible;
  animation: codexxq-loading-pulse 1.5s ease-in-out infinite;
  transition:
    opacity 1.2s ease-out,
    filter 1.2s ease-out,
    visibility 1.2s ease-out;
}

body.codexxq-font-ready #codexxq-loading-card {
  opacity: 1;
  visibility: visible;
}

body.codexxq-ready #codexxq-loading-card {
  opacity: 0;
  filter: blur(10px);
  visibility: hidden;
}

html.codexxq-dark #codexxq-loading-card {
  border-color: rgb(148 163 184 / 0.24);
  background:
    linear-gradient(135deg, rgb(15 23 42 / 0.48), rgb(15 23 42 / 0.24));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.07),
    0 24px 64px rgb(0 0 0 / 0.34);
  color: rgb(226 232 240);
}

.codexxq-loading-title {
  color: rgb(30 41 59);
  font-family: "Great Vibes", cursive;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.codexxq-loading-subtitle {
  margin-top: 14px;
  color: rgb(71 85 105 / 0.82);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

html.codexxq-dark .codexxq-loading-title {
  color: rgb(226 232 240);
}

html.codexxq-dark .codexxq-loading-subtitle {
  color: rgb(203 213 225 / 0.78);
}

@keyframes codexxq-loading-pulse {
  0% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.72;
  }
}

#codexxq-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgb(219 234 254 / 0.55), transparent 34rem),
    linear-gradient(135deg, #f8fafc 0%, #eef2ff 45%, #f8fafc 100%);
}

.codexxq-bg-layer {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity 420ms ease;
  transform: translateZ(0);
  will-change: opacity;
}

.codexxq-bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(248 250 252 / 0.32), rgb(248 250 252 / 0.58)),
    radial-gradient(circle at top left, rgb(255 255 255 / 0.26), transparent 34rem);
}

.codexxq-bg-light {
  background-image: url("/images/backgrounds/bg_light.webp");
  opacity: 1;
}

.codexxq-bg-dark {
  background-image: url("/images/backgrounds/bg_dark.webp");
  opacity: 0;
}

html.codexxq-dark .codexxq-bg-light {
  opacity: 0;
}

html.codexxq-dark .codexxq-bg-dark {
  opacity: 1;
}

html.codexxq-dark .codexxq-bg-layer::after {
  background:
    linear-gradient(180deg, rgb(2 6 23 / 0.2), rgb(2 6 23 / 0.58)),
    radial-gradient(circle at top left, rgb(14 165 233 / 0.16), transparent 32rem);
}

.codexxq-brand {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  gap: 10px;
  max-width: min(260px, calc(100vw - 36px));
  min-height: 46px;
  padding: 6px 16px 6px 7px;
  border: 1px solid rgb(255 255 255 / 0.58);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.38), rgb(255 255 255 / 0.16));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.46),
    0 14px 35px rgb(15 23 42 / 0.12);
  color: rgb(15 23 42) !important;
  text-decoration: none !important;
  backdrop-filter: blur(14px) saturate(1.24);
  -webkit-backdrop-filter: blur(14px) saturate(1.24);
  transition:
    opacity 420ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

.codexxq-brand:hover {
  border-color: rgb(255 255 255 / 0.76);
  background:
    radial-gradient(ellipse at 26% 22%, rgb(255 255 255 / 0.34), transparent 62%),
    linear-gradient(135deg, rgb(255 255 255 / 0.18), rgb(255 255 255 / 0.05));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.68),
    inset 0 -1px 0 rgb(255 255 255 / 0.08),
    0 8px 28px rgb(255 255 255 / 0.18),
    0 18px 42px rgb(15 23 42 / 0.10);
  filter: brightness(1.06) saturate(1.05);
  transform: translateY(-1px);
}

.codexxq-brand:hover img {
  animation: none !important;
  transform: none !important;
}

.codexxq-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgb(255 255 255 / 0.62);
  border-radius: 999px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.56), rgb(255 255 255 / 0.20));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.48),
    0 8px 18px rgb(15 23 42 / 0.08);
}

.codexxq-brand-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.codexxq-brand-name {
  position: relative;
  display: inline-block;
  min-width: 0;
  overflow: hidden;
  color: rgb(15 23 42);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: none;
  background-image: linear-gradient(
    110deg,
    #0f766e 0%,
    #2563eb 34%,
    #b45309 67%,
    #0f766e 100%
  );
  background-size: 260% 100%;
  background-position: 0% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 10px rgb(255 255 255 / 0.20);
  animation: codexxq-brand-gradient 8s ease-in-out infinite alternate;
}

body.codexxq-loading-active .codexxq-brand {
  opacity: 0;
}

body.codexxq-ready .codexxq-brand {
  opacity: 1;
}

html.codexxq-dark .codexxq-brand {
  border-color: rgb(148 163 184 / 0.24);
  background:
    linear-gradient(135deg, rgb(15 23 42 / 0.46), rgb(15 23 42 / 0.24));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    0 14px 35px rgb(0 0 0 / 0.26);
  color: rgb(226 232 240) !important;
  backdrop-filter: blur(14px) saturate(1.14);
  -webkit-backdrop-filter: blur(14px) saturate(1.14);
}

html.codexxq-dark .codexxq-brand:hover {
  border-color: rgb(148 163 184 / 0.42);
  background:
    radial-gradient(ellipse at 26% 22%, rgb(148 163 184 / 0.10), transparent 62%),
    linear-gradient(135deg, rgb(15 23 42 / 0.16), rgb(15 23 42 / 0.06));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.12),
    inset 0 -1px 0 rgb(255 255 255 / 0.03),
    0 8px 28px rgb(148 163 184 / 0.08),
    0 18px 44px rgb(0 0 0 / 0.18);
  filter: brightness(1.12) saturate(1.04);
}

html.codexxq-dark .codexxq-brand-icon {
  border-color: rgb(148 163 184 / 0.28);
  background:
    linear-gradient(135deg, rgb(30 41 59 / 0.60), rgb(15 23 42 / 0.26));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.10),
    0 8px 18px rgb(0 0 0 / 0.18);
}

html.codexxq-dark .codexxq-brand-name {
  background-image: linear-gradient(
    110deg,
    #e0f2fe 0%,
    #67e8f9 30%,
    #a7f3d0 62%,
    #fef3c7 82%,
    #e0f2fe 100%
  );
  text-shadow: 0 1px 12px rgb(34 211 238 / 0.22);
}

@keyframes codexxq-brand-gradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .codexxq-brand-name {
    animation: none;
  }
}

@media (max-width: 640px) {
  .codexxq-brand {
    left: 12px;
    top: 12px;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-height: 42px;
    gap: 0;
    padding: 5px;
  }

  .codexxq-brand-icon {
    width: 30px;
    height: 30px;
  }

  .codexxq-brand-name {
    display: none;
  }
}

#codexxq-rain {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s ease-out;
}

body.codexxq-ready #codexxq-rain {
  opacity: 0.72;
}

html.codexxq-dark body.codexxq-ready #codexxq-rain {
  opacity: 0.62;
}

.codexxq-mode-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgb(148 163 184 / 0.7);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #e0f2fe);
  color: #0f172a !important;
  box-shadow: 0 14px 35px rgb(15 23 42 / 0.16);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.codexxq-mode-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgb(15 23 42 / 0.2);
}

.codexxq-mode-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
  color: inherit !important;
  stroke: currentColor !important;
}

@media (min-width: 768px) {
  body a[href]:hover img,
  body a[href]:hover svg,
  body li:hover img,
  body li:hover svg {
    animation: codexxq-icon-jump 1.05s ease 1;
    transform-origin: center bottom;
  }
}

@keyframes codexxq-icon-jump {
  0% {
    transform: translateY(0) scaleX(1) scaleY(1) rotate(0);
  }
  10% {
    transform: translateY(7px) scaleX(1.18) scaleY(0.82) rotate(0);
  }
  28% {
    transform: translateY(-6px) scaleX(0.96) scaleY(1.04) rotate(5deg);
  }
  45% {
    transform: translateY(3px) scaleX(1.04) scaleY(0.96) rotate(0);
  }
  58% {
    transform: translateY(-3px) scaleX(1) scaleY(1) rotate(-3deg);
  }
  72% {
    transform: translateY(1px) scaleX(1.02) scaleY(0.98) rotate(0);
  }
  100% {
    transform: translateY(0) scaleX(1) scaleY(1) rotate(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body a[href]:hover img,
  body a[href]:hover svg,
  body li:hover img,
  body li:hover svg {
    animation: none;
  }
}

html.codexxq-light,
body.codexxq-light {
  background: transparent !important;
}

html.codexxq-light body,
body.codexxq-light #page_wrapper,
body.codexxq-light #inner_wrapper {
  background: transparent !important;
}

body #page_wrapper,
body #inner_wrapper {
  position: relative;
  z-index: 1;
}

body.codexxq-light [class*="bg-theme-"],
body.codexxq-light [class*="dark:bg-theme-"] {
  background: transparent !important;
}

body.codexxq-light [class*="text-theme-"],
body.codexxq-light [class*="dark:text-theme-"] {
  color: rgb(30 41 59) !important;
}

#information-widgets {
  border-bottom-color: transparent !important;
}

#widgets-wrap {
  justify-content: flex-end !important;
}

#information-widgets-right {
  flex-grow: 0 !important;
  margin-right: 0 !important;
}

.codexxq-hitokoto {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  box-sizing: border-box;
  width: min(780px, calc(100% - 40px));
  min-height: 92px;
  margin: 0 auto 22px;
  padding: 18px 24px 16px 48px;
  border: 1px solid rgb(255 255 255 / 0.58);
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.36), rgb(255 255 255 / 0.16));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.42),
    0 12px 30px rgb(15 23 42 / 0.08);
  backdrop-filter: blur(12px) saturate(1.22);
  -webkit-backdrop-filter: blur(12px) saturate(1.22);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

.codexxq-hitokoto:hover {
  border-color: rgb(255 255 255 / 0.72);
  background:
    radial-gradient(ellipse at 30% 20%, rgb(255 255 255 / 0.34), transparent 60%),
    linear-gradient(135deg, rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.04));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.64),
    inset 0 -1px 0 rgb(255 255 255 / 0.08),
    0 8px 32px rgb(255 255 255 / 0.18),
    0 18px 42px rgb(15 23 42 / 0.08);
  filter: brightness(1.06) saturate(1.04);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  transform: translateY(-2px);
}

.codexxq-hitokoto-mark {
  position: absolute;
  left: 15px;
  top: 4px;
  color: rgb(59 130 246 / 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  line-height: 1;
}

.codexxq-hitokoto-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.codexxq-hitokoto-text {
  color: rgb(30 41 59);
  font-family:
    "Great Vibes",
    "LXGW WenKai",
    "STKaiti",
    "KaiTi",
    "Songti SC",
    "Noto Serif CJK SC",
    serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.codexxq-hitokoto-text[data-proximity="true"] {
  cursor: inherit;
  user-select: none;
}

.codexxq-proximity-letter {
  --vp: 0;
  display: inline-block;
  color: rgb(
    calc(30 + 10 * var(--vp))
    calc(41 + 72 * var(--vp))
    calc(59 + 104 * var(--vp))
  );
  font-variation-settings: "wght" 500, "opsz" 12;
  transform:
    translateY(calc(-2px * var(--vp)))
    scale(calc(1 + 0.075 * var(--vp)));
  transform-origin: center 65%;
  text-shadow:
    0 calc(1px * var(--vp)) calc(10px * var(--vp)) rgb(59 130 246 / 0.22),
    0 0 calc(18px * var(--vp)) rgb(14 165 233 / 0.12);
  transition:
    color 80ms ease-out,
    font-variation-settings 80ms ease-out,
    font-weight 80ms ease-out,
    text-shadow 80ms ease-out,
    transform 80ms ease-out;
  will-change: transform, font-variation-settings;
}

.codexxq-hitokoto-from {
  align-self: flex-end;
  max-width: min(100%, 420px);
  padding: 4px 12px;
  border: 1px solid rgb(255 255 255 / 0.58);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.42), rgb(255 255 255 / 0.18));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.38),
    0 8px 18px rgb(15 23 42 / 0.06);
  color: rgb(71 85 105 / 0.95);
  font-size: 13px;
  font-weight: 700;
  font-family: "LXGW WenKai", "STKaiti", "KaiTi", "Songti SC", "Noto Serif CJK SC", serif;
  line-height: 1.35;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.04em;
  word-break: keep-all;
}

html.codexxq-dark .codexxq-hitokoto {
  border-color: rgb(148 163 184 / 0.2);
  background:
    linear-gradient(135deg, rgb(15 23 42 / 0.42), rgb(15 23 42 / 0.22));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.07),
    0 14px 36px rgb(0 0 0 / 0.22);
  backdrop-filter: blur(12px) saturate(1.12);
  -webkit-backdrop-filter: blur(12px) saturate(1.12);
}

html.codexxq-dark .codexxq-hitokoto:hover {
  border-color: rgb(148 163 184 / 0.35);
  background:
    radial-gradient(ellipse at 30% 20%, rgb(148 163 184 / 0.10), transparent 60%),
    linear-gradient(135deg, rgb(15 23 42 / 0.14), rgb(15 23 42 / 0.06));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.10),
    inset 0 -1px 0 rgb(255 255 255 / 0.03),
    0 8px 32px rgb(148 163 184 / 0.06),
    0 18px 44px rgb(0 0 0 / 0.18);
  filter: brightness(1.12) saturate(1.04);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  transform: translateY(-2px);
}

html.codexxq-dark .codexxq-hitokoto-mark {
  color: rgb(125 211 252 / 0.14);
}

html.codexxq-dark .codexxq-hitokoto-text {
  color: rgb(226 232 240);
}

html.codexxq-dark .codexxq-proximity-letter {
  color: rgb(
    calc(226 - 40 * var(--vp))
    calc(232 + 5 * var(--vp))
    calc(240 + 8 * var(--vp))
  );
  text-shadow:
    0 calc(1px * var(--vp)) calc(12px * var(--vp)) rgb(103 232 249 / 0.25),
    0 0 calc(20px * var(--vp)) rgb(167 243 208 / 0.14);
}

html.codexxq-dark .codexxq-hitokoto-from {
  border-color: rgb(148 163 184 / 0.22);
  background:
    linear-gradient(135deg, rgb(15 23 42 / 0.46), rgb(15 23 42 / 0.24));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    0 8px 18px rgb(0 0 0 / 0.18);
  color: rgb(203 213 225 / 0.95);
  font-weight: 700;
}

@media (max-width: 640px) {
  .codexxq-hitokoto {
    width: calc(100% - 24px);
    min-height: 78px;
    margin: 0 auto 16px;
    padding: 14px 22px 13px 38px;
    border-radius: 14px;
  }

  .codexxq-hitokoto-mark {
    left: 11px;
    top: 5px;
    font-size: 36px;
  }

  .codexxq-hitokoto-text {
    font-size: 18px;
    line-height: 1.45;
  }

  .codexxq-hitokoto-from {
    max-width: 100%;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 700;
  }
}

@media (prefers-reduced-motion: reduce) {
  .codexxq-proximity-letter {
    transform: none;
    transition: none;
  }
}

#codexxq-target-cursor.target-cursor-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: normal;
  transform: translate(-50%, -50%);
  transition:
    opacity 180ms ease,
    filter 180ms ease;
  will-change: transform;
}

#codexxq-target-cursor.is-visible {
  opacity: 0.82;
}

#codexxq-target-cursor.is-targeting {
  opacity: 1;
  filter: drop-shadow(0 8px 24px rgb(59 130 246 / 0.18));
}

#codexxq-target-cursor.is-pressing {
  filter: drop-shadow(0 6px 18px rgb(59 130 246 / 0.25)) brightness(0.96);
}

.target-cursor-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgb(37 99 235 / 0.82);
  box-shadow: 0 0 14px rgb(37 99 235 / 0.28);
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}

.target-cursor-corner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 2px solid rgb(37 99 235 / 0.78);
  will-change: transform;
}

.corner-tl {
  transform: translate(-150%, -150%);
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 8px;
}

.corner-tr {
  transform: translate(50%, -150%);
  border-left: none;
  border-bottom: none;
  border-top-right-radius: 8px;
}

.corner-br {
  transform: translate(50%, 50%);
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 8px;
}

.corner-bl {
  transform: translate(-150%, 50%);
  border-right: none;
  border-top: none;
  border-bottom-left-radius: 8px;
}

#codexxq-target-cursor.is-targeting .target-cursor-corner {
  border-color: rgb(14 165 233 / 0.9);
}

#codexxq-target-cursor.is-targeting .target-cursor-dot {
  background: rgb(14 165 233 / 0.92);
  box-shadow:
    0 0 0 5px rgb(14 165 233 / 0.12),
    0 0 18px rgb(14 165 233 / 0.34);
}

.codexxq-target-cursor-enabled,
.codexxq-target-cursor-enabled *,
.codexxq-target-cursor-enabled a,
.codexxq-target-cursor-enabled button {
  cursor: none !important;
}

.codexxq-target-active {
  outline: 1px solid rgb(59 130 246 / 0.18) !important;
  outline-offset: 4px;
}

html.codexxq-dark #codexxq-target-cursor {
  filter: drop-shadow(0 8px 22px rgb(103 232 249 / 0.14));
}

html.codexxq-dark .target-cursor-dot {
  background: rgb(103 232 249 / 0.78);
  box-shadow: 0 0 16px rgb(103 232 249 / 0.25);
}

html.codexxq-dark .target-cursor-corner {
  border-color: rgb(103 232 249 / 0.7);
}

html.codexxq-dark #codexxq-target-cursor.is-targeting .target-cursor-corner {
  border-color: rgb(167 243 208 / 0.86);
}

html.codexxq-dark #codexxq-target-cursor.is-targeting .target-cursor-dot {
  background: rgb(167 243 208 / 0.9);
  box-shadow:
    0 0 0 5px rgb(167 243 208 / 0.12),
    0 0 18px rgb(167 243 208 / 0.28);
}

html.codexxq-dark .codexxq-target-active {
  outline-color: rgb(103 232 249 / 0.16) !important;
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  #codexxq-target-cursor {
    display: none;
  }

  .codexxq-target-cursor-enabled,
  .codexxq-target-cursor-enabled *,
  .codexxq-target-cursor-enabled a,
  .codexxq-target-cursor-enabled button {
    cursor: auto !important;
  }

  .codexxq-target-active {
    outline: none !important;
  }
}

body.codexxq-light #information-widgets-right {
  width: auto;
  max-width: max-content;
  margin-left: auto !important;
  padding: 9px 13px;
  border: 1px solid rgb(255 255 255 / 0.58);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.36), rgb(255 255 255 / 0.16));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.42),
    0 12px 30px rgb(15 23 42 / 0.08);
  backdrop-filter: blur(12px) saturate(1.22);
  -webkit-backdrop-filter: blur(12px) saturate(1.22);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

body.codexxq-light #information-widgets-right:hover {
  background:
    radial-gradient(ellipse at 30% 20%, rgb(255 255 255 / 0.34), transparent 60%),
    linear-gradient(135deg, rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.04)) !important;
  border-color: rgb(255 255 255 / 0.72) !important;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.64),
    inset 0 -1px 0 rgb(255 255 255 / 0.08),
    0 8px 32px rgb(255 255 255 / 0.18),
    0 18px 42px rgb(15 23 42 / 0.08) !important;
  filter: brightness(1.06) saturate(1.04);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  transform: translateY(-2px);
}

body.codexxq-light [class*="shadow"] {
  box-shadow: 0 14px 38px rgb(15 23 42 / 0.06) !important;
}

body.codexxq-light a[href] > div,
body.codexxq-light li > div {
  border: 1px solid rgb(255 255 255 / 0.58) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.36), rgb(255 255 255 / 0.16)) !important;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.42),
    0 12px 30px rgb(15 23 42 / 0.08) !important;
  backdrop-filter: blur(12px) saturate(1.22);
  -webkit-backdrop-filter: blur(12px) saturate(1.22);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

body.codexxq-light a[href]:hover > div,
body.codexxq-light li:hover > div {
  border-color: rgb(255 255 255 / 0.82) !important;
  background:
    radial-gradient(ellipse at 30% 20%, rgb(255 255 255 / 0.28), transparent 60%),
    linear-gradient(135deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.01)) !important;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.72),
    inset 0 -1px 0 rgb(255 255 255 / 0.04),
    0 8px 32px rgb(255 255 255 / 0.22),
    0 18px 42px rgb(15 23 42 / 0.06) !important;
  filter: brightness(1.08) saturate(1.06);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  transform: translateY(-2px) scale(1.02);
}

html.codexxq-dark,
body.codexxq-dark {
  background: transparent !important;
}

html.codexxq-dark body,
body.codexxq-dark #page_wrapper,
body.codexxq-dark #inner_wrapper {
  background: transparent !important;
}

html.codexxq-dark body [class*="bg-theme-"] {
  background: transparent !important;
}

html.codexxq-dark body [class*="text-theme-"] {
  color: rgb(226 232 240) !important;
}

html.codexxq-dark body #information-widgets-right {
  width: auto;
  max-width: max-content;
  margin-left: auto !important;
  padding: 9px 13px;
  border: 1px solid rgb(148 163 184 / 0.2);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgb(15 23 42 / 0.42), rgb(15 23 42 / 0.22));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.07),
    0 14px 36px rgb(0 0 0 / 0.22);
  backdrop-filter: blur(12px) saturate(1.12);
  -webkit-backdrop-filter: blur(12px) saturate(1.12);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

html.codexxq-dark body #information-widgets-right:hover {
  background:
    radial-gradient(ellipse at 30% 20%, rgb(148 163 184 / 0.10), transparent 60%),
    linear-gradient(135deg, rgb(15 23 42 / 0.14), rgb(15 23 42 / 0.06)) !important;
  border-color: rgb(148 163 184 / 0.35) !important;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.10),
    inset 0 -1px 0 rgb(255 255 255 / 0.03),
    0 8px 32px rgb(148 163 184 / 0.06),
    0 18px 44px rgb(0 0 0 / 0.18) !important;
  filter: brightness(1.12) saturate(1.04);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  transform: translateY(-2px);
}

html.codexxq-dark body a[href] > div,
html.codexxq-dark body li > div {
  border: 1px solid rgb(148 163 184 / 0.2) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(135deg, rgb(15 23 42 / 0.42), rgb(15 23 42 / 0.22)) !important;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.07),
    0 14px 36px rgb(0 0 0 / 0.22) !important;
  backdrop-filter: blur(12px) saturate(1.12);
  -webkit-backdrop-filter: blur(12px) saturate(1.12);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

html.codexxq-dark body a[href]:hover > div,
html.codexxq-dark body li:hover > div {
  border-color: rgb(148 163 184 / 0.42) !important;
  background:
    radial-gradient(ellipse at 30% 20%, rgb(148 163 184 / 0.08), transparent 60%),
    linear-gradient(135deg, rgb(15 23 42 / 0.08), rgb(15 23 42 / 0.02)) !important;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.12),
    inset 0 -1px 0 rgb(255 255 255 / 0.02),
    0 8px 32px rgb(148 163 184 / 0.08),
    0 18px 44px rgb(0 0 0 / 0.12) !important;
  filter: brightness(1.15) saturate(1.06);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  transform: translateY(-2px) scale(1.02);
}

body.codexxq-loading-active .codexxq-hitokoto,
body.codexxq-loading-active #information-widgets-right,
body.codexxq-loading-active a[href] > div,
body.codexxq-loading-active li > div {
  opacity: 0;
  transform: translateY(10px);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.02)) !important;
  backdrop-filter: blur(0) saturate(1);
  -webkit-backdrop-filter: blur(0) saturate(1);
}

body.codexxq-ready .codexxq-hitokoto,
body.codexxq-ready #information-widgets-right,
body.codexxq-ready a[href] > div,
body.codexxq-ready li > div {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 1000ms ease,
    background 1000ms ease,
    border-color 1000ms ease,
    box-shadow 1000ms ease,
    backdrop-filter 1000ms ease,
    -webkit-backdrop-filter 1000ms ease,
    transform 1000ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 180ms ease;
}

body.codexxq-ready a[href]:nth-of-type(2) > div,
body.codexxq-ready li:nth-of-type(2) > div {
  transition-delay: 35ms;
}

body.codexxq-ready a[href]:nth-of-type(3) > div,
body.codexxq-ready li:nth-of-type(3) > div {
  transition-delay: 70ms;
}

body.codexxq-ready a[href]:nth-of-type(4) > div,
body.codexxq-ready li:nth-of-type(4) > div {
  transition-delay: 105ms;
}

body.codexxq-dark .codexxq-mode-toggle {
  border-color: rgb(56 189 248 / 0.55);
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #f8fafc !important;
  box-shadow: 0 14px 35px rgb(0 0 0 / 0.28);
}

#revalidate {
  display: none !important;
}
