/* The source art already contains its title and frame. */
.phase-one .printed-card .card-art { border: 0; border-radius: 0; background: none; }
/* Per-image exterior masks are shared by all card views in card-art-display.css. */
.phase-one .card-library .printed-card { grid-template-rows: auto auto auto auto 1fr auto; }
.phase-one .card-library .printed-card .card-art { height: auto; aspect-ratio: 2 / 3; }
.phase-one .card-library .printed-card .card-art img { object-fit: contain; }
.phase-one .card-library .printed-card .card-name { display: none; }
.phase-one .battle-layout :is(.hand-row, .hand-drag-layer) .printed-card { border: 0; background: none; box-shadow: none; overflow: visible; }
.phase-one .battle-layout #playerHand .printed-card,
.phase-one .battle-layout #playerHand .printed-card .card-art { background: none; }
.phase-one .battle-layout :is(.hand-row, .hand-drag-layer) .printed-card:is(:hover, :focus-visible, .ready) { box-shadow: none; }
.phase-one .battle-layout :is(.hand-row, .hand-drag-layer) .printed-card:focus-visible { outline: 2px solid #b5dfda; outline-offset: 2px; }
.phase-one .battle-layout :is(.hand-row, .hand-drag-layer) .printed-card .card-art { inset: 0; width: 100%; height: 100%; }
.phase-one .battle-layout :is(.hand-row, .hand-drag-layer) .printed-card .card-art img { object-fit: contain; object-position: center; }
.phase-one .battle-layout :is(.hand-row, .hand-drag-layer) .printed-card .card-art::after { background: none; }
.phase-one .battle-layout :is(.hand-row, .hand-drag-layer) .printed-card .card-name { display: none; }
.phase-one .battle-layout :is(.hand-row, .hand-drag-layer) .printed-card .card-top { top: 0; left: 0; }
.phase-one .battle-layout :is(.hand-row, .hand-drag-layer) .printed-card .keywords { bottom: 32px; }
.phase-one .battle-layout :is(.hand-row, .hand-drag-layer) .printed-card .keywords span { background: #10262eeb; color: #f5ead1; }
.phase-one .battle-layout .printed-card .stats span { background: #10232ef5; border: 1px solid #adc7cc; }
.phase-one .battle-layout .printed-card .stats .hp { background: #562832f5; color: #fff3dc; }
.phase-one .battle-layout .printed-card .stats .atk { color: #fff3dc; }
/* Keep the complete printed frame on the battlefield, including summoned guards. */
.phase-one .battle-layout .board-row .board-card.framed-card { border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.phase-one .battle-layout .board-card.framed-card .card-art { inset: 0; width: 100%; height: 100%; background: none; border-radius: 0; }
.phase-one .battle-layout .board-card.framed-card .card-art img { object-fit: contain; object-position: center; transform: none; }
.phase-one .battle-layout .board-card.framed-card .card-art::after { background: none; }
.phase-one .battle-layout .board-card.printed-card .card-name { display: none; }
.phase-one .battle-layout .board-card.framed-card:not(.printed-card) .card-name {
  top: 7%; bottom: auto; left: 8%; right: 8%; padding: 2px 0;
  background: #4b203c; font-size: 12px; line-height: 1.25; white-space: nowrap;
}
.phase-one .battle-layout .board-card.framed-card .keywords { top: auto; bottom: 36px; }
.phase-one .battle-layout .board-card.framed-card .keywords span { background: #10262eeb; color: #f5ead1; }
.phase-one #cardGallery .gallery-card.printed-card { border: 0; background: none; box-shadow: none; border-radius: 0; }
.phase-one #cardGallery .gallery-card.printed-card::after { content: none; }
.phase-one #cardGallery .printed-card .gallery-card-title { top: 4px; bottom: auto; left: 4px; right: auto; padding: 0; background: none; border: 0; }
.phase-one #cardGallery .printed-card .gallery-card-title strong { display: none; }
.phase-one #cardGallery .printed-card .gallery-card-bottom { bottom: 5px; left: 8px; right: 8px; padding: 6px 8px; background: #13212fed; border-radius: 3px; }
.phase-one .card-inspector.printed-card .inspect-front { border: 0; border-radius: 0; background: none; box-shadow: none; display: flex; justify-content: center; }
.phase-one .card-inspector.printed-card { background: transparent; }
.phase-one .card-inspector.printed-card .inspect-art { width: auto; max-width: 100%; height: 100%; aspect-ratio: 2 / 3; }
