.abyss-anomaly-screen .anomaly-milestone-panel>summary,.abyss-anomaly-screen .anomaly-synergy-notes>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;cursor:pointer;flex-wrap:wrap}
.abyss-anomaly-screen .anomaly-milestone-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.abyss-anomaly-screen .anomaly-milestone-card{display:flex;flex-direction:column;gap:6px;min-width:0;padding:10px;background:rgba(20,10,15,.65);border:1px solid #78505d;border-radius:4px;overflow-wrap:anywhere}
.abyss-anomaly-screen .anomaly-milestone-card>strong{color:var(--primary-text,#f4cd80)}
.abyss-anomaly-screen .anomaly-milestone-card>span{font-size:var(--ga-font-body,1rem)}
.abyss-anomaly-screen .anomaly-milestone-card>small{font-size:var(--ga-font-note,.857rem);color:var(--muted)}
.abyss-anomaly-screen .anomaly-synergy-entry{border-top:1px solid #78505d;margin-top:8px;padding-top:4px}
.abyss-anomaly-screen .anomaly-synergy-entry>summary{display:flex;justify-content:space-between;gap:8px;align-items:center;min-height:44px;cursor:pointer;flex-wrap:wrap}
.abyss-anomaly-screen .anomaly-synergy-components{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0}
.abyss-anomaly-screen .anomaly-synergy-components>span{display:flex;flex-direction:column;gap:4px;align-items:center;text-align:center;border:1px solid #6b4a56;padding:8px 4px;overflow-wrap:anywhere;min-width:0}
.abyss-anomaly-screen .anomaly-synergy-components .is-owned{border-color:#b08d4b;background:rgba(176,141,75,.12)}
.abyss-anomaly-screen .anomaly-synergy-components img{width:36px;height:36px;object-fit:contain}
.anomaly-synergy-badge{display:block;font-size:.78rem;line-height:1.45;color:#f3d493;background:#45202e;border:1px solid #906070;border-radius:3px;padding:3px 5px;overflow-wrap:anywhere}
.anomaly-milestone-backdrop{position:fixed;inset:0;z-index:2050;background:rgba(8,5,9,.82);display:flex;align-items:center;justify-content:center;padding:12px}
.anomaly-milestone-dialog{display:flex;flex-direction:column;gap:8px;background:#23151e;border:1px solid #aa7787;border-radius:4px;padding:14px;width:min(600px,100%);max-height:calc(100dvh - 24px);overflow:hidden;box-sizing:border-box;color:var(--text)}
.anomaly-milestone-dialog h2,.anomaly-milestone-dialog p{margin:0;overflow-wrap:anywhere}
.anomaly-milestone-dialog input{font:inherit;font-size:16px;min-height:44px;width:100%;box-sizing:border-box}
.anomaly-milestone-choice-list{min-height:0;overflow:auto;display:grid;grid-auto-rows:max-content;align-content:start;gap:8px;overscroll-behavior:contain}
.anomaly-milestone-choice{display:flex;align-items:flex-start;gap:10px;padding:10px;min-width:0;text-align:left;flex-shrink:0}
.anomaly-milestone-choice>span{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}
.anomaly-milestone-choice img{width:40px;height:40px;object-fit:contain;flex-shrink:0}
.anomaly-milestone-choice>.magic-orb{width:40px;height:40px;flex:0 0 40px}
.anomaly-milestone-choice>span:not(.magic-orb){flex:1}
.anomaly-milestone-choice>span>span{font-weight:400;font-size:var(--ga-font-note,.857rem);line-height:1.55}
.anomaly-milestone-choice[aria-pressed=true]{border-color:#edbd62;background:#4e2938}
.anomaly-milestone-dialog footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex-shrink:0;border-top:1px solid #78505d;padding-top:8px}
.anomaly-milestone-dialog footer p{grid-column:1/-1}
.anomaly-milestone-dialog footer button{padding:8px;font-size:.875rem;white-space:normal;min-width:0}
.anomaly-milestone-dialog>h2{font-size:1.125rem;line-height:1.3}
.anomaly-milestone-dialog>p{font-size:.875rem;line-height:1.5}
.anomaly-milestone-dialog footer p{font-size:var(--ga-font-note,.857rem)}
.abyss-anomaly-screen .anomaly-weekend-clock{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:var(--ga-font-note,.857rem)}
.anomaly-milestone-dialog>h2,.anomaly-milestone-dialog>p,.anomaly-milestone-dialog>label,.anomaly-milestone-dialog>input{flex-shrink:0}
.abyss-anomaly-screen .anomaly-milestone-dialog :is(h2,p){margin:0}
.anomaly-milestone-choice>.magic-orb{display:inline-grid}
@media(min-width:640px){.abyss-anomaly-screen .anomaly-milestone-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.anomaly-milestone-dialog{scroll-behavior:auto}}
.anomaly-quick-battle{--battle-speed-factor:.25}
