.theme-slate g.hovertext text.name {
    fill: #cccccc !important;
}

.theme-yeti g.hovertext text.name {
    fill: #495057 !important;
}

.theme-slate g.hovertext rect {
    fill: #272B30 !important;
    fill-opacity: 0.9 !important;
}

.theme-yeti g.hovertext rect {
    fill: #fff !important;
    fill-opacity: 0.9 !important;
}

.ei-container-big {
    min-width: 1900px;
    margin-right: auto;
    margin-left: auto;
}

.ei-container-small {
    max-width: min(1600px, 90%);
    min-width: 1450px;
    margin-right: auto;
    margin-left: auto;
}

.ei-disabled {
    pointer-events: none;
    opacity: 0.4;
}

.theme-slate .form-control {
    height: calc(2.15625rem + 2px);
}

.theme-yeti label {
    font-size: inherit;
}

.scale85 {
    font-size: 85% !important;
}

.scale85 .form-check {
    align-items: center !important;
    display: flex !important;
}

.scale85 input {
    margin-top: 0 !important;
    transform: scale(0.85, 0.85) translate(0, 7%) !important;
}

.scale75 {
    font-size: 75% !important;
}

.scale75 .form-check {
    align-items: center !important;
    display: flex !important;
}

.scale75 input {
    margin-top: 0 !important;
    transform: scale(0.75, 0.75) translate(0, 12%) !important;
}

.scale65 {
    font-size: 65% !important;
}

.scale65 .form-check {
    align-items: center !important;
    display: flex !important;
}

.scale65 input {
    margin-top: 0 !important;
    transform: scale(0.65, 0.65) translate(0, 17%) !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.btn {
    font-weight: 400;
    padding: 0.75rem 1rem;
}

.btn-small {
    font-size: 0.9em;
    padding: 0.375rem 0.5rem;
}

.btn-ssmall {
    font-size: 0.7em;
    padding: 0.25rem 0.4rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    margin-bottom: 0.5rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
}

[v-cloak] {
    display: none;
}

body.theme-yeti {
    --footer-bg: #ffffff;
    --footer-section-bg: #f8f9fa;
    --footer-text: #343a40;
    --footer-muted: #6c757d;
    --footer-tag-bg: #e9ecef;
    --footer-border: #dee2e6;
    --dropdown-selection-bg: rgba(100, 200, 0, 0.5);
    --dropdown-preselection-bg: rgba(120, 240, 0, 0.5);
    --dropdown-selection-text: #008cba;
}

body.theme-slate {
    --footer-bg: #272b30;
    --footer-section-bg: #2C3035;
    --footer-text: #e6e6e6;
    --footer-muted: #9aa0a6;
    --footer-tag-bg: #3a3f44;
    --footer-border: #3e444c;
    --dropdown-selection-bg: rgba(50, 120, 0, 0.5);
    --dropdown-preselection-bg: rgba(40, 75, 0, 0.5);
    --dropdown-selection-text: #fff
}

.theme-slate .nav-tabs .nav-link.active {
    background-image: -webkit-gradient(linear, left top, left bottom, from(#484e55), color-stop(60%, #3A3F44), to(#313539));
    background-image: linear-gradient(#484e55, #3A3F44 60%, #313539);
    background-repeat: no-repeat;
    border-bottom-color: transparent;
}

.theme-slate .nav-tabs .nav-link,
.theme-slate .nav-tabs .nav-link:hover {
    color: #aaa;
}

.theme-slate .nav-tabs .nav-link:hover {
    color: #fff;
}

.theme-yeti .nav-pills .nav-link:not(.active) {
    background-color: #eee;
    border: 1px solid #e1e1e1;
}

.theme-yeti .nav-pills .nav-link:hover,
.theme-yeti .nav-pills .nav-link:focus {
    background-color: #008cba;
    border-color: #0079a1;
}

.nav-tabs {
    margin-top: 0.5rem;
}



.super-small {
    font-size: 65%
}


.nav-item .nav-link {
    margin-left: -1px;
    border-radius: 0;
}

.nav-item:first-child .nav-link {
    margin-left: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.nav-item:last-child .nav-link {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

/* Healing stats background fill legend */
.hs-bg {
    padding: 2px;
    border-style: solid;
    border-width: 1px;
    border-color: #000000;
}

.hs-bg-darkblue {
    background-color: rgba(0, 0, 255, 0.25);
    color: #FFFFFF;
}

.hs-bg-darkgreen {
    background-color: rgba(0, 255, 0, 0.25);
    color: #000000;
}

/* Width */
.max-wd-900px {
    max-width: 900px;
}

.max-wd-700px {
    max-width: 700px;
}

.max-wd-500px {
    max-width: 500px;
}

.min-wd-165px {
    min-width: 165px;
}

.wd-100px {
    width: 100px;
}

.wd-150px {
    width: 150px;
}

.wd-200px {
    width: 200px;
}

.invisible-text {
    color: transparent !important;
}

/* Graph range control */
.graph-rc {
    position: absolute;
    margin-top: -60px;
    margin-left: 100px;
    z-index: 1;
}

.separator-border-bottom {
    margin-top: 2px;
    margin-bottom: 2px;
    border-bottom: 2px solid #bbb;
}

.text-center {
    text-align: center;
}

.ellipis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.position-bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
}

.position-bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
}

.opacity-90 {
    opacity: 0.9;
}

.theme-slate .border-dark {
    border-color: rgb(22, 22, 22) !important;
}

.theme-yeti .border-dark {
    border-color: rgb(222, 226, 230) !important;
}

.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.template-div {
    width: 100%;
}
.form-control {
    padding: 0.300rem 0.4rem;
}

/* http://danielstern.ca/range.css/?ref=css-tricks#/ */
input[type=range].slider {
    width: 100%;
    background-color: transparent;
    -webkit-appearance: none;
}

input[type=range].slider::-webkit-slider-runnable-track {
    background: rgba(0, 0, 0, 0.0);
    border: 1px solid rgba(0, 0, 0, 0);
    width: 100%;
    cursor: pointer;
}

input[type=range].slider::-webkit-slider-thumb {
    width: 25px;
    height: 25px;
    background: #00ff00;
    border: 3px solid #00c800;
    border-radius: 13px;
    cursor: pointer;
    -webkit-appearance: none;
}

input[type=range].slider::-moz-range-track {
    background: rgba(0, 0, 0, 0.0);
    border: 1px solid rgba(0, 0, 0, 0);
    width: 100%;
    cursor: pointer;
}

input[type=range].slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #00ff00;
    border: 3px solid #00c800;
    border-radius: 13px;
    cursor: pointer;
}


.theme-slate .custom-switch .custom-control-input:checked~.custom-control-label::before {
    background-color: #005CC8;
}

body.theme-slate {
    color-scheme: dark;
}

body.theme-slate .form-control,
body.theme-slate .custom-select,
body.theme-slate input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="hidden"]),
body.theme-slate textarea,
body.theme-slate select {
    background-color: #3A3F44 !important;
    color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.6) !important;
}

body.theme-slate .form-control:focus,
body.theme-slate .custom-select:focus,
body.theme-slate textarea:focus,
body.theme-slate select:focus {
    background-color: #3A3F44 !important;
    color: #fff !important;
    border-color: #7A8288 !important;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(122, 130, 136, 0.25) !important;
}

body.theme-slate .form-control::placeholder,
body.theme-slate textarea::placeholder {
    color: #999 !important;
    opacity: 1;
}

body.theme-slate .form-control:disabled,
body.theme-slate .form-control[readonly],
body.theme-slate .custom-select:disabled {
    background-color: #272B30 !important;
    color: #7A8288 !important;
    opacity: 1;
}

body.theme-slate select option,
body.theme-slate .custom-select option {
    background-color: #3A3F44;
    color: #ffffff;
}

body.theme-slate .custom-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23aaa' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e");
}

body.theme-slate .dropdown-menu {
    background-color: #3A3F44;
    border-color: rgba(0, 0, 0, 0.6);
}

body.theme-slate .dropdown-item {
    color: #ffffff;
}

body.theme-slate .dropdown-item:hover,
body.theme-slate .dropdown-item:focus,
body.theme-slate .dropdown-item.active {
    background-color: #272B30;
    color: #ffffff;
}

body.theme-slate .dropdown-divider {
    border-top-color: rgba(0, 0, 0, 0.35);
}

body.theme-slate input[type="checkbox"]:not(.custom-control-input),
body.theme-slate input[type="radio"]:not(.custom-control-input) {
    accent-color: #005CC8;
}

body.theme-slate .custom-control-label::before {
    background-color: #3A3F44;
    border-color: #7A8288;
}

body.theme-slate .custom-control-input:focus ~ .custom-control-label::before {
    border-color: #7A8288;
    box-shadow: 0 0 0 0.2rem rgba(0, 92, 200, 0.25);
}

body.theme-slate .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #005CC8;
    border-color: #005CC8;
}

body.theme-slate .custom-control-input:disabled ~ .custom-control-label::before {
    background-color: #272B30;
    border-color: #52575C;
}

body.theme-slate .custom-switch .custom-control-label::after {
    background-color: #aaa;
}

body.theme-slate .input-group-text {
    background-color: #272B30;
    color: #ffffff;
    border-color: rgba(0, 0, 0, 0.6);
}.buff-display {
    width: 210px;
}

.buff-number {
    position: absolute;
    pointer-events: none;
    font-size: 0.5em;
    left: 20%;
    top: 65%;
    text-shadow: -2px -2px 3px #000000, -2px 2px 3px #000000, 2px -2px 3px #000000, 0px 2px 3px #000000, 0px -2px 3px #000000, 2px 0px 3px #000000, -2px 0px 3px #000000, 2px 2px 3px #000000;
    font-weight: bold;
    color: #fff;
    width: 100%;
}

.cr-breakbar-phase-display {
    font-size: 0.65rem;
    width: 100%;
}

.squad-details {
    width: 500px;
}

.actor-status {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: end;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}


.actor-data:not(:last-child) {
    border-bottom: 1px solid #dee2e6;
}

.theme-slate .actor-data.active {
    background-color: rgba(80, 86, 92, 0.9);
}

.theme-yeti .actor-data.active {
    background-color: rgba(220, 220, 220, 0.9);
}

.replay {
    border: 2px solid #888888;
}

.cr-ellipsis {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.damage-cr-cell .cr-ellipsis {
    width: 100px;
}

.combat-replay-mechanics-list-row .cr-ellipsis {
    width: 120px;
}

.cr-status-percent {
    width: 39.2px;
}

canvas {
    position: absolute;
}

.top-of-canvas {
    z-index: 3;
}

#main-canvas {
    z-index: 2;
}

#bg-canvas {
    z-index: 1;
}

#picking-canvas {
    z-index: 0;
    opacity: 0;
}

.canvas-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.0);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10px;
    z-index: 10;
    pointer-events: none;
}

.canvas-overlay-prompt {
    pointer-events: auto; 
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-family: sans-serif;
    position: sticky;
    font-size: 14px;
    align-self: flex-start;
}

.combat-replay-mechanics-list-container {
    max-height: 810px;
    max-width: 500px;
}

.combat-actor-status-container {
    height: 810px;
    width: 250px;
}

.combat-replay-mechanics-list-row {
    height: 34px;
    cursor: pointer;
}

.combat-replay-mechanics-list-header>a:hover {
    text-decoration: none;
}

.combat-replay-mechanics-list-mech-header {
    width: 250px;
}

.combat-replay-mechanics-list-time-header {
    width: 70px;
}

.combat-replay-mechanics-list-actor-header {
    width: 130px;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 20;
}

.theme-slate .sticky-header {
    background-color: #272B30;
}

.theme-yeti .sticky-header {
    background-color: #FFFFFF;
}

.slider {
    width: 100%;
    height: 25px;
    background: rgb(246, 246, 246);
    opacity: 0.7;
    outline: none;
    -webkit-transition: .2s;
    transition: opacity .2s;
    border-radius: 13px;
}

.slider:hover {
    opacity: 0.9;
}

.combat-replay {
    display: grid;
    grid-template-columns: 600px 750px 500px;
    gap: 10px;
    max-width: 1870px;
    margin: 10px auto;
}

.cr-slide-delimiter {
    position: absolute;
    color: black;
    pointer-events: none;
}


/* Combat Replay Timeline */
.no-user-select {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.timeline {
    padding-right: 0.5rem !important;
    padding-top: 0.1rem !important;
    padding-left: 0.5rem !important;
    overflow-x: auto;
}

.simple-timeline-time-tooltip {
    position: fixed;
    z-index: 10000;
    transform: translateX(-50%);
    padding: 2px 5px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
    pointer-events: none;
    display: none;
}

.simple-timeline-container {
    width: 100%;
    min-width: 400px;
}

.simple-timeline-ticks {
    position: relative;
    width: 100%;
    height: 14px;
    font-size: 10px;
    line-height: 12px;
    user-select: none;
    pointer-events: none;
}

.simple-timeline-tick {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
}

.phase-selector-item {
    display: block;
    width: 100%;
    padding: 6px 12px;
    margin: 0;
    cursor: pointer;
}

.phase-selector-item.active {
    background-color: var(--dropdown-selection-bg);
    color: var(--dropdown-selection-text);
    font-weight: 600;
    border-radius: 5px;
}

.phase-selector-item:hover:not(.active) {
    background-color: var(--dropdown-preselection-bg);
    color: var(--dropdown-selection-text);
    font-weight: 500;
    border-radius: 5px;
}

.actor-buff-container {
    min-height: 22.5px;
}

.actor-rotation-casts> :first-child {
    margin-right: 1px;
}

.actor-rotation-castbar {
    width: calc(100% - 37px);
    height: 12px;
    margin-top: 1px;
    margin-left: 37px;
    margin-bottom: -13px;
    text-align: center;
    color: #fff;
    font-size: 65%;
    line-height: 12px;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
}

.scale-container {
    width: 90px;
    height: 85px;
}

.scale-info {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    pointer-events: none;
    text-align: left;
    white-space: nowrap;
    line-height: 1.5;
}

.scale-ruler {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.scale-end-label {
    font-size: 12px;
    position: absolute;
    top: 0;
    line-height: 1;
    white-space: nowrap;
    transform: translateX(-50%);
}

.scale-end-label-left {
    left: 0;
}

.scale-end-label-right {
    left: 90%;
}

.scale-line-container {
    position: relative;
    width: 50px;
    height: 44px;
    margin-left: 2px;
    flex: 0 0 50px;
}

.scale-units-label {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    text-align: center;
    font-size: 12px;
}

.scale-line {
    position: absolute;
    top: 21px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #CC2200;
}

.scale-marker {
    position: absolute;
    top: 17px;
    width: 2px;
    height: 12px;
    background-color: #CC2200;
}

.scale-marker-left {
    left: 0;
}

.scale-marker-right {
    right: 0;
}

.coordinates {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.coordinate-row {
    display: grid;
    grid-template-columns: 16px 1fr;
    align-items: baseline;
    column-gap: 6px;
}

.coordinate-label {
    font-size: 10px;
    font-weight: 600;
    opacity: 0.75;
}

.coordinate-value {
    display: grid;
    justify-content: end;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    line-height: 1.4;
    width: 55px;
}

.zoom-controls {
    position: relative;
    z-index: 21;
    pointer-events: auto;
    gap: 4px;
}

.zoom-button {
    position: relative;
    z-index: 21;
    pointer-events: auto;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding-top: 3px;
}

.replay-controls-panel {
    flex-wrap: nowrap;
    gap: 16px;
    padding: 0.1rem;
    overflow-x: auto;
}

.theme-yeti .replay-controls-panel {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.theme-slate .replay-controls-panel {
    background-color: #2c3035;
    border: 1px solid #3e444c;
}

.replay-reset-controls {
    gap: 4px;
    flex-shrink: 0;
}

.replay-controls {
    gap: 4px;
    margin-left: 0;
    padding: 0 8px;
    flex-shrink: 0;
}

.replay-controls-label {
    font-size: 0.8em;
    font-weight: 600;
    opacity: 0.75;
}

.replay-movement-controls {
    gap: 4px;
}

.movement-arrow-grid {
    display: grid;
    grid-template-columns: repeat(3, 36px);
    grid-template-rows: repeat(2, 32px);
    gap: 4px;
    justify-items: center;
    align-items: center;
}

.movement-button {
    width: 36px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    padding-top: 3px;
}

.tooltip-inner {
    max-width: 400px;
}

.advanced-timeline-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advanced-timeline {
    position: relative;
    flex: 0 0 auto;
    overflow: hidden;
    box-sizing: border-box;
}

.advanced-timeline-background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    cursor: pointer;
}

.advanced-phase-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.advanced-phase-hitbox {
    position: absolute;
    z-index: 1;
    height: 10px;
    pointer-events: auto;
}

.advanced-phase-visible-line {
    position: absolute;
    z-index: 2;
    height: 4px;
}

.advanced-phase-boundary {
    position: absolute;
    z-index: 3;
    width: 2px;
    height: 10px;
    pointer-events: auto;
}

.advanced-cursor-hitline {
    position: absolute;
    top: 0;
    width: 10px;
    cursor: grab;
    pointer-events: auto;
}

.advanced-cursor-line {
    position: absolute;
    top: 0;
    width: 2px;
    pointer-events: none;
}

.advanced-cursor-circle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: grab;
    pointer-events: auto;
}

.advanced-tick, .advanced-mechanic-tick {
    position: absolute;
    top: 0;
    width: 0;
    pointer-events: none;
}

.advanced-tick-mark, .advanced-mechanic-tick-mark {
    position: absolute;
    top: 15px;
    left: -0.5px;
    width: 1px;
    height: 10px;
}

.advanced-tick-label, .advanced-hover-time-text {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    font-size: 10px;
    line-height: 12px;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
}

.advanced-tick-label {
    font-weight: 400;
}

.advanced-hover-time-text {
    width: 36px;
    font-weight: 600;
}

.advanced-mechanic-tick-cap {
    position: absolute;
    left: -1px;
    width: 2px;
    height: 1px;
}

.advanced-mechanic-tick-cap-top {
    top: 15px;
}

.advanced-mechanic-tick-cap-bottom {
    top: 25px;
}

.advanced-hover-time-box {
    position: absolute;
    top: -3px;
    width: 36px;
    height: 16px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.advanced-phase-text {
    position: absolute;
    left: 0;
    height: 15px;
    font-size: 12px;
    font-weight: 500;
    line-height: 15px;
    text-align: center;
    white-space: nowrap;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.advanced-phase-info {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 15px;
    margin-top: 2px;
}

.advanced-phase-info-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.advanced-phase-info .advanced-phase-text {
    display: block;
    position: static;
    width: 100%;
    text-align: center;
}

.card-header {
    padding: 0.25rem 1.25rem !important;
}

.card-header-fightMode {
    padding: 0.10rem 1.25rem;
    margin-bottom: 0px;
}

.card-body-encounter {
    padding: 1rem !important;
}

/* Fight Mode Header - Light Theme */
.theme-yeti .fm-story {
    background-color: #EEEEEE;
}

.theme-yeti .fm-quickplay {
    background-color: #32FCEB;
}

.theme-yeti .fm-emboldened {
    background-color: #39925A;
}

.theme-yeti .fm-normal {
    background-color: #00779E;
}

.theme-yeti .fm-challenge {
    background-color: #E99002;
}

.theme-yeti .fm-legendary {
    background-color: #C9A0FF;
}

.theme-yeti .fm-unknown {
    background-color: #EE3000;
}

/* Fight Mode Header - Dark Theme */
.theme-slate .fm-story {
    background-color: #515960;
}

.theme-slate .fm-quickplay {
    background-color: #006858;
}

.theme-slate .fm-emboldened {
    background-color: #036E09;
}

.theme-slate .fm-normal {
    background-color: #0C5E94;
}

.theme-slate .fm-challenge {
    background-color: #736625;
}

.theme-slate .fm-legendary {
    background-color: #6C4DA3;
}

.theme-slate .fm-unknown {
    background-color: #990000;
}

.health-bar {
    height: 7px;
    width: 100%;
    border-radius: 5px;
}

.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    font-size: 13px;
    padding: 16px;
    border-top: 1px solid var(--footer-border);
}

.footer_grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.footer_section {
    flex: 1 1 260px;
    max-width: 420px;
    padding: 10px 12px;
    background: var(--footer-section-bg);
    border: 1px solid var(--footer-border);
    border-radius: 8px;
}

.footer_item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 2px 0;
}

.footer_item--stack {
    flex-direction: column;
    align-items: flex-start;
}

.label_center {
    display: block;
    width: 100%;
    color: var(--footer-muted);
    font-weight: 600;
    text-align: center;
    margin-bottom: 6px;
}

.label {
    color: var(--footer-muted);
    font-weight: 500;
}

.footer_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.tag {
    background: var(--footer-tag-bg);
    color: var(--footer-text);
    padding: 3px 8px;
    border-radius: 50px;
    font-size: 12px;
    border: 1px solid var(--footer-border);
}

.footer_bottom {
    text-align: center;
    font-size: 12px;
    color: var(--footer-muted);
    padding-top: 8px;
}

.header {
    text-align: center;
    width: 100%;
    margin-top: 6px;
    margin-bottom: 10px;
}img.icon-s {
    width: 16px;
    height: 16px;
}

img.icon {
    width: 18px;
    height: 18px;
}

img.icon-next-cr-rota {
    width: 24px;
    height: 24px;
}

img.icon-l {
    width: 24px;
    height: 24px;
}


.empty-icon-l {
    width: 24px;
    height: 24px;
}

img.icon-sl {
    width: 32px;
    height: 32px;
}

.empty-icon-sl {
    width: 32px;
    height: 32px;
}

.empty-icon-cur-cr-rota {
    width: 38px;
    height: 38px;
}

.empty-icon-ll {
    width: 48px;
    height: 48px;
}

img.icon-cur-cr-rota {
    width: 38px;
    height: 38px;
}

img.icon-ll {
    width: 48px;
    height: 48px;
}


img.icon-xl {
    width: 128px;
    height: 128px;
}

img.icon-xxl {
    width: 196px;
    height: 196px;
}

img.encounter-icon {
    height: 128px;
    object-fit: contain;
}


img.icon-lg {
    width: 64px;
    height: 64px;
}

img.icon-hover:hover,
td:hover img.icon-hover,
th:hover img.icon-hover,
.table-hover tr:hover td img.icon-hover {
    width: 36px;
    height: 36px;
    margin: -9px;
    position: relative;
    -webkit-filter: drop-shadow(3px 3px 6px #000);
    filter: drop-shadow(3px 3px 6px #000);
    -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=3, OffY=3, Color='#000')";
    filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=3, OffY=3, Color='#000')";
}.rot-icon {
  width: 30px;
  height: 30px;
}

.rot-cancelled {
  border: 2px solid #ff0000;
}

.rot-animfull {
  border: 2px solid #9370DB;
}

.rot-unknown {
  border: 2px solid #ffff00;
}

.rot-instant {
  border: 2px solid #00FFFF;
}

.rot-small .rot-icon {
  width: 20px;
  height: 20px;
}

.rot-small .rot-cancelled {
  border: 1px solid #ff0000;
}

.rot-small .rot-animfull {
  border: 1px solid #9370DB;
}

.rot-small .rot-unknown {
  border: 1px solid #ffff00;
}

.rot-swap:after {
  content: '\A';
  white-space: pre;
}

.rot-highlight:not(.rot-highlight-active) {
  opacity: 0.5;
  filter: grayscale(0.7);
}


/* Rotation Legend */
/* Background filler */
.rot-legend-bg {
  padding: 2px;
  border-style: solid;
  border-width: 1px;
  border-color: #000000;
}

.rot-bg-blue {
  background-color: #0000FF;
  color: #FFFFFF;
}

.rot-bg-purple {
  background-color: #9370DB;
  color: #FFFFFF;
}

.rot-bg-red {
  background-color: #FF0000;
  color: #FFFFFF;
}

.rot-bg-cyan {
  background-color: #00FFFF;
  color: #000000;
}

.rot-bg-yellow {
  background-color: #FFFF00;
  color: #000000;
}

/* Outlines */
.rot-legend-border {
  padding: 2px;
  background-color: #999999;
  border-style: solid;
  border-width: 2px;
  color: #000000;
}

.rot-border-orange {
  border-color: rgb(220, 125, 30);
}

.rot-border-grey {
  border-color: rgb(125, 125, 125);
}

.rot-border-pink {
  border-color: rgb(220, 20, 220);
}

/* Rotation buttons */
.rot-button {
  width: 160px;
  padding: 0.4rem 0.4rem;
}

/* Rotation font */
.rot-font {
  font-size: 1.0em;
  white-space: nowrap;
  margin-top: 2px;
}

.rot-font-dropdown {
  font-size: 1.1em;
}

/* Rotation selector */
.rot-dropdown-pos {
  position: absolute;
  margin-top: 60px;
  z-index: 1;
}@supports (-moz-appearance: none) {
    * {
        scrollbar-width: thin;
    }
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.theme-yeti ::-webkit-scrollbar {
    background-color: #DDDDDD;
}

.theme-yeti ::-webkit-scrollbar-thumb {
    background-color: #888888;
}

.theme-yeti ::-webkit-scrollbar-track {
    background-color: #DDDDDD;
}

.theme-slate ::-webkit-scrollbar {
    background-color: #888888;
}

.theme-slate ::-webkit-scrollbar-thumb {
    background-color: #DDDDDD;
}

.theme-slate ::-webkit-scrollbar-track {
    background-color: #888888;
}


.scrollable-y {
    overflow-x: hidden;
    overflow-y: auto;
}

.scrollable-x {
    overflow-x: auto;
    overflow-y: hidden;
}

.scrollable-x-y {
    overflow-x: auto;
    overflow-y: auto;
}


.scrollabledropdown {
    max-height: 500px;
    overflow: auto;
    overscroll-behavior: contain;
}.table th {
    border-top: 0;
}

.target-cell,
.player-cell,
a {
    cursor: pointer !important;
}


.player-cell {
    width: 125px;
    min-height: 90px;
}

.theme-yeti .player-cell {
    box-shadow:
        1px 0 0 0 #dee2e6,
        0 1px 0 0 #dee2e6,
        1px 1px 0 0 #dee2e6,
        1px 0 0 0 #dee2e6 inset,
        0 1px 0 0 #dee2e6 inset;
}

.theme-slate .player-cell {
    box-shadow:
        1px 0 0 0 rgb(10, 10, 10),
        0 1px 0 0 rgb(10, 10, 10),
        1px 1px 0 0 rgb(10, 10, 10),
        1px 0 0 0 rgb(10, 10, 10) inset,
        0 1px 0 0 rgb(10, 10, 10) inset;
}

.player-cell-shorten {
    display: block;
    text-align: center;
    white-space: nowrap;
    width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
}

td.sorting_1 {
    background-color: rgba(39, 128, 227, 0.05);
}

table {
    font-size: inherit;
}

.table>tfoot>tr:first-child>td,
.table>tfoot>tr:last-child>td {
    border-top-width: 3px;
}

.table>tfoot>tr>td {
    color: #888;
}

tr.condi td {
    background-color: rgba(255, 0, 0, 0.25);
}

tr.hybridH td {
    background-color: rgba(0, 255, 0, 0.25);
}

tr.conversionH td {
    background-color: rgba(0, 0, 255, 0.25);
}

.sub-cell {
    width: 20px;
}

.prof-cell {
    width: 5px;
}

.damage-cell {
    width: 150px;
}

.stat-cell {
    width: 120px;
}

.mech-cell-time {
    width: 82px;
}

.mech-cell {
    width: 200px;
}

.mech-cell span {
    width: 178px;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.damage-dist-cell {
    width: 100px;
}

.name-cr-cell {
    min-width: 110px;
}

.damage-cr-cell-small {
    min-width: 90px;
}

.damage-cr-cell {
    min-width: 110px;
}

.sub-tabs {
    margin-top: 10px;
}

td,
th {
    text-align: center;
    white-space: nowrap;
}

.theme-slate .player-cell.active {
    background-color: rgba(50, 120, 0, 0.5);
}

.theme-slate .player-cell:hover:not(.active) {
    background-color: rgba(40, 75, 0, 0.5);
}

.theme-yeti .player-cell.active {
    background-color: rgba(100, 200, 0, 0.5);
}

.theme-yeti .player-cell:hover:not(.active) {
    background-color: rgba(120, 240, 0, 0.5);
}

.theme-slate .target-cell.active {
    border: 2px solid rgba(50, 120, 0, 0.5);
    border-radius: 50%;
    filter: drop-shadow(0px 0px 6px rgba(50, 120, 0, 1.0));
}

.theme-slate .target-cell:hover:not(.active) {
    border: 2px solid rgba(40, 75, 0, 0.5);
    border-radius: 50%;
    filter: drop-shadow(0px 0px 6px rgba(40, 75, 0, 1.0));
}

.theme-yeti .target-cell.active {
    border: 2px solid rgba(100, 200, 0, 0.5);
    border-radius: 50%;
    filter: drop-shadow(0px 0px 6px rgba(100, 200, 0, 1.0));
}

.theme-yeti .target-cell:hover:not(.active) {
    border: 2px solid rgba(120, 240, 0, 0.5);
    border-radius: 50%;
    filter: drop-shadow(0px 0px 6px rgba(120, 240, 0, 1.0));
}

.theme-yeti table tbody tr.active {
    background-color: rgba(100, 200, 0, 0.5);
}

.theme-slate table tbody tr.active {
    background-color: rgba(50, 120, 0, 0.5);
}

table tbody td.mech-active {
    font-weight: bold;
}

table tbody td.mech-actor-active {
    font-weight: bold;
}


thead .sorted,
thead .sorted_asc,
thead .sorted_desc {
    cursor: pointer;
    position: relative;
    padding-right: 20px;
}

thead .sorted:before,
thead .sorted_asc:before,
thead .sorted_desc:before {
    top: 5px;
    right: 0.85em;
    content: "\2191";
    position: absolute;
    display: block;
}

thead .sorted:before,
thead .sorted_desc:before {
    opacity: 0.3;
}

thead .sorted_asc:before {
    opacity: 1.0;
}

thead .sorted:after,
thead .sorted_asc:after,
thead .sorted_desc:after {
    top: 5px;
    right: 0.5em;
    content: "\2193";
    position: absolute;
    display: block;
}

thead .sorted:after,
thead .sorted_asc:after {
    opacity: 0.3;
}

thead .sorted_desc:after {
    opacity: 1.0;
}



td.sorted {
    background-color: rgba(39, 128, 227, 0.05);
}

td.lowerOrEqual::before {
    content: "<=";
}

td.higherOrEqual::before {
    content: ">=";
}

td.approximate::before {
    content: "\2248";
}