@font-face { font-family: AfacadFlux; src: url(../assets/fonts/AfacadFlux-ExtraBold.woff2) format('woff2'); font-weight: 800; }
html, body { margin: 0; height: 100%; background: #1d2a14; overflow: hidden; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
#phone { position: relative; margin: 0 auto; overflow: hidden; touch-action: none; }
#game { position: absolute; left: 0; top: 0; display: block; }
#cards { position: absolute; inset: 0; pointer-events: none; font-family: AfacadFlux, sans-serif; font-weight: 800; z-index: 6; }
#hud { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 5; }

/* Playing card (owner 16.11, ea49-1): white card, rank + suit corners, pips / ace / court letter; the node sits at the card centre */
.pcard { position: absolute; left: 0; top: 0; width: 0; height: 0; perspective: calc(6 * var(--u)); will-change: transform; }
.pcard .inner { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; transition: transform .26s cubic-bezier(.3,.7,.4,1.25); }
.pcard.down .inner { transform: rotateY(180deg); }
/* owner 16.11 (task FD 20261116-220402-74fd-2): cards on the table lie flat and straight, no tilt (was rotateX(38deg)) */
.pcard.floor .inner { transform: none; }
.pcard.floor.down .inner { transform: rotateY(180deg); }
.pcard.poof, .pcard.bench.poof { transition: opacity .15s; opacity: 0; } /* .bench.poof: the grey (benched) enemy cards vanish too when the battle starts (task FD 20261117-113244-d2d4) */
.pcard .face, .pcard .back { position: absolute; box-sizing: border-box; border-radius: calc(0.09 * var(--u)); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.pcard .face { background: #fff; border: calc(0.04 * var(--u)) solid #22252c; color: var(--sc); box-shadow: 0 calc(0.05 * var(--u)) 0 #22252c; }
/* owner 16.11 (task FD 20261116-225153-1fc6): four suit colours so spades and clubs never look alike — spades dark, clubs green, hearts red, diamonds blue */
.pcard .face.s-S { --sc: #2b2f3a; } .pcard .face.s-C { --sc: #1f9a45; } .pcard .face.s-H { --sc: #e5443c; } .pcard .face.s-D { --sc: #1c7fe0; }
.pcard .sv { display: block; width: 100%; height: 100%; overflow: visible; }
.pcard .sv .so { fill: #22252c; stroke: #22252c; stroke-width: 12; stroke-linejoin: round; }
.pcard .sv .sf { fill: var(--sc); }
.pcard .back { transform: rotateY(180deg); border: calc(0.05 * var(--u)) solid #fffdf6; outline: calc(0.025 * var(--u)) solid #22252c;
  background: repeating-linear-gradient(45deg, #b8322c 0 calc(0.07 * var(--u)), #d2463d calc(0.07 * var(--u)) calc(0.14 * var(--u))); }
.pcard .face.high { background: linear-gradient(#fff6d2, #f6d77a); }
/* owner 17.11 (task FD 20261117-103038-fb5d): the approved style-14 deck — white faces, soft round corners, thin lavender border, red hearts /
   diamonds and near-black spades / clubs, plain suit shapes without the dark outline, a soft shadow; J / Q / K / A are the approved drawn
   cards with our units (hand.js, assets/card/deck14), the back is the purple style-14 back with the crown (cut from the chosen sheet) */
.pcard .face { border: calc(0.018 * var(--u)) solid #bcaacf; border-radius: calc(0.07 * var(--u)); box-shadow: 0 calc(0.03 * var(--u)) calc(0.06 * var(--u)) rgba(40,30,70,.35); }
.pcard .face.s-S, .pcard .face.s-C { --sc: #1c1424; } .pcard .face.s-H, .pcard .face.s-D { --sc: #d81e1e; }
.pcard .sv .so { display: none; }
.pcard .face.high { border: 0; background: center / 100% 100% no-repeat; }
.pcard .back { border: 0; outline: 0; border-radius: calc(0.07 * var(--u)); background: url(../assets/card/deck14/back.webp) center / 100% 100% no-repeat; }
.pcard .back { box-shadow: 0 calc(0.03 * var(--u)) calc(0.06 * var(--u)) rgba(40,30,70,.35); }
.pcard .corner { position: absolute; left: calc(0.07 * var(--u)); top: calc(0.05 * var(--u)); width: calc(0.4 * var(--u)); display: flex; flex-direction: column; align-items: center; }
.pcard .cr { font-size: calc(0.4 * var(--u)); line-height: 1; letter-spacing: -0.09em; white-space: nowrap; }
.pcard .corner .cs { width: calc(0.2 * var(--u)); height: calc(0.2 * var(--u)); margin-top: calc(0.01 * var(--u)); }
.pcard .big { position: absolute; left: calc(0.14 * var(--u)); top: calc(0.68 * var(--u)); width: calc(0.48 * var(--u)); height: calc(0.48 * var(--u)); }

/* Play / Discard under the hand (Balatro colours: blue Play, red Discard) */
.btn { position: absolute; left: 0; top: 0; pointer-events: auto; font: inherit; color: #fff; border: calc(0.035 * var(--u)) solid #22252c; border-radius: calc(0.16 * var(--u));
  box-shadow: 0 calc(0.06 * var(--u)) 0 #22252c; cursor: pointer; -webkit-text-stroke: calc(0.025 * var(--u)) #22252c; paint-order: stroke fill; transition: opacity .15s, filter .15s; }
.btn.play { background: linear-gradient(#38a8ff, #1c7fe0); }
.btn.disc { background: linear-gradient(#ff6a5c, #e5443c); }
.btn b { display: inline-block; margin-left: .2em; min-width: 1.2em; border-radius: .4em; background: rgba(0,0,0,.25); -webkit-text-stroke: 0; }
.btn:disabled { filter: grayscale(.85) brightness(.85); opacity: .7; cursor: default; }
.btn:not(:disabled):active { transform-origin: center; filter: brightness(.9); }
.btn.hide { opacity: 0; pointer-events: none; }

/* the name of the selected poker hand above the hand on the left (owner 16.11, 75f0-2: the blue x red boxes are gone) */
.panel { position: absolute; left: 0; top: 0; transition: opacity .2s; }
.pname { min-height: calc(0.3 * var(--u)); font-size: calc(0.3 * var(--u)); color: #22252c; white-space: nowrap; }
.bump { animation: bump .25s ease-out; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.info { position: absolute; left: 0; top: 0; text-align: right; font-size: calc(0.26 * var(--u)); color: rgba(34,37,44,.7); white-space: nowrap; }

/* the deck: a face-down stack (owner 16.11, 75f0-2), layers = card backs, the number of cards left on the top card; a new stack drops in */
.deck { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 3; }
.deck .dl, .deck .dnum { position: absolute; box-sizing: border-box; border-radius: calc(0.07 * var(--u)); }
.deck .dl { border: calc(0.04 * var(--u)) solid #fffdf6; outline: calc(0.022 * var(--u)) solid #22252c; box-shadow: 0 calc(0.03 * var(--u)) 0 rgba(0,0,0,.18);
  background: repeating-linear-gradient(45deg, #b8322c 0 calc(0.06 * var(--u)), #d2463d calc(0.06 * var(--u)) calc(0.12 * var(--u))); transition: opacity .12s; }
.deck .dl.hide { opacity: 0; }
.deck .dnum { display: flex; align-items: center; justify-content: center; font-size: calc(0.36 * var(--u)); color: #fff; -webkit-text-stroke: calc(0.06 * var(--u)) #22252c; paint-order: stroke fill; }
.deck.empty .dnum { border: calc(0.03 * var(--u)) dashed rgba(34,37,44,.35); color: rgba(255,255,255,.9); }
.deck.fresh { animation: deckIn .42s cubic-bezier(.2,.9,.3,1.3); }
@keyframes deckIn { 0% { opacity: 0; margin-top: calc(-0.9 * var(--u)); scale: 1.25; rotate: 10deg; } 60% { opacity: 1; margin-top: calc(0.05 * var(--u)); scale: .95; rotate: -2deg; } 100% { margin-top: 0; scale: 1; rotate: 0deg; } }

/* floating +N (blue) over a scored card and xN (red) over a growing squad */
.floater { position: absolute; transform: translate(-50%, -50%); font-size: calc(0.42 * var(--u)); color: #fff; -webkit-text-stroke: calc(0.05 * var(--u)) #22252c; paint-order: stroke fill;
  pointer-events: none; z-index: 50; animation: floatUp .9s ease-out forwards; white-space: nowrap; }
.floater.blue { color: #38a8ff; }
.floater.red { color: #ff5a4e; }
@keyframes floatUp { 0% { opacity: 0; margin-top: 0; scale: .5; } 15% { opacity: 1; scale: 1.25; } 30% { scale: 1; } 100% { opacity: 0; margin-top: calc(-0.6 * var(--u)); } }

#over { position: absolute; inset: 0; z-index: 40; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  background: rgba(0,0,0,0.45); font-family: AfacadFlux, sans-serif; font-weight: 800; color: #fff; }
#over[hidden] { display: none; }
#overText { font-size: 48px; -webkit-text-stroke: 3px #000; paint-order: stroke fill; }
#again { font: inherit; font-size: 24px; padding: 12px 28px; border-radius: 14px; border: 3px solid #000; background: #27bffe; color: #fff; cursor: pointer; }

/* Owner 16.11 (task FD 20261116-184312-7abe): played cards lie on the floor in front of their squads; the combination cards glow */
.pcard .face { transition: box-shadow .2s; }
.pcard.combo .face { box-shadow: 0 0 0 calc(0.06 * var(--u)) #ffd23a, 0 0 calc(0.3 * var(--u)) calc(0.06 * var(--u)) rgba(255,200,40,.85); }

/* the poker hand name popping up big in the middle of the field, and what it gives (every squad x mult) */
.banner { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%) scale(0); opacity: 0; display: flex; flex-direction: column; align-items: center;
  gap: calc(0.04 * var(--u)); pointer-events: none; z-index: 20; white-space: nowrap; transition: transform .18s ease-in, opacity .18s ease-in; }
.banner.on { opacity: 1; transform: translate(-50%, -50%) scale(1); animation: bannerIn .5s cubic-bezier(.2,.9,.3,1.4); transition: none; }
@keyframes bannerIn { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.2) rotate(-8deg); } 55% { opacity: 1; transform: translate(-50%, -50%) scale(1.18) rotate(2deg); }
  100% { transform: translate(-50%, -50%) scale(1) rotate(0); } }
.banner .bt { position: relative; padding: calc(0.06 * var(--u)) calc(0.34 * var(--u)); border-radius: calc(0.2 * var(--u)); border: calc(0.05 * var(--u)) solid #22252c;
  font-size: calc(0.62 * var(--u)); line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; color: #fff; -webkit-text-stroke: calc(0.06 * var(--u)) #22252c; paint-order: stroke fill;
  box-shadow: 0 calc(0.08 * var(--u)) 0 #22252c; background: linear-gradient(#3fb0ff, #1c7fe0); overflow: hidden; }
.banner.foe .bt { background: linear-gradient(#ff7a6c, #d93a32); }
.banner.on .bt::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.65), rgba(255,255,255,0)); animation: bannerShine .7s .25s ease-out both; }
@keyframes bannerShine { from { left: -60%; } to { left: 130%; } }
.banner .bg { padding: calc(0.03 * var(--u)) calc(0.2 * var(--u)); border-radius: calc(0.14 * var(--u)); border: calc(0.035 * var(--u)) solid #22252c; background: #fffdf6;
  font-size: calc(0.3 * var(--u)); color: #22252c; box-shadow: 0 calc(0.05 * var(--u)) 0 #22252c; }
.banner .bg b { display: inline-block; padding: 0 calc(0.1 * var(--u)); margin-left: calc(0.04 * var(--u)); border-radius: calc(0.1 * var(--u)); color: #ee2a22; font-size: 1.25em; line-height: 1;
  -webkit-text-stroke: calc(0.025 * var(--u)) #22252c; paint-order: stroke fill; }
/* the stronger the hand, the richer the ribbon: gold from Straight up */
.banner.c-straight .bt, .banner.c-flush .bt, .banner.c-fullHouse .bt, .banner.c-four .bt, .banner.c-straightFlush .bt { background: linear-gradient(#ffe066, #f2a81c); }
.banner.c-four .bt, .banner.c-straightFlush .bt { font-size: calc(0.7 * var(--u)); }
.banner.foe.on .bt { background: linear-gradient(#ff7a6c, #d93a32); } /* the enemy's hand stays red whatever it is */

/* Owner 16.11 (task FD 20261116-205838-7fd3-2): while choosing cards, the combination pops up big over my squads with its x multiplier next to it */
.preview { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%) scale(0); opacity: 0; display: flex; align-items: center; gap: calc(0.1 * var(--u));
  pointer-events: none; z-index: 19; white-space: nowrap; transition: transform .15s ease-in, opacity .15s ease-in; }
.preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1); animation: previewIn .4s cubic-bezier(.2,.9,.3,1.5); transition: none; }
@keyframes previewIn { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3) rotate(-6deg); } 60% { opacity: 1; transform: translate(-50%, -50%) scale(1.15) rotate(2deg); }
  100% { transform: translate(-50%, -50%) scale(1) rotate(0); } }
.preview .pt { position: relative; overflow: hidden; padding: calc(0.04 * var(--u)) calc(0.26 * var(--u)); border-radius: calc(0.18 * var(--u)); border: calc(0.05 * var(--u)) solid #22252c;
  font-size: calc(0.5 * var(--u)); line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; color: #fff; -webkit-text-stroke: calc(0.055 * var(--u)) #22252c; paint-order: stroke fill;
  box-shadow: 0 calc(0.07 * var(--u)) 0 #22252c; background: linear-gradient(#3fb0ff, #1c7fe0); }
.preview.on .pt::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.65), rgba(255,255,255,0)); animation: bannerShine .6s .15s ease-out both; }
.preview .pm { padding: calc(0.02 * var(--u)) calc(0.16 * var(--u)); border-radius: calc(0.16 * var(--u)); border: calc(0.05 * var(--u)) solid #22252c; background: #fffdf6;
  font-size: calc(0.56 * var(--u)); line-height: 1.05; color: #ee2a22; -webkit-text-stroke: calc(0.055 * var(--u)) #22252c; paint-order: stroke fill; box-shadow: 0 calc(0.07 * var(--u)) 0 #22252c;
  transform: rotate(-6deg); }
.preview.on .pm { animation: pmIn .45s .08s cubic-bezier(.2,.9,.3,1.6) both; }
@keyframes pmIn { 0% { transform: scale(0) rotate(-30deg); } 100% { transform: scale(1) rotate(-6deg); } }
/* owner 16.11 (task FD 20261116-224134-e616-1): the total points of the selected cards under my squads, above my base HP bar */
.total { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%) scale(0); opacity: 0; display: flex; align-items: center; gap: calc(0.1 * var(--u));
  padding: calc(0.03 * var(--u)) calc(0.2 * var(--u)) calc(0.03 * var(--u)) calc(0.16 * var(--u)); border-radius: calc(0.2 * var(--u)); border: calc(0.05 * var(--u)) solid #22252c;
  background: linear-gradient(#3fb0ff, #1c7fe0); box-shadow: 0 calc(0.06 * var(--u)) 0 #22252c; pointer-events: none; z-index: 18; white-space: nowrap;
  color: #fff; -webkit-text-stroke: calc(0.05 * var(--u)) #22252c; paint-order: stroke fill; transition: transform .15s ease-in, opacity .15s ease-in; }
.total.on { opacity: 1; transform: translate(-50%, -50%) scale(1); animation: previewIn .4s cubic-bezier(.2,.9,.3,1.5); transition: none; }
.total.on.pop { animation: totalPop .3s cubic-bezier(.2,.9,.3,1.6); }
@keyframes totalPop { 0% { transform: translate(-50%, -50%) scale(1.3); } 100% { transform: translate(-50%, -50%) scale(1); } }
.total.foe { background: linear-gradient(#ff6a5c, #e5443c); }
.total .tl { font-size: calc(0.24 * var(--u)); text-transform: uppercase; letter-spacing: .03em; }
.total .tn { font-size: calc(0.46 * var(--u)); line-height: 1.05; }
/* gold from Straight up, like the big banner */
.preview.c-straight .pt, .preview.c-flush .pt, .preview.c-fullHouse .pt, .preview.c-four .pt, .preview.c-straightFlush .pt { background: linear-gradient(#ffe066, #f2a81c); }
/* owner 17.11 (task FD 20261117-103038-fb5d): the deck stack shows the style-14 back too */
.deck .dl { border: 0; outline: 0; border-radius: calc(0.06 * var(--u)); background: url(../assets/card/deck14/back.webp) center / 100% 100% no-repeat; }

/* Owner 17.11 (task FD 20261117-105644-0630): played cards outside the combination do not play — grey and faded on the floor */
.pcard.bench { filter: grayscale(1) brightness(.85); opacity: .45; transition: opacity .25s, filter .25s; }

/* Owner 17.11 (task FD 20261117-113517-466d): the «?» button under my HP bar on the left and the poker hands reference it opens over a dimmed screen */
.btn.help { padding: 0; border-radius: 50%; line-height: 1; background: linear-gradient(#ffe066, #f2a81c); z-index: 25; }
.help-dim { position: absolute; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: rgba(10,14,8,.62);
  pointer-events: none; opacity: 0; transition: opacity .18s; }
.help-dim.on { pointer-events: auto; opacity: 1; }
.help-box { position: relative; width: calc(5.4 * var(--u)); padding: calc(0.22 * var(--u)) calc(0.26 * var(--u)) calc(0.18 * var(--u)); box-sizing: border-box;
  border-radius: calc(0.26 * var(--u)); border: calc(0.05 * var(--u)) solid #22252c; background: #fffdf6; box-shadow: 0 calc(0.1 * var(--u)) 0 #22252c;
  transform: scale(.6); transition: transform .18s ease-in; }
.help-dim.on .help-box { transform: scale(1); animation: helpIn .35s cubic-bezier(.2,.9,.3,1.4); }
@keyframes helpIn { from { transform: scale(.6); } to { transform: scale(1); } }
.help-box .ht { margin: calc(-0.5 * var(--u)) auto calc(0.16 * var(--u)); width: max-content; padding: calc(0.04 * var(--u)) calc(0.3 * var(--u)); border-radius: calc(0.18 * var(--u));
  border: calc(0.05 * var(--u)) solid #22252c; background: linear-gradient(#3fb0ff, #1c7fe0); box-shadow: 0 calc(0.07 * var(--u)) 0 #22252c;
  font-size: calc(0.44 * var(--u)); line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; color: #fff; -webkit-text-stroke: calc(0.05 * var(--u)) #22252c; paint-order: stroke fill; }
.help-box .hx { position: absolute; right: calc(-0.16 * var(--u)); top: calc(-0.16 * var(--u)); width: calc(0.5 * var(--u)); height: calc(0.5 * var(--u)); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; border: calc(0.045 * var(--u)) solid #22252c; background: linear-gradient(#ff6a5c, #e5443c); box-shadow: 0 calc(0.05 * var(--u)) 0 #22252c;
  font-size: calc(0.42 * var(--u)); line-height: 1; color: #fff; -webkit-text-stroke: calc(0.03 * var(--u)) #22252c; paint-order: stroke fill; }
.help-box .hl { display: flex; flex-direction: column; gap: calc(0.08 * var(--u)); }
.help-box .hr { display: flex; align-items: center; justify-content: space-between; padding: calc(0.06 * var(--u)) calc(0.12 * var(--u)) calc(0.06 * var(--u)) calc(0.2 * var(--u));
  border-radius: calc(0.14 * var(--u)); border: calc(0.035 * var(--u)) solid #22252c; background: linear-gradient(#3fb0ff, #1c7fe0); }
.help-box .hn { font-size: calc(0.32 * var(--u)); color: #fff; -webkit-text-stroke: calc(0.04 * var(--u)) #22252c; paint-order: stroke fill; white-space: nowrap; }
.help-box .hm { min-width: calc(0.7 * var(--u)); text-align: center; padding: 0 calc(0.1 * var(--u)); border-radius: calc(0.1 * var(--u)); border: calc(0.035 * var(--u)) solid #22252c;
  background: #fffdf6; font-size: calc(0.34 * var(--u)); line-height: 1.15; color: #ee2a22; -webkit-text-stroke: calc(0.025 * var(--u)) #22252c; paint-order: stroke fill; }
/* gold from Straight up, like the big banner */
.help-box .hr.c-straight, .help-box .hr.c-flush, .help-box .hr.c-fullHouse, .help-box .hr.c-four, .help-box .hr.c-straightFlush { background: linear-gradient(#ffe066, #f2a81c); }
/* Owner 17.11 (task FD 20261117-114359-0f20, «примеры карт … как в Balatro»): example table cards in every row (the same faces as in the hand,
   scaled down, slightly overlapping); cards outside the hand are dimmed.
   Owner 17.11 (task FD 20261117-114923-e501, «на 30% сократить по высоте … более лучшую композицию … короткое описание … убери надпись»):
   one slim strip per hand — the ×mult badge on the left, the name with a small how-to line, the cards on the right; no close hint */
.help-box { padding: calc(0.2 * var(--u)) calc(0.18 * var(--u)) calc(0.18 * var(--u)); }
.help-box .ht { margin-bottom: calc(0.1 * var(--u)); }
.help-box .hl { gap: calc(0.055 * var(--u)); }
.help-box .hr { justify-content: flex-start; gap: calc(0.12 * var(--u)); height: calc(0.72 * var(--u)); box-sizing: border-box; padding: 0 calc(0.08 * var(--u)); }
.help-box .hr .hm { flex-shrink: 0; min-width: calc(0.62 * var(--u)); padding: 0; font-size: calc(0.3 * var(--u)); }
.help-box .hh { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.help-box .hh .hn { font-size: calc(0.26 * var(--u)); line-height: 1.05; }
.help-box .hd { margin-top: calc(0.02 * var(--u)); font-size: calc(0.165 * var(--u)); line-height: 1.1; color: #fff; opacity: .95; -webkit-text-stroke: calc(0.022 * var(--u)) #22252c;
  paint-order: stroke fill; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.help-box .hk { display: flex; flex-shrink: 0; padding-right: calc(0.07 * var(--u)); }
.help-box .mc { position: relative; flex-shrink: 0; width: calc(0.39 * var(--u)); height: calc(0.546 * var(--u)); margin-right: calc(-0.075 * var(--u)); }
.help-box .mc .pcard { left: 50%; top: 50%; transform: scale(.42); }
.help-box .mc.off { filter: grayscale(1) brightness(.8); opacity: .55; }
.help-box .hc { margin-top: calc(0.14 * var(--u)); text-align: center; font-size: calc(0.22 * var(--u)); color: rgba(34,37,44,.55); }

/* Owner 17.11 (task FD 20261117-114327-7fdc, «перерисуй её в однотонные… бледно-красного оттенка с белыми такими ромбовидными сеткой»): every card
   back (the deck stack and the enemy's face-down cards) is one plain pale red with a thin white diamond lattice and a white rim — no crown, no details */
.pcard .back, .deck .dl { --bk: calc(0.11 * var(--u)); background-color: #d9746d;
  background-image: repeating-linear-gradient(45deg, transparent 0 calc(var(--bk) - 1px), rgba(255,255,255,.85) calc(var(--bk) - 1px) var(--bk)),
    repeating-linear-gradient(-45deg, transparent 0 calc(var(--bk) - 1px), rgba(255,255,255,.85) calc(var(--bk) - 1px) var(--bk));
  background-size: auto; background-position: center; border: calc(0.035 * var(--u)) solid #fff; }
.deck .dl { border-width: calc(0.03 * var(--u)); }

/* Owner 17.11 (task FD 20261117-172645-b834): the cheat «+100» button at the right edge of the field (shown / hidden from the cheat menu) */
.btn.cheat100 { padding: 0; border-radius: 50%; line-height: 1; z-index: 25; background: linear-gradient(#b67cff, #7c3fe0); opacity: .85; }
.btn.cheat100[hidden] { display: none; }
