/* Backs: the picture a player's cards wear at a table. Written by tools/backs.mjs — change it there.
   <… class="card back" data-back="…">: the cards of that player as the others see them — the little cards beside a
   seat, a card played face down, a card on its way to the table. The deck and the closed card under the trump keep the
   back of the look: they are nobody's yet. A back is a picture and the colour of its edge; it is the same in every look
   (the shape of a card — its corners, its shadow — stays the look's).
   The selectors are heavier than those of a look or a skin on purpose: a back that was chosen is drawn whatever the
   theme of the one who looks at it. */
html[data-theme] .card.back[data-back]{border:max(1.5px,calc(var(--cw)*.03)) solid var(--bk-edge);background:var(--bk-bg) var(--bk-img) center/100% 100% no-repeat;box-shadow:var(--sh-card)}
html[data-theme] .card.mini.back[data-back]{border-width:1px;box-shadow:none}
html[data-theme] .card.back[data-back][data-back]::before,html[data-theme] .card.back[data-back][data-back]::after{content:none}

.card.back[data-back="toj"]{--bk-bg:#2A1248;--bk-edge:#E8B84A;--bk-img:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 86' preserveAspectRatio='none'%3E%3Crect x='4' y='4' width='52' height='78' rx='3' fill='none' stroke='%23E8B84A' stroke-width='1.2'/%3E%3Crect x='6.6' y='6.6' width='46.8' height='72.8' rx='2' fill='none' stroke='%23E8B84A' stroke-width='.5' opacity='.6'/%3E%3Cpath d='M30 20 47.5 43 30 66 12.5 43Z' fill='%233B1A66' stroke='%23E8B84A' stroke-width='1.2' stroke-linejoin='round'/%3E%3Cpath d='M19.5 49.5 21.8 36.5 26.2 41.8 30 33.2 33.8 41.8 38.2 36.5 40.5 49.500Z' fill='%23E8B84A'/%3E%3Cpath d='M19.5 51.300h21v2.700h-21z' fill='%23F6DE9C'/%3E%3Ccircle cx='21.8' cy='34.9' r='1.4' fill='%23F6DE9C'/%3E%3Ccircle cx='30' cy='31.5' r='1.5' fill='%23F6DE9C'/%3E%3Ccircle cx='38.2' cy='34.9' r='1.4' fill='%23F6DE9C'/%3E%3Cpath d='M11 9.4l2.6 2.6-2.6 2.6-2.6-2.6z' fill='%23E8B84A'/%3E%3Cpath d='M49 9.4l2.6 2.6-2.6 2.6-2.6-2.6z' fill='%23E8B84A'/%3E%3Cpath d='M11 71.4l2.6 2.6-2.6 2.6-2.6-2.6z' fill='%23E8B84A'/%3E%3Cpath d='M49 71.4l2.6 2.6-2.6 2.6-2.6-2.6z' fill='%23E8B84A'/%3E%3C/svg%3E")}
.card.back[data-back="girih"]{--bk-bg:#0C2742;--bk-edge:#55D6C8;--bk-img:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 86' preserveAspectRatio='none'%3E%3Crect x='4' y='4' width='52' height='78' rx='3' fill='none' stroke='%2355D6C8' stroke-width='1'/%3E%3Cg fill='none' stroke='%2355D6C8' stroke-linejoin='round'%3E%3Cpath d='M17 30h26v26h-26z M30 24.6 48.4 43 30 61.4 11.6 43z' stroke-width='1.4'/%3E%3Cpath d='M30 7 37.5 14.5 30 22 22.5 14.500z M30 64 37.5 71.5 30 79 22.5 71.500z' stroke-width='.9'/%3E%3Cpath d='M4 4 17 30M56 4 43 30M4 82 17 56M56 82 43 56M4 43h7.600M48.4 43H56M30 22v2.600M30 61.400V64' stroke-width='.7' opacity='.75'/%3E%3C/g%3E%3Cg fill='none' stroke='%23F2E8CF' stroke-width='.9' stroke-linejoin='round'%3E%3Cpath d='M23.5 36.500h13v13h-13z M30 33.8 39.2 43 30 52.2 20.8 43z'/%3E%3C/g%3E%3Ccircle cx='30' cy='43' r='2.2' fill='%23F2E8CF'/%3E%3C/svg%3E")}
.card.back[data-back="lola"]{--bk-bg:#F4E9D2;--bk-edge:#C2313B;--bk-img:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 86' preserveAspectRatio='none'%3E%3Crect x='4' y='4' width='52' height='78' rx='3' fill='none' stroke='%23C2313B' stroke-width='1.2'/%3E%3Cpath d='M30 70V45' fill='none' stroke='%232F7A57' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M30 66C22 64 19 57 19.5 50 26 53 29.5 58 30 66Z M30 66C38 64 41 57 40.5 50 34 53 30.5 58 30 66Z' fill='%232F7A57'/%3E%3Cpath d='M21 24C20 32 21 39 26.5 43.5 21.5 43.5 17.5 39 17.5 33 17.5 29 19 26 21 24Z M39 24C40 32 39 39 33.5 43.5 38.5 43.5 42.5 39 42.5 33 42.5 29 41 26 39 24Z' fill='%239E222C'/%3E%3Cpath d='M30 18C35 24 36.5 31 36 38 34.5 44 25.5 44 24 38 23.5 31 25 24 30 18Z' fill='%23C2313B'/%3E%3Cpath d='M11 9.4l2.6 2.6-2.6 2.6-2.6-2.6z' fill='%23C2313B'/%3E%3Cpath d='M49 9.4l2.6 2.6-2.6 2.6-2.6-2.6z' fill='%23C2313B'/%3E%3Cpath d='M11 71.4l2.6 2.6-2.6 2.6-2.6-2.6z' fill='%23C2313B'/%3E%3Cpath d='M49 71.4l2.6 2.6-2.6 2.6-2.6-2.6z' fill='%23C2313B'/%3E%3C/svg%3E")}
.card.back[data-back="qoshqar"]{--bk-bg:#6A1420;--bk-edge:#F0C24B;--bk-img:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 86' preserveAspectRatio='none'%3E%3Crect x='4' y='4' width='52' height='78' rx='3' fill='none' stroke='%23F0C24B' stroke-width='1.2'/%3E%3Cpath d='M30 40V30C30 23 36 19 41.5 21.5 46.5 24 46.5 31.5 41.5 33 38 34 35.5 31 37 28.5' fill='none' stroke='%23F0C24B' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath transform='translate(60 0) scale(-1 1)' d='M30 40V30C30 23 36 19 41.5 21.5 46.5 24 46.5 31.5 41.5 33 38 34 35.5 31 37 28.5' fill='none' stroke='%23F0C24B' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath transform='translate(0 86) scale(1 -1)' d='M30 40V30C30 23 36 19 41.5 21.5 46.5 24 46.5 31.5 41.5 33 38 34 35.5 31 37 28.5' fill='none' stroke='%23F0C24B' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath transform='translate(60 86) scale(-1 -1)' d='M30 40V30C30 23 36 19 41.5 21.5 46.5 24 46.5 31.5 41.5 33 38 34 35.5 31 37 28.5' fill='none' stroke='%23F0C24B' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath d='M30 37l6 6-6 6-6-6z' fill='%23F0C24B'/%3E%3Cpath d='M4 4h7L4 11zM56 4h-7l7 7zM4 82h7l-7-7zM56 82h-7l7-7z' fill='%23F0C24B'/%3E%3C/svg%3E")}
.card.back[data-back="m2611"]{--bk-bg:#3B1D10;--bk-edge:#E9862B;--bk-img:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 86' preserveAspectRatio='none'%3E%3Crect x='4' y='4' width='52' height='78' rx='3' fill='none' stroke='%23E9862B' stroke-width='1'/%3E%3Cpath d='M30 58V71' fill='none' stroke='%23E9862B' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath transform='rotate(-44 30 62)' d='M30 30C36.5 36 38 46 30 58 22 46 23.5 36 30 30Z' fill='%23F2C14E'/%3E%3Cpath transform='rotate(44 30 62)' d='M30 30C36.5 36 38 46 30 58 22 46 23.5 36 30 30Z' fill='%23F2C14E'/%3E%3Cpath d='M30 19C39.5 27.5 41.5 42 30 58 18.5 42 20.5 27.5 30 19Z' fill='%23E9862B'/%3E%3Cpath d='M30 24V58M30 33l5-4M30 33l-5-4M30 41l6.5-5M30 41l-6.5-5M30 49l5-4M30 49l-5-4' fill='none' stroke='%233B1D10' stroke-width='.9' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='13' r='1.3' fill='%23F2C14E'/%3E%3Ccircle cx='48' cy='13' r='1.3' fill='%23F2C14E'/%3E%3Ccircle cx='10' cy='30' r='1.3' fill='%23F2C14E'/%3E%3Ccircle cx='50' cy='30' r='1.3' fill='%23F2C14E'/%3E%3Ccircle cx='12' cy='73' r='1.3' fill='%23F2C14E'/%3E%3Ccircle cx='48' cy='73' r='1.3' fill='%23F2C14E'/%3E%3C/svg%3E")}
.card.back[data-back="m2612"]{--bk-bg:#12305C;--bk-edge:#F4F8FF;--bk-img:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 86' preserveAspectRatio='none'%3E%3Crect x='4' y='4' width='52' height='78' rx='3' fill='none' stroke='%23F4F8FF' stroke-width='1'/%3E%3Cg fill='none' stroke='%23F4F8FF' stroke-width='1.8' stroke-linecap='round'%3E%3Cg transform='rotate(0 30 43)'%3E%3Cpath d='M30 43V23.500M30 29.500l-4.2-4.200M30 29.500l4.2-4.200M30 36l-3.2-3.200M30 36l3.2-3.2'/%3E%3C/g%3E%3Cg transform='rotate(60 30 43)'%3E%3Cpath d='M30 43V23.500M30 29.500l-4.2-4.200M30 29.500l4.2-4.200M30 36l-3.2-3.200M30 36l3.2-3.2'/%3E%3C/g%3E%3Cg transform='rotate(120 30 43)'%3E%3Cpath d='M30 43V23.500M30 29.500l-4.2-4.200M30 29.500l4.2-4.200M30 36l-3.2-3.200M30 36l3.2-3.2'/%3E%3C/g%3E%3Cg transform='rotate(180 30 43)'%3E%3Cpath d='M30 43V23.500M30 29.500l-4.2-4.200M30 29.500l4.2-4.200M30 36l-3.2-3.200M30 36l3.2-3.2'/%3E%3C/g%3E%3Cg transform='rotate(240 30 43)'%3E%3Cpath d='M30 43V23.500M30 29.500l-4.2-4.200M30 29.500l4.2-4.200M30 36l-3.2-3.200M30 36l3.2-3.2'/%3E%3C/g%3E%3Cg transform='rotate(300 30 43)'%3E%3Cpath d='M30 43V23.500M30 29.500l-4.2-4.200M30 29.500l4.2-4.200M30 36l-3.2-3.200M30 36l3.2-3.2'/%3E%3C/g%3E%3C/g%3E%3Ccircle cx='30' cy='43' r='2.6' fill='%238FC3FF'/%3E%3Ccircle cx='12' cy='12' r='1.3' fill='%238FC3FF'/%3E%3Ccircle cx='48' cy='14' r='1' fill='%238FC3FF'/%3E%3Ccircle cx='10' cy='34' r='0.9' fill='%238FC3FF'/%3E%3Ccircle cx='51' cy='30' r='1.2' fill='%238FC3FF'/%3E%3Ccircle cx='9' cy='60' r='1.1' fill='%238FC3FF'/%3E%3Ccircle cx='50' cy='58' r='0.9' fill='%238FC3FF'/%3E%3Ccircle cx='14' cy='75' r='1' fill='%238FC3FF'/%3E%3Ccircle cx='46' cy='74' r='1.3' fill='%238FC3FF'/%3E%3Ccircle cx='30' cy='12' r='0.9' fill='%238FC3FF'/%3E%3Ccircle cx='30' cy='75' r='0.9' fill='%238FC3FF'/%3E%3C/svg%3E")}
