:root {
    --tg-font-primary: rgb(102, 102, 102);
    --tg-bg-primary: #fffbef;
    --tg-bg-secondary: #E6DDC6;
    --tg-bg-alternative: #C2B8A3;
    --tg-bg-dark: #A19882;
    --tg-font: #67584d;
    --tg-bg-heading: #191919;
    --tb-btn-bg-4: #8f6f58;
    --tg-lune: #81ced5;
    --tg-bg-gray: #edeae3;
    --tg-offer-orange: rgb(255, 102, 0);
    --ggs: unset;
    --surface-color: #fff;
    --curve: 40;
}

#main-container {
    min-height: 100vh;
}

body,
footer {
    background: var(--tg-bg-primary);
    font-family: Arial, serif !important;
}


.tg-font-primary {
    color: var(--tg-font-primary)
}

.tg-font {
    color: var(--tg-bg-primary);
}

.tg-border {
    border: 1px solid rgb(194, 184, 163);
}

.tg-background {
    background: var(--tg-bg-primary);
}

.tg-update-badge-background {
    background: navy;
}

.tg-badge-background {
    background: #b03504;
}

.tg-badge-support {
    background: var(--tg-lune);
}

.container-border {
    border-left: #95897f 2px solid;
    border-right: #95897f 2px solid;
}

footer .container,
footer .container footer {
    background: #95897f;
}

.container footer {
    color: var(--tg-font)
}

.container footer a {
    color: var(--tg-bg-primary) !important;
}

a {
    color: #00B7FF;
}

.btn {
    border-radius: 2px;
}

.modal-content {
    background: var(--tg-bg-primary);
    border: solid 2px #67584d;
    border-radius: 0;
    color: #333;
}

.btn-primary {
    background: none;
    color: var(--tg-bg-primary);
    border: 1px solid #b5a384;
}

.btn-primary:hover {
    background: var(--tg-bg-dark);
    color: var(--tg-bg-primary);
    border: 1px solid var(--tg-bg-dark);
}

.btn-login:hover {
    color: var(--tg-bg-primary)
}

.btn-login:focus {
    background: var(--tg-bg-dark);
    color: var(--tg-bg-primary);
    border: 1px solid var(--tg-bg-dark);
}

.btn-secondary {
    position: relative;
    color: var(--tg-bg-primary);
    background: #8e0000 url('/images/menu-extra.webp') top right repeat-x;
    border: 1px solid #222;
}

.btn-download {
    position: relative;
    color: var(--tg-bg-primary);
    background: #368752 url('/images/menu-extra.webp') top right repeat-x;
    border: 1px solid #222;
}

.btn-download:hover {
    color: white;
    background: #2b7b47 url('/images/menu-extra.webp') top right repeat-x;
}

.btn-buy-lune-secondary {
    position: relative;
    color: var(--tg-bg-primary);
    background: #8e0000 url(/images/menu-extra.webp) top right repeat-x;
    cursor: pointer;
}

.btn-buy-lune-secondary:disabled {
    position: relative;
    color: var(--tg-font);
    background: var(--tg-bg-gray) url(/images/menu-extra.webp) top right repeat-x !important;
}

.btn-nusa-buy {
    position: relative;
    background: var(--tg-bg-gray) url(/images/menu-extra.webp) top right repeat-x !important;
    cursor: pointer;
}

.shop-item:hover .btn-nusa-buy {
    position: relative;
    background: #8e0000 url(/images/menu-extra.webp) top right repeat-x !important;
    color:white;
    cursor: pointer;
}

.tg-card-header {
    position: relative;
    color: var(--tg-bg-primary);
    background: #2e2b26 url(/images/menu-extra.webp) top right repeat-y;
}

.tg-list-group-item {
    background: var(--tg-bg-primary);
    border: 0;
}

.btn-secondary:hover {
    position: relative;
    background: #b03504 url(/images/menu-extra.webp) top right repeat-x;
    border: 1px solid #9b4902;
    filter: hue-rotate(367deg);
    color: var(--tg-bg-primary);
}

.btn-fourth {
    background: var(--tb-btn-bg-4);
    color: var(--tg-bg-primary);
}

.btn-fourth:hover {
    background: var(--tg-font);
    color: var(--tg-bg-primary);
}

.btn-lune,
.btn-lune:hover {
    border: 1px solid var(--tg-lune);
    background: var(--tg-lune);
    color: white
}

.up,
.down {
    cursor: pointer;
}

/* input,
select {
    border-radius: 2px !important;
    border: 1px solid #b5a384 !important;
    background-color: rgb(239, 234, 202) !important;
} */

.pattern {
    background-image: linear-gradient(rgba(64, 116, 200, 0.25), rgba(49, 24, 24, 0.55)), url(/images/dark_wall.webp);
}

.container-border,
.modal-border {
    position: absolute;
}

.container-corner,
.modal-corner {
    background: url(/images/modal.webp) no-repeat;
    background-position-x: 0;
    background-position-y: 0;
    position: absolute;
    height: 18px;
    width: 18px;
}

.container-border-top,
.modal-border-top {
    background: url(/images/modal-frame.webp) 0 0 repeat-x;
    height: 18px;
    left: 0;
    right: 0;
    top: -18px;
}

.container-corner-top-left,
.modal-corner-top-left {
    background-position: -1px -1px;
    left: -18px;
    top: -18px;
}

.container-corner-top-right,
.modal-corner-top-right {
    background-position: -19px -1px;
    right: -18px;
    top: -18px;
}

.container-corner-bottom-right,
.modal-corner-bottom-right {
    background-position: -19px -19px;
    bottom: -18px;
    right: -18px;
}

.container-border-right,
.modal-border-right {
    background: url(/images/modal.webp) -272px 0 repeat-y;
    bottom: 0;
    right: -18px;
    top: 0;
    width: 18px;
}

.container-border-bottom,
.modal-border-bottom {
    background: url(/images/modal-frame.webp) 0 -18px repeat-x;
    bottom: -18px;
    height: 18px;
    left: 0;
    right: 0;
}

.container-corner-bottom-left,
.modal-corner-bottom-left {
    background-position: -1px -19px;
    bottom: -18px;
    left: -18px;
}

.container-border-left,
.modal-border-left {
    background: url(/images/modal.webp) -254px 0 repeat-y;
    bottom: 0;
    left: -18px;
    top: 0;
    width: 18px;
}

.card {
    border-radius: 5px 5px 0 0 !important;
    overflow: hidden;
}

.card-header {
    background: #67584d url(/images/menu-extra.webp) top right repeat-x;
    color: #fffbef;
    border-radius: 0 !important;
    stroke: #67584d82;
    stroke-width: 1px;
    -webkit-text-stroke: .5px #67584d82;
    font-size: 1.5rem;
}

.important-card-header {
    background: #0e1f5b url(/images/menu-extra.webp) top right repeat-x;
    color: #fffbef;
    stroke: #0e1f5b82;
    -webkit-text-stroke: .5px #0e1f5b82;
}

.media-header {
    background: var(--tg-font) url(/images/menu-extra.webp) top right repeat-x;
    background-size: cover;
    color: #fffbef;
    border-radius: 0 !important;
    stroke: #504740;
    stroke-width: 1px;
    -webkit-text-stroke: .5px #504740;
    font-size: 1.5rem;
}

.buy-lune {
    background: var(--tg-bg-gray);
    border: 1px solid var(--tg-bg-alternative)
}

.lune-amount {
    color: var(--tg-offer-orange);
}

.lune-card-background {
    background: var(--tg-bg-primary);
    background-image: url("/images/sub_leftimg1.gif");
    background-size: cover;
    background-position-y: -100px;
}

.counter {
    width: 150px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter input {
    width: 50px;
    border: 0;
    line-height: 30px;
    font-size: 20px;
    text-align: center;
    background: #0052cc;
    color: var(--tg-font);
    appearance: none;
    outline: 0;
}

.counter span {
    display: block;
    font-size: 25px;
    padding: 0 10px;
    cursor: pointer;
    color: var(--tg-font);
    -webkit-user-select: none;
    user-select: none;
}

#minimenu {

    background-image: url(/images/menu-bg.webp);
    background-repeat: repeat-x;
    background-position: center;
    min-height: 52px;
    z-index: 3;
    padding-left: 2rem;
    padding-right: 2rem;
}

#menu li a,
#menu .btn {
    color: #A19882;
}

#menu li a:hover {
    color: #ecd19a !important;
}

.hero {
    z-index: 3;
}

.hero h1 {
    font-size: 180%;
    color: #ecd19a !important;
    text-shadow: 0 0 6px #000000;
}

.hero p {
    color: #ecd19a !important;
    text-shadow: 0 0 6px #000000;
}

.hero-2 {
    background-image: url("/images/odmF5Z0I.webp"), linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
    background-blend-mode: overlay;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 768px) {
    .hero-2 {
        min-height: 50vh;
    }
}

.content-corner {
    background: url(/images/item-border-sprite.webp) 0 0 no-repeat;
    position: absolute;
    z-index: 100;
}

.content-corner--topLeft {
    left: 0;
    height: 15px;
    top: 0;
    width: 29px;
}

.content-corner--topRight {
    background-position: -29px 0;
    height: 14px;
    right: 0;
    top: 0;
    width: 29px;
}

.content-corner--bottomRight {
    background-position: -32px -14px;
    bottom: 0;
    height: 15px;
    right: 0;
    width: 26px;
}

.content-corner--bottomLeft {
    background-position: 0 -14px;
    bottom: 0;
    height: 15px;
    left: 0;
    width: 26px;
}

.content-border {
    position: absolute;
    z-index: 100;
}

.content-border--top {
    background: url(/images/item-border-frame-sprite.webp) 0 0 repeat-x;
    height: 8px;
    left: 0;
    right: 0;
    top: 0;
}

.content-border--right {
    background: url(/images/item-border-sprite.webp) -69px 0 repeat-y;
    bottom: 0;
    right: 0;
    top: 0;
    width: 11px;
}

.content-border--bottom {
    background: url(/images/item-border-frame-sprite.webp) 0 -8px repeat-x;
    bottom: 0;
    height: 8px;
    left: 0;
    right: 0;
    z-index: 999;
}

.content-border--left {
    background: url(/images/item-border-sprite.webp) -58px 0 repeat-y;
    bottom: 0;
    left: 0;
    top: 0;
    width: 11px;
}

.content-header,
.content-body,
.content-footer {
    background: var(--tg-bg-primary);
    color: rgb(103, 77, 61)
}

.content-header {
    padding: 1rem 2rem
}

.content-body {
    padding: 0 2rem
}

.content-footer {
    background: var(--tg-bg-primary);
}

.button-game {
    display: inline-block;
    font-size: 16px;
    line-height: 54px;
    padding: 0 3px;
    position: relative;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (min-device-height: 1366px) and (max-device-height: 1366px) and (min-width: 1024px) and (max-width: 1024px) {
    .button-game {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .button-game {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .button-game {
        font-size: 10px;
    }
}

.button-game .button-game-bg-mid {
    background: url(/images/button-sprite.webp) repeat-x 0 0;
    color: #f3aa55;
    display: block;
    font-family: "Cinzel Decorative", "Palatino Light", Times, Times New Roman, Georgia, serif;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 0 42px;
    position: relative;
    text-shadow: 0 0 8px #000000;
    transition: color 0.2s;
}

.button-game .button-game-bg-mid:after {
    background: url(/images/button-sprite.webp) repeat-x 0 -54px;
    content: "";
    height: 54px;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity 0.2s;
}

.button-game:hover {
    text-decoration: none;
}

.button-game:hover .button-game-bg-mid {
    color: #ffcb8d;
}

.button-game:focus {
    text-decoration: none;
}

.button-game:hover .button-game-bg-mid:after {
    opacity: 1;
}

.button-game .button-game-bg-mid > span {
    position: relative;
    z-index: 1;
}

.button-game .button-game-bg-left {
    background: url(/images/button-sprite.webp) no-repeat 0 -108px;
    height: 54px;
    left: 0;
    position: absolute;
    top: 0;
    width: 51px;
    z-index: 1;
}

.button-game .button-game-bg-right {
    background: url(/images/button-sprite.webp) no-repeat 0 -162px;
    height: 54px;
    position: absolute;
    right: 0;
    top: 0;
    width: 51px;
    z-index: 1;
}

.button-game-secondary {
    display: inline-block;
    font-size: 16px;
    line-height: 54px;
    padding: 0 3px;
    position: relative;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

.img-rian {
    bottom: 0;
    left: -40px;
    z-index: 200;
    max-height: 160%;
}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (min-device-height: 1366px) and (max-device-height: 1366px) and (min-width: 1024px) and (max-width: 1024px) {
    .button-game-secondary {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    hero,
    .button-game-secondary {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .button-game-secondary {
        font-size: 10px;
    }
}

.button-game-secondary .button-game-bg-mid {
    background: url(/images/button-secondary-sprite.webp) repeat-x 0 0;
    color: #f3aa55;
    display: block;
    font-family: "Cinzel Decorative", "Palatino Light", Times, Times New Roman, Georgia, serif;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 0 42px;
    position: relative;
    text-shadow: 0 0 8px #000000;
    transition: color 0.2s;
}

.button-game-secondary .button-game-bg-mid:after {
    background: url(/images/button-secondary-sprite.webp) repeat-x 0 -54px;
    content: "";
    height: 54px;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity 0.2s;
}

.button-game-secondary:hover {
    text-decoration: none;
}

.button-game-secondary:hover .button-game-bg-mid {
    color: #ffcb8d;
}

.button-game-secondary:focus {
    text-decoration: none;
}

.button-game-secondary:hover .button-game-bg-mid:after {
    opacity: 1;
}

.button-game-secondary .button-game-bg-mid > span {
    position: relative;
    z-index: 1;
}

.button-game-secondary .button-game-bg-left {
    background: url(/images/button-sprite.webp) no-repeat 0 -108px;
    height: 54px;
    left: 0;
    position: absolute;
    top: 0;
    width: 51px;
    z-index: 1;
}

.button-game-secondary .button-game-bg-right {
    background: url(/images/button-sprite.webp) no-repeat 0 -162px;
    height: 54px;
    position: absolute;
    right: 0;
    top: 0;
    width: 51px;
    z-index: 1;
}

.button-game-third {
    display: inline-block;
    font-size: 16px;
    line-height: 54px;
    padding: 0 3px;
    position: relative;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (min-device-height: 1366px) and (max-device-height: 1366px) and (min-width: 1024px) and (max-width: 1024px) {
    .button-game-third {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .button-game-third {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .button-game-third {
        font-size: 10px;
    }
}

.button-game-third .button-game-bg-mid {
    background: url(/images/button-thirdsprite.webp) repeat-x 0 0;
    color: rgb(103, 77, 61);
    display: block;
    font-family: "Cinzel Decorative", "Palatino Light", Times, Times New Roman, Georgia, serif;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 0 42px;
    position: relative;
    text-shadow: 0 0 8px #000000;
    transition: color 0.2s;
}

.button-game-third .button-game-bg-mid:after {
    background: url(/images/button-secondarysprite.webp) repeat-x 0 -54px;
    content: "";
    height: 54px;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity 0.2s;
}

.button-game-third:hover {
    text-decoration: none;
}

.button-game-third:hover .button-game-bg-mid {
    color: rgb(86, 65, 52);
}

.button-game-third:focus {
    text-decoration: none;
}

.button-game-third:hover .button-game-bg-mid:after {
    opacity: 1;
}

.button-game-third .button-game-bg-mid > span {
    position: relative;
    z-index: 1;
}

.button-game-third .button-game-bg-left {
    background: url(/images/button-lune-secondary-sprite.webp) no-repeat 0 -108px;
    height: 54px;
    left: 0;
    position: absolute;
    top: 0;
    width: 51px;
    z-index: 1;
}

.button-game-third .button-game-bg-right {
    background: url(/images/button-lune-secondary-sprite.webp) no-repeat 0 -162px;
    height: 54px;
    position: absolute;
    right: 0;
    top: 0;
    width: 51px;
    z-index: 1;
}

/* page styles */
.ax-hidden {
    visibility: hidden;
    position: absolute;
}

.profile-menu,
.profile-menu .list-group-item {
    text-decoration: none;
    background-color: #fffbef;
}

.profile-menu .list-group-item:hover {
    background: #c2b8a3;
    text-decoration: none;
    color: var(--tg-bg-primary);
}

.profile-menu .active {
    background: var(--tg-bg-primary);
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

div.progress-bar {
    padding: 1% 0;
    margin-top: 1%;
    display: flex;
    justify-content: space-between;
    flex-direction: unset;
}

div.progress-bar > div {
    border: 1px solid lightgrey;
    width: 22%;
    height: 8px;
    border-radius: 5px
}

div.field {
    width: 99%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

div.show-pass::selection, div.gen-pass::selection, div.show-pass > *::selection, div.gen-pass > *::selection {
    background: none;
}

div.progress-bar {
    background: none;
    padding: 1% 0;
    margin-top: 1%;
    display: flex !important;
    justify-content: space-between !important;
}


div.progress-bar > div {
    border: 1px solid lightgrey;
    width: 22%;
    height: 8px;
    border-radius: 5px;
}

div.percentage {
    border: 1px solid lightgrey;
    margin: 10% auto 0 auto;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 200%;
}

div.percentage > div.digit {
    font-size: 200%;
}

.gg-eye {
    position: relative;
    display: block;
    transform: scale(var(--ggs, 1));
    width: 24px;
    height: 18px;
    border-bottom-right-radius: 100px;
    border-bottom-left-radius: 100px;
    overflow: hidden;
    box-sizing: border-box
}

.gg-eye::after,
.gg-eye::before {
    content: "";
    display: block;
    border-radius: 100px;
    position: absolute;
    box-sizing: border-box
}

.gg-eye::after {
    top: 2px;
    box-shadow: inset 0 -8px 0 2px,
    inset 0 0 0 2px;
    width: 24px;
    height: 24px
}

.gg-eye::before {
    width: 8px;
    height: 8px;
    border: 2px solid;
    bottom: 4px;
    left: 8px
}

.gg-eye-alt {
    position: relative;
    display: block;
    transform: scale(var(--ggs, 1));
    width: 24px;
    height: 18px;
    border-bottom-right-radius: 100px;
    border-bottom-left-radius: 100px;
    overflow: hidden;
    box-sizing: border-box
}

.gg-eye-alt::after,
.gg-eye-alt::before {
    content: "";
    display: block;
    border-radius: 100px;
    position: absolute;
    box-sizing: border-box
}

.gg-eye-alt::after {
    top: 2px;
    box-shadow: inset 0 -8px 0 2px,
    inset 0 0 0 2px;
    width: 24px;
    height: 24px
}

.gg-eye-alt::before {
    width: 8px;
    height: 8px;
    border: 2px solid transparent;
    box-shadow: inset 0 0 0 6px,
    0 0 0 4px,
    6px 0 0 0,
    -6px 0 0 0;
    bottom: 4px;
    left: 8px
}

.transactions th {
    background: var(--tg-font);
    color: var(--tg-bg-primary)
}

.transactions tr {
    border-style: dotted;
    border-bottom: var(--tg-bg-primary) 1px
}

.transactions td .text-bg-success {
    background: green;
}

.transactions td .text-bg-info {
    background: var(--tg-lune);
}

/* data tables */
.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #c2b8a3;
    border-color: #67584d;
}

#transactions_filter {
    float: right !important;
}

.dataTables_paginate {
    min-height: 35px;
}

.shop-nusa {
    height: 60vh;
    padding: 15px;
}

.transactions-link,
.transactions-link:hover {
    color: #b03504;
    text-decoration: none;
    cursor: pointer;
}

#navbar_main .nav-link {
    color: var(--tg-font)
}

.gg-menu {
    transform: scale(var(--ggs, 1))
}

.gg-menu,
.gg-menu::after,
.gg-menu::before {
    box-sizing: border-box;
    position: relative;
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 3px;
    background: #8e0000;
}

.gg-menu::after,
.gg-menu::before {
    content: "";
    position: absolute;
    top: -6px
}

.gg-menu::after {
    top: 6px
}

body.offcanvas-active {
    overflow: hidden;
}

.offcanvas-header {
    display: none;
}

.screen-darken {
    height: 100%;
    width: 0%;
    z-index: 30;
    position: fixed;
    top: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(34, 34, 34, 0.6);
    transition: opacity .2s linear, visibility 0.2s, width 2s ease-in;
}

.screen-darken.active {
    z-index: 10;
    transition: opacity .3s ease, width 0s;
    opacity: 1;
    width: 100%;
    visibility: visible;
}

/* ============ mobile view ============ */
@media all and (max-width: 991px) {

    .offcanvas-header {
        display: block;
    }

    .mobile-offcanvas {
        visibility: hidden;
        transform: translateX(-100%);
        border-radius: 0;
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 80%;
        z-index: 1200;
        overflow-y: scroll;
        overflow-x: hidden;
        transition: visibility .3s ease-in-out, transform .3s ease-in-out;
    }

    .mobile-offcanvas.show {
        visibility: visible;
        transform: translateX(0);
    }

    .mobile-offcanvas .container, .mobile-offcanvas .container-fluid {
        display: block;
    }

    #navbar_main .nav-link {
        font-size: x-large;
        padding: 2rem;
    }

    .img-rian {
        bottom: 0;
        left: -40px;
        z-index: 200;
        max-height: 110%;
    }

}

/* ============ mobile view .end// ============ */

#event .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 5vw;
    padding: 0;
    list-style-type: none;
}

#event .card {
    position: relative;
    display: block;
    height: 100%;
    border-radius: calc(var(--curve) * 1px) 0 0;
    overflow: hidden;
    text-decoration: none;
}

#event .card__image {
    width: 100%;
    height: auto;
}

#event .card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    border-radius: calc(var(--curve) * 1px) 0 0;
    background-color: var(--surface-color);
    transform: translateY(100%);
    transition: .2s ease-in-out;
}

#event .card:hover .card__overlay {
    transform: translateY(0);
}

#event .card__header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2em;
    padding: 2em;
    border-radius: calc(var(--curve) * 1px) 0 0 0;
    background-color: var(--surface-color);
    transform: translateY(-100%);
    transition: .2s ease-in-out;
}

#event .card__arc {
    width: 80px;
    height: 80px;
    position: absolute;
    bottom: 100%;
    right: 0;
    z-index: 1;
}

#event .card__arc path {
    fill: var(--surface-color);
    d: path("M 40 80 c 22 0 40 -22 40 -40 v 40 Z");
}

#event .card:hover .card__header {
    transform: translateY(0);
}

#event .card__thumb {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

#event .card__title {
    font-size: 1em;
    margin: 0 0 .3em;
    color: #6A515E;
}

#event .card__tagline {
    display: block;
    margin: 1em 0;
    font-family: "MockFlowFont";
    font-size: .8em;
    color: #D7BDCA;
}

#event .card__status {
    font-size: .8em;
    color: #D7BDCA;
}

#event .card__description {
    padding: 0 2em 2em;
    margin: 0;
    color: #D7BDCA;
    font-family: "MockFlowFont";
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.tg-badge-views-background {
    background-color: var(--tg-bg-alternative);
    color: var(--tg-bg-primary)
}

#news a li:hover {
    background: #c2b8a3;
    text-decoration: none;
    color: var(--tg-bg-primary);
}

#news a li:hover .tg-badge-views-background {
    background-color: var(--tg-bg-primary);
    color: var(--tg-font)
}

.item-top-left,
.item-weapon,
.item-armor,
.item-boots,
.item-mantle,
.item-gloves,
.item-shield {
    max-height: 73.5px;
}

.item-helmet,
.item-mask,
.item-ring,
.item-lune {
    max-height: 41.5px;
}

.form-floating > .form-control-plaintext ~ label::after,
.form-floating > .form-control:focus ~ label::after,
.form-floating > .form-control:not(:placeholder-shown) ~ label::after,
.form-floating > .form-select ~ label::after {
    background-color: unset;
}

.textarea {
    width:100%;
    max-width:100%;
    min-height:30%;
    padding: 1rem;
    border-radius: 2px !important;
    border: 1px solid #b5a384 !important;
    background-color: rgb(239, 234, 202) !important;
}

.textarea:focus-visible {
    outline: none;
    border: unset
}

@media (min-width: 768px) {
    .nusa-img {
        height: 113px; /* full height on smaller screens */
    }
}

.flex-row {
    display: flex;
}

@media (min-width: 768px) { /* Adjusts for md breakpoint */
    .flex-row > .col-md-4 {
        flex-grow: 1;
        flex-basis: 0;
        max-width: 100%; /* Ensures no overflow */
    }
    .w-md-50 {
        width: 50% !important;
    }
}

.gg-background-accordion {
    background-color: var(--tg-bg-alternative);
}

.accordion-button:not(.collapsed) {
    position: relative;
    color: var(--tg-bg-primary);
    background: #8e0000 url('/images/menu-extra.webp') top right repeat-x;
    border: 1px solid #222;
    box-shadow: none;
    margin-top: -1px;
}
.accordion-button:focus {
    z-index: 3;
    border-color: #3f3b34;
    outline: 0;
    box-shadow: var(--bs-accordion-btn-focus-box-shadow);
}

#weapon_classes .nav-link {
    color: var(--tg-bg-dark)
}
#weapon_classes .nav-link:hover {
    color: var(--tg-font)
}
#weapon_classes .nav-link.active {
    position: relative;
    color: var(--tg-bg-primary);
    background: #8e0000 url('/images/menu-extra.webp') top right repeat-x !important;
    border: 1px solid #222;
    border-radius: 2px;
}

/* Style for the guild icon container */
.guild-icon-container {
    position: relative;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 50%;
}

/* Style for the avatar image */
.guild-icon-image {
    width: 100px;
    max-height: 100px;
    object-fit: cover;
}

/* Style for the plus icon */
.guild-icon-plus {
    bottom: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background-color: var(--tg-bg-alternative);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--tg-bg-primary);
}

/* Style for the input file element (hidden) */
input[type="file"] {
    display: none;
}

.no-wrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn:focus,
.btn:active,
.form-control:focus,
.nav-link:focus {
  outline: none !important;
  box-shadow: none !important;
}
