/* THRUST BANK — faces and plastic (js/bank-art.js, 2026-09-30) */

.photo-box.has-photo,
.queue-photo-box.has-photo {
    padding: 0;
    overflow: hidden;
    font-size: 0;
}
.photo-box.has-photo img,
.queue-photo-box.has-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
    display: block;
    filter: sepia(0.12) contrast(1.03);
}

/* the teller window: the face behind the bars */
.window-top.has-face { overflow: hidden; }
.window-top.has-face .window-face {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 14%;
    filter: sepia(0.25) contrast(1.05) brightness(0.92);
}
.window-top.has-face .window-figure { display: none; }
.window-top.has-face .window-bars { z-index: 2; }
.window-top.has-face .window-bars .bar { opacity: 0.85; }
.window-top.has-face .window-num { z-index: 3; }
.teller-window.closed .window-top.has-face .window-face { filter: grayscale(1) brightness(0.6); }

/* the painted card carries the brand, tier, chip and hologram */
.card-visual.has-art {
    height: auto;
    aspect-ratio: 1586 / 1000;
    /* credit-card-style.css loads later and re-declares each tier with the
       `background` shorthand, which resets size/position — hold them */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    container-type: inline-size;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
/* …and it prints its own "THRUST BANK" as ::after — the art has the brand */
.card-visual.has-art::after { content: none !important; display: none !important; }
/* credit-card-style.css shrinks every .card-visual to a 70px chip (its
   own mini list); in the bank's card desk and the Day 4 choice the
   plastic is the point — full size there */
#bank-modal .card-item .card-visual.has-art,
#cardSelectOverlay .card-item .card-visual.has-art {
    display: block;
    width: 100%;
    max-width: 220px;
    margin: 0 auto 12px;
}
#cardSelectOverlay .card-item .card-visual.has-art { max-width: 180px; }
/* a 70px chip keeps the art but not the embossing */
@container (max-width: 120px) { .card-emboss { display: none; } }

.card-visual.has-art .bank-logo,
.card-visual.has-art .card-chip,
.card-visual.has-art .tier-name {
    display: none;
}

/* what the game embosses: the number, VALID THRU, the name */
.card-emboss {
    position: absolute;
    inset: 0;
    pointer-events: none;
    font-family: 'OCR A Std', 'OCR A Extended', 'Courier New', Courier, monospace;
    font-weight: bold;
    text-transform: uppercase;
    --ce-ink: #e9e6de;
    --ce-hi: rgba(255, 255, 255, 0.55);
    --ce-lo: rgba(0, 0, 0, 0.55);
    color: var(--ce-ink);
    text-shadow: 0 -1px 0 var(--ce-hi), 0 1px 1px var(--ce-lo);
}
.card-visual.basic .card-emboss,
.card-visual.silver .card-emboss,
.card-visual.platinum .card-emboss { --ce-ink: #4a4a4a; --ce-hi: rgba(255, 255, 255, 0.8); --ce-lo: rgba(0, 0, 0, 0.35); }
.card-visual.gold .card-emboss { --ce-ink: #6b5212; --ce-hi: rgba(255, 240, 190, 0.8); --ce-lo: rgba(60, 40, 0, 0.45); }
.card-visual.black .card-emboss { --ce-ink: #d8c07a; --ce-hi: rgba(255, 235, 170, 0.35); --ce-lo: rgba(0, 0, 0, 0.8); }

.card-emboss .ce-num {
    position: absolute;
    left: 8%;
    top: 58%;
    font-size: 6.2cqw;
    letter-spacing: 0.08em;
    white-space: nowrap;
}
.card-emboss .ce-valid {
    position: absolute;
    left: 38%;
    top: 71%;
    display: flex;
    align-items: center;
    gap: 0.35em;
    font-size: 4.2cqw;
}
.card-emboss .ce-valid small {
    font-size: 0.5em;
    line-height: 1;
    letter-spacing: 0.05em;
}
.card-emboss .ce-name {
    position: absolute;
    left: 8%;
    bottom: 8%;
    font-size: 4.4cqw;
    letter-spacing: 0.08em;
    white-space: nowrap;
}
