
/* ===== v59: curse cards ===== */
.card.curse { --tc: #4a2a5a; --tc2: #2e1a38; background-color: #a9afca !important;
  background-image: repeating-linear-gradient(-35deg, rgba(40,16,48,.07) 0 1px, transparent 1px 5px), radial-gradient(ellipse at 50% 40%, rgba(80,40,90,.12), rgba(30,10,30,.28) 100%) !important; }
.card.curse .card-name { color: #e8dcef !important; }
.card.curse .cost { background: #3a2244 !important; color: #e8dcef !important; }
.card.curse .card-art.has-img { filter: saturate(.85) contrast(1.05); }
.card.curse.r-curse { box-shadow: inset 0 0 0 3px #a9afca, inset 0 0 0 5px var(--tc), 0 0 0 2px #6a3a8a, 0 0 14px rgba(90,40,120,.45), 0 6px 14px var(--shade-50) !important; }
.card .rar { }
.card .kw.curse-kw { color: #5a2a7a !important; }
.card .cost.cost-up { background: var(--claw-dark) !important; }

/* a card the rival Pinned: locked for this turn */
.hand .card.pinned { cursor: not-allowed; }
.hand .card.pinned > * { filter: grayscale(1) brightness(.45) contrast(1.1); }
/* pinned: the card goes dark, two scratched slashes cross it, an iron nail is driven through the top and a plate says why */
.hand .card.pinned::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 4; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 56'%3E %3Cg stroke-linecap='round' fill='none'%3E %3Cg stroke='%23050403' stroke-width='2.2'%3E%3Cpath d='M20 17 L10 11 L3 13'/%3E%3Cpath d='M20 17 L31 9 L37 11'/%3E%3Cpath d='M20 19 L6 26'/%3E%3Cpath d='M20 19 L33 27 L38 33'/%3E%3Cpath d='M20 21 L13 33'/%3E%3C/g%3E %3Cg stroke='%23bfae8e' stroke-width='.7' opacity='.7'%3E%3Cpath d='M20 17 L10 11 L3 13'/%3E%3Cpath d='M20 17 L31 9 L37 11'/%3E%3Cpath d='M20 19 L6 26'/%3E%3Cpath d='M20 19 L33 27 L38 33'/%3E%3Cpath d='M20 21 L13 33'/%3E%3C/g%3E%3C/g%3E %3Cpath d='M17.6 18 L22.4 18 L21 47 L20 54 L19 47 Z' fill='%235b534b' stroke='%230b0907' stroke-width='1.2'/%3E %3Cpath d='M19 19 L19.5 45' stroke='%23b3a99b' stroke-width='1'/%3E %3Cellipse cx='20' cy='16' rx='11' ry='5.8' fill='%233a342f' stroke='%230b0907' stroke-width='1.6'/%3E %3Cellipse cx='20' cy='14.4' rx='8.2' ry='3.6' fill='%23837a6e'/%3E %3Cellipse cx='17' cy='13.4' rx='3' ry='1.2' fill='%23e2dacd' opacity='.85'/%3E%3C/svg%3E") top 2px center / 42px 58px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140' preserveAspectRatio='none'%3E %3Cpath d='M7.9 31.3 L13.4 38.0 L19.0 44.5 L25.2 50.5 L31.4 56.5 L37.8 62.2 L43.0 69.2 L50.1 74.3 L55.2 81.3 L62.1 86.5 L68.6 92.2 L75.1 97.8 L82.3 102.6 L88.4 108.8 L95.5 113.7 L95.5 113.7 L89.7 107.3 L84.3 100.5 L78.8 93.9 L73.1 87.3 L66.4 82.0 L59.8 76.4 L53.6 70.5 L47.1 64.8 L41.0 58.8 L34.2 53.5 L27.7 47.9 L21.5 41.9 L15.1 36.2 L7.9 31.3Z' fill='%23050403' opacity='.85'/%3E%3Cpath d='M6.3 29.7 L11.8 36.4 L17.4 42.9 L23.6 48.9 L29.8 54.9 L36.2 60.6 L41.4 67.6 L48.5 72.7 L53.6 79.7 L60.5 84.9 L67.0 90.6 L73.5 96.2 L80.7 101.0 L86.8 107.2 L93.9 112.1 L93.9 112.1 L88.1 105.7 L82.7 98.9 L77.2 92.3 L71.5 85.7 L64.8 80.4 L58.2 74.8 L52.0 68.9 L45.5 63.2 L39.4 57.2 L32.6 51.9 L26.1 46.3 L19.9 40.3 L13.5 34.6 L6.3 29.7Z' fill='%23d9c9a6' opacity='.8'/%3E %3Cpath d='M13.7 59.5 L18.7 65.3 L23.9 71.0 L28.5 77.3 L33.8 82.8 L39.2 88.2 L43.9 94.4 L49.9 99.3 L54.9 105.2 L60.7 110.2 L66.3 115.5 L71.8 120.8 L77.9 125.6 L83.5 130.8 L89.5 135.7 L89.5 135.7 L84.5 129.8 L79.6 123.9 L74.4 118.3 L70.1 111.6 L64.5 106.4 L58.5 101.5 L53.1 96.1 L48.1 90.3 L42.6 84.9 L36.6 80.0 L31.4 74.4 L25.5 69.4 L20.1 64.0 L13.7 59.5Z' fill='%23050403' opacity='.8'/%3E%3Cpath d='M12.1 57.9 L17.1 63.7 L22.3 69.4 L26.9 75.7 L32.2 81.2 L37.6 86.6 L42.3 92.8 L48.3 97.7 L53.3 103.6 L59.1 108.6 L64.7 113.9 L70.2 119.2 L76.3 124.0 L81.9 129.2 L87.9 134.1 L87.9 134.1 L82.9 128.2 L78.0 122.3 L72.8 116.7 L68.5 110.0 L62.9 104.8 L56.9 99.9 L51.5 94.5 L46.5 88.7 L41.0 83.3 L35.0 78.4 L29.8 72.8 L23.9 67.8 L18.5 62.4 L12.1 57.9Z' fill='%23d9c9a6' opacity='.7'/%3E%3C/svg%3E") center / 100% 100% no-repeat, rgba(8,10,16,.55);
  box-shadow: inset 0 0 0 2px #1e243a, inset 0 0 18px rgba(0, 0, 0, .8); }
.hand .card.pinned::after {
  content: "PINNED"; position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); z-index: 5; pointer-events: none; padding: 2px 10px;
  font: 800 11px var(--font-body); border: 1px solid #080a11; box-shadow: 0 0 0 1px #44507f inset, 0 2px 4px var(--shade-60);
  border-radius: 0 !important; background: var(--royal) !important; color: var(--ivory) !important; font-family: var(--font-display) !important;
  font-weight: 400 !important; letter-spacing: .08em !important;
}
.intent .isep { opacity: .55; margin: 0 2px; }
/* a long intent wraps onto a second line instead of running off the screen; each part stays whole */
.intent { flex-wrap: wrap; justify-content: center; row-gap: 2px; max-width: min(390px, 92vw); text-align: center; }
.intent .ipart { white-space: nowrap; }
