[data-site-promotion][hidden], [data-promotion-container][hidden] { display: none !important; }
#header dd[role="button"] { cursor: pointer; }
#header dd[role="button"]:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.site-promotion { position: relative; clear: both; margin: 35px 0 0; width: 100%; }
.site-promotion__link { display: block; box-sizing: border-box; width: 100%; min-height: 40px; padding: 10px 8px; border: 0; border-bottom: 1px solid #cccc66; border-radius: 0; background: #ffff99; color: #ad0b0b; font-size: 14px; font-weight: 400; line-height: 20px; text-align: center; overflow-wrap: anywhere; text-decoration: none; box-shadow: 0 1px 5px rgba(0, 0, 0, .05); cursor: pointer; touch-action: manipulation; }
.site-promotion__link:hover { color: #850707; background: #fff58a; }
.site-promotion__link:focus-visible { outline: 3px solid #3378df; outline-offset: 3px; }
.site-promotion:not([hidden]) + #main { margin-top: 0; }
.article-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    clear: both;
    margin: 0;
    padding: 8px 4px;
    list-style: none;
}
.article-pagination:empty { display: none; }
.article-pagination li { margin: 0; }
.article-pagination a,
.article-pagination span,
.article-pagination select {
    box-sizing: border-box;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font: inherit;
    white-space: nowrap;
}
.article-pagination a,
.article-pagination span { display: inline-flex; align-items: center; }
.article-pagination select { min-width: 92px; border-color: #f68946; }
.article-pagination [aria-disabled="true"] { color: #666; background: #f4f4f4; }
ul.pic li img.category-cover { width: min(100%, 150px); height: auto; aspect-ratio: 150 / 185; object-fit: cover; }
ul.pic li img.category-cover[src=""] { display: none; }

#imgString img:not([width]):not([height]):not([style*="width"]):not([style*="height"]) {
    --image-placeholder-width: min(98%, 560px);
    --image-placeholder-ratio: 3 / 4;
}

:where(#main .pic, #imgString) img:is(
    [data-web-src], [data-web-srcset], [data-web-data-original],
    [data-web-data-src], [data-web-data-lazy-src], [data-web-data-srcset],
    [data-image-pending]
) {
    /* A transparent replacement keeps the browser's broken-image icon out of view. */
    content: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
    min-width: var(--image-placeholder-width, 0);
    aspect-ratio: var(--image-placeholder-ratio, auto);
    background: linear-gradient(120deg, #f0ede9 30%, #f8f6f3 50%, #f0ede9 70%);
    border-radius: 6px;
}
