.scratch-ticket-page-stage {
    display: grid;
    place-items: center;
    padding: 24px;
}

/* Up close in the inspector, a ticket is as wide as a card is there: the frame gives it no width of its own. */
.card-page-inspected .card-page-preview .inspector-object.is-scratch-ticket .scratch-ticket {
    width: min(var(--object), 460px);
}


/* Torn up: the two halves of the ticket, laid over where it stood, falling away while it is hidden. */
.scratch-ticket-half {
    position: absolute;
    inset: 0;
    visibility: visible;
    pointer-events: none;
}

.card-page-actions .scratch-ticket-page-tear {
    background: transparent;
    box-shadow: none;
}

.scratch-ticket-page-state {
    margin: 0 0 12px;
    font-size: .85rem;
    line-height: 1.5;
}

.scratch-ticket-page-all {
    display: inline-block;
    margin-top: 18px;
    font-size: .78rem;
    font-weight: 800;
}

.scratch-tickets-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px max(16px, 3vw) 100px;
}

.scratch-tickets-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 18px;
}

.scratch-tickets-item {
    display: grid;
    gap: 4px;
    color: inherit;
    text-decoration: none;
}

.scratch-tickets-item .card-tilt-stage {
    padding: 8px 10px 14px 4px;
}

.scratch-tickets-item .scratch-ticket {
    border-width: 2px;
    box-shadow: 4px 4px 0 var(--ticket-ink);
}

.scratch-tickets-item strong {
    font-size: .85rem;
}

.scratch-tickets-item small {
    color: #74697b;
    font-size: .72rem;
}

.scratch-tickets-empty {
    color: #74697b;
}

