#log .move.color0 {
    background-color: yellow;
    color: black;
}

#log .move.color1 {
    background-color: red;
    color: black;
}

#log .move.color2 {
    background-color: blue;
    color: white;
}

#log .move.color3 {
    background-color: green;
    color: white;
}

#log .move.color4 {
    background-color: lightgray;
}

#log .move.color5 {
    background-color: black;
    color: white;
}


#log .action img.die {
    width: 1.2em;
    height: auto;
}

/* Atomic copied-die payments are already identified before the action arrow. */
#log .pulsar-log-copy-cost {
    white-space: nowrap;
}

#log .actionPlayDie:is(:where([data-gcf-pulsar2849-h0]),:not(*) .pulsar-log-copy-cost) > .effect0.effectPayCubes {
    display: none;
}

#log .action img.explorationBonusTile {
    width: 2.5em;
    height: auto;
    vertical-align: middle;
}

#log .action .transmitter {
    display: inline-block;
}

#log .action .gyrodyne,
#log .action img[src*="modifier"] {
    width: 1.8em;
    height: 1.8em;
    object-fit: contain;
    vertical-align: middle;
}

#log .actionVisit .effect::before,
#log .pulsar-log-flight .effect::before {
    content: ', ';
}

#log .action .transmitter img.boardImage {
    width: 5em;
}

#log .action img.pulsar-log-system {
    width: 5em;
    height: auto;
    vertical-align: middle;
}

#log .action img.pulsar-log-patent {
    width: 5em;
    height: auto;
    vertical-align: middle;
}

.pulsar-log-hq-project {
    display: inline-block;
    width: 7em;
    padding: 0;
    border: 0;
    background: transparent;
    vertical-align: middle;
    cursor: pointer;
}

.pulsar-log-hq-project > span {
    display: block;
    position: relative;
    overflow: hidden;
}

.pulsar-log-hq-project img {
    position: absolute;
    max-width: none;
    height: auto;
}

.pulsar-log-hq-enlarged {
    width: min(26rem, calc(100vw - 5rem));
}

#log .pulsar-log-heading {
    margin: 0;
    font-size: 1em;
    font-weight: 600;
}

#log .move.pulsar-production-heading {
    display: none;
}

#log .actionProduction > .effect::before {
    content: none;
}

#log .actionProduction, #log .actionPrepareNextRound {
    background: #112030;
    color: #e6f0fc;
    padding: .5rem;
}

#log .pulsar-log-production {
    display: grid;
    gap: .35rem;
    margin-top: .4rem;
}

#log .pulsar-log-production-row {
    display: grid;
    grid-template-columns: minmax(5rem, 32%) 1fr;
    gap: .4rem;
    align-items: start;
}

#log .pulsar-log-production-row > span {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

#log .pulsar-log-production-player {
    display: inline-flex;
    align-items: center;
    gap: .15rem;
    white-space: nowrap;
}

#log .pulsar-log-production img {
    width: 1.4rem;
    height: 1.4rem;
    object-fit: contain;
}

#log .pulsar-log-goal {
    display: inline-flex;
    align-items: center;
    gap: .25em;
    vertical-align: middle;
}

#log .pulsar-log-goal .pulsar-goal-icon {
    width: 3em;
    height: 2.2em;
    flex: none;
}

#log .pulsar-log-goal-result {
    display: block;
}

#log .pulsar-log-goal-upgrade {
    display: inline-block;
    white-space: nowrap;
}

#log .pulsar-log-goal-result > span img {
    vertical-align: middle;
}

#log .pulsar-log-goal-help {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

/* The summary already places each recorded reward beside its own goal. */
#log .action:is(:where([data-gcf-pulsar2849-h1]),:not(*) .pulsar-log-goal-scoring) > .effect {
    display: none;
}
