/* CyberFur portal – independent of the existing 404 effects. */
.cf-portal-page .glitch-wrapper { min-height: 340px; }
.cf-entry {
  position: absolute;
  z-index: 12;
  bottom: max(38px, calc(env(safe-area-inset-bottom, 0px) + 18px));
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 9px;
  width: min(260px, calc(100% - 32px));
  font: 13px/1.35 ui-monospace, monospace;
}
.cf-entry-link {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid #783232;
  border-radius: 5px;
  background: #1b1414;
  color: #ff5050;
  font-weight: 600;
  letter-spacing: .12em;
  text-decoration: none;
  overflow: hidden;
  transition: border-color .16s, color .16s, background .16s;
}
.cf-entry-icon { font-size: 20px; line-height: .8; }
.cf-entry-link:hover, .cf-entry-link:focus-visible {
  color: #5df4fe;
  border-color: #5df4fe;
  background: #132024;
}
.cf-entry-link:focus-visible { outline: 2px solid #5df4fe; outline-offset: 4px; }
.cf-entry-link[aria-disabled="true"] {
  color: #5df4fe;
  border-color: #337c84;
  background: #132024;
  cursor: wait;
}
.cf-entry-progress {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 3px;
  border: 0;
  background: transparent;
  appearance: none;
  opacity: 0;
}
.cf-entry-link[aria-disabled="true"] .cf-entry-progress { opacity: 1; }
.cf-entry-progress::-webkit-progress-bar { background: transparent; }
.cf-entry-progress::-webkit-progress-value { background: #5df4fe; }
.cf-entry-progress::-moz-progress-bar { background: #5df4fe; }
.cf-entry-status {
  color: #aaa;
  font-size: 10px;
  letter-spacing: .12em;
  text-align: center;
}
@media (max-height: 390px) {
  .cf-portal-page { overflow-y: auto; }
  .cf-portal-page .glitch-wrapper { justify-content: flex-start; padding-top: 28px; box-sizing: border-box; }
  .cf-entry { bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .cf-entry-link { transition: none; }
  .cf-entry-progress { visibility: hidden; }
}
