/* ATH Fortnite Radar — components styled with almanac theme tokens */

.ath-rbx-schedule, .ath-rbx-facts {
    font-family: var(--almanac-font-sans, inherit);
    margin: var(--almanac-space-lg, 2rem) 0;
}

.ath-rbx-h {
    font-family: var(--almanac-font-display, inherit);
    font-size: 1.35rem;
    margin: var(--almanac-space-lg, 2rem) 0 var(--almanac-space-sm, .75rem);
}

.ath-rbx-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--almanac-space-sm, .75rem);
}

.ath-rbx-card {
    background: var(--almanac-bg-paper, #fff);
    border: 1px solid var(--almanac-border, #ddd);
    border-radius: var(--almanac-radius-md, 8px);
    box-shadow: var(--almanac-shadow-soft, none);
    padding: var(--almanac-space-md, 1rem);
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.ath-rbx-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.ath-rbx-pill {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .15rem .55rem;
    border-radius: var(--almanac-radius-pill, 99px);
    background: var(--almanac-bg-mist, #f3f3f3);
    color: var(--almanac-fg-secondary, #444);
}

.ath-rbx-live .ath-rbx-pill {
    background: var(--almanac-success-soft, #e6f6ea);
    color: var(--almanac-success, #1a7f37);
}

.ath-rbx-upcoming .ath-rbx-pill {
    background: var(--almanac-info-soft, #e8f0fe);
    color: var(--almanac-info, #1a56db);
}

.ath-rbx-ended { opacity: .72; }

.ath-rbx-title {
    font-size: 1.02rem;
    line-height: 1.35;
    margin: 0;
    font-family: var(--almanac-font-sans, inherit);
}

.ath-rbx-when {
    margin: 0;
    font-size: .88rem;
    color: var(--almanac-fg-secondary, #555);
}

.ath-rbx-when .ath-rbx-local {
    display: block;
    font-size: .8rem;
    color: var(--almanac-fg-tertiary, #777);
}

.ath-rbx-countdown {
    margin: 0;
    font-size: .85rem;
    font-weight: 600;
    color: var(--almanac-info, #1a56db);
}

.ath-rbx-interest {
    font-size: .78rem;
    color: var(--almanac-fg-tertiary, #777);
    white-space: nowrap;
}

.ath-rbx-status {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .88rem;
    margin: 0 0 var(--almanac-space-sm, .75rem);
    color: var(--almanac-fg-secondary, #555);
}

.ath-rbx-dot {
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    background: var(--almanac-success, #1a7f37);
    flex: none;
}

.ath-rbx-status-warn .ath-rbx-dot { background: var(--almanac-warning, #b45309); }

.ath-rbx-facts dl {
    margin: 0;
    border: 1px solid var(--almanac-border, #ddd);
    border-radius: var(--almanac-radius-md, 8px);
    background: var(--almanac-bg-paper, #fff);
    overflow: hidden;
}

.ath-rbx-fact {
    display: grid;
    grid-template-columns: minmax(140px, 30%) 1fr;
    gap: .75rem;
    padding: .65rem 1rem;
}

.ath-rbx-fact + .ath-rbx-fact { border-top: 1px solid var(--almanac-border-faint, #eee); }

.ath-rbx-fact dt {
    font-weight: 600;
    font-size: .88rem;
    color: var(--almanac-fg-secondary, #555);
}

.ath-rbx-fact dd {
    margin: 0;
    font-size: .92rem;
}

.ath-rbx-attribution {
    margin-top: var(--almanac-space-md, 1rem);
    font-size: .78rem;
    color: var(--almanac-fg-quaternary, #999);
    line-height: 1.5;
}

/* Roblox-specific additions */
.ath-rbx-game {
    margin: 0;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--almanac-fg-tertiary, #777);
}

.ath-rbx-subtitle {
    margin: 0;
    font-size: .88rem;
    color: var(--almanac-fg-secondary, #555);
}

.ath-rbx-link { margin: .2rem 0 0; font-size: .85rem; }
.ath-rbx-link a { font-weight: 600; text-decoration: none; }

.ath-rbx-tracker { font-family: var(--almanac-font-sans, inherit); margin: var(--almanac-space-lg, 2rem) 0; }

.ath-rbx-sectionnote {
    margin: -.4rem 0 .8rem;
    font-size: .85rem;
    color: var(--almanac-fg-tertiary, #777);
}

/* ---- v0.3.0 image-led card design ---- */

.ath-rbx-card {
    padding: 0;
    overflow: hidden;
    transition: transform var(--almanac-duration, .18s) var(--almanac-ease, ease),
                box-shadow var(--almanac-duration, .18s) var(--almanac-ease, ease);
}

.ath-rbx-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--almanac-shadow-lift, 0 8px 24px rgba(0,0,0,.10));
}

.ath-rbx-card-body {
    padding: var(--almanac-space-md, 1rem);
    display: flex;
    flex-direction: column;
    gap: .35rem;
    flex: 1;
}

.ath-rbx-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--almanac-bg-mist, #f0efeb);
    border-bottom: 1px solid var(--almanac-border-faint, #eee);
}

.ath-rbx-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ath-rbx-media-fallback {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, var(--almanac-yellow-soft, #fdf3d0) 0, transparent 55%),
        radial-gradient(circle at 80% 70%, var(--almanac-tan-soft, #f3e8d5) 0, transparent 50%),
        var(--almanac-bg-mist, #f0efeb);
}

.ath-rbx-pill-overlay {
    position: absolute;
    top: .6rem;
    left: .6rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.18);
}

.ath-rbx-live .ath-rbx-pill-overlay { background: var(--almanac-success, #1a7f37); color: #fff; }
.ath-rbx-upcoming .ath-rbx-pill-overlay { background: var(--almanac-info, #1a56db); color: #fff; }

.ath-rbx-interest-overlay {
    position: absolute;
    right: .6rem;
    bottom: .6rem;
    background: rgba(0,0,0,.62);
    color: #fff;
    padding: .18rem .55rem;
    border-radius: var(--almanac-radius-pill, 99px);
    font-weight: 600;
    backdrop-filter: blur(2px);
}

.ath-rbx-game {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.ath-rbx-game-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    flex: none;
}

.ath-rbx-chip {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: .82rem;
    padding: .28rem .7rem;
    border-radius: var(--almanac-radius-pill, 99px);
    background: var(--almanac-yellow-soft, #fdf3d0);
    color: var(--almanac-tan-deep, #8a6d3b);
    min-height: 1.4em;
}

.ath-rbx-chip-live {
    background: var(--almanac-success-soft, #e6f6ea);
    color: var(--almanac-success, #1a7f37);
}

.ath-rbx-link { margin-top: auto; padding-top: .3rem; }

.ath-rbx-ended .ath-rbx-media img { filter: grayscale(.5); opacity: .85; }

.ath-rbx-media-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ath-rbx-fallback-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    box-shadow: var(--almanac-shadow-card, 0 2px 10px rgba(0,0,0,.10));
}

/* aspect-ratio is a preference, not a clamp — a taller source image can grow
   the box. Absolutely position the media so the 16:9 box always wins. */
.ath-rbx-media { overflow: hidden; }
.ath-rbx-media img,
.ath-rbx-media .ath-rbx-media-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.ath-rbx-media .ath-rbx-fallback-icon {
    position: static;
    width: 72px;
    height: 72px;
}

/* Expandable card details */
.ath-rbx-more {
    align-self: flex-start;
    margin-top: .2rem;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    color: var(--almanac-tan-deep, #8E7444);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ath-rbx-panel { border-top: 1px dashed var(--almanac-border, #EBE3D2); padding-top: .6rem; margin-top: .4rem; }

.ath-rbx-devnote {
    margin: 0 0 .5rem;
    padding: .5rem .75rem;
    background: var(--almanac-bg-cream, #F5EFE0);
    border-left: 3px solid var(--almanac-tan, #B2935B);
    border-radius: 0 var(--almanac-radius-sm, 6px) var(--almanac-radius-sm, 6px) 0;
}

.ath-rbx-devnote p { margin: 0 0 .25rem; font-size: .85rem; font-style: italic; }
.ath-rbx-devnote cite { font-size: .75rem; color: var(--almanac-fg-tertiary, #6B5F53); font-style: normal; }

.ath-rbx-panel-links { display: flex; gap: 1rem; margin: 0; font-size: .85rem; }
.ath-rbx-panel-links a { font-weight: 600; text-decoration: none; }

/* ============================================================
   v0.4.0 — Roblox visual identity: "block-party" synthesis.
   Primary DNA from the playful mock (sticker-frame tiles, rotated
   status stickers, toy-brick countdown chips, icon fan, bouncy
   hover); numbered section headers + alternating cream/paper
   bands from the editorial mock. Everything scoped under
   .ath-gp--roblox (body class from the game-page template) so
   Fortnite pages and generic embeds keep the base styles above.
   ============================================================ */

.ath-gp--roblox {
    /* direction-scoped tokens from the mock handoff */
    --almanac-fg-on-yellow: var(--almanac-on-yellow, #1A1612); /* NEVER white on yellow */
    --almanac-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    /* structural helpers the theme doesn't define (plugin-internal) */
    --rbx-radius-2xl: 24px;
    --rbx-shadow-sticker: 0 2px 6px rgba(26, 22, 18, .18);
}
/* --almanac-danger-soft ships with the theme (light #FCDCDC / dark #3A1A1A);
   usage sites below carry the mock's #FAE7E3 as a literal fallback only. */

/* ---- page canvas: warm paper behind everything, like the mock ---- */
.ath-gp--roblox .ath-gp-main { background: var(--almanac-bg-paper, #FBF8EF); }

/* ---- hero: block-party band with scattered toy blocks ---- */
.ath-gp--roblox .ath-gp-hero { position: relative; overflow: hidden; }
.ath-gp--roblox .ath-gp-hero::before,
.ath-gp--roblox .ath-gp-hero::after {
    content: ""; position: absolute; border-radius: 28px; pointer-events: none;
}
.ath-gp--roblox .ath-gp-hero::before {
    width: 180px; height: 180px; background: var(--almanac-yellow-soft, #FFF4C2);
    top: -60px; right: 12%; transform: rotate(18deg);
}
.ath-gp--roblox .ath-gp-hero::after {
    width: 120px; height: 120px; background: var(--almanac-tan-soft, #EFE3CB);
    bottom: -46px; left: 6%; transform: rotate(-12deg);
}
.ath-gp--roblox .ath-gp-hero-inner { position: relative; z-index: 1; }

.ath-gp--roblox .ath-gp-eyebrow {
    display: inline-block;
    font-family: var(--almanac-font-display, inherit);
    font-size: .8125rem; font-weight: 800; line-height: 1;
    letter-spacing: .08em; text-transform: uppercase;
    background: var(--almanac-yellow, #FFD700); color: var(--almanac-fg-on-yellow);
    padding: .5em 1em; border-radius: var(--almanac-radius-pill, 999px);
    border: 2px solid var(--almanac-bg-canvas, #fff);
    transform: rotate(-2.5deg);
    box-shadow: var(--rbx-shadow-sticker);
    margin: 0 0 1.1rem;
}

.ath-gp--roblox .ath-gp-title { font-weight: 800; letter-spacing: -.02em; }
.ath-gp--roblox .ath-gp-title mark {
    background: linear-gradient(transparent 58%, var(--almanac-yellow, #FFD700) 58%);
    color: inherit; padding: 0 .05em;
}

.ath-gp--roblox .ath-gp-pill {
    font-family: var(--almanac-font-display, inherit);
    font-size: .8125rem; font-weight: 700; line-height: 1.2;
    padding: .42em .95em;
    background: var(--almanac-bg-canvas, #fff);
    border: 2px solid var(--almanac-border, #EBE3D2);
}
.ath-gp--roblox .ath-gp-pill-live {
    background: var(--almanac-yellow, #FFD700);
    color: var(--almanac-fg-on-yellow);
    border-color: var(--almanac-bg-canvas, #fff);
    transform: rotate(1.5deg);
    box-shadow: var(--rbx-shadow-sticker);
}

/* hero icon fan (hub + tracker pages) */
.ath-gp--roblox .ath-gp-hero-media { flex: 0 1 auto; }
.ath-gp--roblox .ath-rbx-hero-icons { text-align: center; max-width: 430px; }
.ath-gp--roblox .ath-rbx-hero-fan { display: flex; justify-content: center; padding-left: 14px; }
.ath-gp--roblox .ath-rbx-hero-fan img {
    width: 78px; height: 78px; border-radius: 22px; margin-left: -14px;
    border: 3px solid var(--almanac-bg-canvas, #fff);
    box-shadow: var(--almanac-shadow-card, 0 2px 10px rgba(0,0,0,.08));
    transition: transform var(--almanac-duration-lg, 280ms) var(--almanac-ease-bounce);
    position: relative;
}
.ath-gp--roblox .ath-rbx-hero-fan img:nth-child(odd) { transform: rotate(-7deg); }
.ath-gp--roblox .ath-rbx-hero-fan img:nth-child(even) { transform: rotate(5deg) translateY(6px); }
.ath-gp--roblox .ath-rbx-hero-fan img:nth-child(3) { transform: rotate(-4deg); }
.ath-gp--roblox .ath-rbx-hero-fan img:nth-child(5) { transform: rotate(-6deg) translateY(2px); }
.ath-gp--roblox .ath-rbx-hero-fan img:hover { transform: rotate(0) translateY(-8px) scale(1.07); z-index: 2; }
.ath-gp--roblox .ath-rbx-hero-caption {
    margin: .9rem 0 0; font-size: .8125rem;
    color: var(--almanac-fg-tertiary, #6B5F53);
}

/* game pages keep the single large icon, sticker-framed */
.ath-gp--roblox .ath-gp-hero-icon {
    border: 3px solid var(--almanac-bg-canvas, #fff);
    border-radius: 26px;
    box-shadow: var(--rbx-shadow-sticker);
    transform: rotate(-3deg);
}

/* ---- numbered section headers + alternating bands ---- */
.ath-gp--roblox .ath-rbx-section {
    padding: 1.4rem 1.4rem 1.5rem;
    margin: 0 0 1.4rem;
}
.ath-gp--roblox .ath-rbx-band {
    background: var(--almanac-bg-cream, #F5EFE0);
    border: 1px solid var(--almanac-border, #EBE3D2);
    border-radius: var(--rbx-radius-2xl);
}

.ath-gp--roblox .ath-gp-content h2.ath-rbx-h,
.ath-gp--roblox .ath-rbx-h {
    display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
    margin: 0 0 1.25rem;
    font-family: var(--almanac-font-display, inherit);
    font-size: clamp(1.25rem, 1.05rem + 1vw, 1.65rem);
    font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
    line-height: 1.15;
}
.ath-gp--roblox .ath-rbx-h-no {
    font-size: .8125rem; font-weight: 800; letter-spacing: .08em; line-height: 1;
    background: var(--almanac-yellow, #FFD700); color: var(--almanac-fg-on-yellow);
    padding: .45em .6em; border-radius: var(--almanac-radius-sm, 4px);
    transform: rotate(-3deg);
    box-shadow: 0 2px 0 var(--almanac-yellow-deep, #E5BC00);
    white-space: nowrap;
}
.ath-gp--roblox .ath-rbx-h-rule {
    flex: 1 1 2rem; min-width: 2rem; align-self: center;
    border-top: 2px dashed var(--almanac-tan, #B2935B);
    opacity: .45;
}
.ath-gp--roblox .ath-rbx-h-count {
    display: inline-flex; align-items: center; gap: .45em;
    font-size: .72rem; font-weight: 800; letter-spacing: .06em; line-height: 1;
    text-transform: uppercase;
    background: var(--almanac-yellow-soft, #FFF4C2); color: var(--almanac-fg-secondary, #4A3F35);
    border: 2px solid var(--almanac-bg-canvas, #fff);
    padding: .5em .85em; border-radius: var(--almanac-radius-pill, 999px);
    transform: rotate(2deg);
    box-shadow: var(--rbx-shadow-sticker);
}
.ath-gp--roblox .ath-rbx-h--live .ath-rbx-h-count { background: var(--almanac-danger-soft, #FAE7E3); }
.ath-gp--roblox .ath-rbx-h--live .ath-rbx-h-count::before {
    content: ""; width: .5rem; height: .5rem; border-radius: 50%; flex: none;
    background: var(--almanac-danger, #D14242);
    animation: rbx-pulse 1.7s ease-in-out infinite;
}
@keyframes rbx-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: .65; }
}

.ath-gp--roblox .ath-rbx-sectionnote {
    margin: -.65rem 0 1.1rem;
    font-size: .875rem;
    color: var(--almanac-fg-tertiary, #6B5F53);
}

/* ---- card grid: chunky sticker-frame tiles ---- */
.ath-gp--roblox .ath-gp-content .ath-rbx-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.4rem;
    align-items: start;
}
.ath-gp--roblox .ath-rbx-card {
    background: var(--almanac-bg-canvas, #fff);
    border: 2px solid var(--almanac-border, #EBE3D2);
    border-radius: var(--rbx-radius-2xl);
    padding: .55rem;
    gap: 0;
    overflow: visible;
    box-shadow: var(--almanac-shadow-card, 0 2px 10px rgba(0,0,0,.08));
    transition: transform var(--almanac-duration-lg, 280ms) var(--almanac-ease-bounce),
                box-shadow var(--almanac-duration-lg, 280ms) var(--almanac-ease, ease),
                border-color var(--almanac-duration, 180ms) var(--almanac-ease, ease);
}
.ath-gp--roblox .ath-rbx-card:hover {
    transform: translateY(-6px) rotate(-.6deg);
    box-shadow: var(--almanac-shadow-soft, 0 8px 24px rgba(0,0,0,.12));
}
.ath-gp--roblox .ath-rbx-grid .ath-rbx-card:nth-child(even):hover { transform: translateY(-6px) rotate(.6deg); }

/* Static, expanded event card on its OWN page — not a clickable mini-card, so no
   hover-lift, no pointer cursor, and the detail panel is shown open inline. */
.ath-rbx-card--static { cursor: default; }
.ath-gp--roblox .ath-rbx-card--static:hover,
.ath-gp--roblox .ath-rbx-grid .ath-rbx-card--static:nth-child(even):hover {
    transform: none;
    box-shadow: var(--almanac-shadow-card, 0 2px 10px rgba(0,0,0,.08));
}
.ath-rbx-card--static .ath-rbx-panel { display: block; }

/* Prominent "Play <game> on Roblox" link at the top of a single-game page. */
.ath-gp--roblox .ath-rbx-playlink { margin: 0 0 1.1rem; }

/* Screenshot gallery on game pages — a horizontal, snap-scrolling strip pulled
   from Roblox's game-media endpoint. */
.ath-gp--roblox .ath-rbx-gallery {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 46%);
    gap: .6rem; overflow-x: auto; scroll-snap-type: x proximity;
    margin: 0 0 1.15rem; padding-bottom: .5rem; scrollbar-width: thin;
    overscroll-behavior-x: contain;
}
.ath-gp--roblox .ath-rbx-gallery img {
    width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
    border-radius: 12px; border: 2px solid var(--almanac-border, #EBE3D2);
    scroll-snap-align: start; background: var(--almanac-bg-sunk, #F0E9DA);
}

/* --- Single card (event & series pages) fills the full reading column, with its
   16:9 art shown large and UNCROPPED across the top and the details below. --- */
.ath-gp--roblox .ath-gp-content .ath-rbx-grid--single { grid-template-columns: 1fr; }
.ath-gp--roblox .ath-rbx-single-event .ath-rbx-card--static > .ath-rbx-media img,
.ath-gp--roblox .ath-rbx-single-series .ath-rbx-series-card > .ath-rbx-media img {
    width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
}

/* --- "Play … on Roblox" — native brand pill button (matches the card's RSVP button) --- */
.ath-gp--roblox .ath-rbx-playlink a {
    display: inline-block;
    font-family: var(--almanac-font-display, inherit);
    font-size: .875rem; font-weight: 800; line-height: 1;
    background: var(--almanac-yellow, #FFD700);
    color: var(--almanac-fg-on-yellow);
    text-decoration: none;
    padding: .7em 1.2em;
    border-radius: var(--almanac-radius-pill, 999px);
    box-shadow: 0 3px 0 var(--almanac-yellow-deep, #E5BC00);
    transition: transform var(--almanac-duration-lg, 280ms) var(--almanac-ease-bounce);
}
.ath-gp--roblox .ath-rbx-playlink a:hover {
    transform: translateY(-2px) rotate(-1deg);
    color: var(--almanac-fg-on-yellow);
}

/* --- Playful section headings in the article body --- */
.ath-gp--roblox .ath-gp-content h2 { position: relative; padding-bottom: .3rem; }
.ath-gp--roblox .ath-gp-content h2::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 2.6rem; height: .32rem; border-radius: 5px;
    background: var(--almanac-yellow, #FFD700);
}
.ath-gp--roblox .ath-gp-content h3 { position: relative; padding-left: .85rem; }
.ath-gp--roblox .ath-gp-content h3::before {
    content: ""; position: absolute; left: 0; top: .18em;
    width: .34rem; height: 1.05em; border-radius: 3px;
    background: var(--almanac-yellow, #FFD700);
}

/* live = the only red on the page */
.ath-gp--roblox .ath-rbx-live {
    opacity: 1;
    border-color: var(--almanac-danger, #D14242);
    border-color: color-mix(in srgb, var(--almanac-danger, #D14242) 38%, var(--almanac-border, #EBE3D2));
}
.ath-gp--roblox .ath-rbx-ended { opacity: 1; }
.ath-gp--roblox .ath-rbx-ended .ath-rbx-media { filter: grayscale(.4); opacity: .85; }
.ath-gp--roblox .ath-rbx-ended .ath-rbx-media img { filter: none; opacity: 1; }

/* media inset with inner radius (sticker frame) — the 16:9 clamp with the
   absolute-positioned img from the base rules stays untouched */
.ath-gp--roblox .ath-rbx-media {
    border-radius: calc(var(--rbx-radius-2xl) - .55rem);
    border-bottom: 0;
    background: var(--almanac-bg-cream, #F5EFE0);
}
.ath-gp--roblox .ath-rbx-media-fallback {
    background:
        radial-gradient(circle at 20% 30%, var(--almanac-tan-soft, #EFE3CB) 0 12%, transparent 13%),
        radial-gradient(circle at 78% 68%, var(--almanac-yellow-soft, #FFF4C2) 0 14%, transparent 15%),
        linear-gradient(135deg, var(--almanac-bg-cream, #F5EFE0), var(--almanac-tan-soft, #EFE3CB));
}
.ath-gp--roblox .ath-rbx-media .ath-rbx-fallback-icon {
    width: 96px; height: 96px; border-radius: 26px;
    border: 3px solid var(--almanac-bg-canvas, #fff);
    box-shadow: var(--almanac-shadow-card, 0 2px 10px rgba(0,0,0,.08));
    transform: rotate(-5deg);
}

/* rotated sticker status pills over the media */
.ath-gp--roblox .ath-rbx-pill {
    font-family: var(--almanac-font-display, inherit);
    font-size: .72rem; font-weight: 800; line-height: 1;
    letter-spacing: .07em; text-transform: uppercase;
    padding: .5em .9em;
    border-radius: var(--almanac-radius-pill, 999px);
    border: 2px solid var(--almanac-bg-canvas, #fff);
    background: var(--almanac-bg-canvas, #fff);
    color: var(--almanac-fg-secondary, #4A3F35);
    box-shadow: var(--rbx-shadow-sticker);
}
.ath-gp--roblox .ath-rbx-pill-overlay {
    top: .65rem; left: .65rem;
    transform: rotate(-3deg);
    transition: transform var(--almanac-duration-lg, 280ms) var(--almanac-ease-bounce);
}
.ath-gp--roblox .ath-rbx-card:hover .ath-rbx-pill-overlay { transform: rotate(-6deg) scale(1.06); }
.ath-gp--roblox .ath-rbx-live .ath-rbx-pill { background: var(--almanac-danger, #D14242); color: #fff; }
.ath-gp--roblox .ath-rbx-upcoming .ath-rbx-pill,
.ath-gp--roblox .ath-rbx-trending .ath-rbx-pill {
    background: var(--almanac-yellow, #FFD700);
    color: var(--almanac-fg-on-yellow);
}
.ath-gp--roblox .ath-rbx-ended .ath-rbx-pill {
    background: var(--almanac-bg-cream, #F5EFE0); color: var(--almanac-fg-tertiary, #6B5F53);
    border-color: var(--almanac-border, #EBE3D2); box-shadow: none; transform: rotate(-2deg);
}

.ath-gp--roblox .ath-rbx-interest-overlay {
    right: .65rem; bottom: .65rem;
    font-family: var(--almanac-font-display, inherit);
    font-size: .75rem; font-weight: 700; line-height: 1;
    background: var(--almanac-bg-canvas, #fff); color: var(--almanac-fg-primary, #1A1612);
    border: 2px solid var(--almanac-border, #EBE3D2);
    padding: .45em .85em;
    transform: rotate(1.8deg);
    box-shadow: var(--rbx-shadow-sticker);
    backdrop-filter: none;
}

/* ---- card body ---- */
.ath-gp--roblox .ath-rbx-card-body { position: relative; padding: .15rem .7rem .9rem; gap: .35rem; }
.ath-gp--roblox .ath-rbx-single-game .ath-rbx-card-body,
.ath-gp--roblox .ath-rbx-tracker .ath-rbx-card-body { padding-top: .5rem; }

/* game identity chip overlapping the media edge */
.ath-gp--roblox .ath-rbx-game {
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: .5rem;
    margin: -1.15rem 0 .1rem .1rem; position: relative; z-index: 2;
    background: var(--almanac-bg-canvas, #fff);
    border: 2px solid var(--almanac-border, #EBE3D2);
    border-radius: var(--almanac-radius-pill, 999px);
    padding: .28rem .9rem .28rem .3rem;
    font-family: var(--almanac-font-display, inherit);
    font-size: .8125rem; font-weight: 700; line-height: 1.2;
    letter-spacing: 0; text-transform: none;
    color: var(--almanac-fg-primary, #1A1612);
    transform: rotate(-1deg);
    box-shadow: var(--almanac-shadow-card, 0 2px 10px rgba(0,0,0,.08));
}
.ath-gp--roblox .ath-rbx-game-icon { width: 30px; height: 30px; border-radius: 9px; }

.ath-gp--roblox .ath-rbx-title {
    font-family: var(--almanac-font-display, inherit);
    font-size: 1.17rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em;
    margin: .15rem 0 0;
}
.ath-gp--roblox .ath-rbx-subtitle { font-size: .9375rem; color: var(--almanac-fg-secondary, #4A3F35); }
.ath-gp--roblox .ath-rbx-when { font-size: .8125rem; color: var(--almanac-fg-tertiary, #6B5F53); }

/* countdown toy-brick chip: always black-on-yellow, 3D pressed edge */
.ath-gp--roblox .ath-rbx-countdown { margin: .15rem 0 .05rem; }
.ath-gp--roblox .ath-rbx-chip {
    display: inline-flex; align-items: center; gap: .5em;
    font-family: var(--almanac-font-display, inherit);
    font-size: .8125rem; font-weight: 800; line-height: 1.2;
    background: var(--almanac-yellow, #FFD700);
    color: var(--almanac-fg-on-yellow);
    padding: .5em 1em;
    border-radius: var(--almanac-radius-pill, 999px);
    box-shadow: 0 3px 0 var(--almanac-yellow-deep, #E5BC00);
    min-height: 2em; min-width: 7em;
}
.ath-gp--roblox .ath-rbx-chip-live { background: var(--almanac-yellow, #FFD700); color: var(--almanac-fg-on-yellow); }
.ath-gp--roblox .ath-rbx-chip-live::before {
    content: ""; width: .5rem; height: .5rem; border-radius: 50%; flex: none;
    background: var(--almanac-danger, #D14242);
    animation: rbx-pulse 1.7s ease-in-out infinite;
}

/* tracker/trending card link */
.ath-gp--roblox .ath-rbx-link a {
    font-family: var(--almanac-font-display, inherit);
    font-size: .875rem; font-weight: 700;
    color: var(--almanac-tan-deep, #785F30);
    text-decoration: none;
    border-bottom: 2px solid var(--almanac-tan-soft, #EFE3CB);
}
.ath-gp--roblox .ath-rbx-link a:hover { color: var(--almanac-fg-primary, #1A1612); border-bottom-color: var(--almanac-yellow, #FFD700); }

/* ---- expand affordance + expanded panel ---- */
.ath-gp--roblox .ath-rbx-more {
    align-self: flex-start;
    margin-top: .3rem;
    font-family: var(--almanac-font-display, inherit);
    font-size: .8125rem; font-weight: 700; line-height: 1;
    color: var(--almanac-fg-secondary, #4A3F35);
    background: var(--almanac-bg-canvas, #fff);
    border: 2px solid var(--almanac-border, #EBE3D2);
    border-radius: var(--almanac-radius-pill, 999px);
    padding: .5em .95em;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--almanac-duration-lg, 280ms) var(--almanac-ease-bounce),
                background var(--almanac-duration, 180ms) var(--almanac-ease, ease),
                color var(--almanac-duration, 180ms) var(--almanac-ease, ease);
}
.ath-gp--roblox .ath-rbx-more:hover,
.ath-gp--roblox .ath-rbx-more[aria-expanded="true"] {
    background: var(--almanac-yellow, #FFD700);
    border-color: var(--almanac-bg-canvas, #fff);
    color: var(--almanac-fg-on-yellow);
    box-shadow: var(--rbx-shadow-sticker);
}
.ath-gp--roblox .ath-rbx-more:hover { transform: translateY(-2px); }

.ath-gp--roblox .ath-rbx-panel {
    border-top: 2px dashed var(--almanac-border, #EBE3D2);
    padding-top: .85rem; margin-top: .55rem;
}
.ath-gp--roblox .ath-rbx-panel:not([hidden]) { animation: rbx-pop var(--almanac-duration-lg, 280ms) var(--almanac-ease-bounce); }
@keyframes rbx-pop {
    from { opacity: 0; transform: translateY(-6px) scale(.98); }
    to { opacity: 1; transform: none; }
}
.ath-gp--roblox .ath-rbx-details-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
    gap: .6rem; margin: 0 0 .85rem;
}
.ath-gp--roblox .ath-rbx-detail {
    background: var(--almanac-bg-cream, #F5EFE0);
    border-radius: var(--almanac-radius-lg, 12px);
    padding: .55rem .7rem;
}
.ath-gp--roblox .ath-rbx-detail-label {
    display: block;
    font-family: var(--almanac-font-display, inherit);
    font-size: .68rem; font-weight: 800; line-height: 1.2;
    letter-spacing: .07em; text-transform: uppercase;
    color: var(--almanac-fg-tertiary, #6B5F53);
    margin-bottom: .2rem;
}
.ath-gp--roblox .ath-rbx-detail-value {
    font-family: var(--almanac-font-display, inherit);
    font-size: .875rem; font-weight: 700; line-height: 1.35;
    color: var(--almanac-fg-primary, #1A1612);
}
.ath-gp--roblox .ath-rbx-devnote {
    margin: 0 0 .9rem; padding: .7rem .9rem;
    background: var(--almanac-yellow-soft, #FFF4C2);
    color: var(--almanac-fg-primary, #1A1612);
    border-left: 5px solid var(--almanac-yellow, #FFD700);
    border-radius: var(--almanac-radius-lg, 12px);
}
.ath-gp--roblox .ath-rbx-devnote p { font-size: .9375rem; font-style: normal; color: var(--almanac-fg-primary, #1A1612); }
.ath-gp--roblox .ath-rbx-devnote cite { font-size: .8125rem; color: var(--almanac-fg-secondary, #4A3F35); }

.ath-gp--roblox .ath-rbx-panel-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.ath-gp--roblox .ath-rbx-panel-links .ath-rbx-btn {
    font-family: var(--almanac-font-display, inherit);
    font-size: .875rem; font-weight: 800; line-height: 1;
    background: var(--almanac-yellow, #FFD700);
    color: var(--almanac-fg-on-yellow);
    text-decoration: none;
    padding: .7em 1.2em;
    border-radius: var(--almanac-radius-pill, 999px);
    box-shadow: 0 3px 0 var(--almanac-yellow-deep, #E5BC00);
    transition: transform var(--almanac-duration-lg, 280ms) var(--almanac-ease-bounce);
}
.ath-gp--roblox .ath-rbx-panel-links .ath-rbx-btn:hover {
    transform: translateY(-2px) rotate(-1deg);
    color: var(--almanac-fg-on-yellow);
}
.ath-gp--roblox .ath-rbx-panel-links .ath-rbx-btn-ghost {
    font-family: var(--almanac-font-display, inherit);
    font-size: .8125rem; font-weight: 700; line-height: 1;
    color: var(--almanac-fg-secondary, #4A3F35);
    text-decoration: none;
    padding: .7em 1.1em;
    border-radius: var(--almanac-radius-pill, 999px);
    border: 2px solid var(--almanac-border, #EBE3D2);
    cursor: pointer;
}
.ath-gp--roblox .ath-rbx-panel-links .ath-rbx-btn-ghost:hover {
    border-color: var(--almanac-tan, #B2935B);
    color: var(--almanac-fg-primary, #1A1612);
}

.ath-gp--roblox .ath-rbx-attribution {
    max-width: 44rem; margin: 1.25rem auto 0;
    text-align: center; font-size: .75rem;
}

/* ---- related trackers strip: same DNA ---- */
.ath-gp--roblox .ath-gp-related-h {
    display: flex; align-items: center; gap: .7rem;
    font-size: 1.35rem; font-weight: 800; letter-spacing: -.015em;
    margin-bottom: 1.1rem;
}
.ath-gp--roblox .ath-gp-related-h::before {
    content: ""; width: 1rem; height: 1rem; flex: none;
    background: var(--almanac-tan, #B2935B);
    border-radius: .3rem;
    transform: rotate(-10deg);
    box-shadow: 0 2px 0 var(--almanac-tan-deep, #785F30);
}
.ath-gp--roblox .ath-gp-related a {
    border-width: 2px;
    border-radius: var(--almanac-radius-xl, 16px);
    padding: .85rem 1rem;
    box-shadow: var(--almanac-shadow-card, 0 2px 10px rgba(0,0,0,.08));
    transition: transform var(--almanac-duration-lg, 280ms) var(--almanac-ease-bounce),
                box-shadow var(--almanac-duration-lg, 280ms) var(--almanac-ease, ease);
}
.ath-gp--roblox .ath-gp-related a:hover {
    transform: translateY(-4px) rotate(-.5deg);
    box-shadow: var(--almanac-shadow-soft, 0 8px 24px rgba(0,0,0,.12));
}
.ath-gp--roblox .ath-gp-related li:nth-child(even) a:hover { transform: translateY(-4px) rotate(.5deg); }
.ath-gp--roblox .ath-gp-related-eyebrow { color: var(--almanac-tan-deep, #785F30); font-weight: 800; }

/* ---- motion safety ---- */
@media (prefers-reduced-motion: reduce) {
    .ath-gp--roblox .ath-rbx-h--live .ath-rbx-h-count::before,
    .ath-gp--roblox .ath-rbx-chip-live::before,
    .ath-gp--roblox .ath-rbx-panel:not([hidden]) { animation: none; }
    .ath-gp--roblox .ath-rbx-card,
    .ath-gp--roblox .ath-rbx-pill-overlay,
    .ath-gp--roblox .ath-rbx-hero-fan img,
    .ath-gp--roblox .ath-rbx-more,
    .ath-gp--roblox .ath-rbx-panel-links .ath-rbx-btn,
    .ath-gp--roblox .ath-gp-related a { transition: none; }
    .ath-gp--roblox .ath-rbx-card:hover,
    .ath-gp--roblox .ath-rbx-grid .ath-rbx-card:nth-child(even):hover,
    .ath-gp--roblox .ath-rbx-card:hover .ath-rbx-pill-overlay,
    .ath-gp--roblox .ath-rbx-hero-fan img:hover,
    .ath-gp--roblox .ath-rbx-more:hover,
    .ath-gp--roblox .ath-rbx-panel-links .ath-rbx-btn:hover,
    .ath-gp--roblox .ath-gp-related a:hover,
    .ath-gp--roblox .ath-gp-related li:nth-child(even) a:hover { transform: none; }
}

/* ---- mobile ---- */
@media (max-width: 640px) {
    .ath-gp--roblox .ath-rbx-hero-fan img { width: 58px; height: 58px; border-radius: 17px; }
    .ath-gp--roblox .ath-rbx-section { padding: 1.1rem .85rem 1.2rem; }
    .ath-gp--roblox .ath-rbx-h-rule { display: none; }
}

/* ============================================================
   v0.5.0 — sidebar widgets (ath_gp_sidebar) + whole-card click
   + desktop event dialog. Same block-party DNA, same scope.
   ============================================================ */

/* ---- sidebar widget boxes: sticker-frame the shared .ath-gp-widget chrome ---- */
.ath-gp--roblox .ath-gp-widget {
    background: var(--almanac-bg-canvas, #fff);
    border: 2px solid var(--almanac-border, #EBE3D2);
    border-radius: var(--rbx-radius-2xl);
    padding: 1.05rem 1.1rem 1.15rem;
    box-shadow: var(--almanac-shadow-card, 0 2px 10px rgba(0,0,0,.08));
}
.ath-gp--roblox .ath-gp-widget-h {
    display: flex; align-items: center; gap: .55rem;
    font-family: var(--almanac-font-display, inherit);
    font-size: .78rem; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--almanac-fg-secondary, #4A3F35);
    margin: 0 0 .85rem;
}
.ath-gp--roblox .ath-gp-widget-h::before {
    content: ""; width: .7rem; height: .7rem; flex: none;
    background: var(--almanac-yellow, #FFD700);
    border-radius: .22rem;
    transform: rotate(-8deg);
    box-shadow: 0 2px 0 var(--almanac-yellow-deep, #E5BC00);
}

/* at-a-glance / next-release header row */
.ath-gp--roblox .ath-rbx-w-glance { display: flex; align-items: center; gap: .85rem; }
.ath-gp--roblox .ath-rbx-w-icon {
    width: 54px; height: 54px; border-radius: 16px; flex: none;
    border: 2px solid var(--almanac-bg-canvas, #fff);
    box-shadow: var(--rbx-shadow-sticker);
    transform: rotate(-3deg);
}
.ath-gp--roblox .ath-rbx-w-stat { min-width: 0; }
.ath-gp--roblox .ath-rbx-w-num {
    display: block;
    font-family: var(--almanac-font-display, inherit);
    font-size: 1.4rem; font-weight: 800; line-height: 1.15;
    color: var(--almanac-fg-primary, #1A1612);
    font-variant-numeric: tabular-nums;
}
.ath-gp--roblox .ath-rbx-w-num-name { font-size: 1.05rem; }
.ath-gp--roblox .ath-rbx-w-lbl {
    display: block;
    font-family: var(--almanac-font-display, inherit);
    font-size: .66rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
    color: var(--almanac-fg-tertiary, #6B5F53);
    margin-top: .1rem;
}
.ath-gp--roblox .ath-rbx-w-next {
    border-top: 2px dashed var(--almanac-border, #EBE3D2);
    margin-top: .9rem; padding-top: .9rem;
}
.ath-gp--roblox .ath-rbx-w-next .ath-rbx-w-title {
    display: block;
    font-family: var(--almanac-font-display, inherit);
    font-size: .95rem; font-weight: 700; line-height: 1.3;
    color: var(--almanac-fg-primary, #1A1612);
    margin: .25rem 0 .6rem;
}
.ath-gp--roblox .ath-rbx-w-date {
    display: block; font-size: .8125rem;
    color: var(--almanac-fg-tertiary, #6B5F53);
    margin: 0 0 .6rem;
}
.ath-gp--roblox .ath-rbx-w-chip-big {
    display: inline-flex; width: 100%; justify-content: center;
    font-size: 1rem; padding: .75em 1em;
}

/* compact event/game rows */
.ath-gp--roblox .ath-rbx-w-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ath-gp--roblox .ath-rbx-w-list li { margin: 0; }
.ath-gp--roblox .ath-rbx-w-list li + li { border-top: 1px dashed var(--almanac-border, #EBE3D2); }
.ath-gp--roblox .ath-rbx-w-list a {
    display: flex; align-items: center; gap: .6rem;
    padding: .55rem .35rem;
    border-radius: var(--almanac-radius-lg, 12px);
    text-decoration: none;
    transition: background var(--almanac-duration, 180ms) var(--almanac-ease, ease);
}
.ath-gp--roblox .ath-rbx-w-list a:hover { background: var(--almanac-bg-cream, #F5EFE0); }
.ath-gp--roblox .ath-rbx-w-thumb {
    width: 28px; height: 28px; border-radius: 9px; flex: none;
    border: 2px solid var(--almanac-bg-canvas, #fff);
    box-shadow: var(--almanac-shadow-card, 0 2px 10px rgba(0,0,0,.08));
}
.ath-gp--roblox .ath-rbx-w-thumb-blank {
    display: block;
    background: linear-gradient(135deg, var(--almanac-yellow-soft, #FFF4C2), var(--almanac-tan-soft, #EFE3CB));
}
.ath-gp--roblox .ath-rbx-w-meta { flex: 1; min-width: 0; }
.ath-gp--roblox .ath-rbx-w-game {
    display: block;
    font-family: var(--almanac-font-display, inherit);
    font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    color: var(--almanac-fg-tertiary, #6B5F53);
}
.ath-gp--roblox .ath-rbx-w-ev {
    display: block;
    font-family: var(--almanac-font-display, inherit);
    font-size: .84rem; font-weight: 700; line-height: 1.35;
    color: var(--almanac-fg-secondary, #4A3F35);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ath-gp--roblox .ath-rbx-w-list a:hover .ath-rbx-w-ev { color: var(--almanac-fg-primary, #1A1612); }
.ath-gp--roblox .ath-rbx-w-count {
    flex: none;
    font-family: var(--almanac-font-display, inherit);
    font-size: .68rem; font-weight: 800; line-height: 1;
    background: var(--almanac-yellow-soft, #FFF4C2);
    color: var(--almanac-fg-secondary, #4A3F35);
    padding: .45em .7em;
    border-radius: var(--almanac-radius-pill, 999px);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.ath-gp--roblox .ath-rbx-w-count-live {
    background: var(--almanac-danger-soft, #FAE7E3);
    color: var(--almanac-fg-secondary, #4A3F35);
}

/* ---- whole-card click affordance ---- */
.ath-gp--roblox .ath-rbx-card-clickable { cursor: pointer; }
.ath-gp--roblox .ath-rbx-card-clickable:focus-visible {
    outline: 3px solid var(--almanac-yellow, #FFD700);
    outline-offset: 3px;
}

/* Cards that link to their own event page: nudge the "full guide" affordance. */
.ath-gp--roblox .ath-rbx-readpage { font-weight: 600; }

/* Single-event card (standalone event page): centre one card, don't stretch it. */
.ath-gp--roblox .ath-rbx-grid--single {
    grid-template-columns: minmax(0, 460px);
    justify-content: center;
}

/* ---- desktop event dialog: sticker-frame modal ---- */
.ath-gp--roblox .ath-rbx-dialog {
    position: fixed;
    width: min(92vw, 720px);
    max-height: 88vh;
    margin: auto;
    padding: .6rem;
    background: var(--almanac-bg-canvas, #fff);
    border: 2px solid var(--almanac-border, #EBE3D2);
    border-radius: var(--rbx-radius-2xl);
    box-shadow: 0 24px 64px rgba(26, 22, 18, .3);
    overflow: auto;
    overscroll-behavior: contain;
    color: var(--almanac-fg-primary, #1A1612);
}
.ath-gp--roblox .ath-rbx-dialog::backdrop { background: rgba(26, 22, 18, .55); }
.ath-gp--roblox .ath-rbx-dialog[open] { animation: rbx-pop var(--almanac-duration-lg, 280ms) var(--almanac-ease-bounce); }

.ath-gp--roblox .ath-rbx-dialog-close {
    position: absolute; top: 1.05rem; right: 1.05rem; z-index: 4;
    width: 2.4rem; height: 2.4rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem; font-weight: 800; line-height: 1;
    color: var(--almanac-fg-primary, #1A1612);
    background: var(--almanac-bg-canvas, #fff);
    border: 2px solid var(--almanac-border, #EBE3D2);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--rbx-shadow-sticker);
    transition: transform var(--almanac-duration-lg, 280ms) var(--almanac-ease-bounce),
                background var(--almanac-duration, 180ms) var(--almanac-ease, ease);
}
.ath-gp--roblox .ath-rbx-dialog-close:hover {
    background: var(--almanac-yellow, #FFD700);
    color: var(--almanac-fg-on-yellow);
    border-color: var(--almanac-bg-canvas, #fff);
    transform: rotate(90deg) scale(1.06);
}

/* enlarged artwork: full image (contain), no 16:9 crop */
.ath-gp--roblox .ath-rbx-dialog-media {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    background: var(--almanac-bg-cream, #F5EFE0);
    border-radius: calc(var(--rbx-radius-2xl) - .6rem);
    overflow: hidden;
    min-height: 150px;
}
.ath-gp--roblox .ath-rbx-dialog-media > img {
    display: block;
    width: 100%; max-width: 680px; height: auto;
    max-height: 58vh;
    object-fit: contain;
    margin: 0 auto;
}
.ath-gp--roblox .ath-rbx-dialog-media .ath-rbx-media-fallback {
    position: static; inset: auto;
    width: 100%; height: 210px;
    display: flex; align-items: center; justify-content: center;
}
.ath-gp--roblox .ath-rbx-dialog-media .ath-rbx-fallback-icon {
    position: static;
    width: 96px; height: 96px; border-radius: 26px;
    border: 3px solid var(--almanac-bg-canvas, #fff);
    box-shadow: var(--almanac-shadow-card, 0 2px 10px rgba(0,0,0,.08));
    transform: rotate(-5deg);
}
.ath-gp--roblox .ath-rbx-dialog-media .ath-rbx-pill-overlay { top: .8rem; left: .8rem; }

.ath-gp--roblox .ath-rbx-dialog-body { padding: .35rem .85rem 1.1rem; }
.ath-gp--roblox .ath-rbx-dialog-body .ath-rbx-game { margin: -1.4rem 0 .4rem .35rem; }
.ath-gp--roblox .ath-rbx-dialog-body .ath-rbx-title { font-size: 1.45rem; margin: .35rem 0 .1rem; }
.ath-gp--roblox .ath-rbx-dialog-body .ath-rbx-subtitle { margin: .25rem 0 0; }
.ath-gp--roblox .ath-rbx-dialog-body .ath-rbx-when { margin: .35rem 0 0; font-size: .875rem; }
.ath-gp--roblox .ath-rbx-dialog-body .ath-rbx-countdown { margin: .55rem 0 0; }
.ath-gp--roblox .ath-rbx-dialog-body .ath-rbx-panel { margin-top: .9rem; padding-top: .95rem; animation: none; }

@media (prefers-reduced-motion: reduce) {
    .ath-gp--roblox .ath-rbx-dialog[open] { animation: none; }
    .ath-gp--roblox .ath-rbx-dialog-close,
    .ath-gp--roblox .ath-rbx-w-list a { transition: none; }
    .ath-gp--roblox .ath-rbx-dialog-close:hover { transform: none; }
}

/* ============================== Recurring-series card (v0.7.0) ============================== */
.ath-rbx-series-card .ath-rbx-windows {
    margin: var(--almanac-space-sm, .75rem) 0 .3rem;
    padding: .6rem .75rem;
    background: var(--almanac-bg-mist, #f0efeb);
    border: 1px solid var(--almanac-border-faint, #eee);
    border-radius: var(--almanac-radius-md, 8px);
}
.ath-rbx-series-card .ath-rbx-windows-h {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--almanac-fg-tertiary, #777);
    margin-bottom: .35rem;
}
.ath-rbx-series-card .ath-rbx-windows-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.ath-rbx-series-card .ath-rbx-windows-list li {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .84rem;
    color: var(--almanac-fg-primary, #222);
}
.ath-rbx-series-card .ath-rbx-windows-list li::before {
    content: "";
    flex: 0 0 auto;
    width: .4rem;
    height: .4rem;
    border-radius: 50%;
    background: var(--almanac-tan-deep, #8a6d3b);
}
.ath-rbx-series-card .ath-rbx-window-time { font-variant-numeric: tabular-nums; }
.ath-rbx-series-card .ath-rbx-cadence {
    margin: .3rem 0 .4rem;
    font-size: .82rem;
    color: var(--almanac-fg-secondary, #555);
}
.ath-rbx-series-card .ath-rbx-series-proj {
    margin: .3rem 0 0;
    font-size: .78rem;
    line-height: 1.4;
    color: var(--almanac-fg-tertiary, #777);
    font-style: italic;
}
.ath-rbx-single-series .ath-rbx-series-card .ath-rbx-chip { font-size: .9rem; padding: .34rem .85rem; }
