/*
 * WF Art Direction
 *
 * This layer is intentionally theatrical: a little atlas, a little folio,
 * a little early-web playground. It sits above the shared glass system and
 * remains usable when motion is reduced or the viewport becomes narrow.
 */

.wf-art-root,
.wf-art-root * {
  box-sizing: border-box;
}

.wf-art-root {
  --wf-art-accent: #806dff;
  --wf-art-accent-2: #4f8dff;
  --wf-art-ink: #272447;
  --wf-art-paper: rgba(255, 255, 255, 0.68);
  --wf-art-line: rgba(95, 78, 196, 0.18);
  --wf-art-mono: "SFMono-Regular", "JetBrains Mono", "Roboto Mono", ui-monospace, monospace;
  position: relative;
  z-index: 1000;
  color: var(--wf-art-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  pointer-events: none;
  isolation: isolate;
}

.wf-art-root::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at var(--wf-pointer-x, 52%) var(--wf-pointer-y, 24%), rgba(182, 163, 255, 0.2), transparent 20%),
    repeating-linear-gradient(0deg, rgba(80, 57, 147, 0.018) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 7px);
  mix-blend-mode: multiply;
  opacity: 0.72;
}

.wf-art-chrome {
  position: fixed;
  top: 13px;
  right: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(48, 42, 101, 0.58);
  font-family: var(--wf-art-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  pointer-events: none;
  text-transform: uppercase;
}

.wf-art-brand,
.wf-art-scan {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.wf-art-brand b {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(98, 77, 211, 0.3);
  border-radius: 7px 11px 8px 12px;
  color: var(--wf-art-accent);
  font-family: Georgia, serif;
  font-size: 11px;
  letter-spacing: -0.04em;
  transform: rotate(-7deg);
}

.wf-art-brand i {
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wf-art-scan {
  justify-content: flex-end;
  white-space: nowrap;
}

.wf-art-scan i,
.wf-art-dock-footer i,
.wf-art-atlas-legend i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #7c6dff;
  box-shadow: 0 0 0 3px rgba(124, 109, 255, 0.13), 0 0 12px rgba(124, 109, 255, 0.8);
}

body[data-wf-page] > main {
  animation: wfArtPageIn 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.wf-art-root {
  animation: wfArtRootIn 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.wf-art-scan i {
  animation: wfArtSignal 2.8s ease-in-out infinite;
}

.wf-art-reveal {
  opacity: 0;
  transform: translateY(18px) rotate(var(--wf-reveal-rotate, 0deg));
}

.wf-art-reveal.is-visible {
  animation: wfArtReveal 760ms cubic-bezier(0.16, 1, 0.3, 1) var(--wf-reveal-delay, 0ms) both;
}

@keyframes wfArtPageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes wfArtRootIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes wfArtReveal {
  from { opacity: 0; transform: translateY(18px) rotate(var(--wf-reveal-rotate, 0deg)); }
  to { opacity: 1; transform: translateY(0) rotate(0deg); }
}

@keyframes wfArtSignal {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.28); }
}

.wf-art-atlas {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.76fr) minmax(0, 1.42fr);
  min-height: 320px;
  margin: 22px 0 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 30px 24px 34px 21px;
  background:
    radial-gradient(circle at 85% 18%, rgba(152, 128, 255, 0.2), transparent 28%),
    radial-gradient(circle at 14% 88%, rgba(79, 141, 255, 0.13), transparent 32%),
    linear-gradient(122deg, rgba(255, 255, 255, 0.78), rgba(245, 242, 255, 0.42));
  box-shadow:
    0 28px 72px rgba(77, 61, 163, 0.16),
    0 3px 16px rgba(255, 255, 255, 0.9) inset,
    0 -1px 0 rgba(81, 63, 170, 0.08) inset;
  isolation: isolate;
}

.wf-art-atlas::before,
.wf-art-atlas::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.wf-art-atlas::before {
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(112deg, transparent 0 23px, rgba(96, 78, 193, 0.04) 23px 24px, transparent 24px 57px),
    repeating-linear-gradient(18deg, transparent 0 31px, rgba(255, 255, 255, 0.3) 31px 32px, transparent 32px 67px);
  opacity: 0.55;
}

.wf-art-atlas::after {
  top: -30%;
  left: 41%;
  width: 22%;
  height: 180%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  transform: rotate(34deg);
  opacity: 0.42;
}

.wf-art-atlas-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 22px 34px 34px;
}

.wf-art-overline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(77, 64, 158, 0.72);
  font-family: var(--wf-art-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.wf-art-overline i {
  color: var(--wf-art-accent);
  font-style: normal;
}

.wf-art-spark {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(128, 109, 255, 0.45);
  border-radius: 50% 42% 55% 46%;
  font-size: 11px;
  transform: rotate(15deg);
}

.wf-art-atlas h2 {
  max-width: 340px;
  margin: 20px 0 10px;
  color: #272447 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.3vw, 49px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.wf-art-atlas h2 em {
  color: var(--wf-art-accent);
  font-style: italic;
}

.wf-art-atlas-copy > p {
  max-width: 350px;
  margin: 0;
  color: rgba(74, 70, 108, 0.82);
  font-size: 13px;
  line-height: 1.75;
}

.wf-art-atlas-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 30px;
  color: rgba(85, 76, 146, 0.68);
  font-family: var(--wf-art-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.wf-art-atlas-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wf-art-atlas-stage {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.wf-art-atlas-stage::before {
  position: absolute;
  inset: 16px 16px 16px 0;
  border: 1px dashed rgba(94, 75, 193, 0.18);
  border-radius: 49% 39% 45% 42%;
  content: "";
  transform: rotate(-5deg);
}

.wf-art-orbit {
  position: absolute;
  top: 50%;
  left: 52%;
  display: block;
  border: 1px solid rgba(91, 73, 188, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.wf-art-orbit::after {
  position: absolute;
  top: -3px;
  left: 48%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wf-art-accent-2);
  box-shadow: 0 0 0 3px rgba(79, 141, 255, 0.12), 0 0 16px rgba(79, 141, 255, 0.7);
  content: "";
}

.wf-art-orbit-a {
  width: 245px;
  height: 245px;
  transform: translate(-50%, -50%) rotate(24deg);
  animation: wfArtOrbitA 38s linear infinite;
}

.wf-art-orbit-b {
  width: 183px;
  height: 183px;
  border-style: dashed;
  transform: translate(-50%, -50%) rotate(-43deg);
  animation: wfArtOrbitB 27s linear infinite reverse;
}

.wf-art-orbit-c {
  width: 294px;
  height: 118px;
  border-color: rgba(168, 139, 255, 0.18);
  transform: translate(-50%, -50%) rotate(-19deg);
  animation: wfArtOrbitC 52s linear infinite;
}

@keyframes wfArtOrbitA {
  from { transform: translate(-50%, -50%) rotate(24deg); }
  to { transform: translate(-50%, -50%) rotate(384deg); }
}

@keyframes wfArtOrbitB {
  from { transform: translate(-50%, -50%) rotate(-43deg); }
  to { transform: translate(-50%, -50%) rotate(-403deg); }
}

@keyframes wfArtOrbitC {
  from { transform: translate(-50%, -50%) rotate(-19deg); }
  to { transform: translate(-50%, -50%) rotate(341deg); }
}

.wf-art-atlas-sun {
  position: absolute;
  top: 50%;
  left: 52%;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 48% 52% 45% 55%;
  color: #fff;
  background: linear-gradient(135deg, #8171ff, #4e8dff);
  box-shadow: 0 16px 38px rgba(78, 85, 219, 0.28), 0 2px 9px rgba(255, 255, 255, 0.55) inset;
  transform: translate(-50%, -50%) rotate(7deg);
  animation: wfArtSunPulse 4.6s ease-in-out infinite;
}

@keyframes wfArtSunPulse {
  0%, 100% { box-shadow: 0 16px 38px rgba(78, 85, 219, 0.28), 0 2px 9px rgba(255, 255, 255, 0.55) inset; }
  50% { box-shadow: 0 20px 48px rgba(78, 85, 219, 0.4), 0 2px 12px rgba(255, 255, 255, 0.76) inset; }
}

.wf-art-atlas-sun b {
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1;
}

.wf-art-atlas-sun small {
  margin-top: -20px;
  font-family: var(--wf-art-mono);
  font-size: 6px;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-align: center;
}

.wf-art-atlas-node {
  position: absolute !important;
  top: var(--wf-node-y);
  left: var(--wf-node-x);
  z-index: 2;
  width: 126px;
  transform: translate(-50%, -50%) rotate(var(--wf-node-angle, 0deg));
}

.wf-art-atlas-node:nth-child(1) { --wf-node-x: 15%; --wf-node-y: 20%; --wf-node-angle: -4deg; }
.wf-art-atlas-node:nth-child(2) { --wf-node-x: 84%; --wf-node-y: 18%; --wf-node-angle: 3deg; }
.wf-art-atlas-node:nth-child(3) { --wf-node-x: 91%; --wf-node-y: 61%; --wf-node-angle: -5deg; }
.wf-art-atlas-node:nth-child(4) { --wf-node-x: 71%; --wf-node-y: 87%; --wf-node-angle: 4deg; }
.wf-art-atlas-node:nth-child(5) { --wf-node-x: 29%; --wf-node-y: 88%; --wf-node-angle: -3deg; }
.wf-art-atlas-node:nth-child(6) { --wf-node-x: 9%; --wf-node-y: 60%; --wf-node-angle: 5deg; }

.wf-art-atlas-node .wf-art-node-glyph {
  animation: wfArtGlyphPulse 3.8s ease-in-out infinite;
}

.wf-art-atlas-node:nth-child(2) .wf-art-node-glyph { animation-delay: -1.2s; }
.wf-art-atlas-node:nth-child(3) .wf-art-node-glyph { animation-delay: -2.4s; }
.wf-art-atlas-node:nth-child(4) .wf-art-node-glyph { animation-delay: -0.8s; }
.wf-art-atlas-node:nth-child(5) .wf-art-node-glyph { animation-delay: -2.9s; }
.wf-art-atlas-node:nth-child(6) .wf-art-node-glyph { animation-delay: -1.7s; }

@keyframes wfArtGlyphPulse {
  0%, 100% { filter: saturate(1) brightness(1); transform: scale(1) rotate(0deg); }
  50% { filter: saturate(1.22) brightness(1.08); transform: scale(1.07) rotate(4deg); }
}

.wf-art-constellation-line {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(113, 91, 213, 0.32), transparent);
  background-size: 200% 100%;
  transform-origin: left center;
  pointer-events: none;
  animation: wfArtLineFlow 5s ease-in-out infinite;
}

@keyframes wfArtLineFlow {
  0%, 100% { background-position: 100% 50%; opacity: 0.46; }
  50% { background-position: 0 50%; opacity: 0.9; }
}

.wf-art-constellation-line::after {
  position: absolute;
  top: -2px;
  right: 8%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(125, 107, 255, 0.8);
  box-shadow: 0 0 10px rgba(125, 107, 255, 0.8);
  content: "";
}

.line-a { top: 28%; left: 20%; width: 50%; transform: rotate(-12deg); }
.line-b { top: 31%; left: 50%; width: 38%; transform: rotate(19deg); }
.line-c { top: 51%; left: 14%; width: 68%; transform: rotate(7deg); }
.line-d { top: 64%; left: 19%; width: 52%; transform: rotate(28deg); }
.line-e { top: 72%; left: 39%; width: 37%; transform: rotate(-26deg); }

.wf-art-atlas-caption {
  position: absolute;
  right: 24px;
  bottom: 16px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  color: rgba(83, 70, 153, 0.48);
  font-family: var(--wf-art-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wf-art-dock {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 1002;
  width: min(380px, calc(100vw - 36px));
  pointer-events: auto;
}

.wf-art-dock-toggle {
  display: flex !important;
  width: auto;
  min-height: 50px !important;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  border-radius: 18px 14px 20px 12px !important;
  color: var(--wf-art-ink) !important;
  background: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 14px 34px rgba(64, 54, 153, 0.14), 0 2px 9px rgba(255, 255, 255, 0.7) inset !important;
  font-family: var(--wf-art-mono);
  text-align: left;
  cursor: pointer;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}

.wf-art-dock-toggle:hover {
  color: var(--wf-art-accent) !important;
  background: rgba(255, 255, 255, 0.82) !important;
  transform: translateY(-2px) !important;
}

.wf-art-dock-seal {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 48% 52% 45% 55%;
  color: #fff;
  background: linear-gradient(135deg, #8171ff, #4e8dff);
  box-shadow: 0 5px 14px rgba(86, 75, 207, 0.28), 0 1px 5px rgba(255, 255, 255, 0.6) inset;
  font-family: Georgia, serif;
  font-size: 16px;
  animation: wfArtSealFloat 4.4s ease-in-out infinite;
}

@keyframes wfArtSealFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-3px) rotate(5deg); }
}

.wf-art-dock-label {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.wf-art-dock-label b {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 12px;
  letter-spacing: 0;
}

.wf-art-dock-label small {
  overflow: hidden;
  color: rgba(75, 69, 123, 0.58);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wf-art-dock-arrow {
  margin-left: 4px;
  color: var(--wf-art-accent);
  font-size: 17px;
  transition: transform 200ms var(--wf-spring);
}

.wf-art-dock[data-open="true"] .wf-art-dock-arrow {
  transform: rotate(90deg);
}

.wf-art-dock-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  display: grid;
  width: min(372px, calc(100vw - 28px));
  gap: 13px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px 18px 26px 17px;
  background:
    radial-gradient(circle at 92% 0%, rgba(147, 126, 255, 0.2), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(244, 241, 255, 0.63));
  box-shadow: 0 30px 76px rgba(58, 46, 138, 0.2), 0 3px 14px rgba(255, 255, 255, 0.88) inset;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  transform-origin: bottom left;
  visibility: hidden;
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  transition: opacity 220ms ease, transform 260ms var(--wf-spring), visibility 220ms ease;
}

.wf-art-dock[data-open="true"] .wf-art-dock-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.wf-art-dock-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.wf-art-dock-head div {
  display: grid;
  gap: 4px;
}

.wf-art-dock-head span,
.wf-art-dock-footer,
.wf-art-mode {
  color: rgba(78, 69, 139, 0.6);
  font-family: var(--wf-art-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wf-art-dock-head strong {
  color: var(--wf-art-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.wf-art-close {
  display: grid !important;
  width: 30px !important;
  height: 30px;
  min-height: 30px !important;
  padding: 0 !important;
  place-items: center;
  border: 1px solid rgba(107, 91, 208, 0.13) !important;
  border-radius: 50% !important;
  color: var(--wf-art-accent) !important;
  background: rgba(255, 255, 255, 0.52) !important;
  box-shadow: none !important;
  font-size: 18px;
}

.wf-art-dock-intro {
  margin: 0;
  color: rgba(72, 67, 108, 0.78);
  font-size: 12px;
  line-height: 1.65;
}

.wf-art-dock-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.wf-art-node {
  position: relative;
  display: flex !important;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  gap: 8px;
  padding: 8px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  border-radius: 12px 10px 13px 9px !important;
  color: var(--wf-art-ink) !important;
  background: rgba(255, 255, 255, 0.44) !important;
  box-shadow: 0 3px 10px rgba(70, 56, 159, 0.05), 0 1px 6px rgba(255, 255, 255, 0.72) inset !important;
  text-decoration: none;
  transform: rotate(var(--wf-node-angle, 0deg));
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms var(--wf-spring), transform 180ms var(--wf-spring);
}

.wf-art-node:hover,
.wf-art-node:focus-visible,
.wf-art-node.is-current {
  border-color: rgba(126, 108, 255, 0.48) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 9px 20px rgba(76, 62, 167, 0.13), 0 1px 7px rgba(255, 255, 255, 0.9) inset !important;
  transform: translateY(-2px) rotate(var(--wf-node-angle, 0deg));
}

.wf-art-node.is-current {
  outline: 1px solid rgba(126, 108, 255, 0.28);
  outline-offset: 2px;
}

.wf-art-node-orbit {
  position: absolute;
  top: -14px;
  right: -12px;
  width: 45px;
  height: 45px;
  border: 1px dashed rgba(126, 108, 255, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.wf-art-node-glyph {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 45% 55% 42% 58%;
  color: #fff;
  background: linear-gradient(145deg, var(--wf-art-accent), var(--wf-art-accent-2));
  box-shadow: 0 4px 11px rgba(91, 76, 207, 0.22), 0 1px 4px rgba(255, 255, 255, 0.55) inset;
  font-family: Georgia, serif;
  font-size: 16px;
}

.wf-art-node-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.wf-art-node-copy strong {
  overflow: hidden;
  color: var(--wf-art-ink);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wf-art-node-copy small {
  overflow: hidden;
  color: rgba(79, 73, 120, 0.62);
  font-family: var(--wf-art-mono);
  font-size: 8px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wf-art-dock-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid rgba(101, 84, 195, 0.12);
}

.wf-art-dock-footer > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wf-art-mode {
  min-height: 27px !important;
  padding: 5px 8px !important;
  border: 1px solid rgba(113, 94, 214, 0.16) !important;
  border-radius: 8px !important;
  color: var(--wf-art-accent) !important;
  background: rgba(255, 255, 255, 0.46) !important;
  box-shadow: none !important;
}

.wf-art-mode b {
  font-weight: 700;
}

body[data-wf-page] :where(.wf-art-card) {
  position: relative;
  isolation: isolate;
}

body[data-wf-page] :where(.wf-art-card)::before,
body[data-wf-page] :where(.wf-art-card)::after {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  content: "";
}

body[data-wf-page] :where(.wf-art-card)::before {
  top: 12px;
  right: 15px;
  content: attr(data-wf-art-index);
  color: rgba(73, 63, 145, 0.42);
  font-family: var(--wf-art-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

body[data-wf-page] :where(.wf-art-card)::after {
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: radial-gradient(circle at var(--wf-card-x, 76%) var(--wf-card-y, 18%), rgba(255, 255, 255, 0.46), transparent 25%);
  opacity: 0;
  transition: opacity 180ms ease;
  clip-path: inset(0 round 22px);
}

body[data-wf-page] :where(.wf-art-card):hover::after {
  opacity: 1;
}

body[data-wf-page] :where(.wf-art-card) > * {
  position: relative;
  z-index: 3;
}

body[data-wf-page] :where(button, .btn, .wf-art-node) {
  position: relative;
  overflow: hidden;
}

.wf-art-ripple {
  position: absolute !important;
  top: var(--wf-ripple-y, 50%);
  left: var(--wf-ripple-x, 50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: wfArtRipple 620ms ease-out both;
}

@keyframes wfArtRipple {
  to { opacity: 0; transform: translate(-50%, -50%) scale(16); }
}

body.wf-art-mode-ink {
  --wf-primary: #5f8fff;
  --wf-primary-hover: #3c6de1;
  --wf-art-accent: #5f8fff;
  --wf-art-accent-2: #72c7ff;
}

body.wf-art-mode-candy {
  --wf-primary: #845cff;
  --wf-primary-hover: #6739df;
  --wf-art-accent: #ff73c9;
  --wf-art-accent-2: #5f8fff;
}

@media (max-width: 760px) {
  .wf-art-chrome {
    top: 9px;
    right: 12px;
    left: 12px;
    font-size: 8px;
  }

  .wf-art-brand i,
  .wf-art-scan {
    display: none;
  }

  .wf-art-atlas {
    display: block;
    min-height: 690px;
    margin-top: 15px;
    border-radius: 24px 19px 28px 17px;
  }

  .wf-art-atlas-copy {
    min-height: 270px;
    padding: 29px 24px 10px;
  }

  .wf-art-atlas h2 {
    max-width: 290px;
    margin-top: 16px;
    font-size: 38px;
  }

  .wf-art-atlas-copy > p {
    font-size: 12px;
  }

  .wf-art-atlas-stage {
    min-height: 386px;
  }

  .wf-art-atlas-stage::before {
    inset: 10px 12px 18px;
  }

  .wf-art-orbit-a { width: 238px; height: 238px; }
  .wf-art-orbit-b { width: 176px; height: 176px; }
  .wf-art-orbit-c { width: 275px; height: 112px; }

  .wf-art-atlas-sun {
    width: 74px;
    height: 74px;
  }

  .wf-art-atlas-sun b { font-size: 20px; }

  .wf-art-atlas-node {
    width: 110px;
  }

  .wf-art-atlas-node:nth-child(1) { --wf-node-x: 18%; --wf-node-y: 18%; }
  .wf-art-atlas-node:nth-child(2) { --wf-node-x: 68%; --wf-node-y: 18%; }
  .wf-art-atlas-node:nth-child(3) { --wf-node-x: 70%; --wf-node-y: 56%; }
  .wf-art-atlas-node:nth-child(4) { --wf-node-x: 65%; --wf-node-y: 83%; }
  .wf-art-atlas-node:nth-child(5) { --wf-node-x: 27%; --wf-node-y: 83%; }
  .wf-art-atlas-node:nth-child(6) { --wf-node-x: 12%; --wf-node-y: 56%; }

  .wf-art-dock {
    bottom: 12px;
    left: 12px;
    width: calc(100vw - 24px);
  }

  .wf-art-dock-panel {
    width: min(372px, calc(100vw - 24px));
    padding: 14px;
  }
}

@media (max-width: 420px) {
  .wf-art-atlas {
    min-height: 655px;
  }

  .wf-art-atlas-copy {
    min-height: 250px;
  }

  .wf-art-atlas h2 {
    font-size: 34px;
  }

  .wf-art-atlas-stage {
    min-height: 370px;
  }

  .wf-art-atlas-node {
    width: 101px;
  }

  .wf-art-node-copy small {
    display: none;
  }

  .wf-art-dock-grid {
    gap: 5px;
  }

  .wf-art-dock-head strong {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-wf-page] > main,
  .wf-art-root,
  .wf-art-reveal,
  .wf-art-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .wf-art-root::before,
  .wf-art-ripple {
    animation: none !important;
  }

  .wf-art-orbit,
  .wf-art-atlas-sun,
  .wf-art-atlas-node .wf-art-node-glyph,
  .wf-art-constellation-line,
  .wf-art-scan i,
  .wf-art-dock-seal {
    animation: none !important;
  }

  .wf-art-dock-panel,
  .wf-art-node,
  .wf-art-dock-toggle {
    transition: none !important;
  }
}
