.physical-dice{display:block!important;pointer-events:none}.physical-dice-canvas{touch-action:none}.physical-dice-info[hidden]{display:none!important}.tabletop-tools{position:absolute;left:12px;right:12px;top:12px;z-index:10;display:flex;gap:6px;flex-wrap:wrap;align-items:center;pointer-events:auto}.tabletop-tools button,.tabletop-tools label{border:1px solid #9cb09c55;border-radius:10px;background:#244d43db;color:#ece7d1;padding:6px 9px;font-size:12px;box-shadow:1px 3px 3px #112d2355}.tabletop-tools label{display:flex;align-items:center;gap:6px}.tabletop-tools input{width:65px}.tabletop-tools span{flex-basis:100%;font-size:12px;color:#ece7d1;text-shadow:0 1px #16392d;pointer-events:none}.tabletop-image-dialog{padding:0;border:0;background:transparent;max-width:90vw;max-height:90dvh;overflow:visible}.tabletop-image-dialog::backdrop{background:#0d2018bd}.tabletop-image-dialog img{display:block;max-width:86vw;max-height:86dvh;object-fit:contain;border-radius:12px;box-shadow:10px 15px 4px #0007}.tabletop-image-dialog button{position:absolute;right:-12px;top:-12px;border-radius:50%;width:38px;height:38px;background:#f1e9d4;border:1px solid #67735a;color:#304336}.library-art-stage{touch-action:none}.tabletop-reduced-motion .event-art-flip,.tabletop-reduced-motion .event-art-tilt{transition-duration:120ms!important}.tabletop-reduced-motion .lqq-message.is-new{animation-duration:120ms!important}
@media(max-width:940px){.library-playing .library-tabletop .library-art-stage{display:flex!important;height:clamp(380px,65dvh,620px);min-height:380px}.tabletop-tools button{min-height:36px}.tabletop-tools label{display:none}}

.library-art-stage .tabletop-card{position:absolute;left:50%;top:50%;translate:-50% -50%;z-index:2;width:min(75%,360px,calc(65dvh * 100 / 143));max-height:85%;}.library-art-stage .tabletop-card[hidden]{display:none!important}.library-art-stage .tabletop-card.is-dragging{z-index:6}.tabletop-tools button[hidden]{display:none}

/* One physical card format, including placeholders and catalogue rewards. */
.library-art-stage .event-art-card.is-standard-card{aspect-ratio:100/143;max-height:none}.is-standard-card .event-art-front img{object-fit:contain}.is-standard-card .event-art-back-mask{mask-size:contain;-webkit-mask-size:contain;mask-position:center;-webkit-mask-position:center}

.library-tabletop .library-art-stage .event-art-card.is-dragging{z-index:6}
