/*태그설정*/
*:not(.loadingPage):not(.loadingPage *):not(.space *) {
  transition: all 0.3s ease;
}
* {
  scroll-behavior: smooth;
}

textarea,
input[type="text"] {
  font-family: "Pretendard Variable", sans-serif;
}
a {
  text-decoration: none;
  color: black;
}
a:hover {
  text-decoration: none;
  color: black;
  text-decoration: underline;
}
button {
  font-family: "42dot Sans", sans-serif !important;
  padding: 6.5px 11px;
  border: none;
  font-weight: 800;
  border-radius: 14px;
  font-size: 0.9rem;
  transition: all 0.5s ease;
}
button,
textarea::placeholder {
  user-select: none;
}

img {
  user-select: none;
  user-drag: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

/*레이아웃*/
* {
  box-sizing: border-box;
  font-optical-sizing: auto;
  letter-spacing: -1.1% !important;
}

body,
html {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin: 0px;
  padding: 0px;
  overflow: scroll;
  display: flex;
  align-items: center;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
aside {
  height: 100vh;
  height: 100dvh;
  width: 230px;
  padding: 12px;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  border-right: 1px solid;
  user-select: none;
  border-radius: 20px;
}

.logo {
  height: 40px;
}
header .logo {
  height: 33px;
}

aside .logo {
  margin-bottom: 40px;
  margin-left: 20px;
  margin-right: auto;
}
header .logo {
  display: none;
}

.navButton {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 6px 10px;
  padding: 15px 24px;
  position: relative;
}
.navButton img {
  height: 25px;
}
.navButton span {
  width: 100%;
}

#sideDown {
  position: absolute;
  width: 170px;
  bottom: 30px;
  margin-left: 10px;
}

main {
  width: calc(100vw - 230px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

header {
  width: 100%;
  height: 60px;
  padding: 0 25px;
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid;
  user-select: none;
}

#sideUp {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.sideupBox {
  margin: 0 8px;
  display: none !important;
  align-items: center;
  gap: 2.5px;
  position: relative;
}
.sideupBox img {
  height: 23.5px;
}
header .ProfSty {
  width: 30px;
  height: 30px;
  margin-left: 8px;
  display: none;
}
.logined {
  display: none;
  border-radius: 50%;
}
.unlogined {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0px;
}
.unlogined button {
  margin: 2.5px;
  border-radius: 15px;
}

#content,
#typeContent {
  width: calc(100%);
  height: calc(100vh - 50px);
  height: calc(100dvh - 50px);
  padding: 20px;
  padding-bottom: 80px;
  overflow-y: scroll;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  flex-direction: column;
}
#content,
#typeContent * {
  flex-shrink: 0;
}

/*스타일*/
body {
  font-family: "Pretendard Variable", sans-serif;
  background-color: #ffffff;
}
body::selection {
  background-color: rgba(44, 40, 255, 0.658);
  color: #ffffff;
}
aside,
header {
  background: #ffffff;
  border-color: #39393920;
}
.logo {
  transition: all 0.5s ease;
  box-shadow: 0 0px 0px #00000000;
}
.logo:hover {
  transform: translateY(-6px);
  filter: brightness(1.3);
  filter: drop-shadow(0px 8px 1px #00000030);
}
.navButton {
  font-size: 1rem;
  border-radius: 20px;
  transition: background 0.5s ease;
  color: #000000;
  font-weight: 500;
  margin: 9px !important;
}
.navButton img,
.navButton span {
  opacity: 0.9;
}
.navButton:hover {
  background-color: rgb(240, 240, 240);
}
.NavSelect {
  font-weight: 680;
  color: black;
}
.alarmSelect {
  background-color: rgba(249, 249, 249, 0);
  font-weight: 680;
  color: black;
}
.NavSelect img,
.NavSelect span {
  opacity: 1;
  filter: brightness(0);
}
#sideDown {
  font-size: 0.85rem;
}
#sideDown span:hover {
  font-weight: 680;
  text-decoration: underline;
}

/*다크모드*/
body.dark .txtInput {
  background: #00000030;
  color: #ffffffd4;
  border-color: rgba(255, 255, 255, 0.18);
}
body.dark .txtInput::placeholder {
  color: #ffffff30 !important;
}
body.dark .selectPanel .selected {
  border-bottom: 2px solid rgba(255, 255, 255, 0.904);
}
body.dark aside,
body.dark header {
  background: rgb(22, 22, 25) !important;
  border-color: #ffffff40 !important;
}
body.dark .logo {
  filter: invert(1);
}
body.dark .logo:hover {
  filter: invert(1) drop-shadow(0px 8px 1px #fffcfc30);
}
body.dark #content,
body.dark #typeContent {
  overflow-x: hidden;
  background-color: rgb(22, 22, 25);
}
body.dark header img:not(.ProfSty img) {
  filter: invert(1);
}
body.dark aside {
  color: #e8e8e8 !important;
}
body.dark {
  background-color: #000;
  color: #e8e8e8;
}
body.dark aside .NavSelect {
  font-weight: 680;
}
body.dark aside div *:not(.ProfSty) {
  filter: invert(1);
}
body.dark aside div:hover {
  background-color: rgb(71, 71, 71);
}
body.dark .alarmSelect {
  background-color: rgba(249, 249, 249, 0);
  color: rgb(255, 255, 255);
}

body.dark textarea,
body.dark input {
  background: transparent !important;
  color: white !important;
}
body.dark .ProfSty,
body.dark .ProfSty *,
body.dark header .ProfSty {
  filter: invert(0) !important;
}
body.dark .loading,
body .loading.dark {
  border: 2.5px solid transparent !important;
  border-left: 3px solid rgba(255, 255, 255, 0.897) !important;
  border-top: 3px solid rgba(255, 255, 255, 0.897) !important;
  margin: 10px;
  aspect-ratio: 1;
}

/*애니메이션*/
@keyframes isMore {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-30%, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}
@keyframes biggerShow {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes glow {
  0% {
    filter: none;
  }
  50% {
    filter: brightness(1.15) contrast(1.1);
  }
  100% {
    filter: none;
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*예외요소*/
footer {
  width: 100%;
  min-height: 300px;
  background: #00000015;
  color: #00000060;
}
footer img {
  height: 40px;
  opacity: 0.4;
}
body.dark footer img {
  filter: invert(1);
}
body.dark footer {
  background: #ffffff15;
  color: #ffffff80 !important;
}

.txtInput {
  outline: none;
  width: 100%;
  margin: 8px 0 22px 0;
  padding: 11px 16.5px;
  background-color: white;
  border: 1px solid #39393920;
  border-radius: 16px;
  font-size: 15px !important;
  transition: all 0.5s ease;
  overflow: hidden;
  box-shadow: 0 8px 10px #00000000;
}

.txtInput:hover {
  border: 1px solid #522d0a30;
}

.txtInput:focus {
  transform: translateY(-2px);
  border-radius: 20px;
  border: 1.5px solid #522d0a30;
  box-shadow: 0 8px 10px #00000010, inset 0 5px 7px #572f0a08;
}

.txtInput::placeholder {
  color: #00000050;
}

.online,
.offline {
  width: 12px !important;
  height: 12px !important;
  aspect-ratio: 1;
  border-radius: 50%;
  flex-shrink: 0 !important;
  margin: 0 5px;
}
.online {
  background: #3aba58;
}
.offline {
  background: transparent;
  border: 4px solid gray;
}
.helper {
  font-weight: 800;
  color: #8f80ff !important;
}
.helper:hover {
  font-weight: 800;
  color: #a47dff !important;
  text-decoration: underline;
}
#loadingPage {
  background: rgb(253, 253, 253);
  position: absolute;
  z-index: 9999999999999999;
}
#loadingPage,
#loadingPage > div {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
}
#loadingPage img {
  animation: logo 1.2s ease-in-out;
}
@keyframes logo {
  0% {
    transform: scaleX(1) scaleY(1) translateY(0);
  }
  25% {
    transform: scaleX(0.9) scaleY(1.4) translateY(-7px);
  }
  75% {
    transform: scaleX(1.1) scaleY(0.8) translateY(5px);
  }
  100% {
    transform: scaleX(1) scaleY(1) translateY(0);
  }
}
#loadingPage > div {
  position: relative;
}
#loadingPage > div > span {
  line-height: 1;
  position: absolute;
  bottom: 10%;
  opacity: 0.75;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  text-align: center;
}
body.dark #loadingPage {
  background: black;
}
#loadingPage article {
  font-size: 1.2rem;
  font-weight: 750;
}
#loadingPage img {
  width: auto;
  height: 60px;
}
body.dark #loadingPage img {
  filter: invert(1);
}

.bigAlarm {
  width: 100vw;
  height: 100vh;
  background: #00000040;
  backdrop-filter: blur(2px);
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  top: 0;
  left: 0;
  transition: all 0.5s ease;
  font-size: 0.95rem;
}

.bigAlarm .title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 750;
}

.bigAlarm > div {
  width: 80%;
  max-width: 380px;
  min-width: 285px;
  height: fit-content;
  max-height: 300px;
  border-radius: 20px;
  background-color: white;
  padding: 20px;
  position: relative;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: biggerShow 0.5s ease;
}
.bigAlarm div > div {
  opacity: 0.8;
  margin-top: 5px;
}

body.dark .bigAlarm > div {
  background-color: #2d2e30;
  border: 1px solid #48494d;
}

.bigAlarm > div > article {
  width: 100%;
  display: flex;
  gap: 4%;
  margin-top: 30px;
  justify-content: center;
  align-items: center;
}

.bigAlarm > div > article button {
  width: 45%;
  border-radius: 100px;
  padding: 12px 25px !important;
  font-size: 1.1em;
}

body.dark .bigAlarm > div > article button {
  background: #141517 !important;
  color: white !important;
  border: none !important;
}
body.dark .bigAlarm > div > article button:not(.highB) {
  background: #444649 !important;
  color: white !important;
}

.roleTag {
  height: fit-content;
  padding: 2.5px 3px;
  margin-left: 4px;
  border-radius: 6px;
  font-size: 0.6em;
  font-weight: 680;
  user-select: none;
  color: white;
  line-height: 1 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.adminTag {
  background-color: rgb(117, 104, 255);
}
.VIPTag {
  background-color: #ff637d;
}
* body span.mention {
  flex-grow: 0;
  flex-basis: auto;
  max-width: auto;
  border-radius: 5px;
  height: 25px;
  padding: 1px 2px;
  font-weight: 800;
  color: #7b9dff !important;
  transition: all 0.5s ease;
  display: inline-flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}
* body span.mention:hover {
  color: #5883ff !important;
  background: #e2ecfe;
}
.tag img {
  animation: glow 3.5s ease infinite;
  filter: drop-shadow(10px 10px 15px #ffb732c5);
  height: 14.5px;
  margin-left: 2px;
  margin-right: 2px;
  transform-origin: center;
}
.alarmWindow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  max-width: 70%;
  padding: 9px 15px;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 30px;
  background: rgb(0, 0, 0);
  opacity: 0.95;
  backdrop-filter: blur(4px);
  border-radius: 20px;
  transition: all 0.8s ease !important;
  color: #ffffffef;
  z-index: 10000;
  box-shadow: 0 5px 5px #00000040, 0 0 3px #00000010;
}
.newLabel {
  font-family: "42dot Sans", sans-serif !important;
  padding: 0px 4px;
  color: white;
  font-size: 13px;
  font-weight: 680;
  border-radius: 10px;
  background-color: #ff4255;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute !important;
  top: -3px;
  right: -5px;
}
.loading {
  animation: spin 0.8s linear infinite;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-left: 3px solid #0000008b;
  border-top: 3px solid #0000008b;
  margin: 10px;
  aspect-ratio: 1;
}
.highB {
  font-family: "42dot Sans", sans-serif !important;
  color: white;
  background-color: #2d2d2d;
}
.highB:hover {
  color: white;
  background-color: #2d2d2dc5;
}
.midB {
  font-family: "42dot Sans", sans-serif !important;
  color: #6e6e6e;
  background-color: white;
  border: 1.5px solid #00000015;
}
.midB:hover {
  color: #000000bb;
  background-color: #00000005;
  border: 1.5px solid #d5d5d5;
}

/*모바일*/
@media (max-width: 900px) {
  .selectPanel {
    height: 57px !important;
  }
  #subMenu div {
    font-size: 1rem;
  }

  aside {
    backdrop-filter: blur(2px);
    opacity: 1 !important;
    backdrop-filter: blur(5px) !important;
    border-radius: 0;
  }
  body {
    display: block;
  }
  * body aside {
    position: fixed;
    height: 50px;
    width: 100vw;
    bottom: 0px;
    display: flex;
    opacity: 1;
    backdrop-filter: blur(5px) !important;
    flex-direction: row;
    border-right: none;
    border-top-style: solid;
    border-top-width: 1px;
    padding: 0px 5px;
    margin: 0px;
    z-index: 100000;
    border: none !important;
  }
  body.dark aside,
  body.dark header {
    border-color: #ffffff40 !important;
    backdrop-filter: blur(2px) !important;
  }
  header {
    height: 50px;
  }
  body.dark header {
    border: none;
  }
  aside img {
    height: 28px !important;
  }
  main {
    width: 100vw;
    border: none;
  }
  .navButton {
    padding: 0;
    border-radius: 12px;
    margin: auto auto;
  }
  .navButton span {
    display: none;
  }
  .navButton img {
    padding: 5px auto;
    box-sizing: content-box;
  }
  * .navButton:hover {
    background-color: transparent !important;
  }
  /*body.dark .NavSelect img{background-color: #00000040 !important}*/
  .NavSelect {
    background: transparent;
  }
  aside .logo {
    display: none;
  }
  header .logo {
    display: block;
  }
  header {
    padding: 0 15px;
  }
  .logo {
    height: 27px;
    left: 55%;
    left: 10px;
  }
  #sideUp {
    right: 10px;
  }
  #sideDown {
    display: none;
  }
  /*#content {
    height: calc(100vh - 100px);
  }*/
}

/*불확실*/
#menu {
  width: 200px;
  background-color: #ffffffcc;
  position: absolute;
  display: none;
  border-radius: 10px;
  backdrop-filter: blur(2px);
}
#menu div {
  filter: brightness(0.98);
  opacity: 0.9;
  width: auto;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  background-color: #ffffffcc;
  border-radius: 8px;
  margin: 4px;
  transition: all 0.5s ease;
}
#menu div:hover {
  filter: brightness(0.9);
}
#menu img {
  height: 20px;
  margin-right: 10px;
  opacity: 0.75;
}

/*레이아웃*/
* {
  box-sizing: border-box;
  font-optical-sizing: auto;
  letter-spacing: -1.1% !important;
}

body {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin: 0px;
  padding: 0px;
  overflow: scroll;
  display: flex;
  align-items: center;
  overflow-x: hidden;
}

aside {
  height: 100vh;
  height: 100dvh;
  width: 230px;
  padding: 12px;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  border-right: 1px solid;
  user-select: none;
}

.logo {
  height: 40px;
}
header .logo {
  height: 36px;
}

aside .logo {
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: auto;
}
header .logo {
  display: none;
}

.navButton {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 6px 10px;
  padding: 15px 24px;
  position: relative;
}
.navButton img {
  height: 25px;
}
.navButton span {
  width: 100%;
}

#sideDown {
  position: absolute;
  width: 170px;
  bottom: 30px;
  margin-left: 10px;
}

main {
  width: calc(100vw - 230px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

header {
  width: 100%;
  height: 60px;
  padding: 0 25px;
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid;
  user-select: none;
}

#sideUp {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.sideupBox {
  margin: 0 8px;
  display: none !important;
  align-items: center;
  gap: 2.5px;
  position: relative;
}
.sideupBox img {
  height: 23.5px;
}
header .ProfSty {
  width: 30px;
  height: 30px;
  margin-left: 8px;
  display: none;
}
.logined {
  display: none;
  border-radius: 50%;
}
.unlogined {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0px;
}
.unlogined button {
  margin: 2.5px;
  border-radius: 15px;
}

#content,
#typeContent {
  width: calc(100%);
  height: calc(100vh - 50px);
  height: calc(100dvh - 50px);
  padding: 20px;
  padding-bottom: 80px;
  overflow-y: scroll;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  flex-direction: column;
}
#content,
#typeContent * {
  flex-shrink: 0;
}

/*스타일*/
body {
  font-family: "Pretendard Variable", sans-serif;
  background-color: #ffffff;
}
body::selection {
  background-color: rgba(44, 40, 255, 0.658);
  color: #ffffff;
}
aside,
header {
  background: #ffffff;
  border-color: #39393920;
}
.logo {
  transition: all 0.5s ease;
  box-shadow: 0 0px 0px #00000000;
}
.logo:hover {
  transform: translateY(-6px);
  filter: brightness(1.3);
  filter: drop-shadow(0px 8px 1px #00000030);
}
.navButton {
  font-size: 1rem;
  border-radius: 20px;
  transition: background 0.5s ease;
  color: #000000;
  font-weight: 500;
}
.navButton img,
.navButton span {
  opacity: 0.9;
}
.navButton:hover {
  background-color: rgb(240, 240, 240);
}
.NavSelect {
  font-weight: 680;
  color: black;
}
.alarmSelect {
  background-color: rgba(249, 249, 249, 0);
  font-weight: 680;
  color: black;
}
.NavSelect img,
.NavSelect span {
  opacity: 1;
  filter: brightness(0);
}
#sideDown {
  font-size: 0.85rem;
}
#sideDown span:hover {
  font-weight: 680;
  text-decoration: underline;
}
header {
  border: none !important;
}

/*다크모드*/
body.dark .txtInput {
  background: #00000030;
  color: #ffffffd4;
  border-color: rgba(255, 255, 255, 0.18);
}
body.dark .txtInput::placeholder {
  color: #ffffff30 !important;
}
body.dark .selectPanel .selected {
  border-bottom: 2px solid rgba(255, 255, 255, 0.904);
}
body.dark aside,
body.dark header {
  background: rgb(22, 22, 25) !important;
  border-color: #ffffff40 !important;
}
body.dark .logo {
  filter: invert(1);
}
body.dark .logo:hover {
  filter: invert(1) drop-shadow(0px 8px 1px #fffcfc30);
}
body.dark #content,
body.dark #typeContent {
  overflow-x: hidden;
  background-color: rgb(22, 22, 25);
}
body.dark header img:not(.ProfSty img) {
  filter: invert(1);
}
body.dark aside {
  color: #e8e8e8 !important;
}
body.dark {
  background-color: #000;
  color: #e8e8e8;
}
body.dark aside .NavSelect {
  font-weight: 680;
}
body.dark aside div *:not(.ProfSty) {
  filter: invert(1);
}
body.dark aside div:hover {
  background-color: rgb(71, 71, 71);
}
body.dark .alarmSelect {
  background-color: rgba(249, 249, 249, 0);
  color: rgb(255, 255, 255);
}
body.dark .ProfSty section > div {
  background: #000000;
}
body.dark textarea,
body.dark input {
  background: transparent !important;
  color: white !important;
}
body.dark .ProfSty,
body.dark .ProfSty *,
body.dark header .ProfSty {
  filter: invert(0) !important;
}
body.dark .loading,
body .loading.dark {
  border: 2.5px solid rgba(181, 181, 181, 0.599) !important;
  border-top: 2.5px solid rgba(255, 255, 255, 0.897) !important;
  margin: 10px;
  aspect-ratio: 1;
}

/*애니메이션*/
@keyframes isMore {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-30%, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*예외요소*/
footer {
  width: 100%;
  min-height: 300px;
  background: #00000015;
  color: #00000060;
}
footer img {
  height: 40px;
  opacity: 0.4;
}
body.dark footer img {
  filter: invert(1);
}
body.dark footer {
  background: #ffffff15;
  color: #ffffff80 !important;
}

.txtInput {
  outline: none;
  width: 100%;
  margin: 8px 0 22px 0;
  padding: 11px 16.5px;
  background-color: white;
  border: 1px solid #39393920;
  border-radius: 16px;
  font-size: 15px !important;
  transition: all 0.5s ease;
  overflow: hidden;
  box-shadow: 0 8px 10px #00000000;
}

.txtInput:hover {
  border: 1px solid #522d0a30;
}

.txtInput:focus {
  transform: translateY(-2px);
  border-radius: 20px;
  border: 1.5px solid #522d0a30;
  box-shadow: 0 8px 10px #00000010, inset 0 5px 7px #572f0a08;
}

.txtInput::placeholder {
  color: #00000050;
}

.online,
.offline {
  width: 12px !important;
  height: 12px !important;
  aspect-ratio: 1;
  border-radius: 50%;
  flex-shrink: 0 !important;
  margin: 0 5px;
}
.online {
  background: #3aba58;
}
.offline {
  background: transparent;
  border: 4px solid gray;
}
.helper {
  font-weight: 800;
  color: #8f80ff !important;
}
.helper:hover {
  font-weight: 800;
  color: #a47dff !important;
  text-decoration: underline;
}
#loadingPage {
  background: rgb(253, 253, 253);
  position: absolute;
  z-index: 9999999999999999;
}
#loadingPage,
#loadingPage > div {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
}
#loadingPage img {
  animation: logo 0.8s ease-in-out 1s;
}
@keyframes logo {
  0% {
    transform: rotate(0deg);
  }
  45% {
    transform: rotate(15deg);
  }
  75% {
    transform: rotate(-15deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
#loadingPage > div {
  position: relative;
}
#loadingPage > div > span {
  line-height: 1;
  position: absolute;
  bottom: 10%;
  opacity: 0.75;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  text-align: center;
}
body.dark #loadingPage {
  background: black;
}
#loadingPage article {
  font-size: 1.2rem;
  font-weight: 750;
}
#loadingPage img {
  width: auto;
  height: 60px;
}
body.dark #loadingPage img {
  filter: invert(1);
}

.link {
  color: #56aaee;
  font-weight: 500;
  transition: all 0.5s ease;
}
.link:hover {
  color: #0050da;
}
.color {
  color: #45d38c;
}
.tag {
  transition: all 1s ease;
  width: 10px;
}
* body span.mention {
  flex-grow: 0;
  flex-basis: auto;
  max-width: auto;
  border-radius: 5px;
  height: 25px;
  padding: 1px 2px;
  font-weight: 680;
  color: #5ba5ff !important;
  transition: all 0.5s ease;
  display: inline-flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}
* body span.mention:hover {
  color: #0f7bff !important;
  background: #0073ff26;
}
.tag img {
  animation: glow 3.5s ease infinite;
  filter: drop-shadow(10px 10px 15px #ffb732c5);
  height: 14.5px;
  margin-left: 2px;
  margin-right: 2px;
  transform-origin: center;
}
.alarmWindow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  max-width: 70%;
  padding: 9px 15px;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 30px;
  background: rgb(0, 0, 0);
  opacity: 0.95;
  backdrop-filter: blur(4px);
  border-radius: 20px;
  transition: all 0.8s ease !important;
  color: #ffffffef;
  z-index: 10000;
  box-shadow: 0 5px 5px #00000040, 0 0 3px #00000010;
}
.newLabel {
  font-family: "42dot Sans", sans-serif !important;
  padding: 0px 4px;
  color: white;
  font-size: 13px;
  font-weight: 680;
  border-radius: 10px;
  background-color: #ff4255;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute !important;
  top: -3px;
  right: -5px;
}
.highB {
  font-family: "42dot Sans", sans-serif !important;
  color: white;
  background-color: #2d2d2d;
}
.highB:hover {
  color: white;
  background-color: #2d2d2dc5;
}
.midB {
  font-family: "42dot Sans", sans-serif !important;
  color: #6e6e6e;
  background-color: white;
  border: 1.5px solid #00000015;
}
.midB:hover {
  color: #000000bb;
  background-color: #00000005;
  border: 1.5px solid #d5d5d5;
}

/*모바일*/
@media (max-width: 900px) {
  .selectPanel {
    height: 57px !important;
  }
  #subMenu div {
    font-size: 1rem;
  }

  aside {
    backdrop-filter: blur(2px);
  }
  body {
    display: block;
  }
  * body aside {
    position: fixed;
    height: 50px;
    width: 100vw;
    bottom: 0px;
    display: flex;
    opacity: 1;
    backdrop-filter: blur(5px) !important;
    flex-direction: row;
    border-right: none;
    border-top-style: solid;
    border-top-width: 1px;
    padding: 0px 5px;
    margin: 0px;
    z-index: 100000;
  }
  body.dark aside,
  body.dark header {
    border-color: #ffffff40 !important;
    backdrop-filter: blur(2px) !important;
  }
  header {
    height: 50px;
  }
  body.dark header {
    border: none;
  }
  aside img {
    height: 40px;
  }
  main {
    width: 100vw;
    border: none;
  }
  .navButton {
    padding: 0;
    border-radius: 12px;
    margin: auto auto;
  }
  .navButton span {
    display: none;
  }
  .navButton img {
    padding: 5px auto;
    box-sizing: content-box;
  }
  * .navButton:hover {
    background-color: transparent !important;
  }
  /*body.dark .NavSelect img{background-color: #00000040 !important}*/
  .NavSelect {
    background: transparent;
  }
  aside .logo {
    display: none;
  }
  header .logo {
    display: block;
  }
  header {
    padding: 0 15px;
  }
  .logo {
    height: 27px;
    left: 55%;
    left: 10px;
  }
  #sideUp {
    right: 10px;
  }
  #sideDown {
    display: none;
  }
  /*#content {
    height: calc(100vh - 100px);
  }*/
}

/*불확실*/
#menu {
  width: 200px;
  background-color: #ffffffcc;
  position: absolute;
  display: none;
  border-radius: 10px;
  backdrop-filter: blur(2px);
}
#menu div {
  filter: brightness(0.98);
  opacity: 0.9;
  width: auto;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  background-color: #ffffffcc;
  border-radius: 8px;
  margin: 4px;
  transition: all 0.5s ease;
}
#menu div:hover {
  filter: brightness(0.9);
}
#menu img {
  height: 20px;
  margin-right: 10px;
  opacity: 0.75;
}
/*레이아웃*/
* {
  box-sizing: border-box;
  font-optical-sizing: auto;
  letter-spacing: -1.1% !important;
}

body {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin: 0px;
  padding: 0px;
  overflow: scroll;
  display: flex;
  align-items: center;
  overflow-x: hidden;
}

aside {
  height: 100vh;
  height: 100dvh;
  width: 230px;
  padding: 12px;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  border-right: 1px solid;
  user-select: none;
}

.logo {
  height: 40px;
}
header .logo {
  height: 33px;
}

aside .logo {
  margin-bottom: 40px;
  margin-left: 20px;
  margin-right: auto;
}
header .logo {
  display: none;
}

.navButton {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 6px 10px;
  padding: 15px 24px;
  position: relative;
}
.navButton img {
  height: 25px;
}
.navButton span {
  width: 100%;
}

#sideDown {
  position: absolute;
  width: 170px;
  bottom: 30px;
  margin-left: 10px;
}

main {
  width: calc(100vw - 230px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

header {
  width: 100%;
  height: 60px;
  padding: 0 25px;
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid;
  user-select: none;
}

#sideUp {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.sideupBox {
  margin: 0 8px;
  display: none !important;
  align-items: center;
  gap: 2.5px;
  position: relative;
}
.sideupBox img {
  height: 23.5px;
}
header .ProfSty {
  width: 30px;
  height: 30px;
  margin-left: 8px;
  display: none;
}
.logined {
  display: none;
  border-radius: 50%;
}
.unlogined {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0px;
}
.unlogined button {
  margin: 2.5px;
  border-radius: 15px;
}

#content,
#typeContent {
  width: calc(100%);
  height: calc(100vh - 50px);
  height: calc(100dvh - 50px);
  padding: 20px;
  padding-bottom: 80px;
  overflow-y: scroll;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  flex-direction: column;
}
#content,
#typeContent * {
  flex-shrink: 0;
}

/*스타일*/
body {
  font-family: "Pretendard Variable", sans-serif;
  background-color: #ffffff;
}
body::selection {
  background-color: rgba(44, 40, 255, 0.658);
  color: #ffffff;
}
aside,
header {
  background: #ffffff;
  border-color: #39393920;
}
.logo {
  transition: all 0.5s ease;
  box-shadow: 0 0px 0px #00000000;
}
.logo:hover {
  transform: translateY(-6px);
  filter: brightness(1.3);
  filter: drop-shadow(0px 8px 1px #00000030);
}
.navButton {
  font-size: 1rem;
  border-radius: 20px;
  transition: background 0.5s ease;
  color: #000000;
  font-weight: 500;
}
.navButton img,
.navButton span {
  opacity: 0.9;
}
.navButton:hover {
  background-color: rgb(240, 240, 240);
}
.NavSelect {
  font-weight: 680;
  color: black;
}
.alarmSelect {
  background-color: rgba(249, 249, 249, 0);
  font-weight: 680;
  color: black;
}
.NavSelect img,
.NavSelect span {
  opacity: 1;
  filter: brightness(0);
}
#sideDown {
  font-size: 0.85rem;
}
#sideDown span:hover {
  font-weight: 680;
  text-decoration: underline;
}

/*다크모드*/
body.dark .txtInput {
  background: #00000030;
  color: #ffffffd4;
  border-color: rgba(255, 255, 255, 0.18);
}
body.dark .txtInput::placeholder {
  color: #ffffff30 !important;
}
body.dark .selectPanel .selected {
  border-bottom: 2px solid rgba(255, 255, 255, 0.904);
}
body.dark aside,
body.dark header {
  background: rgb(22, 22, 25) !important;
  border-color: #ffffff40 !important;
}
body.dark .logo {
  filter: invert(1);
}
body.dark .logo:hover {
  filter: invert(1) drop-shadow(0px 8px 1px #fffcfc30);
}
body.dark #content,
body.dark #typeContent {
  overflow-x: hidden;
  background-color: rgb(22, 22, 25);
}
body.dark header img:not(.ProfSty img) {
  filter: invert(1);
}
body.dark aside {
  color: #e8e8e8 !important;
}
body.dark {
  background-color: #000;
  color: #e8e8e8;
}
body.dark aside .NavSelect {
  font-weight: 680;
}
body.dark aside div *:not(.ProfSty) {
  filter: invert(1);
}
body.dark aside div:hover {
  background-color: rgb(71, 71, 71);
}
body.dark .alarmSelect {
  background-color: rgba(249, 249, 249, 0);
  color: rgb(255, 255, 255);
}
body.dark .midB {
  background: transparent;
  border: 1.5px solid #585858 !important;
}
body.dark .midB:hover {
  color: #ffffffcc;
}
body.dark .highB {
  background: black;
  border: none !important;
  filter: invert(1) !important;
}
body.dark .ProfSty:not(.noring) section > div {
  background: #000000cc;
}
body.dark .newLabel,
body.dark .newLabel * {
  filter: none !important;
  color: white !important;
}

body.dark textarea,
body.dark input {
  background: transparent !important;
  color: white !important;
}
body.dark .ProfSty,
body.dark .ProfSty *,
body.dark header .ProfSty {
  filter: invert(0) !important;
}
body.dark .loading,
body .loading.dark {
  border: 2.5px solid rgba(181, 181, 181, 0.599) !important;
  border-top: 2.5px solid rgba(255, 255, 255, 0.897) !important;
  margin: 10px;
  aspect-ratio: 1;
}

/*애니메이션*/
@keyframes isMore {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-30%, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}

/*예외요소*/

footer {
  width: 100%;
  min-height: 300px;
  background: #00000015;
  color: #00000060;
}
footer img {
  height: 40px;
  opacity: 0.4;
}
body.dark footer img {
  filter: invert(1);
}
body.dark footer {
  background: #ffffff15;
  color: #ffffff80 !important;
}

.txtInput {
  outline: none;
  width: 100%;
  margin: 8px 0 22px 0;
  padding: 11px 16.5px;
  background-color: white;
  border: 1px solid #39393920;
  border-radius: 16px;
  font-size: 15px !important;
  transition: all 0.5s ease;
  overflow: hidden;
  box-shadow: 0 8px 10px #00000000;
}

.txtInput:hover {
  border: 1px solid #522d0a30;
}

.txtInput:focus {
  transform: translateY(-2px);
  border-radius: 20px;
  border: 1.5px solid #522d0a30;
  box-shadow: 0 8px 10px #00000010, inset 0 5px 7px #572f0a08;
}

.txtInput::placeholder {
  color: #00000050;
}

.online,
.offline {
  width: 12px !important;
  height: 12px !important;
  aspect-ratio: 1;
  border-radius: 50%;
  flex-shrink: 0 !important;
  margin: 0 5px;
}
.online {
  background: #3aba58;
}
.offline {
  background: transparent;
  border: 4px solid gray;
}
.helper {
  font-weight: 800;
  color: #8f80ff !important;
}
.helper:hover {
  font-weight: 800;
  color: #a47dff !important;
  text-decoration: underline;
}
#loadingPage {
  background: rgb(253, 253, 253);
  position: absolute;
  z-index: 9999999999999999;
}
#loadingPage,
#loadingPage > div {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
}
#loadingPage img {
  animation: logo 0.8s ease-in-out 1s;
}
@keyframes logo {
  0% {
    transform: rotate(0deg);
  }
  45% {
    transform: rotate(15deg);
  }
  75% {
    transform: rotate(-15deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
#loadingPage > div {
  position: relative;
}
#loadingPage > div > span {
  line-height: 1;
  position: absolute;
  bottom: 10%;
  opacity: 0.75;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  text-align: center;
}
body.dark #loadingPage {
  background: black;
}
#loadingPage article {
  font-size: 1.2rem;
  font-weight: 750;
}
#loadingPage img {
  width: auto;
  height: 60px;
}
body.dark #loadingPage img {
  filter: invert(1);
}

.bigAlarm {
  width: 100vw;
  height: 100vh;
  background: #00000040;
  backdrop-filter: blur(2px);
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  top: 0;
  left: 0;
  transition: all 0.5s ease;
  font-size: 0.9rem;
}

.bigAlarm .title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 750;
}

.bigAlarm > div {
  width: 80%;
  max-width: 380px;
  min-width: 285px;
  height: fit-content;
  max-height: 300px;
  border-radius: 20px;
  background-color: white;
  padding: 20px;
  position: relative;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bigAlarm div > div {
  opacity: 0.8;
  margin-top: 5px;
}

body.dark .bigAlarm > div {
  background-color: #2d2e30;
  border: 1px solid #48494d;
}

.bigAlarm > div > article {
  width: 100%;
  display: flex;
  gap: 4%;
  margin-top: 30px;
  justify-content: center;
  align-items: center;
}

.bigAlarm > div > article button {
  width: 45%;
  border-radius: 100px;
  padding: 12px 25px !important;
}

body.dark .bigAlarm > div > article button {
  background: #141517 !important;
  color: white !important;
  border: none !important;
}
body.dark .bigAlarm > div > article button:not(.highB) {
  background: #444649 !important;
  color: white !important;
}

.adminTag {
  background-color: rgb(117, 104, 255);
}
.VIPTag {
  background-color: #ff637d;
}
.BOTTag {
  background-color: #879dff;
}
* body span.mention {
  flex-grow: 0;
  flex-basis: auto;
  max-width: auto;
  border-radius: 5px;
  height: 25px;
  padding: 1px 2px;
  font-weight: 800;
  color: #7b9dff !important;
  transition: all 0.5s ease;
  display: inline-flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}
* body span.mention:hover {
  color: #5883ff !important;
  background: #e2ecfe;
}
.tag img {
  animation: glow 3.5s ease infinite;
  filter: drop-shadow(10px 10px 15px #ffb732c5);
  height: 14.5px;
  margin-left: 2px;
  margin-right: 2px;
  transform-origin: center;
}
.alarmWindow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  max-width: 70%;
  padding: 9px 15px;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 30px;
  background: rgb(0, 0, 0);
  opacity: 0.95;
  backdrop-filter: blur(4px);
  border-radius: 20px;
  transition: all 0.8s ease !important;
  color: #ffffffef;
  z-index: 10000;
  box-shadow: 0 5px 5px #00000040, 0 0 3px #00000010;
}
.newLabel {
  font-family: "42dot Sans", sans-serif !important;
  padding: 0px 4px;
  color: white;
  font-size: 13px;
  font-weight: 680;
  border-radius: 10px;
  background-color: #ff4255;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute !important;
  top: -3px;
  right: -5px;
}
.loading {
  animation: spin 0.8s linear infinite;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2.5px solid #dbdbdb;
  border-top: 2.5px solid #0000008b;
  margin: 10px;
  aspect-ratio: 1;
}
.highB {
  font-family: "42dot Sans", sans-serif !important;
  color: white;
  background-color: #2d2d2d;
}
.highB:hover {
  color: white;
  background-color: #2d2d2dc5;
}
.midB {
  font-family: "42dot Sans", sans-serif !important;
  color: #6e6e6e;
  background-color: white;
  border: 1.5px solid #00000015;
}
.midB:hover {
  color: #000000bb;
  background-color: #00000005;
  border: 1.5px solid #d5d5d5;
}

/*모바일*/
@media (max-width: 900px) {
  .selectPanel {
    height: 57px !important;
  }
  #subMenu div {
    font-size: 1rem;
  }

  aside {
    backdrop-filter: blur(2px);
    opacity: 1 !important;
    backdrop-filter: blur(5px) !important;
  }
  body {
    display: block;
  }
  * body aside {
    position: fixed;
    height: 50px;
    width: 100vw;
    bottom: 0px;
    display: flex;
    opacity: 1;
    backdrop-filter: blur(5px) !important;
    flex-direction: row;
    border-right: none;
    border-top-style: solid;
    border-top-width: 1px;
    padding: 0px 5px;
    margin: 0px;
    z-index: 100000;
  }
  body.dark aside,
  body.dark header {
    border-color: #ffffff40 !important;
    backdrop-filter: blur(2px) !important;
  }
  header {
    height: 50px;
  }
  body.dark header {
    border: none;
  }
  aside img {
    height: 28px !important;
  }
  main {
    width: 100vw;
    border: none;
  }
  .navButton {
    padding: 0;
    border-radius: 12px;
    margin: auto auto;
  }
  .navButton span {
    display: none;
  }
  .navButton img {
    padding: 5px auto;
    box-sizing: content-box;
  }
  * .navButton:hover {
    background-color: transparent !important;
  }
  /*body.dark .NavSelect img{background-color: #00000040 !important}*/
  .NavSelect {
    background: transparent;
  }
  aside .logo {
    display: none;
  }
  header {
    padding: 0 15px;
  }
  .logo {
    height: 27px;
    left: 55%;
    left: 10px;
  }
  #sideUp {
    right: 10px;
  }
  #sideDown {
    display: none;
  }
  /*#content {
    height: calc(100vh - 100px);
  }*/
}

/*불확실*/
#menu {
  width: 200px;
  background-color: #ffffffcc;
  position: absolute;
  display: none;
  border-radius: 10px;
  backdrop-filter: blur(2px);
}
#menu div {
  filter: brightness(0.98);
  opacity: 0.9;
  width: auto;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  background-color: #ffffffcc;
  border-radius: 8px;
  margin: 4px;
  transition: all 0.5s ease;
}
#menu div:hover {
  filter: brightness(0.9);
}
#menu img {
  height: 20px;
  margin-right: 10px;
  opacity: 0.75;
}

/*레이아웃*/
* {
  box-sizing: border-box;
  font-optical-sizing: auto;
  letter-spacing: -1.1% !important;
}

body {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin: 0px;
  padding: 0px;
  overflow: scroll;
  display: flex;
  align-items: center;
  overflow-x: hidden;
}

aside {
  height: 100vh;
  height: 100dvh;
  width: 230px;
  padding: 12px;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  border-right: 1px solid;
  user-select: none;
}

.logo {
  height: 40px;
}
header .logo {
  height: 30px;
}

aside .logo {
  margin-bottom: 40px;
  margin-left: 20px;
  margin-right: auto;
}
header .logo {
  display: none;
}

.navButton {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 6px 10px;
  padding: 15px 24px;
  position: relative;
}
.navButton img {
  height: 25px;
}
.navButton span {
  width: 100%;
}

#sideDown {
  position: absolute;
  width: 170px;
  bottom: 30px;
  margin-left: 10px;
}

main {
  width: calc(100vw - 230px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

header {
  width: 100%;
  height: 60px;
  padding: 0 25px;
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid;
  user-select: none;
}

#sideUp {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.sideupBox {
  margin: 0 8px;
  display: none !important;
  align-items: center;
  gap: 2.5px;
  position: relative;
}
.sideupBox img {
  height: 23.5px;
}
header .ProfSty {
  width: 30px;
  height: 30px;
  margin-left: 8px;
  display: none;
}
.logined {
  display: none;
  border-radius: 50%;
}
.unlogined {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0px;
}
.unlogined button {
  margin: 2.5px;
  border-radius: 15px;
}

#content,
#typeContent {
  width: calc(100%);
  height: calc(100vh - 50px);
  height: calc(100dvh - 50px);
  padding: 20px;
  padding-bottom: 80px;
  overflow-y: scroll;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  flex-direction: column;
}
#content,
#typeContent * {
  flex-shrink: 0;
}

/*스타일*/
body {
  font-family: "Pretendard Variable", sans-serif;
  background-color: #ffffff;
}
body::selection {
  background-color: rgba(44, 40, 255, 0.658);
  color: #ffffff;
}
aside,
header {
  background: #ffffff;
  border-color: #39393920;
}
.logo {
  transition: all 0.5s ease;
  box-shadow: 0 0px 0px #00000000;
}
.logo:hover {
  transform: translateY(-6px);
  filter: brightness(1.3);
  filter: drop-shadow(0px 8px 1px #00000030);
}
.navButton {
  font-size: 1rem;
  border-radius: 20px;
  transition: background 0.5s ease;
  color: #000000;
  font-weight: 500;
}
.navButton img,
.navButton span {
  opacity: 0.9;
}
.navButton:hover {
  background-color: rgb(240, 240, 240);
}
.NavSelect {
  font-weight: 680;
  color: black;
}
.alarmSelect {
  background-color: rgba(249, 249, 249, 0);
  font-weight: 680;
  color: black;
}
.NavSelect img,
.NavSelect span {
  opacity: 1;
  filter: brightness(0);
}
#sideDown {
  font-size: 0.85rem;
}
#sideDown span:hover {
  font-weight: 680;
  text-decoration: underline;
}

/*다크모드*/
body.dark .txtInput {
  background: #00000030;
  color: #ffffffd4;
  border-color: rgba(255, 255, 255, 0.18);
}
body.dark .txtInput::placeholder {
  color: #ffffff30 !important;
}
body.dark .selectPanel .selected {
  border-bottom: 2px solid rgba(255, 255, 255, 0.904);
}
body.dark aside,
body.dark header {
  background: rgb(22, 22, 25) !important;
  border-color: #ffffff40 !important;
}
body.dark .logo {
  filter: invert(1);
}
body.dark .logo:hover {
  filter: invert(1) drop-shadow(0px 8px 1px #fffcfc30);
}
body.dark #content,
body.dark #typeContent {
  overflow-x: hidden;
  background-color: rgb(22, 22, 25);
}
body.dark header img:not(.ProfSty img) {
  filter: invert(1);
}
body.dark aside {
  color: #e8e8e8 !important;
}
body.dark {
  background-color: #000;
  color: #e8e8e8;
}
body.dark aside .NavSelect {
  font-weight: 680;
}
body.dark aside div *:not(.ProfSty) {
  filter: invert(1);
}
body.dark aside div:hover {
  background-color: rgb(71, 71, 71);
}
body.dark .alarmSelect {
  background-color: rgba(249, 249, 249, 0);
  color: rgb(255, 255, 255);
}

body.dark textarea,
body.dark input {
  background: transparent !important;
  color: white !important;
}
body.dark .ProfSty,
body.dark .ProfSty *,
body.dark header .ProfSty {
  filter: invert(0) !important;
}
body.dark .loading,
body .loading.dark {
  border: 2.5px solid rgba(181, 181, 181, 0.599) !important;
  border-top: 2.5px solid rgba(255, 255, 255, 0.897) !important;
  margin: 10px;
  aspect-ratio: 1;
}

/*애니메이션*/
@keyframes isMore {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-30%, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes showLeft {
  0% {
    transform: translateX(-500px);
    opacity: 0;
  }
  100% {
    transform: translate(0px);
    opacity: 1;
  }
}
@keyframes showRight {
  0% {
    transform: translateX(50px);
    opacity: 0;
    filter: blur(4px);
  }
  100% {
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes glow {
  0% {
    filter: none;
  }
  50% {
    filter: brightness(1.15) contrast(1.1);
  }
  100% {
    filter: none;
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*예외요소*/
body.dark .darkImg {
  filter: invert(1);
}
.postImg {
  width: 100% !important;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  background: black;
  margin: 15px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.postImg img {
  height: 100%;
  width: auto !important;
  margin: 0;
}
.postImg.showBigger {
  width: 100vw !important;
  height: 100vh;
  height: 100dvh;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 0;
  align-items: center;
  background: #00000050;
  z-index: 99999999999999999999999999999999;
}
.postImg.showBigger img {
  max-height: 700px;
}
.toggle {
  width: 50px;
  height: 30px;
  border-radius: 100px;
  padding: 5px;
  position: relative;
  background: #eaeaea;
  margin-left: auto;
  transition: all 1s ease;
}
body.dark .toggle:not(.on) {
  background: #3f3f3f;
}
.toggle.on {
  background: #4c6dff;
}
.toggle div {
  border-radius: 50%;
  height: 100%;
  aspect-ratio: 1;
  background: white;
  transition: margin-left 1s ease;
}
.toggle.on div {
  margin-left: auto;
}

.popC {
  width: 220px;
  height: 90%;
  border-radius: 15px;
  overflow: hidden;
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
}

.popC::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60%;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

footer {
  width: 100%;
  min-height: 300px;
  background: #00000015;
  color: #00000060;
}
footer img {
  height: 40px;
  opacity: 0.4;
}
body.dark footer img {
  filter: invert(1);
}
body.dark footer {
  background: #ffffff15;
  color: #ffffff80 !important;
}

.txtInput {
  outline: none;
  width: 100%;
  margin: 8px 0 22px 0;
  padding: 11px 16.5px;
  background-color: white;
  border: 1px solid #39393920;
  border-radius: 16px;
  font-size: 15px !important;
  transition: all 0.5s ease;
  overflow: hidden;
  box-shadow: 0 8px 10px #00000000;
}

.txtInput:hover {
  border: 1px solid #522d0a30;
}

.txtInput:focus {
  transform: translateY(-2px);
  border-radius: 20px;
  border: 1.5px solid #522d0a30;
  box-shadow: 0 8px 10px #00000010, inset 0 5px 7px #572f0a08;
}

.txtInput::placeholder {
  color: #00000050;
  font-size: 15px;
}

.online,
.offline {
  width: 12px !important;
  height: 12px !important;
  aspect-ratio: 1;
  border-radius: 50%;
  flex-shrink: 0 !important;
  margin: 0 5px;
}
.online {
  background: #3aba58;
}
.offline {
  background: transparent;
  border: 4px solid gray;
}
.selectPanel {
  padding: 0 15px;
  display: flex;
  gap: 20px;
}

.selectPanel div {
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  padding: 12px 5px;
  border-bottom: 2px solid transparent;
  transition: all 0.5s ease;
}
.selectPanel div:hover {
  cursor: pointer;
}
.selectPanel .selected {
  border-bottom: 2px solid black;
  font-weight: 550;
}

.helper {
  font-weight: 800;
  color: #8f80ff !important;
}
.helper:hover {
  font-weight: 800;
  color: #a47dff !important;
  text-decoration: underline;
}
#loadingPage {
  background: rgb(253, 253, 253);
  position: absolute;
  z-index: 9999999999999999;
}
#loadingPage,
#loadingPage > div {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
}
#loadingPage img {
  animation: logo 0.8s ease-in-out 1s;
}
@keyframes logo {
  0% {
    transform: scaleX(1) scaleY(1) translateY(0);
  }
  25% {
    transform: scaleX(0.9) scaleY(1.4) translateY(-7px);
  }
  75% {
    transform: scaleX(1.1) scaleY(0.8) translateY(5px);
  }
  100% {
    transform: scaleX(1) scaleY(1) translateY(0);
  }
}
#loadingPage > div {
  position: relative;
}
#loadingPage > div > span {
  line-height: 1;
  position: absolute;
  bottom: 10%;
  opacity: 0.75;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  text-align: center;
}
body.dark #loadingPage {
  background: black;
}
#loadingPage article {
  font-size: 1.2rem;
  font-weight: 750;
}
#loadingPage img {
  width: auto;
  height: 60px;
}
body.dark #loadingPage img {
  filter: invert(1);
}

.bigAlarm {
  width: 100vw;
  height: 100vh;
  background: #00000040;
  backdrop-filter: blur(2px);
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  top: 0;
  left: 0;
  transition: all 0.5s ease;
  font-size: 0.9rem;
}

.bigAlarm .title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 750;
}

.bigAlarm > div {
  width: 80%;
  max-width: 380px;
  min-width: 285px;
  height: fit-content;
  max-height: 300px;
  border-radius: 20px;
  background-color: white;
  padding: 20px;
  position: relative;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bigAlarm div > div {
  opacity: 0.8;
  margin-top: 5px;
}

body.dark .bigAlarm > div {
  background-color: #2d2e30;
  border: 1px solid #48494d;
}

.bigAlarm > div > article {
  width: 100%;
  display: flex;
  gap: 4%;
  margin-top: 30px;
  justify-content: center;
  align-items: center;
}

.bigAlarm > div > article button {
  width: 45%;
  border-radius: 100px;
  padding: 12px 25px !important;
}

body.dark .bigAlarm > div > article button {
  background: #141517 !important;
  color: white !important;
  border: none !important;
}
body.dark .bigAlarm > div > article button:not(.highB) {
  background: #444649 !important;
  color: white !important;
}

.ProfSty {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}
.ProfSty section {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: #00000040;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ProfSty.noring:not(.killNoring) section {
  background: transparent !important;
}
.ProfSty section > div {
  width: 100%;
  height: 100%;
  transform: scale(0.9);
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ProfSty.noring:not(.killNoring) section > div {
  transform: scale(0.95);
  background: transparent;
}
.ProfSty .staticer {
  width: 100%;
  height: 100%;
  transform: scale(0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.ProfSty.noring:not(.killNoring) .staticer {
  transform: scale(0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.ProfSty img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  visibility: hidden;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.adminTag {
  background-color: rgb(117, 104, 255);
}
.VIPTag {
  background-color: #ff637d;
}
* body span.mention {
  flex-grow: 0;
  flex-basis: auto;
  max-width: auto;
  border-radius: 5px;
  height: 25px;
  padding: 1px 2px;
  font-weight: 680;
  color: #5ba5ff !important;
  transition: all 0.5s ease;
  display: inline-flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}
* body span.mention:hover {
  color: #0f7bff !important;
  background: #0073ff26;
}
.tag img {
  animation: glow 3.5s ease infinite;
  filter: drop-shadow(10px 10px 15px #ffb732c5);
  height: 14.5px;
  margin-left: 2px;
  margin-right: 2px;
  transform-origin: center;
}
.alarmWindow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  max-width: 70%;
  padding: 9px 15px;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 30px;
  background: rgb(0, 0, 0);
  opacity: 0.95;
  backdrop-filter: blur(4px);
  border-radius: 20px;
  transition: all 0.8s ease !important;
  color: #ffffffef;
  z-index: 10000;
  box-shadow: 0 5px 5px #00000040, 0 0 3px #00000010;
}
.newLabel {
  font-family: "42dot Sans", sans-serif !important;
  padding: 0px 4px;
  color: white;
  font-size: 13px;
  font-weight: 680;
  border-radius: 10px;
  background-color: #ff4255;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute !important;
  top: -3px;
  right: -5px;
}
.loading {
  animation: spin 0.8s linear infinite;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2.5px solid #dbdbdb;
  border-top: 2.5px solid #0000008b;
  margin: 10px;
  aspect-ratio: 1;
}
.highB {
  font-family: "42dot Sans", sans-serif !important;
  color: white;
  background-color: #2d2d2d;
}
.highB:hover {
  color: white;
  background-color: #2d2d2dc5;
}
.midB {
  font-family: "42dot Sans", sans-serif !important;
  color: #6e6e6e;
  background-color: white;
  border: 1.5px solid #00000015;
}
.midB:hover {
  color: #000000bb;
  background-color: #00000005;
  border: 1.5px solid #d5d5d5;
}

/*모바일*/
@media (max-width: 900px) {
  .selectPanel {
    height: 57px !important;
  }
  #subMenu div {
    font-size: 1rem;
  }

  aside {
    backdrop-filter: blur(2px);
  }
  body {
    display: block;
  }
  * body aside {
    position: fixed;
    height: 50px;
    width: 100vw;
    bottom: 0px;
    display: flex;
    opacity: 1;
    backdrop-filter: blur(5px) !important;
    flex-direction: row;
    border-right: none;
    border-top-style: solid;
    border-top-width: 1px;
    padding: 0px 5px;
    margin: 0px;
    z-index: 100000;
  }
  body.dark aside,
  body.dark header {
    border-color: #ffffff40 !important;
    backdrop-filter: blur(2px) !important;
  }
  header {
    height: 50px;
  }
  body.dark header {
    border: none;
  }
  aside img {
    height: 40px;
  }
  main {
    width: 100vw;
    border: none;
  }
  .navButton {
    padding: 0;
    border-radius: 12px;
    margin: auto auto;
  }
  .navButton span {
    display: none;
  }
  .navButton img {
    padding: 5px auto;
    box-sizing: content-box;
  }
  * .navButton:hover {
    background-color: transparent !important;
  }
  /*body.dark .NavSelect img{background-color: #00000040 !important}*/
  .NavSelect {
    background: transparent;
  }
  aside .logo {
    display: none;
  }
  header .logo {
    display: block;
  }
  header {
    padding: 0 15px;
  }
  .logo {
    height: 27px;
    left: 55%;
    left: 10px;
  }
  #sideUp {
    right: 10px;
  }
  #sideDown {
    display: none;
  }
  /*#content {
    height: calc(100vh - 100px);
  }*/
}

/*불확실*/
#menu {
  width: 200px;
  background-color: #ffffffcc;
  position: absolute;
  display: none;
  border-radius: 10px;
  backdrop-filter: blur(2px);
}
#menu div {
  filter: brightness(0.98);
  opacity: 0.9;
  width: auto;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  background-color: #ffffffcc;
  border-radius: 8px;
  margin: 4px;
  transition: all 0.5s ease;
}
#menu div:hover {
  filter: brightness(0.9);
}
#menu img {
  height: 20px;
  margin-right: 10px;
  opacity: 0.75;
}
