@font-face {
    font-family: "PerfectlySplendidBold";
    src: url('https://fonts.chicagorum.com/PerfectlySplendidBold/font.woff2') format('woff2'), url('https://fonts.chicagorum.com/PerfectlySplendidBold/font.woff') format('woff');
}
@font-face {
    font-family: "PerfectlySplendidBlack";
    src: url('https://fonts.chicagorum.com/PerfectlySplendidBlack/font.woff2') format('woff2'), url('https://fonts.chicagorum.com/PerfectlySplendidBlack/font.woff') format('woff');
}
@font-face {
    font-family: "PerfectlySplendidLight";
    src: url('https://fonts.chicagorum.com/PerfectlySplendidLight/font.woff2') format('woff2'), url('https://fonts.chicagorum.com/PerfectlySplendidLight/font.woff') format('woff');
}
@font-face {
    font-family: "PerfectlySplendidRegular";
    src: url('https://fonts.chicagorum.com/PerfectlySplendidRegular/font.woff2') format('woff2'), url('https://fonts.chicagorum.com/PerfectlySplendidRegular/font.woff') format('woff');
}
@font-face {
    font-family: "PerfectlySplendidHairline";
    src: url('https://fonts.chicagorum.com/PerfectlySplendidHairline/font.woff2') format('woff2'), url('https://fonts.chicagorum.com/PerfectlySplendidHairline/font.woff') format('woff');
}

body {
    background: linear-gradient(to top, #111, rgba(21, 21, 21, 0.5), #111), url(https://img.chicagorum.com/images/chicagobg.png?q=85);

    background-size: auto, 3072px 2048px;
    background-position: center center, center -100px;
    background-repeat: repeat, no-repeat;
    background-attachment: fixed;
}

.crContainer {
    display: flex;
    gap: 24px;
    min-height: 100vh;
}

.crLeftPane {
    width: 220px;
    /*background: #27221d;*/
    /*border-left: 1px solid #75685944;*/
    /*border-right: 1px solid #75685944;*/
    box-shadow: inset 0 0 10px #12121288;
    order: 1;
}

.crCenterPane {
    padding-top: 20px;
    width: 800px;
    order: 2;
}

@media screen and (max-width: 1300px) {
    .timerBox .timerItem:last-of-type {
        display: none;
    }

    .timerBox > .timerItem:nth-last-child(2) {
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
    }

    .timerItem span {
        font-size: 9px !important;
    }

    .timerItemImage {
        width: 16px !important;
        height: 16px !important;
        margin-right: 5px !important;
    }


    .timerItemImage img {
        width: 16px !important;
        height: 16px !important;
    }
}

@media screen and (max-width: 1500px) {
    .crLeftPane, .crRightPane {
        width: 185px !important;
    }

    .crCenterPane {
        width: calc(100vw - (185px * 2) - 40px) !important;
        flex-grow: 1;
    }

    .crContainer {
        gap: 4px;
    }

    .currencyItemContent {
        font-size: 14px !important;
    }

    .timerBox {
        max-width: 100%;
        /* TODO: FIX SCROLLING */
        /*overflow-x: scroll;*/
        /*-ms-overflow-style: none;*/
        /*scrollbar-width: none;*/
    }

    .timerBox::-webkit-scrollbar {
        display: none;
    }

    .contentWrapper .contentBox {
        max-width: 100%;
    }
}

@media screen and (min-width: 1200px) {
    .crCenterPane {
        width: 900px;
    }
}

@media screen and (min-width: 1600px) {
    .crCenterPane {
        width: 1100px;
    }
}

.crRightPane {
    width: 210px;
    order: 3;
}

.baseContainer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crLeftMenu {
    background: #d9d9d914;
    background: #302a2288;
    min-height: 800px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    box-shadow: inset 0 0 14px #fff4f424;
}

.crMastheadHolder {
    height: 60px;
    margin: auto;
    width: 100%;
    margin-top: 20px;
    overflow: hidden;
    background: linear-gradient(to bottom, #55524f 40%, rgba(62, 60, 55, 0.6) 100%);
    background: #00000033;
    border: 1px solid #64584c55;
    border-radius: 6px;
    transition: 0.3s all;
    position: relative;
}

.crMastheadHolder:hover {
    box-shadow: inset 0 0 40px rgba(218, 217, 216, 0.75);
    cursor: pointer;
    background: #000000aa;
}

.crMastheadHolder:hover .crMasthead span {
    background: linear-gradient(to bottom, #f3e3c5 0%, #f1c02f 20%, #f3af43 45%, #f1d87f 75%, #5c4033 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 105%;
}

.crMastheadHolder:hover .crMastheadSkyline {
    animation: scrollSkyline 30s linear infinite;
}

.crMastheadSkyline {
    background: url(https://img.chicagorum.com/images/city-skyline-black.svg) repeat;
    height: 78px;
    opacity: 1;
    background-size: contain;
}

@keyframes scrollSkyline {
    from {
        background-position: 0 center;
    }
    to {
        background-position: -1000px center;
    }
}

.crMasthead {
    color: #ffeecd;
    margin: 24px 0;
    font-size: 35px;
    font-family: 'BodegaSmallCaps', sans-serif;
    text-align: center;
    margin-top: -84px;
    padding-bottom: 20px;
    /*background: linear-gradient(to bottom, #8a6e494d 25%, rgba(58, 57, 53, 0.8) 85%, rgba(255, 241, 206, 0.3) 100%);*/
    background: linear-gradient(to bottom, #8a6e4987 25%, rgba(58, 57, 53, 0.8) 85%, rgba(255, 241, 206, 0.3) 100%);
    padding-top: 14px;
}

.crMasthead span {
    /*background: linear-gradient(to bottom, #f5deb3 0%, #e6ac00 20%, #d79b3b 45%, #cfa935 75%, #5c4033 100%);*/
    background: linear-gradient(to bottom, #f5deb3 0%, #e6ac00 20%, #d79b3b 45%, #d5bf70 75%, #5c4033 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.21);
    transition: font-size 0.3s ease;
}

.crMastheadLabel {
    font-size: 14px;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #ffeecd55;
    text-align: center;
    width: 85%;
    margin: auto;
    background: #00000033;
    box-shadow: inset 0 0 10px #12121288;
    padding: 6px;
    border: 1px solid #64584c55;
    /*border-radius: 12px;*/
    margin-top: 12px;
}

.timerBox {
    display: flex;
    /*background-color: #24201a;*/
    gap: 1px;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    /*box-shadow: 0 2px 12px #3a352b;*/
    /*border-radius: 8px;*/
}

.timerItem {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    flex: 1;
    background: linear-gradient(to bottom, #55524f99 40%, #55524f44 100%);
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 60px;
    padding: 0px 12px;
}

.timerItemImage {
    width: 24px;
    height: 24px;
    margin-right: 6px;
}

.timerItemImage img {
    opacity: 0.8;
}

.timerItem:hover {
    box-shadow: inset 0 0 30px rgba(193, 136, 90, 0.23);
    cursor: pointer;
    text-decoration: none;
}

.timerItem:hover .timerItemContent {
    color: #f1e0d4 !important;
}

.timerItemContent {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timerItemNewspaper {
    background: linear-gradient(to bottom, #55524f77 40%, #55524f22 100%);
}

.timerItem:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.timerItem:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.timerItem:not(:last-child) {
    /*border-right: 1px solid #121212;*/
}

.timerItem:last-child {
    flex-grow: 1;
}

.timerItem strong {
    display: block;
    font-weight: 600;
    font-size: 12px;
}

.timerItem span {
    font-size: 12px;
    color: #ccc;
}

@keyframes lootPulse {
    0%, 100% { text-shadow: 0 0 8px rgba(255,215,0,0.8); color: #ffd700; }
    50% { text-shadow: 0 0 16px rgba(255,215,0,0.4); color: #ffed4a; }
}

.timerItemLoot {
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffd700;
    animation: lootPulse 2s infinite ease-in-out;
    text-transform: uppercase;
}

.timerItemPlanning {
    font-weight: 600;
    letter-spacing: 1px;
    color: #43cea2 !important;
    text-transform: uppercase;
}

.timerItemPlanning::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.timerProgressBar {
    width: 100%;
    height: 4px;
    background: #3a352bcc;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    margin-top: 4px;
}

.timerProgressBarFill {
    height: 100%;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.3s ease-in-out;
}

.timerProgressBar[data-resource="energy"] .timerProgressBarFill {
    background: repeating-linear-gradient(45deg, rgba(255, 193, 7, 0.33) 0%, #ffc107 100%);
}

.timerProgressBar[data-resource="nerve"] .timerProgressBarFill {
    background: repeating-linear-gradient(45deg, rgba(53, 220, 214, 0.33) 0%,rgb(53, 109, 220) 100%);
}

.timerProgressBar[data-resource="influence"] .timerProgressBarFill {
    background: repeating-linear-gradient(45deg, rgba(220, 53, 72, 0.33) 0%, #dc3548 100%);
}

.timerProgressBar[data-resource="countdown"] .timerProgressBarFill {
    background: repeating-linear-gradient(45deg, rgba(150, 150, 150, 0.2) 0%, #888888 100%);
}

.timerProgressBar[data-resource="ready"] .timerProgressBarFill {
    background: repeating-linear-gradient(45deg, rgba(144, 198, 149, 0.3) 0%, #90c695 100%);
}

.timerProgressBar[data-resource="full"] .timerProgressBarFill {
    background: repeating-linear-gradient(45deg, rgba(144, 192, 198, 0.3) 0%, #90c6c4 100%);
}

@keyframes redLight {
    0%, 100% {
        opacity: 0.35;
    }
    50% {
        opacity: 0;
        transform: translateX(-10%);
    }
}

@keyframes blueLight {
    0%, 100% {
        opacity: 0;
        transform: translateX(10%);
    }
    50% {
        opacity: 0.45;
    }
}

.timerItemCopsApproaching {
    position: relative;
    overflow: hidden;
}

.timerItemCopsApproaching::before,
.timerItemCopsApproaching::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(5px);
}

.timerItemCopsApproaching::before {
    left: -25%;
    background: red;
    animation: redLight 1.1s infinite ease-in-out;
}

.timerItemCopsApproaching::after {
    right: -25%;
    background: blue;
    animation: blueLight 1.1s infinite ease-in-out;
}

.timerItemCopsApproaching > * {
    position: relative;
    z-index: 1;
}

.timerItemCopsApproaching::before,
.timerItemCopsApproaching::after {
    mix-blend-mode: screen;
}

.cityBox {
    display: flex;
    border-radius: 6px;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
    margin-top: 20px;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    height: 60px;
    background: linear-gradient(to bottom, #55524f99 40%, #55524f44 100%);
    position: relative;
}

.cityBox:hover {
    box-shadow: inset 0 0 30px rgba(193, 136, 90, 0.23);
}

.cityBox > *:hover, .cityBox:hover {
    text-decoration: none !important;
}

.cityBoxImage {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
}

.cityBoxImage img {
    max-width: 48px;
    max-height: 48px;
    filter: drop-shadow(0 0 4px rgba(244, 240, 240, 0.3)) brightness(1.2);
    opacity: 0.5;
}

.contentWrapper {
    margin-bottom: 24px;
    background-position-y: -600px;
    background-size: contain;
    padding: 12px 2px;
}

.cityBoxTitle {
    font-family: "Fira Sans Condensed", sans-serif;
    font-size: 14px;
    color: #f5deb3;
    font-weight: 700;
}

.cityBoxTime {
    color: #ffffff99;
    font-size: 11px;
}

.credits {
    font-family: "Fira Sans Condensed", sans-serif;
    color: #999;
    font-size: 15px;
}

.shoutBox {
    display: flex;
    border: 1px solid #444;
    align-items: center;
    /* Subtle greyscale radial blend that melts into the page */
    background:
        radial-gradient(220% 140% at 18% 8%, hsla(0, 0%, 100%, 0.06) 0%, hsla(0, 0%, 100%, 0) 60%),
        radial-gradient(160% 120% at 82% 118%, hsla(0, 0%, 0%, 0.28) 0%, hsla(0, 0%, 0%, 0) 60%),
        radial-gradient(140% 100% at 0% 78%, hsla(0, 0%, 100%, 0.03) 0%, hsla(0, 0%, 100%, 0) 50%),
        linear-gradient(to bottom, hsla(0, 0%, 100%, 0.04), hsla(0, 0%, 0%, 0.08));
    backdrop-filter: blur(2px);
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.12);
    /*border-color: rgba(106, 106, 106, 0.25);*/
    border-radius: 4px;
    width: 90%;
    padding: 4px 12px;
    gap: 12px;
    margin: auto;
    margin-bottom: 8px;
    font-family: "Fira Sans Condensed", sans-serif;
}

.shoutBox img {
    height: 18px;
    width: 18px;
}

.shoutBoxText {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.shoutBoxLabel {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #aaa;
}

.shoutBoxCount {
    height: 100%;
    width: 72px;
    text-align: center;
    background: rgba(0, 0, 0, 0.17);
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 12px;
}

.shoutBoxLink {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #ccc;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shoutBoxStarted {
    color: #b0f3b0;
}

.shoutBoxDismiss {
    cursor: pointer;
}

.shoutBoxDismiss img {
    height: 18px;
    width: 18px;
    opacity: 0.6;
}
.shoutBoxDismiss:hover img {
    opacity: 1;
}

.shoutBox[data-variant="red"] .shoutBoxLabel {
    color: #ee958a;
}

.shoutBox[data-variant="cyan"] .shoutBoxLabel {
    color: #8aeee2;
}

.shoutBox[data-variant="green"] .shoutBoxLabel {
    color: #a6ee8a;
}

.shoutBox[data-variant="yellow"] .shoutBoxLabel {
    color: #eedc8a;
}

.shoutBox[data-variant="red"] {
    box-shadow: inset 0 0 12px rgba(135, 45, 45, 0.12);
}

.shoutBox[data-variant="cyan"] {
    box-shadow: inset 0 0 12px rgba(45, 135, 121, 0.12);
}

.shoutBox[data-variant="green"] {
    box-shadow: inset 0 0 12px rgba(70, 135, 45, 0.12);
}

.shoutBox[data-variant="yellow"] {
    box-shadow: inset 0 0 12px rgba(135, 115, 45, 0.12);
    border-color: rgba(180, 150, 70, 0.3);
}

.gaugeBox {
    margin: 8px;
    margin-top: 0px;
    font-family: "Fira Sans Condensed", sans-serif;
    /*background: #ffffff11;*/
}

.gaugeItem {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    gap: 6px;
    padding: 2px 6px;
    /*border-radius: 8px;*/
    margin-bottom: 8px;
}

.gaugeItemCompact {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    gap: 6px;
    padding: 6px 8px;
    margin-bottom: 8px;
    flex: 1;
    background: rgba(66, 66, 66, 0.15);
    border-radius: 6px;
    border: 1px solid rgba(106, 106, 106, 0.2);
    transition: 0.3s all;
}

.gaugeItemCompact:hover {
    background: rgba(66, 66, 66, 0.5);
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none !important;
}

.gaugeRowCompact {
    display: flex;
    gap: 6px;
    width: 100%;
}

.gaugeItemText {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
    font-family: "Fira Sans Condensed", sans-serif;
    font-size: 11px;
    color: #c3b9b9;
    letter-spacing: 0.4px;
}

.gaugeItemTextCompact {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    width: 100%;
    font-size: 10px;
    font-weight: 600;
    color: #ccc;
    font-family: "Fira Sans Condensed", sans-serif;
    gap: 2px;
}

.gaugeItemTextCompact strong {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #aaa;
    margin-bottom: 1px;
}

.gaugeItemTextCompact span {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.gaugeItemTextBoosted {
    color: #ffe371;
    font-weight: 600;
    font-size: 12px;
    text-shadow: 1px 1px 6px rgba(239, 222, 180, 0.5);
}

.gaugeItemTextSubtle {
    color: #898989;
    font-weight: 600;
    font-size: 12px;
    text-shadow: 1px 1px 6px rgba(232, 232, 230, 0.1);
}

.gaugeItemBar {
    width:100%;
    height: 12px;
    background: #3a352bcc;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.gaugeItemBarText {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    font-size: 10px;
    text-align: center;
    text-shadow: 0 0 4px black;
}

.gaugeItemBarFill {
    height: 100%;
    background: repeating-linear-gradient(45deg, #8bdc3555 0%, #59dc35 100%);
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.3s ease-in-out;
}

.gaugeItemBar[data-type="health"] .gaugeItemBarFill {
    background: repeating-linear-gradient(45deg, #8bdc3555 0%, #59dc35 100%);
}

.gaugeItemBar[data-type="xp"] .gaugeItemBarFill {
    background: repeating-linear-gradient(45deg, rgba(220, 153, 53, 0.33) 0%, #dca735 100%);
}

.gaugeItemBar[data-type="energy"] .gaugeItemBarFill {
    background: repeating-linear-gradient(45deg, rgba(255, 193, 7, 0.33) 0%, #ffc107 100%);
}

.gaugeItemBar[data-type="nerve"] .gaugeItemBarFill {
    background: repeating-linear-gradient(45deg, rgba(53, 220, 214, 0.33) 0%, #35dcdc 100%);
}

.gaugeItemBar[data-type="influence"] .gaugeItemBarFill {
    background: repeating-linear-gradient(45deg, rgba(220, 53, 72, 0.33) 0%, #dc3548 100%);
}

.gaugeItemBar[data-type="gta"] .gaugeItemBarFill {
    background: repeating-linear-gradient(45deg, rgba(138, 43, 226, 0.33) 0%, #8a2be2 100%);
}

.currencies {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgba(68, 76, 62, 0.43) 0%, #42424211 100%);
    border-radius: 12px;
    margin-top: 12px;
    padding-top: 12px;
    padding-left: 8px;
    gap: 4px;
}

.currencyItem {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    margin-bottom: 2px;
    gap: 8px;
}

.currencyItemImage img {
    width: 48px;
    height: 48px;
    border-radius: 10%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.7));
    filter: drop-shadow(0 0 4px rgba(244, 240, 240, 0.3)) brightness(1.2);
    /*box-shadow: 0 0 10px rgba(195, 192, 192, 0.53);*/
}

.forumTopics {
    margin: 8px;
    font-family: "Fira Sans Condensed", sans-serif;
}

.forumTopicsTitle {
    font-size: 12px;
    font-weight: 700;
    color: #ccc;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.forumTopicsList {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.forumTopicsList .chatterItem {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    background: rgba(66, 66, 66, 0.2);
    border-radius: 4px;
    border: 1px solid rgba(106, 106, 106, 0.2);
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.forumTopicsList .chatterItem:hover {
    background: rgba(66, 66, 66, 0.3);
    transform: translateY(-1px);
}

.forumTopicsList .chatterImage {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forumTopicsList .chatterImage img {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.forumTopicsList .chatterText {
    flex: 1;
    font-size: 11px;
    font-weight: 500;
    color: #ccc;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forumTopicsList .chatterItem:hover .chatterText {
    color: #fff;
}

.forumTopicsList .chatterInfo {
    font-size: 9px;
    color: #888;
    margin-left: 8px;
    white-space: nowrap;
}

.forumTopicsList .chatterInfo[data-freshness="new"] {
    color: #4CAF50;
    font-weight: 600;
}

/* Obituaries specific styling */
.forumTopicsList .chatterText[data-friendliness="friend"] {
    color: #4CAF50;
}

.forumTopicsList .chatterText[data-friendliness="crew"] {
    color: #2196F3;
}

.forumTopicsList .chatterText[data-friendliness="enemy"] {
    color: #f44336;
}

.forumTopicsList .chatterItem:hover .chatterText[data-friendliness="friend"] {
    color: #66BB6A;
}

.forumTopicsList .chatterItem:hover .chatterText[data-friendliness="crew"] {
    color: #42A5F5;
}

.forumTopicsList .chatterItem:hover .chatterText[data-friendliness="enemy"] {
    color: #EF5350;
}

.currencyItemContent {
    font-size: 18px;
    font-family: "Fira Sans Condensed", sans-serif;
    color: #dfdfdf;
}

.currencyItemContent > span {
    display: block;
    font-size: 13px;
    font-variant: small-caps;
    letter-spacing: 2px;
}

.characterBox {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    background: linear-gradient(to bottom, rgba(103, 93, 63, 0.43) 0%, transparent 100%);    border-radius: 12px;
    padding: 8px;
    font-family: "Fira Sans Condensed", sans-serif;
}

.characterBoxImage {
    width: 48px;
    height: 48px;
    border-radius: 10%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.23);
    border: 1px solid #3d3d3d;
}

.characterBoxContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 12px;
}


.characterBoxContentUsername {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.characterBoxContentRank {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e3e3e3;
    margin-bottom: 2px;
    margin-top: 2px;
}

.characterBoxContentCrew {
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.notificationButtons, .progressionButtons, .inventoryButtonHolder {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin: 8px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.progressionButtons, .inventoryButtonHolder {
    flex-direction: column;
}

.notificationButton, .progressionButton, .inventoryButton {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 6px 8px;
    background: rgba(66, 66, 66, 0.3);
    border-radius: 6px;
    text-decoration: none;
    color: #ccc;
    font-family: "Fira Sans Condensed", sans-serif;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    border: 1px solid rgba(106, 106, 106, 0.3);
    flex: 1;
}

.inventoryButton {
    cursor: pointer;
    color: #fff;
}

.notificationButton:hover, .progressionButton:hover, .inventoryButton:hover {
    background: rgba(66, 66, 66, 0.5);
    color: #fff;
    transform: translateY(-1px);
}

.notificationButton img {
    width: 16px;
    height: 16px;
    opacity: 0.8;
    display: inline;
}

.progressionButton img, .progressionButton video, .inventoryButton img {
    width: 28px;
    height: 28px;
    opacity: 1;
    display: inline;
    margin-top: -4px;
    margin-bottom: -4px;
}

.notificationButton:hover img {
    opacity: 1;
}

.notificationBadge, .progressionBadge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 9px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.notificationBadge.subtle, .progressionBadge.subtle {
    background: rgba(106, 106, 106, 0.6);
    color: #ddd;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.inventoryBadge {
    background: transparent;
    color: #ccc;
    font-size: 10px;
    font-weight: 500;
    padding: 2px 6px;
    border: 1px solid #666;
    border-radius: 4px;
    margin-left: auto;
    min-width: 20px;
    text-align: center;
    font-family: "Fira Sans Condensed", sans-serif;
}

.inventoryBadge[data-variant="badge"] {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 9px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    min-width: 16px;
    padding: 0;
}

.creditsCrash, .logoutOption {
    display: flex;
    flex-direction: row;
    margin-bottom: 12px;
    align-items: center;
    justify-content: start;
    gap: 6px;
    cursor: pointer;
}

.creditsCrash {
    cursor: unset;
}

.creditsCrashImage, .logoutOptionImage {
    max-width: 32px;
    max-height: 32px;
    opacity: 0.5;
}

.creditsCrashText, .logoutOptionText {
    font-family: "Fira Sans Condensed", sans-serif;
    font-size: 14px;
    color: #f1d2fd99;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.logoutOptionText {
    color: rgba(255, 255, 255, 0.6);
}

.creditsCrash:hover .creditsCrashImage {
    opacity: 1;
}

.creditsCrash:hover .creditsCrashText {
    color: #f1d2fddd;
}

.crMenuCategory {
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 18px;
    color: rgba(253, 247, 210, 0.75);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    padding: 8px 6px;
    padding-left: 18px;
    margin-bottom: 4px;
    background: #3a352b77;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s;
}

.crMenuCategoryCollapse {
    margin-right: 8px;
    cursor: pointer;
    opacity: 0.35;
    transition: opacity 0.3s;
}

.crMenuCategory:hover {
    color: rgba(250, 247, 233, 0.9);
    background: #3a352bff;
}

.crMenuCategory:hover .crMenuCategoryCollapse {
    opacity: 1;
}

.crMenuList {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.crMenuLink {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    background: linear-gradient(to bottom, #3a352b55 0%, #3a352b22 100%);
    padding-left: 12px;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 500;
}

.crMenuLink img {
    filter: grayscale(100%);
    opacity: 0.65;
}

.crMenuLink:hover {
    background: #8e888055;
    color: #fff;
    text-decoration: none;
}

.numberIndicator {
    background: transparent;
    color: #ccc;
    font-size: 10px;
    font-weight: 500;
    padding: 2px 6px;
    border: 1px solid #666;
    border-radius: 4px;
    margin-left: auto;
    margin-right: 8px;
    min-width: 20px;
    text-align: center;
    font-family: "Fira Sans Condensed", sans-serif;
}

.attentionDot {
    width: 8px;
    height: 8px;
    background: #FFD700;
    border-radius: 50%;
    margin-left: auto;
    margin-right: 8px;
    animation: pulseAttention 2s infinite;
}

.numberIndicator[data-variant="badge"] {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 9px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    min-width: 16px;
}

.attentionDot[data-variant="police"] {
    animation: policeSiren 1s infinite;
}

@keyframes pulseAttention {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

@keyframes policeSiren {
    0% {
        background: #FF0000;
        box-shadow: 0 0 8px rgba(255, 0, 0, 0.8);
    }
    50% {
        background: #0066FF;
        box-shadow: 0 0 8px rgba(0, 102, 255, 0.8);
    }
    100% {
        background: #FF0000;
        box-shadow: 0 0 8px rgba(255, 0, 0, 0.8);
    }
}

.spaceTop {
    margin-top: 16px;
}

/* Helpbox styles */
.helpbox {
    display: flex;
    align-items: flex-start;
    padding: 12px 15px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid;
    font-size: 14px;
    line-height: 1.5;
}

.helpbox-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.helpbox-content {
    flex: 1;
}

/* Info helpbox - blue background */
.helpbox-info {
    background-color: rgba(33, 150, 243, 0.1);
    border-color: rgba(33, 150, 243, 0.3);
    color: #fff;
}

/* Star helpbox - yellow background */
.helpbox-star {
    background-color: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
    color: #fff;
}

/* Warning helpbox - red background */
.helpbox-warning {
    background-color: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
    color: #fff;
}

/*// replacements for context box stuff*/
.contentBox {
    border-radius: 6px;
    border: 0;
}
.contentTitle {
    background: linear-gradient(to bottom, #827c5d8f, #5e4739, #e66c014f, #654718) !important;
    border-bottom: 0;
    font-size: 14pt !important;
    padding: 8px 8px 8px 24px !important;
    font-family: "Fira Sans Condensed", sans-serif;
    text-shadow: 4px 4px 8px #191515b5, 4px 4px 18px #000 !important;
    color: #fff4e9 !important;
}
.contentTitle .helpBubble img {
    width: 24px;
    height: 24px;
}

/* Timer Meter Styles */
.timerItemMeter[data-meter="energy"] {
    color: rgb(222, 226, 181);
}

.timerItemMeter[data-meter="nerve"] {
    color: rgb(181, 209, 226);
}

.timerItemMeter[data-meter="influence"] {
    color:rgb(226, 185, 181);
}

.timerItemMeter[data-meter="cooldown"] {
    color: #ffc5c5;
}

.timerItemMeter[data-meter="ready"] {
    color: #90c695;
}

.timerItemMeter[data-meter="full"] {
    color: #90c6c6;
}

@media only screen and (max-width: 767px) {
    .crContainer {
        width: 100% !important;
        padding-bottom: 100px !important;
    }

    .crLeftPane, .crRightPane, .timerBox {
        display: none;
    }

    .crContainer > .crCenterPane {
        width: unset !important;
        max-width: 100vw !important;
        padding-top: 0 !important;
    }

    .contentBox {
        width: 96% !important;
        margin: auto;
    }

    .gtaGrid {
        grid-template-rows: 1fr 1fr 1fr !important;
        grid-template-columns: 1fr !important;
    }

    .grid {
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr !important;
        grid-template-columns: 1fr !important;
    }

    .newContainer {
        width: 99%;
        margin-top: unset;
    }
}

/* Prison bars overlay for cityBox when in jail */
.cityBox[data-in-jail="true"] {
    border: 1px solid rgba(255, 0, 0, 0.67);
}

.cityBox[data-in-jail="true"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 8px,
        rgba(255, 255, 255, 0.15) 8px,
        rgba(255, 255, 255, 0.15) 12px
    );
    pointer-events: none;
    z-index: 1;
    transition: all 0.3s;
}

.cityBox[data-in-jail="true"] .cityBoxImage,
.cityBox[data-in-jail="true"] .cityBoxContent {
    position: relative;
    z-index: 0;
}

.cityBox[data-in-jail="true"] .cityBoxImage img {
    filter: grayscale(50%) brightness(0.7);
}

.cityBox[data-in-jail="true"] .cityBoxContent {
    opacity: 0.8;
}

/* Floating jail status box */
.jailStatusBox {
    position: absolute;
    top: -12px;
    left: calc(50% - 45px);
    width: 90px;
    background: linear-gradient(135deg, #ff4444aa, #cc3333aa);
    background: black;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 0, 0, 0.67);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    text-decoration: none !important;
}

.jailStatusText {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.jailStatusTime {
    font-family: 'Courier New', monospace;
    padding: 1px 4px;
    border-radius: 4px;
    font-size: 10px;
}

/* Floating travel status box */
.travelStatusBox {
    position: absolute;
    bottom: -12px;
    left: calc(50% - 50px);
    width: 100px;
    background: black;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(122, 122, 122, 0.67);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    text-decoration: none !important;
}

.travelStatusText {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.travelStatusTime {
    font-family: 'Courier New', monospace;
    padding: 1px 4px;
    border-radius: 4px;
    font-size: 10px;
}

.explainer {
    border-radius: 12px;
    margin-top: 12px !important;
    margin-bottom: 12px !important;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
    padding: 14px 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.explainerImage img {
    height: 62px;
    width: 62px;
    opacity: 0.6;
    margin-right: 12px;
}
.explainerTitle {
    display: block;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
}

.explainerTitleSub {
    margin-bottom: 18px !important;
    color: #dedede;
    font-size: 14px;
}

@media only screen and (max-width: 767px) {
    .explainerImage img {
        height: 48px;
        width: 48px;
        opacity: 0.6;
        margin-left: 16px;
        margin-right: 16px;
    }

    .explainer {
        padding: 4px 2px !important;
    }

    .explainerTitle {
        font-size: 14px !important;
        margin-top: 12px !important;
    }

    .explainerTitleSub {
        font-size: 12px !important;
        margin-bottom: 12px !important;
    }
}

.buildingTitle {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.buildingTitleImage {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: flex;
}

.buildingTitleImage img {
    filter: drop-shadow(0 0 8px #2b2a268c);
    max-width: 100px;
    max-height: 100px;
}

.buildingTitleDescription {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.buildingTitleDescription h1 {
    font-size: 1.5em;
    margin: 0;
}

.buildingTitleDescription h2 {
    font-size: 1em;
}

@media only screen and (max-width: 767px) {
    .buildingTitleDescription h1 {
        font-size: 1.2em;
    }
    .buildingTitleDescription h2 {
        font-size: 0.8em;
    }
    .buildingTitleImage {
        width: 80px;
        height: 80px;
    }
    .buildingTitleImage img {
        max-width: 80px;
        max-height: 80px;
    }
}



/* BETA Badge */
.beta-badge {
    position: absolute;
    font-family: "Fira Sans Condensed", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 10;
    bottom: 0px;
    color: #ffb6b6f5;
    left: 0px;
    text-align: center;
    width: 100%;
}

/* Stats Button Styles */
.stats-button {
    margin-left: 8px;
    padding: 4px 12px;
    border: none;
    cursor: pointer;
    vertical-align: middle;
    font-size: 12px;
    background: #403e3e6b;
    color: #bbb;
}

.stats-button:hover {
    background: rgba(64, 62, 62, 0.57);
    color: #fff;
}

.stats-button img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* NEW MOBILE UX STYLES */
@media only screen and (min-width: 768px) {
    .crMobileHeader, .crMobileHeaderFloatingRank {
        display: none !important;
    }
}
.crMobileHeader {
    width: 100%;
    display: flex;
    flex-direction: row;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
}
.crMobileHeaderLeft {
    width: 24px;
    background: transparent;
}
.crMobileHeaderLeftAvatar {
    height: 26px;
}
.crMobileHeaderLeftAvatar img {
    height: 26px;
    width: 26px;
}
.crMobileHeaderLeftHealthBar {
    width: 100%;
    height: 6px;
    background: #666;
}
.crMobileHeaderLeftHealthBarProgress {
    height: 6px;
    background: linear-gradient(to bottom, #8ddf8d, #63a563);
}
.crMobileHeaderCenter {
    width: 100%;
    pointer-events: none;
}
.crMobileHeaderBar {
    border-bottom: 1px solid black;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    background: linear-gradient(to bottom, #4a4a4ad6, #484132bd);
    border-bottom: 1px solid black;
    backdrop-filter: blur(4px);
    height: 26px;
    padding: 4px 8px;
    font-size: 13px;
}
.crMobileHeaderBarLeft, .crMobileHeaderBarRight {
    display: flex;
    flex-direction: row;
    gap: 4px;
}
.crMobileHeaderBarRight {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
@media only screen and (max-width: 767px) {
    .baseContainer {
        padding-top: 46px;
    }
    .contentTitle {
        padding: 6px 6px 6px 12px !important;
        font-size: 12px !important;
    }
    .contentTitle .helpBubble img {
        width: 16px !important;
        height: 16px !important;
    }
}
.crMobileHeaderBarItem {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
}
.crMobileHeaderBarItemImage {
    display: flex;
    align-items: center;
    justify-content: center;
}
.crMobileHeaderBarItemContent {
    font-variant-numeric: tabular-nums;
}
.crMobileHeaderBarItemImage img {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 0 4px rgba(234, 234, 234, 0.25));
}
.mobileMenu, .mobileMenuItem {
    height: 60px;
}
.mobileMenu {
    background: linear-gradient(to bottom, #4a4a4ad6, #484132bd);
    border-top-color: #00000055;
    backdrop-filter: blur(4px);
}
.mobileMenuItem img {
    filter: invert(1);
    margin-bottom: 5px;
    opacity: 0.6;
    width: 22px;
    height: 22px;
}
.mobileMenuItem, .mobileMenuItem:visited, .mobileMenuItem:link, .mobileMenuItem:hover, .mobileMenuItem:active {
    color: #e1dfd3;
}
.crMobileHeaderFloatingRank {
    position: fixed;
    top: 30px;
    left: calc(50% - (65% / 2));
    width: 65%;
    background: rgba(41, 40, 33, 0.5);
    border-radius: 8px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: row;
    padding: 4px 6px;
    pointer-events: auto;
    z-index: 3;
    align-items: center;
}
.crMobileHeaderFloatingRankText {
    font-size: 9px;
    font-weight: 600;
    color: #f8eed9;
    text-align: center;
    letter-spacing: 0.5px;
    width: 40%;
    text-transform: uppercase;
}
.crMobileHeaderFloatingRankProgress {
    width: 60%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.crMobileHeaderFloatingRankProgressBar {
    height: 100%;
    background: linear-gradient(90deg, #4c8caf, #66abbb);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: width 0.3s ease;
    min-width: 40px;
}

.mobileMenuPoker {
    bottom: 104px !important;
}

@media only screen and (max-width: 767px) {
    .contentCard__details__title {
        font-size: 10px;
    }

    .favoriteStar {
        width: 12px !important;
        height: 12px !important;
    }

    .contentCard__details__title__cost img {
        height: 12px;
        width: 12px;
    }

    .contentCard__details__controls__details {
        font-size: 12px;
    }

    .contentCard__details__progressMeter__text {
        font-size: 11px;
    }

    .contentCard__details__controls__button button {
        width: 72px !important;
    }
}

.drawerTasks {
    background: #373736;
    width: 96%;
    position: fixed;
    bottom: 0;
    left: 2%;
    z-index: 99;
    border-top: 1px solid #000;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 0 14px 14px;
    animation: 0.15s ease-out slideUp infinite;
    animation-iteration-count: 1;
    display: none;
    box-shadow: 0 0 12px black;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
}
.drawerTasksHeader {
    display: flex;
    padding-top: 20px;
    padding-left: 8px;
    padding-right: 16px;
    padding-bottom: 8px;
    justify-content: space-between;
    width: 100%;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #ccccca;
}
.drawerTasksHeader img {
    filter: invert(100%);
    max-height: 18px;
    vertical-align: middle;
    opacity: 0.75;
}
.drawerTasksHeaderTitle {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.drawerTasksContent {
    border: 1px solid #cccccc22;
    border-radius: 12px;
    margin-top: 6px;
    box-shadow: inset 0 0 12px #00000055;
    background: #2626268f;
    padding-bottom: 12px;
}
.drawerTaskItem {
    border-radius: 4px;
    gap: 6px;
    padding: 6px 8px;
    background: linear-gradient(to bottom, rgba(85, 81, 77, 0.94), rgba(66, 66, 66, 0.5));
    border: 1px solid rgba(106, 106, 106, 0.3);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}
.drawerTaskItem.timerClockCooldown {
    box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.49);
}
.drawerTaskItemBadge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.drawerTaskItemBadge.subtle {
    color: #ddd;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border: 1px solid #c4c4c491;
    background: rgba(34, 34, 34, 0.6);
}
.drawerTasksContentTop {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
    padding-left: 12px;
    padding-right: 12px;
}
.drawerTasksContentTop > .drawerTaskItem {
    width: 98%;
    background: linear-gradient(to bottom, rgba(96, 93, 93, 0.94), rgba(87, 80, 68, 0.8));
    border: 1px solid rgba(255, 254, 201, 0.19);
}
.drawerTaskItemContent h3 {
    font-size: 13px;
}
.drawerTaskItemImage img {
    filter: drop-shadow(0 0 4px rgba(21, 21, 21, 0.21));
}
.drawerTasksContentMain {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* two equal columns */
    gap: 12px;
    border-top: 1px solid rgba(129, 129, 129, 0.33);
    padding-top: 12px;
    padding-left: 12px;
    padding-right: 12px;
}
.drawerTasksContentMain > .drawerTaskItem {
    width: 98%;
}
.drawerTaskItemContent span {
    font-size: 11px;
    color: #cdcdcd;
}
.timerClockCooldown {
    color: #ffabab !important;
}

.drawerMenu {
    background: #373736;
    width: 96%;
    position: fixed;
    bottom: 0;
    left: 2%;
    z-index: 99;
    border-top: 1px solid #000;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 0 14px 14px;
    animation: 0.15s ease-out slideUp infinite;
    animation-iteration-count: 1;
    display: none;
    box-shadow: 0 0 12px black;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
    max-height: 70vh;
    overflow-y: auto;
}
.drawerMenuHeader {
    display: flex;
    padding-top: 20px;
    padding-left: 8px;
    padding-right: 16px;
    padding-bottom: 8px;
    justify-content: space-between;
    width: 100%;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #ccccca;
}
.drawerMenuHeader img {
    filter: invert(100%);
    max-height: 18px;
    vertical-align: middle;
    opacity: 0.75;
}
.drawerMenuHeaderTitle {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.drawerMenuContent {
    border: 1px solid #cccccc22;
    border-radius: 12px;
    margin-top: 6px;
    box-shadow: inset 0 0 12px #00000055;
    background: #2626268f;
    padding: 12px;
}
.drawerMenuSection {
    margin-bottom: 16px;
}
.drawerMenuSection:last-child {
    margin-bottom: 0;
}
.drawerMenuSectionTitle {
    font-size: 13px;
    color: #d2c38d;
    text-transform: uppercase;
    margin-bottom: 8px;
    padding-left: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.drawerMenuSectionTitle.pinned {
    color: #d28d95;
}
.pinnedSection {
    display: none;
}
.drawerMenuGrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.drawerMenuItem {
    background: linear-gradient(to bottom, rgba(85, 81, 77, 0.94), rgba(66, 66, 66, 0.5));
    border: 1px solid rgba(106, 106, 106, 0.3);
    border-radius: 4px;
    padding: 8px 6px;
    text-align: center;
    color: #e6e6e6;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.drawerMenuItem:hover {
    background: linear-gradient(to bottom, rgba(95, 91, 87, 0.94), rgba(76, 76, 76, 0.5));
}
.controlGrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid rgba(129, 129, 129, 0.33);
    margin-top: 8px;
}
.controlGridItem {
    background: linear-gradient(to bottom, rgba(6, 5, 4, 0.51), rgba(46, 46, 46, 0.4));
    border: 1px solid rgba(255, 245, 245, 0.25);
    border-radius: 4px;
    padding: 8px 6px;
    text-align: center;
    color: #c8c8c8;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
}
.controlGridItem img {
    height: 14px;
    width: 14px;
}

/* Menu collapse functionality */
.crMenuCategory {
    cursor: pointer;
}

.crMenuCategory--collapsed {
    color: #888;
}

.crMenuCategoryCollapse {
    transition: transform 0.3s ease-out;
}

.crMenuCategoryCollapse--collapsed {
    transform: rotate(180deg);
}

/* Drawer menu collapse functionality */
.drawerMenuCategory {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawerMenuCategoryCollapsed {
    color: #888;
}

.drawerMenuCategoryArrow {
    transition: transform 0.3s ease-out;
    display: inline-flex;
    align-items: center;
}

.drawerMenuCategoryArrowCollapsed {
    transform: rotate(180deg);
}

.drawerMenuList {
    overflow: hidden;
}

.impersonationBar {
    background: #512424;
    padding: 12px;
    width: 100%;
    border-bottom: 2px solid black;
    color: #fff;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
}

.creditsDiscord {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    opacity: 0.6;
    margin-top: 16px;
}

.creditsDiscord:hover {
    opacity: 1;
}

.creditsDiscord img {
    width: 118px;
}

.activeEffectsWrapper {
    margin-top: 12px;
    position: relative;
    overflow: hidden;
    padding: 12px 0;
    border-top: 1px solid #fce7a96b;
    border-bottom: 1px solid #fce7a96b;
    cursor: pointer;
    transition: 0.5s all;
}

.activeEffectsBackground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
    transition: 0.5s all;
}

.activeEffectsWrapperLink {
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.activeEffectsTitle {
    font-size: 12px;
    color: #ffeaab;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 600;
    padding: 0 8px 8px 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    z-index: 1;
}

.activeEffectsContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 8px 8px 8px;
    position: relative;
    z-index: 1;
}

.activeEffectsWrapper:hover {
    border-color: rgba(252, 231, 169, 0.74);
}

.activeEffectsWrapper:hover .activeEffectsBackground {
    opacity: 0.7;
}

.activeEffectBox {
    width: 42px;
    height: 42px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s ease;
    overflow: hidden;
}

.activeEffectBox:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 202, 137, 0.5);
}

.activeEffectImage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, #f7e97554, #a8851b1f, transparent);
}

.activeEffectImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}

.activeEffectOverlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    border-radius: 4px;
}

.activeEffectEdge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
    border-radius: 4px;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.6));
}

.activeEffectTimer {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    color: #fff;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 700;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 0.8);
    z-index: 4;
    background: rgba(0, 0, 0, 0.7);
    padding: 1px 3px;
    border-radius: 2px;
    line-height: 1;
    white-space: nowrap;
}

.activeEffectTooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    padding: 8px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 10;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.activeEffectBox:hover .activeEffectTooltip {
    opacity: 1;
    visibility: visible;
}

.activeEffectTooltipName {
    font-size: 11px;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.activeEffectTooltipSource {
    font-size: 9px;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

