.raid-board.egg-guide {
    --header-map: url("/art/eggs/night-incubator.webp");
    --map-position: 49%;
    padding-bottom: 24px;
}
.egg-guide .raid-masthead::before { width: min(100%, 630px); }
.egg-guide .raid-masthead h1 { text-wrap: balance; }
.egg-toolbar .board-search { max-width: 390px; }
.egg-hide-collected { flex: none; font-size: .875rem; font-weight: 620; }
.egg-guide[data-only-needed] .egg-lineup li:has([data-owned]),
.egg-guide[data-only-needed] .hatch-list [data-owned] { display: none; }
.egg-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 21px 0 12px; }
.egg-section-head h2 { font: 680 1.75rem/1.1 Cond,sans-serif; }
.egg-section-head p, .egg-notes, .egg-none { font-size: .88rem; color: var(--muted); }
.egg-section-head p { margin-top: 4px; }
.egg-section-head time { white-space: nowrap; }
.egg-jump, .egg-archive > summary { font-size: .88rem; font-weight: 620; color: var(--gold); }
.egg-jump { flex: none; padding-block: 6px; }
.egg-jump:hover, .egg-archive > summary:hover, .egg-pool a:hover { text-decoration: underline; text-underline-offset: .18em; }
.egg-warning { margin: 0 0 12px; color: var(--gold); }
.egg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); align-items: start; gap: 16px; }
.egg-pool { --accent: #a9c4e9; min-width: 0; background: var(--panel); border: 1px solid var(--edge); border-radius: 12px; box-shadow: 0 3px 8px #0002; }
.egg-pool[data-km="2"] { --accent: #a6d895; }
.egg-pool[data-km="5"] { --accent: #ecc284; }
.egg-pool[data-km="7"] { --accent: #efa6a2; }
.egg-pool[data-km="10"] { --accent: #c2a6e9; }
.egg-pool[data-km="12"] { --accent: #ed9693; }
.egg-stage {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    min-height: 111px; gap: 8px; padding: 12px 16px 12px 18px;
    border-bottom: 1px solid #ffffff08;
}
.egg-stage h3 { margin: 6px 0 0; font: 710 2.35rem/1.02 Cond,sans-serif; letter-spacing: -.025em; }
.egg-portrait {
    position: relative; isolation: isolate; display: grid; place-items: center;
    width: 84px; height: 84px;
}
.egg-portrait img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 3px #13141650); }
.egg-portrait .egg-sprite { transform: scale(1.18) translateY(-12%); }
.egg-advice { padding: 11px 16px 13px; border-top: 1px solid var(--edge); }
.egg-verdict { display: block; font-size: .92rem; font-weight: 690; margin-bottom: 3px; }
.egg-pool[data-pick="hatch"] .egg-verdict { color: var(--gold); }
.egg-pool[data-pick="skip"] .egg-verdict { color: var(--teal); }
.egg-reason { font-size: .91rem; line-height: 1.45; color: #c6cad0; }
.egg-shortcuts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; margin-top: 6px; font-size: .84rem; }
.egg-shortcuts span { color: var(--muted); }
.egg-shortcuts a, .hatch-finder { color: var(--teal); }
.egg-pool summary {
    display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 15px;
    color: var(--paper); font: 630 .88rem/1.25 Sans,sans-serif; list-style: none; cursor: pointer;
}
.egg-pool summary::-webkit-details-marker { display: none; }
.egg-pool summary:hover { background-color: #ffffff06; }
.egg-pool summary:focus-visible { outline-offset: -3px; }
.egg-checklist-label { margin-left: auto; color: var(--muted); font-size: .8rem; }
.egg-disclosure { margin-inline-end: 2px; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s ease-out; }
.egg-pool details[open] .egg-disclosure { transform: translateY(2px) rotate(225deg); }
.egg-lineup {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 9px 3px;
    list-style: none; margin: 0; padding: 0 10px 14px;
}
.egg-pool details[open] + .egg-lineup { display: none; }
.egg-lineup li { display: grid; justify-items: center; align-content: start; gap: 2px; padding: 2px; }
.egg-lineup a { padding: 2px 1px; text-align: center; font: 580 .79rem/1.22 Sans,sans-serif; overflow-wrap: anywhere; border-radius: 3px; }
.egg-lineup a:hover { color: var(--gold); }
.egg-lineup-art { position: relative; display: block; padding: 0; border-radius: 9px; }
.egg-lineup-art:enabled:hover { background: #ffffff09; }
.egg-lineup-art:enabled:active img { transform: scale(.95); }
.egg-pool button[data-preview]:disabled { opacity: 1; }
.egg-lineup-art img { display: block; width: 60px; height: 60px; object-fit: contain; }
.egg-owned-mark {
    position: absolute; bottom: 0; right: -1px; display: none; place-items: center; width: 18px; height: 18px;
    color: #bee4cf; background: #273a33; border: 1px solid #7baf95; border-radius: 50%; font: 700 .71rem/1 Sans,sans-serif;
}
[data-owned] .egg-owned-mark { display: grid; }
.egg-pool [data-owned] img { filter: saturate(.22); opacity: .7; }
.hatch-list { margin: 0; padding: 0 14px; list-style: none; }
.hatch-list li { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-top: 1px solid var(--edge); }
.hatch-list label[for] { flex: none; cursor: pointer; }
.hatch-list img { display: block; object-fit: contain; }
.hatch-name { flex: 1; min-width: 0; line-height: 1.25; }
.hatch-name strong, .hatch-name small, .hatch-status { display: block; }
.hatch-name strong { font-size: .98rem; }
.hatch-name small, .hatch-status { margin-top: 3px; font-size: .77rem; color: var(--muted); }
.hatch-finder { display: inline-block; padding: 4px 0; font-size: .81rem; }
.have-hatch { flex: none; display: grid; justify-items: center; align-content: center; gap: 3px; min-width: 54px; min-height: 48px; }
.ball-caption { color: var(--muted); font: 650 .69rem/1.2 Sans,sans-serif; }
.ball-caption span:last-child, .have-hatch input:checked ~ .ball-caption span:first-child { display: none; }
.have-hatch input:checked ~ .ball-caption span:last-child { display: inline; color: var(--gold); }
.hatch-list li[data-owned] strong { color: var(--muted); }
.egg-events { margin-top: 26px; scroll-margin-top: 12px; }
.egg-events .egg-grid:not(:empty) { margin: 10px 0; }
.egg-archive > summary { width: fit-content; padding: 10px 0; cursor: pointer; }
.egg-archive > summary span { margin-left: 4px; color: var(--muted); }
.egg-event-head { padding: 12px 16px; border-bottom: 1px solid var(--edge); }
.egg-event-head h4 { margin: 3px 0 6px; font: 680 1.45rem/1.15 Cond,sans-serif; }
.egg-window-state { color: var(--muted); font-size: .78rem; font-weight: 660; }
[data-event-group="active"] .egg-window-state { color: var(--teal); }
.egg-dates, .egg-event-note { color: var(--muted); font-size: .83rem; }
.egg-event-note { margin-top: 4px; }
.egg-notes { margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--edge); }
.egg-notes p + p { margin-top: 3px; }
.hatch-list:target { scroll-margin-top: 60px; }
.egg-pool:has(.hatch-list:target) { border-color: var(--accent); }
.egg-sources { background: #242a2a; border-color: #424e49; border-top-color: #acd3ae; }
.egg-source { border-bottom: 1px solid #46514d; }
.egg-source:first-of-type { margin-top: 10px; }
.egg-source summary { min-height: 44px; padding-block: 11px; cursor: pointer; color: var(--paper); }
.egg-source summary::marker { color: #b5dbc1; }
.egg-source summary strong { display: inline-block; min-width: 3.6em; margin-left: 4px; }
.egg-source[open] { padding-bottom: 14px; }
.egg-source[open] summary { color: #c8e8ce; }
.egg-source p { margin-top: 0; }
.egg-sources a { display: inline-block; margin-top: 10px; color: #c1e6cf; text-decoration: underline; text-underline-offset: .18em; }
.egg-sources a:hover { color: white; }
@media (max-width: 900px) {
    .egg-toolbar .board-search { max-width: 100%; }
}
@media (max-width: 700px) {
    .egg-toolbar .raid-filters { gap: 4px; }
    .egg-toolbar .raid-filters a { flex: 1 0 auto; padding-inline: 6px; }
    .egg-toolbar .distance-word { display: none; }
    .egg-guide .raid-masthead::before {
        width: min(100%, 440px); mask-image: linear-gradient(90deg, transparent 4%, #0008 49%, black 74%, black 89%, transparent);
        background-image: linear-gradient(90deg, #181a21ef, #181a2180 76%), var(--header-map);
    }
    .egg-section-head { margin: 13px 0 10px; }
    .egg-section-head h2 { font-size: 1.55rem; }
    .egg-section-head p, .egg-jump { font-size: .8rem; }
    .egg-grid { gap: 12px; }
    .egg-stage { min-height: 96px; padding-block: 8px; }
    .egg-portrait { width: 76px; height: 76px; }
}
@media (max-width: 600px) {
    .egg-toolbar:has(.board-search) .raid-filters { display: grid; flex-basis: 100%; grid-template-columns: repeat(auto-fit, minmax(38px, 1fr)); gap: 3px; }
    .egg-toolbar .raid-filters a { padding-inline: 0; }
    body:has(.egg-guide) .mast nav { min-width: 0; flex-wrap: nowrap; justify-content: space-between; gap: 4px; }
}
