/* Reviews only: no Gameleon archive card classes or global overrides. */
#main-wrapper.rev-page {
    display: block;
    float: none;
    clear: both;
    width: 100%;
    max-width: none;
    margin: 0 0 40px;
    padding: 0;
    color: #292d34;
    --rev-accent: #0960ed;
}
.rev-page, .rev-page * { box-sizing: border-box; }
.rev-page [hidden] { display: none; }
.rev-page .rev-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 24px;
    border-bottom: 3px solid var(--rev-accent);
    margin: 0 0 24px;
    padding: 0 0 16px;
}
.rev-page .rev-heading h1 { margin: 0; font-size: 32px; line-height: 1.25; color: #292d34; }
.rev-page .rev-count { margin: 0; font-size: 17px; color: #545963; }
.rev-page .rev-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
    gap: 18px 24px;
    background: #f5f5f7;
    border: 1px solid #dde1e8;
    padding: 24px;
    margin-bottom: 28px;
}
.rev-page .rev-controls[hidden] { display: none; }
.rev-page label { margin: 0 0 8px; font-weight: 700; color: #292d34; }
.rev-page input[type="search"], .rev-page select {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    border: 1px solid #858b96;
    border-radius: 3px;
    padding: 10px 12px;
    background: #fff;
    color: #292d34;
    font: inherit;
}
.rev-page input[type="search"] { cursor: text; }
.rev-page .rev-filters { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; min-width: 0; }
.rev-page .rev-filters legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.rev-page .rev-filter {
    background: #fff;
    color: #343943;
    border: 1px solid #858b96;
    border-radius: 3px;
    padding: 10px 14px;
    min-height: 44px;
    margin: 0 8px 8px 0;
    font: inherit;
    line-height: 1.3;
    white-space: normal;
}
.rev-page .rev-filter[aria-pressed="true"] { background: #292d34; border-color: #292d34; color: #fff; }
.rev-page .rev-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: stretch; }
.rev-page .rev-card {
    display: flex;
    flex-direction: column;
    position: static;
    float: none;
    width: auto;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    border: 1px solid #d2d7e0;
    border-top: 3px solid #383d47;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 3px 9px rgb(30 38 52 / 5%);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}
.rev-page .rev-card:hover, .rev-page .rev-card:focus-within { border-color: var(--rev-accent); box-shadow: 0 4px 14px rgb(30 38 52 / 12%); }
.rev-page .rev-card[hidden] { display: none; }
.rev-page .rev-cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eeeef1; }
.rev-page .rev-cover img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.rev-page .rev-body { display: flex; flex-direction: column; gap: 14px; padding: 24px; min-width: 0; flex: 1; }
.rev-page .rev-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: #555b65; }
.rev-page .rev-type { background: #f0f1f4; color: #343943; padding: 4px 8px; border-left: 3px solid var(--rev-accent); }
.rev-page .rev-title, .rev-page .rev-title-link {
    display: block;
    position: static;
    height: auto;
    max-height: none;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    white-space: normal;
    overflow-wrap: anywhere;
    text-transform: none;
    font-family: Oswald, sans-serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.35;
    color: #242831;
    margin: 0;
    padding: 0;
}
.rev-page .rev-title-link:hover { color: var(--rev-accent); }
.rev-page .rev-source { margin: 0; font-size: 13px; color: #616671; }
.rev-page .rev-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0; font-size: 13px; color: #545963; }
.rev-page .rev-score { font: 28px/1.2 Oswald, sans-serif; color: var(--rev-accent); }
.rev-page .rev-score small { font-size: 15px; padding-left: 3px; }
.rev-page .rev-unrated { margin: 0; font-size: 14px; color: #616671; }
.rev-page .rev-excerpt { margin: 0; line-height: 1.5; font-size: 16px; color: #474d57; overflow-wrap: anywhere; }
.rev-page .rev-read { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid #e2e5eb; color: var(--rev-accent); font-weight: 700; }
.rev-page .rev-empty { padding: 28px; border: 1px solid #d2d7e0; background: #f5f5f7; }
.rev-page a:focus-visible, .rev-page button:focus-visible, .rev-page input:focus-visible, .rev-page select:focus-visible { outline: 3px solid #185fa4; outline-offset: 3px; }
@media (min-width: 640px) { .rev-page .rev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .rev-page .rev-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639px) { .rev-page .rev-controls { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .rev-page .rev-card { transition: none; } }
