.tile {
    color: #222;
    background: #ccc;
}

.tile a, .tile button {
    font: bold 12pt Verdana, sans-serif;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    color: inherit;
    border: 0;
    background: inherit;
}
.scope-tiles {
    display: grid;
    grid-template-columns: repeat(var(--scope-tile-columns, 4), minmax(0, 231px));
    justify-content: center;
    align-items: start;
    gap: 6px;
    padding: 3px;
}

/* Its own line, as wide as the tiles beside it - which is what colspan=4 gave:
   4 tiles plus the spacing between them, not the width of the page. */
.scope-tiles__heading {
    box-sizing: border-box;
    grid-column: 1 / -1;
    padding: 3px;
    font: 1.8em Verdana, sans-serif;
    font-weight: bold;
    text-align: center;
}

.scope-tile {
    box-sizing: border-box;
    padding: 3px;
    text-align: center;
}

.scope-tile a {
    font: 1.0em Verdana, sans-serif;
    font-weight: bold;
}

/* The tile keeps its 225px on a normal screen and shrinks rather than pushing
   the page wider when there is not room for one more. */
.scope-tile img {
    max-width: 100%;
    height: auto;
}
