.igd-game-page { color: #10112e; }
.igd-game-page .igd-game-breadcrumb {
    display: flex; align-items: baseline; gap: 12px; margin: 0 0 30px;
    font-size: 1.12rem; line-height: 1.4; flex-wrap: wrap;
}
.igd-game-page .igd-game-breadcrumb a { color: #243bf5; text-decoration: none; font-weight: 500; }
.igd-game-breadcrumb > [aria-hidden] { color: #8793d9; font-size: 1.5em; line-height: .8; }
.igd-game-page > .wp-block-post-title { margin: 0 0 16px; }
.igd-game-page .entry-content { margin-top: 0; }
.igd-game-page .igd-game-panel { margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; overflow: visible; color: inherit; }
.igd-game-page .igd-game-hero {
    display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr);
    gap: 24px; margin: 0 0 30px; align-items: start;
}
.igd-game-page .igd-game-hero-image {
    display: block; width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover;
    background: #e5eafa; border-radius: 12px;
}
.igd-game-page .igd-game-summary { padding: 6px 0 0; border: 0; border-radius: 0; min-width: 0; background: transparent; }
.igd-game-page .igd-game-desktop-title {
    font-size: clamp(2rem, 4.8vw, 3.8rem); font-weight: 750; letter-spacing: -.045em;
    line-height: 1.04; margin: 0 0 28px; overflow-wrap: anywhere;
}
.igd-game-page .igd-game-highlight-title { font-size: clamp(1.1rem, 2.15vw, 1.65rem); font-weight: 700; letter-spacing: -.025em; margin: 0 0 15px; line-height: 1.2; }
.igd-game-page .igd-game-summary > .igd-pill-row { display: grid; gap: 12px; margin: 0; }
.igd-game-page .igd-game-summary > .igd-pill-row .igd-pill {
    background: transparent; border: 0; border-radius: 0; padding: 0; min-height: 30px;
    display: flex; align-items: center; gap: 13px; font-size: 1.25rem; color: #10112e; font-weight: 500;
    line-height: 1.25; text-decoration: none;
}
.igd-game-page .igd-game-summary > .igd-pill-row .igd-pill::before {
    content: ""; display: inline-block; width: 30px; height: 30px; flex: none; background: #9874ff;
    mask: url("discovery-icons.png") var(--game-icon-x, 5.6%) var(--game-icon-y, 64.5%) / 522% 522% no-repeat;
}
.igd-game-page .igd-game-summary > .igd-pill-row .igd-pill[href*="/game-mood/"] { --game-icon-x: 33.6%; --game-icon-y: 6.5%; }
.igd-game-page .igd-game-summary > .igd-pill-row .igd-pill[href*="mouse"] { --game-icon-x: 63.5%; }
.igd-game-page .igd-game-summary > .igd-pill-row .igd-pill[href*="single-player"] { --game-icon-x: 33.6%; }
.igd-game-page .igd-game-summary > .igd-pill-row .igd-pill:nth-child(1)::before { background: #ff6c80; }
.igd-game-page .igd-game-actions { display: grid; gap: 9px; margin: 24px 0 20px; }
.igd-game-page .igd-game-actions p { margin: 0; min-width: 0; }
.igd-game-page .igd-game-actions .igd-button {
    display: flex; justify-content: center; align-items: center; gap: 12px; width: 100%; box-sizing: border-box;
    min-height: 56px; padding: 10px 14px; border: 0; border-radius: 10px;
    background: #243bf5; color: white; font-size: 1.3rem; font-weight: 700; line-height: 1.2; text-decoration: none;
}
.igd-game-page .igd-game-actions .igd-button::before {
    content: ""; width: 32px; height: 32px; flex: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='16' fill='white'/%3E%3Cg fill='none' stroke='%23243bf5' stroke-width='2'%3E%3Ccircle cx='21' cy='11' r='5'/%3E%3Ccircle cx='21' cy='11' r='2.5'/%3E%3Ccircle cx='10' cy='22' r='4'/%3E%3Cpath d='m13 24 10-9M7 19l-6-3m10 10-9-5m9-3 5-7'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.igd-game-page .igd-game-actions .igd-button::after { content: "↗"; margin-left: auto; font-size: 1.5rem; font-weight: 500; }
.igd-game-page .igd-game-actions .igd-similar-games a {
    display: flex; align-items: center; gap: 10px; min-height: 44px;
    background: transparent; padding: 0; border: 0; color: #243bf5 !important; font-size: 1.03rem;
    font-weight: 700; line-height: 1.3; text-decoration: none; border-radius: 0; box-shadow: none;
}
.igd-game-page .igd-game-actions .igd-similar-games a::before {
    content: ""; display: inline-block; width: 25px; height: 25px; flex: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23243bf5' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7.5'/%3E%3Cpath d='m16 16 6 6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.igd-game-page .igd-game-traits { padding: 12px 0 0; margin: 0; border: 0; border-top: 1px solid #cbd2eb; border-radius: 0; }
.igd-game-page .igd-game-traits summary {
    display: flex; gap: 14px; align-items: center; font-size: 1.08rem; min-height: 44px;
    padding: 0; cursor: pointer; color: #243bf5; font-weight: 700; list-style: none;
}
.igd-game-traits summary::-webkit-details-marker { display: none; }
.igd-game-traits summary::before { content: ""; width: 10px; height: 10px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); margin: -5px 3px 0; flex: none; }
.igd-game-traits[open] summary::before { transform: rotate(225deg); margin-top: 6px; }
.igd-game-filter-group { border: 1px solid #cbd2eb; border-radius: 8px; overflow: hidden; margin: 10px 0; }
.igd-game-page .igd-game-filter-group h3 { font-size: .95rem; line-height: 1.4; margin: 0; padding: 3px 14px; background: #d6ceff; font-weight: 700; }
.igd-game-page .igd-game-filter-group .igd-pill-row { display: flex; flex-wrap: wrap; gap: 0 14px; padding: 4px 14px; margin: 0; }
.igd-game-page .igd-game-filter-group .igd-pill { background: transparent; border: 0; border-radius: 0; padding: 6px 0; color: #15173a; font-size: 1rem; text-decoration: none; line-height: 1.35; }
.igd-game-page a:hover { text-decoration: underline; }
.igd-game-page a:focus-visible, .igd-game-page summary:focus-visible { outline: 3px solid #9874ff; outline-offset: 4px; }
.igd-game-page .igd-game-gallery { border-top: 1px solid #cbd2eb; padding-top: 20px; margin: 0 0 30px; }
.igd-game-page .igd-gallery-title { font-size: 2rem; font-weight: 750; margin: 0 0 20px; line-height: 1.1; letter-spacing: -.035em; }
.igd-game-page .igd-screenshot-row {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 4);
    gap: 12px; margin: 0; padding: 3px 3px 8px; overflow-x: auto; scroll-snap-type: x mandatory;
}
.igd-game-page .igd-screenshot-row a { display: block; border-radius: 10px; overflow: hidden; scroll-snap-align: start; }
.igd-game-page .igd-screenshot-row img { display: block; width: 100%; height: auto; aspect-ratio: 1.75; object-fit: cover; border-radius: 10px; }
.igd-game-page .igd-screenshot-row a[aria-current="true"] { outline: 3px solid #324cf5; outline-offset: 0; }
.igd-game-page .igd-note { border-top: 1px solid #cbd2eb; padding: 24px 0; }
.igd-game-page .igd-note h3 { font-size: 2rem; font-weight: 750; letter-spacing: -.035em; margin: 0 0 18px; line-height: 1.15; }
.igd-game-page .igd-note p { border-left: 5px solid #b28aff; padding-left: 24px; margin: 0; font-size: 1.18rem; color: #10112e; line-height: 1.45; }
.igd-game-page .igd-game-extra-details { margin: 18px 0; border-top: 1px solid #cbd2eb; padding: 12px 0; }
.igd-game-page .igd-game-extra-details summary { cursor: pointer; min-height: 44px; align-content: center; font-weight: 700; }
.igd-game-page .igd-game-extra-details dl { margin-top: 14px; }
.igd-game-original-content { margin-top: 24px; }
@media (min-width: 731px) {
    .igd-game-page > .wp-block-post-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .igd-game-page .igd-game-hero:has(.igd-game-hero-image) { grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); }
}
@media (max-width: 730px) {
    .igd-game-page .igd-game-desktop-title { display: none; }
    .igd-game-page .igd-game-breadcrumb { margin-bottom: 12px; font-size: 1rem; gap: 8px; }
    .igd-game-page > .wp-block-post-title { font-size: 2.25rem !important; font-weight: 750; line-height: 1.06; }
    .igd-game-page .igd-game-hero { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
    .igd-game-page .igd-game-hero-image { aspect-ratio: 1.8; border-radius: 9px; }
    .igd-game-page .igd-game-summary { padding: 0; }
    .igd-game-page .igd-game-highlight-title { font-size: 1.4rem; margin-bottom: 12px; }
    .igd-game-page .igd-game-summary > .igd-pill-row { gap: 9px; }
    .igd-game-page .igd-game-summary > .igd-pill-row .igd-pill { font-size: 1.12rem; min-height: 29px; }
    .igd-game-page .igd-game-actions { margin: 18px 0 12px; gap: 4px; }
    .igd-game-page .igd-game-actions .igd-button { min-height: 52px; font-size: 1.18rem; }
    .igd-game-page .igd-game-actions .igd-similar-games a { font-size: 1rem; }
    .igd-game-page .igd-game-traits { padding-top: 10px; }
    .igd-game-page .igd-game-traits summary { font-size: 1.08rem; }
    .igd-game-page .igd-game-gallery { padding-top: 18px; margin-bottom: 20px; }
    .igd-game-page .igd-gallery-title { font-size: 1.55rem; margin-bottom: 14px; }
    .igd-game-page .igd-screenshot-row { grid-auto-columns: 70%; gap: 10px; }
    .igd-game-page .igd-note { padding: 20px 0; }
    .igd-game-page .igd-note h3 { font-size: 1.65rem; margin-bottom: 14px; }
    .igd-game-page .igd-note p { font-size: 1rem; padding-left: 18px; }
}

.igd-game-mobile-menu { display: none; }
@media (max-width: 730px) {
    body.single-game .wp-site-blocks > header > .igd-site-header-inner {
        display: grid; grid-template-columns: minmax(0, 1fr) 36px 36px; gap: 8px; min-height: 54px;
    }
    body.single-game .igd-site-header-inner > .wp-block-navigation { display: none; }
    body.single-game .igd-site-header-inner .wp-block-site-title a { font-size: clamp(1.05rem, 5vw, 1.4rem); white-space: nowrap; }
    body.single-game .igd-header-search { grid-column: 2; grid-row: 1; width: 36px; }
    .igd-game-mobile-menu { display: block; position: relative; grid-column: 3; grid-row: 1; }
    .igd-game-mobile-menu summary { display: grid; place-items: center; width: 36px; height: 44px; cursor: pointer; list-style: none; }
    .igd-game-mobile-menu summary::-webkit-details-marker { display: none; }
    .igd-game-mobile-menu summary span { width: 22px; height: 2px; background: #10112e; box-shadow: 0 -7px #10112e, 0 7px #10112e; }
    .igd-game-mobile-menu nav { position: absolute; right: 0; top: 46px; width: 180px; padding: 10px; background: #f2f5ff; border: 1px solid #cbd2eb; border-radius: 10px; z-index: 10; box-shadow: 0 8px 20px #15173a15; }
    .igd-game-mobile-menu nav a { display: block; padding: 10px; color: #10112e; font-size: 1rem; text-decoration: none; }
}

/* The board uses simple outline glyphs; keep the same visual weight at small sizes. */
.igd-game-page .igd-game-summary > .igd-pill-row .igd-pill::before {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 29V16M16 21C4 22 3 16 3 7c10 0 14 4 13 14Zm0-6C15 5 21 3 29 3c0 9-4 14-13 12Z' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.igd-game-page .igd-game-summary > .igd-pill-row .igd-pill[href*="mouse"]::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='6' y='2' width='20' height='28' rx='10'/%3E%3Cpath d='M16 3v9'/%3E%3C/g%3E%3C/svg%3E");
}
@media (max-width: 730px) {
    .igd-game-page .igd-game-panel { display: flex; flex-direction: column; }
    .igd-game-page .igd-game-panel > * { order: 4; }
    .igd-game-page .igd-game-hero { order: 0; }
    .igd-game-page .igd-note { order: 1; }
    .igd-game-page .igd-game-gallery { order: 2; margin-top: 10px; }
    .igd-game-page .igd-game-extra-details { order: 3; }
    .igd-game-page .igd-system-requirements, .igd-game-page .igd-review-insights { order: 4; }
}

.igd-game-page .igd-game-hero:not(:has(.igd-game-hero-image)) { grid-template-columns: 1fr; }
.igd-game-page .igd-game-summary > .igd-pill-row .igd-pill:not([href*="/game-mood/"]):not([href*="mouse"])::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3c0 8-5 13-13 13 8 0 13 5 13 13 0-8 5-13 13-13C21 16 16 11 16 3Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}
