* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --body-bg: #ffffff;
  --text-color: #333333;
}

[data-theme="dark"] {
  --body-bg: #1a1a1a;
  --text-color: #f0f0f0;
}

body {
  background-color: var(--body-bg);
  color: var(--text-color);
  transition: all 0.3s ease;
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}


:root {
  --back-icon-color: #333333;
  --back-icon-hover: #000000;
}

[data-theme="dark"] {
  --back-icon-color: #f0f0f0;
  --back-icon-hover: #ffffff;
}

.back_btn-3e20839 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  background: transparent;
  border: none;
  text-decoration: none;
  
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.2s ease, color 0.2s ease;
  
  color: var(--back-icon-color);

  svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  &:hover {
    color: var(--back-icon-hover);
    transform: translateX(-4px);
  }

  &:active {
    transform: translateX(-2px) scale(0.9);
  }
}


:root {
  --card-color: #ffffff;
  --card-border: #eaeaea;
  --card-border-hover: #cccccc;
  --card-shadow-hover: rgba(0, 0, 0, 0.08);
  --card-img-bg: #f5f5f5;

  --correct-bg: #eef8f2;
  --correct-color: #277b4c;
  --correct-border: #d1ebd8;

  --almost-bg: #eef2f8;
  --almost-color: #274c7b;
  --almost-border: #d1e0eb;

  --close-bg: #fff9ed;
  --close-color: #9c6c19;
  --close-border: #f7e6ca;

  --wrong-bg: #f7f7f7;
  --wrong-color: #666666;
  --wrong-border: #eeeeee;
}

[data-theme="dark"] {
  --card-color: #1a1a1a;
  --card-border: #333333;
  --card-border-hover: #555555;
  --card-shadow-hover: rgba(0, 0, 0, 0.4);
  --card-img-bg: #2a2a2a;

  --correct-bg: #14301f;
  --correct-color: #4ade80;
  --correct-border: #1e472e;

  --almost-bg: #121e30;
  --almost-color: #60a5fa;
  --almost-border: #1c314d;

  --close-bg: #36260f;
  --close-color: #fbbf24;
  --close-border: #523a15;

  --wrong-bg: #2a2a2a;
  --wrong-color: #a3a3a3;
  --wrong-border: #404040;
}

.card_container-bb16326 {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  padding: 1rem;
  background-color: var(--card-color);
  border: 0.0625rem solid var(--card-border);
  border-radius: 0.5rem;
  margin-bottom: 1rem;

  width: 100%;
  max-width: 45rem;
  max-height: 12rem;
  overflow: hidden;

  transition:
    transform 0.3s ease,
    max-height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
    border-color 0.2s ease,
    box-shadow 0.3s ease;
}

.card_container-bb16326:hover {
  border-color: var(--card-border-hover);
  max-height: 20rem;
  box-shadow: 0 0.5rem 1rem var(--card-shadow-hover);
  z-index: 10;
}

.card_image-bb16326 {
  flex-shrink: 0;
  width: 6.25rem;
  height: 8.75rem;
  border-radius: 0.25rem;
  overflow: hidden;
  background-color: var(--card-img-bg);
}

.card_image-bb16326 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card_content-bb16326 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.75rem;
  flex-grow: 1;
  min-width: 0;
}

.info_row-bb16326,
.tag_row-bb16326 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.status_correct-bb16326,
.status_almost-bb16326,
.status_close-bb16326,
.status_wrong-bb16326,
.meta_status-bb16326,
.meta_status_correct-bb16326,
.tag_status-bb16326,
.tag_status_correct-bb16326 {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 0.8125rem;
  line-height: 1.2;
  padding: 0.25rem 0.625rem;
  border-radius: 0.25rem;
  border: 0.0625rem solid transparent;
  box-sizing: border-box;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.info_row-bb16326 > span,
.tooltip_wrapper-bb16326 > span {
  max-width: 15rem;
}

.tag_status_correct-bb16326,
.meta_status_correct-bb16326,
.status_correct-bb16326 {
  background-color: var(--correct-bg);
  color: var(--correct-color);
  border-color: var(--correct-border);
}

.status_almost-bb16326 {
  background-color: var(--almost-bg);
  color: var(--almost-color);
  border-color: var(--almost-border);
}

.status_close-bb16326 {
  background-color: var(--close-bg);
  color: var(--close-color);
  border-color: var(--close-border);
}

.tag_status-bb16326,
.meta_status-bb16326,
.status_wrong-bb16326 {
  background-color: var(--wrong-bg);
  color: var(--wrong-color);
  border-color: var(--wrong-border);
}

.tooltip_wrapper-bb16326 {
  position: relative;
  display: inline-flex;
}

.tip_container-bb16326 {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0.35rem;
  pointer-events: none;
  z-index: 100;
}

.tips-bb16326 {
  display: none;
  font-size: 0.75rem;
  background-color: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  white-space: nowrap;
  box-shadow: 0 2px 4px var(--card-shadow-hover);
}

.status_close-bb16326:hover ~ .tip_container-bb16326 .tips-bb16326,
.status_almost-bb16326:hover ~ .tip_container-bb16326 .tips-bb16326 {
  display: block;
}


.footer-e6a0471 {
  background-color: #C4C4C4;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem;
  color: black;
  gap: 1.2rem;
}


.header-801de10 {
  margin: 1rem;
  width: 70%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem 2rem;
  gap: 1.2rem;
}

.settings_btn-801de10 {
  width: 2.8rem;
  height: 2.8rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(230, 230, 230, 1);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;

  svg {
    width: 22px;
    height: 22px;
    stroke: #333;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.4s ease;
  }

  &:hover {
    background: rgba(230, 230, 230, 1);
    svg {
      transform: rotate(60deg);
    }
  }
}

.modal_overlay-801de10 {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal_content-801de10 {
  background: #ffffff;
  padding: 2.5rem 2rem 1.5rem;
  border-radius: 1rem;
  width: 20rem;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #eaeaea;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: #333;
}

.close_btn-801de10 {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;

  svg {
    width: 20px;
    height: 20px;
    stroke: #999;
    stroke-width: 2.5;
  }

  &:hover svg {
    stroke: #ff4d4f;
  }
}

.setting_item-801de10 {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  label {
    font-weight: 600;
  }

  .slider_wrapper-801de10 {
    display: flex;
    align-items: center;
    gap: 1rem;

    input[type="range"] {
      flex: 1;
      cursor: pointer;
    }

    span {
      min-width: 2rem;
      font-weight: bold;
      font-family: monospace;
    }
  }

  .year_range_wrapper-801de10 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;

    span {
      color: #666;
      font-size: 0.9rem;
    }

    .year_input-801de10 {
      flex: 1;
      padding: 0.5rem;
      border: 1px solid #ddd;
      border-radius: 0.5rem;
      text-align: center;
      font-family: monospace;
      font-size: 1rem;
      outline: none;
      transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
      -moz-appearance: textfield;

      &:focus {
        border-color: #888;
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
      }

      &::-webkit-inner-spin-button,
      &::-webkit-outer-spin-button {
        opacity: 0.7;
        cursor: pointer;
      }
    }
  }
}

.note_text-801de10 {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
}

[data-theme="dark"] {
  .settings_btn-801de10 {
    background: #222;
    border-color: #444;
    svg {
      stroke: #fff;
    }
    &:hover {
      background: #444;
    }
  }

  .modal_content-801de10 {
    background: #1a1a1a;
    border-color: #333;
    color: #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .note_text-801de10 {
    color: #666;
  }

  .year_range_wrapper-801de10 {
    span {
      color: #aaa;
    }
    .year_input-801de10 {
      background: #2a2a2a;
      border-color: #444;
      color: #eee;

      &:focus {
        border-color: #777;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05);
      }
    }
  }
}


:root {
  --hide-card-bg: #f8f9fa;
  --hide-card-border: #e2e2e2;
  --hide-card-shadow-hover: rgba(0, 0, 0, 0.05);
  --card-img-bg: #f0f0f0;

  --correct-bg: #eef8f2;
  --correct-border: #d1ebd8;

  --almost-bg: #eef2f8;
  --almost-border: #d1e0eb;

  --close-bg: #fff9ed;
  --close-border: #f7e6ca;

  --wrong-bg: #f7f7f7;
  --wrong-border: #eeeeee;
}

[data-theme="dark"] {
  --hide-card-bg: #141414;
  --hide-card-border: #2a2a2a;
  --hide-card-shadow-hover: rgba(0, 0, 0, 0.4);
  --card-img-bg: #222222;

  --correct-bg: #14301f;
  --correct-border: #1e472e;

  --almost-bg: #121e30;
  --almost-border: #1c314d;

  --close-bg: #36260f;
  --close-border: #523a15;

  --wrong-bg: #2a2a2a;
  --wrong-border: #404040;
}

.hide_card_container-e159f12 {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  padding: 1rem;
  background-color: var(--hide-card-bg);
  border: 0.0625rem solid var(--hide-card-border);
  border-radius: 0.5rem;
  margin-bottom: 1rem;

  width: 100%;
  max-width: 45rem;

  max-height: 12rem; 
  overflow: hidden;

  transition:
    transform 0.3s ease,
    max-height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
    border-color 0.2s ease,
    box-shadow 0.3s ease;
}

.hide_card_container-e159f12:hover {
  border-color: var(--hide-card-border);
  max-height: 20rem; 
  z-index: 10;
  box-shadow: 0 0.5rem 1rem var(--hide-card-shadow-hover);
}

.card_image-e159f12 {
  flex-shrink: 0;
  width: 6.25rem;
  height: 8.75rem;
  border-radius: 0.25rem;
  background-color: var(--card-img-bg);
}

.card_content-e159f12 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.75rem;
  flex-grow: 1;
  min-width: 0;
}

.info_row-e159f12,
.tag_row-e159f12 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.status_correct-e159f12,
.status_almost-e159f12,
.status_close-e159f12,
.status_wrong-e159f12 {
  height: 1.5rem;
  border-radius: 0.25rem;
  border: 0.0625rem solid transparent;
  box-sizing: border-box;
  display: inline-block;
}

.status_correct-e159f12 {
  background-color: var(--correct-bg);
  border-color: var(--correct-border);
}

.status_almost-e159f12 {
  background-color: var(--almost-bg);
  border-color: var(--almost-border);
}

.status_close-e159f12 {
  background-color: var(--close-bg);
  border-color: var(--close-border);
}

.status_wrong-e159f12 {
  background-color: var(--wrong-bg);
  border-color: var(--wrong-border);
}

.tooltip_wrapper-e159f12 {
  position: relative;
  display: inline-flex;
}

.ph_name-e159f12 {
  width: 14rem;
}
.ph_name_cn-e159f12 {
  width: 10rem;
}
.ph_date-e159f12 {
  width: 4.5rem;
}
.ph_eps-e159f12 {
  width: 4.5rem;
}
.ph_meta-e159f12 {
  width: 3.5rem;
}
.ph_tag-e159f12 {
  width: 4.5rem;
}

.ph_meta-e159f12,
.ph_tag-e159f12 {
  height: 1.35rem;
  border-radius: 0.2rem;
}


main {
  width: 70%;
  display: flex; 
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 3rem;
  padding: 1rem;
  min_height: 100vh;
}

.title_container-629b835 {
  width: 100%;
  display: flex; 
  flex-direction: column;
  justify-content: center;
  align-items: center;

  .main_title-629b835 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
  }
  .sub_title-629b835 {
    font-size: 1rem;
    color: #666;
  }
}

.button_row-629b835 {
  width: 100%;
  display: flex; 
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.rules_container-629b835 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 80%;

  .rules-629b835 {
    width: 100%;
    display: flex; 
    justify-content: center;
    align-items: center;
    
    p {
      font-size: 1rem;
      line-height: 1.8;
      max-width: 800px;
      text-align: justify;
    }
  }
}



.jmp_btn-c5d87a5 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  background-color: #e11d48;
  color: #ffffff;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-family: sans-serif;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: none;
  outline: none;
}

.jmp_btn-c5d87a5:hover {
  background-color: #be123c;
  box-shadow: 0 0.25rem 0.75rem rgba(225, 29, 72, 0.3);
}

.jmp_btn-c5d87a5:active {
  transform: scale(0.96);
}

.text-c5d87a5 {
  font-size: 1rem;
  line-height: 1;
}

[data-theme="dark"] {
  .jmp_btn-c5d87a5 {
    background-color: #fb7185;
    color: #1e1e1e;
  }

  .jmp_btn-c5d87a5:hover {
    background-color: #fda4af;
    box-shadow: 0 0.25rem 0.75rem rgba(251, 113, 133, 0.4);
  }
}


.header_container-712cea0 {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 2rem;
}

.lang_list-712cea0 {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dropdown-712cea0 {
  position: relative;
  font-family: sans-serif;
}

.drop_btn-712cea0 {
  width: 6rem;
  height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.25s ease;

  &:hover {
    background: rgba(220, 220, 220, 1);
  }
  
  &.active-712cea0 .arrow-712cea0 {
    transform: rotate(180deg);
  }
}

.arrow-712cea0 {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #666;
  transition: transform 0.3s ease;
}

.menu-712cea0 {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 140px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 100;
  
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.25s ease;

}

.menu-712cea0.show-712cea0 {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.menu-712cea0 li {
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background 0.2s ease;
}

.menu-712cea0 li:hover {
  background: #f5f5f5;
}

.menu-712cea0 li.selected-712cea0 {
  background: rgba(230, 230, 230, 1);
  font-weight: 600;
}

.menu-712cea0 li.selected-712cea0::after {
  content: "✓";
  float: right;
}

[data-theme="dark"] .drop_btn-712cea0 {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #e5e5e5;

  &:hover {
    background: #666;
  }
}

[data-theme="dark"] .arrow-712cea0 {
  border-top-color: #e5e5e5;
}

[data-theme="dark"] .menu-712cea0 {
  background: #1a1a1a;
  border: 1px solid #333;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); 
}

[data-theme="dark"] .menu-712cea0 li {
  color: #ccc;
}

[data-theme="dark"] .menu-712cea0 li:hover {
  background: #2a2a2a;
}

[data-theme="dark"] .menu-712cea0 li.selected-712cea0 {
  background: #666; 
}


main {
  width: 70%;
  min-height: 100vh;
}

.top_section-31ed6b5 {
  width: 100%;
  margin-left: 10rem;
  margin-bottom: 1.5rem;
  flex-direction: row;
  justify-content: center;
}

:root {
  --lobby-bg: #ffffff;
  --lobby-border: #eaeaea;
  --lobby-shadow: rgba(0, 0, 0, 0.05);
  --input-bg: #ffffff;
  --input-border: #e0e0e0;
  --input-focus: #999999;
  --match-btn-bg: #1a1a1a;
  --match-btn-text: #ffffff;
  --match-btn-hover: #333333;
  --disabled-color: #cccccc;

  --chat-self-bg: #1a1a1a;
  --chat-self-text: #ffffff;
  --chat-other-bg: rgba(232, 232, 232, 0.9);
  --chat-other-text: #1a1a1a;
  --chat-input-bg: rgba(255, 255, 255, 0.8);
  --chat-input-border: #cccccc;
  --chat-input-text: #1a1a1a;
  --chat-send-bg: #1a1a1a;
  --chat-send-text: #ffffff;
  --chat-send-hover: #333333;
}

[data-theme="dark"] {
  --lobby-bg: #1a1a1a;
  --lobby-border: #333333;
  --lobby-shadow: rgba(0, 0, 0, 0.2);
  --input-bg: #000000;
  --input-border: #444444;
  --input-focus: #007aff;
  --match-btn-bg: #f0f0f0;
  --match-btn-text: #1a1a1a;
  --match-btn-hover: #ffffff;
  --disabled-color: #444444;

  --chat-send-bg: #f0f0f0;
  --chat-send-text: #1a1a1a;
  --chat-send-hover: #ffffff;
}

.lobby_section-31ed6b5 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 3rem;
  background-color: var(--lobby-bg);
  border: 1px solid var(--lobby-border);
  border-radius: 1rem;
  box-shadow: 0 10px 30px var(--lobby-shadow);
  width: 100%;
  max-width: 400px;
  margin: 4rem auto;
  transition: all 0.3s ease;
}

.username_input-31ed6b5 {
  width: 100%;
  height: 2.8rem;
  padding: 0 1rem;
  font-size: 0.9rem;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 0.5rem;
  color: var(--input-text);
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
  text-align: center;

  &::placeholder {
    color: #aaaaaa;
    letter-spacing: 0.1rem;
  }

  &:focus {
    border-color: var(--input-focus);
    transform: translateY(-1px);
  }

  &:disabled {
    background-color: transparent;
    border-style: dashed;
    color: #666666;
    cursor: not-allowed;
  }
}

.match_btn-31ed6b5 {
  width: 100%;
  height: 2.8rem;
  background-color: var(--match-btn-bg);
  color: var(--match-btn-text);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.15rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;

  &:hover:not(:disabled) {
    background-color: var(--match-btn-hover);
    transform: scale(1.02);
    box-shadow: 0 4px 12px var(--lobby-shadow);
  }

  &:active:not(:disabled) {
    transform: scale(0.98);
  }

  &:disabled {
    background-color: var(--disabled-color);
    color: #888888;
    cursor: wait;
    opacity: 0.7;
  }
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

.match_btn-31ed6b5:disabled {
  animation: pulse 1.5s infinite ease-in-out;
}

[data-theme="dark"] {
  --chat-self-bg: rgba(240, 240, 240, 0.9);
  --chat-self-text: #1a1a1a;
  --chat-other-bg: rgba(42, 42, 42, 0.9);
  --chat-other-text: #f0f0f0;
  --chat-input-bg: rgba(0, 0, 0, 0.6);
  --chat-input-border: #444444;
  --chat-input-text: #f0f0f0;
}

.chat_panel-31ed6b5 {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 19rem;
  height: 24rem;
  display: flex;
  flex-direction: column;
  z-index: 9999;

  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.chat_messages-31ed6b5 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow-y: auto;
  padding: 0.5rem;
  background: transparent;

  & > :first-child {
    margin-top: auto;
  }

  &::-webkit-scrollbar {
    width: 4px;
  }
  &::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }
}

.chat_item_me-31ed6b5,
.chat_item_other-31ed6b5 {
  max-width: 85%;
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
  line-height: 1.4;
  border-radius: 1rem;
  word-break: break-word;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.chat_item_me-31ed6b5 {
  align-self: flex-end;
  background: var(--chat-self-bg);
  color: var(--chat-self-text);
  border-bottom-right-radius: 0.2rem;

  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat_item_other-31ed6b5 {
  align-self: flex-start;
  background: var(--chat-other-bg);
  color: var(--chat-other-text);
  border-bottom-left-radius: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat_item_sys-31ed6b5 {
  align-self: center;
  color: #ff4d4f;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
}

.chat_input_row-31ed6b5 {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  background: transparent;
  border: none;
}

.chat_input-31ed6b5 {
  flex: 1;
  height: 2.4rem;
  padding: 0 1rem;
  font-size: 0.85rem;
  background: var(--chat-input-bg);
  backdrop-filter: blur(4px);
  border: 1px solid var(--chat-input-border);
  border-radius: 2rem;
  color: var(--chat-input-text);
  outline: none;

  &:focus {
    border-color: var(--input-focus);
    box-shadow: 0 0 0 2px rgba(153, 153, 153, 0.1);
  }
}

.chat_send-31ed6b5 {
  width: 3rem;
  height: 2.4rem;
  border: none;
  border-radius: 2rem;
  background: var(--chat-send-bg);
  color: var(--chat-send-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;

  &:hover:not(:disabled) {
    transform: scale(1.05);
    background: var(--chat-send-hover);
  }
}

.player_panel-31ed6b5 {
  position: fixed;
  left: 4rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.2rem 1.8rem;
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  z-index: 9999;
}

.player_me-31ed6b5,
.player_other-31ed6b5 {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02rem;

  &::before {
    content: "●";
    margin-right: 0.6rem;
    font-size: 0.8rem;
  }
}

.player_me-31ed6b5 {
  color: #1b5e20;
  &::before {
    color: #2e7d32;
  }
}

.player_other-31ed6b5 {
  color: #b71c1c;
  &::before {
    color: #c62828;
  }
}

[data-theme="dark"] {
  .player_panel-31ed6b5 {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .player_me-31ed6b5 {
    color: #69f0ae;
    &::before {
      color: #69f0ae;
    }
  }
  .player_other-31ed6b5 {
    color: #ff8a80;
    &::before {
      color: #ff8a80;
    }
  }
}

.interact_section-31ed6b5 {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
}

.search_wrapper-31ed6b5 {
  position: relative;
  display: flex;
  flex-direction: column;
}

.input_section-31ed6b5 {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}

.input_container-31ed6b5 {
  position: relative;
  display: flex;
  flex-direction: column;
}

.input_section-31ed6b5 input {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  border: 0.0625rem solid #e0e0e0;
  border-radius: 0.375rem;
  outline: none;
  transition: border-color 0.2s ease;
  background-color: #ffffff;
  width: 13.75rem;
  height: 2.5rem;
  box-sizing: border-box;
}

.input_section-31ed6b5 input:focus {
  border-color: #999999;
}

.dropdown_list-31ed6b5 {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.375rem;
  margin-bottom: 0;
  padding: 0.375rem;
  width: 100%;
  max-height: 12.5rem;
  overflow-y: auto;
  background-color: #ffffff;
  border: 0.0625rem solid #eaeaea;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
  box-sizing: border_box;
  list-style: none;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.dropdown_list-31ed6b5::-webkit-scrollbar {
  width: 0.25rem;
}
.dropdown_list-31ed6b5::-webkit-scrollbar-thumb {
  background-color: #e0e0e0;
  border-radius: 0.25rem;
}

.dropdown_item-31ed6b5,
.dropdown_item_active-31ed6b5 {
  padding: 0.5rem 0.625rem;
  font-size: 0.8125rem;
  color: #444444;
  cursor: pointer;
  border-radius: 0.25rem;
  transition: background-color 0.1rem ease;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}

.dropdown_item-31ed6b5:hover {
  background-color: #fafafa;
}

.dropdown_item_active-31ed6b5 {
  background-color: #f0f0f0;
  color: #111111;
}

.button_section-31ed6b5 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  height: 2.5rem;
}

:root {
  --send-color: #ffffff;
  --send-font-color: #1a1a1a;
  --send-hover: #dbdbdb;
}

[data-theme="dark"] {
  --send-color: #1a1a1a;
  --send-font-color: #f0f0f0;
  --send-hover: #262626;
}

.button_section-31ed6b5 button:not(.reset_btn-31ed6b5) {
  height: 2.5rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  background-color: var(--send-color);
  border: 0.0625rem solid var(--send-font-color);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  color: var(--send-font-color);
  display: flex;
  align-items: center;
}

.button_section-31ed6b5 button:hover:not(.reset_btn-31ed6b5) {
  background-color: var(--send-hover);
  border-color: var(--send-font-color);
}

.guess_number-31ed6b5 {
  color: gray;
  font-size: 0.875rem;
  line-height: 2.5rem;
}

.display_section-31ed6b5 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  margin: 1.5rem auto;
  width: 95%;
  max-width: 1600px;
  box-sizing: border-box;
}

.your_answers-31ed6b5,
.hide_answers-31ed6b5 {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.hide_answers-31ed6b5 {
  border-top: 4px solid #b34d4d;
}

.your_answers-31ed6b5 {
  border-top: 4px solid #4d8060;
}

.your_answers-31ed6b5 .card_container,
.hide_answers-31ed6b5 .hide_card_container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.answer_reveal_section-31ed6b5 {
  margin-top: 2.5rem;
  padding-bottom: 3.75rem;
}

.reveal_container-31ed6b5 {
  animation: fadeIn 0.8s ease-out;
}

.divider-31ed6b5 {
  border: none;
  border-top: 0.0625rem solid #eeeeee;
  margin-bottom: 1.25rem;
}

.reveal_text-31ed6b5 {
  font-size: 0.75rem;
  color: #aaaaaa;
  text-align: center;
  letter-spacing: 0.25rem;
  margin-bottom: 1.5rem;
  font-family: serif;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(0.625rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dup_message-31ed6b5 {
  color: #f44336;
  text-align: center;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.status_win-31ed6b5 {
  color: #28a745;
  font-size: 2rem;
  text-align: center;
  font-weight: bold;
  margin-bottom: 0.625rem;
}

.status_lose-31ed6b5 {
  color: #dc3545;
  font-size: 2rem;
  text-align: center;
  font-weight: bold;
  margin-bottom: 0.625rem;
}

:root {
  --btn-back-color: #333333;
  --btn-reset-bg: #90dea6;
  --btn-reset-hover: #218838;
  --icon-white: #ffffff;
}

[data-theme="dark"] {
  --btn-back-color: #f0f0f0;
  --btn-reset-bg: #1e7e34;
  --btn-reset-hover: #19692c;
  --icon-white: #e0e0e0;
}

.btn_wrapper-31ed6b5 {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.reset_btn-31ed6b5 {
  width: 2.8rem;
  height: 2.8rem;
  margin: 0 auto;
  background-color: var(--btn-reset-bg);
  border: none;
  border-radius: 50%;
  color: var(--icon-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  &:hover {
    background-color: var(--btn-reset-hover);
    transform: rotate(180deg);
  }

  &:active {
    transform: scale(0.9) rotate(360deg);
  }

  svg {
    display: block;
  }

  &:disabled {
    cursor: not-allowed;
    opacity: 0.6;
  }
}

.reset_hint-31ed6b5 {
  font-size: 0.875rem;
  color: var(--wrong-color);
  white-space: nowrap;

  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.loader_wrapper-31ed6b5 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 0;
  width: 100%;
}

.spinner-31ed6b5 {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-top-color: #333;
  animation: spin 0.8s linear infinite;
  opacity: 0;
  animation:
    spin 0.8s linear infinite,
    fadeIn 0.4s ease forwards;
}

[data-theme="dark"] .spinner-31ed6b5 {
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: #fff;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.timer-31ed6b5 {
  width: 5rem;
}
.timer_text-31ed6b5 {
  font-size: 1rem;
}

.exhausted-31ed6b5 {
  display: block;
  margin-top: 8px;

  color: #ff4d4f;
  background: rgba(255, 77, 79, 0.1);

  padding: 6px 10px;
  border-radius: 6px;

  font-size: 13px;
  font-weight: 500;

  border: 1px solid rgba(255, 77, 79, 0.3);

  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* mobile */
@media screen and (max-width: 768px) {
  main {
    width: 95%;
    min-height: 100vh;
  }

  .top_section-31ed6b5 {
    width: 100%;
    margin-left: 0;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .lobby_section-31ed6b5 {
    padding: 1.5rem;
    margin: 2rem auto;
    width: 90%;
    box-sizing: border-box;
  }

  .player_panel-31ed6b5 {
    left: 50%;
    top: 1rem;
    transform: translateX(-50%);
    flex-direction: row;
    width: max-content;
    max-width: 90%;
    padding: 0.8rem 1.2rem;
    gap: 1.5rem;
  }

  .chat_panel-31ed6b5 {
    right: 50%;
    transform: translateX(50%);
    bottom: 1rem;
    width: calc(100% - 2rem);
    height: 30vh;
  }

  .interact_section-31ed6b5 {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1.2rem;
    width: 100%;
  }

  .search_wrapper-31ed6b5,
  .input_container-31ed6b5,
  .dropdown_list-31ed6b5 {
    width: 100%;
  }

  .input_section-31ed6b5 {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
  }

  .input_section-31ed6b5 > span {
    width: 100%;
    text-align: left;
  }

  .input_section-31ed6b5 input {
    width: 100%;
  }

  .button_section-31ed6b5 {
    width: 100%;
    height: auto;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .button_section-31ed6b5 button:not(.reset_btn-31ed6b5) {
    width: auto;
    flex: 1;
    justify-content: center;
  }

  .reset_btn-31ed6b5 {
    margin: 0;
  }

  .guess_number-31ed6b5,
  .timer-31ed6b5 {
    width: 100%;
    text-align: center;
    line-height: 1.5rem;
  }

  .display_section-31ed6b5 {
    flex-direction: column;
    margin-top: 1rem;
    width: 100%;
    gap: 1.5rem;
  }

  .your_answers-31ed6b5,
  .hide_answers-31ed6b5 {
    width: 100%;
  }

  .answer_reveal_section-31ed6b5 {
    margin-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media screen and (max-width: 480px) {
  main {
    width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
  }

  .player_panel-31ed6b5 {
    width: 95%;
    justify-content: center;
    padding: 0.6rem 1rem;
    gap: 1rem;
  }

  .player_me-31ed6b5,
  .player_other-31ed6b5 {
    font-size: 0.95rem;
  }

  .chat_panel-31ed6b5 {
    height: 35vh;
  }

  .input_section-31ed6b5 {
    gap: 0.625rem;
  }

  .button_section-31ed6b5 {
    justify-content: space-between;
    gap: 0.5rem;
  }

  .reset_btn-31ed6b5 {
    width: 2.5rem;
    height: 2.5rem;
  }

  .status_win-31ed6b5,
  .status_lose-31ed6b5 {
    font-size: 1.5rem;
  }

  .timer_text-31ed6b5 {
    font-size: 0.95rem;
  }
}


.not_found-eeeaa53 { 
  
}


main {
  width: 70%;
  min-height: 100vh;
}

.top_section-20cdca7 {
  width: 100%;
  margin-left: 10rem;
  margin-bottom: 1.5rem;
  flex-direction: row;
  justify-content: center;
}

.interact_section-20cdca7 {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
}

.search_wrapper-20cdca7 {
  position: relative;
  display: flex;
  flex-direction: column;
}

.input_section-20cdca7 {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}

.input_container-20cdca7 {
  position: relative;
  display: flex;
  flex-direction: column;
}

.input_section-20cdca7 input {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  border: 0.0625rem solid #e0e0e0;
  border-radius: 0.375rem;
  outline: none;
  transition: border-color 0.2s ease;
  background-color: #ffffff;
  width: 13.75rem;
  height: 2.5rem;
  box-sizing: border-box;
}

.input_section-20cdca7 input:focus {
  border-color: #999999;
}

.dropdown_list-20cdca7 {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.375rem;
  margin-bottom: 0;
  padding: 0.375rem;
  width: 100%;
  max-height: 12.5rem;
  overflow-y: auto;
  background-color: #ffffff;
  border: 0.0625rem solid #eaeaea;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
  box-sizing: border_box;
  list-style: none;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.dropdown_list-20cdca7::-webkit-scrollbar {
  width: 0.25rem;
}
.dropdown_list-20cdca7::-webkit-scrollbar-thumb {
  background-color: #e0e0e0;
  border-radius: 0.25rem;
}

.dropdown_item-20cdca7,
.dropdown_item_active-20cdca7 {
  padding: 0.5rem 0.625rem;
  font-size: 0.8125rem;
  color: #444444;
  cursor: pointer;
  border-radius: 0.25rem;
  transition: background-color 0.1rem ease;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}

.dropdown_item-20cdca7:hover {
  background-color: #fafafa;
}

.dropdown_item_active-20cdca7 {
  background-color: #f0f0f0;
  color: #111111;
}

.button_section-20cdca7 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  height: 2.5rem;
}

:root {
  --send-color: #ffffff;
  --send-font-color: #1a1a1a;
  --send-hover: #dbdbdb;
}

[data-theme="dark"] {
  --send-color: #1a1a1a;
  --send-font-color: #f0f0f0;
  --send-hover: #262626;
}

.button_section-20cdca7 button:not(.reset_btn-20cdca7) {
  height: 2.5rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  background-color: var(--send-color);
  border: 0.0625rem solid var(--send-font-color);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  color: var(--send-font-color);
  display: flex;
  align-items: center;
}

.button_section-20cdca7 button:hover:not(.reset_btn-20cdca7) {
  background-color: var(--send-hover);
  border-color: var(--send-font-color);
}

.guess_number-20cdca7 {
  color: gray;
  font-size: 0.875rem;
  line-height: 2.5rem;
}

.display_section-20cdca7 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.answer_reveal_section-20cdca7 {
  margin-top: 2.5rem;
  padding-bottom: 3.75rem;
}

.reveal_container-20cdca7 {
  animation: fadeIn 0.8s ease-out;
}

.divider-20cdca7 {
  border: none;
  border-top: 0.0625rem solid #eeeeee;
  margin-bottom: 1.25rem;
}

.reveal_text-20cdca7 {
  font-size: 0.75rem;
  color: #aaaaaa;
  text-align: center;
  letter-spacing: 0.25rem;
  margin-bottom: 1.5rem;
  font-family: serif;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(0.625rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dup_message-20cdca7 {
  color: #f44336;
  text-align: center;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.status_win-20cdca7 {
  color: #28a745;
  font-size: 2rem;
  text-align: center;
  font-weight: bold;
  margin-bottom: 0.625rem;
}

.status_lose-20cdca7 {
  color: #dc3545;
  font-size: 2rem;
  text-align: center;
  font-weight: bold;
  margin-bottom: 0.625rem;
}

.bottom_section-20cdca7 {
  margin-top: 3rem;
}

:root {
  --btn-back-color: #333333;
  --btn-reset-bg: #90dea6;
  --btn-reset-hover: #218838;
  --icon-white: #ffffff;
}

[data-theme="dark"] {
  --btn-back-color: #f0f0f0;
  --btn-reset-bg: #1e7e34;
  --btn-reset-hover: #19692c;
  --icon-white: #e0e0e0;
}

.reset_btn-20cdca7 {
  width: 2.8rem;
  height: 2.8rem;
  margin: 0 auto;
  background-color: var(--btn-reset-bg);
  border: none;
  border-radius: 50%;
  color: var(--icon-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  &:hover {
    background-color: var(--btn-reset-hover);
    transform: rotate(180deg);
  }

  &:active {
    transform: scale(0.9) rotate(360deg);
  }

  svg {
    display: block;
  }
}

.loader_wrapper-20cdca7 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 0;
  width: 100%;
}

.spinner-20cdca7 {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-top-color: #333;
  animation: spin 0.8s linear infinite;
  opacity: 0;
  animation:
    spin 0.8s linear infinite,
    fadeIn 0.4s ease forwards;
}

[data-theme="dark"] .spinner-20cdca7 {
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: #fff;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.timer-20cdca7 {
  width: 5rem;
}
.timer_text-20cdca7 {
  font-size: 1rem;
}

/* moblie */
@media screen and (max-width: 768px) {
  main {
    width: 90%;
    min-height: 100vh;
  }

  .top_section-20cdca7 {
    width: 100%;
    margin-left: 0;
    margin-bottom: 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .interact_section-20cdca7 {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.875rem;
    width: 100%;
  }

  .search_wrapper-20cdca7 {
    width: 100%;
  }

  .input_section-20cdca7 {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
  }

  .input_section-20cdca7 > span {
    width: 100%;
    text-align: left;
  }

  .input_container-20cdca7 {
    width: 100%;
  }

  .input_section-20cdca7 input {
    width: 100%;
  }

  .dropdown_list-20cdca7 {
    width: 100%;
  }

  .button_section-20cdca7 {
    width: 100%;
    height: auto;
    justify-content: between;
    gap: 0.625rem;
  }

  .button_section-20cdca7 button:not(.reset_btn-20cdca7) {
    width: auto;
  }

  .reset_btn-20cdca7 {
    margin: 0;
  }

  .guess_number-20cdca7,
  .timer-20cdca7 {
    width: 100%;
    text-align: center;
    line-height: 1.5rem;
  }

  .display_section-20cdca7 {
    margin-top: 1rem;
  }

  .answer_reveal_section-20cdca7 {
    margin-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media screen and (max-width: 480px) {
  main {
    width: 95%;
  }

  .input_section-20cdca7 {
    gap: 0.625rem;
  }

  .button_section-20cdca7 {
    width: 100%;
    height: auto;
    justify-content: space-between;
    gap: 0.625rem;
  }

  .button_section-20cdca7 button:not(.reset_btn-20cdca7) {
    width: auto;
  }

  .reset_btn-20cdca7 {
    width: 2.5rem;
    height: 2.5rem;
  }

  .status_win-20cdca7,
  .status_lose-20cdca7 {
    font-size: 1.5rem;
  }

  .timer_text-20cdca7 {
    font-size: 0.95rem;
  }
}


.theme_btn-37cbc4a {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  border: 1px solid rgba(230, 230, 230, 1);
  background: white;
  cursor: pointer;

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

  transition: background 0.3s ease;

  flex-shrink: 0;
  min-width: 2.8rem;
  aspect-ratio: 1 / 1;

  .icon-37cbc4a {
    position: relative;
    width: 22px;
    height: 22px;
  }

  svg {
    position: absolute;
    width: 100%;
    height: 100%;
    stroke: #333;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: all 0.4s ease;
  }

  .sun-37cbc4a {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }

  .moon-37cbc4a {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
  }

  &:hover {
    background: rgba(230, 230, 230, 1);
  }
}

.dark-37cbc4a {
  background: #222;
  border: 1px solid #666;

  svg {
    stroke: #fff;
  }

  .sun-37cbc4a {
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
  }

  .moon-37cbc4a {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }

  &:hover {
    background: #666;
  }
}
