                .main-holder .demiplane-credits {
      font-size: var(--font-size-small-1);
      font-family: "Good OT";
      border-top: 1px solid var(--book-accent-color-2);
      padding: 20px 0px;
      margin: 50px 0;
      color: var(--book-off-black);
      
      & h2 {
          font-size: var(--font-size-1);
          font-family: "GoodOT-Bold";
          color: var(--book-accent-color-1);
      }
  }            

/* Monsters with pluralized names */
.trait-holder:has([data-single-name=""]) {
    background: #a6a6ed  !important;
    & .left-header:after {
        content: "Missing data-single-name";
        margin-left: 20px;
        font-size: 15px;
    }
}

.main-holder .spacer {
    margin-bottom: 50px;
}                                                                           /*Temporary*/
.main-holder tooltip {color: magenta;} 

.force-clear {
    clear: both;
}

 :root{
    --readaloud-color: var(--book-header-color-1);
    --book-header-color-1: #0a2560; /*dark blue*/
    --book-off-black: #58585a;
    --book-accent-color-1: #b1423a; /*circus red*/
    --book-accent-color-2: #885737; /*ruddy oragne*/
    /*-----*/
    --book-header-font-1: "GoodOT-Bold";
    --book-header-font-2: "GoodOT-Bold";
    --book-header-font-3: "HenryRodeoCircus"; /*Book Title Font*/
    --book-header-font-4: "CBGBFont"; /*Secondary book title font*/
    --book-handout-font-1: "Ex Ponto";
     /*-----*/
  --base-font: 18px;
  --font-scale: 1.2;

  --font-size-1: var(--base-font);

  --font-size-2: calc(var(--base-font) * var(--font-scale));

  --font-size-3: calc(var(--font-size-2) * var(--font-scale));

  --font-size-4: calc(var(--font-size-3) * var(--font-scale));

  --font-size-5: calc(var(--font-size-4) * var(--font-scale));

  --font-size-6: calc(var(--font-size-5) * var(--font-scale));

  --font-size-7: calc(var(--font-size-6) * var(--font-scale));

  --font-size-8: calc(var(--font-size-7) * var(--font-scale));

  --font-size-small-1: calc(var(--base-font) / var(--font-scale));

  --font-size-small-2: calc(var(--font-size-small-1) / var(--font-scale));

  --font-size-small-3: calc(var(--font-size-small-2) / var(--font-scale));
}

/*Fonts*/

/* PF Main Fonts */
@font-face {
  font-family: "Good OT";
  src: url("https://content.demiplane.com/fonts/GoodOT.otf")
    format("opentype");
}

@font-face {
  font-family: "GoodOT-Bold";
  src: url("https://content.demiplane.com/fonts/GoodOT-Bold.otf")
    format("opentype");
}

@font-face {
  font-family: "GoodOT-CondBold";
  src: url("https://content.demiplane.com/fonts/GoodOT-CondBold.otf")
    format("opentype");
}



/* Specific Fonts */

@font-face {
  font-family: "HenryRodeoCircus";
  src: url("https://content.demiplane.com/fonts/HenryRodeoCircus.ttf")
    format("truetype");
}

@font-face {
  font-family: "CBGBFont";
  src: url("https://content.demiplane.com/fonts/cbgb-fixed.otf")
    format("opentype");
}

@font-face {
  font-family: "SourceSerif";
  src: url("https://content.demiplane.com/fonts/Source Serif Pro Bold.ttf")
    format("truetype");
}

.reader-container .body-background {
background: linear-gradient(rgba(237,235,230,0.3), rgba(237,235,230,0.5)), url("https://content.demiplane.com/compendium/pathfinder-2e/extinction-curse-the-show-must-go-on/css/exc-bg1.jpg") !important;
  background-size: 100% !important;
  background-repeat: no-repeat !important;
  background-position: bottom !important;
}

@media only screen and (max-width: 1200px) {
.reader-container .body-background {
background: linear-gradient(rgba(237,235,230,0.3), rgba(237,235,230,0.5)), url("https://content.demiplane.com/compendium/pathfinder-2e/extinction-curse-the-show-must-go-on/css/exc-bg1.jpg") !important;
  background-size: 110% !important;
  background-repeat: no-repeat !important;
  background-position: bottom !important;
}
}

@media only screen and (max-width: 1000px) {
.reader-container .body-background {
background: linear-gradient(rgba(237,235,230,0.3), rgba(237,235,230,0.5)), url("https://content.demiplane.com/compendium/pathfinder-2e/extinction-curse-the-show-must-go-on/css/exc-bgmobile.jpg") !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: bottom !important;
}
}

.main-holder {
    background-color: transparent
}

.main-holder .center-rule {
    text-align: center;
    margin: 30px;
    font-family: "GoodOT-Bold";
}

.main-holder .npcrole {
    font-style: italic;
    opacity: 0.9;
}

.main-holder > h1 {
    font-family: var(--book-header-font-3);
    text-align: center;
    color: var(--book-header-color-1);
    font-size: var(--font-size-8);
    line-height: 1;
    text-transform: none;
    background-image: url("https://content.demiplane.com/compendium/pathfinder-2e/extinction-curse-the-show-must-go-on/css/exc-header-background.jpg");
    background-size: cover;
    background-position: top;
    text-shadow: 0px 0px 20px white;
    padding: 40px 10px 30px;
    background-repeat: no-repeat;
    margin-top: -10px;
    margin-bottom: 30px;
    z-index: 9001;
    display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border-image-slice:
10px;
border-image-width:
0px 400px 15px;
border-image-outset:
0px;
border-image-repeat:
stretch stretch;
border-image-source: url("https://content.demiplane.com/compendium/pathfinder-2e/extinction-curse-the-show-must-go-on/css/Star Border.jpg");

}

.main-holder > h1 > span { /*Improves spacing for Chapter label on APs*/
    font-size: var(--font-size-5);
    line-height: 1;
    text-transform: uppercase;
    margin-top: 10px;
    
    & span {
        font-family: "SourceSerif";
    }
}

.main-holder > h1 .campaign-npc {
    font-size: var(--font-size-2);
    color: var(--book-accent-color-1);
    font-style: italic;
    padding-top: 10px;
}

@media only screen and (max-width: 500px) {
    
    .main-holder > h1 {
        font-size: var(--font-size-5);
    }
    
    .main-holder > h1 > span {
        font-size: var(--font-size-2);
    }
    
    .main-holder > h1 .campaign-npc {
        font-size: var(--font-size-1);
    }
}

.main-holder .npc {
    margin-top: 70px;
}

.main-holder > h2 {
    color: var(--book-accent-color-1);
    font-family: var(--book-header-font-4);
    line-height: 1;
    font-size: var(--font-size-3);
    text-transform: none;
}

.main-holder > .adv-summary {
    color: var(--book-off-black);
    font-family: var(--book-header-font-1);
    line-height: 1;
    font-size: calc(var(--font-size-2)*1.1);
    text-transform: none;
    margin-bottom: -5px;
}

.main-holder > h3 {
    font-family: "GoodOT-CondBold";
    color: var(--book-header-color-1);
    font-size: var(--font-size-3);
}

.main-holder > h4 {
    color: var(--book-accent-color-1);
    font-family: "GoodOT-CondBold";
    line-height: 1;
    font-size: calc(var(--font-size-3)*0.9);
    text-transform: none;
}

.main-holder > h5 {
    font-family: "GoodOT-CondBold";
    font-size: var(--font-size-2);
}

.main-holder > .book-styled-block, .main-holder > .sidebar {
    background-image: url("https://content.demiplane.com/compendium/pathfinder-2e/extinction-curse-the-show-must-go-on/css/exc-header-background.jpg");
    background-size: cover;
    background-position: top;
    padding: 60px 65px 50px !important;
    background-repeat: no-repeat;
    margin-top: 30px;
    margin-bottom: 30px;
    z-index: 9001;
  position: relative;
  border-image-slice:
10px;
border-image-width:
0px 400px 15px;
border-image-outset:
0px;
border-image-repeat:
stretch stretch;
border-image-source: url("https://content.demiplane.com/compendium/pathfinder-2e/extinction-curse-the-show-must-go-on/css/Star Border.jpg");

& p {
    color: black;
    font-size: var(--font-size-2);
    font-family: "GoodOT";
}

& h5 {
    font-size: var(--font-size-3) !important;
    text-align: center;
    font-family: "GoodOT-Bold";
    
    & strong {
        color: var(--book-accent-color-1);
        text-shadow: 0px 0px 15px white;
    }
}

& li {
    color: black;
    font-family: "GoodOT";
    line-height: 1.5;
    font-size: var(--font-size-2);
    
    &::marker {
        color: var(--book-accent-color-1);
    }
    
    & a, .reader-link, .tooltip-convert {
        filter: brightness(80%);
        font-family: "GoodOT-CondBold";
    }
    
}
}

.main-holder > .sidebar-v2 {
    background-image: url("https://content.demiplane.com/compendium/pathfinder-2e/extinction-curse-the-show-must-go-on/css/EC-Sidebar Background.jpg");
    background-size: cover;
    background-position: center;
    padding: 50px 50px;
    background-repeat: no-repeat;
    margin-top: 30px;
    margin-bottom: 30px;
    z-index: 9001;
  position: relative;
  border-image-slice:
10px;
border-image-width:
0px 400px 15px;
border-image-outset:
0px;
border-image-repeat:
stretch stretch;
border-image-source: url("https://content.demiplane.com/compendium/pathfinder-2e/extinction-curse-the-show-must-go-on/css/Star Border.jpg");

& p {
    color: black;
    font-size: var(--font-size-2);
    font-family: "GoodOT";
}

& h5 {
    font-size: var(--font-size-3) !important;
    text-align: center;
    font-family: "GoodOT-Bold";
    
    & strong {
        color: var(--book-accent-color-1);
        text-shadow: 0px 0px 15px white;
    }
}

& li {
    color: black;
    font-family: "GoodOT";
    line-height: 1.5;
    font-size: var(--font-size-2);
    
    &::marker {
        color: var(--book-accent-color-1);
    }
    
    & a, .reader-link, .tooltip-convert {
        filter: brightness(80%);
        font-family: "GoodOT-CondBold";
    }
    
}
}


@media only screen and (max-width: 500px) {
    .main-holder > .book-styled-block, .main-holder > .sidebar {
        margin: 60px 20px;
    }
}

.main-holder > .book-styled-block > .trait-holder {
    background-color: #f3f2f2;
}



.main-holder > h2.split-header {
    color: var(--book-accent-color-1);
    font-family: var(--book-header-font-4);
    line-height: 1;
    font-size: var(--font-size-3);
    text-align: left;
    text-transform: none;
    border-bottom: 0px;
}

.main-holder > h3.split-header {
   font-family: "GoodOT-CondBold";
    color: var(--book-header-color-1);
    font-size: var(--font-size-3);
    text-align: left;
    border-bottom: 0px;
}

.main-holder > h4.split-header {
    border-bottom: 0px;
}

@media only screen and (max-width: 500px) {
    .main-holder > h4.split-header {
    font-size: var(--font-size-1);
}
}

.main-holder > .standard-table th, .main-holder table th {
    background-color: #550000;
    font-family: "Good OT";
    font-size: var(--font-size-1);
}


.main-holder > .standard-table td, .main-holder table td {
    font-family: "Good OT";
    color: var(--book-off-black);
}

.main-holder > .standard-table td strong, .main-holder table td strong {
    font-family: "GoodOT-CondBold";
}

.main-holder > .standard-table td, .main-holder table td {
    border-right: 1px solid var(--book-header-color-1);
}

.main-holder > .adv-track {
   background-image: url("https://content.demiplane.com/compendium/pathfinder-2e/extinction-curse-the-show-must-go-on/css/Background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 50px 30px;
    color: var(--book-off-black);
    margin: 50px auto;
    border-image-slice:
10px;
border-image-width:
15px 400px 15px;
border-image-outset:
0px;
border-image-repeat:
stretch stretch;
border-image-source: url("https://content.demiplane.com/compendium/pathfinder-2e/extinction-curse-the-show-must-go-on/css/Star Border.jpg");
& h5 {
    text-align: center;
    font-family: "GoodOT-Bold";
    font-size: var(--font-size-3);
    text-transform: none;
    color: var(--book-accent-color-1);
}

& p {
    text-align: center;
}

& table {
    background-color: transparent;
    text-align: left !important;
    
}

& table td {
    border: none;
    text-align: left !important;
}

& table p {
    
    text-align: left !important;
}

& td:not(:last-child) {
    font-size: var(--font-size-5);
    font-family: var(--book-header-font-4);
    color: var(--book-header-color-1);
    letter-spacing: -3px;
}
}

.main-holder table .table-topper {
        background-color: #1c2c58;
       
        font-family: "GoodOT-Bold";
    }

/* Images & Subtitles */

.image-so {
  shape-margin: 8px;
  padding: 0px;
  position: relative;
}

.book-image-center {
  margin-left: auto;
  margin-right: auto;
}

.force-image-left {
  float: left;
}

.force-image-right {
  float: right;
}

.image-with-subtitle-center {
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 30px !important;
  padding-top: 20px;
}

.main-holder > .image-with-subtitle-center p, .main-holder > .image-with-subtitle-left p, .main-holder > .image-with-subtitle-right p {
    color: var(--book-header-color-1);
}

.image-with-subtitle-left {
    margin-right: 10px;
}

.main-holder > .image-with-subtitle-center p {
    
    font-family: var(--book-header-font-2);
}

.main-holder > .image-with-subtitle-center a,
.main-holder > .image-with-subtitle-left a, 
.main-holder > .image-with-subtitle-right a {
    font-family: var(--book-header-font-2);
    color: var(--book-accent-color-1);
}

.image-so > p {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  font-family: var(--book-header-font-4);
  font-size: var(--font-size-small-1);
  padding: 5px 20px;
  margin-left: auto;
  margin-right: auto;
  color: white !important;
  background-image: url("https://content.demiplane.com/compendium/pathfinder-2e/extinction-curse-the-show-must-go-on/css/No Star Border.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0px 0px 5px #282525 !important;
  z-index: 1001;
}

.image-so.alt > p {
  background-image: none;
  color: white;
  box-shadow: none;
}

@media only screen and (max-width: 600px) {
  .book-image-right {
    float: none;
    display: block;
    margin: 0 auto;
  }

  .force-image-right {
    float: none;
    display: block;
    margin: 0 auto;
  }

  .image-with-subtitle-right {
    float: none;
    display: block;
    margin: 0 auto;
  }

  .book-image-left {
    float: none;
    display: block;
    margin: 0 auto;
  }

  .force-image-left {
    float: none;
    display: block;
    margin: 0 auto;
  }

  .image-with-subtitle-left {
    float: none;
    display: block;
    margin: 0 auto;
  }
}

/* Handouts */

.book-handout-1 {
    margin: 10px 0px;
    border-radius: 20px;
    padding: 25px;
    background-image: url(https://content.demiplane.com/compendium/pathfinder-2e/curtain-call-stage-fright/css/handout-bg.jpg?format=webp);
    background-size: cover;
    background-position: bottom;
}

.book-handout-1 p {
    font-family: var(--book-handout-font-1);
    color: black;
    font-size: var(--font-size-3);
    letter-spacing: 1px;
}

.book-handout-1 h5 {
    text-align: right;
    opacity: 50%;
    padding: 0px;
    margin: -8px;
}

/* Other */

.main-holder .map-left {
    margin-right: 20px;
    margin-bottom: -10px;
}

.main-holder .signature {
    text-align: right;
}

.main-holder .flip-image {
    transform: scaleX(-1);
}

.main-holder .readaloud-block {
    margin: 30px 0px;
}

.main-holder .trait-holder {
     border-image-slice:
10px;
border-image-width:
0px 400px 15px;
border-image-outset:
0px;
border-image-repeat:
stretch stretch;
border-image-source: url("https://content.demiplane.com/compendium/pathfinder-2e/extinction-curse-the-show-must-go-on/css/Star Border.jpg");
background-color: #f4ede3;
    margin-bottom: 30px;
    box-shadow: 0px 0px 3px #81889a;
}
/*Image Wizard Styles*/
.image-pzo-jellico-bouncebounce {
  width: 310px;
  shape-outside: polygon(55.81% 0.79%, 42.58% 18.93%, 27.74% 34.51%, 0.32% 48.93%, 1.94% 61.49%, 28.71% 73.35%, 77.42% 105.44%, 95.48% 99.16%, 109.68% 0.32%);
}
 {
}
