/* Lists and material detail views only; shared palette comes from appearance.css. */
.or-editorial .or-inner-page { padding: 24px 0 32px; gap: 28px; min-width: 0; color: var(--ui-text); }
.or-editorial .or-inner-page * { min-width: 0; letter-spacing: 0; }
.or-editorial .or-inner-page :is(a, button):focus-visible { outline: 2px solid var(--ui-accent); outline-offset: 3px; }
.or-editorial .or-inner-page :is(h1, h2, h3, h4) { color: var(--ui-text); font-weight: 700; overflow-wrap: anywhere; }
.or-editorial .or-inner-page h1 { font-size: 30px; line-height: 1.3; margin: 0; }
.or-editorial .or-inner-page h2 { font-size: 22px; line-height: 1.4; }
.or-editorial .or-inner-page .or-gamepage-crumbs { flex-wrap: wrap; gap: 8px; color: var(--ui-muted); font-size: 12px; line-height: 1.6; }
.or-editorial .or-inner-page .or-gamepage-crumbs b { max-width: 100%; white-space: normal; overflow-wrap: anywhere; color: var(--ui-text); }
.or-editorial .or-inner-page .or-gamepage-crumbs a { color: inherit; }
.or-editorial .or-inner-page .or-gamepage-crumbs a:hover { color: var(--ui-accent); }
.or-editorial .or-inner-page :is(.or-gamepage-hero, .or-wiki-hero, .or-scripts-hero, .or-updates-hero, .or-script-detail-hero, .or-update-detail-hero) { position: relative; isolation: isolate; min-height: 0; border: 0; border-radius: 0; background: #111315; box-shadow: none; }
.or-editorial .or-inner-page :is(.or-gamepage-hero, .or-wiki-hero, .or-scripts-hero, .or-updates-hero, .or-script-detail-hero, .or-update-detail-hero)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #111315f2, #111315cc 65%, #11131580); }
.or-editorial .or-inner-page :is(.or-gamepage-hero, .or-wiki-hero, .or-scripts-hero, .or-updates-hero, .or-script-detail-hero, .or-update-detail-hero)::after { content: none; }
.or-editorial .or-inner-page :is(.or-gamepage-hero__bg, [class$="-hero__bg"]) { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.or-editorial .or-inner-page :is(.or-gamepage-hero__inner, [class$="-hero__inner"]) { position: relative; z-index: 2; min-height: 0; padding: 24px; display: grid; gap: 22px; }
.or-editorial .or-inner-page :is(.or-gamepage-hero__grid, [class$="-hero__content"]) { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 18px; margin: 0; }
.or-editorial .or-inner-page :is(.or-gamepage-icon, .or-wiki-game-icon, .or-scripts-game-icon, .or-updates-game-icon, .or-script-detail-game-icon, .or-update-detail-game-icon) { width: 64px; height: 64px; aspect-ratio: 1; object-fit: cover; border: 1px solid #ffffff30; border-radius: 6px; box-shadow: none; }
.or-editorial .or-inner-page :is(.or-gamepage-identity, .or-wiki-hero__text, .or-scripts-hero__text, .or-updates-hero__text, .or-script-detail-heading, .or-update-detail-heading) { display: grid; gap: 10px; padding: 0; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
.or-editorial .or-inner-page :is([class$="-hero__inner"] h1, [class$="-hero__inner"] h1 a) { color: #f5f7fa; font-size: 30px; line-height: 1.3; text-shadow: none; }
.or-editorial .or-inner-page [class$="-hero__inner"] :is(p, .or-gamepage-crumbs, .or-gamepage-meta, .or-gamepage-status, [class$="-meta"], [class$="-stats"]) { color: #c4cbd3; font-size: 12px; line-height: 1.6; margin: 0; text-shadow: none; }
.or-editorial .or-inner-page [class$="-hero__inner"] .or-gamepage-crumbs b { color: #fff; }
.or-editorial .or-inner-page :is(.or-videos-hero-card, .or-codes-kicker, .or-videos-kicker, .or-script-detail-badge, .or-update-detail-badge) { display: none; }
.or-editorial .or-inner-page :is(.or-gamepage-actions, .or-wiki-hero__meta, .or-scripts-hero__meta, .or-updates-hero__meta, .or-script-detail-meta, .or-update-detail-meta) { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; }
.or-editorial .or-inner-page [class$="-hero__inner"] :is(strong, [class$="-online"]) { color: #79deb0; }
.or-editorial .or-inner-page [class$="-hero__inner"] i { box-shadow: none; }
.or-editorial .or-inner-page :is(.or-gamepage-btn, .or-wiki-back, .or-scripts-back, .or-updates-back, .or-script-detail-back, .or-update-detail-back) { justify-self: start; display: inline-flex; align-items: center; min-height: 40px; width: auto; padding: 0; border: 0; border-radius: 0; background: none; color: #c4dcff; font-size: 12px; font-weight: 600; box-shadow: none; }
.or-editorial .or-inner-page :is(.or-gamepage-btn, .or-wiki-back, .or-scripts-back, .or-updates-back, .or-script-detail-back, .or-update-detail-back):hover { background: none; color: var(--ui-text); transform: none; box-shadow: none; text-decoration: none; }
.or-editorial .or-inner-page :is(.or-gamepage-card, .or-script-detail-panel, .or-video-info-panel, .or-video-sidebar-panel) { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.or-editorial .or-inner-page > .or-gamepage-card + .or-gamepage-card { padding-top: 24px; border-top: 1px solid var(--ui-line); }
.or-editorial .or-inner-page .or-gamepage-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 24px; margin-bottom: 20px; }
.or-editorial .or-inner-page .or-gamepage-head h1 { flex-basis: 100%; }
.or-editorial .or-inner-page .or-gamepage-head p { font-size: 13px; line-height: 1.6; color: var(--ui-muted); margin: 6px 0 0; }
.or-editorial .or-inner-page .or-gamepage-head > span { background: var(--ui-raised); border: 0; border-radius: 4px; color: var(--ui-muted); min-height: 28px; padding: 4px 10px; font-size: 12px; }
.or-editorial .or-inner-page :is(.or-gamepage-head a, .or-script-source-link) { color: var(--ui-accent); font-size: 12px; font-weight: 600; }
.or-editorial .or-inner-page :is(.or-wiki-list-grid, .or-scripts-grid, .or-videos-list, .or-updates-list) { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.or-editorial .or-inner-page :is(.or-wiki-list-card, .or-script-card, .or-video-list-card, .or-update-card),
.or-editorial .or-inner-page :is(.or-wiki-list-card, .or-script-card, .or-video-list-card, .or-update-card):only-child { display: flex; flex-direction: column; align-items: stretch; grid-column: auto; width: 100%; max-width: 360px; min-height: 0; padding: 0; gap: 12px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.or-editorial .or-inner-page :is(.or-wiki-list-card, .or-script-card, .or-video-list-card, .or-update-card):hover { background: none; box-shadow: none; transform: none; }
.or-editorial .or-inner-page :is(.or-wiki-list-thumb, .or-script-card-preview, .or-video-list-thumb, .or-update-thumb) { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; overflow: hidden; }
.or-editorial .or-inner-page :is(.or-wiki-list-thumb, .or-script-card-preview, .or-video-list-thumb, .or-update-thumb) img { display: block; width: 100%; height: 100%; object-fit: cover; transform: none; filter: none; }
/* Small reference images should remain complete, without upscaling. */
.or-editorial img:is([src$="/wood-plank-wiki.webp"], [src$="/lumberjack-wiki.webp"], [src*="/posts/taxi-boss/reference/"], [src*="/posts/99-nights-in-the-forest/reference/"]) { object-fit: scale-down !important; background: #191d20; }
.or-editorial .or-inner-page :is(.or-wiki-list-card, .or-script-card, .or-video-list-card, .or-update-card):hover img { transform: none; filter: none; }
.or-editorial .or-inner-page :is(.or-wiki-list-content, .or-script-card-body, .or-video-list-content, .or-update-card .or-update-content) { display: grid; gap: 10px; padding: 0; }
.or-editorial .or-inner-page :is(.or-wiki-list-title, .or-script-card-title, .or-video-list-title, .or-update-title) { color: var(--ui-text); font-size: 17px; line-height: 1.45; font-weight: 650; }
.or-editorial .or-inner-page :is(.or-wiki-list-content p, .or-script-card p, .or-video-list-content p, .or-update-card p) { color: var(--ui-muted); font-size: 13px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.or-editorial .or-inner-page :is(.or-wiki-list-meta, .or-script-card-meta, .or-video-list-meta, .or-update-card time) { color: var(--ui-muted); font-size: 12px; }
.or-editorial .or-inner-page :is(.or-wiki-list-read, .or-script-card-link, .or-update-read, .or-script-card-game) { color: var(--ui-accent); font-size: 12px; }
.or-editorial .or-inner-page :is(.or-script-status, .or-script-detail-status, .or-video-list-card > em) { position: static; align-self: start; min-height: 24px; border: 1px solid var(--ui-line); border-radius: 4px; background: var(--ui-raised); color: var(--ui-muted); box-shadow: none; font-size: 11px; padding: 3px 8px; }
.or-editorial .or-inner-page :is(.or-script-status, .or-script-detail-status).is-working { color: var(--ui-success); }
.or-editorial .or-inner-page :is(.or-wiki-list-empty, .or-scripts-empty, .or-videos-empty, .or-updates-empty, .or-codes-empty) { grid-column: 1 / -1; padding: 24px; min-height: 96px; border: 1px dashed var(--ui-line); border-radius: 6px; background: none; color: var(--ui-muted); box-shadow: none; }
.or-editorial .or-inner-page :is(.or-wiki-list-empty, .or-scripts-empty, .or-videos-empty, .or-updates-empty, .or-codes-empty) b { color: var(--ui-text); }
.or-editorial .or-inner-page .or-codes-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.or-editorial .or-inner-page.or-codes-page .or-codes-code-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 44px; grid-template-rows: auto minmax(24px, 1fr) auto; align-items: center; gap: 10px 12px; min-height: 146px; padding: 16px; border: 1px solid var(--ui-line); border-radius: 8px; background: var(--ui-surface); box-shadow: none; }
.or-editorial .or-inner-page.or-codes-page .or-codes-code-card::before { content: ""; grid-column: 1 / -1; grid-row: 3; align-self: stretch; border-top: 1px solid var(--ui-line); pointer-events: none; }
.or-editorial .or-inner-page.or-codes-page .or-codes-code-card:hover { background: var(--ui-surface); border-color: var(--ui-muted); transform: none; box-shadow: none; }
.or-editorial .or-inner-page.or-codes-page .or-codes-code-icon { display: none; }
.or-editorial .or-inner-page.or-codes-page .or-codes-code-main { display: contents; }
.or-editorial .or-inner-page.or-codes-page .or-gamepage-code .or-codes-code-value { grid-column: 1; grid-row: 3; display: block; justify-self: stretch; align-self: center; padding: 10px 0 0; min-height: 0; background: none; border: 0; border-radius: 0; color: var(--ui-text); font-size: 15px; font-weight: 600; line-height: 1.5; letter-spacing: 0; white-space: normal; overflow-wrap: anywhere; }
.or-editorial .or-inner-page.or-codes-page .or-gamepage-code .or-codes-code-reward { grid-column: 1 / -1; grid-row: 2; color: var(--ui-text); font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.or-editorial .or-inner-page.or-codes-page .or-gamepage-code .or-codes-code-date { grid-column: 1 / -1; grid-row: 4; color: var(--ui-muted); font-size: 11px; line-height: 1.5; }
.or-editorial .or-inner-page.or-codes-page .or-gamepage-code .or-codes-status { grid-column: 1 / -1; grid-row: 1; justify-self: start; display: inline-flex; flex-direction: row-reverse; gap: 6px; min-width: 0; height: auto; padding: 0; background: none; border: 0; color: var(--ui-success); font-size: 11px; line-height: 16px; text-transform: none; font-weight: 500; }
.or-editorial .or-inner-page.or-codes-page .or-gamepage-code .or-codes-status i { display: block; flex: 0 0 5px; align-self: center; width: 5px; height: 5px; margin: 0; color: inherit; border-radius: 50%; background: currentColor; box-shadow: none; }
.or-editorial .or-inner-page.or-codes-page .or-gamepage-code.is-expired { opacity: 1; }
.or-editorial .or-inner-page.or-codes-page .or-gamepage-code.is-expired :is(.or-codes-status, .or-codes-code-value) { color: var(--ui-muted); }
.or-editorial .or-inner-page.or-codes-page .or-gamepage-code.is-unverified .or-codes-status { color: var(--ui-muted); }
.or-editorial .or-inner-page.or-codes-page .or-gamepage-code .or-codes-copy { grid-column: 2; grid-row: 3; justify-self: end; align-self: center; display: inline-flex; justify-content: center; align-items: center; gap: 0; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; margin-top: 10px; background: none; color: var(--ui-accent); border: 1px solid transparent; border-radius: 6px; box-shadow: none; font-size: 0; }
.or-editorial .or-inner-page.or-codes-page .or-gamepage-code .or-codes-copy::before { content: ""; display: block; flex: 0 0 18px; width: 18px; height: 18px; background: currentColor; mask: url("../images/refresh-copy.svg") center / contain no-repeat; }
.or-editorial .or-inner-page.or-codes-page .or-gamepage-code .or-codes-copy:is(:hover, .is-copied) { background: var(--ui-raised); border-color: var(--ui-accent); box-shadow: none; transform: none; }
.or-editorial .or-inner-page.or-codes-page .or-gamepage-code .or-codes-copy.is-copied { color: var(--ui-success); border-color: var(--ui-success); }
.or-editorial .or-inner-page.or-codes-page .or-gamepage-code .or-codes-copy.is-copied::before { mask-image: url("../images/appearance-check.svg"); }
.or-editorial .or-inner-page :is(.or-gamepage-layout, .or-script-detail-layout, .or-update-detail-layout, .or-video-detail-layout) { display: grid; grid-template-columns: minmax(0, 820px) minmax(220px, 280px); justify-content: space-between; align-items: start; gap: 40px; }
.or-editorial .or-inner-page :is(.or-script-detail-main, .or-update-detail-main, .or-video-detail-main) { display: grid; gap: 28px; }
.or-editorial .or-inner-page :is(.or-gamepage-side, .or-script-sidebar, .or-update-sidebar, .or-video-sidebar) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-left: 24px; border-left: 1px solid var(--ui-line); }
.or-editorial .or-inner-page :is(.or-gamepage-side, .or-script-sidebar, .or-update-sidebar, .or-video-sidebar) h2 { font-size: 17px; margin-bottom: 14px; }
.or-editorial .or-inner-page :is(.or-gamepage-story, .or-wiki-content, .or-script-detail-lead, .or-video-detail-description p) { font-size: 15px; line-height: 1.85; color: var(--ui-muted); overflow-wrap: anywhere; }
.or-editorial .or-inner-page .or-wiki-content :is(h2, h3, h4) { margin: 28px 0 12px; scroll-margin-top: 100px; }
.or-editorial .or-inner-page .or-wiki-content :is(h2, h3, h4)::before { content: none; }
.or-editorial .or-inner-page .or-wiki-content :is(h2, h3, h4) { padding-left: 0; }
.or-editorial .or-inner-page .or-wiki-content :is(b, strong) { color: var(--ui-text); }
.or-editorial .or-inner-page .or-wiki-content :is(p, ul, ol) { margin-block: 12px; }
.or-editorial .or-inner-page .or-wiki-content :is(p, ul, ol, li, p:first-of-type) { color: var(--ui-muted); }
.or-editorial .or-inner-page .or-wiki-content :is(ul, ol) { display: block; padding-left: 24px; list-style: revert; }
.or-editorial .or-inner-page .or-wiki-content li { padding: 0; margin: 8px 0; }
.or-editorial .or-inner-page .or-wiki-content li::before { content: none; }
.or-editorial .or-inner-page .or-wiki-content :is(img, video, iframe) { display: block; max-width: 100%; width: auto; height: auto; max-height: 420px; object-fit: contain; border-radius: 6px; }
.or-editorial .or-inner-page .or-wiki-content iframe { width: 100%; aspect-ratio: 16 / 9; }
.or-editorial .or-inner-page .or-wiki-content a { color: var(--ui-accent); }
.or-editorial .or-inner-page :is(.or-wiki-content pre, .or-script-loader pre) { max-width: 100%; overflow: auto; white-space: pre; padding: 16px; border: 1px solid var(--ui-line); border-radius: 6px; background: var(--ui-surface); color: var(--ui-text); font: 13px/1.7 Consolas, monospace; }
.or-editorial .or-inner-page :is(.or-wiki-content code, .or-script-loader code) { color: inherit; background: none; }
.or-editorial .or-inner-page .or-reading-table { max-width: 100%; overflow-x: auto; }
.or-editorial .or-inner-page .or-reading-table table { border-collapse: collapse; min-width: 100%; }
.or-editorial .or-inner-page .or-reading-table :is(th, td) { padding: 10px 12px; border-color: var(--ui-line); background: var(--ui-surface); color: var(--ui-text); }
.or-editorial .or-inner-page .or-reading-toc { padding: 16px 0; margin-bottom: 24px; border-block: 1px solid var(--ui-line); color: var(--ui-text); }
.or-editorial .or-inner-page .or-reading-toc summary { cursor: pointer; min-height: 32px; font-weight: 650; font-size: 14px; }
.or-editorial .or-inner-page .or-reading-toc ol { margin: 8px 0 0; padding-left: 22px; }
.or-editorial .or-inner-page .or-reading-toc li { min-height: 0; margin: 0; }
.or-editorial .or-inner-page .or-reading-toc a { display: inline-block; padding-block: 4px; font-size: 13px; color: var(--ui-accent); }
.or-editorial .or-inner-page .or-gamepage-head > a { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; min-height: 36px; }
.or-editorial .or-inner-page .or-gamepage-head > a:hover { background: none; color: var(--ui-text); }
.or-editorial .or-inner-page :is(.or-wiki-game-identity, .or-script-game-identity, .or-update-game-identity, .or-video-game-identity) small { display: block; max-width: 100%; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ui-muted); overflow-wrap: anywhere; font-size: 12px; }
.or-editorial .or-inner-page :is(.or-wiki-game-identity, .or-script-game-identity, .or-update-game-identity, .or-video-game-identity) { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
.or-editorial .or-inner-page :is(.or-wiki-game-identity, .or-script-game-identity, .or-update-game-identity, .or-video-game-identity) img { width: 44px; height: 44px; border-radius: 6px; border-color: var(--ui-line); }
.or-editorial .or-inner-page :is(.or-wiki-game-identity, .or-script-game-identity, .or-update-game-identity, .or-video-game-identity) b { color: var(--ui-text); font-size: 15px; white-space: normal; }
.or-editorial .or-inner-page :is(.or-wiki-game-stats, .or-script-game-stats, .or-update-game-stats, .or-video-game-stats) { color: var(--ui-muted); font-size: 12px; }
.or-editorial .or-inner-page :is(.or-wiki-related-item, .or-script-related-item, .or-update-related-item, .or-video-related-card) { border-color: var(--ui-line); background: none; border-radius: 6px; box-shadow: none; }
.or-editorial .or-inner-page :is(.or-wiki-related-item, .or-script-related-item, .or-update-related-item, .or-video-related-card) b { color: var(--ui-text); }
.or-editorial .or-inner-page :is(.or-wiki-related-empty, .or-script-related-empty, .or-update-related-empty, .or-wiki-sidebar-card p, .or-video-author-card p) { color: var(--ui-muted); background: none; font-size: 13px; }
.or-editorial .or-inner-page :is(.or-wiki-related-empty, .or-script-related-empty, .or-update-related-empty) b { color: var(--ui-text); }
.or-editorial .or-inner-page :is(.or-wiki-game-stats, .or-script-game-stats, .or-update-game-stats, .or-video-game-stats) span:first-child { color: var(--ui-success); }
.or-editorial .or-inner-page :is(.or-wiki-game-stats, .or-script-game-stats, .or-update-game-stats, .or-video-game-stats) i { background: var(--ui-success); box-shadow: none; }
.or-editorial .or-inner-page :is(.or-script-quick-info, .or-video-info-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.or-editorial .or-inner-page .or-script-quick-info div { padding: 12px 0; border: 0; border-bottom: 1px solid var(--ui-line); border-radius: 0; background: none; }
.or-editorial .or-inner-page :is(.or-script-quick-info small, .or-script-download-card small, .or-video-info-grid span, .or-video-detail-meta) { color: var(--ui-muted); }
.or-editorial .or-inner-page :is(.or-script-quick-info b, .or-script-download-card b, .or-video-info-grid b) { color: var(--ui-text); white-space: normal; }
.or-editorial .or-inner-page .or-script-detail-notice { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 16px; border: 1px solid var(--ui-line); border-left: 3px solid var(--ui-accent); border-radius: 0; background: var(--ui-surface); }
.or-editorial .or-inner-page .or-script-detail-notice :is(b, span) { color: var(--ui-muted); font-size: 13px; }
.or-editorial .or-inner-page .or-script-download-card { padding: 16px; border-color: var(--ui-line); border-radius: 6px; background: var(--ui-surface); }
.or-editorial .or-inner-page .or-script-download-card span { color: var(--ui-accent); }
.or-editorial .or-inner-page :is(.or-script-download-card a, .or-script-detail-panel-head button, .or-script-sidebar-button, .or-wiki-game-button, .or-wiki-sidebar-link, .or-update-sidebar-button, .or-video-side-button, .or-video-back) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--ui-line); border-radius: 6px; background: var(--ui-raised); color: var(--ui-accent); box-shadow: none; font-size: 12px; }
.or-editorial .or-inner-page :is(.or-script-download-card a, .or-script-detail-panel-head button, .or-script-sidebar-button, .or-wiki-game-button, .or-wiki-sidebar-link, .or-update-sidebar-button, .or-video-side-button, .or-video-back):hover { background: var(--ui-raised); border-color: var(--ui-accent); color: var(--ui-text); box-shadow: none; transform: none; }
.or-editorial .or-inner-page .or-script-detail-panel-head { gap: 16px; flex-wrap: wrap; }
.or-editorial .or-inner-page .or-video-detail-header { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
.or-editorial .or-inner-page .or-video-detail-game-icon { width: 44px; height: 44px; border-radius: 6px; }
.or-editorial .or-inner-page .or-video-detail-heading h1 { font-size: 26px; }
.or-editorial .or-inner-page .or-video-back { grid-column: 2; justify-self: start; }
.or-editorial .or-inner-page .or-video-detail-player { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; box-shadow: none; background: #000; }
.or-editorial .or-inner-page .or-video-detail-description { border-color: var(--ui-line); }
@media (max-width: 900px) {
  .or-editorial .or-inner-page :is(.or-gamepage-layout, .or-script-detail-layout, .or-update-detail-layout, .or-video-detail-layout) { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .or-editorial .or-inner-page :is(.or-gamepage-side, .or-script-sidebar, .or-update-sidebar, .or-video-sidebar) { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--ui-line); }
  .or-editorial .or-inner-page .or-codes-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .or-editorial .or-inner-page { padding-top: 16px; gap: 24px; }
  .or-editorial .or-inner-page :is(.or-gamepage-hero__inner, [class$="-hero__inner"]) { padding: 20px 16px; gap: 18px; }
  .or-editorial .or-inner-page :is(.or-gamepage-hero__grid, [class$="-hero__content"]) { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .or-editorial .or-inner-page :is(.or-gamepage-icon, .or-wiki-game-icon, .or-scripts-game-icon, .or-updates-game-icon, .or-script-detail-game-icon, .or-update-detail-game-icon) { width: 44px; height: 44px; }
  .or-editorial .or-inner-page :is(h1, [class$="-hero__inner"] h1, .or-video-detail-heading h1) { font-size: 24px; }
  .or-editorial .or-inner-page [class$="-hero__inner"] :is(.or-gamepage-identity, .or-wiki-hero__text, .or-scripts-hero__text, .or-updates-hero__text, .or-script-detail-heading, .or-update-detail-heading) { display: contents; }
  .or-editorial .or-inner-page [class$="-hero__inner"] h1 { grid-column: 2; }
  .or-editorial .or-inner-page [class$="-hero__inner"] :is(.or-gamepage-identity, .or-wiki-hero__text, .or-scripts-hero__text, .or-updates-hero__text, .or-script-detail-heading, .or-update-detail-heading) > :not(h1) { grid-column: 1 / -1; }
  .or-editorial .or-inner-page [class$="-hero__content"] > :is(p, div, a), .or-editorial .or-inner-page .or-gamepage-hero__grid > :is(.or-gamepage-meta, .or-gamepage-status, .or-gamepage-actions) { grid-column: 1 / -1; }
  .or-editorial .or-inner-page :is(.or-gamepage-side, .or-script-sidebar, .or-update-sidebar, .or-video-sidebar, .or-script-download-grid) { grid-template-columns: minmax(0, 1fr); }
  .or-editorial .or-inner-page .or-gamepage-head h2 { font-size: 21px; }
  .or-editorial .or-inner-page .or-codes-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .or-editorial .or-inner-page .or-gamepage-story { font-size: 14px; }
}

/* Preserve the complete silhouettes of the Animal Hospital character images. */
.or-editorial img[src*="/posts/animal-hospital/wiki/"] {
  object-fit: contain !important;
  object-position: center;
}

/* Keep Grow a Garden pet portraits uncropped in article cards. */
.or-editorial img[src*="/posts/grow-a-garden/wiki/"] {
  object-fit: contain !important;
  object-position: center;
}

/* Keep Steal An Egg pet portraits uncropped in article cards. */
.or-editorial img[src*="/posts/steal-an-egg/wiki/"] {
  object-fit: contain !important;
  object-position: center;
}

/* Keep MM2 weapon images uncropped in article cards. */
.or-editorial img[src*="/posts/murder-mystery-2/wiki/"] {
  object-fit: contain !important;
  object-position: center;
}

/* Keep Fisch equipment images uncropped in article cards. */
.or-editorial img[src*="/posts/fisch/wiki/"] {
  object-fit: contain !important;
  object-position: center;
}

.or-wiki-content:has(img[src*="/posts/fisch/wiki/"]) :is(th, td) {
  overflow-wrap: normal;
  word-break: normal;
}

/* Keep Brookhaven catalog items uncropped in article cards. */
.or-editorial img[src*="/posts/brookhaven-rp/wiki/"] {
  object-fit: contain !important;
  object-position: center;
}
.or-editorial img[src*="/posts/brookhaven-rp/wiki/item-"],
.or-editorial img[src*="/posts/brookhaven-rp/wiki/bundle-"] { background:#f0f1f3; padding:8px; }

/* Preserve character models and interface labels in JJS thumbnails. */
.or-editorial img[src*="/games/41/wiki/"] {
  object-fit: contain !important;
  object-position: center;
}
