* {
  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;
}


: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;

  --arrow-up: #22c55e;
  --arrow-down: #ef4444;
}

[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;

  --arrow-up: #4ade80;
  --arrow-down: #f87171;
}

.card_container-ef08262 {
  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%;
  box-sizing: border-box;
}

.card_image-ef08262 {
  flex-shrink: 0;
  width: 7.8125rem;
  height: 10.9375rem;
  border-radius: 0.25rem;
  overflow: hidden;
  background-color: var(--card-img-bg);

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

.card_content-ef08262 {
  display: grid;
  grid-template-columns: 12rem 6rem 10rem 1fr;
  gap: 1.25rem;
  flex-grow: 1;
  min-width: 0; 
  align-items: flex-start;
  justify-items: center;
}

.col_names-ef08262,
.col_rating-ef08262,
.col_date-ef08262 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  gap: 0.5rem;
  min-width: 0; 
  width: 100%;
}

.col_tags-ef08262 {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.5rem;
  overflow: hidden;
  min-width: 0;
}

.status_correct-ef08262,
.status_almost-ef08262,
.status_close-ef08262,
.status_wrong-ef08262,
.tag_status-ef08262,
.tag_status_correct-ef08262 {
  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%;
  
  display: inline-flex;
}

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

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

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

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

.tooltip_wrapper-ef08262 {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  min-width: 0;

  & .tip_container-ef08262 {
    position: absolute;
    bottom: 100%;
    left: 0;
    transform: none;
    margin-bottom: 0.35rem;
    pointer-events: none;
    z-index: 100;

    & .tips-ef08262 {
      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;
      display: none;
    }
  }
}

.tooltip_wrapper-ef08262:hover .tip_container-ef08262 .tips-ef08262 {
  display: block;
}

.status_correct-ef08262,
.status_almost-ef08262,
.status_close-ef08262,
.status_wrong-ef08262 {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  border: 0.0625rem solid transparent;
  box-sizing: border-box;
  
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  
  display: inline-flex;
  align-items: center;
  gap: 0.35rem; 
}

.status_correct-ef08262 > span,
.status_almost-ef08262 > span,
.status_close-ef08262 > span,
.status_wrong-ef08262 > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.arrow_icon-ef08262 {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
  stroke: currentColor;
  opacity: 0.85; 
  stroke-width: 3.5px; 
}

.arrow_empty-ef08262 {
  display: none;
}

.arrow_container-ef08262 {
  display: none;
}

@media (max-width: 768px) {
  .card_container-ef08262 {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .card_image-ef08262 {
    width: 100%;
    max-width: 12rem;
    height: auto;
    aspect-ratio: 7.8125 / 10.9375;
  }

  .card_content-ef08262 {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0.8rem;
    justify-items: flex-start;
  }

  .col_names-ef08262,
  .col_rating-ef08262,
  .col_date-ef08262 {
    align-items: flex-start;
  }
}


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

.repo_link-e6a0471 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary, #666666);
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;

  &:hover {
    color: var(--text-primary, #1a1a1a);
  }
}

.github_icon-e6a0471 {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

[data-theme="dark"] {
  .footer-e6a0471 {
    color: #a3a3a3;

    &:hover {
      color: #ffffff;
    }
  }
}


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



: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;
}


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

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

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

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

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

  --arrow-up: #22c55e;
  --arrow-down: #ef4444;
}

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

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

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

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

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

  --arrow-up: #4ade80;
  --arrow-down: #f87171;
}

.card_container-8401349 {
  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%;
  transition:
    border-color 0.2s ease,
    box-shadow 0.3s ease;

  &:hover {
    box-shadow: 0 0.5rem 1rem var(--card-shadow-hover);
  }
}

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

.card_content-8401349 {
  display: grid;
  grid-template-columns: 12rem 6rem 10rem 1fr;
  gap: 1.25rem;
  flex-grow: 1;
  min-width: 0;
  align-items: flex-start;
  justify-items: center;
}

.col_names-8401349,
.col_rating-8401349,
.col_date-8401349 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  width: 100%;
}

.col_tags-8401349 {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.5rem;
  overflow: hidden;
  min-width: 0;
  width: 100%;
}

.tooltip_wrapper-8401349 {
  position: relative;
  display: inline-flex;
  max-width: 100%;
}

.status_correct-8401349,
.status_almost-8401349,
.status_close-8401349,
.status_wrong-8401349 {
  height: 1.5rem;
  border-radius: 0.375rem;
  border: 0.0625rem solid transparent;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 0.4rem;
}

.status_correct-8401349 {
  background-color: var(--correct-bg);
  border-color: var(--correct-border);
  color: var(--arrow-up);
}
.status_almost-8401349 {
  background-color: var(--almost-bg);
  border-color: var(--almost-border);
}
.status_close-8401349 {
  background-color: var(--close-bg);
  border-color: var(--close-border);
}
.status_wrong-8401349 {
  background-color: var(--wrong-bg);
  border-color: var(--wrong-border);
}

.ph_name-8401349 {
  width: 100%;
}
.ph_name_cn-8401349 {
  width: 70%;
}
.ph_eps-8401349 {
  width: 4.5rem;
}
.ph_rating-8401349 {
  width: 3rem;
}
.ph_date-8401349 {
  width: 6.5rem;
}
.ph_meta-8401349 {
  width: 3.5rem;
  height: 1.35rem;
}
.ph_tag-8401349 {
  width: 4.5rem;
  height: 1.35rem;
}

.arrow_icon-8401349 {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
  stroke: currentColor;
  opacity: 0.85;
  stroke-width: 3.5px;
}

.arrow_empty-8401349 {
  display: none;
}


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

:root {
  --card-bg: #ffffff;
  --card-border: #f0f0f0;
  --text-main: #4a4a4a;
  --text-sub: #888888;
  --title-start: #3e2723;
  --title-end: #b85b6a;
  --shadow-main: rgba(0, 0, 0, 0.04);
  --box-shadow-sub: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
  --card-bg: #1a1a1a;
  --card-border: #262626;
  --text-main: #e0e0e0;
  --text-sub: #a0a0a0;
  --title-start: #d7ccc8;
  --title-end: #f48fb1;
  --shadow-main: rgba(0, 0, 0, 0.2);
  --box-shadow-sub: rgba(0, 0, 0, 0.15);
}

.main_layout-629b835 {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 3.5rem;
  padding: 4rem 1.5rem;
  min-height: 100vh;
  box-sizing: border-box;
}

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

  .main_title-629b835 {
    font-size: 3.8rem;
    font-weight: 900;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.05em;
    background: linear-gradient(
      135deg,
      var(--title-start) 0%,
      var(--title-end) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
  }

  .sub_title-629b835 {
    font-size: 1.1rem;
    color: var(--text-sub);
    font-weight: 500;
    letter-spacing: 0.02em;
  }
}

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

.rules_container-629b835 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 90%;
  max-width: 800px;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 2.5rem 3rem;
  box-shadow: 0 8px 30px var(--shadow-main);
  box-sizing: border-box;

  .rules-629b835 {
    width: 100%;

    p {
      margin: 0;
      font-size: 1.05rem;
      line-height: 2;
      color: var(--text-main);
      text-align: justify;
      letter-spacing: 0.01em;
    }
  }
}

.match_exact-629b835,
.match_partial-629b835,
.match_related-629b835 {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.3rem;
  vertical-align: text-bottom;
  margin: 0 0.4rem;
  box-shadow: 0 2px 5px var(--box-shadow-sub);
}

.match_exact-629b835 {
  background-color: #eef8f2;
  border: 1px solid #d1ebd8;
}

[data-theme="dark"] .match_exact-629b835 {
  background-color: #1b3a24;
  border: 1px solid #2e693e;
}

.match_partial-629b835 {
  background-color: #fff9ed;
  border: 1px solid #f7e6ca;
}

[data-theme="dark"] .match_partial-629b835 {
  background-color: #3a2d13;
  border: 1px solid #675227;
}

.match_related-629b835 {
  background-color: #eef2f8;
  border: 1px solid #d1e0eb;
}

[data-theme="dark"] .match_related-629b835 {
  background-color: #182a3c;
  border: 1px solid #284868;
}


.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;
}

.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;
    }
  }
}

:root {
  --inter-bg: #ffffff;
}

[data-theme="dark"] {
  --inter-bg: #1a1a1a;
}

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

  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--inter-bg);
  transition: all 0.3s ease;
}

.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: 12rem;
  height: 2.5rem;
  box-sizing: border-box;
}

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

:root {
  --dropdown-bg: #ffffff;
  --dropdown-border: #eaeaea;
  --dropdown-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
  --dropdown-scrollbar-thumb: #e0e0e0;
  --dropdown-text: #444444;
  --dropdown-item-hover: #fafafa;
  --dropdown-item-active-bg: #f0f0f0;
  --dropdown-item-active-text: #111111;
}

[data-theme="dark"] {
  --dropdown-bg: #1a1a1a;
  --dropdown-border: #333333;
  --dropdown-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.3);
  --dropdown-scrollbar-thumb: #444444;
  --dropdown-text: #cccccc;
  --dropdown-item-hover: #262626;
  --dropdown-item-active-bg: #333333;
  --dropdown-item-active-text: #ffffff;
}

.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: var(--dropdown-bg);
  border: 0.0625rem solid var(--dropdown-border);
  border-radius: 0.5rem;
  box-shadow: var(--dropdown-shadow);
  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: var(--dropdown-scrollbar-thumb);
  border-radius: 0.25rem;
}

.dropdown_item-31ed6b5,
.dropdown_item_active-31ed6b5 {
  padding: 0.5rem 0.625rem;
  font-size: 0.8125rem;
  color: var(--dropdown-text);
  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: var(--dropdown-item-hover);
}

.dropdown_item_active-31ed6b5 {
  background-color: var(--dropdown-item-active-bg);
  color: var(--dropdown-item-active-text);
}

.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: column;
  justify-content: flex-start;
  align-items: center;
  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;
}

.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 {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;

  font-size: 0.8rem;
  color: #f44336;

  white-space: nowrap;
}

.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;
}

.status_draw-31ed6b5 {
  color: #d6bb5c;
  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;
  justify-content: 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;
  }
}

.table_header-31ed6b5 {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  padding: 0.5rem 1rem;
  align-items: center;
  background-color: transparent;
  border-bottom: 2px solid var(--card-border);
  margin-bottom: 0.5rem;
  width: 100%;
  font-weight: bold;
  color: var(--wrong-color);
  font-size: 0.875rem;
}

.header_image_placeholder-31ed6b5 {
  flex-shrink: 0;
  width: 7.8125rem;
  text-align: center;
}

.header_content_grid-31ed6b5 {
  display: grid;

  grid-template-columns: 12rem 6rem 10rem 1fr;
  gap: 1.25rem;
  flex-grow: 1;
  min-width: 0;
}

.col_header_text-31ed6b5 {
  padding-left: 0.25rem;
  text-align: center;
}

.center_text-31ed6b5 {
  text-align: center;
}

.date_header_wrapper-31ed6b5 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.year_subtext-31ed6b5 {
  font-size: 11px;
  color: #888888;
  font-weight: normal;
  line-height: 1;
}

.state_waiting-31ed6b5 {
  font-size: 14px;
  color: #28a745;
  font-weight: 500;
}

.state_playing-31ed6b5 {
  font-size: 14px;
  color: #ffc107;
  font-weight: 500;
}

.state_finished-31ed6b5 {
  font-size: 14px;
  color: #dc3545;
  font-weight: 500;
}

.join_btn-31ed6b5 {
  padding: 8px 20px;
  background-color: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.join_btn-31ed6b5:hover:not(:disabled) {
  background-color: #0056b3;
}

.join_btn-31ed6b5:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  opacity: 0.7;
}

.players_table_container-31ed6b5 {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 20px auto;
  background-color: var(--bg-secondary, #ffffff);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color, #eaeaea);
}

.players_table-31ed6b5 {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: center;
}

.th_cell-31ed6b5 {
  padding: 12px 16px;
  border-bottom: 2px solid var(--border-color, #eaeaea);
  color: var(--text-secondary, #666666);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

.tr_row-31ed6b5 {
  transition: background-color 0.2s ease;
}

.tr_row-31ed6b5:hover {
  background-color: var(--bg-hover, #f9f9f9);
}

.td_cell-31ed6b5 {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color, #f0f0f0);
  color: var(--text-primary, #333333);
  font-size: 0.95rem;
  text-align: center;
}

.tr_row-31ed6b5:last-child .td_cell-31ed6b5 {
  border-bottom: none;
}

[data-theme="dark"] {
  .players_table_container-31ed6b5 {
    background-color: #171717;
    border: 1px solid #262626;
    box-shadow: none;
  }

  .th_cell-31ed6b5 {
    border-bottom: 1px solid #262626;
    color: #a3a3a3;
  }

  .tr_row-31ed6b5:hover {
    background-color: #1f1f1f;
  }

  .td_cell-31ed6b5 {
    border-bottom: 1px solid #262626;
    color: #e5e5e5;
  }

  .tr_row-31ed6b5:last-child .td_cell-31ed6b5 {
    border-bottom: none;
  }
}

.status_ready-31ed6b5 {
  color: #277b4c;
  background-color: #eef8f2;
  padding: 4px 10px;
  border-radius: 0.5rem;
  border: solid 1px #d1ebd8;
  font-weight: 600;
  font-size: 0.85rem;
}

.status_unready-31ed6b5 {
  color: #666666;
  background-color: #f7f7f7;
  padding: 4px 10px;
  border-radius: 0.5rem;
  border: solid 1px #eeeeee;
  font-weight: 600;
  font-size: 0.85rem;
}

.prepare_section-31ed6b5 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 0;
  gap: 1rem;
  width: 100%;
}

.prepare_btn-31ed6b5 {
  padding: 10px 40px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;

  color: #ffffff;
  background-color: #1a1a1a;
  border: none;
  border-radius: 4px;

  cursor: pointer;
  transition: background-color 0.15s ease;
}

.prepare_btn-31ed6b5:hover {
  background-color: #333333;
  transform: none;
}

.prepare_btn_active-31ed6b5 {
  padding: 10px 40px;
  font-size: 1rem;
  font-weight: 500;

  color: #ffffff;
  background-color: #2e7d32;
  border: none;
  border-radius: 4px;

  cursor: pointer;
  transition: background-color 0.15s ease;
}

.prepare_btn_active-31ed6b5:hover {
  background-color: #1b5e20;
}

.prepare_btn-31ed6b5:disabled,
.prepare_btn_active-31ed6b5:disabled {
  background-color: #e0e0e0;
  color: #9e9e9e;
  cursor: not-allowed;
  opacity: 1;
}

[data-theme="dark"] {
  .prepare_btn-31ed6b5 {
    color: #ffffff;
    background-color: #262626;
    border: 1px solid #404040;
  }

  .prepare_btn-31ed6b5:hover {
    background-color: #323232;
    border-color: #525252;
  }

  .prepare_btn_active-31ed6b5 {
    color: #ffffff;
    background-color: #064e3b;
    border: 1px solid #065f46;
  }

  .prepare_btn_active-31ed6b5:hover {
    background-color: #065f46;
    border-color: #059669;
  }

  .prepare_btn-31ed6b5:disabled,
  .prepare_btn_active-31ed6b5:disabled {
    background-color: #171717;
    color: #525252;
    border-color: #262626;
  }
}

.guess_history_wrapper-31ed6b5 {
  width: 100%;
  max-width: 600px;
  margin-bottom: 10rem;
  background-color: var(--bg-secondary, #ffffff);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color, #eaeaea);
  overflow-x: auto;
}

.guess_history_table-31ed6b5 {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: center;
  table-layout: fixed;
}

.guess_th-31ed6b5 {
  padding: 12px 16px;
  border-bottom: 2px solid var(--border-color, #eaeaea);
  color: var(--text-secondary, #666666);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.guess_tr-31ed6b5 {
  transition: background-color 0.2s ease;
}

.guess_tr-31ed6b5:hover {
  background-color: var(--bg-hover, #f9f9f9);
}

.guess_td-31ed6b5 {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color, #f0f0f0);
  color: var(--text-primary, #333333);
  font-size: 0.95rem;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guess_tr-31ed6b5:last-child .guess_td-31ed6b5 {
  border-bottom: none;
}

[data-theme="dark"] {
  .guess_history_wrapper-31ed6b5 {
    background-color: #171717;
    border: 1px solid #262626;
    box-shadow: none;
  }

  .guess_th-31ed6b5 {
    border-bottom: 1px solid #262626;
    color: #a3a3a3;
  }

  .guess_tr-31ed6b5:hover {
    background-color: #1f1f1f;
  }

  .guess_td-31ed6b5 {
    border-bottom: 1px solid #262626;
    color: #e5e5e5;
  }

  .guess_tr-31ed6b5:last-child .guess_td-31ed6b5 {
    border-bottom: none;
  }
}

.unprepared_hint-31ed6b5 {
  margin-top: 8px;
  font-size: 14px;
  color: #ff6b6b;
  text-align: center;
  opacity: 0.9;
}

.prepare_btn-31ed6b5:disabled {
  background: #555;
  color: #999;
  border-color: #666;
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

:root {
  --chat-self-bg: #1a1a1a;
  --chat-self-text: #ffffff;
  --chat-other-bg: rgba(232, 232, 232, 0.9);
  --chat-other-text: #1a1a1a;
  --chat-input-bg: #ffffff;
  --chat-input-border: #cccccc;
  --chat-input-text: #1a1a1a;
  --chat-input-focus: #999999;
  --chat-send-bg: #1a1a1a;
  --chat-send-text: #ffffff;
  --chat-send-hover: #333333;
  --chat-name-text: #666666;
  --scrollbar-thumb: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
  --chat-self-bg: #2a2a2a;
  --chat-other-bg: #1e1e1e;
  --chat-input-bg: #000000;

  --chat-self-text: #f0f0f0;
  --chat-other-text: #a3a3a3;

  --chat-input-border: #444444;
  --chat-input-text: #f0f0f0;
  --chat-input-focus: #10b981;

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

  --chat-name-text: #a3a3a3;
  --scrollbar-thumb: rgba(255,255,255,0.2);
}

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

  input {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border: 0.0625rem solid var(--chat-input-border);
    border-radius: 0.375rem;
    outline: none;
    transition: border-color 0.2s ease;
    background-color: var(--chat-input-bg);
    color: var(--chat-input-text);
    width: 13.75rem;
    height: 2.5rem;
    box-sizing: border-box;

    &:focus {
      border-color: var(--chat-input-focus);
    }
  }
}

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

.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: var(--scrollbar-thumb);
    border-radius: 10px;
  }
}

.chat_wrapper_me-31ed6b5 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}

.chat_wrapper_other-31ed6b5 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.chat_name-31ed6b5 {
  font-size: 0.7rem;
  color: var(--chat-name-text);
  margin-bottom: 0.2rem;
  margin-left: 0.4rem;
}

.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 {
  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 {
  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);
  border: 1px solid var(--chat-input-border);
  border-radius: 2rem;
  color: var(--chat-input-text);
  outline: none;

  &:focus {
    border-color: var(--chat-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);
  }
}

.action_row-31ed6b5 {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 2.6rem;
}

.checkbox_label-31ed6b5 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-primary, #333333);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;

  input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    cursor: pointer;
    accent-color: #1a1a1a;
    margin: 0;
  }
}

.lock_icon-31ed6b5 {
  color: #666666;
  margin-left: 6px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.lobby_container-31ed6b5 {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.lobby_section-31ed6b5 {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
  background: var(--bg-secondary, #ffffff);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border-color, #eaeaea);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.input_wrapper-31ed6b5 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 54px;
}

.username_input-31ed6b5 {
  width: 220px;
  height: 2.6rem;
  padding: 0 1rem;
  font-size: 0.95rem;
  border: 1px solid var(--border-color, #cccccc);
  border-radius: 8px;
  background: transparent;
  color: var(--text-primary, #333333);
  outline: none;
  transition: border-color 0.2s;

  &:focus {
    border-color: var(--input-focus, #666666);
  }
}

.error_msg-31ed6b5 {
  color: #ff4d4f;
  font-size: 0.8rem;
  margin-left: 4px;
}

.match_btn-31ed6b5 {
  height: 2.6rem;
  padding: 0 2rem;
  border: none;
  border-radius: 8px;
  background: var(--btn-bg, #1a1a1a);
  color: var(--btn-text, #ffffff);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;

  &:hover:not(:disabled) {
    background: var(--btn-hover, #333333);
    transform: translateY(-1px);
  }

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

.room_list_section-31ed6b5 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.room_header-31ed6b5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary, #333333);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-color, #eaeaea);
}

.room_grid-31ed6b5 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.room_item-31ed6b5 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--bg-secondary, #ffffff);
  border: 1px solid var(--border-color, #eaeaea);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  }
}

.room_details-31ed6b5 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.room_name-31ed6b5 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary, #333333);
}

.room_players-31ed6b5 {
  font-size: 0.85rem;
  color: var(--text-secondary, #666666);
}

.state_waiting-31ed6b5 {
  color: #16a34a;
  font-size: 0.85rem;
  font-weight: 500;
}
.state_playing-31ed6b5 {
  color: #d97706;
  font-size: 0.85rem;
  font-weight: 500;
}
.state_finished-31ed6b5 {
  color: #dc2626;
  font-size: 0.85rem;
  font-weight: 500;
}

.join_btn-31ed6b5 {
  height: 2.2rem;
  padding: 0 1.2rem;
  border: none;
  border-radius: 6px;
  background: var(--btn-bg, #1a1a1a);
  color: var(--btn-text, #ffffff);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;

  &:hover:not(:disabled) {
    background: var(--btn-hover, #333333);
  }

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

[data-theme="dark"] {
  .checkbox_label-31ed6b5 {
    color: #e5e5e5;
    input[type="checkbox"] {
      accent-color: #e5e5e5;
    }
  }
  .lock_icon-31ed6b5 {
    color: #a3a3a3;
  }
  .lobby_section-31ed6b5,
  .room_item-31ed6b5 {
    background: #171717;
    border-color: #262626;
    box-shadow: none;
  }
  .username_input-31ed6b5 {
    border-color: #333333;
    color: #e5e5e5;
  }
  .room_header-31ed6b5 {
    color: #e5e5e5;
    border-color: #262626;
  }
  .room_name-31ed6b5 {
    color: #e5e5e5;
  }
  .room_players-31ed6b5 {
    color: #a3a3a3;
  }
}

@media (max-width: 650px) {
  .room_grid-31ed6b5 {
    grid-template-columns: 1fr;
  }
  .lobby_section-31ed6b5 {
    flex-direction: column;
    align-items: center;
  }
  .input_wrapper-31ed6b5,
  .username_input-31ed6b5 {
    width: 100%;
  }
  .match_btn-31ed6b5 {
    width: 100%;
  }
}

.settings_btn-31ed6b5 {
  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-31ed6b5 {
  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-31ed6b5 {
  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-31ed6b5 {
  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-31ed6b5 {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  label {
    font-weight: 600;
  }

  .slider_wrapper-31ed6b5 {
    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-31ed6b5 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;

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

    .year_input-31ed6b5 {
      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-31ed6b5 {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
}

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

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

  .note_text-31ed6b5 {
    color: #666;
  }

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

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

.player_name_wrapper-31ed6b5 {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  vertical-align: middle;
}

.crown_icon-31ed6b5 {
  width: 0.95rem;
  height: 0.95rem;
  color: #f59e0b;
  flex-shrink: 0;
}

.name_normal-31ed6b5 {
  color: inherit;
}

.name_me-31ed6b5 {
  color: #22c55e;
  font-weight: 600;
}

.refresh_btn-31ed6b5 {
  width: 2.2rem;
  height: 2.2rem;

  border-radius: 50%;
  border: 1px solid #000;

  background-color: #fff;
  color: #000;

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

  cursor: pointer;

  transition: all 0.2s ease;
}

.refresh_btn-31ed6b5:hover {
  background-color: #f2f2f2;
  transform: rotate(90deg);
}

.refresh_icon-31ed6b5 {
  width: 1.1rem;
  height: 1.1rem;
}

[data-theme="dark"] .refresh_btn-31ed6b5 {
  background-color: #111;
  border-color: #fff;
  color: #fff;
}

[data-theme="dark"] .refresh_btn-31ed6b5:hover {
  background-color: #1f1f1f;
}

.pwd_popup_overlay-31ed6b5 {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);

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

  z-index: 9999;
}

.pwd_popup-31ed6b5 {
  width: 320px;

  background: white;
  border: 1px solid #222;
  border-radius: 14px;

  padding: 1.25rem;

  display: flex;
  flex-direction: column;
  gap: 1rem;
}

[data-theme="dark"] .pwd_popup-31ed6b5 {
  background: #111;
  border-color: #eee;
}

.pwd_popup-31ed6b5 input {
  width: 100%;
  height: 42px;

  padding: 0 0.75rem;

  border-radius: 8px;
  border: 1px solid #999;

  background: transparent;
  color: inherit;

  box-sizing: border-box;
}

.pwd_popup_btns-31ed6b5 {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.pwd_popup_btns-31ed6b5 button {
  height: 38px;

  padding: 0 1rem;

  border-radius: 8px;
  border: 1px solid #222;

  background: white;

  cursor: pointer;
}

[data-theme="dark"] .pwd_popup_btns-31ed6b5 button {
  background: #111;
  color: white;
  border-color: #ddd;
}


.not_found-eeeaa53 { 
  
}


.overlay-65293c1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-65293c1 {
  background-color: #ffffff;
  padding: 30px 24px 20px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  min-width: 300px;
  max-width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: popupFadeIn 0.2s ease-out forwards;
}

.content-65293c1 {
  font-size: 16px;
  color: #333333;
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.5;
  word-break: break-all;
}

.close_btn-65293c1 {
  padding: 8px 24px;
  background-color: #f44336;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;

  &:hover {
    background-color: #d32f2f;
  }

  &:active {
    background-color: #b71c1c;
  }
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


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

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

:root {
  --inter-bg: #ffffff;
}

[data-theme="dark"] {
  --inter-bg: #1a1a1a;
}

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

  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--inter-bg);
  transition: all 0.3s ease;
}

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

:root {
  --chat-input-bg: #ffffff;
  --chat-input-border: #cccccc;
  --chat-input-text: #1a1a1a;
  --chat-input-focus: #999999;
}

[data-theme="dark"] {
  --chat-input-bg: rgba(0, 0, 0, 0.6);
  --chat-input-border: #444444;
  --chat-input-text: #f0f0f0;
  --chat-input-focus: #10b981;
}

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

  input {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border: 0.0625rem solid var(--chat-input-border);
    border-radius: 0.375rem;
    outline: none;
    transition: border-color 0.2s ease;
    background-color: var(--chat-input-bg);
    color: var(--chat-input-text);
    width: 13.75rem;
    height: 2.5rem;
    box-sizing: border-box;

    &:focus {
      border-color: var(--chat-input-focus);
    }
  }
}

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

:root {
  --dropdown-bg: #ffffff;
  --dropdown-border: #eaeaea;
  --dropdown-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
  --dropdown-scrollbar-thumb: #e0e0e0;
  --dropdown-text: #444444;
  --dropdown-item-hover: #fafafa;
  --dropdown-item-active-bg: #f0f0f0;
  --dropdown-item-active-text: #111111;
}

[data-theme="dark"] {
  --dropdown-bg: #1a1a1a;
  --dropdown-border: #333333;
  --dropdown-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.3);
  --dropdown-scrollbar-thumb: #444444;
  --dropdown-text: #cccccc;
  --dropdown-item-hover: #262626;
  --dropdown-item-active-bg: #333333;
  --dropdown-item-active-text: #ffffff;
}

.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: var(--dropdown-bg);
  border: 0.0625rem solid var(--dropdown-border);
  border-radius: 0.5rem;
  box-shadow: var(--dropdown-shadow);
  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: var(--dropdown-scrollbar-thumb);
  border-radius: 0.25rem;
}

.dropdown_item-20cdca7,
.dropdown_item_active-20cdca7 {
  padding: 0.5rem 0.625rem;
  font-size: 0.8125rem;
  color: var(--dropdown-text);
  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: var(--dropdown-item-hover);
}

.dropdown_item_active-20cdca7 {
  background-color: var(--dropdown-item-active-bg);
  color: var(--dropdown-item-active-text);
}

.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 {
  width: 100%;
  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;
  margin-top: 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;
  }
}

.table_header-20cdca7 {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  padding: 0.5rem 1rem;
  align-items: center;
  background-color: transparent;
  border-bottom: 2px solid var(--card-border);
  margin-bottom: 0.5rem;
  width: 100%;
  font-weight: bold;
  color: var(--wrong-color);
  font-size: 0.875rem;
}

.header_image_placeholder-20cdca7 {
  flex-shrink: 0;
  width: 7.8125rem;
  text-align: center;
}

.header_content_grid-20cdca7 {
  display: grid;

  grid-template-columns: 12rem 6rem 10rem 1fr;
  gap: 1.25rem;
  flex-grow: 1;
  min-width: 0;
}

.col_header_text-20cdca7 {
  padding-left: 0.25rem;
  text-align: center;
}

.center_text-20cdca7 {
  text-align: center;
}

.settings_btn-20cdca7 {
  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-20cdca7 {
  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-20cdca7 {
  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-20cdca7 {
  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-20cdca7 {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  label {
    font-weight: 600;
  }

  .slider_wrapper-20cdca7 {
    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-20cdca7 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;

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

    .year_input-20cdca7 {
      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-20cdca7 {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
}

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

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

  .note_text-20cdca7 {
    color: #666;
  }

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

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


.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;
  }
}
