.fv-board[data-game="14"] .fv-link-wrap,
.ca-shell[data-game="14"] .ca-boardbox {
  --tray:url('/scenes/festival-link-trays.webp');
  background-image:var(--tray);
  background-size:300% 100%;
  background-position:var(--tray-x,0%) center;
  background-repeat:no-repeat;
  border-radius:13px;
  box-shadow:0 6px 12px #120d0894,0 2px 0 #261c15,inset 0 0 0 1px #efc88e88;
}
.fv-link-wrap[data-garden="1"] { --tray-x:50%; }
.fv-link-wrap[data-garden="2"] { --tray-x:100%; }
.fv-board[data-game="14"] .fv-link-wrap .fv-links {
  inset:calc(65% / (var(--h) + 1.3)) calc(65% / (var(--w) + 1.3));
  background:transparent; box-shadow:none;
}
.fv-board[data-game="14"] .fv-links > button,
.ca-shell[data-game="14"] .ca-grid-14 .ca-cell {
  position:relative; isolation:isolate; overflow:visible; margin:0; border:0; padding:0;
  border-radius:14%; box-shadow:none; background:transparent;
}
.fv-board[data-game="14"] .fv-links > button::before,
.ca-shell[data-game="14"] .ca-grid-14 .ca-cell::before {
  content:''; position:absolute; inset:66% 10% 3%; z-index:-1; pointer-events:none;
  background:radial-gradient(ellipse at 57% 61%,#20140fa6 2%,#24150d61 48%,transparent 72%);
  border-radius:50%; opacity:1;
}
.fv-board[data-game="14"] .fv-links .empty::before,
.ca-shell[data-game="14"] .ca-grid-14 .ca-zero::before {
  inset:70% 21% 7%; background:#20150929; box-shadow:inset 0 1px 2px #130d084d,0 1px 0 #ffdf9742;
}
.fv-board[data-game="14"] .fv-links .blocked {
  background:transparent; font-size:0;
}
.fv-board[data-game="14"] .fv-links .blocked::after {
  content:''; position:absolute; inset:5%; background:url('/scenes/festival-link-obstacles.webp') left center / 200% 100% no-repeat;
  filter:drop-shadow(1px 2px 1px #18140aaa); pointer-events:none;
}
.fv-board[data-game="14"] [data-garden="2"] .fv-links .blocked::after { background-position:right center; }
.fv-board[data-game="14"] .fv-ceramic,.ca-shell[data-game="14"] .ca-animal {
  width:94%; height:94%; margin:auto; border-radius:0; mix-blend-mode:normal;
  filter:drop-shadow(1px 2px 1px #1d140c83);
}
.fv-board[data-game="14"] .with-ceramics .fv-ceramic,.ca-shell[data-game="14"] .ca-animal {
  background-image:url('/scenes/festival-link-toys.webp');
  background-size:600% 300%; background-repeat:no-repeat;
}
.ca-shell[data-game="14"] .ca-animal {
  inset:0; font-size:0; background-position:var(--toy-x,0%) var(--toy-y,0%);
}
.ca-grid-14 :is(.a2,.a8,.a14) { --toy-x:20%; }
.ca-grid-14 :is(.a3,.a9,.a15) { --toy-x:40%; }
.ca-grid-14 :is(.a4,.a10,.a16) { --toy-x:60%; }
.ca-grid-14 :is(.a5,.a11) { --toy-x:80%; }
.ca-grid-14 :is(.a6,.a12) { --toy-x:100%; }
.ca-grid-14 :is(.a7,.a8,.a9,.a10,.a11,.a12) { --toy-y:50%; }
.ca-grid-14 :is(.a13,.a14,.a15,.a16) { --toy-y:100%; }
.fv-board[data-game="14"] .fv-links > :is(.selected,.hint),
.ca-shell[data-game="14"] .ca-grid-14 .ca-selected {
  outline:2px solid #ffe19a; outline-offset:-2px; background:#f5d48432;
  box-shadow:inset 0 0 0 3px #503d2059;
}
.fv-board[data-game="14"] .fv-links > .hint { outline:2px dashed #c2fff4; background:#365e543d; }
.fv-board[data-game="14"] .fv-pair-echo {
  left:calc(100% * (var(--x) + .65) / (var(--w) + 1.3));top:calc(100% * (var(--y) + .65) / (var(--h) + 1.3));
  width:calc(100% / (var(--w) + 1.3));height:calc(100% / (var(--h) + 1.3));
  animation:none; opacity:0;
}
.ca-shell[data-game="14"] .ca-grid-14 { background:transparent; }
@media (prefers-reduced-motion:no-preference) {
  .fv-board[data-game="14"] .fv-links > .selected .fv-ceramic,
  .ca-shell[data-game="14"] .ca-selected .ca-animal { animation:fv-toy-pick 190ms ease-out both; }
  @keyframes fv-toy-pick {
    0% { transform:none; }
    55% { transform:translateY(-8%) rotate(-4deg) scale(1.09); }
    100% { transform:translateY(-5%) rotate(-2deg) scale(1.055); }
  }
}
