/* The floating Comic / Chat switch from shared/style-switch.js (PKStyle.float()).
   Same place and look in both styles: bottom right, above everything except the episode player. */
.pks-float {
  position: fixed; z-index: 900;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
html.splashing .pks-float, html.is-splashing .pks-float {
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: none;
}
.pks-float .pks {
  display: flex; gap: 4px; padding: 4px;
  border-radius: 999px;
  background: rgba(14, 9, 28, 0.86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 28px -8px rgba(0, 0, 0, 0.55);
}
.pks-float .pks__opt {
  display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 16px 0 13px; margin: 0;
  border: 0; border-radius: 999px;
  background: transparent; color: #cfc6e6;
  font: 700 14px/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0.01em;
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.pks-float .pks__opt:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.pks-float .pks__opt.is-on { background: #fff; color: #140c26; cursor: default; }
.pks-float .pks__opt:focus-visible { outline: 3px solid #2ff3ff; outline-offset: 2px; }
.pks-float .pks__icon { width: 18px; height: 18px; flex: none; }
@media (max-width: 380px) {
  .pks-float .pks__opt { padding: 0 13px 0 11px; font-size: 13px; }
}
@media print { .pks-float { display: none; } }
