@font-face {
  font-family: "TimesNewRoman";
  src: url("../assets/fonts/times-new-roman-regular.ttf") format("truetype");
}
@font-face {
  font-family: "BaskervilleBold";
  src: url("../assets/fonts/baskerville-bold.ttf") format("truetype");
}
:root {
  --font-primary: "TimesNewRoman", serif;
  --font-size-standard: 0.8rem;
  --background-image-base: url("../assets/ui/prism_rpg_background.webp");
  --font-secondary: "BaskervilleBold", serif;
  --logo-standard: url("../assets/ui/prism-rpg-logo-01.webp");
}
.tab[data-group]:not(.active) {
  display: none;
}
.initiative-area {
  min-width: 8rem;
  max-width: 8rem;
  display: flex;
  flex-direction: row;
}
.initiative-area input {
  min-width: 3rem;
  max-width: 3rem;
}
#logo {
  content: var(--logo-standard);
  width: 50px;
  height: 50px;
  margin-left: 15px;
}
#pause > img {
  content: var(--logo-standard);
  height: 192px;
  top: -45px;
  left: calc(50% - 96px);
}
i.prismrpg {
  width: 36px;
  height: 36px;
  background-image: var(--logo-standard);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  position: relative;
  filter: grayscale(1);
  transition: 0.3s;
}
.application.dialog.prismrpg {
  font-family: var(--font-primary);
  font-size: calc(var(--font-size-standard) * 1);
  background-image: var(--background-image-base);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.application.dialog.prismrpg .window-content {
  background-image: var(--background-image-base);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.application.dialog.prismrpg button:hover {
  background: var(--color-dark-6);
}
.application.dialog.prismrpg .legend {
  font-family: var(--font-primary);
}
#tooltip.tooltip-avantages {
  max-width: 550px;
  text-align: left;
}
.chat-message,
.chat-message.whisper {
  font-family: var(--font-primary);
  background-image: var(--background-image-base);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.combat-sidebar li.combatant .token-initiative .initiative {
  margin-right: 16px;
}
.combat-sidebar li.combatant .token-initiative {
  flex: none;
}
.initiative-minus {
  margin-right: 8px;
}
.prismrpg {
  /* Weapon Types Configuration Dialog */
}
.prismrpg .character-sheet-common label {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
}
.prismrpg .item-sheet-common {
  overflow: auto;
}
.prismrpg .item-sheet-common .form-fields {
  padding-top: 4px;
}
.prismrpg .item-sheet-common .form-group {
  display: flex;
  flex: 1;
  flex-direction: row;
}
.prismrpg .item-sheet-common .form-group label {
  align-content: center;
  min-width: 10rem;
  max-width: 10rem;
}
.prismrpg .item-sheet-common .form-group select,
.prismrpg .item-sheet-common .form-group input {
  text-align: left;
  min-width: 12rem;
  max-width: 12rem;
}
.prismrpg .item-sheet-common .form-group input[type="checkbox"] {
  min-width: 1.2rem;
  max-width: 1.2rem;
  margin-right: 0.5rem;
}
.prismrpg .item-sheet-common label {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
  flex: 50%;
}
.prismrpg .item-sheet-common .align-top {
  align-self: flex-start;
  padding: 0.1rem;
  margin-right: 0.2rem;
}
.prismrpg .item-sheet-common .shift-right {
  margin-left: 2rem;
}
.prismrpg .character-content {
  font-family: var(--font-primary);
  font-size: calc(var(--font-size-standard) * 1);
  color: var(--color-dark-1);
  background-image: url("../assets/ui/prism_rpg_background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: scroll;
}
.prismrpg .character-content nav.tabs {
  background-image: url("../assets/ui/prism_rpg_background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2px 0;
}
.prismrpg .character-content nav.tabs [data-tab] {
  color: #636060;
  font-size: calc(var(--font-size-standard) * 1.1);
  font-family: var(--font-secondary);
  font-weight: bold;
  padding: 3px 16px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.prismrpg .character-content nav.tabs [data-tab]:hover {
  background-color: rgba(255, 255, 255, 0.7);
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-color: rgba(107, 107, 107, 0.3);
}
.prismrpg .character-content nav.tabs [data-tab].active {
  color: #000000;
  background-color: rgba(255, 255, 255, 0.85);
  text-shadow: 1px 1px 3px #ffffff;
  border: 2px solid #6b6b6b;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}
.prismrpg .character-content nav.tabs [data-tab].active:hover {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
  border-color: #4a4a4a;
}
.prismrpg .character-content input:disabled,
.prismrpg .character-content select:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  color: var(--color-dark-3);
}
.prismrpg .character-content input,
.prismrpg .character-content select {
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-color: var(--color-dark-6);
  color: var(--color-dark-2);
}
.prismrpg .character-content input[name="name"] {
  height: 2.5rem;
  margin-right: 4px;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  border: none;
}
.prismrpg .character-content fieldset {
  margin-bottom: 4px;
  border-radius: 4px;
}
.prismrpg .character-content .form-fields input,
.prismrpg .character-content .form-fields select {
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .character-content .form-fields select {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .character-content legend {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  letter-spacing: 1px;
}
.prismrpg .character-content label {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
}
.prismrpg .character-main {
  display: flex;
}
.prismrpg .character-main .character-pc {
  display: flex;
  gap: 10px;
  flex: 1;
}
.prismrpg .character-main .character-pc .character-left {
  min-width: 200px;
  max-width: 200px;
  display: flex;
  flex-direction: column;
}
.prismrpg .character-main .character-pc .character-left .character-left-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 8px;
}
.prismrpg .character-main .character-pc .character-left .character-left-image .character-img {
  height: 140px;
  width: 140px;
  width: auto;
  border: none;
}
.prismrpg .character-main .character-pc .character-left .character-hp {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-bottom: 4px;
}
.prismrpg .character-main .character-pc .character-left .character-hp .name {
  flex: none;
  min-width: 2.5rem;
  max-width: 2.5rem;
}
.prismrpg .character-main .character-pc .character-left .character-hp input {
  flex: none;
  min-width: 2.2rem;
  max-width: 2.2rem;
  margin-left: 4px;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .character-main .character-pc .character-left .character-hp .character-hp-max {
  clear: both;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 4px 0;
  align-items: center;
}
.prismrpg .character-main .character-pc .character-left .character-hp .character-hp-max input {
  width: 3.2rem;
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .character-main .character-pc .character-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.prismrpg .character-main .character-pc .character-right .character-name {
  display: flex;
}
.prismrpg .character-main .character-pc .character-right .character-name input {
  width: 400px;
}
.prismrpg .character-main .character-pc-play {
  min-width: 320px;
}
.prismrpg .character-main .character-pc-edit {
  min-width: 320px;
}
.prismrpg .character-main .character-characteristics {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.prismrpg .character-main .character-characteristics .character-characteristic {
  display: flex;
  align-items: center;
}
.prismrpg .character-main .character-characteristics .character-characteristic span {
  min-width: 2.2rem;
  max-width: 2.2rem;
}
.prismrpg .character-main .character-characteristics .character-characteristic .rollable:hover,
.prismrpg .character-main .character-characteristics .character-characteristic .rollable:focus {
  text-shadow: 0 0 8px var(--color-shadow-primary);
  cursor: pointer;
}
.prismrpg .character-main .character-characteristics .character-characteristic .form-group {
  flex: 1;
  padding-left: 4px;
}
.prismrpg .character-main .character-characteristics .character-characteristic .form-group .form-fields {
  flex: none;
  width: 3rem;
}
.prismrpg .character-main .character-challenges {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.prismrpg .character-main .character-challenges .character-challenge {
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
}
.prismrpg .character-main .character-challenges .character-challenge .rollable:hover,
.prismrpg .character-main .character-challenges .character-challenge .rollable:focus {
  text-shadow: 0 0 8px var(--color-shadow-primary);
  cursor: pointer;
}
.prismrpg .character-main .character-challenges .character-challenge .name {
  flex: 1;
  min-width: 3rem;
  margin-left: 0.5rem;
}
.prismrpg .character-main .character-challenges .character-challenge .form-group {
  flex: 1;
  padding-left: 4px;
}
.prismrpg .character-main .character-challenges .character-challenge .form-group .form-fields {
  flex: none;
  width: 50px;
}
.prismrpg .character-main .character-movements {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.prismrpg .character-main .character-movements .character-movement {
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
}
.prismrpg .character-main .character-movements .character-movement .rollable:hover,
.prismrpg .character-main .character-movements .character-movement .rollable:focus {
  text-shadow: 0 0 8px var(--color-shadow-primary);
  cursor: pointer;
}
.prismrpg .character-main .character-movements .character-movement .name {
  flex: 1;
  min-width: 3rem;
  margin-left: 0.5rem;
}
.prismrpg .character-main .character-movements .character-movement .form-group {
  flex: 1;
  padding-left: 4px;
}
.prismrpg .character-main .character-movements .character-movement .form-group .form-fields {
  flex: none;
  width: 50px;
}
.prismrpg .character-main .character-saves {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.prismrpg .character-main .character-saves .character-save {
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
}
.prismrpg .character-main .character-saves .character-save .rollable:hover,
.prismrpg .character-main .character-saves .character-save .rollable:focus {
  text-shadow: 0 0 8px var(--color-shadow-primary);
  cursor: pointer;
}
.prismrpg .character-main .character-saves .character-save .name {
  flex: 0;
  min-width: 5rem;
  max-width: 5rem;
  margin-left: 0.5rem;
}
.prismrpg .character-main .character-saves .character-save .name-pain {
  flex: 0;
  min-width: 3rem;
  max-width: 3rem;
  margin-left: 0.5rem;
}
.prismrpg .character-main .character-saves .character-save .form-group {
  flex: 0;
  padding-left: 4px;
}
.prismrpg .character-main .character-saves .character-save .form-group .form-fields {
  flex: none;
  width: 50px;
}
.prismrpg .character-main .character-characteristics-play {
  min-width: 160px;
}
.prismrpg .character-main .character-characteristic-edit {
  min-width: 160px;
}
.prismrpg .tab.character-biography .main-div {
  background-image: url("../assets/ui/prism_rpg_background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8px 10px;
  min-height: 100%;
}
.prismrpg .tab.character-biography .main-div .biodata {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.prismrpg .tab.character-biography .main-div .biodata .biodata-elem {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.character-biography .main-div .biodata .biodata-elem .item-img {
  width: 24px;
  height: 24px;
  margin: 4px 0 0 0;
}
.prismrpg .tab.character-biography .main-div .biodata .biodata-elem .name {
  min-width: 8rem;
}
.prismrpg .character-biography prose-mirror.inactive {
  min-height: 40px;
}
.prismrpg .character-biography prose-mirror.active {
  min-height: 150px;
}
.prismrpg .tab.character-skills .main-div {
  background-image: url("../assets/ui/prism_rpg_background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8px 10px;
  min-height: 100%;
  display: grid;
  grid-template-columns: 1fr;
}
.prismrpg .tab.character-skills .main-div legend a {
  font-size: calc(var(--font-size-standard) * 1);
  padding-left: 4px;
}
.prismrpg .tab.character-skills .main-div .skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.prismrpg .tab.character-skills .main-div .skills .skill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid #6b6b6b;
  border-radius: 6px;
  transition: all 0.2s;
}
.prismrpg .tab.character-skills .main-div .skills .skill:hover {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.prismrpg .tab.character-skills .main-div .skills .skill.is-core-skill {
  background: rgba(255, 235, 180, 0.4);
  border-color: #d4a017;
}
.prismrpg .tab.character-skills .main-div .skills .skill.is-core-skill:hover {
  background: rgba(255, 235, 180, 0.6);
}
.prismrpg .tab.character-skills .main-div .skills .skill .item-img {
  width: 32px;
  height: 32px;
  border: 2px solid #6b6b6b;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.prismrpg .tab.character-skills .main-div .skills .skill .name {
  flex: 1;
  min-width: 0;
}
.prismrpg .tab.character-skills .main-div .skills .skill .name a {
  font-family: "Cinzel", serif;
  font-size: 14px;
  font-weight: 600;
  color: #2c2c2c;
}
.prismrpg .tab.character-skills .main-div .skills .skill .name a i {
  margin-right: 6px;
  color: #6b6b6b;
}
.prismrpg .tab.character-skills .main-div .skills .skill .name a:hover {
  color: #000;
}
.prismrpg .tab.character-skills .main-div .skills .skill .score {
  font-family: "Cinzel", serif;
  font-size: 16px;
  font-weight: bold;
  color: #2c2c2c;
  min-width: 50px;
  text-align: center;
}
.prismrpg .tab.character-skills .main-div .skills .skill .score .advanced-icon {
  color: #d4a017;
  font-size: 18px;
  margin-left: 4px;
}
.prismrpg .tab.character-skills .main-div .skills .skill .controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.prismrpg .tab.character-skills .main-div .skills .skill .controls a {
  color: #6b6b6b;
  font-size: 14px;
  transition: color 0.2s;
}
.prismrpg .tab.character-skills .main-div .skills .skill .controls a:hover {
  color: #2c2c2c;
}
.prismrpg .tab.character-skills .main-div .racial-abilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.prismrpg .tab.character-skills .main-div .racial-abilities .racial-ability {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(200, 255, 200, 0.2);
  border: 2px solid #6b9b6b;
  border-radius: 6px;
  transition: all 0.2s;
}
.prismrpg .tab.character-skills .main-div .racial-abilities .racial-ability:hover {
  background: rgba(200, 255, 200, 0.4);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.prismrpg .tab.character-skills .main-div .racial-abilities .racial-ability .item-img {
  width: 32px;
  height: 32px;
  border: 2px solid #6b9b6b;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.prismrpg .tab.character-skills .main-div .racial-abilities .racial-ability .name {
  flex: 1;
  min-width: 0;
  font-family: "Cinzel", serif;
  font-size: 14px;
  font-weight: 600;
  color: #2c2c2c;
}
.prismrpg .tab.character-skills .main-div .racial-abilities .racial-ability .controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.prismrpg .tab.character-skills .main-div .racial-abilities .racial-ability .controls a {
  color: #6b9b6b;
  font-size: 14px;
  transition: color 0.2s;
}
.prismrpg .tab.character-skills .main-div .racial-abilities .racial-ability .controls a:hover {
  color: #3c6b3c;
}
.prismrpg .tab.character-skills .main-div .vulnerabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.prismrpg .tab.character-skills .main-div .vulnerabilities .vulnerability {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(255, 200, 200, 0.2);
  border: 2px solid #9b6b6b;
  border-radius: 6px;
  transition: all 0.2s;
}
.prismrpg .tab.character-skills .main-div .vulnerabilities .vulnerability:hover {
  background: rgba(255, 200, 200, 0.4);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.prismrpg .tab.character-skills .main-div .vulnerabilities .vulnerability .item-img {
  width: 32px;
  height: 32px;
  border: 2px solid #9b6b6b;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.prismrpg .tab.character-skills .main-div .vulnerabilities .vulnerability .name {
  flex: 1;
  min-width: 0;
  font-family: "Cinzel", serif;
  font-size: 14px;
  font-weight: 600;
  color: #2c2c2c;
}
.prismrpg .tab.character-skills .main-div .vulnerabilities .vulnerability .controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.prismrpg .tab.character-skills .main-div .vulnerabilities .vulnerability .controls a {
  color: #9b6b6b;
  font-size: 14px;
  transition: color 0.2s;
}
.prismrpg .tab.character-skills .main-div .vulnerabilities .vulnerability .controls a:hover {
  color: #6b3c3c;
}
.prismrpg .tab.character-equipment .main-div {
  background-image: url("../assets/ui/prism_rpg_background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8px 10px;
  min-height: 100%;
  display: grid;
  grid-template-columns: 1fr;
}
.prismrpg .tab.character-equipment .main-div legend a {
  font-size: calc(var(--font-size-standard) * 1.4);
  padding-left: 4px;
}
.prismrpg .tab.character-equipment .main-div .moneys {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.prismrpg .tab.character-equipment .main-div .equipments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.prismrpg .tab.character-equipment .main-div .equipments .equipment {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.character-equipment .main-div .equipments .equipment .item-img {
  width: 24px;
  height: 24px;
  margin: 4px 0 0 0;
}
.prismrpg .tab.character-equipment .main-div .equipments .equipment .name {
  min-width: 12rem;
}
.prismrpg .tab.character-equipment .main-div .equipments .name {
  min-width: 12rem;
}
.prismrpg .tab.character-equipment .main-div .inv-section {
  margin-bottom: 6px;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-items {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-item:hover {
  background: rgba(255, 255, 255, 0.25);
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-item .item-img {
  width: 24px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-item .inv-name {
  flex: 1;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-item .inv-qty {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  min-width: 48px;
  justify-content: center;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-item .inv-qty a {
  font-size: 9px;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.4);
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-item .inv-qty a:hover {
  color: rgba(0, 0, 0, 0.8);
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-item .inv-qty span {
  min-width: 16px;
  text-align: center;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-item .inv-enc,
.prismrpg .tab.character-equipment .main-div .inv-section .inv-item .inv-uses,
.prismrpg .tab.character-equipment .main-div .inv-section .inv-item .inv-capacity {
  font-size: 11px;
  color: #555;
  min-width: 30px;
  text-align: center;
  white-space: nowrap;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-item .controls {
  display: flex;
  gap: 4px;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-item .controls a {
  font-size: 12px;
  cursor: pointer;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-empty {
  font-style: italic;
  color: rgba(0, 0, 0, 0.4);
  text-align: center;
  font-size: 11px;
  padding: 4px;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-container[data-container-id] {
  border: 1px dashed transparent;
  transition: border-color 0.15s, background 0.15s;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-container[data-container-id].drag-over {
  border-color: rgba(100, 150, 255, 0.7);
  background: rgba(100, 150, 255, 0.12);
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-container-items {
  margin: 2px 0 6px 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid rgba(0, 0, 0, 0.15);
  padding-left: 8px;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-container-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 4px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.06);
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-container-item:hover {
  background: rgba(0, 0, 0, 0.12);
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-container-item .item-img {
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-container-item .inv-name {
  flex: 1;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-container-item .inv-qty {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  min-width: 40px;
  justify-content: center;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-container-item .inv-qty a {
  font-size: 8px;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.4);
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-container-item .inv-qty a:hover {
  color: rgba(0, 0, 0, 0.8);
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-container-item .inv-qty span {
  min-width: 14px;
  text-align: center;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-container-item .inv-enc {
  font-size: 10px;
  color: #555;
  min-width: 24px;
  text-align: center;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-container-item .inv-container-type-badge {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.45);
  background: rgba(0, 0, 0, 0.07);
  border-radius: 3px;
  padding: 1px 4px;
  flex-shrink: 0;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-container-item .controls {
  display: flex;
  gap: 4px;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-container-item .controls a {
  font-size: 11px;
  cursor: pointer;
}
.prismrpg .tab.character-equipment .main-div .inv-section .inv-container-empty {
  margin: 2px 0 4px 36px;
  font-size: 10px;
  font-style: italic;
  color: rgba(0, 0, 0, 0.35);
}
.prismrpg .tab.character-equipment .main-div .pack-burden-fieldset .pack-burden-display {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 13px;
}
.prismrpg .tab.character-equipment .main-div .pack-burden-fieldset .pack-burden-display .pack-burden-label {
  font-weight: bold;
}
.prismrpg .tab.character-equipment .main-div .pack-burden-fieldset .pack-burden-display .pack-burden-value {
  font-weight: bold;
}
.prismrpg .tab.character-equipment .main-div .pack-burden-fieldset .pack-burden-display .pack-burden-value .pack-burden-used {
  color: #e6a817;
}
.prismrpg .tab.character-equipment .main-div .pack-burden-fieldset .pack-burden-display .pack-burden-value .pack-burden-sep {
  color: rgba(0, 0, 0, 0.4);
}
.prismrpg .tab.character-equipment .main-div .pack-burden-fieldset .pack-burden-display .pack-burden-value .pack-burden-max {
  color: rgba(0, 0, 0, 0.7);
}
.prismrpg .tab.character-equipment .main-div .pack-burden-fieldset .pack-burden-used {
  color: #e6a817;
  font-weight: bold;
}
.prismrpg .tab.character-equipment .main-div .pack-burden-fieldset .pack-burden-sep {
  color: rgba(0, 0, 0, 0.4);
  margin: 0 2px;
}
.prismrpg .tab.character-equipment .main-div .pack-burden-fieldset .pack-burden-max {
  color: rgba(0, 0, 0, 0.7);
  font-weight: bold;
}
.prismrpg .tab.character-combat .main-div {
  background-image: url("../assets/ui/prism_rpg_background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8px 10px;
  min-height: 100%;
  display: grid;
  grid-template-columns: 1fr;
}
.prismrpg .tab.character-combat .main-div legend a {
  font-size: calc(var(--font-size-standard) * 1.4);
  padding-left: 4px;
}
.prismrpg .tab.character-combat .main-div .combat-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.prismrpg .tab.character-combat .main-div .combat-details .combat-detail {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.character-combat .main-div .combat-details .combat-detail .input {
  min-width: 2.5rem;
  max-width: 2.5rem;
}
.prismrpg .tab.character-combat .main-div .combat-details .combat-detail .ranged-attack-button {
  font-size: 0.8rem;
}
.prismrpg .tab.character-combat .main-div .combat-details .combat-detail button {
  min-width: 9rem;
}
.prismrpg .tab.character-combat .main-div .combat-details .combat-detail .armor-hp {
  margin-right: 4px;
  min-width: 10rem;
  max-width: 10rem;
}
.prismrpg .tab.character-combat .main-div .combat-details .combat-detail .armor-hp .name {
  min-width: 6rem;
  max-width: 6rem;
}
.prismrpg .tab.character-combat .main-div .combat-details .combat-detail .armor-hp .input {
  min-width: 2.5rem;
  max-width: 2.5rem;
}
.prismrpg .tab.character-combat .main-div .combat-details .combat-detail .granted {
  min-width: 8rem;
  max-width: 8rem;
}
.prismrpg .tab.character-combat .main-div .combat-details .combat-detail .granted .input {
  min-width: 2.5rem;
  max-width: 2.5rem;
}
.prismrpg .tab.character-combat .main-div .wounds {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.prismrpg .tab.character-combat .main-div .wounds .wound {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.character-combat .main-div .wounds .wound .wound-description {
  min-width: 14rem;
  max-width: 14rem;
}
.prismrpg .tab.character-combat .main-div .wounds .wound .wound-duration {
  min-width: 3rem;
  max-width: 3rem;
}
.prismrpg .tab.character-combat .main-div .wounds .wound .wound-value {
  min-width: 3rem;
  max-width: 3rem;
}
.prismrpg .tab.character-combat .main-div .wounds .wound .item-img {
  width: 24px;
  height: 24px;
  margin: 4px 0 0 0;
}
.prismrpg .tab.character-combat .main-div .wounds .wound .name {
  min-width: 12rem;
}
.prismrpg .tab.character-combat .main-div .weapons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.prismrpg .tab.character-combat .main-div .weapons .weapon {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.character-combat .main-div .weapons .weapon .item-img {
  width: 24px;
  height: 24px;
  margin: 4px 0 0 0;
}
.prismrpg .tab.character-combat .main-div .weapons .weapon .name {
  min-width: 12rem;
}
.prismrpg .tab.character-combat .main-div .weapons .weapon .attack-icons a {
  margin-left: 8px;
  margin-right: 8px;
}
.prismrpg .tab.character-combat .main-div .armors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.prismrpg .tab.character-combat .main-div .armors .armor {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.character-combat .main-div .armors .armor .item-img {
  width: 24px;
  height: 24px;
  margin: 4px 0 0 0;
}
.prismrpg .tab.character-combat .main-div .armors .name {
  min-width: 12rem;
}
.prismrpg .tab.character-combat .main-div .armors .item-detail {
  min-width: 2rem;
}
.prismrpg .tab.character-combat .main-div .shields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  min-width: 20rem;
}
.prismrpg .tab.character-combat .main-div .shields .shield {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.character-combat .main-div .shields .shield .item-img {
  width: 24px;
  height: 24px;
  margin: 4px 0 0 0;
}
.prismrpg .tab.character-combat .main-div .shields .item-detail {
  min-width: 2.5rem;
}
.prismrpg .tab.character-combat .main-div .shields .name {
  min-width: 12rem;
}
.prismrpg .tab.character-spells .main-div {
  background-image: url("../assets/ui/prism_rpg_background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8px 10px;
  min-height: 100%;
  display: grid;
  grid-template-columns: 1fr;
}
.prismrpg .tab.character-spells .main-div legend a {
  font-size: calc(var(--font-size-standard) * 1.4);
  padding-left: 4px;
}
.prismrpg .tab.character-spells .main-div .spell-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.prismrpg .tab.character-spells .main-div .spell-details .spell-detail {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.character-spells .main-div .spell-details .spell-detail button {
  min-width: 10rem;
}
.prismrpg .tab.character-spells .main-div .spell-details .spell-detail .armor-hp {
  min-width: 12rem;
  max-width: 12rem;
}
.prismrpg .tab.character-spells .main-div .spell-details .spell-detail .armor-hp .input {
  flex: 0;
  min-width: 3rem;
  max-width: 3rem;
}
.prismrpg .tab.character-spells .main-div .spells {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  min-width: 18rem;
}
.prismrpg .tab.character-spells .main-div .spells .spell {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.character-spells .main-div .spells .spell .item-img {
  min-width: 24px;
  max-width: 24px;
  height: 24px;
}
.prismrpg .tab.character-spells .main-div .spells .spell .name {
  min-width: 12rem;
}
.prismrpg .tab.character-spells .main-div prose-mirror.inactive {
  min-height: 40px;
}
.prismrpg .tab.character-spells .main-div prose-mirror.active {
  min-height: 150px;
}
.prismrpg .tab.character-miracles .main-div {
  background-image: url("../assets/ui/prism_rpg_background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8px 10px;
  min-height: 100%;
  display: grid;
  grid-template-columns: 1fr;
}
.prismrpg .tab.character-miracles .main-div legend a {
  font-size: calc(var(--font-size-standard) * 1.4);
  padding-left: 4px;
}
.prismrpg .tab.character-miracles .main-div .miracle-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.prismrpg .tab.character-miracles .main-div .miracle-details .miracle-detail {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.character-miracles .main-div .miracle-details .miracle-detail button {
  min-width: 10rem;
}
.prismrpg .tab.character-miracles .main-div .miracle-details .miracle-detail .armor-hp {
  min-width: 20rem;
  max-width: 20rem;
}
.prismrpg .tab.character-miracles .main-div .miracle-details .miracle-detail .armor-hp .input {
  min-width: 3rem;
  max-width: 3rem;
}
.prismrpg .tab.character-miracles .main-div .miracles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  min-width: 18rem;
}
.prismrpg .tab.character-miracles .main-div .miracles .miracle {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.character-miracles .main-div .miracles .miracle .item-img {
  width: 24px;
  height: 24px;
}
.prismrpg .tab.character-miracles .main-div .miracles .miracle .name {
  min-width: 12rem;
}
.prismrpg .tab.character-miracles .main-div prose-mirror.inactive {
  min-height: 40px;
}
.prismrpg .tab.character-miracles .main-div prose-mirror.active {
  min-height: 150px;
}
.prismrpg .inv-item.is-equipped {
  background: rgba(100, 180, 100, 0.12);
  border-left: 2px solid rgba(80, 160, 80, 0.6);
}
.prismrpg .inv-item .equipped-icon {
  color: #5a9e6a;
}
.prismrpg .inv-item .unequipped-icon {
  color: rgba(0, 0, 0, 0.25);
}
.prismrpg .burden-excess {
  font-size: 0.75em;
  color: #ff5c5c;
  margin-left: 4px;
  white-space: nowrap;
}
.prismrpg .controls a.disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}
.prismrpg .character-main-v2 {
  font-family: var(--font-primary);
  font-size: calc(var(--font-size-standard) * 1);
  color: var(--color-dark-1);
  background-image: var(--background-image-base);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0;
  margin: 0;
}
.prismrpg .character-main-v2 nav.tabs [data-tab] {
  color: #636060;
}
.prismrpg .character-main-v2 nav.tabs [data-tab].active {
  color: #252424;
}
.prismrpg .character-main-v2 input:disabled,
.prismrpg .character-main-v2 select:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  color: var(--color-dark-3);
}
.prismrpg .character-main-v2 input,
.prismrpg .character-main-v2 select {
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-color: var(--color-dark-6);
  color: var(--color-dark-2);
}
.prismrpg .character-main-v2 input[name="name"] {
  height: 2.5rem;
  margin-right: 4px;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  border: none;
}
.prismrpg .character-main-v2 fieldset {
  margin-bottom: 4px;
  border-radius: 4px;
}
.prismrpg .character-main-v2 .form-fields input,
.prismrpg .character-main-v2 .form-fields select {
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .character-main-v2 .form-fields select {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .character-main-v2 legend {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  letter-spacing: 1px;
}
.prismrpg .character-main-v2 .character-sheet-wrapper {
  background-image: url("../assets/ui/prism_rpg_background.webp");
  background-size: cover;
  background-position: center;
  padding: 2px 4px;
  min-height: auto;
}
.prismrpg .character-main-v2 .character-header {
  position: relative;
  margin-bottom: 3px;
}
.prismrpg .character-main-v2 .character-header .character-name-banner {
  background-image: url("../assets/sheet/banner-bg.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prismrpg .character-main-v2 .character-header .character-name-banner input {
  background: transparent;
  border: none;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 20px;
  font-weight: bold;
  color: #2c2c2c;
  width: 500px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
  padding: 2px 0;
}
.prismrpg .character-main-v2 .character-header .character-toggle-controls {
  position: absolute;
  top: 6px;
  right: 10px;
}
.prismrpg .character-main-v2 .character-main-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 12px;
  align-items: start;
}
.prismrpg .character-main-v2 .character-left-column {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 8px;
  align-items: start;
  min-width: 0;
}
.prismrpg .character-main-v2 .character-left-column .portrait-hp-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 200px;
  grid-column: 1;
  grid-row: 1 / 3;
}
.prismrpg .character-main-v2 .character-left-column .character-portrait {
  width: 200px;
  height: 200px;
  border: 3px solid #6b6b6b;
  border-radius: 8px;
  overflow: hidden;
  background: #d4d4d4;
}
.prismrpg .character-main-v2 .character-left-column .character-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prismrpg .character-main-v2 .character-left-column .hp-shields-section {
  width: 200px;
}
.prismrpg .character-main-v2 .character-left-column .hp-shields-section .hp-shields {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.prismrpg .character-main-v2 .character-left-column .hp-shields-section .hp-shields .hp-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.prismrpg .character-main-v2 .character-left-column .hp-shields-section .hp-shields .hp-item .hp-label {
  font-family: "Cinzel", serif;
  font-size: 12px;
  font-weight: bold;
  color: #2c2c2c;
  text-transform: uppercase;
  width: 55px;
  flex-shrink: 0;
}
.prismrpg .character-main-v2 .character-left-column .hp-shields-section .hp-shields .hp-item .hp-value input {
  width: 40px;
  height: 28px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #6b6b6b;
  border-radius: 4px;
}
.prismrpg .character-main-v2 .character-left-column .hp-shields-section .hp-shields .hp-item .hp-separator {
  font-family: "Cinzel", serif;
  font-size: 14px;
  font-weight: bold;
  color: #2c2c2c;
}
.prismrpg .character-main-v2 .character-left-column .hp-shields-section .hp-shields .hp-item .hp-max input {
  width: 40px;
  height: 28px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background: rgba(200, 220, 255, 0.5);
  border: 2px solid #6b6b6b;
  border-radius: 4px;
}
.prismrpg .character-main-v2 .character-left-column .hp-shields-section .hp-shields .hp-item.hp-temp-item .hp-value input {
  background: rgba(255, 230, 160, 0.85);
  border-color: #b8860b;
}
.prismrpg .character-main-v2 .character-left-column .character-attributes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
.prismrpg .character-main-v2 .character-left-column .character-attributes .attribute-shield {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid #6b6b6b;
  border-radius: 4px;
  height: auto;
}
.prismrpg .character-main-v2 .character-left-column .character-attributes .attribute-shield .attribute-label {
  font-family: "Cinzel", serif;
  font-size: 11px;
  font-weight: bold;
  color: #2c2c2c;
  text-transform: uppercase;
  margin: 0;
  min-width: 40px;
  display: flex;
  align-items: center;
}
.prismrpg .character-main-v2 .character-left-column .character-attributes .attribute-shield .attribute-label a.rollable {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #2c2c2c;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.prismrpg .character-main-v2 .character-left-column .character-attributes .attribute-shield .attribute-label a.rollable i {
  font-size: 12px;
  color: #6b6b6b;
}
.prismrpg .character-main-v2 .character-left-column .character-attributes .attribute-shield .attribute-label a.rollable:hover {
  color: #000;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}
.prismrpg .character-main-v2 .character-left-column .character-attributes .attribute-shield .attribute-label a.rollable:hover i {
  color: #2c2c2c;
}
.prismrpg .character-main-v2 .character-left-column .character-attributes .attribute-shield .attribute-value {
  display: flex;
  align-items: center;
}
.prismrpg .character-main-v2 .character-left-column .character-attributes .attribute-shield .attribute-value input {
  width: 45px;
  height: 32px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #6b6b6b;
  border-radius: 4px;
}
.prismrpg .character-main-v2 .character-left-column .character-attributes .attribute-shield .attribute-save {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.prismrpg .character-main-v2 .character-left-column .character-attributes .attribute-shield .attribute-save a.save-rollable {
  display: contents;
  cursor: pointer;
}
.prismrpg .character-main-v2 .character-left-column .character-attributes .attribute-shield .attribute-save a.save-rollable i {
  margin-right: 6px;
}
.prismrpg .character-main-v2 .character-left-column .character-attributes .attribute-shield .attribute-save a.save-rollable:hover input {
  background: rgba(200, 220, 255, 0.8);
  border-color: #4a4a4a;
}
.prismrpg .character-main-v2 .character-left-column .character-attributes .attribute-shield .attribute-save input {
  width: 45px;
  height: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background: rgba(200, 220, 255, 0.5);
  border: 2px solid #6b6b6b;
  border-radius: 4px;
  color: #2c2c2c;
  cursor: pointer;
  transition: all 0.2s;
}
.prismrpg .character-main-v2 .character-right-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.prismrpg .character-main-v2 .character-right-column .section-title {
  font-family: "Cinzel", serif;
  font-size: 14px;
  font-weight: bold;
  color: #2c2c2c;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid #6b6b6b;
  border-radius: 4px;
  text-align: center;
}
.prismrpg .character-main-v2 .character-right-column .race-section .race-box {
  padding: 6px;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid #6b6b6b;
  border-radius: 6px;
  min-height: 50px;
}
.prismrpg .character-main-v2 .character-right-column .race-section .race-box .race-label {
  font-family: "Cinzel", serif;
  font-size: 10px;
  color: #6b6b6b;
  text-align: center;
  margin-bottom: 3px;
}
.prismrpg .character-main-v2 .character-right-column .race-section .race-box .section-title {
  font-family: "Cinzel", serif;
  font-size: 11px;
  font-weight: bold;
  color: #2c2c2c;
  text-transform: uppercase;
  margin: 0 0 4px 0;
  padding: 3px;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid #6b6b6b;
  border-radius: 4px;
  text-align: center;
}
.prismrpg .character-main-v2 .character-right-column .race-section .race-box .race-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.prismrpg .character-main-v2 .character-right-column .race-section .race-box .race-item .item-img {
  width: 30px;
  height: 30px;
  border: 2px solid #6b6b6b;
  border-radius: 4px;
  object-fit: cover;
  cursor: pointer;
}
.prismrpg .character-main-v2 .character-right-column .race-section .race-box .race-item .race-name {
  flex: 1;
  font-family: "Cinzel", serif;
  font-size: 12px;
  font-weight: bold;
  color: #2c2c2c;
  text-align: center;
}
.prismrpg .character-main-v2 .character-right-column .race-section .race-box .race-item .controls {
  display: flex;
  gap: 6px;
}
.prismrpg .character-main-v2 .character-right-column .race-section .race-box .race-item .controls a {
  color: #6b6b6b;
  cursor: pointer;
  transition: color 0.2s;
}
.prismrpg .character-main-v2 .character-right-column .race-section .race-box .race-item .controls a:hover {
  color: #2c2c2c;
}
.prismrpg .character-main-v2 .character-right-column .race-section .race-box .race-item .controls a i {
  font-size: 14px;
}
.prismrpg .character-main-v2 .character-right-column .race-section .race-box .no-race {
  text-align: center;
  font-family: "Crimson Text", serif;
  font-size: 11px;
  color: #6b6b6b;
  font-style: italic;
  padding: 5px;
}
.prismrpg .character-main-v2 .character-right-column .race-section .race-box input {
  width: 100%;
  background: transparent;
  border: none;
  font-family: "Cinzel", serif;
  font-size: 14px;
  text-align: center;
}
.prismrpg .character-main-v2 .character-right-column .classes-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prismrpg .character-main-v2 .character-right-column .classes-section .class-box {
  padding: 6px;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid #6b6b6b;
  border-radius: 6px;
}
.prismrpg .character-main-v2 .character-right-column .classes-section .class-box .class-label {
  font-family: "Cinzel", serif;
  font-size: 10px;
  color: #6b6b6b;
  text-align: center;
  margin-bottom: 3px;
}
.prismrpg .character-main-v2 .character-right-column .classes-section .class-box .class-content .class-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.prismrpg .character-main-v2 .character-right-column .classes-section .class-box .class-content .class-item .item-img {
  width: 28px;
  height: 28px;
  border: 2px solid #6b6b6b;
  border-radius: 4px;
  object-fit: cover;
  cursor: pointer;
}
.prismrpg .character-main-v2 .character-right-column .classes-section .class-box .class-content .class-item .class-name {
  flex: 1;
  font-family: "Cinzel", serif;
  font-size: 11px;
  font-weight: bold;
  color: #2c2c2c;
  text-align: center;
}
.prismrpg .character-main-v2 .character-right-column .classes-section .class-box .class-content .class-item .controls {
  display: flex;
  gap: 6px;
}
.prismrpg .character-main-v2 .character-right-column .classes-section .class-box .class-content .class-item .controls a {
  color: #6b6b6b;
  cursor: pointer;
  transition: color 0.2s;
}
.prismrpg .character-main-v2 .character-right-column .classes-section .class-box .class-content .class-item .controls a:hover {
  color: #2c2c2c;
}
.prismrpg .character-main-v2 .character-right-column .classes-section .class-box .class-content .class-item .controls a i {
  font-size: 12px;
}
.prismrpg .character-main-v2 .character-right-column .classes-section .class-box .class-content .no-class {
  text-align: center;
  font-family: "Crimson Text", serif;
  font-size: 11px;
  color: #6b6b6b;
  font-style: italic;
  padding: 5px;
}
.prismrpg .character-main-v2 .character-right-column .classes-section .class-box .class-input input {
  width: 100%;
  background: transparent;
  border: none;
  font-family: "Cinzel", serif;
  font-size: 14px;
  text-align: center;
}
.prismrpg .character-main-v2 .character-right-column .origin-section .origin-box {
  padding: 15px;
  background: rgba(255, 255, 255, 0.5);
  border: 3px solid #6b6b6b;
  border-radius: 8px;
  min-height: 350px;
}
.prismrpg .character-main-v2 .character-right-column .origin-section .origin-box textarea {
  width: 100%;
  min-height: 320px;
  background: transparent;
  border: none;
  font-family: "Crimson Text", serif;
  font-size: 13px;
  line-height: 1.6;
  resize: vertical;
}
.prismrpg .burden-mr-section {
  display: flex;
  flex-direction: row;
  gap: 16px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  grid-column: 2;
  grid-row: 2;
}
.prismrpg .burden-mr-section .burden-mr-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.prismrpg .burden-mr-section .burden-mr-item .burden-display-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 22px;
}
.prismrpg .burden-mr-section .burden-mr-item .burden-edit-row {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
}
.prismrpg .burden-mr-section .burden-mr-item .burden-label {
  font-weight: bold;
  font-size: 11px;
  letter-spacing: 0.05em;
  min-width: 52px;
  color: #fff;
  cursor: default;
}
.prismrpg .burden-mr-section .burden-mr-item .burden-sub-attr .form-group {
  display: contents;
}
.prismrpg .burden-mr-section .burden-mr-item .burden-sub-attr .form-group label {
  display: none;
}
.prismrpg .burden-mr-section .burden-mr-item .burden-sub-attr .form-fields {
  display: contents;
}
.prismrpg .burden-mr-section .burden-mr-item .burden-sub-attr select {
  font-size: 11px;
  padding: 1px 2px;
  height: 22px;
  max-width: 80px;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}
.prismrpg .burden-mr-section .burden-mr-item .burden-op {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}
.prismrpg .burden-mr-section .burden-mr-item .burden-other input[type="number"] {
  width: 32px;
  text-align: center;
  font-size: 11px;
  height: 22px;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}
.prismrpg .burden-mr-section .burden-mr-item .burden-total {
  font-size: 18px;
  font-weight: bold;
  color: #ffe566;
  min-width: 24px;
  text-align: center;
}
.prismrpg .burden-mr-section .burden-mr-item .burden-used-max {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  font-weight: bold;
}
.prismrpg .burden-mr-section .burden-mr-item .burden-used-max .burden-used {
  color: #ffe566;
}
.prismrpg .burden-mr-section .burden-mr-item .burden-used-max .burden-separator {
  color: rgba(255, 255, 255, 0.8);
}
.prismrpg .burden-mr-section .burden-mr-item .burden-used-max .burden-max {
  color: #e0e0e0;
}
.prismrpg .burden-mr-section .burden-mr-item .burden-used-max.burden-overloaded .burden-used {
  color: #ff5c5c;
  font-weight: bold;
}
.prismrpg .character-subattributes.tab .subattributes-content {
  padding: 1rem;
}
.prismrpg .character-subattributes.tab .subattributes-content .subattributes-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.prismrpg .character-subattributes.tab .subattributes-content .subattribute-item {
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border-dark-secondary);
  border-radius: 4px;
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}
.prismrpg .character-subattributes.tab .subattributes-content .subattribute-item .subattribute-header {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.prismrpg .character-subattributes.tab .subattributes-content .subattribute-item .subattribute-header i.fa-dice-d20 {
  font-size: 1em;
  color: var(--color-text-dark-primary);
  opacity: 0.7;
}
.prismrpg .character-subattributes.tab .subattributes-content .subattribute-item:hover {
  background: rgba(0, 0, 0, 0.2);
  border-color: var(--color-text-light-primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.prismrpg .character-subattributes.tab .subattributes-content .subattribute-item:hover .subattribute-header i.fa-dice-d20 {
  opacity: 1;
  color: var(--color-text-dark-primary);
}
.prismrpg .character-subattributes.tab .subattributes-content .subattribute-item .subattribute-name {
  font-weight: bold;
  font-size: 0.75em;
  color: var(--color-text-dark-primary);
  line-height: 1.2;
}
.prismrpg .character-subattributes.tab .subattributes-content .subattribute-item .subattribute-value {
  font-size: 1em;
  font-weight: bold;
  color: var(--color-text-dark-primary);
  min-width: 2em;
  padding: 0.15rem 0.3rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
@media (max-width: 768px) {
  .prismrpg .character-subattributes.tab .subattributes-content .subattributes-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.prismrpg .monster-content {
  font-family: var(--font-primary);
  font-size: calc(var(--font-size-standard) * 1);
  color: var(--color-dark-1);
  background-image: var(--background-image-base);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: scroll;
}
.prismrpg .monster-content nav.tabs [data-tab] {
  color: #636060;
}
.prismrpg .monster-content nav.tabs [data-tab].active {
  color: #252424;
}
.prismrpg .monster-content input:disabled,
.prismrpg .monster-content select:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  color: var(--color-dark-3);
}
.prismrpg .monster-content input,
.prismrpg .monster-content select {
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-color: var(--color-dark-6);
  color: var(--color-dark-2);
}
.prismrpg .monster-content input[name="name"] {
  height: 2.5rem;
  margin-right: 4px;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  border: none;
}
.prismrpg .monster-content fieldset {
  margin-bottom: 4px;
  border-radius: 4px;
}
.prismrpg .monster-content .form-fields input,
.prismrpg .monster-content .form-fields select {
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .monster-content .form-fields select {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .monster-content legend {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  letter-spacing: 1px;
}
.prismrpg .monster-content label {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
}
.prismrpg .monster-main {
  display: flex;
}
.prismrpg .monster-main .monster-left-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 4px;
}
.prismrpg .monster-main .monster-left-image .monster-img {
  height: 140px;
  width: 140px;
  width: auto;
  border: none;
}
.prismrpg .monster-main .monster-pc {
  display: flex;
  gap: 10px;
  flex: 1;
}
.prismrpg .monster-main .monster-pc .monster-hp {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-bottom: 4px;
}
.prismrpg .monster-main .monster-pc .monster-hp .name {
  flex: none;
  min-width: 2.5rem;
  max-width: 2.5rem;
}
.prismrpg .monster-main .monster-pc .monster-hp .damage-resistance {
  flex: none;
  min-width: 6rem;
  max-width: 6rem;
}
.prismrpg .monster-main .monster-pc .monster-hp input {
  flex: none;
  min-width: 2.2rem;
  max-width: 2.2rem;
  margin-left: 4px;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .monster-main .monster-pc .monster-hp .character-hp-max {
  clear: both;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 4px 0;
  align-items: center;
}
.prismrpg .monster-main .monster-pc .monster-hp .character-hp-max input {
  width: 3.2rem;
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .monster-main .monster-pc .monster-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.prismrpg .monster-main .monster-pc .monster-right .monster-name {
  display: flex;
}
.prismrpg .monster-main .monster-pc .monster-right .monster-name input {
  width: 400px;
}
.prismrpg .monster-main .monster-pc-play {
  min-width: 400px;
}
.prismrpg .monster-main .monster-pc-edit {
  min-width: 400px;
}
.prismrpg .monster-main .monster-characteristics {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.prismrpg .monster-main .monster-characteristics .monster-characteristic {
  display: flex;
  align-items: center;
}
.prismrpg .monster-main .monster-characteristics .monster-characteristic .rollable:hover,
.prismrpg .monster-main .monster-characteristics .monster-characteristic .rollable:focus {
  text-shadow: 0 0 8px var(--color-shadow-primary);
  cursor: pointer;
}
.prismrpg .monster-main .monster-characteristics .monster-characteristic span {
  min-width: 2.2rem;
  max-width: 2.2rem;
}
.prismrpg .monster-main .monster-characteristics .monster-characteristic .form-group {
  flex: 1;
  padding-left: 4px;
}
.prismrpg .monster-main .monster-characteristics .monster-characteristic .form-group .form-fields {
  flex: none;
  width: 3rem;
}
.prismrpg .monster-main .monster-skills {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.prismrpg .monster-main .monster-skills .monster-skill {
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
}
.prismrpg .monster-main .monster-skills .monster-skill .rollable:hover,
.prismrpg .monster-main .monster-skills .monster-skill .rollable:focus {
  text-shadow: 0 0 8px var(--color-shadow-primary);
  cursor: pointer;
}
.prismrpg .monster-main .monster-skills .monster-skill input {
  min-width: 2.2rem;
  max-width: 2.5rem;
}
.prismrpg .monster-main .monster-skills .monster-skill .name {
  flex: 1;
  min-width: 3.2rem;
  margin-left: 4px;
}
.prismrpg .monster-main .monster-skills .monster-skill .form-group {
  flex: 1;
  padding-left: 4px;
}
.prismrpg .monster-main .monster-skills .monster-skill .form-group .form-fields {
  flex: none;
  width: 2.5rem;
}
.prismrpg .monster-main .monster-movements {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.prismrpg .monster-main .monster-movements .monster-movement {
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
}
.prismrpg .monster-main .monster-movements .monster-movement .rollable:hover,
.prismrpg .monster-main .monster-movements .monster-movement .rollable:focus {
  text-shadow: 0 0 8px var(--color-shadow-primary);
  cursor: pointer;
}
.prismrpg .monster-main .monster-movements .monster-movement .name {
  flex: 1;
  min-width: 3rem;
  margin-left: 0.5rem;
}
.prismrpg .monster-main .monster-movements .monster-movement .form-group {
  flex: 1;
  padding-left: 4px;
}
.prismrpg .monster-main .monster-movements .monster-movement .form-group .form-fields {
  flex: none;
  width: 50px;
}
.prismrpg .monster-main .monster-saves {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.prismrpg .monster-main .monster-saves .monster-save {
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
}
.prismrpg .monster-main .monster-saves .monster-save .rollable:hover,
.prismrpg .monster-main .monster-saves .monster-save .rollable:focus {
  text-shadow: 0 0 8px var(--color-shadow-primary);
  cursor: pointer;
}
.prismrpg .monster-main .monster-saves .monster-save .name {
  flex: 0;
  min-width: 5rem;
  max-width: 5rem;
  margin-left: 0.5rem;
}
.prismrpg .monster-main .monster-saves .monster-save .name-pain {
  flex: 0;
  min-width: 3rem;
  max-width: 3rem;
  margin-left: 0.5rem;
}
.prismrpg .monster-main .monster-saves .monster-save .form-group {
  flex: 0;
  padding-left: 4px;
}
.prismrpg .monster-main .monster-saves .monster-save .form-group .form-fields {
  flex: none;
  width: 50px;
}
.prismrpg .monster-main .monster-characteristics-play {
  min-width: 200px;
}
.prismrpg .monster-main .monster-characteristic-edit {
  min-width: 200px;
}
.prismrpg .tab.monster-biography .main-div .biodata {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.prismrpg .tab.monster-biography .main-div .biodata .biodata-elem {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.monster-biography .main-div .biodata .biodata-elem .name {
  min-width: 8rem;
}
.prismrpg .monster-biography prose-mirror.inactive {
  min-height: 40px;
}
.prismrpg .monster-biography prose-mirror.active {
  min-height: 150px;
}
.prismrpg .tab.monster-skills .main-div {
  display: grid;
  grid-template-columns: 1fr;
}
.prismrpg .tab.monster-skills .main-div legend a {
  font-size: calc(var(--font-size-standard) * 1);
  padding-left: 4px;
}
.prismrpg .tab.monster-skills .main-div .skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.prismrpg .tab.monster-skills .main-div .skills .skill {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.monster-skills .main-div .skills .skill .item-img {
  width: 24px;
  height: 24px;
}
.prismrpg .tab.monster-skills .main-div .skills .skill .name {
  min-width: 12rem;
}
.prismrpg .tab.monster-skills .main-div .racial-abilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.prismrpg .tab.monster-skills .main-div .racial-abilities .racial-ability {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.monster-skills .main-div .racial-abilities .racial-ability .item-img {
  width: 24px;
  height: 24px;
}
.prismrpg .tab.monster-skills .main-div .racial-abilities .racial-ability .name {
  min-width: 12rem;
}
.prismrpg .tab.monster-skills .main-div .vulnerabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.prismrpg .tab.monster-skills .main-div .vulnerabilities .vulnerability {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.monster-skills .main-div .vulnerabilities .vulnerability .item-img {
  width: 24px;
  height: 24px;
}
.prismrpg .tab.monster-skills .main-div .vulnerabilities .vulnerability .name {
  min-width: 12rem;
}
.prismrpg .tab.monster-equipment {
  display: grid;
  grid-template-columns: 1fr;
}
.prismrpg .tab.monster-equipment legend a {
  font-size: calc(var(--font-size-standard) * 1.4);
  padding-left: 4px;
}
.prismrpg .tab.monster-equipment .moneys {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.prismrpg .tab.monster-equipment .equipments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.prismrpg .tab.monster-equipment .equipments .equipment {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.monster-equipment .equipments .equipment .item-img {
  width: 24px;
  height: 24px;
  margin: 4px 0 0 0;
}
.prismrpg .tab.monster-equipment .equipments .equipment .name {
  min-width: 12rem;
}
.prismrpg .tab.monster-equipment .equipments .name {
  min-width: 12rem;
}
.prismrpg .tab.monster-combat {
  display: grid;
  grid-template-columns: 1fr;
}
.prismrpg .tab.monster-combat legend a {
  font-size: calc(var(--font-size-standard) * 1.4);
  padding-left: 4px;
}
.prismrpg .tab.monster-combat .combat-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.prismrpg .tab.monster-combat .combat-details .combat-detail {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.monster-combat .combat-details .combat-detail button {
  min-width: 10rem;
}
.prismrpg .tab.monster-combat .combat-details .combat-detail .armor-hp {
  min-width: 20rem;
  max-width: 20rem;
}
.prismrpg .tab.monster-combat .combat-details .combat-detail .armor-hp .input {
  min-width: 3rem;
  max-width: 3rem;
}
.prismrpg .tab.monster-combat .attacks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.prismrpg .tab.monster-combat .attacks .attack {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.monster-combat .attacks .attack .name {
  min-width: 8rem;
  max-width: 8rem;
}
.prismrpg .tab.monster-combat .attacks .attack .damage-dice {
  width: 4rem;
  max-width: 3.5rem;
}
.prismrpg .tab.monster-combat .attacks .attack .numeric {
  width: 2.2rem;
}
.prismrpg .tab.monster-combat .attacks .attack .attack-icons a {
  margin-left: 4px;
  margin-right: 4px;
}
.prismrpg .tab.monster-combat .armors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.prismrpg .tab.monster-combat .armors .armor {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.monster-combat .armors .armor .item-img {
  width: 24px;
  height: 24px;
  margin: 4px 0 0 0;
}
.prismrpg .tab.monster-combat .armors .name {
  min-width: 12rem;
}
.prismrpg .tab.monster-spells {
  display: grid;
  grid-template-columns: 1fr;
}
.prismrpg .tab.monster-spells legend a {
  font-size: calc(var(--font-size-standard) * 1.4);
  padding-left: 4px;
}
.prismrpg .tab.monster-spells .spells {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.prismrpg .tab.monster-spells .spells .spell {
  display: flex;
  align-items: center;
  gap: 4px;
}
.prismrpg .tab.monster-spells .spells .spell .item-img {
  width: 24px;
  height: 24px;
}
.prismrpg .tab.monster-spells .spells .spell .name {
  min-width: 12rem;
}
.prismrpg .tab.monster-spells prose-mirror.inactive {
  min-height: 40px;
}
.prismrpg .tab.monster-spells prose-mirror.active {
  min-height: 150px;
}
.prismrpg .skill-content {
  font-family: var(--font-primary);
  font-size: calc(var(--font-size-standard) * 1);
  color: var(--color-dark-1);
  background-image: var(--background-image-base);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: auto;
}
.prismrpg .skill-content nav.tabs [data-tab] {
  color: #636060;
}
.prismrpg .skill-content nav.tabs [data-tab].active {
  color: #252424;
}
.prismrpg .skill-content input:disabled,
.prismrpg .skill-content select:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  color: var(--color-dark-3);
}
.prismrpg .skill-content input,
.prismrpg .skill-content select {
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-color: var(--color-dark-6);
  color: var(--color-dark-2);
}
.prismrpg .skill-content input[name="name"] {
  height: 2.5rem;
  margin-right: 4px;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  border: none;
}
.prismrpg .skill-content fieldset {
  margin-bottom: 4px;
  border-radius: 4px;
}
.prismrpg .skill-content .form-fields input,
.prismrpg .skill-content .form-fields select {
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .skill-content .form-fields select {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .skill-content legend {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  letter-spacing: 1px;
}
.prismrpg .skill-content .form-fields {
  padding-top: 4px;
}
.prismrpg .skill-content .form-group {
  display: flex;
  flex: 1;
  flex-direction: row;
}
.prismrpg .skill-content .form-group label {
  align-content: center;
  min-width: 10rem;
  max-width: 10rem;
}
.prismrpg .skill-content .form-group select,
.prismrpg .skill-content .form-group input {
  text-align: left;
  min-width: 12rem;
  max-width: 12rem;
}
.prismrpg .skill-content .form-group input[type="checkbox"] {
  min-width: 1.2rem;
  max-width: 1.2rem;
  margin-right: 0.5rem;
}
.prismrpg .skill-content label {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
  flex: 50%;
}
.prismrpg .skill-content .align-top {
  align-self: flex-start;
  padding: 0.1rem;
  margin-right: 0.2rem;
}
.prismrpg .skill-content .shift-right {
  margin-left: 2rem;
}
.prismrpg .skill-content .header {
  display: flex;
}
.prismrpg .skill-content .header img {
  width: 50px;
  height: 50px;
}
.prismrpg .skill-content input[type="checkbox"] {
  font-size: var(--font-size-14);
  width: 20px;
  padding-top: 0;
}
.prismrpg .skill-content input[type="checkbox"]:checked {
  background-color: rgba(0, 0, 0, 0.1);
}
.prismrpg .skill-content input[type="checkbox"]:checked::after {
  color: rgba(0, 0, 0, 0.1);
}
.prismrpg .racial-ability-content {
  font-family: var(--font-primary);
  font-size: calc(var(--font-size-standard) * 1);
  color: var(--color-dark-1);
  background-image: var(--background-image-base);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: auto;
}
.prismrpg .racial-ability-content nav.tabs [data-tab] {
  color: #636060;
}
.prismrpg .racial-ability-content nav.tabs [data-tab].active {
  color: #252424;
}
.prismrpg .racial-ability-content input:disabled,
.prismrpg .racial-ability-content select:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  color: var(--color-dark-3);
}
.prismrpg .racial-ability-content input,
.prismrpg .racial-ability-content select {
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-color: var(--color-dark-6);
  color: var(--color-dark-2);
}
.prismrpg .racial-ability-content input[name="name"] {
  height: 2.5rem;
  margin-right: 4px;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  border: none;
}
.prismrpg .racial-ability-content fieldset {
  margin-bottom: 4px;
  border-radius: 4px;
}
.prismrpg .racial-ability-content .form-fields input,
.prismrpg .racial-ability-content .form-fields select {
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .racial-ability-content .form-fields select {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .racial-ability-content legend {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  letter-spacing: 1px;
}
.prismrpg .racial-ability-content .form-fields {
  padding-top: 4px;
}
.prismrpg .racial-ability-content .form-group {
  display: flex;
  flex: 1;
  flex-direction: row;
}
.prismrpg .racial-ability-content .form-group label {
  align-content: center;
  min-width: 10rem;
  max-width: 10rem;
}
.prismrpg .racial-ability-content .form-group select,
.prismrpg .racial-ability-content .form-group input {
  text-align: left;
  min-width: 12rem;
  max-width: 12rem;
}
.prismrpg .racial-ability-content .form-group input[type="checkbox"] {
  min-width: 1.2rem;
  max-width: 1.2rem;
  margin-right: 0.5rem;
}
.prismrpg .racial-ability-content label {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
  flex: 50%;
}
.prismrpg .racial-ability-content .align-top {
  align-self: flex-start;
  padding: 0.1rem;
  margin-right: 0.2rem;
}
.prismrpg .racial-ability-content .shift-right {
  margin-left: 2rem;
}
.prismrpg .racial-ability-content .header {
  display: flex;
}
.prismrpg .racial-ability-content .header img {
  width: 50px;
  height: 50px;
}
.prismrpg .racial-ability-content input[type="checkbox"] {
  font-size: var(--font-size-14);
  width: 20px;
  padding-top: 0;
}
.prismrpg .racial-ability-content input[type="checkbox"]:checked {
  background-color: rgba(0, 0, 0, 0.1);
}
.prismrpg .racial-ability-content input[type="checkbox"]:checked::after {
  color: rgba(0, 0, 0, 0.1);
}
.prismrpg .ability-content {
  font-family: var(--font-primary);
  font-size: calc(var(--font-size-standard) * 1);
  color: var(--color-dark-1);
  background-image: var(--background-image-base);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: auto;
}
.prismrpg .ability-content nav.tabs [data-tab] {
  color: #636060;
}
.prismrpg .ability-content nav.tabs [data-tab].active {
  color: #252424;
}
.prismrpg .ability-content input:disabled,
.prismrpg .ability-content select:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  color: var(--color-dark-3);
}
.prismrpg .ability-content input,
.prismrpg .ability-content select {
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-color: var(--color-dark-6);
  color: var(--color-dark-2);
}
.prismrpg .ability-content input[name="name"] {
  height: 2.5rem;
  margin-right: 4px;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  border: none;
}
.prismrpg .ability-content fieldset {
  margin-bottom: 4px;
  border-radius: 4px;
}
.prismrpg .ability-content .form-fields input,
.prismrpg .ability-content .form-fields select {
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .ability-content .form-fields select {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .ability-content legend {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  letter-spacing: 1px;
}
.prismrpg .ability-content .form-fields {
  padding-top: 4px;
}
.prismrpg .ability-content .form-group {
  display: flex;
  flex: 1;
  flex-direction: row;
}
.prismrpg .ability-content .form-group label {
  align-content: center;
  min-width: 10rem;
  max-width: 10rem;
}
.prismrpg .ability-content .form-group select,
.prismrpg .ability-content .form-group input {
  text-align: left;
  min-width: 12rem;
  max-width: 12rem;
}
.prismrpg .ability-content .form-group input[type="checkbox"] {
  min-width: 1.2rem;
  max-width: 1.2rem;
  margin-right: 0.5rem;
}
.prismrpg .ability-content label {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
  flex: 50%;
}
.prismrpg .ability-content .align-top {
  align-self: flex-start;
  padding: 0.1rem;
  margin-right: 0.2rem;
}
.prismrpg .ability-content .shift-right {
  margin-left: 2rem;
}
.prismrpg .ability-content .header {
  display: flex;
}
.prismrpg .ability-content .header img {
  width: 50px;
  height: 50px;
}
.prismrpg .ability-content input[type="checkbox"] {
  font-size: var(--font-size-14);
  width: 20px;
  padding-top: 0;
}
.prismrpg .ability-content input[type="checkbox"]:checked {
  background-color: rgba(0, 0, 0, 0.1);
}
.prismrpg .ability-content input[type="checkbox"]:checked::after {
  color: rgba(0, 0, 0, 0.1);
}
.prismrpg .weapon-content {
  font-family: var(--font-primary);
  font-size: calc(var(--font-size-standard) * 1);
  color: var(--color-dark-1);
  background-image: var(--background-image-base);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: auto;
}
.prismrpg .weapon-content nav.tabs [data-tab] {
  color: #636060;
}
.prismrpg .weapon-content nav.tabs [data-tab].active {
  color: #252424;
}
.prismrpg .weapon-content input:disabled,
.prismrpg .weapon-content select:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  color: var(--color-dark-3);
}
.prismrpg .weapon-content input,
.prismrpg .weapon-content select {
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-color: var(--color-dark-6);
  color: var(--color-dark-2);
}
.prismrpg .weapon-content input[name="name"] {
  height: 2.5rem;
  margin-right: 4px;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  border: none;
}
.prismrpg .weapon-content fieldset {
  margin-bottom: 4px;
  border-radius: 4px;
}
.prismrpg .weapon-content .form-fields input,
.prismrpg .weapon-content .form-fields select {
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .weapon-content .form-fields select {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .weapon-content legend {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  letter-spacing: 1px;
}
.prismrpg .weapon-content .form-fields {
  padding-top: 4px;
}
.prismrpg .weapon-content .form-group {
  display: flex;
  flex: 1;
  flex-direction: row;
}
.prismrpg .weapon-content .form-group label {
  align-content: center;
  min-width: 10rem;
  max-width: 10rem;
}
.prismrpg .weapon-content .form-group select,
.prismrpg .weapon-content .form-group input {
  text-align: left;
  min-width: 12rem;
  max-width: 12rem;
}
.prismrpg .weapon-content .form-group input[type="checkbox"] {
  min-width: 1.2rem;
  max-width: 1.2rem;
  margin-right: 0.5rem;
}
.prismrpg .weapon-content label {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
  flex: 50%;
}
.prismrpg .weapon-content .align-top {
  align-self: flex-start;
  padding: 0.1rem;
  margin-right: 0.2rem;
}
.prismrpg .weapon-content .shift-right {
  margin-left: 2rem;
}
.prismrpg .weapon-content .header {
  display: flex;
}
.prismrpg .weapon-content .header img {
  width: 50px;
  height: 50px;
}
.prismrpg .weapon-content label {
  flex: 10%;
}
.prismrpg .weapon-content .weapon-passives legend {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.prismrpg .weapon-content .weapon-passives legend button {
  padding: 2px 8px;
  font-size: 12px;
}
.prismrpg .weapon-content .weapon-passives .passive-item {
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid var(--color-border-light-primary);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.05);
}
.prismrpg .weapon-content .weapon-passives .passive-item:last-child {
  margin-bottom: 0;
}
.prismrpg .weapon-content .weapon-passives .passive-header {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.prismrpg .weapon-content .weapon-passives .passive-header input[type="text"] {
  flex: 1;
}
.prismrpg .weapon-content .weapon-passives .passive-header button {
  padding: 4px 8px;
  font-size: 12px;
}
.prismrpg .weapon-content .weapon-passives .passive-header button[data-action="delete-passive"] {
  color: var(--color-text-danger, #c00);
}
.prismrpg .weapon-content .weapon-passives .passive-header button[data-action="delete-passive"]:hover {
  background: var(--color-bg-danger, rgba(200, 0, 0, 0.1));
}
.prismrpg .weapon-content .weapon-passives .hint {
  font-style: italic;
  color: var(--color-text-light-secondary);
  text-align: center;
  padding: 12px;
}
.prismrpg .weapon-content .weapon-maneuvers legend {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.prismrpg .weapon-content .weapon-maneuvers legend button {
  padding: 2px 8px;
  font-size: 12px;
}
.prismrpg .weapon-content .weapon-maneuvers .maneuver-item {
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid var(--color-border-light-primary);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.05);
}
.prismrpg .weapon-content .weapon-maneuvers .maneuver-item:last-child {
  margin-bottom: 0;
}
.prismrpg .weapon-content .weapon-maneuvers .maneuver-header {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.prismrpg .weapon-content .weapon-maneuvers .maneuver-header input[type="text"] {
  flex: 1;
}
.prismrpg .weapon-content .weapon-maneuvers .maneuver-header button {
  padding: 4px 8px;
  font-size: 12px;
}
.prismrpg .weapon-content .weapon-maneuvers .maneuver-header button[data-action="delete-maneuver"] {
  color: var(--color-text-danger, #c00);
}
.prismrpg .weapon-content .weapon-maneuvers .maneuver-header button[data-action="delete-maneuver"]:hover {
  background: var(--color-bg-danger, rgba(200, 0, 0, 0.1));
}
.prismrpg .weapon-content .weapon-maneuvers .hint {
  font-style: italic;
  color: var(--color-text-light-secondary);
  text-align: center;
  padding: 12px;
}
.prismrpg .armor-content {
  font-family: var(--font-primary);
  font-size: calc(var(--font-size-standard) * 1);
  color: var(--color-dark-1);
  background-image: var(--background-image-base);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: auto;
}
.prismrpg .armor-content nav.tabs [data-tab] {
  color: #636060;
}
.prismrpg .armor-content nav.tabs [data-tab].active {
  color: #252424;
}
.prismrpg .armor-content input:disabled,
.prismrpg .armor-content select:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  color: var(--color-dark-3);
}
.prismrpg .armor-content input,
.prismrpg .armor-content select {
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-color: var(--color-dark-6);
  color: var(--color-dark-2);
}
.prismrpg .armor-content input[name="name"] {
  height: 2.5rem;
  margin-right: 4px;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  border: none;
}
.prismrpg .armor-content fieldset {
  margin-bottom: 4px;
  border-radius: 4px;
}
.prismrpg .armor-content .form-fields input,
.prismrpg .armor-content .form-fields select {
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .armor-content .form-fields select {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .armor-content legend {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  letter-spacing: 1px;
}
.prismrpg .armor-content .form-fields {
  padding-top: 4px;
}
.prismrpg .armor-content .form-group {
  display: flex;
  flex: 1;
  flex-direction: row;
}
.prismrpg .armor-content .form-group label {
  align-content: center;
  min-width: 10rem;
  max-width: 10rem;
}
.prismrpg .armor-content .form-group select,
.prismrpg .armor-content .form-group input {
  text-align: left;
  min-width: 12rem;
  max-width: 12rem;
}
.prismrpg .armor-content .form-group input[type="checkbox"] {
  min-width: 1.2rem;
  max-width: 1.2rem;
  margin-right: 0.5rem;
}
.prismrpg .armor-content label {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
  flex: 50%;
}
.prismrpg .armor-content .align-top {
  align-self: flex-start;
  padding: 0.1rem;
  margin-right: 0.2rem;
}
.prismrpg .armor-content .shift-right {
  margin-left: 2rem;
}
.prismrpg .armor-content .header {
  display: flex;
}
.prismrpg .armor-content .header img {
  width: 50px;
  height: 50px;
}
.prismrpg .armor-content label {
  flex: 10%;
}
.prismrpg .spell-content {
  font-family: var(--font-primary);
  font-size: calc(var(--font-size-standard) * 1);
  color: var(--color-dark-1);
  background-image: var(--background-image-base);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: auto;
}
.prismrpg .spell-content nav.tabs [data-tab] {
  color: #636060;
}
.prismrpg .spell-content nav.tabs [data-tab].active {
  color: #252424;
}
.prismrpg .spell-content input:disabled,
.prismrpg .spell-content select:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  color: var(--color-dark-3);
}
.prismrpg .spell-content input,
.prismrpg .spell-content select {
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-color: var(--color-dark-6);
  color: var(--color-dark-2);
}
.prismrpg .spell-content input[name="name"] {
  height: 2.5rem;
  margin-right: 4px;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  border: none;
}
.prismrpg .spell-content fieldset {
  margin-bottom: 4px;
  border-radius: 4px;
}
.prismrpg .spell-content .form-fields input,
.prismrpg .spell-content .form-fields select {
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .spell-content .form-fields select {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .spell-content legend {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  letter-spacing: 1px;
}
.prismrpg .spell-content .form-fields {
  padding-top: 4px;
}
.prismrpg .spell-content .form-group {
  display: flex;
  flex: 1;
  flex-direction: row;
}
.prismrpg .spell-content .form-group label {
  align-content: center;
  min-width: 10rem;
  max-width: 10rem;
}
.prismrpg .spell-content .form-group select,
.prismrpg .spell-content .form-group input {
  text-align: left;
  min-width: 12rem;
  max-width: 12rem;
}
.prismrpg .spell-content .form-group input[type="checkbox"] {
  min-width: 1.2rem;
  max-width: 1.2rem;
  margin-right: 0.5rem;
}
.prismrpg .spell-content label {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
  flex: 50%;
}
.prismrpg .spell-content .align-top {
  align-self: flex-start;
  padding: 0.1rem;
  margin-right: 0.2rem;
}
.prismrpg .spell-content .shift-right {
  margin-left: 2rem;
}
.prismrpg .spell-content .header {
  display: flex;
}
.prismrpg .spell-content .header img {
  width: 50px;
  height: 50px;
}
.prismrpg .spell-content label {
  flex: 10%;
}
.prismrpg .vulnerability-content {
  font-family: var(--font-primary);
  font-size: calc(var(--font-size-standard) * 1);
  color: var(--color-dark-1);
  background-image: var(--background-image-base);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: auto;
}
.prismrpg .vulnerability-content nav.tabs [data-tab] {
  color: #636060;
}
.prismrpg .vulnerability-content nav.tabs [data-tab].active {
  color: #252424;
}
.prismrpg .vulnerability-content input:disabled,
.prismrpg .vulnerability-content select:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  color: var(--color-dark-3);
}
.prismrpg .vulnerability-content input,
.prismrpg .vulnerability-content select {
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-color: var(--color-dark-6);
  color: var(--color-dark-2);
}
.prismrpg .vulnerability-content input[name="name"] {
  height: 2.5rem;
  margin-right: 4px;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  border: none;
}
.prismrpg .vulnerability-content fieldset {
  margin-bottom: 4px;
  border-radius: 4px;
}
.prismrpg .vulnerability-content .form-fields input,
.prismrpg .vulnerability-content .form-fields select {
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .vulnerability-content .form-fields select {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .vulnerability-content legend {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  letter-spacing: 1px;
}
.prismrpg .vulnerability-content .form-fields {
  padding-top: 4px;
}
.prismrpg .vulnerability-content .form-group {
  display: flex;
  flex: 1;
  flex-direction: row;
}
.prismrpg .vulnerability-content .form-group label {
  align-content: center;
  min-width: 10rem;
  max-width: 10rem;
}
.prismrpg .vulnerability-content .form-group select,
.prismrpg .vulnerability-content .form-group input {
  text-align: left;
  min-width: 12rem;
  max-width: 12rem;
}
.prismrpg .vulnerability-content .form-group input[type="checkbox"] {
  min-width: 1.2rem;
  max-width: 1.2rem;
  margin-right: 0.5rem;
}
.prismrpg .vulnerability-content label {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
  flex: 50%;
}
.prismrpg .vulnerability-content .align-top {
  align-self: flex-start;
  padding: 0.1rem;
  margin-right: 0.2rem;
}
.prismrpg .vulnerability-content .shift-right {
  margin-left: 2rem;
}
.prismrpg .vulnerability-content .header {
  display: flex;
}
.prismrpg .vulnerability-content .header img {
  width: 50px;
  height: 50px;
}
.prismrpg .vulnerability-content input[type="checkbox"] {
  font-size: var(--font-size-14);
  width: 20px;
  padding-top: 0;
}
.prismrpg .vulnerability-content input[type="checkbox"]:checked {
  background-color: rgba(0, 0, 0, 0.1);
}
.prismrpg .vulnerability-content input[type="checkbox"]:checked::after {
  color: rgba(0, 0, 0, 0.1);
}
.prismrpg .equipment-content {
  font-family: var(--font-primary);
  font-size: calc(var(--font-size-standard) * 1);
  color: var(--color-dark-1);
  background-image: var(--background-image-base);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: auto;
}
.prismrpg .equipment-content nav.tabs [data-tab] {
  color: #636060;
}
.prismrpg .equipment-content nav.tabs [data-tab].active {
  color: #252424;
}
.prismrpg .equipment-content input:disabled,
.prismrpg .equipment-content select:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  color: var(--color-dark-3);
}
.prismrpg .equipment-content input,
.prismrpg .equipment-content select {
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-color: var(--color-dark-6);
  color: var(--color-dark-2);
}
.prismrpg .equipment-content input[name="name"] {
  height: 2.5rem;
  margin-right: 4px;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  border: none;
}
.prismrpg .equipment-content fieldset {
  margin-bottom: 4px;
  border-radius: 4px;
}
.prismrpg .equipment-content .form-fields input,
.prismrpg .equipment-content .form-fields select {
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .equipment-content .form-fields select {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .equipment-content legend {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  letter-spacing: 1px;
}
.prismrpg .equipment-content .form-fields {
  padding-top: 4px;
}
.prismrpg .equipment-content .form-group {
  display: flex;
  flex: 1;
  flex-direction: row;
}
.prismrpg .equipment-content .form-group label {
  align-content: center;
  min-width: 10rem;
  max-width: 10rem;
}
.prismrpg .equipment-content .form-group select,
.prismrpg .equipment-content .form-group input {
  text-align: left;
  min-width: 12rem;
  max-width: 12rem;
}
.prismrpg .equipment-content .form-group input[type="checkbox"] {
  min-width: 1.2rem;
  max-width: 1.2rem;
  margin-right: 0.5rem;
}
.prismrpg .equipment-content label {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
  flex: 50%;
}
.prismrpg .equipment-content .align-top {
  align-self: flex-start;
  padding: 0.1rem;
  margin-right: 0.2rem;
}
.prismrpg .equipment-content .shift-right {
  margin-left: 2rem;
}
.prismrpg .equipment-content .header {
  display: flex;
}
.prismrpg .equipment-content .header img {
  width: 50px;
  height: 50px;
}
.prismrpg .equipment-content label {
  flex: 10%;
}
.prismrpg .equipment-content .kit-passive {
  margin-bottom: 16px;
}
.prismrpg .equipment-content .special-activations legend {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.prismrpg .equipment-content .special-activations legend button {
  padding: 2px 8px;
  font-size: 12px;
}
.prismrpg .equipment-content .special-activations .activation-item {
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid var(--color-border-light-primary);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.05);
}
.prismrpg .equipment-content .special-activations .activation-item:last-child {
  margin-bottom: 0;
}
.prismrpg .equipment-content .special-activations .activation-header {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.prismrpg .equipment-content .special-activations .activation-header input[type="text"] {
  flex: 1;
}
.prismrpg .equipment-content .special-activations .activation-header button {
  padding: 4px 8px;
  font-size: 12px;
}
.prismrpg .equipment-content .special-activations .activation-header button[data-action="delete-special-activation"] {
  color: var(--color-text-danger, #c00);
}
.prismrpg .equipment-content .special-activations .activation-header button[data-action="delete-special-activation"]:hover {
  background: var(--color-bg-danger, rgba(200, 0, 0, 0.1));
}
.prismrpg .equipment-content .special-activations .hint {
  font-style: italic;
  color: var(--color-text-light-secondary);
  text-align: center;
  padding: 12px;
}
.prismrpg .shield-content {
  font-family: var(--font-primary);
  font-size: calc(var(--font-size-standard) * 1);
  color: var(--color-dark-1);
  background-image: var(--background-image-base);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: auto;
}
.prismrpg .shield-content nav.tabs [data-tab] {
  color: #636060;
}
.prismrpg .shield-content nav.tabs [data-tab].active {
  color: #252424;
}
.prismrpg .shield-content input:disabled,
.prismrpg .shield-content select:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  color: var(--color-dark-3);
}
.prismrpg .shield-content input,
.prismrpg .shield-content select {
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-color: var(--color-dark-6);
  color: var(--color-dark-2);
}
.prismrpg .shield-content input[name="name"] {
  height: 2.5rem;
  margin-right: 4px;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  border: none;
}
.prismrpg .shield-content fieldset {
  margin-bottom: 4px;
  border-radius: 4px;
}
.prismrpg .shield-content .form-fields input,
.prismrpg .shield-content .form-fields select {
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .shield-content .form-fields select {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .shield-content legend {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  letter-spacing: 1px;
}
.prismrpg .shield-content .form-fields {
  padding-top: 4px;
}
.prismrpg .shield-content .form-group {
  display: flex;
  flex: 1;
  flex-direction: row;
}
.prismrpg .shield-content .form-group label {
  align-content: center;
  min-width: 10rem;
  max-width: 10rem;
}
.prismrpg .shield-content .form-group select,
.prismrpg .shield-content .form-group input {
  text-align: left;
  min-width: 12rem;
  max-width: 12rem;
}
.prismrpg .shield-content .form-group input[type="checkbox"] {
  min-width: 1.2rem;
  max-width: 1.2rem;
  margin-right: 0.5rem;
}
.prismrpg .shield-content label {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
  flex: 50%;
}
.prismrpg .shield-content .align-top {
  align-self: flex-start;
  padding: 0.1rem;
  margin-right: 0.2rem;
}
.prismrpg .shield-content .shift-right {
  margin-left: 2rem;
}
.prismrpg .shield-content .header {
  display: flex;
}
.prismrpg .shield-content .header img {
  width: 50px;
  height: 50px;
}
.prismrpg .shield-content label {
  flex: 10%;
}
.prismrpg .miracle-content {
  font-family: var(--font-primary);
  font-size: calc(var(--font-size-standard) * 1);
  color: var(--color-dark-1);
  background-image: var(--background-image-base);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: auto;
}
.prismrpg .miracle-content nav.tabs [data-tab] {
  color: #636060;
}
.prismrpg .miracle-content nav.tabs [data-tab].active {
  color: #252424;
}
.prismrpg .miracle-content input:disabled,
.prismrpg .miracle-content select:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  color: var(--color-dark-3);
}
.prismrpg .miracle-content input,
.prismrpg .miracle-content select {
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-color: var(--color-dark-6);
  color: var(--color-dark-2);
}
.prismrpg .miracle-content input[name="name"] {
  height: 2.5rem;
  margin-right: 4px;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  border: none;
}
.prismrpg .miracle-content fieldset {
  margin-bottom: 4px;
  border-radius: 4px;
}
.prismrpg .miracle-content .form-fields input,
.prismrpg .miracle-content .form-fields select {
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .miracle-content .form-fields select {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .miracle-content legend {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  letter-spacing: 1px;
}
.prismrpg .miracle-content .form-fields {
  padding-top: 4px;
}
.prismrpg .miracle-content .form-group {
  display: flex;
  flex: 1;
  flex-direction: row;
}
.prismrpg .miracle-content .form-group label {
  align-content: center;
  min-width: 10rem;
  max-width: 10rem;
}
.prismrpg .miracle-content .form-group select,
.prismrpg .miracle-content .form-group input {
  text-align: left;
  min-width: 12rem;
  max-width: 12rem;
}
.prismrpg .miracle-content .form-group input[type="checkbox"] {
  min-width: 1.2rem;
  max-width: 1.2rem;
  margin-right: 0.5rem;
}
.prismrpg .miracle-content label {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
  flex: 50%;
}
.prismrpg .miracle-content .align-top {
  align-self: flex-start;
  padding: 0.1rem;
  margin-right: 0.2rem;
}
.prismrpg .miracle-content .shift-right {
  margin-left: 2rem;
}
.prismrpg .miracle-content .header {
  display: flex;
}
.prismrpg .miracle-content .header img {
  width: 50px;
  height: 50px;
}
.prismrpg .miracle-content label {
  flex: 10%;
}
.prismrpg .race-content {
  font-family: var(--font-primary);
  font-size: calc(var(--font-size-standard) * 1);
  color: var(--color-dark-1);
  background-image: var(--background-image-base);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: auto;
}
.prismrpg .race-content nav.tabs [data-tab] {
  color: #636060;
}
.prismrpg .race-content nav.tabs [data-tab].active {
  color: #252424;
}
.prismrpg .race-content input:disabled,
.prismrpg .race-content select:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  color: var(--color-dark-3);
}
.prismrpg .race-content input,
.prismrpg .race-content select {
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-color: var(--color-dark-6);
  color: var(--color-dark-2);
}
.prismrpg .race-content input[name="name"] {
  height: 2.5rem;
  margin-right: 4px;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  border: none;
}
.prismrpg .race-content fieldset {
  margin-bottom: 4px;
  border-radius: 4px;
}
.prismrpg .race-content .form-fields input,
.prismrpg .race-content .form-fields select {
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .race-content .form-fields select {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .race-content legend {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  letter-spacing: 1px;
}
.prismrpg .race-content .form-fields {
  padding-top: 4px;
}
.prismrpg .race-content .form-group {
  display: flex;
  flex: 1;
  flex-direction: row;
}
.prismrpg .race-content .form-group label {
  align-content: center;
  min-width: 10rem;
  max-width: 10rem;
}
.prismrpg .race-content .form-group select,
.prismrpg .race-content .form-group input {
  text-align: left;
  min-width: 12rem;
  max-width: 12rem;
}
.prismrpg .race-content .form-group input[type="checkbox"] {
  min-width: 1.2rem;
  max-width: 1.2rem;
  margin-right: 0.5rem;
}
.prismrpg .race-content label {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
  flex: 50%;
}
.prismrpg .race-content .align-top {
  align-self: flex-start;
  padding: 0.1rem;
  margin-right: 0.2rem;
}
.prismrpg .race-content .shift-right {
  margin-left: 2rem;
}
.prismrpg .race-content .header {
  display: flex;
}
.prismrpg .race-content .header img {
  width: 50px;
  height: 50px;
}
.prismrpg .race-content label {
  flex: 10%;
}
.prismrpg .class-content {
  font-family: var(--font-primary);
  font-size: calc(var(--font-size-standard) * 1);
  color: var(--color-dark-1);
  background-image: var(--background-image-base);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: auto;
}
.prismrpg .class-content nav.tabs [data-tab] {
  color: #636060;
}
.prismrpg .class-content nav.tabs [data-tab].active {
  color: #252424;
}
.prismrpg .class-content input:disabled,
.prismrpg .class-content select:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  color: var(--color-dark-3);
}
.prismrpg .class-content input,
.prismrpg .class-content select {
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-color: var(--color-dark-6);
  color: var(--color-dark-2);
}
.prismrpg .class-content input[name="name"] {
  height: 2.5rem;
  margin-right: 4px;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  border: none;
}
.prismrpg .class-content fieldset {
  margin-bottom: 4px;
  border-radius: 4px;
}
.prismrpg .class-content .form-fields input,
.prismrpg .class-content .form-fields select {
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .class-content .form-fields select {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .class-content legend {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  letter-spacing: 1px;
}
.prismrpg .class-content .form-fields {
  padding-top: 4px;
}
.prismrpg .class-content .form-group {
  display: flex;
  flex: 1;
  flex-direction: row;
}
.prismrpg .class-content .form-group label {
  align-content: center;
  min-width: 10rem;
  max-width: 10rem;
}
.prismrpg .class-content .form-group select,
.prismrpg .class-content .form-group input {
  text-align: left;
  min-width: 12rem;
  max-width: 12rem;
}
.prismrpg .class-content .form-group input[type="checkbox"] {
  min-width: 1.2rem;
  max-width: 1.2rem;
  margin-right: 0.5rem;
}
.prismrpg .class-content label {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
  flex: 50%;
}
.prismrpg .class-content .align-top {
  align-self: flex-start;
  padding: 0.1rem;
  margin-right: 0.2rem;
}
.prismrpg .class-content .shift-right {
  margin-left: 2rem;
}
.prismrpg .class-content .header {
  display: flex;
}
.prismrpg .class-content .header img {
  width: 50px;
  height: 50px;
}
.prismrpg .class-content label {
  flex: 10%;
}
.prismrpg .class-content .advancement-level {
  margin-bottom: 1.5rem;
  padding: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.prismrpg .class-content .advancement-level h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 0.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.prismrpg .class-content .advancement-level h3 .level-title {
  color: #000000;
  font-weight: bold;
  font-size: 80%;
}
.prismrpg .class-content .advancement-level h3 .add-advancement {
  padding: 0.25rem 0.5rem;
  background: var(--color-control-bg);
  border: 1px solid var(--color-border-dark);
  border-radius: 3px;
  cursor: pointer;
}
.prismrpg .class-content .advancement-level h3 .add-advancement:hover {
  background: var(--color-control-bg-hover);
}
.prismrpg .class-content .advancement-level h3 .add-advancement i {
  margin: 0;
}
.prismrpg .class-content .advancement-level .empty-advancements {
  font-style: italic;
  color: rgba(0, 0, 0, 0.5);
  margin: 0.5rem 0;
}
.prismrpg .class-content .advancement-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.prismrpg .class-content .advancement-item {
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}
.prismrpg .class-content .advancement-item .advancement-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.prismrpg .class-content .advancement-item .advancement-header .advancement-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
}
.prismrpg .class-content .advancement-item .advancement-header .advancement-icon:hover {
  border-color: var(--color-border-highlight);
}
.prismrpg .class-content .advancement-item .advancement-header input[type="text"] {
  flex: 1;
  font-weight: bold;
}
.prismrpg .class-content .advancement-item .advancement-header .toggle-advancement-description {
  padding: 0.25rem 0.5rem;
  background: var(--color-control-bg);
  border: 1px solid var(--color-border-dark);
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 0.25rem;
}
.prismrpg .class-content .advancement-item .advancement-header .toggle-advancement-description:hover {
  background: var(--color-control-bg-hover);
}
.prismrpg .class-content .advancement-item .advancement-header .toggle-advancement-description i {
  margin: 0;
  color: rgba(0, 0, 0, 0.7);
}
.prismrpg .class-content .advancement-item .advancement-header .delete-advancement {
  padding: 0.25rem 0.5rem;
  background: var(--color-control-bg);
  border: 1px solid var(--color-border-dark);
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
}
.prismrpg .class-content .advancement-item .advancement-header .delete-advancement:hover {
  background: rgba(255, 0, 0, 0.1);
  border-color: rgba(255, 0, 0, 0.5);
}
.prismrpg .class-content .advancement-item .advancement-header .delete-advancement i {
  margin: 0;
  color: rgba(255, 0, 0, 0.7);
}
.prismrpg .class-content .advancement-item .advancement-description {
  margin-top: 0.5rem;
  overflow: hidden;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  max-height: 500px;
  opacity: 1;
}
.prismrpg .class-content .advancement-item .advancement-description.collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}
.prismrpg .character-path-content {
  font-family: var(--font-primary);
  font-size: calc(var(--font-size-standard) * 1);
  color: var(--color-dark-1);
  background-image: var(--background-image-base);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: auto;
}
.prismrpg .character-path-content nav.tabs [data-tab] {
  color: #636060;
}
.prismrpg .character-path-content nav.tabs [data-tab].active {
  color: #252424;
}
.prismrpg .character-path-content input:disabled,
.prismrpg .character-path-content select:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  color: var(--color-dark-3);
}
.prismrpg .character-path-content input,
.prismrpg .character-path-content select {
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-color: var(--color-dark-6);
  color: var(--color-dark-2);
}
.prismrpg .character-path-content input[name="name"] {
  height: 2.5rem;
  margin-right: 4px;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  border: none;
}
.prismrpg .character-path-content fieldset {
  margin-bottom: 4px;
  border-radius: 4px;
}
.prismrpg .character-path-content .form-fields input,
.prismrpg .character-path-content .form-fields select {
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .character-path-content .form-fields select {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .character-path-content legend {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  letter-spacing: 1px;
}
.prismrpg .character-path-content .form-fields {
  padding-top: 4px;
}
.prismrpg .character-path-content .form-group {
  display: flex;
  flex: 1;
  flex-direction: row;
}
.prismrpg .character-path-content .form-group label {
  align-content: center;
  min-width: 10rem;
  max-width: 10rem;
}
.prismrpg .character-path-content .form-group select,
.prismrpg .character-path-content .form-group input {
  text-align: left;
  min-width: 12rem;
  max-width: 12rem;
}
.prismrpg .character-path-content .form-group input[type="checkbox"] {
  min-width: 1.2rem;
  max-width: 1.2rem;
  margin-right: 0.5rem;
}
.prismrpg .character-path-content label {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
  flex: 50%;
}
.prismrpg .character-path-content .align-top {
  align-self: flex-start;
  padding: 0.1rem;
  margin-right: 0.2rem;
}
.prismrpg .character-path-content .shift-right {
  margin-left: 2rem;
}
.prismrpg .character-path-content .header {
  display: flex;
}
.prismrpg .character-path-content .header img {
  width: 50px;
  height: 50px;
}
.prismrpg .character-path-content input[type="checkbox"] {
  font-size: var(--font-size-14);
  width: 20px;
  padding-top: 0;
}
.prismrpg .character-path-content input[type="checkbox"]:checked {
  background-color: rgba(0, 0, 0, 0.1);
}
.prismrpg .character-path-content input[type="checkbox"]:checked::after {
  color: rgba(0, 0, 0, 0.1);
}
.prismrpg .container-content {
  font-family: var(--font-primary);
  font-size: calc(var(--font-size-standard) * 1);
  color: var(--color-dark-1);
  background-image: var(--background-image-base);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: auto;
}
.prismrpg .container-content nav.tabs [data-tab] {
  color: #636060;
}
.prismrpg .container-content nav.tabs [data-tab].active {
  color: #252424;
}
.prismrpg .container-content input:disabled,
.prismrpg .container-content select:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  color: var(--color-dark-3);
}
.prismrpg .container-content input,
.prismrpg .container-content select {
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-color: var(--color-dark-6);
  color: var(--color-dark-2);
}
.prismrpg .container-content input[name="name"] {
  height: 2.5rem;
  margin-right: 4px;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  border: none;
}
.prismrpg .container-content fieldset {
  margin-bottom: 4px;
  border-radius: 4px;
}
.prismrpg .container-content .form-fields input,
.prismrpg .container-content .form-fields select {
  text-align: center;
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .container-content .form-fields select {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
}
.prismrpg .container-content legend {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  font-weight: bold;
  letter-spacing: 1px;
}
.prismrpg .container-content .form-fields {
  padding-top: 4px;
}
.prismrpg .container-content .form-group {
  display: flex;
  flex: 1;
  flex-direction: row;
}
.prismrpg .container-content .form-group label {
  align-content: center;
  min-width: 10rem;
  max-width: 10rem;
}
.prismrpg .container-content .form-group select,
.prismrpg .container-content .form-group input {
  text-align: left;
  min-width: 12rem;
  max-width: 12rem;
}
.prismrpg .container-content .form-group input[type="checkbox"] {
  min-width: 1.2rem;
  max-width: 1.2rem;
  margin-right: 0.5rem;
}
.prismrpg .container-content label {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
  flex: 50%;
}
.prismrpg .container-content .align-top {
  align-self: flex-start;
  padding: 0.1rem;
  margin-right: 0.2rem;
}
.prismrpg .container-content .shift-right {
  margin-left: 2rem;
}
.prismrpg .container-content .header {
  display: flex;
}
.prismrpg .container-content .header img {
  width: 50px;
  height: 50px;
}
.prismrpg .container-content .item-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 1px solid var(--color-border-light-tertiary);
  border-radius: 4px;
}
.prismrpg .consumable-content .item-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 1px solid var(--color-border-light-tertiary);
  border-radius: 4px;
}
.prismrpg .loot-content .item-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 1px solid var(--color-border-light-tertiary);
  border-radius: 4px;
}
.prismrpg .effects-container {
  padding: 0.5rem;
}
.prismrpg .effect-category {
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.prismrpg .effect-category:last-child {
  margin-bottom: 0;
}
.prismrpg .stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.prismrpg .stat-list.alternate-list .list-item {
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  align-items: center;
  gap: 0.5rem;
  min-height: 32px;
}
.prismrpg .stat-list.alternate-list .list-item.items-title-bg {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-bottom: 2px solid rgba(0, 0, 0, 0.4);
  padding: 0.5rem 0.6rem;
  font-weight: bold;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.prismrpg .stat-list.alternate-list .list-item.items-title-bg h3 {
  margin: 0;
  font-size: 1rem;
  font-family: var(--font-secondary);
  color: rgba(0, 0, 0, 0.9);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
  font-weight: bold;
}
.prismrpg .stat-list.alternate-list .list-item.items-title-bg .short-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
  letter-spacing: 0.5px;
}
.prismrpg .stat-list.alternate-list .list-item.list-item-shadow {
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.05);
}
.prismrpg .stat-list.alternate-list .list-item.list-item-shadow:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.prismrpg .stat-list.alternate-list .list-item:last-child {
  border-bottom: none;
}
.prismrpg .sheet-competence-img {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.prismrpg .item-name-img {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.prismrpg .item-name-img:hover .sheet-competence-img {
  border-color: rgba(13, 110, 253, 0.6);
  box-shadow: 0 2px 4px rgba(13, 110, 253, 0.3);
}
.prismrpg .item-name-label-header-long {
  flex: 2;
  display: flex;
  align-items: center;
}
.prismrpg .item-name-label-header-long .items-title-text {
  font-weight: bold;
}
.prismrpg .item-name-label-long {
  flex: 2;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(0, 0, 0, 0.9);
  font-size: 0.9rem;
}
.prismrpg .item-field-label-short {
  flex: 0 0 90px;
  font-size: 0.8rem;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(0, 0, 0, 0.7);
  font-style: italic;
}
.prismrpg .item-field-label-medium {
  flex: 0 0 100px;
  font-size: 0.8rem;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(0, 0, 0, 0.7);
  font-style: italic;
}
.prismrpg .item-filler {
  flex: 1;
  min-width: 10px;
}
.prismrpg .item-controls {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  flex-shrink: 0;
}
.prismrpg .item-controls.item-controls-fixed {
  flex: 0 0 auto;
}
.prismrpg .item-controls.effect-controls {
  gap: 0.25rem;
}
.prismrpg .effect-control {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(240, 240, 240, 0.8));
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
  padding: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.prismrpg .effect-control i {
  font-size: 0.85rem;
  margin: 0;
}
.prismrpg .effect-control:hover {
  background: linear-gradient(to bottom, #ffffff, #e6e6e6);
  border-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}
.prismrpg .effect-control:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.prismrpg .effect-control.item-edit:hover {
  background: linear-gradient(to bottom, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.3));
  color: #0d6efd;
  border-color: rgba(13, 110, 253, 0.5);
}
.prismrpg .effect-control[data-action="create-effect"] {
  width: auto;
  padding: 0.3rem 0.5rem;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: linear-gradient(to bottom, rgba(40, 167, 69, 0.25), rgba(40, 167, 69, 0.35));
  border-color: rgba(40, 167, 69, 0.4);
  color: #19642a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.prismrpg .effect-control[data-action="create-effect"]:hover {
  background: linear-gradient(to bottom, rgba(40, 167, 69, 0.35), rgba(40, 167, 69, 0.45));
  border-color: rgba(40, 167, 69, 0.6);
  color: #19642a;
}
.prismrpg .effect-control[data-action="create-effect"] i {
  font-size: 0.75rem;
}
.prismrpg .effect-control[data-action="effect-delete"]:hover {
  background: linear-gradient(to bottom, rgba(220, 53, 69, 0.2), rgba(220, 53, 69, 0.3));
  color: #dc3545;
  border-color: rgba(220, 53, 69, 0.5);
}
.prismrpg .flexrow {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}
.prismrpg .weapon-types-config {
  padding: 0;
}
.prismrpg .weapon-types-config .sheet-tabs {
  margin: 0;
  border-bottom: 2px solid #444;
}
.prismrpg .weapon-types-config .content {
  padding: 0.5rem;
  max-height: 60vh;
  overflow-y: auto;
}
.prismrpg .weapon-types-config .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #666;
}
.prismrpg .weapon-types-config .weapon-type-entry,
.prismrpg .weapon-types-config .weapon-group-entry {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 4px;
  border: 1px solid #555;
  display: flex;
  gap: 0.75rem;
  align-items: start;
}
.prismrpg .weapon-types-config .weapon-type-entry .form-fields {
  display: grid;
  grid-template-columns: 100px 3fr 70px 70px;
  gap: 0.75rem;
  flex: 1;
  align-items: center;
}
.prismrpg .weapon-types-config .weapon-group-entry .form-fields {
  display: grid;
  grid-template-columns: 120px 2fr 120px 150px 3fr;
  gap: 0.75rem;
  flex: 1;
  align-items: center;
}
.prismrpg .weapon-types-config .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.prismrpg .weapon-types-config .form-group label {
  font-size: 0.75em;
  color: #fff;
  font-weight: bold;
  white-space: nowrap;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
}
.prismrpg .weapon-types-config input[type="text"],
.prismrpg .weapon-types-config input[type="number"],
.prismrpg .weapon-types-config textarea {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #666;
  color: #fff;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
}
.prismrpg .weapon-types-config input[readonly] {
  background: rgba(0, 0, 0, 0.7);
  color: #999;
  cursor: not-allowed;
  font-size: 0.8em;
}
.prismrpg .weapon-types-config textarea {
  resize: vertical;
  min-height: 40px;
  font-size: 0.85em;
}
.prismrpg .weapon-types-config button[data-action] {
  background: rgba(100, 100, 100, 0.5);
  border: 1px solid #666;
  color: #fff;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
}
.prismrpg .weapon-types-config button[data-action]:hover {
  background: rgba(150, 150, 150, 0.5);
  border-color: #888;
}
.prismrpg .weapon-types-config button[data-action="delete-weapon-type"],
.prismrpg .weapon-types-config button[data-action="delete-weapon-group"] {
  background: rgba(139, 0, 0, 0.5);
  align-self: center;
  padding: 0.25rem;
  min-width: auto;
  width: auto;
  font-size: 0.9em;
  flex-shrink: 0;
}
.prismrpg .weapon-types-config button[data-action="delete-weapon-type"]:hover,
.prismrpg .weapon-types-config button[data-action="delete-weapon-group"]:hover {
  background: rgba(200, 0, 0, 0.7);
}
.prismrpg .weapon-types-config .sheet-footer {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  border-top: 2px solid #444;
  gap: 1rem;
}
.prismrpg .weapon-types-config .sheet-footer button {
  padding: 0.5rem 1rem;
  font-size: 1em;
}
.prismrpg .weapon-types-config .weapon-types-list,
.prismrpg .weapon-types-config .weapon-groups-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.prismrpg .weapon-types-config .flexrow {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.chat-log .message-content .prismrpg-chat-card {
  font-family: var(--font-primary);
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%);
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin: 2px 0;
}
.chat-log .message-content .prismrpg-chat-card .chat-header {
  display: flex;
  gap: 8px;
  padding: 6px 8px;
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  border-bottom: 1px solid #444;
}
.chat-log .message-content .prismrpg-chat-card .chat-header .chat-portrait {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #666;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.chat-log .message-content .prismrpg-chat-card .chat-header .chat-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chat-log .message-content .prismrpg-chat-card .chat-header .chat-title {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.chat-log .message-content .prismrpg-chat-card .chat-header .chat-title .actor-name {
  font-weight: bold;
  font-size: 0.95em;
  color: #e0e0e0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
}
.chat-log .message-content .prismrpg-chat-card .chat-header .chat-title .roll-name {
  font-size: 0.8em;
  color: #aaa;
  line-height: 1.1;
}
.chat-log .message-content .prismrpg-chat-card .chat-header .chat-title .roll-type-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 0.7em;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 2px;
  width: fit-content;
}
.chat-log .message-content .prismrpg-chat-card .chat-header .chat-title .roll-type-badge.attack {
  background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
  color: white;
  box-shadow: 0 1px 2px rgba(196, 30, 58, 0.4);
}
.chat-log .message-content .prismrpg-chat-card .chat-header .chat-title .bad-result {
  color: #ff6b6b;
  font-size: 0.75em;
  margin-top: 1px;
}
.chat-log .message-content .prismrpg-chat-card .chat-content {
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 6px;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-header,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-header,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-header,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-header .weapon-name,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-header .weapon-name,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-header .weapon-name,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-header .weapon-name,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-header .spell-name,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-header .spell-name,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-header .spell-name,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-header .spell-name {
  font-size: 0.95em;
  color: #d4af37;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-header .badge,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-header .badge,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-header .badge,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-header .badge {
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 0.65em;
  font-weight: bold;
  text-transform: uppercase;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-header .badge.implement,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-header .badge.implement,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-header .badge.implement,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-header .badge.implement {
  background: #4a5cf7;
  color: white;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-header .badge.upcast,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-header .badge.upcast,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-header .badge.upcast,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-header .badge.upcast {
  background: #9b59b6;
  color: white;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-header .attribute-used,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-header .attribute-used,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-header .attribute-used,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-header .attribute-used {
  font-size: 0.75em;
  color: #999;
  font-style: italic;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-stats,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-stats,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-stats,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-stats .stat-item,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-stats .stat-item,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-stats .stat-item,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  font-size: 0.75em;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-stats .stat-item i,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-stats .stat-item i,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-stats .stat-item i,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-stats .stat-item i {
  color: #888;
  font-size: 0.85em;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-stats .stat-item.apc,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-stats .stat-item.apc,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-stats .stat-item.apc,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-stats .stat-item.apc {
  background: rgba(255, 193, 7, 0.2);
  border: 1px solid rgba(255, 193, 7, 0.4);
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-stats .stat-item.apc i,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-stats .stat-item.apc i,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-stats .stat-item.apc i,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-stats .stat-item.apc i {
  color: #ffc107;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-stats .stat-item.damage,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-stats .stat-item.damage,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-stats .stat-item.damage,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-stats .stat-item.damage {
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid rgba(244, 67, 54, 0.4);
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-stats .stat-item.damage i,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-stats .stat-item.damage i,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-stats .stat-item.damage i,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-stats .stat-item.damage i {
  color: #f44336;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-stats .stat-item.range,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-stats .stat-item.range,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-stats .stat-item.range,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-stats .stat-item.range {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.4);
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-stats .stat-item.range i,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-stats .stat-item.range i,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-stats .stat-item.range i,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-stats .stat-item.range i {
  color: #4caf50;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-stats .stat-item.reload,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-stats .stat-item.reload,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-stats .stat-item.reload,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-stats .stat-item.reload {
  background: rgba(255, 152, 0, 0.2);
  border: 1px solid rgba(255, 152, 0, 0.4);
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-stats .stat-item.reload i,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-stats .stat-item.reload i,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-stats .stat-item.reload i,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-stats .stat-item.reload i {
  color: #ff9800;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-stats .stat-item.mana,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-stats .stat-item.mana,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-stats .stat-item.mana,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-stats .stat-item.mana {
  background: rgba(33, 150, 243, 0.2);
  border: 1px solid rgba(33, 150, 243, 0.4);
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-stats .stat-item.mana i,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-stats .stat-item.mana i,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-stats .stat-item.mana i,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-stats .stat-item.mana i {
  color: #2196f3;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-stats .stat-item.upkeep,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-stats .stat-item.upkeep,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-stats .stat-item.upkeep,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-stats .stat-item.upkeep {
  background: rgba(156, 39, 176, 0.2);
  border: 1px solid rgba(156, 39, 176, 0.4);
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-stats .stat-item.upkeep i,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-stats .stat-item.upkeep i,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-stats .stat-item.upkeep i,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-stats .stat-item.upkeep i {
  color: #9c27b0;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-stats .stat-item.characteristic,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-stats .stat-item.characteristic,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-stats .stat-item.characteristic,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-stats .stat-item.characteristic {
  background: rgba(103, 58, 183, 0.2);
  border: 1px solid rgba(103, 58, 183, 0.4);
}
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .weapon-stats .stat-item.characteristic i,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .weapon-stats .stat-item.characteristic i,
.chat-log .message-content .prismrpg-chat-card .chat-content .weapon-info-card .spell-stats .stat-item.characteristic i,
.chat-log .message-content .prismrpg-chat-card .chat-content .spell-info-card .spell-stats .stat-item.characteristic i {
  color: #673ab7;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .special-badge {
  display: inline-block;
  padding: 2px 6px;
  background: linear-gradient(135deg, #ff6b6b 0%, #c92a2a 100%);
  color: white;
  border-radius: 3px;
  font-size: 0.75em;
  font-weight: bold;
  width: fit-content;
  box-shadow: 0 1px 2px rgba(255, 107, 107, 0.4);
}
.chat-log .message-content .prismrpg-chat-card .chat-content .aiming-info {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  background: rgba(76, 175, 80, 0.1);
  border-left: 2px solid #4caf50;
  border-radius: 3px;
  font-size: 0.8em;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .aiming-info i {
  color: #4caf50;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .formula-display {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.85em;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}
.chat-log .message-content .prismrpg-chat-card .chat-content .formula-display i {
  color: #888;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .modifier-info {
  display: flex;
  gap: 8px;
  padding: 3px 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  font-size: 0.75em;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .modifier-info span {
  color: #aaa;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .dice-breakdown {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  font-size: 0.8em;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .dice-breakdown i {
  color: #888;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .roll-damage-button {
  padding: 4px 10px;
  background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.85em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(196, 30, 58, 0.4);
  margin-top: 4px;
}
.chat-log .message-content .prismrpg-chat-card .chat-content .roll-damage-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(196, 30, 58, 0.6);
}
.chat-log .message-content .prismrpg-chat-card .chat-content .roll-damage-button i {
  font-size: 1em;
}
.chat-log .message-content .prismrpg-chat-card .roll-result {
  padding: 8px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.5);
}
.chat-log .message-content .prismrpg-chat-card .roll-result .result-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.chat-log .message-content .prismrpg-chat-card .roll-result .result-total .total-label {
  font-size: 0.85em;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.chat-log .message-content .prismrpg-chat-card .roll-result .result-total .total-value {
  font-size: 1.8em;
  font-weight: bold;
  color: #d4af37;
  text-shadow: 0 1px 3px rgba(212, 175, 55, 0.5);
  line-height: 1;
}
.chat-log .message-content .prismrpg-chat-card .roll-result .d30-result {
  margin-top: 4px;
  padding: 3px 6px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  font-size: 0.8em;
  text-align: center;
}
.chat-log .message-content .prismrpg-chat-card .roll-result .d30-result i {
  color: #d4af37;
  margin-right: 4px;
}
.chat-log .message-content .prismrpg-chat-card .result-badge {
  padding: 6px;
  text-align: center;
  font-size: 0.9em;
  font-weight: bold;
  border-top: 1px solid;
}
.chat-log .message-content .prismrpg-chat-card .result-badge.success {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.3) 0%, rgba(76, 175, 80, 0.1) 100%);
  border-color: #4caf50;
  color: #4caf50;
}
.chat-log .message-content .prismrpg-chat-card .result-badge.failure {
  background: linear-gradient(135deg, rgba(244, 67, 54, 0.3) 0%, rgba(244, 67, 54, 0.1) 100%);
  border-color: #f44336;
  color: #f44336;
}
.chat-log .message-content .prismrpg-chat-card .result-badge i {
  margin-right: 6px;
  font-size: 1em;
}
.chat-log .message-content .prismrpg-chat-card .damage-info {
  padding: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  font-size: 0.8em;
  color: #aaa;
}
.chat-log .message-content.fortune img {
  border: 0px;
}
.chat-log .message-content.fortune .intro-chat {
  border-radius: 20px;
  display: flex;
  flex-direction: row;
}
.chat-log .message-content.fortune .intro-chat .intro-img {
  padding: 5px;
  width: 80px;
  align-self: center;
}
.chat-log .message-content.fortune .intro-chat .intro-right {
  display: flex;
  flex-direction: column;
}
.chat-log .message-content.fortune .intro-chat .intro-right .introText {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
  width: 210px;
  text-align: center;
}
.chat-log .message-content.fortune .button.control,
.chat-log .message-content.fortune .fortune-accepted {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: calc(var(--font-size-standard) * 1.3);
}
.chat-log .message-content.ask-roll {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1.2);
}
.chat-log .message-content .prismrpg-item-chat-card {
  font-family: var(--font-primary);
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%);
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin: 2px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.chat-log .message-content .prismrpg-item-chat-card .item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  border-bottom: 1px solid #444;
}
.chat-log .message-content .prismrpg-item-chat-card .item-header h3 {
  margin: 0;
  font-size: 0.95em;
  font-weight: bold;
  color: #d4af37;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  font-family: var(--font-secondary);
}
.chat-log .message-content .prismrpg-item-chat-card .item-header .item-type {
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 0.65em;
  font-weight: bold;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.3px;
}
.chat-log .message-content .prismrpg-item-chat-card .item-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px;
  background: rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.chat-log .message-content .prismrpg-item-chat-card .item-image img {
  max-width: 50px;
  max-height: 50px;
  border-radius: 3px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}
.chat-log .message-content .prismrpg-item-chat-card .item-image img:hover {
  transform: scale(1.05);
}
.chat-log .message-content .prismrpg-item-chat-card .item-description {
  padding: 6px 8px;
  color: #000;
  font-size: 0.8em;
  line-height: 1.3;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-style: italic;
}
.chat-log .message-content .prismrpg-item-chat-card .item-details {
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.chat-log .message-content .prismrpg-item-chat-card .item-details .item-detail {
  display: flex;
  align-items: center;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid rgba(212, 175, 55, 0.5);
  border-radius: 2px;
  font-size: 0.8em;
}
.chat-log .message-content .prismrpg-item-chat-card .item-details .item-detail strong {
  color: #d4af37;
  margin-right: 6px;
  min-width: 90px;
  font-weight: bold;
}
.chat-log .message-content .prismrpg-item-chat-card .item-details .item-detail:nth-child(even) {
  background: rgba(0, 0, 0, 0.05);
}
.chat-log .message-content .prismrpg-item-chat-card.weapon-item .item-header {
  background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
}
.chat-log .message-content .prismrpg-item-chat-card.armor-item .item-header {
  background: linear-gradient(135deg, #4a5cf7 0%, #2c3e9e 100%);
}
.chat-log .message-content .prismrpg-item-chat-card.spell-item .item-header {
  background: linear-gradient(135deg, #9b59b6 0%, #6c3483 100%);
}
.chat-log .message-content .prismrpg-item-chat-card.skill-item .item-header {
  background: linear-gradient(135deg, #16a085 0%, #0e6655 100%);
}
.chat-log .message-content .prismrpg-item-chat-card.equipment-item .item-header {
  background: linear-gradient(135deg, #f39c12 0%, #b8730f 100%);
}
.new-round-message .chat-title .new-round-label {
  font-size: var(--font-size-11);
  font-style: italic;
  color: #8a7a5a;
  margin-top: 1px;
}
.new-round-message .new-round-actors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 0 2px;
}
.new-round-message .new-round-actors .new-round-restore-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  width: calc(50% - 3px);
  padding: 4px 8px 4px 6px;
  border: 1px solid #7a6a45;
  border-radius: 4px;
  background: linear-gradient(135deg, #f5e6c8 0%, #e8d5a0 100%);
  cursor: pointer;
  font-size: var(--font-size-13);
  color: #3a2e1a;
  overflow: hidden;
}
.new-round-message .new-round-actors .new-round-restore-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.new-round-message .new-round-actors .new-round-restore-btn img {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 3px;
  object-fit: cover;
}
.new-round-message .new-round-actors .new-round-restore-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #fdf3dc 0%, #f0e0b0 100%);
  border-color: #a08040;
}
.new-round-message .new-round-actors .new-round-restore-btn:disabled,
.new-round-message .new-round-actors .new-round-restore-btn.restored {
  opacity: 0.45;
  cursor: default;
}
.new-round-message .new-round-actors .new-round-all-btn {
  width: 100%;
  background: linear-gradient(135deg, #c8dff5 0%, #a0c0e8 100%);
  border-color: #4a6a8a;
  color: #1a2e3a;
  font-weight: bold;
}
.new-round-message .new-round-actors .new-round-all-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #dcedfc 0%, #b0d0f0 100%);
  border-color: #3a5a7a;
}
.status-separator {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  height: 2px;
  border: none;
  border-top: 2px solid rgba(255, 255, 255, 0.35);
  margin: 5px 0;
}
.application.dialog.prismrpg {
  color: var(--color-dark-1);
}
.application.dialog.prismrpg input,
.application.dialog.prismrpg select {
  background-color: rgba(0, 0, 0, 0.1);
  border-color: var(--color-dark-6);
  color: var(--color-dark-2);
}
.prismrpg-roll-dialog fieldset {
  padding: 4px;
}
.prismrpg-roll-dialog .goto-token-button {
  justify-content: center;
  align-items: center;
  align-content: center;
  margin-left: 0.5rem;
  max-width: 8rem;
  background-color: var(--color-dark-6);
  color: var(--color-dark-2);
  border: none;
  border-radius: 4px;
  padding: 0.5rem;
}
.prismrpg-roll-dialog .dialog-weapon-options {
  margin-top: 8px;
}
.prismrpg-roll-dialog .dialog-weapon-options .dialog-save {
  margin: 4px 0;
}
.prismrpg-roll-dialog .dialog-weapon-options .dialog-save label {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.prismrpg-roll-dialog .dialog-weapon-options .dialog-save label input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
}
.prismrpg-roll-dialog .dialog-weapon-options .dialog-save select {
  margin-left: 8px;
  min-width: 10rem;
}
.prismrpg-range-defense-dialog {
  width: 18rem;
}
.prismrpg-range-defense-dialog fieldset {
  padding: 4px;
}
.prismrpg-range-defense-dialog .fieldset-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.prismrpg-range-defense-dialog select {
  margin-left: 0.5rem;
  min-width: 12rem;
  max-width: 12rem;
}
.prismrpg-range-defense-dialog .field-section {
  display: flex;
  align-items: center;
  justify-content: left;
}
.prismrpg-range-defense-dialog .field-name {
  width: 5rem;
  min-width: 5rem;
  max-width: 5em;
}
.dialog-form .form-footer button {
  min-width: 14rem;
  min-height: 3.2rem;
}
.dialog-modifier {
  display: flex;
  justify-content: center;
  align-items: center;
}
.dialog-modifier select {
  border: none;
  background-color: rgba(0, 0, 0, 0.1);
  color: var(--color-dark-2);
  width: 60px;
  text-align: center;
}
.dialog-favor {
  display: flex;
  justify-content: center;
  align-items: center;
}
.dialog-favor select {
  border: none;
  background-color: rgba(0, 0, 0, 0.1);
  color: var(--color-dark-2);
  width: 120px;
  text-align: center;
}
.main,
.dialog-damage,
.dialog-resource,
.dialog-challenge,
.dialog-save {
  margin-bottom: 0px;
  padding-bottom: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
  color: var(--color-dark-1);
}
.main select,
.dialog-damage select,
.dialog-resource select,
.dialog-challenge select,
.dialog-save select {
  min-width: 8rem;
  max-width: 8rem;
  margin-left: 1rem;
}
.dice-roll {
  flex-direction: column;
}
.dice-roll .dice-total,
.dice-roll .dice-formula {
  padding-top: 4px;
}
.dice-roll .dice-total {
  margin-bottom: 4px;
}
.dice-roll .message-header {
  font-family: var(--font-primary);
}
.dice-roll img {
  border: 0px;
}
.dice-roll .intro-chat {
  border-radius: 20px;
  display: flex;
  flex-direction: row;
}
.dice-roll .intro-chat .intro-img {
  padding: 4px;
  width: 80px;
  align-self: center;
}
.dice-roll .intro-chat .intro-right {
  display: flex;
  flex-direction: column;
}
.dice-roll .intro-chat .intro-right .introText {
  font-family: var(--font-secondary);
  font-size: calc(var(--font-size-standard) * 1);
  width: 210px;
  margin-left: 20px;
}
.dice-roll .result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: calc(var(--font-size-standard) * 1);
  text-shadow: 0 0 10px var(--color-shadow-primary);
}
.dice-roll .damage-roll-button {
  margin-top: 0.5em;
  margin-bottom: 0.25em;
}
.dice-roll .damage-roll-button .roll-damage-button {
  background: linear-gradient(135deg, #8b0000 0%, #dc143c 100%);
  color: white;
  border: 1px solid #6b0000;
  border-radius: 3px;
  padding: 4px 10px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}
.dice-roll .damage-roll-button .roll-damage-button:hover {
  background: linear-gradient(135deg, #a00000 0%, #ff1744 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}
.dice-roll .damage-roll-button .roll-damage-button i {
  margin-right: 4px;
  font-size: 0.9em;
}
.prismrpg-roll-dialog-modern {
  font-family: var(--font-primary);
}
.prismrpg-roll-dialog-modern .dialog-header {
  background: linear-gradient(135deg, rgba(33, 33, 33, 0.95) 0%, rgba(66, 66, 66, 0.95) 100%);
  border-bottom: 2px solid #d4af37;
  padding: 8px 10px;
  margin: -8px -8px 8px -8px;
  border-radius: 4px 4px 0 0;
}
.prismrpg-roll-dialog-modern .dialog-header .character-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.prismrpg-roll-dialog-modern .dialog-header .character-info .character-name {
  font-size: 1em;
  font-weight: bold;
  color: #d4af37;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.prismrpg-roll-dialog-modern .dialog-header .character-info .item-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9em;
  color: #e0e0e0;
}
.prismrpg-roll-dialog-modern .dialog-header .character-info .item-name i {
  color: #d4af37;
  font-size: 0.85em;
}
.prismrpg-roll-dialog-modern .dialog-header .character-info .item-name.weapon i {
  color: #f44336;
}
.prismrpg-roll-dialog-modern .dialog-header .character-info .item-name.spell i {
  color: #9c27b0;
}
.prismrpg-roll-dialog-modern .dialog-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prismrpg-roll-dialog-modern .option-section {
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  padding: 6px 8px;
}
.prismrpg-roll-dialog-modern .option-section.weapon-section {
  border-left: 3px solid #f44336;
}
.prismrpg-roll-dialog-modern .option-section.spell-section {
  border-left: 3px solid #9c27b0;
}
.prismrpg-roll-dialog-modern .option-section .section-title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: bold;
  font-size: 0.9em;
  color: var(--color-dark-1);
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.prismrpg-roll-dialog-modern .option-section .section-title i {
  color: #d4af37;
  font-size: 0.85em;
}
.prismrpg-roll-dialog-modern .info-display {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
  margin-bottom: 6px;
  font-size: 0.8em;
  color: #666;
}
.prismrpg-roll-dialog-modern .info-display i {
  color: #4caf50;
  font-size: 0.85em;
}
.prismrpg-roll-dialog-modern .info-display .info-text {
  flex: 1;
}
.prismrpg-roll-dialog-modern .spell-info-display {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}
.prismrpg-roll-dialog-modern .spell-info-display .info-badge {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 0.75em;
  font-weight: 500;
}
.prismrpg-roll-dialog-modern .spell-info-display .info-badge i {
  font-size: 0.85em;
}
.prismrpg-roll-dialog-modern .spell-info-display .info-badge.characteristic {
  background: rgba(103, 58, 183, 0.2);
  border: 1px solid rgba(103, 58, 183, 0.4);
  color: #673ab7;
}
.prismrpg-roll-dialog-modern .spell-info-display .info-badge.characteristic i {
  color: #673ab7;
}
.prismrpg-roll-dialog-modern .spell-info-display .info-badge.mana {
  background: rgba(33, 150, 243, 0.2);
  border: 1px solid rgba(33, 150, 243, 0.4);
  color: #2196f3;
}
.prismrpg-roll-dialog-modern .spell-info-display .info-badge.mana i {
  color: #2196f3;
}
.prismrpg-roll-dialog-modern .spell-info-display .info-badge.apc {
  background: rgba(255, 193, 7, 0.2);
  border: 1px solid rgba(255, 193, 7, 0.4);
  color: #ffc107;
}
.prismrpg-roll-dialog-modern .spell-info-display .info-badge.apc i {
  color: #ffc107;
}
.prismrpg-roll-dialog-modern .spell-info-display .info-badge.upkeep {
  background: rgba(156, 39, 176, 0.2);
  border: 1px solid rgba(156, 39, 176, 0.4);
  color: #9c27b0;
}
.prismrpg-roll-dialog-modern .spell-info-display .info-badge.upkeep i {
  color: #9c27b0;
}
.prismrpg-roll-dialog-modern .option-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.prismrpg-roll-dialog-modern .option-row:last-child {
  margin-bottom: 0;
}
.prismrpg-roll-dialog-modern .option-row label {
  font-size: 0.85em;
  font-weight: 500;
  color: var(--color-dark-2);
  min-width: 90px;
}
.prismrpg-roll-dialog-modern .option-row select {
  flex: 1;
}
.prismrpg-roll-dialog-modern .styled-select {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  padding: 4px 8px;
  font-size: 0.85em;
  color: var(--color-dark-1);
  cursor: pointer;
  transition: all 0.2s ease;
}
.prismrpg-roll-dialog-modern .styled-select:hover {
  border-color: #d4af37;
  box-shadow: 0 0 4px rgba(212, 175, 55, 0.3);
}
.prismrpg-roll-dialog-modern .styled-select:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.5);
}
.prismrpg-roll-dialog-modern .styled-select.advantage-select,
.prismrpg-roll-dialog-modern .styled-select.modifier-select {
  text-align: center;
  font-weight: 500;
}
.prismrpg-roll-dialog-modern .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 6px;
}
.prismrpg-roll-dialog-modern .checkbox-group .checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 3px 4px;
  border-radius: 3px;
  transition: background 0.2s ease;
}
.prismrpg-roll-dialog-modern .checkbox-group .checkbox-label:hover {
  background: rgba(0, 0, 0, 0.05);
}
.prismrpg-roll-dialog-modern .checkbox-group .checkbox-label input[type="checkbox"] {
  margin-right: 6px;
  cursor: pointer;
  width: 14px;
  height: 14px;
  accent-color: #d4af37;
}
.prismrpg-roll-dialog-modern .checkbox-group .checkbox-label .checkbox-text {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8em;
  color: var(--color-dark-2);
}
.prismrpg-roll-dialog-modern .checkbox-group .checkbox-label .checkbox-text i {
  color: #888;
  font-size: 0.85em;
}
.prismrpg-roll-dialog-modern .checkbox-group .checkbox-label input[type="checkbox"]:checked ~ .checkbox-text {
  color: var(--color-dark-1);
  font-weight: 500;
}
.prismrpg-roll-dialog-modern .checkbox-group .checkbox-label input[type="checkbox"]:checked ~ .checkbox-text i {
  color: #d4af37;
}
.application.dialog.prismrpg:has(.prismrpg-roll-dialog-modern) .window-content {
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  padding: 8px;
}
.application.dialog.prismrpg:has(.prismrpg-roll-dialog-modern) .dialog-buttons {
  padding: 6px 8px;
  gap: 6px;
}
.application.dialog.prismrpg:has(.prismrpg-roll-dialog-modern) .dialog-buttons button {
  background: linear-gradient(135deg, #4a4a4a 0%, #6a6a6a 100%);
  border: 1px solid #3a3a3a;
  color: white;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.application.dialog.prismrpg:has(.prismrpg-roll-dialog-modern) .dialog-buttons button:hover {
  background: linear-gradient(135deg, #5a5a5a 0%, #7a7a7a 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}
.application.dialog.prismrpg:has(.prismrpg-roll-dialog-modern) .dialog-buttons button.default,
.application.dialog.prismrpg:has(.prismrpg-roll-dialog-modern) .dialog-buttons button[data-button="roll"] {
  background: linear-gradient(135deg, #d4af37 0%, #f4cf67 100%);
  border-color: #b49030;
  color: #2a2a2a;
}
.application.dialog.prismrpg:has(.prismrpg-roll-dialog-modern) .dialog-buttons button.default:hover,
.application.dialog.prismrpg:has(.prismrpg-roll-dialog-modern) .dialog-buttons button[data-button="roll"]:hover {
  background: linear-gradient(135deg, #e4bf47 0%, #ffdf77 100%);
}
#token-hud .hp-loss-wrap {
  position: absolute;
  left: 75px;
  display: none;
  top: 50%;
  width: 48px;
  text-align: start;
  overflow-y: auto;
}
#token-hud .hp-loss-wrap-col1 {
  transform: translate(-200%, -50%);
}
#token-hud .hp-loss-wrap-col2 {
  transform: translate(-300%, -50%);
}
#token-hud .hp-loss-wrap-col3 {
  transform: translate(-400%, -50%);
}
#token-hud .hp-loss-hud-active {
  display: block;
}
#token-hud .hp-loss-hud-disabled {
  display: none;
}
#token-hud .hud-loss-hp-button-select {
  max-width: 40px;
  background-image: var(--background-image-base);
  padding-top: 0;
  padding-bottom: 0;
  width: max-content;
  margin: 0;
  color: #252424;
}
#token-hud .hp-loss-wrap .hud-loss-hp-button-select {
  padding-left: 8px;
  font-size: 0.9rem;
}
