.shiny-board { padding-bottom: 28px; }
.shiny-masthead::before { content: none; }
.shiny-intro { max-width: 48ch; margin: 8px 0 0; color: #c5cdd6; line-height: 1.45; text-wrap: pretty; }
.shiny-scene {
    position: absolute; inset: 0 0 0 auto; width: min(100%,720px); overflow: hidden; z-index: -1; pointer-events: none;
    background: url("/art/shiny/twilight-lake.webp") center 83% / cover no-repeat;
    mask-image: linear-gradient(90deg,transparent,black 35%,black 86%,transparent);
}
.shiny-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,var(--bg),transparent 40%); }
.shiny-scene img { position: absolute; left: 69%; bottom: 19%; height: 60%; width: auto; transform: translateX(-50%) rotate(-12deg); filter: drop-shadow(0 3px 4px #462e2255); }
.shiny-filters { display: grid; grid-template-columns: minmax(190px,1fr) minmax(145px,195px) minmax(132px,175px); align-items: end; gap: 12px; margin: 16px 0 20px; }
.shiny-filters .board-search { max-width: 420px; width: 100%; margin: 0; }
.shiny-select { display: grid; gap: 3px; min-width: 0; color: var(--muted); font-size: .77rem; }
.shiny-select select { width: 100%; min-width: 0; min-height: 44px; padding: 5px 8px; color: var(--paper); background: #23262d; border: 1px solid var(--edge); border-radius: 6px; font: 600 .88rem/1.2 Sans,sans-serif; cursor: pointer; }
.shiny-select select:hover { border-color: #828890; }
.shiny-results-note,.sample-date { margin: 0 0 12px; color: var(--muted); font-size: .85rem; }
.shiny-results-note a,.shiny-board .raid-empty a + a { margin-left: 12px; }
.shiny-results-note a,.rate-help summary { color: var(--gold); }
.shiny-results-note a:hover,.rate-help summary:hover { text-decoration: underline; }
.release-month { margin: 0 0 25px; }
.release-month h2,.sample-intro h2 { font: 680 1.75rem/1.12 Cond,sans-serif; margin: 0 0 12px; }
.release-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.release-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--edge); border-radius: 12px; background: var(--panel); box-shadow: 0 3px 8px #0002; }
.release-card:has(.release-tile:is(:hover,:focus-visible)) { border-color: #bda26b; }
.release-tile { display: flex; flex: 1; flex-direction: column; min-width: 0; color: var(--paper); border-radius: 11px; }
.release-art {
    display: grid; place-items: center; border-radius: 11px 11px 0 0; overflow: hidden; border-bottom: 1px solid #383c42;
    background: radial-gradient(ellipse at 80% 62%,#a17b443b,transparent 68%),radial-gradient(ellipse at 20% 58%,#6b91a32e,transparent 64%),#25282d;
}
.release-pair { display: block; width: 100%; max-width: 355px; padding: 8px 7px; }
.release-composite { display: block; width: 100%; height: auto; }
.release-singles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); aspect-ratio: 600/246; }
.release-singles > span { display: grid; place-items: center; min-height: 0; }
.release-singles img { width: 92%; height: 94%; object-fit: contain; }
.release-labels { display: grid; grid-template-columns: 1fr 1fr; text-align: center; color: #b7c5d0; font-size: .74rem; font-weight: 600; }
.release-labels > :last-child { color: #f5cf84; }
.release-labels i { font-style: normal; }
.release-no-art { display: grid; place-items: center; width: 100%; aspect-ratio: 2; color: var(--muted); font-size: .84rem; }
.release-identity { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 3px 7px; padding: 12px 14px 0; }
.release-identity strong,.rate-name { font: 675 1.55rem/1.1 Cond,sans-serif; color: var(--paper); overflow-wrap: anywhere; }
.release-identity small,.rate-index small { font: 500 .75rem/1.2 ui-monospace,monospace; color: var(--muted); }
.release-identity > span { grid-column: 1 / -1; font-size: .89rem; color: #d0d5dd; }
.release-details,.release-rate { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-size: .82rem; }
.release-details { margin-top: auto; padding: 10px 14px 12px; color: var(--muted); }
.release-open { margin-left: auto; color: var(--paper); font-weight: 600; }
.release-open span { color: var(--gold); }
.release-tile:hover .release-open { color: var(--gold); }
.release-card .release-event { margin: 0; padding: 0 14px 10px; color: var(--muted); font-size: .83rem; }
.release-event a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.release-card:target { scroll-margin-top: 20px; border-color: var(--gold); }
.release-rate { padding: 10px 14px; min-height: 40px; color: #c1c9d1; border-top: 1px solid var(--edge); border-radius: 0 0 11px 11px; background: #202328; }
.release-rate strong { color: #f5d59a; white-space: nowrap; }
.release-rate:hover { background: #302f2a; }
.sample-intro { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; }
.sample-intro h2 { margin: 0; }
.rate-help { max-width: 440px; font-size: .88rem; color: var(--muted); }
.rate-help summary { cursor: pointer; padding: 5px 0; }
.rate-help p { margin: 4px 0; line-height: 1.45; }
.rate-surface { border: 1px solid var(--edge); border-radius: 12px; overflow: hidden; background: var(--panel); }
.shiny-rate-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.shiny-rate-table th,.shiny-rate-table td { text-align: right; padding: 8px 20px; }
.shiny-rate-table th:first-child { text-align: left; width: 53%; }
.shiny-rate-table thead th { background: #2b3037; color: #ccd1d9; font-size: .85rem; font-weight: 600; padding-block: 11px; }
.shiny-rate-table tbody tr { border-top: 1px solid #373c43; }
.shiny-rate-table tbody tr:focus-within,.shiny-rate-table tbody tr:hover { background: #2a2e34; }
.rate-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rate-portrait { position: relative; width: 50px; height: 50px; flex: none; }
.rate-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .35s ease-in-out; }
.rate-portrait img.is-current { opacity: 1; }
.rate-name { font-size: 1.4rem; }
.rate-name:hover,.rate-index a:hover { color: var(--gold); }
.rate-index { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1px 10px; margin-top: 2px; }
.rate-index a { color: #c6cdd2; font-size: .76rem; font-weight: 500; }
.rate-index a span { color: #d6b779; }
.rate-index time { white-space: nowrap; }
.rate-odds { color: #d6c5a6; font-size: .85rem; white-space: nowrap; }
.rate-odds strong { color: #ffda95; font: 660 1.45rem/1 Cond,sans-serif; }
.rate-count { color: #d6d9de; font-size: .96rem; }
.rate-mobile-label { display: none; }
.shiny-board .pagination a { display: inline-grid; place-items: center; min-height: 42px; }
@media (max-width: 980px) {
    .release-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 740px) {
    .release-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .shiny-filters { grid-template-columns: 1fr 1fr; gap: 6px 8px; margin: 12px 0 16px; }
    .shiny-filters .board-search { grid-column: 1 / -1; max-width: none; }
    .release-month h2,.sample-intro h2 { font-size: 1.5rem; }
    .shiny-scene { width: min(100%,500px); mask-image: linear-gradient(90deg,transparent 4%,#0006 40%,black 68%,black 89%,transparent); }
    .shiny-scene img { bottom: 20%; height: 56%; left: 74%; }
    .shiny-rate-table th,.shiny-rate-table td { padding-inline: 10px; }
    .shiny-rate-table th:first-child { width: auto; }
}
@media (max-width: 600px) {
    .shiny-masthead h1 { max-width: 75%; text-wrap: balance; }
    .shiny-intro { max-width: 72%; font-size: .88rem; }
    .shiny-scene img { left: 84%; height: 43%; bottom: 23%; }
    body:has(.shiny-board) .mast nav { flex-wrap: nowrap; justify-content: space-between; gap: 4px; }
    .rate-identity { gap: 6px; }
    .rate-portrait { width: 36px; height: 40px; }
    .rate-name { font-size: 1.18rem; }
    .rate-index { gap: 1px 6px; }
}
@media (max-width: 480px) {
    .release-list { grid-template-columns: minmax(0,1fr); }
    .release-tile { display: grid; grid-template-columns: 50% minmax(0,1fr); grid-template-rows: 1fr auto; }
    .release-art { grid-column: 1; grid-row: 1 / 3; align-self: stretch; border: 0; border-radius: 11px 0 0 11px; }
    .release-card:has(.release-rate,.release-event) .release-art { border-bottom-left-radius: 0; }
    .release-pair { padding: 8px 2px 7px; }
    .release-identity { align-content: center; padding: 10px 10px 0; }
    .release-identity strong { font-size: 1.4rem; }
    .release-identity > span { font-size: .83rem; }
    .release-identity small { font-size: .67rem; }
    .release-details { padding: 7px 10px 9px; align-self: end; font-size: .75rem; }
    .release-open { margin-left: 0; }
    .release-card .release-event { padding-top: 7px; }
    .sample-intro { display: block; margin-bottom: 6px; }
    .shiny-rate-table th,.shiny-rate-table td { padding: 7px; }
    .shiny-rate-table thead th { font-size: .75rem; }
    .rate-count { font-size: .88rem; }
    .rate-odds strong { font-size: 1.22rem; }
    .rate-index small,.rate-index a { font-size: .71rem; }
}
@media (max-width: 400px) {
    .shiny-filters { grid-template-columns: minmax(0, 1fr); }
    .shiny-select { grid-template-columns: 5.5rem minmax(0, 1fr); align-items: center; }
    .shiny-rate-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .shiny-rate-table tbody { display: block; }
    .shiny-rate-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px 12px; gap: 8px 12px; }
    .shiny-rate-table tbody th { grid-column: 1 / -1; }
    .shiny-rate-table tbody :is(th, td) { padding: 0; text-align: left; }
    .rate-identity { gap: 10px; }
    .rate-name { font-size: 1.3rem; }
    .rate-index small, .rate-index a, .rate-mobile-label { font-size: .8rem; }
    .rate-mobile-label { display: block; color: var(--muted); }
}
