.central-pot{height:274px;gap:2px;margin-top:4px}
.central-pot h2{font-size:12px;letter-spacing:1.2px;margin:0 0 -2px}
.pot-heading{position:relative;display:flex;justify-content:center;align-items:center;gap:10px;width:100%;height:16px;flex:none}
.central-pot .pot-heading h2{margin:0}
.xpc-help{position:static;text-align:left}
.xpc-help summary{display:flex;align-items:center;justify-content:center;min-height:32px;min-width:46px;padding:5px 3px;color:#ffe1a1;font:600 11px/1.2 var(--title);text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px;list-style:none;cursor:pointer;border-radius:5px}
.xpc-help summary::-webkit-details-marker{display:none}
.xpc-help summary::marker{content:''}
.xpc-help summary:focus-visible{outline:2px solid #e2b5ff;outline-offset:2px}
.xpc-help[open] summary{background:#68407755;color:#fff0cc}
.xpc-definition{position:absolute;z-index:12;top:calc(100% + 9px);left:50%;transform:translateX(-50%);width:min(310px,calc(100vw - 72px));padding:15px 16px;border:1px solid #bd965c;border-radius:11px;background:#1c1029;color:#f7e9d4;box-shadow:0 12px 32px #000b;text-shadow:none;font:14px/1.5 Georgia,serif;text-wrap:pretty}
.xpc-definition strong{display:block;color:#ffe1a1;font:600 12px/1.5 var(--title)}
.xpc-definition p{margin:10px 0}
.xpc-definition small{display:block;color:#d9c1e7;font:12px/1.5 Georgia,serif}
.central-pot:has(.xpc-help[open]){z-index:6}
.central-pot .cauldron{width:222px;max-width:100%;height:222px;aspect-ratio:1;margin:0 auto;isolation:isolate}
.central-pot .cauldron:before{content:'';position:absolute;z-index:-1;inset:26% 7% 4%;background:radial-gradient(ellipse,#b666ec44,transparent 72%);filter:blur(10px);animation:cauldron-aura 5s ease-in-out infinite;pointer-events:none}
.cauldron-art{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 8px #0009)}
.cauldron-steam{display:none;pointer-events:none}
/* Only the existing painted wisps move. The rim, bowl and XP stay still. */
@supports(mask-image:linear-gradient(#000,transparent)){
  .central-pot .cauldron{margin-top:12px}
  .cauldron-art{mask-image:linear-gradient(transparent 0 13%,#000 21%)}
  .cauldron-steam{display:block;position:absolute;inset:0;z-index:1}
  .steam-window{position:absolute;inset:-9% 0 0;mask-image:linear-gradient(#000 0 22%,transparent 27%);overflow:hidden}
  .steam-left{clip-path:inset(0 49% 0 0)}
  .steam-right{clip-path:inset(0 0 0 49%)}
  .steam-wisp{position:absolute;left:0;top:8.25688%;width:100%;height:91.74312%;object-fit:contain;mask-image:linear-gradient(#000 0 15%,transparent 19.5%);transform-origin:34% 21%;animation:cauldron-wisp-left 7s linear infinite;will-change:transform,opacity}
  .steam-left .steam-echo{animation-delay:-3.5s}
  .steam-right .steam-wisp{transform-origin:67% 21%;animation-name:cauldron-wisp-right;animation-duration:8s;animation-delay:-1.7s}
  .steam-right .steam-echo{animation-delay:-5.7s}
}
@keyframes cauldron-wisp-left{
  0%{opacity:0;transform:translate(0,3%) scale(1,.94) skewX(-2deg)}
  18%{opacity:.86}
  52%{opacity:.82;transform:translate(-1%,-1.8%) scale(1.03,1.08) skewX(3deg)}
  80%{opacity:.38}
  100%{opacity:0;transform:translate(1.3%,-7%) scale(1.09,1.22) skewX(-3deg)}
}
@keyframes cauldron-wisp-right{
  0%{opacity:0;transform:translate(0,2.5%) scale(1,.94) skewX(2deg)}
  18%{opacity:.86}
  52%{opacity:.82;transform:translate(1%,-2%) scale(1.04,1.08) skewX(-3deg)}
  80%{opacity:.38}
  100%{opacity:0;transform:translate(-1.2%,-7.5%) scale(1.08,1.23) skewX(3deg)}
}
.central-pot .pot-value{inset:47% 23% 19%;display:flex;align-items:center;justify-content:center;gap:0;text-align:center;text-shadow:0 0 5px #350b4e,0 0 15px #b54bfa,0 0 25px #a45cde66;pointer-events:none}
.central-pot .pot-value>#pot-xp{font:600 43px/1 var(--title);color:#f7e6ff;font-variant-numeric:tabular-nums}
.central-pot .pot-value span{font:600 13px/1 var(--title);color:#f2d8ff}
.central-pot .secondary-action{min-height:30px;font-size:10px;padding:6px 17px;margin-top:2px;border-color:#ba975d}
@keyframes cauldron-aura{50%{opacity:.55;transform:scale(1.05)}}
@media(max-width:850px){.central-pot{height:246px}.central-pot .cauldron{width:198px;height:198px}.central-pot .pot-value>#pot-xp{font-size:38px}.central-pot .pot-value span{font-size:12px}}
@media(max-width:520px){.central-pot{height:220px}.central-pot h2{font-size:10px;letter-spacing:.6px}.central-pot .cauldron{width:178px;height:178px}.central-pot .pot-value>#pot-xp{font-size:34px}.central-pot .pot-value span{font-size:10px}.central-pot .secondary-action{min-height:27px;font-size:9px;padding:5px 12px}}
@media(prefers-reduced-motion:reduce){.central-pot .cauldron:before{animation:none}.cauldron-art{mask-image:none}.cauldron-steam{display:none}.steam-wisp{animation:none;will-change:auto}}

/* Le dos de la carte est aussi une commande tactile et clavier. */
button.card-stage{display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:initial;border-radius:10px;cursor:pointer}
button.card-stage:focus-visible{outline:2px solid #ffe1a1;outline-offset:5px}
button.card-stage:disabled{cursor:default}
.turn-status[hidden]{display:none}

/* Interface Classique : les plis sont le score, sans valeur de butin. */
body[data-scoring="tricks"] .card-value{display:none}
body[data-scoring="tricks"] .score-tile strong{font-size:clamp(48px,4.5vw,66px)}
body[data-scoring="tricks"] .secondary-stat[hidden], [id$="-secondary-stat"][hidden]{display:none}
@media(max-width:850px){body[data-scoring="tricks"] .score-tile strong{font-size:42px}}
@media(max-width:520px){body[data-scoring="tricks"] .score-tile strong{font-size:36px}}

/* The gold value and its small combat unit are inside the receptacle. */
.central-pot .pot-value{flex-direction:column;gap:2px;text-shadow:none}
.central-pot .pot-value>#pot-xp{color:#f4d686;background:linear-gradient(#fff4ce 18%,#efd182 47%,#bd8235 70%,#f5da93 92%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 2px 3px #000);text-shadow:none}
.central-pot .pot-value>.xpc-help{flex:none;pointer-events:auto}
.central-pot .pot-value>.xpc-help>summary{min-height:20px;min-width:30px;padding:1px 4px;font:600 10px/1.2 var(--title);color:#efd182;text-decoration:none;letter-spacing:1px}
.central-pot .pot-value .xpc-definition>strong{display:block;font:600 12px/1.5 var(--title);color:#ffe1a1;background:none;-webkit-text-fill-color:currentColor;filter:none;text-shadow:none}
