/* Shared article-body presentation for public board views and EasyEditor. */
.board-view-content h1 {
    margin: 0.67em 0;
    padding: 0;
    font-size: 2em;
    font-weight: 700;
    line-height: 1.3;
}

.board-view-content h2 {
    margin: 0.83em 0;
    padding: 0;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.35;
}

.board-view-content h3 {
    margin: 1em 0;
    padding: 0;
    font-size: 1.17em;
    font-weight: 700;
    line-height: 1.4;
}

.board-view-content h4 {
    margin: 1.33em 0;
    padding: 0;
    font-size: 1em;
    font-weight: 700;
    line-height: 1.45;
}

.board-view-content ul {
    margin: 1em 0;
    padding-left: 40px;
    list-style: disc outside;
}

.board-view-content ol {
    margin: 1em 0;
    padding-left: 40px;
    list-style: decimal outside;
}

.board-view-content li {
    display: list-item;
}

.board-view-content ul ul {
    list-style-type: circle;
}

.board-view-content ul ul ul {
    list-style-type: square;
}

.board-view-content .boardgame-game-db__basic-info {
    width: 100%;
    margin: 0 0 28px;
    padding: 22px 20px;
    box-sizing: border-box;
    border-radius: 0;
    background: #f7f8f4;
}

.board-view-content .boardgame-game-db__metrics {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 4px 2px;
}

.board-view-content .boardgame-game-db__metric {
    min-width: 0;
    text-align: center;
}

.board-view-content .boardgame-game-db__metric h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 0;
    color: #596273;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

.board-view-content .boardgame-game-db__metric h3::before {
    content: '';
    display: block;
    width: 56px;
    height: 48px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 38px 38px;
    box-sizing: border-box;
}

.board-view-content .boardgame-game-db__metric--players h3::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='32' cy='18' r='6'/%3E%3Ccircle cx='16' cy='23' r='5'/%3E%3Ccircle cx='48' cy='23' r='5'/%3E%3Cpath d='M21 48v-5c0-7 5-12 11-12s11 5 11 12v5M6 48v-4c0-6 4-10 10-10 3 0 5 1 7 3M58 48v-4c0-6-4-10-10-10-3 0-5 1-7 3'/%3E%3C/svg%3E");
}

.board-view-content .boardgame-game-db__metric--age h3::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 9l18 8v13c0 12-7 20-18 26-11-6-18-14-18-26V17z'/%3E%3Cpath d='M24 32l5 5 11-12M46 42v9M41.5 46.5h9'/%3E%3C/svg%3E");
}

.board-view-content .boardgame-game-db__metric--time h3::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 10h26M19 54h26M22 11c0 10 4 15 10 21-6 6-10 11-10 21M42 11c0 10-4 15-10 21 6 6 10 11 10 21M25 17h14M26 47h12'/%3E%3C/svg%3E");
}

.board-view-content .boardgame-game-db__metric--genre h3::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='12' y='12' width='40' height='40' rx='8'/%3E%3Ccircle cx='23' cy='23' r='2' fill='%231f2937'/%3E%3Ccircle cx='41' cy='23' r='2' fill='%231f2937'/%3E%3Ccircle cx='32' cy='32' r='2' fill='%231f2937'/%3E%3Ccircle cx='23' cy='41' r='2' fill='%231f2937'/%3E%3Ccircle cx='41' cy='41' r='2' fill='%231f2937'/%3E%3C/svg%3E");
}

.board-view-content .boardgame-game-db__metric--year h3::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='10' y='15' width='44' height='39' rx='5'/%3E%3Cpath d='M20 10v10M44 10v10M10 27h44M21 36h6M37 36h6M21 45h6M37 45h6'/%3E%3C/svg%3E");
}

.board-view-content .boardgame-game-db__metric--complexity h3::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 52V36h10v16M27 52V25h10v27M42 52V12h10v40M8 52h48'/%3E%3C/svg%3E");
}

.board-view-content .boardgame-game-db__metric p {
    margin: 7px 0 0;
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.board-view-content .boardgame-game-db__metric p small {
    display: block;
    margin-top: 4px;
    color: #657080;
    font-size: 12px;
    font-weight: 600;
}

.board-view-content .boardgame-game-db__facts {
    display: grid;
    grid-template-columns: minmax(100px, .35fr) minmax(0, 1fr);
    margin: 0;
    padding: 14px;
    border-radius: 10px;
    background: #f7f8f4;
}

.board-view-content .boardgame-game-db__facts dt,
.board-view-content .boardgame-game-db__facts dd {
    margin: 0;
    padding: 9px 0;
    border-bottom: 1px solid #f0f0f0;
}

.board-view-content .boardgame-game-db__facts dt {
    color: #777;
}

.board-view-content #game-story,
.board-view-content #game-gameplay-overview {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid #eee;
}

.board-view-content #game-traits,
.board-view-content #game-offers,
.board-view-content #game-sources {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid #eee;
}

.board-view-content #game-traits .boardgame-game-db__trait-pro,
.board-view-content #game-traits .boardgame-game-db__trait-con {
    margin-top: 18px;
}

.board-view-content #game-traits .boardgame-game-db__trait-pro strong,
.board-view-content #game-traits .boardgame-game-db__trait-con strong {
    display: inline-block;
    margin-bottom: 5px;
    color: #1f2937;
}

.board-view-content .boardgame-game-db__offers {
    display: grid;
    gap: 10px;
}

.board-view-content .boardgame-game-db__offers article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 10px;
    background: #f7f8f4;
}

.board-view-content .boardgame-game-db__offers article p {
    margin: 4px 0 0;
}

.board-view-content .boardgame-game-db__offers article a {
    padding: 8px 12px;
    color: #fff;
    text-decoration: none;
    background: #6f7f55;
    border-radius: 7px;
}

.board-view-content .boardgame-game-db__sources {
    padding-left: 20px;
}

.board-view-content .boardgame-game-db__sources li {
    margin-bottom: 8px;
}

.board-view-content .boardgame-game-db__sources small {
    margin-left: 10px;
    color: #777;
}

@media (max-width: 640px) {
    .board-view-content .boardgame-game-db__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 22px;
    }

    .board-view-content .boardgame-game-db__metric h3::before {
        width: 52px;
        height: 44px;
        background-size: 36px 36px;
    }

    .board-view-content .boardgame-game-db__offers article {
        grid-template-columns: 1fr;
    }
}

.board-view-content .board-code-block {
    margin: 14px 0;
    padding: 14px 16px;
    max-width: 100%;
    color: #e5e7eb;
    background: #05070a;
    border: 1px solid #1f2937;
    border-radius: 6px;
    overflow-x: hidden;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
    font: 13px/1.55 Consolas, Monaco, "Courier New", monospace;
    box-sizing: border-box;
}

.board-view-content .board-code-block code {
    display: block;
    color: inherit;
    background: transparent;
    font: inherit;
    white-space: inherit;
    word-break: inherit;
    overflow-wrap: inherit;
}
