
#adventures-wrap {
    display: flex;
    flex-direction: row;
    position: absolute;
    left: calc(var(--cell-size) * 2 - 1rem);
    right: 0;
    bottom: 0;
    overflow: hidden;
    overflow-x: scroll;
    pointer-events: all;
}
#selected-adventures .selected-adventure {
    padding-right: 2rem;
    margin-right: 1rem;
    margin-top: 3rem;
    min-width: 20rem;
    border-left: 1px solid white;
    color: white;
    border-top: 1px solid white;
    min-height: calc(var(--person-token-height) + 3rem);
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    background: linear-gradient(black, transparent);
}

#selected-adventures:not(.show-options) .selected-adventure {
    background: linear-gradient(#00000080, transparent);
}
#selected-adventures {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: end;
    width: 100%;
    pointer-events: all;
    touch-action: auto;
}
#selected-adventures .selected-adventure h3 {
    position: absolute;
    transform: translateY(-100%);
    margin-right:2rem;
    margin:0;
    left: 1.5rem;
    max-width: calc(100% - 3rem);
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: nowrap;
}

.selected-adventure .adventure-headline:hover {
    color: #42b2bd;
    cursor: pointer;
}

.selected-adventure .adventure-staging-btn {
    position: absolute;
    left: 0;
    top: -1.5ch;
    color: white;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0;
    margin: 0;
    height: 1.5ch;
}
.selected-adventure .icon-menu-open,
.selected-adventure .icon-menu-close,
.selected-adventure .adventure-staging-btn svg {
    height: 1.5rem;
    width: 1.5rem;
}
.selected-adventure .adventure-staging-btn::after {
    display:none;
}
.selected-adventure.completed .adventure-abort {
    display:none;
}
.selected-adventure .adventure-abort:hover {
    color: red;
}
.selected-adventure .adventure-toggle-options {
    left: unset;
    right: 0rem;
}
.selected-adventure .adventure-toggle-options:hover svg {
    fill: #42B2BD;
}
.selected-adventure.show-options .adventure-toggle-options .icon-menu-close,
.selected-adventure:not(.show-options) .adventure-toggle-options .icon-menu-open {
    display: unset;
}
.selected-adventure:not(.show-options) .adventure-toggle-options .icon-menu-close,
.selected-adventure.show-options .adventure-toggle-options .icon-menu-open {
    display: none;
}


.selected-adventure .adventure-mission-report {
    z-index: 1;
    pointer-events: all;
    height: calc(100% - 1rem);
    position: absolute;
    top: 0;
    margin: 0;
    width: 100%;
    display: none;
}
.selected-adventure.completed .adventure-mission-report {
    display: block;
}

.selected-adventure .resource-value-pair {
    flex-direction: row;
    font-size: 1em;
}

.selected-adventure .timer-wrap {
    --countdown-diameter: calc(var(--person-token-height) + var(--countdown-outer-ring) + 0.5rem);
    --countdown-outer-ring: 1.25rem;
    /*--color-countdown-bg: #336d71;*/
    /*--color-countdown: #42b2bd;*/
    bottom: 0;
    left: 0;
    position: absolute;
    width: calc(var(--person-token-height) + var(--countdown-outer-ring) + 0.5rem);
    height: calc(var(--person-token-height) + 2.5rem);
}
.selected-adventure .timer-wrap .time-left {
    margin: 0;
    top: calc(1rem - var(--countdown-outer-ring) / 2);
    left: calc(2rem - var(--countdown-outer-ring) / 2);
}

.selected-adventure button:after{
    padding:0.25rem;
    bottom:-1rem;
    left:-0.25rem;
    border-radius: var(--rounded-border-zoomable);
}
.selected-adventure button>span {
    border-radius: var(--rounded-border-zoomable);
}






#popup-adventure-result.visible,
#popup-adventure-choices.visible {
    display: flex;
}

#popup-adventure-choices-background {
    position: absolute;
    display: block;
    background-color: black;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    touch-action: none;
    transition: opacity 0.2s ease-in-out;
    top: 0;
}
#popup-adventure-choices-background.visible {
    pointer-events: all;
    touch-action: auto;
    opacity: 0.85;
}

#popup-adventure-result,
#popup-adventure-choices {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    flex-direction: column;
    align-items: center;
    max-height: calc(100vh - 1em);
    overflow-y: scroll;
    overflow-x: hidden;
}
#popup-adventure-choices {
    align-items: center;
}

#adventure-choice-reroll {
    display: none;
    padding: 48px;
    height: 48px;
    width: 48px;
    margin-bottom: 2ch;
    cursor: pointer;
    pointer-events: auto;
    touch-action: auto;
}
#adventure-choice-reroll.visible {
    display: block;
}
.no-content #adventure-choice-reroll {
    display: none;
}
#adventure-choice-reroll.not-enough-coin {
    cursor: not-allowed;
}
#adventure-choice-reroll svg {
    transition: transform ease-in-out 0.3s;
}
#adventure-choice-reroll.force-hover svg,
#adventure-choice-reroll:hover svg {
    transform: rotate(180deg);
    fill: #42B2BD;
}
#adventure-choice-reroll.not-enough-coin.force-hover svg,
#adventure-choice-reroll.not-enough-coin:hover svg {
    fill: darkred;
}
#adventure-choice-reroll .denar-explanation {
    display: none;
    flex-direction: row;
    gap: 10px;
    color: white;
    font-size: 24px;
    white-space: nowrap;
    position: absolute;
    left: calc(50% - 150px);
    width: 300px;
    justify-content: center;
    align-items: center;
}
#adventure-choice-reroll.not-enough-coin .denar-explanation {
    color: darkred;
}
#adventure-choice-reroll.force-hover .denar-explanation,
#adventure-choice-reroll:hover .denar-explanation {
    display: flex;
}
@media (hover: none) {
    #adventure-choice-reroll .denar-explanation {
        display: flex;
    }
}
#adventure-choice-reroll .denar-explanation>img {
    height: 32px;
    width: 32px;
}
#adventure-choice-reroll .denar-explanation>.coin-count {
    font-size: 32px;
}
#adventure-choice-reroll .current-coins-resources {
    position: absolute;
    bottom: -2ch;
    font-size: 16px;
    color: #aaa;
}
#adventure-choice-reroll .current-coins-resources .resource-value-pair {
    flex-direction: row;
}


#popup-adventure-result {
    min-width: 70vw;
}
@media only screen and (max-width: 799px) {
    #popup-adventure-result {
        min-width: 90vw;
    }
}


#popup-adventure-choices.no-content {
    pointer-events: none;
    touch-action: none;
}

#popup-adventure-choices {
    pointer-events: none;
    touch-action: none;
}
#popup-adventure-choices .content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    pointer-events: auto;
    touch-action: auto;
}

@media only screen and (max-width: 799px) {
    #popup-adventure-choices .content {
        flex-direction: column;
    }
}

#popup-adventure-choices .content .error-message{
    margin: 3em auto;
    text-align: center;
    color: #c6b78b;
}

#popup-adventure-choices h3 {
    font-size: 1em;
    color: #3e3327;
    font-weight: 100;
    width: 100%;
}


#popup-adventure-choices .adventure-choice {
    min-width: 20vw;
    flex-grow: 1;
    font-size: 18px;
}

@media only screen and (max-width: 1023px) {
    #popup-adventure-choices .adventure-choice {
        max-width: 30vw;
    }
}
@media only screen and (max-width: 799px) {
    #popup-adventure-choices .adventure-choice {
        max-width: unset;
        min-height: 80vh;
        width: 90vw;
    }
    #popup-adventure-choices .adventure-choice > span {
        min-height: 80vh !important;
    }
}

#popup-adventure-choices .adventure-choice>span {
    min-height: 60vh;
    position: relative;
}
#popup-adventure-choices .adventure-choice>span>img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
    border-radius: calc(var(--rounded-border) - 2px);
    object-fit: cover;
}

#popup-adventure-choices .adventure-choice .adventure-choice-headline p,
#popup-adventure-choices .adventure-choice .adventure-choice-headline h3 {
    margin:0;
}

#popup-adventure-choices .abort-button>span {
    height: 4em;
    max-width: 6em;
}

.difficulty-moderate .adventure-choice-stats {
    filter: hue-rotate(-15deg);
}
.difficulty-challenging .adventure-choice-stats,
.difficulty-relentless .adventure-choice-stats{
    filter: hue-rotate(-30deg);
}
.difficulty-heroic .adventure-choice-stats,
.difficulty-insane .adventure-choice-stats{
    filter: hue-rotate(-60deg);
}
.difficulty-impossible .adventure-choice-stats{
    filter: hue-rotate(-90deg);
}

#popup-adventure-choices .adventure-choice-headline.parchment,
#popup-adventure-choices .adventure-choice-desc.parchment {
    z-index: 1;
    padding: 1em;
    margin: 1em;
    position: absolute;
    bottom: 0;
    animation:pop-in 0.2s ease-in-out;
    transform-origin: bottom;
    font-size: 18px;
}

#popup-adventure-choices .adventure-choice-desc.parchment {
    display: none;
}
#popup-adventure-choices .adventure-choice:hover .adventure-choice-desc.parchment {
    display: block;
    z-index: 2;
    min-height: 6em;
}
#popup-adventure-choices .adventure-choice-headline.parchment {
    margin: 1.5em;
    width: 6em;
    padding: 0.75em;
    min-height: 4em;
    display: flex;
    align-items: center;
}



#popup-adventure-choices .adventure-choice-desc p {
    text-shadow: none;
    text-align: center;
    font-size: 1em;
    font-weight: 100;
}

.adventure-choice-stats {
    background-image: url('../images/webp/adventure-choice-stats-bg_100.webp');
    position: absolute;
    top: 0;
    left: 0;
    background-size: 100% 100%;
    padding: 1em 0.5em 0.5em 0.5em;
    margin-top: -0.2em;
    margin-left: -0.5em;
    text-align: left;
    width: 3em;
    z-index: 1;
    font-size: 18px;
}

#popup-adventure-result .adventure-choice-stats {
    float: left;
    transform: translate(-0.5em, -0.5em);
    position: relative;
    margin-left: -1.5em;
    margin-top: -1.5em;
    margin-bottom: -1em;
}

@media only screen and (min-width: 800px) {
    #popup-adventure-result .adventure-choice-stats {
        position: absolute;
        margin-left: unset;
        margin-top: 0.25em;
    }

    .report {
        padding: 4em 4em 4em 6em !important;
    }
}

.adventure-choice-stats p,
.adventure-choice-stats .resource-value-pair {
    font-size: 1em;
    margin: 0;
    text-shadow: none;
    mix-blend-mode: overlay;
    color: white;
    font-weight: bold;
}
.adventure-choice-stats .resource-value-pair {
    max-width: 0.6em;
}

.adventure-choice-stats .difficulty-wrap {
    writing-mode: tb; /* sideways-lr is only supported by firefox right now */
    margin: 0;
    font-size: 2em;
    padding: 1em 0;
    color: #caa869;
    text-shadow: none;
    mix-blend-mode: overlay;
}

.adventure-choice-stats .loot-scale {
    display: inline-block;
    width: 1em;
    height: 1em;
    background: url('../images/icon-loot-scale-7.svg');
    background-size: 100%;
    margin-top: 0.25em;
    mix-blend-mode: overlay;
}
.expected-loot-1 .adventure-choice-stats .loot-scale{
    background: url('../images/icon-loot-scale-1.svg');
    background-size: 100%;
}
.expected-loot-2 .adventure-choice-stats .loot-scale{
    background: url('../images/icon-loot-scale-2.svg');
    background-size: 100%;
}
.expected-loot-3 .adventure-choice-stats .loot-scale{
    background: url('../images/icon-loot-scale-3.svg');
    background-size: 100%;
}
.expected-loot-4 .adventure-choice-stats .loot-scale {
    background: url('../images/icon-loot-scale-4.svg');
    background-size: 100%;
}
.expected-loot-5 .adventure-choice-stats .loot-scale {
    background: url('../images/icon-loot-scale-5.svg');
    background-size: 100%;
}
.expected-loot-6 .adventure-choice-stats .loot-scale {
    background: url('../images/icon-loot-scale-6.svg');
    background-size: 100%;
}


.adventure-choice-stats .required-persons-display {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 3em;
}

/* MISSION REPORT */

.adventure-mission-report {
    display: none;
}

#popup-adventure-result {
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: calc(100vh - 1em);
    flex-flow: column;
    flex-wrap: nowrap;
    text-align: center;
    font-size: clamp(14px, 4vw, 18px);
}

#popup-adventure-result>img {
    height: 80vh;
    width: calc(100% + 25px); /* 25px to cover every scrollbar width, even at high DPI scaling */
    object-fit: cover;
    object-position: center;
    margin-left: -1em;
    position: absolute;
    mask-image: linear-gradient(white 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(white 90%, transparent 100%);
}

#popup-adventure-result>.report {
    margin-top: 70vh;
    max-width: 600px;
    z-index: 1;
}


#popup-adventure-result .rewards-wrap {
    border-top: 0.25em solid #336d71;
    width: 100%;
}


/* table */
#popup-adventure-result details {
    width: 100%;
}
#popup-adventure-result details>summary {
    padding: 1em 0;
    margin-bottom: 1em;
    cursor: pointer;
    background-color: #336d71;
}
#popup-adventure-result #mission-stat-details {
    width: 100%;
}
#popup-adventure-result #mission-stat-details tbody tr:nth-child(odd) {
    background-color: #336d71;
}
#popup-adventure-result #mission-stat-details tbody td {
    padding: 1em 0.5em;
}
#popup-adventure-result #mission-stat-details .stats-fulfilled-false {
    color: yellow;
}


#popup-adventure-result #mission-stat-details .outcome-critical {
    color: greenyellow;
    text-decoration: underline;
}


#popup-adventure-result #mission-stat-details .extra-bonus,
#popup-adventure-result #mission-stat-details .ability-fulfilled,
#popup-adventure-result #mission-stat-details .outcome-good,
#popup-adventure-result #mission-stat-details .outcome-neutral,
#popup-adventure-result #mission-stat-details .dice-true {
    color: greenyellow;
}
#popup-adventure-result #mission-stat-details .outcome-bad,
#popup-adventure-result #mission-stat-details .dice-false {
    color: red;
}

#popup-adventure-result #btn-claim {
    margin-bottom: 3em;
    width: 100%;
}

/* PAPER LOOK OF THE REPORT */

.parchment {
    position: relative;
    padding: 2em;
    margin: 2em;
    color: #333;
    text-shadow: none;
}

.parchment .background{
    will-change: filter, transform;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 2px 3px 20px black, 0 0 125px #8f5922 inset;
    filter: url(#parchment-edge) drop-shadow(0 0 20px #000);
    /* https://codepen.io/AgnusDei/pen/NWPbOxL */
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJ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lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==), #fffef0;
    z-index: -1;
}
.adventure-choice .parchment .background{
    filter: url(#parchment-edge-1);
}
.adventure-choice:nth-of-type(2) .parchment .background{
    filter: url(#parchment-edge-2);
}
.adventure-choice:nth-of-type(3) .parchment .background{
    filter: url(#parchment-edge-3);
}
/* Disable filter on iOS Safari (leads to graphical bug) */
@supports (-webkit-touch-callout: none) {
    .parchment .background {
        filter: unset;
    }
}
.parchment .folds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(#fff3, #fff0 2% 24%, #fff2 25%, #4321 0, #0000 27% 48%, #9632 50%, #fff2 0, #fff0 52% 73%, #9632 75%, #fff3 0, #fff0 78% 97%, #9632);
    mask-image: radial-gradient(ellipse, #e66465 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse, #e66465 40%, transparent 80%);
}

.report > p {
    text-align: left;
    line-height: 1.5;
}

.report > .ominous {
    opacity: 0.3;
    color: darkred;
    font-weight: 600;
}

.report h3 {
    margin: 0;
    font-size: 1.5em;
    text-align: center;
    color: #555;
}

.report .signature {
    float: right;
    font-style: italic;
}



/* special designs for very special adventures */
.adventure-choice.report-design-main-quest > span{
    background-color: #F59E00;
    box-shadow: inset 0 0.035em 0 var(--button-color-highlight), 0 0.45em 0 #846e38;
}
.adventure-choice.report-design-main-quest > span:hover:not(:active) {
    background-color: #D08600;
    box-shadow: inset 0 0.035em 0 var(--button-color-highlight), 0 0.45em 0 #715f33;
}
.adventure-choice.report-design-main-quest > span:active {
    background-color: #D08600;
    box-shadow:inset 0 0.075em 0 var(--button-color-highlight), inset 0 -0.2em 0 #715f33;

}
.window.report-design-main-quest {
    background-color: #111110;
}

.report-design-main-quest .parchment {
    padding: 3em;
    font-size: 1.25em;
}
.report-design-main-quest .parchment h3 {
    color: #331d01;
}
.report-design-main-quest .parchment p {
    line-height: 2;
}
.report-design-main-quest .parchment .background {
    box-shadow: 0 0 100px #1e80b0 inset;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbe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op+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==), #7ac9e1;
}



.adventure-options {
    padding: 0;
    margin: 0.5rem auto;
    position: relative;
    max-height: 0.5rem;
    opacity: 0;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.show-options .adventure-options {
    max-height: 10rem;
    opacity: 1;
}

.adventure-options .win-chance {
    position: absolute;
    left: 13.2rem;
    top: 3.75rem;
    display: block;
    width: 4rem;
    font-size: 2rem;
    text-align: center;
    pointer-events: none;
    touch-action: none;
}

.adventure-options .win-chance.preview {
    color: #ffc957;
}


.adventure-options .helpful-traits {
    position: absolute;
    top: 0.3rem;
    right: 7.5rem;
    text-wrap: nowrap;
}

.adventure-options .helpful-traits .ability-fulfilled {
    color: #42b2bd;
    font-weight: 800;
}

.adventure-options .helpful-traits .ability-fulfilled.preview {
    color: #ffc957;
}

.adventure-options .option-list {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 0;
    bottom: 0.1rem;
    transform: translateX(100%);
}

.adventure-options .option-list label {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0.44rem 0.44rem 0.44rem -0.1rem;
}

.adventure-options .option-list input[type="checkbox"] {
    padding: 0;
    margin: 0;
    height: 1.25rem;
    width: 1.25rem;
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-content: center;
    justify-content: center;
    border: 0.15rem solid white;
    border-radius: 0.2rem;
    font-size: 2rem;
    position: relative;
}

.adventure-options .option-list .locked input[type="checkbox"] {
    background-color: grey;
}

.adventure-options .option-list input[type="checkbox"]:checked {
    background-color: #42b2bd;
}


.adventure-options .option-list input[type="checkbox"]::before {
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(0);
    background-size: 100%;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2224px%22%20viewBox%3D%220%20-960%20960%20960%22%20width%3D%2224px%22%20fill%3D%22%23FFFFFF%22%3E%3Cpath%20d%3D%22M382-240%20154-468l57-57%20171%20171%20367-367%2057%2057-424%20424Z%22%2F%3E%3C%2Fsvg%3E");
    position: absolute;
}

.adventure-options .option-list input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.adventure-options .option-list input[type="checkbox"]:checked:hover::before,
.adventure-options .option-list input[type="checkbox"]:hover {
    background-color: #42b2bd80;
}

.adventure-options .option-list label>img {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.25rem;
}

.selected-adventure[data-traits-status='full'] .adventure-options .traits-circle {
    fill: #43b3be !important;
}
.selected-adventure[data-traits-status='partly'] .adventure-options .traits-star {
    fill: #43b3be !important;
}

.adventure-options .bar-work:hover .bar-outline,
.adventure-options .bar-forage:hover .bar-outline,
.adventure-options .bar-build:hover .bar-outline,
.adventure-options .bar-work:hover .thumb-outline,
.adventure-options .bar-forage:hover .thumb-outline,
.adventure-options .bar-build:hover .thumb-outline {
    stroke: #42b2bd;
}

.adventure-options .bar-work .thumb:hover .cross,
.adventure-options .bar-forage .thumb:hover .cross,
.adventure-options .bar-build .thumb:hover .cross {
    fill: #42b2bd;
}

.adventure-options .traits-icon:hover .traits-circle {
    stroke: #42b2bd;
}

.adventure-options .win-chance-area:hover .open-circle {
    stroke: #42b2bd;
}
