.playing-card{position:relative;display:inline-block;width:76px;height:106px;flex-shrink:0;border:1px solid;border-radius:8px;padding:0;box-shadow:0 3px 8px #0003;vertical-align:middle;user-select:none}.playing-card[data-card-face]{background:#fff;color:#172523;border-color:#c6d0ce;font-family:Arial,sans-serif}.playing-card[data-card-face][data-red=true]{color:#bd253b}.playing-card[data-card-face=ivory]{background:linear-gradient(135deg,#fff9e7,#ecdfbd);border-color:#b39965;font-family:Georgia,serif}.playing-card[data-card-face=midnight]{background:linear-gradient(135deg,#253849,#111d2b);color:#e6f2ff;border-color:#6f8eaa}.playing-card[data-card-face=midnight][data-red=true]{color:#ff91a2}.playing-card[data-card-back]{display:inline-grid;place-items:center;color:#fff4cf;border:3px solid #c6c7a8;outline:1px solid #ffffff80;outline-offset:-7px;opacity:1}.playing-card[data-card-back=forest]{background:repeating-linear-gradient(45deg,#244735 0 3px,#365d45 3px 6px)}.playing-card[data-card-back=ocean]{background:repeating-conic-gradient(#183a64 0% 25%,#376a9a 0% 50%) 50% / 16px 16px}.playing-card[data-card-back=ruby]{background:repeating-linear-gradient(135deg,#671e37 0 6px,#9a3b54 6px 9px,#671e37 9px 12px)}.playing-corner{position:absolute;left:7%;top:5%;display:flex;flex-direction:column;align-items:center;font-size:clamp(14px,1.6em,24px);font-weight:600;line-height:1}.playing-corner small{font-size:.65em;margin-top:2px}.playing-bottom{inset:auto 7% 5% auto;transform:rotate(180deg)}.playing-pip{position:absolute;left:50%;top:53%;transform:translate(-50%,-50%);font-size:2em;line-height:1}.playing-card-small .playing-corner{font-size:11px}.playing-card-small .playing-bottom{display:none}.playing-card-small .playing-pip{font-size:20px;left:63%;top:65%}.card-appearance{margin:12px 0;padding:12px;border:1px solid #58705a;border-radius:10px}.card-appearance summary{cursor:pointer}.card-appearance-fields{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:12px}.card-appearance-fields label{display:flex;flex-direction:column;gap:6px;flex:1 1 160px;min-width:0}.card-appearance-preview{display:flex;gap:12px;font-size:18px}.card-appearance p{font-size:13px;margin-bottom:0}
