:root {
  --color-advantage: #177ddc;
  --color-disadvantage: #d38b20;
}

.Activity {
  background-color: #141414;
  color: #ccc;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.Activity__header {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  background-color: #333;
  padding: 8px;
  border-bottom: 1px solid #222;
}

.Activity__title {
  flex: 1 1 auto;

}

.Activity__filter {
  flex: 0 0 auto;
}

.Activity__filter select {
  margin-left: 8px;

}

.Activity__container {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  background-color: #161719;
}

.Activity__items {
  height: 100px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1 1 auto;
}

.Activity__controls {
  flex: 0 0 auto;
  background-color: #222;
  padding: 8px;
}

.Roll {
  padding: 8px;
  margin: 0 8px;
  display: flex;
  flex-direction: row;
  align-content: center;
  border-bottom: 1px solid #383A3E;
  background-color: #161719;
}

.Roll--myRoll {
  background-color: #222;
}

/*
.Roll--fumble {
  background-color: #2a1215;
}

.Roll--critical {
  background-color: #162312;
}


.Roll--myRoll.Roll--fumble {
  background-color: #431418;
}

.Roll--myRoll.Roll--critical {
  background-color: #1d3712;
} */

.Roll__avatar {
  flex: 0 0 40px;
  margin-right: 8px;
}

.Roll__details {
  flex: 1 1 auto;
}

.Roll__totalContainer {
  text-align: right;
  margin-left: 8px;
  flex: 0 0 40px;

  display: flex;
  flex-direction: column;
  justify-content: right;
  align-items: flex-end;
}

.Roll__total {
  font-weight: bold;
  background-color:#383A3E;
  text-align: center;
  font-size: 16px;
  border-radius: 10px;

  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;

}

.Roll--critical .Roll__total, .Roll__special--critical {
  color: #49aa19;
}

.Roll--fumble .Roll__total, .Roll__special--fumble {
  color: #d32029;
}

.Roll__total_element {
  white-space: nowrap;
  color: #177ddc;
  text-align: left;
  font-size: 12px;
  margin-top: 4px;
}

.Roll__total_element td {
  padding: 1px;
}

.Roll__total_element--extra {
  color: #d32029;
}

.Roll__total_element--noticable {
  color: #d38b20;
}

.Roll__character {
  font-weight: bold;
}

.Roll__original {
  font-style: italic;

}

.Roll__results {
  color: #828282;
  display: block;
  padding-top: 4px;
}

.--tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

.--tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */

.--tooltip .--tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */

.--tooltip:hover .--tooltiptext {
  visibility: visible;
  opacity: 1;
}

/*
.Roll__special--fumble {
  color: #d32029;
}

.Roll__special--critical {
  color: #49aa19;
}

 */

.Roll__discarded {
  opacity: 0.5;
}

.Roll__discarded s {
  text-decoration: line-through;
}

.Roll__discarded--advantage {
  color: #177ddc;
  color: var(--color-advantage);
}

.Roll__discarded--disadvantage {
  color: #d38b20;
  color: var(--color-disadvantage);
}

.Roll__special--advantage {
  color: #177ddc;
  color: var(--color-advantage);
}

.Roll__special--disadvantage {
  color: #d38b20;
  color: var(--color-disadvantage);
}


























.ActivityRoller {
  display: flex;
  position: relative;
}

.ActivityRoller__rollField {
  margin-right: 8px;
  flex: 0 1 auto;
}

.ActivityRoller__rollButton {
  cursor: pointer;
  flex: 0 1 auto;
}

.ActivityRoller__toggle {
  cursor: pointer;
  flex: 1 1 auto;
  text-align: right;
  width: 100px;
}

.ActivityRoller__panel {
  position: absolute;
  top: 33px;
  background-color: #222;
  width: 100%;
  height: 100px;
}

.ActivityRoller__quickButton {
  margin-right: 8px;
}

.ActivityRoller__buttonRow {
  margin: 8px;
}
.avatar {
  max-height:30px;
  border-radius: 15px;
  width:auto;
  vertical-align:middle;
}

.Avatar {
  flex: 0 1 auto;
}

.Avatar__portrait {
  border: 1px solid #3C3C3C;
  -o-object-fit: cover;
     object-fit: cover;
}

.Avatar__portrait--party {
  width: 100px;
  height: 100px;
}

.Avatar__portrait--roll {
  width: 40px;
  height: 40px;
  border: 1px solid #181818;
  border-radius: 10px;
}

.Avatar__portrait--header {
  width: 150px;
  height: 150px;
}

.Avatar__portrait--large {
  width: 200px;
  height: 200px;
}

.Avatar__name {
  font-size: 12px;
  text-align: center;
  color: #ccc;
  padding-top: 8px;
}

.Avatar__portrait--large + .Avatar__name {
  font-size: 24px;
  padding-top: 16px;
}

.Avatar__initiative {
  font-size: 12px;
  text-align: center;
  color: #aaa;
  background-color: #444;
  padding: 2px 2px;
  border-radius: 2px;
  width: 20px;
  margin: 2px auto 0 auto;
}

.Avatar__portrait--large ~ .Avatar__initiative {
  font-size: 24px;
  width: 40px;
  padding: 4px 4px;
  border-radius: 4px;
  margin: 4px auto 0 auto;
}

.Avatar__initiative--gm {
  width: 40px;
}

.Avatar__portrait--large ~ .Avatar__initiative--gm {
  width: 80px;
}
.GroupRoll {
  background-color: #1a2f46;
  padding: 8px;
  margin: 0 8px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  margin: 8px 8px;
}

.GroupRoll--inactive {
  border-radius: 0px;
  background-color: #161719;
  border-bottom: 1px solid #383A3E;
  margin: 0px 8px;
}

.GroupRoll__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin-right: 4px;
}

.GroupRoll__content {
  flex: 0 1 auto;
}

.GroupRoll__header {
  padding: 0 2px;
}

.GroupRoll__title {

}

.GroupRoll__label {
  font-weight: bold;
}

.GroupRoll__status {
  margin: 4px 0;
  vertical-align: top;
}

.GroupRoll__roll {
  text-align: center;
  display: inline-block;
  vertical-align: top;
  position: relative;
}

.GroupRoll__avatar {
  height: 41px;
  margin-right: 8px;
  /* border-bottom: 5px solid #f00; */
  margin-bottom: 4px;
}

.GroupRoll__rollStatus {
  position: absolute;
  top: 29px;
  right: 1px;
  font-size: 15px;
}

.GroupRoll__avatar--complete .GroupRoll__rollStatus {
  top: 29px;
  right: 4px;
  border-radius: 50%;
  background-color: green;
  width: 14px;
  height: 14px;
  color: #fff;
  font-size: 12px;
}

.GroupRoll.GroupRoll--inactive .GroupRoll__avatar {
  border-bottom: 0px;
}

.GroupRoll__rollGm {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
}

.GroupRoll__rollResult {
  font-weight: bold;
  font-size: 18px;
}

.GroupRoll__shortcutMessage {
  margin-bottom: 4px;
}

.GroupRoll__shortcutValue {
  margin-right: 8px;
  width: 80px;
}

.GroupRoll__rollMode--advantage {
  font-style: italic;
  color: var(--color-advantage);
  margin-left: 4px;
}

.GroupRoll__rollMode--disadvantage {
  font-style: italic;
  color: var(--color-disadvantage);
  margin-left: 4px;
}
.Party {
  margin: 0 8px;
}

.Party__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  background-color: #333;
  padding: 8px;
  border-bottom: 1px solid #222;
  color: #ccc;
  font-size: 18px;
}

.Party__characters {
  display: flex;
  flex-direction: row;
}

.Party__item--current-turn {
  background-color: #8B0000 !important; /* Dark red */
  transition: background-color 0.3s ease;
}

.Party__sizeToggle {
  background-color: #444;
  color: #ccc;
  border: 1px solid #555;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}

.Party__sizeToggle:hover {
  background-color: #555;
}

/* Pixel Icon specific styles */
.Header__control--pixel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.Header__control--pixel p {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
.PixelHeaderIcon {
  border-radius: 50%;
  background: #444; /* match header background */
  padding: 2px;
  transition: background 0.2s, box-shadow 0.2s;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.PixelHeaderIcon:hover {
  background: #555;
}
.PixelHeaderIcon--disconnected {
  background: radial-gradient(circle at 50% 60%, rgba(255,59,59,0.35) 60%, rgba(255,59,59,0.0) 100%);
  box-shadow: 0 0 8px 2px #ff3b3b33;
}
.PixelHeaderIcon--disconnected:hover {
  background: radial-gradient(circle at 50% 60%, rgba(255,59,59,0.5) 60%, rgba(255,59,59,0.1) 100%);
  box-shadow: 0 0 12px 3px #ff3b3b44;
}
.Header {
  display: flex;
  background-color: #444;
  color: #a0a0a0;
  padding: 8px;
  align-items: center;
  margin-bottom: 4px;
}

.Header__title {
  flex: 1 1 auto;
  font-weight: 400;
}

.Header__controls {
  flex: 0 0 auto;
  display: flex;
}

.Header__control {
  flex: 0 0 auto;
  text-align: center;
  font-size: 10px;
  margin-left: 8px;
}

.Header__control:hover {
  opacity: 0.8;
}



.Modal {
  position: fixed;
  top: 0;
  left: 0;
  width:100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1;
}

.Modal__container {
  position: fixed;
  height: auto;
  max-height: 90vh;
  overflow-y: auto;
  top: 5vh;
  left: 50%;
  transform: translateX(-50%);

  background-color: #333;
  color: #ccc;
  border-radius: 8px;
  padding-bottom: 8px;
}

.Modal__container--default {
  width: 60%;
}

.Modal__container--small {
  width: 40%;
}

.Modal__header {
  display: flex;
  padding: 8px;
}

.Modal__title {
  flex: 1 1 auto;
  font-size: 18px;
  font-weight: bold;
  margin-top: 4px;
}

.Modal__close {
  flex: 0 0 auto;
}

.Modal__content {
  color: #ccc;
  padding: 8px;
}

.Modal h3 {
  color: #ccc;
}
.Settings__button--warning {
  background-color: transparent;
  border: 1px solid #a61d24;
  color: #ccc;
}
.Settings__button--warning:hover {
  background-color: #a61d24;
  opacity: 0.7;
  color: #fff;
}
.Settings__button {
  color: #333;
  background-color: #ddd;
}
.Settings__button--primary {
  background-color: #2196f3;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
}
.Settings__button--primary:hover {
  background-color: #1976d2;
}
.Settings__section {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #444;
}
.Settings__sectionTitle {
  color: #ccc;
  font-size: 1.1em;
  margin-bottom: 16px;
}
.Settings__sectionDescription {
  color: #a0a0a0;
  font-size: 0.9em;
  margin-bottom: 16px;
  font-style: italic;
}
.Settings__roles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.Settings__role {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 4px;
}
.Settings__roleLabel {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-width: 140px;
}
.Settings__roleName {
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.9em;
}
.Settings__roleDescription {
  color: #a0a0a0;
  font-size: 0.85em;
  flex: 1 1;
  line-height: 1.4;
}
.Settings__control {
  display: flex;
  margin-top: 8px;
  align-items: center;
}
.Settings__label {
  flex: 0 0 120px;
}
.Settings__input {
  flex: 0 0 280px;
}
.Settings__button {
  flex: 0 1 auto;
  margin-left: 8px;
}
.Settings__viewer-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1 1;
}
.Settings__link-container {
  display: flex;
  gap: 0.5rem;
  flex: 1 1;
}
.Settings__link-container .Settings__input {
  flex: 1 1;
}
.Feedback__label {
  display: block;
  text-transform: capitalize;
  margin-top: 8px;
}

.Feedback__input, .Feedback__textarea {
  display: block;
  background-color: #eee;
  margin-top: 2px;
  width: 200px;
  color: #333;
}

.Feedback__textarea {
  height: 120px;
}

.Feedback__button {
  color: #333;
  background-color: #ddd;
  margin-top: 8px;
}

.ReleaseNote {
  padding-bottom: 16px;
  border-bottom: 1px solid #ccc;
}
.ReleaseNote__title {
  font-size: 16px;;
  margin-bottom: 8px;
  font-weight: bold;
}
.ReleaseNote__note {

}
.PanelMenu {
  display: flex;
}

.PanelMenu__option {
  flex: 0 0 auto;
  font-size: 15px;
  color: #aaa;
  padding: 8px 8px 8px 8px;
  border-bottom: 1px solid #aaa;
  transition: all .1s ease-in;
}

.PanelMenu__option--current {
  border-bottom: 1px solid #aa6215;
  color: #aa6215;
  cursor: default;
}

.PanelMenu__option--clickable:hover {
  padding-bottom: 6px;
  border-bottom: 3px solid #e89a3c;
  background-color: #111;
  color: #e89a3c;
  cursor: pointer;
}


.ShortcutEdit__editor {
  display: flex;
}

.ShortcutEdit__original {
  flex: 0 1 auto;
}

.ShortcutEdit__preview {
  background: white;
  border-radius: 8px;
  padding: 16px;
  flex: 0 1 auto;
}

.ShortcutEdit__control {
  margin: 16px 0;
}

.ShortcutEdit__label {
  margin-right: 8px;
}

.ShortcutEdit__input {
  margin-right: 8px;
}
.Shortcut {
  display: flex;
  flex-direction: row;
  margin: 2px 0;
  align-items: center;
}

.Shortcut__activate {
  flex: 0 0 40px;
  margin-right: 4px;
  cursor: pointer;
}

.Shortcut__label {
  flex: 0 0 200px;
}

.Shortcut__labelEdit {
  flex: 0 0 192px;
}

.Shortcut__value {
  flex: 0 0 165px;
}

.Shortcut__valueEdit {
  flex: 0 0 157px;
}

.Shortcut__rollMode--advantage {
  color: var(--color-advantage);
  font-size: 11px;
  font-weight: bold;
}

.Shortcut__rollMode--disadvantage {
  color: var(--color-disadvantage);
  font-size: 11px;
  font-weight: bold;
}

.Shortcut__delete {
  flex: 0 0 40px;
  cursor: pointer;
  background-color: transparent;
  border: 1px solid #a61d24;
}

.Shortcut__delete:hover {
  background-color: transparent;
  opacity: 0.7;
}

.VariableButton {
  display: flex;
  flex-direction: row;
  margin: 2px 0;
  align-items: center;
}

.VariableButton__active {
  display: flex;
  flex-direction: row;
  margin-right: 2px;
  cursor: pointer;
  font-weight: bold;
  color: #fff;
}

.VariableButton__activate:hover {
  font-weight: bold;
  color: #fff;
}

.VariableButton__inactive {
  display: flex;
  flex-direction: row;
  margin-right: 2px;
  cursor: pointer;
}

.Shortcuts {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.Shortcuts__variables {
  border-width: 1px;
  border-style: solid;
  border-color: #444;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 8px;
  margin-top: 4px;
  padding: 0 2px;
}

.Shortcuts__container {
  border-width: 1px;
  border-style: solid;
  border-color: #222;
}

.Shortcuts__container--group {
  border-width: 1px;
  border-style: solid;
  border-color: #444;
}

.Shortcuts__top {
  font-weight: bold;
  margin-bottom: 8px;
}

.Shortcuts__list {
  overflow-y: auto;
  overflow-x: hidden;
  height: 505px;
  flex: 1 1 auto;
}

.Shortcuts__sort button {
  margin-left: 8px;
}

.Shortcuts__controls {
  background-color: #333;
  padding: 4px;
  flex: 0 0 auto;
}

.Shortcuts__controls label {
  margin-right: 8px;
}

.Shortcuts__controls input {
  margin-right: 8px;
}

.Shortcuts__controls button {
  cursor: pointer;
}

.Shortcuts__newValue {
  width: 80px;
}

.Variable {
  display: flex;
  flex-direction: row;
  margin: 2px 0;
  align-items: center;
}

.Variable__activate {
  flex: 0 0 40px;
  margin-right: 4px;
  cursor: pointer;
}

.Variable__label {
  flex: 0 0 200px;
}

.Variable__labelEdit {
  flex: 0 0 192px;
}

.Variable__formula {
  flex: 0 0 165px;
}

.Variable__formulaEdit {
  flex: 0 0 157px;
}

.Variable__delete {
  flex: 0 0 40px;
  cursor: pointer;
  background-color: transparent;
  border: 1px solid #a61d24;
}

.Variable__delete:hover {
  background-color: transparent;
  opacity: 0.7;
}

.Variables {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.Variables__container {
  border-width: 1px;
  border-style: solid;
  border-color: #222;
}

.Variables__container--group {
  border-width: 1px;
  border-style: solid;
  border-color: #444;
}

.Variables__list {
  overflow-y: auto;
  overflow-x: hidden;
  height: 505px;
  flex: 1 1 auto;
}

.Variables__controls {
  background-color: #333;
  padding: 4px;
  flex: 0 0 auto;
}

.Variables__controls label {
  margin-right: 8px;
}

.Variables__controls input {
  margin-right: 8px;
}

.Variables__controls button {
  cursor: pointer;
}

.Variables__newValue {
  width: 80px;
}

.AvatarSelection {
  position: fixed;
  top: 0;
  left: 0;
  width:100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.AvatarSelection h1 {
  color: #eee;
}

.AvatarSelection__container {
  position:fixed;
  width: 540px;
  height: auto;
  top:25%;
  left:50%;
  transform: translate(-50%,-50%);
}

.AvatarSelection__content {
  background: white;
  border-radius: 8px;
  padding: 16px;
}

.AvatarSelection__editor {
  display: flex;
}

.AvatarSelection__original {
  flex: 0 1 auto;
}

.AvatarSelection__preview {
  background: white;
  border-radius: 8px;
  padding: 16px;
  flex: 0 1 auto;
}

.AvatarSelection__control {
  margin: 16px 0;
}

.AvatarSelection__label {
  margin-right: 8px;
}

.AvatarSelection__input {
  margin-right: 8px;
}

.AvatarSelection__title {
  flex: 1 1 auto;
}

.AvatarSelection__closeIcon {
  flex: 0 0 auto;
}
.Avatars {

}

.Avatars__avatarList {
  height: 500px;
  overflow-y: auto;
}

.Avatars__avatarListContent {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  overflow-y: auto;
}



.AvatarChoice {
  background: gray;
  border-radius: 4px;
  padding: 8px;
  margin: 4px;
  height: 127px;
  width: 105px;
  float: left;
}

.AvatarChoice__portrait {
  border: 1px solid #3C3C3C;
  -o-object-fit: cover;
     object-fit: cover;
}

.AvatarChoice__portrait--selected {
  border-color: crimson;
}

.AvatarChoice__name {
  font-size: 12px;
  text-align: center;
  color: #ccc;
  padding-top: 8px;
}

.AvatarChoice__controls {
  display: flex;
  flex-direction: row;
}

.GM__groupRollName {
  /* margin-top: 16px; */
}

.GM__groupRollNameLabel {
  margin-right: 4px;
}

.GM__groupRollNameInput {
  margin-right: 8px;
}

.GM__groupRolls {
  /* margin-top: 16px; */
}

.GM__groupRoll {
  margin: 2px 0;
}


.Players__player {
  display: flex;
  padding: 4px 0;
}

.Players__player:hover {
  background-color: #333;
}

.Players__name {
  flex: 1 1 auto;
}

.Players__assignGm {
  flex: 0 1 auto;
}

.Players__delete {
  flex: 0 1 auto;
  margin: 0 8px;
}

.Players__settings {
  flex: 0 1 auto;
  margin: 0 8px;
}


.MonsterSearch {
  position: relative;
}

.MonsterSearch label {
  margin-right: 8px;
}

.MonsterSearch__results {
  position: absolute;
  top: 25px;
  left: 80px;
  z-index: 1;

  background-color: #333;
  border-radius: 0 0 4px 4px;
}

.MonsterSearch__result {
  padding: 4px 8px;
  cursor: pointer;
}

.MonsterSearch__result:hover,
.MonsterSearch__result--selected {
  background-color: #111;
}

.Markdown em {
  font-style: italic;
}

.Markdown ul {
  list-style-type: disc;
  list-style-position: inside;
}

.Monster__actionIcon {
  font-family: 'Pathfinder2eActions';
  font-size: 18px;
  margin-top: -2px;
  margin-bottom: -2px
}

.MythicAbility__activation {
  margin-left: 1em;
}

.MonsterCard {
  flex: 0 1 auto;
  margin-right: 8px;
  padding: 16px 16px 8px 16px;
  background-color: #444;
  width: 102px;
  border-radius: 4px;
  align-items: center;
}

.MonsterCard__portrait {
  border: 1px solid #3C3C3C;
  background-color: #ccc;
}

.MonsterCard__portrait--party {
  width: 100px;
  height: auto;
}

.MonsterCard__portrait--roll {
  width: 40px;
  height: 40px;
}

.MonsterCard__name {
  font-size: 14px;
  text-align: center;
  padding-top: 8px;
}



.Monster__header {
    display: flex;
    font-weight: bold;
    font-size: 16px;
}

.Monster__name {
    flex: 1 1 auto;
}

.Monster__level {
    flex: 0 0 auto;
}

.Monster__alternateLink {
    color: #F79639;
    cursor: pointer;
}

.Monster__alternateLink:hover {
    text-decoration: underline;
}

.Monster__traits {
    display: flex;
}

.Monster__trait {
    flex: 0 0 auto;
    border: 1px solid #D9C484;
    background-color: #5E0000;
    color: #fff;
    font-weight: bold;
    padding: 2px 4px;
    text-transform: uppercase;
    font-size: 12px;
}

.Monster__trait--alignment {
    background-color: #576293
}

.Monster__trait--size {
    background-color: #3B7B59;
}

.Monster__trait--rarity {
    background-color: #98513D;
}

.Monster__trait--uncommon {
  background-color: #98513D;
}

.Monster__trait--rare {
  background-color: #0c1466;
}

.Monster__trait--unique {
  background-color: #800080;
}

.Monster__abilityScore {
  padding: 0 4px 0 2px;
}

.Monster__roll {
    padding: 0 0px 0 0px;
    cursor: pointer;
    color: #177ddc;
}

.Monster__roll:hover {
    background-color: #f5e1cf;
}

.Monster__ability_success {
  text-indent: 1em;
}

.Monster__abilities,
.Monster__ac,
.Monster__hitpoints,
.Monster__saves,
.Monster__knowledge,
.Monster__grafts,
.Monster__traits,
.Monster__senses,
.Monster__languages,
.Monster__skills,
.Monster__skill,
.Monster__abilityScores,
.Monster__items,
.Monster__defense,
.Monster__inlineAbility,
.Monster__speed,
.Monster__modifier,
.Monster__modifiers,
.Monster__offense {
    margin: 2px 0;
    line-height: 1.3em;
}
.Monsters {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.Monsters__search {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.Monsters__detail {
  background-color: #222;
  border-radius: 4px;
  margin-top: 8px;
  padding: 8px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.Monsters__monster {
  margin: 4px 5px 0px 0px;
  display: inline-block;
  color: #ddd;

}

.Monsters__monsterName {
  background-color: #666;
  padding: 2px 4px 2px 8px;
  border-radius: 10px 0 0 10px;
  cursor: pointer;
}

.Monsters__monsterRemove {
  background-color: #666;
  padding: 3px 8px 3px 4px;
  border-radius: 0 10px 10px 0;  display: inline-block;
  cursor: pointer;

}

.Monsters__monsterRemove:hover,
.Monsters__monsterName:hover {
  background-color: #444;
}
.EncounterMonster {
  position: relative;
  background-color: #333;
  margin-bottom: 8px;
  padding: 4px;
}

.EncounterMonster__actions {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
}

.EncounterMonster__delete {
  margin-left: 4px;
}

.EncounterMonster__view {
  margin-left: 4px;
}

.EncounterMonster__name {
  margin-bottom: 4px;
}

.EncounterMonster__monsterName {
  font-weight: bold;
  font-size: 16px;
}

.EncounterMonster__nickname {
  font-size: 16px;
  padding-left: 6px;
}

.EncounterMonster__health {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.EncounterMonster__hp {
  margin-right: 4px;
}

.EncounterMonster__damage {
  width: 50px;
  margin-right: 4px;
}

.EncounterMonster__saveDamage {

}

.Encounter {
  position: relative;
  margin: 4px;
}

.Encounter__close {
  position: absolute;
  top: 0px;
  right: 0px;
}

.Encounter__delete {
  margin-top: 8px;
  display: flex;
  align-items: center;
}

.Encounter__delete span {
  margin-right: 4px;
}

.Encounter__nameRead {
  display: flex;
  align-items: center;
}

.Encounter__nameRead button {
  margin-top: 0px;
  margin-left: 4px;
}

.Encounter__nameEdit button {
  margin-left: 4px;
}

.Encounter__monsterForm {
  background-color: #444;
  padding: 4px;
  margin-top: 4px;
  border-radius: 4px;
}

.PanelContent {
  background-color: #222;

  flex: 1 1 auto;
  margin: 8px 0 0 0;
  padding: 4px;
  color: #ccc;
}
.Dashboard {
  display: flex;
  background-color: #444;
  color: #a0a0a0;
  padding: 8px;
  align-items: center;
  margin-bottom: 4px;

  display: flex;
  flex-direction: column;
  height: 100%;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
strong {
  font-weight: bold;
}
body, head {
  background-color: #000;
  font-family: sans-serif;
  font-size: 14px;
}
h1, h2 {
  color: #ccc;
}
h3, h4 {
  color: #111;
  font-weight: bold;
}
h1 {
  font-size: 32px;
  margin-bottom: 16px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 18px;
  margin: 16px 0;
}
h4 {
  margin: 16px 0;
}
a {
  color: #3C3C3C;
}
.ContentBox {
  padding: 12px 8px;
  background-color: #ccc;
  border-radius: 4px;
  margin-top: 4px;
  line-height: 1.3em;
}
.ContentBox h1 {
  color: #000;
  font-weight: bold;
}
.ContentBox input[type=text] {
  margin-right: 8px;
}
.ButtonLink {
  background-color: #3c3c3c;
  color: #cccccc;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
  display: inline-block;
}
.ButtonLink:hover {
  color: #eee;
}
.header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: flex-start;
  align-items: center;

  background-color: #F79639;
  font-size: 18px;
  height: 70px;
}
.logo {
  width: 300px;
  margin-top: 7px;
}
.header-left {
  flex: 1 0 auto;
  align-self: auto;
}
.header-right {
  flex: 0 0 auto;
  align-self: auto;
  padding-right: 8px;

  a {
    color: #3C3C3C;
  }
}
* {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'
}
.lets-roll-text-s {
  font-size: 10px;
}
.lets-roll-text-m {
  font-size: 12px;
}
.lets-roll-text-l {
  font-size: 18px;
}
.lets-roll-text-xl {
  font-size: 24px;
}
.lets-roll-section {
  font-size: 22px;
  margin: 8px 0 16px 0;
}
.lets-roll-subSection {
  font-size: 18px;
  margin: 12px 0;
}
::-webkit-scrollbar-track {
   border-radius: 3px;
   background-color: #333;
}
::-webkit-scrollbar {
   width: 12px;
}
::-webkit-scrollbar-thumb {
   border-radius: 3px;
   background-color: #666;
}
select {
  background-color: #333;
  color: #a0a0a0
}
input {
  background-color: #333;
  color: #a0a0a0;
  border: 1px solid #888;
  padding: 1px 3px;
}
:focus {
  outline: 1px solid #aaa;
}
button {
  background-color: #555;
  color: #a0a0a0;
  border: none;
  border-radius: 3px;
  padding: 3px 9px;
  font-size: 12px;
}
button:hover {
  background-color: #666;
  color: #bbb;
  cursor: pointer;
}




.Flash__error {
  padding: 10px;
  background-color: #ff9a33;
  font-weight: bold;
  border-radius: 4px;
  width: 30%;
  margin: 0 auto;
  text-align: center;
}

body {
  background-color: #000;
}

.Game {
  height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
}

.Game__dashboard {
  flex: 0 1 auto;
  height: 90%;
 }

.Game__header {
  flex: 0 1 auto;
}

.Game__layout {
  flex: 1 1 auto;
  display: flex;
}

.Game__activity {
  flex: 1 1 auto;
  margin-right: 4px;
}

.Game__resizer {
  flex: 0 0 8px;
  background-color: #222;
  cursor: col-resize;
  height: 100px;
  margin: auto 0px auto 0;
  border-radius: 5px 0 0 5px;
  border-right: 1px solid #111;
}

.Game__panel {
  display: flex;
  flex-direction: column;
  /* flex: 0 0 482px; */
}

.Game__panelMenu {
    flex: 0 1 auto;
  }

.Game__panelContent {
    margin-right: 8px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

.Game__party {
  flex: 0 1 auto;
  margin-top: 8px;
}

.Game__viewer-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-left: 1rem;
}

.Game__regenerate-button {
  background-color: #F79639;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.Game__regenerate-button:hover {
  background-color: #e88a2e;
}

.Game__link-container {
  display: flex;
  gap: 0.5rem;
}

.Game__link-input {
  flex: 1 1;
  padding: 0.5rem;
  border: 1px solid #333;
  border-radius: 4px;
  background-color: #222;
  color: white;
  font-size: 0.9rem;
}

.Game__copy-button {
  background-color: #444;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}

.Game__copy-button:hover {
  background-color: #555;
}

.ImpersonationControls {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #1976d2;
  color: white;
  padding: 8px 16px;
  text-align: center;
  font-size: 14px;
}

.ImpersonationControls__banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.ImpersonationControls__icon {
  font-size: 16px;
}

.ImpersonationControls__text {
  font-weight: 500;
}

.ImpersonationControls__stopButton {
  background: #d32f2f;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  margin-left: 8px;
}

.ImpersonationControls__stopButton:hover {
  background: #b71c1c;
}

/* Adjust main content to account for controls banner */

body.has-impersonation-controls {
  padding-top: 40px;
}
/* CSS Custom Properties for ImpersonationSelector */
:root {
  --impersonation-border-color: #ff9800;
  --impersonation-text-color-light: #a0a0a0;
  --impersonation-text-color-muted: #888;
  --impersonation-background-dark: #2a2a2a;
  --impersonation-background-darker: #1a1a1a;
  --impersonation-background-medium: #333;
  --impersonation-border-color-medium: #444;
  --impersonation-text-color-white: #fff;
  --impersonation-button-primary: #1976d2;
  --impersonation-button-primary-hover: #1565c0;
  --impersonation-button-disabled: #555;
  --impersonation-notification-info-bg: #e3f2fd;
  --impersonation-notification-info-color: #1976d2;
  --impersonation-notification-info-border: #bbdefb;
  --impersonation-notification-warning-bg: #fff3e0;
  --impersonation-notification-warning-color: #f57c00;
  --impersonation-notification-warning-border: #ffcc02;
  --impersonation-notification-error-bg: #ffebee;
  --impersonation-notification-error-color: #d32f2f;
  --impersonation-notification-error-border: #ffcdd2;
}
.ImpersonationSelector {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 0.125rem solid #ff9800;
  border: 0.125rem solid var(--impersonation-border-color);
  border-radius: 0.5rem;
  background: #2a2a2a;
  background: var(--impersonation-background-dark);
}
.ImpersonationSelector__header {
  margin-bottom: 1rem;
  text-align: center;
}
.ImpersonationSelector__header h3 {
  color: #ff9800;
  color: var(--impersonation-border-color);
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
}
.ImpersonationSelector__header p {
  color: #a0a0a0;
  color: var(--impersonation-text-color-light);
  margin: 0;
  font-size: 0.875rem;
}
.ImpersonationSelector__loading {
  text-align: center;
  color: #a0a0a0;
  color: var(--impersonation-text-color-light);
  padding: 1.25rem;
}
.ImpersonationSelector__games {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ImpersonationSelector__game {
  border: 0.0625rem solid #444;
  border: 0.0625rem solid var(--impersonation-border-color-medium);
  border-radius: 0.375rem;
  padding: 0.75rem;
  background: #1a1a1a;
  background: var(--impersonation-background-darker);
}
.ImpersonationSelector__gameHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.ImpersonationSelector__gameHeader h4 {
  margin: 0;
  color: #fff;
  color: var(--impersonation-text-color-white);
  font-size: 1rem;
}
.ImpersonationSelector__gameStats {
  color: #888;
  color: var(--impersonation-text-color-muted);
  font-size: 0.75rem;
}
.ImpersonationSelector__users {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ImpersonationSelector__user {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  background: #333;
  background: var(--impersonation-background-medium);
  border-radius: 0.25rem;
}
.ImpersonationSelector__userInfo {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ImpersonationSelector__username {
  color: #fff;
  color: var(--impersonation-text-color-white);
  font-weight: 500;
}
.ImpersonationSelector__character,
.ImpersonationSelector__noCharacter {
  color: #888;
  color: var(--impersonation-text-color-muted);
  font-size: 0.75rem;
}
.ImpersonationSelector__impersonateButton {
  background: #1976d2;
  background: var(--impersonation-button-primary);
  color: white;
  border: none;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: bold;
}
.ImpersonationSelector__impersonateButton:hover {
  background: #1565c0;
  background: var(--impersonation-button-primary-hover);
}
.ImpersonationSelector__search {
  padding: 0 1rem;
  max-width: 37.5rem;
  margin: 0 auto 1rem auto;
  width: 100%;
}
.ImpersonationSelector__searchInput {
  width: 100%;
  max-width: 37.5rem;
  box-sizing: border-box;
  margin: 0 auto;
  display: block;
  padding: 0.5rem 0.75rem;
  border: 0.0625rem solid #444;
  border: 0.0625rem solid var(--impersonation-border-color-medium);
  border-radius: 0.25rem;
  background: #1a1a1a;
  background: var(--impersonation-background-darker);
  color: #fff;
  color: var(--impersonation-text-color-white);
  font-size: 0.875rem;
}
.ImpersonationSelector__searchInput::-moz-placeholder {
  color: #888;
  color: var(--impersonation-text-color-muted);
}
.ImpersonationSelector__searchInput::placeholder {
  color: #888;
  color: var(--impersonation-text-color-muted);
}
.ImpersonationSelector__searchInput:focus {
  outline: none;
  border-color: #ff9800;
  border-color: var(--impersonation-border-color);
}
.ImpersonationSelector__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.75rem;
  background: #1a1a1a;
  background: var(--impersonation-background-darker);
  border-radius: 0.25rem;
}
.ImpersonationSelector__pageButton {
  background: #1976d2;
  background: var(--impersonation-button-primary);
  color: white;
  border: none;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: bold;
}
.ImpersonationSelector__pageButton:hover:not(:disabled) {
  background: #1565c0;
  background: var(--impersonation-button-primary-hover);
}
.ImpersonationSelector__pageButton:disabled {
  background: #555;
  background: var(--impersonation-button-disabled);
  cursor: not-allowed;
  opacity: 0.6;
}
.ImpersonationSelector__pageInfo {
  color: #a0a0a0;
  color: var(--impersonation-text-color-light);
  font-size: 0.75rem;
  font-weight: 500;
}
/* Notification System */
.ImpersonationSelector__notification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
}
.ImpersonationSelector__notification--info {
  background: #e3f2fd;
  background: var(--impersonation-notification-info-bg);
  color: #1976d2;
  color: var(--impersonation-notification-info-color);
  border: 0.0625rem solid #bbdefb;
  border: 0.0625rem solid var(--impersonation-notification-info-border);
}
.ImpersonationSelector__notification--warning {
  background: #fff3e0;
  background: var(--impersonation-notification-warning-bg);
  color: #f57c00;
  color: var(--impersonation-notification-warning-color);
  border: 0.0625rem solid #ffcc02;
  border: 0.0625rem solid var(--impersonation-notification-warning-border);
}
.ImpersonationSelector__notification--error {
  background: #ffebee;
  background: var(--impersonation-notification-error-bg);
  color: #d32f2f;
  color: var(--impersonation-notification-error-color);
  border: 0.0625rem solid #ffcdd2;
  border: 0.0625rem solid var(--impersonation-notification-error-border);
}
.ImpersonationSelector__notificationMessage {
  flex: 1 1;
  margin-right: 0.75rem;
}
.ImpersonationSelector__notificationClose {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.125rem;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}
.ImpersonationSelector__notificationClose:hover {
  background: rgba(0, 0, 0, 0.1);
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-0.625rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.PixelConfiguration__inputGroup {
  display: flex;
  align-items: center;
  gap: 0;
}

.PixelConfiguration__input {
  height: 28px;
  border: 1px solid #888;
  border-right: none;
  border-radius: 3px 3px 3px 3px;
  background: #333;
  color: #a0a0a0;
  padding: 0 8px;
  font-size: 14px;
  margin-bottom: 8px;
  box-sizing: border-box;
}

.PixelConfiguration__button {
  height: 28px;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333;
  border: 1px solid #888;
  border-radius: 3px 3px 3px 3px;
  border-left: none;
  margin-bottom: 8px;
  cursor: pointer;
  padding: 0;
}
.ImpersonationNotification {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #d32f2f;
  color: white;
  padding: 8px 16px;
  text-align: center;
  font-size: 14px;
}

.ImpersonationNotification__banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.ImpersonationNotification__icon {
  font-size: 16px;
}

.ImpersonationNotification__text {
  font-weight: 500;
}

.ImpersonationNotification__time {
  font-size: 12px;
  opacity: 0.8;
}

/* Adjust main content to account for notification banner */

body.has-impersonation-notification {
  padding-top: 40px;
}

/*# sourceMappingURL=900-a45fe4af.css.map*/