@font-face {
  font-family: "PCL English";
  src: url("../assets/pcl/fonts/PCL-English.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

/* PCL English 原字体只有常规字重；这里提供由 PCL 字形生成的粗体，
   避免浏览器合成粗体时数字 2 变成空心轮廓。 */
@font-face {
  font-family: "PCL English";
  src: url("../assets/pcl/fonts/PCL-English-Bold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "PCL English";
  src: url("../assets/pcl/fonts/PCL-English-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --pcl-font: "PCL English", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --pcl-mono: "Cascadia Code", "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --pcl-hue: 210;
  --pcl-c1: #343d4a;
  --pcl-c2: #0b5bcb;
  --pcl-c3: #1370f3;
  --pcl-c4: #4890f5;
  --pcl-c5: #96c0f9;
  --pcl-c6: #d5e6fd;
  --pcl-c7: #e0eafd;
  --pcl-c8: #eaf2fe;
  --pcl-bg0: #96c0f9;
  --pcl-bg1: rgba(224, 234, 253, 0.75);

  --pcl-gray1: #404040;
  --pcl-gray2: #737373;
  --pcl-gray3: #8c8c8c;
  --pcl-gray4: #a6a6a6;
  --pcl-gray5: #cccccc;
  --pcl-gray6: #ebebeb;
  --pcl-gray7: #f0f0f0;
  --pcl-gray8: #f5f5f5;

  --pcl-red-back: rgba(251, 221, 221, 0.5);
  --pcl-red-light: #ff4c4c;
  --pcl-red-dark: #ce2111;

  --pcl-half-white: rgba(255, 255, 255, 0.333);
  --pcl-semi-white: rgba(255, 255, 255, 0.733);
  --pcl-sidebar: rgba(255, 255, 255, 0.945);

  --pcl-title-gradient: linear-gradient(90deg, hsl(210 85% 48%), hsl(210 85% 54%), hsl(210 85% 48%));
  --pcl-page-gradient: linear-gradient(225deg, hsl(195 68% 91%) 0%, hsl(210 68% 91%) 42%, hsl(225 68% 91%) 100%);
  --pcl-hairline: rgba(52, 61, 74, 0.08);

  --pcl-scale: 1;
  --pcl-window-width: 850px;
  --pcl-window-height: 500px;
  --pcl-radius-window: 6px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #dce8f7;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  font-family: var(--pcl-font);
  font-size: 13px;
  line-height: 1.4;
  color: var(--pcl-c1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
output {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--pcl-c3);
  outline-offset: 2px;
}

::selection {
  color: #fff;
  background: var(--pcl-c3);
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

/* --------------------------------------------------------------------------
   PCL window — 850 × 500 WPF-equivalent surface, scaled by --pcl-scale
   -------------------------------------------------------------------------- */

.pcl-scaler {
  position: relative;
  flex: none;
  width: calc(var(--pcl-window-width) * var(--pcl-scale));
  height: calc(var(--pcl-window-height) * var(--pcl-scale));
}

.pcl-scaler.is-minimized {
  height: calc(48px * var(--pcl-scale));
}

.pcl-window {
  position: absolute;
  inset: 0 auto auto 0;
  display: flex;
  flex-direction: column;
  width: var(--pcl-window-width);
  height: var(--pcl-window-height);
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--pcl-radius-window);
  background: var(--pcl-page-gradient);
  box-shadow:
    0 36px 80px -24px rgba(11, 55, 120, 0.48),
    0 12px 28px -16px rgba(52, 61, 74, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.34) inset;
  transform: scale(var(--pcl-scale));
  transform-origin: top left;
  contain: layout paint;
}

.pcl-window.is-minimized {
  height: 48px;
}

.pcl-window.is-closed {
  opacity: 0;
  pointer-events: none;
}

.pcl-titlebar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  flex: none;
  height: 48px;
  color: #fff;
  background: var(--pcl-title-gradient);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  user-select: none;
}

.pcl-titlebar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 58%);
}

.pcl-titlebar__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding-left: 19px;
}

.pcl-titlebar__mark {
  width: 39px;
  height: 17px;
  overflow: visible;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.12));
}

.pcl-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 27px;
  justify-self: center;
}

.pcl-nav__item {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 27px;
  padding: 0 10px;
  border: 0;
  border-radius: 13.5px;
  background: transparent;
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.pcl-nav__item svg {
  width: 14px;
  height: 14px;
  flex: none;
  opacity: 0.94;
  transition: opacity 140ms ease;
}

.pcl-nav__item:hover {
  background: rgba(234, 242, 254, 0.2);
}

.pcl-nav__item:active {
  background: rgba(234, 242, 254, 0.3);
}

.pcl-nav__item.is-active {
  color: var(--pcl-c3);
  background: #fff;
  box-shadow: 0 1px 3px rgba(21, 48, 92, 0.16);
}

.pcl-nav__item.is-active svg {
  opacity: 1;
}

.pcl-titlebar__controls {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 4px;
  padding-right: 12px;
}

.pcl-window-button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 150ms ease, transform 150ms ease;
}

.pcl-window-button svg {
  width: 16px;
  height: 16px;
}

.pcl-window-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.pcl-window-button:active {
  transform: scale(0.9);
}
.pcl-main {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 0;
  background: var(--pcl-page-gradient);
}

/* --------------------------------------------------------------------------
   Sidebar
   -------------------------------------------------------------------------- */

.pcl-sidebar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
  width: 300px;
  padding: 24px 20px 20px;
  background: var(--pcl-sidebar);
  box-shadow:
    4px 0 10px rgba(52, 61, 74, 0.035),
    inset -1px 0 0 rgba(255, 255, 255, 0.45);
}

.pcl-login-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 27px;
  padding: 0 11px 0 5px;
  border: 1px solid rgba(19, 112, 243, 0.13);
  border-radius: 13.5px;
  color: var(--pcl-c3);
  background: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.pcl-login-badge:hover {
  border-color: rgba(19, 112, 243, 0.24);
  background: var(--pcl-c8);
}

.pcl-login-badge__avatar {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background-image: url("../assets/pcl/images/Skins/Steve.png");
  background-repeat: no-repeat;
  background-size: 152px 152px;
  background-position: -19px -19px;
  image-rendering: pixelated;
  box-shadow: 0 0 0 1px rgba(52, 61, 74, 0.1);
}

.pcl-login-badge svg {
  width: 11px;
  height: 11px;
  margin-left: 1px;
  opacity: 0.7;
}

.pcl-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 22px;
}

.pcl-avatar {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 7px;
  filter: drop-shadow(0 12px 18px rgba(11, 91, 203, 0.17));
  transform: perspective(240px) rotateY(-5deg) rotateX(3deg);
  transform-style: preserve-3d;
}

.pcl-avatar__face,
.pcl-avatar__hat {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background-image: url("../assets/pcl/images/Skins/Steve.png");
  background-repeat: no-repeat;
  background-size: 608px 608px;
  background-position: -76px -76px;
  image-rendering: pixelated;
}

.pcl-avatar__hat {
  background-position: -380px -76px;
  mix-blend-mode: normal;
}

.pcl-avatar__shine {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 38%, rgba(0, 0, 0, 0.09));
  box-shadow:
    inset 0 0 0 1px rgba(52, 61, 74, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.pcl-profile__name {
  margin-top: 13px;
  color: var(--pcl-c1);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.pcl-profile__sub {
  margin-top: 4px;
  color: var(--pcl-gray3);
  font-size: 10.5px;
  line-height: 1.3;
}

.pcl-version-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin-top: auto;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 1px 3px rgba(52, 61, 74, 0.055);
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.pcl-version-card:hover {
  border-color: rgba(19, 112, 243, 0.18);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 3px 9px rgba(52, 61, 74, 0.08);
}

.pcl-version-card:active {
  transform: scale(0.992);
}

.pcl-version-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: rgba(213, 230, 253, 0.55);
}

.pcl-version-card__icon img {
  width: 27px;
  height: 27px;
  image-rendering: pixelated;
}

.pcl-version-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.pcl-version-card__label {
  color: var(--pcl-gray3);
  font-size: 9.5px;
  letter-spacing: 0.02em;
}

.pcl-version-card__name {
  overflow: hidden;
  color: var(--pcl-c1);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pcl-version-card__meta {
  overflow: hidden;
  margin-top: 2px;
  color: var(--pcl-gray3);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pcl-version-card__chevron {
  flex: none;
  margin-left: auto;
  color: var(--pcl-gray3);
}

.pcl-version-card__chevron svg {
  display: block;
  width: 12px;
  height: 12px;
}

.pcl-launch-wrap {
  width: 100%;
  margin-top: 12px;
}

.pcl-launch-button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  padding: 0 20px 15px;
  border: 1px solid var(--pcl-c2);
  border-radius: 3px;
  color: var(--pcl-c2);
  background: var(--pcl-half-white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pcl-launch-button:hover {
  border-color: var(--pcl-c3);
  color: var(--pcl-c3);
  background: var(--pcl-c7);
}

.pcl-launch-button:active {
  transform: scale(0.955);
  transition-duration: 80ms;
}

.pcl-launch-button__text {
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.pcl-launch-button__version {
  position: absolute;
  right: 10px;
  bottom: 8px;
  left: 10px;
  overflow: hidden;
  color: var(--pcl-gray3);
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pcl-launch-meta {
  margin-top: 7px;
  color: var(--pcl-gray3);
  font-size: 9.5px;
  text-align: center;
}


/* --------------------------------------------------------------------------
   Page host, scroll surface and stub pages
   -------------------------------------------------------------------------- */

.pcl-page-host {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.pcl-page {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  animation: pcl-page-enter 300ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes pcl-page-enter {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.pcl-home-scroll {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-gutter: auto;
}

/*
 * PCL's 8px scrollbar sits in the 25px right margin, so the homepage content
 * stays exactly 500px wide (550 - 25 - 17 - 8). Keeping the scrollbar gutter
 * permanent avoids a 15px card-width jump between short and long pages.
 */
.pcl-home-root {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 25px 17px 10px 25px;
}

.pcl-render-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 160px;
  color: var(--pcl-gray3);
  font-size: 12px;
}

.pcl-render-placeholder__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(19, 112, 243, 0.14);
  border-top-color: var(--pcl-c3);
  border-radius: 50%;
  animation: pcl-spin 780ms linear infinite;
}

@keyframes pcl-spin {
  to { transform: rotate(360deg); }
}

.pcl-stub-page {
  align-items: center;
  justify-content: center;
  padding: 25px;
}

.pcl-stub-card {
  width: 100%;
  max-width: 430px;
  padding: 28px 28px 26px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 1px 3px rgba(52, 61, 74, 0.09),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  text-align: center;
}

.pcl-stub-card__eyebrow {
  color: var(--pcl-c4);
  font-family: var(--pcl-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.pcl-stub-card__title {
  margin: 9px 0 10px;
  color: var(--pcl-c2);
  font-size: 23px;
  line-height: 1.2;
}

.pcl-stub-card__text {
  margin: 0 auto;
  max-width: 330px;
  color: #5c5c5c;
  font-size: 13px;
  line-height: 1.55;
}

.pcl-stub-card__button {
  height: 32px;
  margin-top: 18px;
  padding: 0 18px;
  border: 1px solid var(--pcl-c3);
  border-radius: 3px;
  color: var(--pcl-c3);
  background: var(--pcl-half-white);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.pcl-stub-card__button:hover {
  border-color: var(--pcl-c2);
  color: var(--pcl-c2);
  background: var(--pcl-c7);
}

.pcl-stub-card__button:active {
  transform: scale(0.965);
}

/* --------------------------------------------------------------------------
   PCL scrollbar (8px track, 4px rounded thumb with 2px inset)
   -------------------------------------------------------------------------- */

.pcl-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.pcl-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.pcl-scroll::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 4px;
  background: rgba(52, 61, 74, 0.16);
  background-clip: padding-box;
}

.pcl-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(52, 61, 74, 0.28);
  background-clip: padding-box;
}


/* --------------------------------------------------------------------------
   Runtime hints — PCL's bottom-left gradient bars
   -------------------------------------------------------------------------- */

.pcl-hint-stack {
  position: absolute;
  bottom: 20px;
  left: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 460px;
  pointer-events: none;
}

.pcl-runtime-hint {
  display: flex;
  align-items: center;
  min-height: 26px;
  margin-left: -20px;
  padding: 5px 10px 5px 33px;
  border-radius: 0 6px 6px 0;
  color: #fff;
  font-size: 13px;
  line-height: 16px;
  background: linear-gradient(90deg, var(--hint-a, rgba(37, 155, 252, 0.84)), var(--hint-b, rgba(10, 142, 252, 0.84)));
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
  animation: pcl-hint-in 400ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pcl-runtime-hint.is-leaving {
  animation: pcl-hint-out 220ms cubic-bezier(0.7, 0, 0.84, 0) both;
}

@keyframes pcl-hint-in {
  from {
    opacity: 0;
    transform: translateX(-52px);
    margin-left: -20px;
  }
  60% {
    opacity: 1;
    transform: translateX(2px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pcl-hint-out {
  to {
    opacity: 0;
    transform: translateX(-50px);
  }
}

/* --------------------------------------------------------------------------
   Modal — modeled after MyMsgText.xaml
   -------------------------------------------------------------------------- */

.pcl-modal-layer {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: rgba(0, 0, 0, 0.353);
  animation: pcl-layer-in 160ms ease-out both;
}

.pcl-modal-layer[hidden] {
  display: none;
}

.pcl-modal-layer.is-warn {
  background: rgba(80, 0, 0, 0.55);
}

.pcl-modal-layer.is-leaving {
  animation: pcl-layer-out 160ms ease-in both;
}

@keyframes pcl-layer-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pcl-layer-out {
  to { opacity: 0; }
}

.pcl-modal {
  width: min(400px, calc(100% - 50px));
  max-height: calc(100% - 50px);
  overflow: hidden;
  border-radius: 7px;
  background: #fbfbfb;
  box-shadow:
    0 4px 20px rgba(52, 61, 74, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.45) inset;
  animation: pcl-modal-in 310ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes pcl-modal-in {
  from {
    opacity: 0;
    transform: rotate(-4deg) translateY(40px);
  }
  to {
    opacity: 1;
    transform: rotate(0) translateY(0);
  }
}

.pcl-modal.is-leaving {
  animation: pcl-modal-out 160ms cubic-bezier(0.7, 0, 0.84, 0) both;
}

@keyframes pcl-modal-out {
  to {
    opacity: 0;
    transform: rotate(6deg) translateY(20px);
  }
}

.pcl-modal__inner {
  display: flex;
  flex-direction: column;
  max-height: calc(560px - 50px);
  padding: 22px 22px 23px;
}

.pcl-modal__title {
  margin: -1px 70px 9px 7px;
  color: var(--pcl-c2);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.pcl-modal-layer.is-warn .pcl-modal__title {
  color: var(--pcl-red-light);
}

.pcl-modal__rule {
  flex: none;
  height: 2px;
  background: var(--pcl-c2);
}

.pcl-modal-layer.is-warn .pcl-modal__rule {
  background: var(--pcl-red-light);
}

.pcl-modal__caption {
  min-height: 0;
  margin: 13px 7px 17px;
  overflow-y: auto;
  padding-right: 4px;
  color: #5c5c5c;
  font-size: 15px;
  line-height: 18px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.pcl-modal__caption::-webkit-scrollbar {
  width: 6px;
}

.pcl-modal__caption::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: rgba(52, 61, 74, 0.18);
}

.pcl-modal__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin: 0 8px 0 auto;
}

.pcl-modal__button {
  min-width: 40px;
  height: 27px;
  padding: 0 12px;
  border: 1px solid var(--pcl-c1);
  border-radius: 3px;
  color: var(--pcl-c1);
  background: var(--pcl-half-white);
  font-size: 13px;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.pcl-modal__button:hover {
  border-color: var(--pcl-c3);
  color: var(--pcl-c3);
  background: var(--pcl-c7);
}

.pcl-modal__button:active {
  transform: scale(0.955);
  transition-duration: 80ms;
}

.pcl-modal__button--highlight {
  border-color: var(--pcl-c2);
  color: var(--pcl-c2);
}

.pcl-modal__button--highlight:hover {
  border-color: var(--pcl-c3);
  color: var(--pcl-c3);
}

.pcl-modal__button--red {
  border-color: var(--pcl-red-dark);
  color: var(--pcl-red-dark);
}

.pcl-modal__button--red:hover {
  border-color: var(--pcl-red-light);
  color: var(--pcl-red-light);
  background: var(--pcl-red-back);
}


/* --------------------------------------------------------------------------
   Loading overlay and tooltip
   -------------------------------------------------------------------------- */

.pcl-loading-layer {
  position: absolute;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(234, 242, 254, 0.62);
  backdrop-filter: blur(1.5px);
}

.pcl-loading-layer[hidden] {
  display: none;
}

.pcl-loading-ring {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(19, 112, 243, 0.14);
  border-top-color: var(--pcl-c3);
  border-radius: 50%;
  animation: pcl-spin 760ms linear infinite;
}

.pcl-loading-text {
  color: var(--pcl-c2);
  font-size: 12px;
}

.pcl-tooltip {
  position: fixed;
  z-index: 10000;
  max-width: min(320px, calc(100vw - 24px));
  padding: 6px 9px;
  border-radius: 3px;
  color: #fff;
  background: rgba(52, 61, 74, 0.95);
  box-shadow: 0 4px 14px rgba(52, 61, 74, 0.24);
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  pointer-events: none;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.pcl-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pcl-tooltip[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

