.chd-profile-section { margin-block: 1.5rem; }
.chd-profile-notes {
    font-size: calc(1em + 2pt);
    color: inherit;
    overflow-wrap: anywhere;
}
.chd-profile-notes p { margin: 0 0 1em; color: inherit; }
.chd-profile-notes a { color: inherit; text-decoration: underline; }
@media (max-width: 767px) {
    .game-cover-content .game-cover-content__details {
        border-block-start: 6px double #7a4c4c;
        margin-block-start: 2rem;
        padding-block-start: 1.75rem;
    }
}
@media (min-width: 992px) {
    .chd-profile-notes { margin-inline-end: min(5%, 3.5rem); }
}
[data-profile-tab="videos"] { container: chd-profile-videos / inline-size; }
.chd-profile-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    max-width: 720px;
    margin-inline: auto;
}
.chd-profile-player {
    --hd-paper: #f0cda7;
    --hd-ink: #7a4c4c;
    aspect-ratio: 16 / 9;
    background: #3b2525;
    border: 1px solid var(--hd-ink);
}
.chd-profile-player .chd248-video,
.chd-profile-player .chd248-screen {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
.chd-profile-player [hidden] { display: none !important; }
.chd-profile-player:has(> .chd-yt-player) {
    aspect-ratio: auto;
    border: 0;
}
.chd-profile-player .chd-yt-player,
.chd-profile-player .chd-yt-player .chd248-screen { height: auto; }
.chd-profile-video-error {
    display: grid;
    place-content: center;
    gap: .55em;
    height: 100%;
    padding: 1em;
    text-align: center;
    color: var(--hd-paper);
}
.chd-profile-video-error p { margin: 0; }
.chd-profile-video-error a { color: inherit; text-decoration: underline; }
.chd-profile-play,
.chd-profile-player iframe,
.chd-profile-player video {
    display: block;
    position: relative;
    width: 100%;
    max-inline-size: 100%;
    height: 100%;
    border: 0;
    scale: none;
}
.chd-profile-play span {
    position: absolute;
    inset: 50% auto auto 50%;
    display: grid;
    place-items: center;
    width: 60px;
    height: 42px;
    border-radius: 9px;
    transform: translate(-50%, -50%);
    background: #7a4c4c;
    color: #f0cda7;
}
.chd-profile-play span::before,
.chd-profile-thumbnail-icon {
    content: "";
    border: 9px solid transparent;
    border-inline-start: 15px solid currentColor;
    border-inline-end: 0;
}
.chd-profile-thumbnails {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 2px 2px 5px;
}
.chd-profile-thumbnails button {
    position: relative;
    flex: 0 0 clamp(82px, 18%, 132px);
    aspect-ratio: 16 / 9;
    border: 2px solid transparent;
    padding: 0;
    background: #7a4c4c;
    color: #f0cda7;
}
.chd-profile-thumbnails button[aria-pressed="true"] {
    border-color: #f0cda7;
    outline: 2px solid #7a4c4c;
}
.chd-profile-thumbnail-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.chd-profile-thumbnails img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}
.chd-profile-thumbnails img.is-loaded { opacity: 1; }
@container chd-profile-videos (width >= 880px) {
    .chd-profile-gallery:has(.chd-profile-thumbnails) {
        --chd-video-choices-width: clamp(106px, 13cqi, 132px);
        grid-template-columns: minmax(0, 1fr) var(--chd-video-choices-width);
        gap: 16px;
        max-width: calc(736px + var(--chd-video-choices-width));
    }
    .chd-profile-thumbnails {
        flex-direction: column;
        min-height: 0;
        contain: size;
        overflow: auto;
    }
    .chd-profile-thumbnails button { flex: 0 0 auto; }
}
