.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:currentColor;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:currentColor;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:currentColor;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:currentColor;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}
/* EnhancedMessage 組件的通用模組化樣式 */

.EnhancedMessage_markdownWrapper__Kss2v {
  color: inherit;
  line-height: 1.375;
  font-family: inherit;
}

.EnhancedMessage_markdownWrapper__Kss2v p,
.EnhancedMessage_markdownWrapper__Kss2v li {
  font-size: 1.0625em;
  letter-spacing: 0;
}

@media (min-width: 980px) {
  .EnhancedMessage_markdownWrapper__Kss2v p,
  .EnhancedMessage_markdownWrapper__Kss2v li {
    font-size: clamp(17px, 2.2vh, 22px);
    letter-spacing: 0.01em;
  }
}

@media (min-width: 1700px) {
  .EnhancedMessage_markdownWrapper__Kss2v p,
  .EnhancedMessage_markdownWrapper__Kss2v li {
    font-size: clamp(18px, 2.1vh, 22px);
    letter-spacing: 0.01em;
  }
}

.EnhancedMessage_markdownWrapper__Kss2v h1,
.EnhancedMessage_markdownWrapper__Kss2v h2,
.EnhancedMessage_markdownWrapper__Kss2v h3,
.EnhancedMessage_markdownWrapper__Kss2v h4,
.EnhancedMessage_markdownWrapper__Kss2v h5,
.EnhancedMessage_markdownWrapper__Kss2v h6 {
  font-weight: bold;
  margin-bottom: 0.5em;
}

.EnhancedMessage_markdownWrapper__Kss2v strong {
  font-weight: bold;
}

.EnhancedMessage_markdownWrapper__Kss2v code {
  padding: 0.2em 0.4em;
  margin: 0;
  font-size: 0.875em;
  background-color: rgba(27, 31, 35, 0.05);
  border-radius: 3px;
  font-family: Monaco, Consolas, "Courier New", monospace;
}

.EnhancedMessage_markdownWrapper__Kss2v pre {
  padding: 1em;
  overflow: auto;
  line-height: 1.45;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  width: 100%;
}

.EnhancedMessage_markdownWrapper__Kss2v pre code {
  padding: 0;
  margin: 0;
  font-size: 100%;
  background: transparent;
  border: 0;
}

.EnhancedMessage_speech__OlY9L {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.EnhancedMessage_speech__OlY9L strong {
  font-weight: bold;
  font-size: inherit;
}

@media (min-width: 980px) {
  .EnhancedMessage_speech__OlY9L strong {
    font-size: clamp(17px, 2.2vh, 22px);
  }
}

.EnhancedMessage_marker__Yl1If {
  font-weight: bold;
  position: relative;
  cursor: pointer;
  border-radius: 0.8em 0.3em;
  background: transparent;
  padding-left: 0.5em;
  padding-right: 0.5em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-image: linear-gradient(
    to right,
    rgba(0, 255, 162, 0.1),
    rgba(0, 255, 162, 0.7) 4%,
    rgba(0, 255, 153, 0.3)
  );
  transition: all 0.25s ease;
}

.EnhancedMessage_marker__Yl1If:hover {
  background-image: linear-gradient(
    to right,
    rgba(0, 255, 162, 0.3),
    rgba(0, 255, 162, 0.9) 4%,
    rgba(0, 255, 153, 0.5)
  );
}

/* 圖片相關樣式 */
.EnhancedMessage_markdownWrapper__Kss2v .EnhancedMessage_imgWrapper__SpZKu {
  display: inline-block;
  border-radius: 12px;
  width: auto;
  border: 1px solid rgba(176, 255, 195, 0.5);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 0px 15px;
  padding: 6px;
  margin: 10px 0 0 0;
  flex-shrink: 0;
  box-sizing: border-box;
  animation: EnhancedMessage_imgScale__gbFwQ 1.5s linear infinite;
}

@media (min-width: 980px) {
  .EnhancedMessage_markdownWrapper__Kss2v .EnhancedMessage_imgWrapper__SpZKu {
    margin: 14px 0 0 0;
  }
}

.EnhancedMessage_markdownWrapper__Kss2v .EnhancedMessage_imgWrapper__SpZKu img {
  display: block;
  width: auto;
  height: 80px;
}

.EnhancedMessage_markdownWrapper__Kss2v .EnhancedMessage_inlineImg__7whwI {
  display: inline-block;
  border-radius: 6px;
  height: 1.75em;
  width: auto;
  margin: 0 5px;
  border: 1px solid rgba(176, 255, 195, 0.5);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  vertical-align: middle;
}

.EnhancedMessage_markdownWrapper__Kss2v .EnhancedMessage_inlineImg__7whwI + p {
  margin-top: 8px;
}

@keyframes EnhancedMessage_imgScale__gbFwQ {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.125);
  }
  100% {
    transform: scale(1);
  }
}

/* 音頻播放器樣式 */
.EnhancedMessage_speech__OlY9L .audio-player {
  margin-left: 8px;
}

/* 隱藏模式樣式 */
.EnhancedMessage_speech__OlY9L.EnhancedMessage_hiddenMode__bQvLX {
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.EnhancedMessage_speech__OlY9L.EnhancedMessage_hiddenMode__bQvLX strong {
  display: none;
}

.danmaku-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.danmaku-message {
  position: absolute;
  white-space: nowrap;
  color: white;
  font-size: 24px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
  animation: float 10s linear;
  bottom: -30px; /* 開始於螢幕底部以下 */
}

@keyframes float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100vh);
  }
}

/* 題目數量顯示區域 - 定位在右上角，往左移動避免與 menu UI 重疊 */
.QuestionCountDisplay_questionCountArea__vtIBK {
  position: absolute;
  right: 140px;
  top: 0;
  width: auto;
  transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition-property: opacity, transform, visibility;
  pointer-events: none;
  transform: translateY(-50px);
  opacity: 0;
  visibility: hidden;
  z-index: 11;
}

.QuestionCountDisplay_questionCountArea__vtIBK.QuestionCountDisplay_active__SXEBk {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* 題目數量看板 */
.QuestionCountDisplay_questionCountBoard__TzJuI {
  background: linear-gradient(
    to right,
    rgba(24, 24, 24, 0.3),
    rgba(0, 0, 0, 0.8)
  );
  border-radius: 0 0 0 12px;
  color: #b0f7ff;
  font-family: "apparat", sans-serif;
  display: flex;
  padding: 3px 10px;
  align-items: center;
  width: -webkit-max-content;
  width: max-content;
  position: relative;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  pointer-events: auto;
  transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition-property: opacity, transform;
  font-family: "Quantico", sans-serif;
  margin-left: auto;
}

@media (min-width: 740px) {
  .QuestionCountDisplay_questionCountBoard__TzJuI {
    border-radius: 0 0 0 36px;
    padding: 6px 20px 2px;
  }
}

@media (min-width: 740px) and (min-height: 800px) and (orientation: landscape) {
  .QuestionCountDisplay_questionCountBoard__TzJuI {
    padding: 10px 20px 5px;
  }
}

/* Rapid 模式樣式 */
.QuestionCountDisplay_questionCountBoard__TzJuI.QuestionCountDisplay_rapid__JEm5b {
  margin: 0 auto;
  background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
  background: initial;
  border-radius: 0;
  border-radius: initial;
  backdrop-filter: initial;
  -webkit-backdrop-filter: initial;
  display: flex;
  align-items: stretch;
  padding-top: 10px;
}

@media (min-width: 980px) {
  .QuestionCountDisplay_questionCountBoard__TzJuI.QuestionCountDisplay_rapid__JEm5b {
    padding-top: 20px;
    padding-left: 0;
    padding-right: 0;
    margin-top: 10px;
  }
}

@media (min-width: 740px) and (min-height: 800px) and (orientation: landscape) {
  .QuestionCountDisplay_questionCountBoard__TzJuI.QuestionCountDisplay_rapid__JEm5b {
    padding: 35px 0 0 0;
  }
}

/* 計數區域 */
.QuestionCountDisplay_countdown__Uwuov {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #b0f7ff;
  position: relative;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

.QuestionCountDisplay_countdownAfter__nGSVd {
  display: block;
  width: 200%;
  height: 30px;
  position: absolute;
  left: 80%;
  transform: translate(-50%, 50%);
  -webkit-clip-path: inset(50% 0 0 0);
          clip-path: inset(50% 0 0 0);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto 100%;
}

@media (min-width: 0) and (max-width: 979.9px) {
  .QuestionCountDisplay_countdownAfter__nGSVd {
    display: none;
  }
}

@media (min-width: 980px) {
  .QuestionCountDisplay_countdownAfter__nGSVd {
    bottom: 0;
    transform: translate(-50%, 50%);
    animation: QuestionCountDisplay_highlightstory__QUooK 4s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  }
}

@media (min-width: 1380px) {
  .QuestionCountDisplay_countdownAfter__nGSVd {
    height: 30px;
  }
}

@media (min-width: 0) and (max-width: 979.9px) {
  .QuestionCountDisplay_countdown__Uwuov {
    border-right: 1px solid rgba(176, 247, 255, 0.5);
    padding: 0 8px;
    min-width: 70px;
  }
}

@media (min-width: 740px) and (max-width: 979.9px) {
  .QuestionCountDisplay_countdown__Uwuov {
    width: 130px;
  }
}

@media (min-width: 980px) {
  .QuestionCountDisplay_countdown__Uwuov {
    width: clamp(120px, 10vw, 220px);
  }
}

@media (min-width: 1380px) {
  .QuestionCountDisplay_countdown__Uwuov {
    padding: 5px 0;
  }
}

.QuestionCountDisplay_questionCountBoard__TzJuI.QuestionCountDisplay_rapid__JEm5b .QuestionCountDisplay_countdown__Uwuov {
  border-right: none;
}

.QuestionCountDisplay_questionCountBoard__TzJuI.QuestionCountDisplay_rapid__JEm5b .QuestionCountDisplay_countdownAfter__nGSVd {
  left: 50%;
}

/* 標題文字 */
.QuestionCountDisplay_countdown__Uwuov span:first-of-type {
  white-space: nowrap;
  width: 100%;
  text-align: center;
  color: #b0f7ff;
  font-size: 0.75em;
  letter-spacing: 1px;
  line-height: 1em;
  margin-bottom: 4px;
}

@media (min-width: 0) and (max-width: 739.9px) {
  .QuestionCountDisplay_countdown__Uwuov span:first-of-type {
    display: none;
  }
}

@media (min-width: 980px) {
  .QuestionCountDisplay_countdown__Uwuov span:first-of-type {
    position: absolute;
    display: block;
    transform: translateY(-200%);
  }
}

@media (min-width: 740px) and (min-height: 800px) and (orientation: landscape) {
  .QuestionCountDisplay_countdown__Uwuov span:first-of-type {
    transform: translateY(-230%);
    font-size: 0.875em;
  }
}

@media (min-width: 0) and (max-width: 979.9px) {
  .QuestionCountDisplay_questionCountBoard__TzJuI.QuestionCountDisplay_rapid__JEm5b .QuestionCountDisplay_countdown__Uwuov span:first-of-type {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 1px;
  }
}

/* 數字顯示 */
.QuestionCountDisplay_countNum__ivyrk {
  font-size: 1.5em;
  line-height: 1em;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  color: #fff;
  text-shadow: #cef 0px 0px 5px, #4d5b90 0px 0px 10px, #4778ab 0px 0px 15px,
    #9cdbf6 0px 0px 20px;
  width: 100%;
}

@media (min-width: 740px) {
  .QuestionCountDisplay_countNum__ivyrk {
    font-size: 1.75em;
    line-height: 0.85em;
    padding: 0 0.5em 0;
  }
}

@media (min-width: 980px) {
  .QuestionCountDisplay_countNum__ivyrk {
    font-size: 2.75em;
  }
}

@media (min-width: 740px) and (min-height: 800px) and (orientation: landscape) {
  .QuestionCountDisplay_countNum__ivyrk {
    font-size: 3em;
    line-height: 0.7em;
  }
}

@media (min-width: 0) and (max-width: 979.9px) {
  .QuestionCountDisplay_questionCountBoard__TzJuI.QuestionCountDisplay_rapid__JEm5b .QuestionCountDisplay_countdown__Uwuov .QuestionCountDisplay_countNum__ivyrk {
    height: 25px;
  }
}

@media (min-width: 740px) and (max-width: 979.9px) {
  .QuestionCountDisplay_questionCountBoard__TzJuI.QuestionCountDisplay_rapid__JEm5b .QuestionCountDisplay_countdown__Uwuov .QuestionCountDisplay_countNum__ivyrk {
    height: 30px;
  }
}

@media (min-width: 980px) {
  .QuestionCountDisplay_questionCountBoard__TzJuI.QuestionCountDisplay_rapid__JEm5b .QuestionCountDisplay_countdown__Uwuov .QuestionCountDisplay_countNum__ivyrk {
    height: 40px;
  }
}

/* Aife 樣式 */
.QuestionCountDisplay_countNum__ivyrk.QuestionCountDisplay_aife__Sm7fO {
  align-items: flex-end;
  padding-bottom: 4px;
}

/* 小字樣式 */
.QuestionCountDisplay_countNum__ivyrk .QuestionCountDisplay_small__cuyyg {
  font-size: 0.8125rem;
  position: static;
  transform: none;
  transform: initial;
  line-height: 1.125em;
  margin: 0;
}

/* 動畫 */
@keyframes QuestionCountDisplay_highlightstory__QUooK {
  0% {
    transform: translate(-50%, 50%) scale(1);
  }
  52% {
    transform: translate(-50%, 50%) scale(1.25);
  }
  100% {
    transform: translate(-50%, 50%) scale(1);
  }
}

/* 彈窗遮罩層 - 參考 Premium.module.css 的設計 */
.IdleWarningModal_modalOverlay__KzehY {
    position: fixed;
    inset: 0;
    background: radial-gradient(rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.5));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 9999;
    animation: IdleWarningModal_fadeIn__ipTEM 0.3s ease-out;
}

@keyframes IdleWarningModal_fadeIn__ipTEM {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 彈窗內容 - 參考 Premium.module.css 的漸層背景 */
.IdleWarningModal_modalContent__hrz9b {
    position: relative;
    background: linear-gradient(
        to bottom, 
        rgba(124, 98, 198, 0.3) 10%, 
        rgba(132, 110, 203, 0.5) 20%, 
        rgba(57, 39, 79, 0.5) 50%
    ),
    linear-gradient(
        to bottom, 
        rgba(89, 107, 177, 0) 0%, 
        rgba(89, 107, 177, 0.3) 15%, 
        rgba(89, 107, 177, 0.5) 100%
    );
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    max-width: 28rem;
    width: 100%;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6), 
                inset 0 0 60px rgba(89, 107, 177, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: IdleWarningModal_modalSlideIn__HPR1N 0.3s ease-out;
    text-align: center;
}

/* 頂部光暈效果 */
.IdleWarningModal_modalContent__hrz9b::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(
        to right, 
        transparent, 
        rgba(255, 255, 255, 0.5), 
        transparent
    );
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes IdleWarningModal_modalSlideIn__HPR1N {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 警告圖示容器 */
.IdleWarningModal_iconContainer__6s0H9 {
    margin-bottom: 1.5rem;
}

.IdleWarningModal_warningIcon__mv00G {
    font-size: 4rem;
    line-height: 1;
    animation: IdleWarningModal_pulse__sIL8E 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes IdleWarningModal_pulse__sIL8E {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* 標題 */
.IdleWarningModal_modalTitle__r3mbt {
    font-size: 1.75rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(162, 150, 255, 0.5);
}

/* 訊息文字 */
.IdleWarningModal_modalMessage__-Fwl3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* 繼續按鈕 - 參考 Premium 的按鈕樣式 */
.IdleWarningModal_continueButton__Kr5m\+ {
    width: 100%;
    border: none;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
            appearance: none;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 10px;
    background-color: rgba(236, 241, 244, 0.6);
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(15px);
            backdrop-filter: blur(15px);
    color: #5034be;
    color: var(--text-btn--primary, #5034be);
}

.IdleWarningModal_continueButton__Kr5m\+::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 50%;
    left: 0;
    top: 0;
    background: linear-gradient(
        to bottom, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.6) 100%
    );
}

/* Hover 效果 (桌面裝置) */
@media (hover: hover) {
    .IdleWarningModal_continueButton__Kr5m\+:hover {
        background-color: rgba(238, 236, 244, 0.9);
        border-color: #fff;
        transform: scale(1.05);
        box-shadow: 
            rgba(232, 223, 255, 0.7) 0px 0px 12px, 
            rgba(203, 182, 255, 0.4) 0px 0px 20px 8px, 
            rgba(255, 255, 255, 0.3) 0px 0px 8px inset;
        text-shadow: rgba(80, 52, 190, 0.7) 0px 0px 10px;
        color: #3d2a8f;
        color: var(--text-btn-hover--primary, #3d2a8f);
    }
}

/* Active 效果 (行動裝置) */
@media (hover: none) {
    .IdleWarningModal_continueButton__Kr5m\+:active {
        background-color: rgba(238, 236, 244, 0.9);
        border-color: #fff;
        box-shadow: 
            rgba(232, 223, 255, 0.7) 0px 0px 12px, 
            rgba(203, 182, 255, 0.4) 0px 0px 20px 8px, 
            rgba(255, 255, 255, 0.3) 0px 0px 8px inset;
        text-shadow: rgba(80, 52, 190, 0.7) 0px 0px 10px;
    }
}

/* 響應式設計 */
@media (max-width: 640px) {
    .IdleWarningModal_modalContent__hrz9b {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .IdleWarningModal_modalTitle__r3mbt {
        font-size: 1.5rem;
    }

    .IdleWarningModal_modalMessage__-Fwl3 {
        font-size: 1rem;
    }

    .IdleWarningModal_warningIcon__mv00G {
        font-size: 3rem;
    }
}
.InsightDashboard_dashboard_container__XKTf5 {
  min-height: 100vh;
  padding: 1.5rem;
  background-color: #f8f9fa;
}

.InsightDashboard_dashboard_header__rbkT6 {
  background-color: white;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.InsightDashboard_dashboard_title__4-wsE {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.InsightDashboard_dashboard_date__het5Z {
  font-size: 0.875rem;
  color: #64748b;
}

.InsightDashboard_unified_container__Laq4h {
  background-color: white;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.InsightDashboard_controls_grid__qneER {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  align-items: start;
}

.InsightDashboard_input_group__n-ftY {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.InsightDashboard_input_label__Zx-UZ {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

@media (max-width: 640px) {
  .InsightDashboard_controls_grid__qneER {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .InsightDashboard_input_group__n-ftY {
    width: 100%;
  }

  .InsightDashboard_date_input__oisAj,
  .InsightDashboard_select_input__6a124 {
    min-width: 100%;
    width: 100%;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .InsightDashboard_controls_grid__qneER {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* 大螢幕 */
@media (min-width: 1025px) {
  .InsightDashboard_controls_grid__qneER {
    grid-template-columns: repeat(3, 1fr);
  }
}

.InsightDashboard_date_input__oisAj,
.InsightDashboard_select_input__6a124 {
  -webkit-appearance: none;
  appearance: none;
  padding: 0.75rem 1rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: #111827;
  background-color: white;
  transition: all 0.2s;
}

.InsightDashboard_date_input__oisAj {
  position: relative;
  padding-right: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 24 24%27 stroke=%27%236B7280%27%3E%3Cpath stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z%27%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
  font-size: 1rem;
}

.InsightDashboard_date_input__oisAj::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.InsightDashboard_select_input__6a124 {
  padding-right: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 24 24%27 stroke=%27%236B7280%27%3E%3Cpath stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27M19 9l-7 7-7-7%27%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
  font-size: 1rem;
}

.InsightDashboard_date_input__oisAj:focus,
.InsightDashboard_select_input__6a124:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}
@media (max-width: 768px) {
  .InsightDashboard_time-selector-grid__zPQ0U {
      flex-direction: column;
      gap: 1rem;
  }
  
  .InsightDashboard_input-group__Xi59- {
      width: 100%;
  }
}

.InsightDashboard_charts_grid__M7ZRq {
  display: grid;
  grid-template-columns: auto;
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .InsightDashboard_charts_grid__M7ZRq {
    grid-template-columns: 1fr;
  }
}

.InsightDashboard_chart_container__ZCkSK {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1),
              0 1px 2px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease-in-out;
  position: relative;
}

.InsightDashboard_chart_container__ZCkSK.InsightDashboard_large__JgrZE {
  grid-column: 1 / -1;
  min-height: 400px;
}

.InsightDashboard_footer_charts_grid__1j7FR {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.InsightDashboard_lower_charts_grid__CwOro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1.5rem;
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .InsightDashboard_lower_charts_grid__CwOro {
    grid-template-columns: 1fr;
  }
}


.InsightDashboard_chart_container__ZCkSK:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),
              0 2px 4px rgba(0, 0, 0, 0.06);
}

.InsightDashboard_chart_title__9KbYb {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 1.25rem;
}
.InsightDashboard_chart_subtitle__unF2M {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1.25rem;
}

.InsightDashboard_chart_wrapper__g\+xs6 {
  width: 100%;
  min-height: 400px;
  margin-bottom: 1rem;
}

.InsightDashboard_metrics_grid__b6Bo5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .InsightDashboard_metrics_grid__b6Bo5 {
    grid-template-columns: 1fr;
  }
}

.InsightDashboard_metric_card__B\+oR5 {
  background-color: #f8fafc;
  padding: 1.25rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease-in-out;
}

.InsightDashboard_metric_card__B\+oR5:hover {
  transform: translateY(-2px);
}

.InsightDashboard_metric_label__\+6L-k {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.InsightDashboard_metric_value__BQSOS {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
}

.InsightDashboard_legend_container__tpCEO {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 0.75rem;
  gap: 0.75rem;
  padding: 1rem;
  background-color: #f8fafc;
  border-radius: 0.5rem;
}

.InsightDashboard_legend_item__\+o99R {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  background-color: white;
  border-radius: 0.375rem;
  min-width: 0;
}

.InsightDashboard_legend_color__F3EGE {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.InsightDashboard_legend_label__3-6Jl {
  font-size: 0.875rem;
  color: #4a5568;
  white-space: normal;
  overflow: visible;
  word-break: break-word;
  line-height: 1.25;
}

.InsightDashboard_buttons_wrapper__aTRP\+ {
  display: flex;
  gap: 0.5rem;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.InsightDashboard_button_base__fhkjd {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.InsightDashboard_button_csv__fHtpT {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #439c73;
}
.InsightDashboard_button_csv__fHtpT:hover {
  background-color: #e2e8f0;
}

.InsightDashboard_button_json__BNAwv {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #295196;
}
.InsightDashboard_button_json__BNAwv:hover {
  background-color: #e2e8f0;
}

.InsightDashboard_notification_container__xTFPG {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
}

.InsightDashboard_notification__SDUhC {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-left-width: 4px;
  border-color: #E5E7EB;
  width: 24rem;
  display: flex;
  align-items: flex-start;
  animation: InsightDashboard_slide-in__Q\+izO 0.3s ease-out;
}

.InsightDashboard_notification_icon__RbpCg {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.InsightDashboard_notification_content__e2lOP {
  flex: 1 1;
  min-width: 0;
  padding: 1rem;
}

.InsightDashboard_notification_title__6gdRQ {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-weight: 500;
}

.InsightDashboard_notification_message__jKYVu {
  font-size: 0.875rem;
  color: #111827;
  margin-top: 0.25rem;
}

.InsightDashboard_notification_close__x5yP9 {
  margin-left: 1rem;
  margin-right: 0.5rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
  display: flex;
  padding: 0.375rem;
  border-radius: 9999px;
  transition: background-color 0.2s;
}

.InsightDashboard_notification_close__x5yP9:hover {
  background-color: #F3F4F6;
}

.InsightDashboard_notification_close__x5yP9 svg {
  width: 1rem;
  height: 1rem;
  color: #9CA3AF;
}

@keyframes InsightDashboard_slide-in__Q\+izO {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.InsightDashboard_notification__SDUhC + .InsightDashboard_notification__SDUhC {
  margin-top: 1rem;
}
/* 表格樣式 */
.SDGSRank_rank_table__WBw46 {
  width: 100%;
  border-collapse: collapse;
}

.SDGSRank_table_header__gcijE {
  background-color: #f0f9ff;
}

.SDGSRank_table_header__gcijE th {
  padding: 0.5rem;
  text-align: left;
  border: 1px solid #d1d5db;
  color: #0369a1; /* 更換為海藍色 */
  font-weight: 600; /* 加粗 */
}

.SDGSRank_table_header__gcijE th:last-child {
  text-align: right;
}

.SDGSRank_table_row_even__-cbC5 {
  background-color: #ffffff;
}

.SDGSRank_table_row_odd__RyzK5 {
  background-color: #f8fafc;
}

.SDGSRank_table_cell__gA5yR {
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  color: #1f2937;
}

.SDGSRank_table_cell_right__rzaaB {
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  text-align: right;
  color: #1f2937;
}

.SDGSRank_table_container__g\+O0i {
  overflow-x: auto;
  position: relative;
}

/* 載入覆蓋層 */
.SDGSRank_loading_overlay__XA30T {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* 標題樣式 */
.SDGSRank_dashboard_title__02zJe {
  color: #0369a1; /* 更換為海藍色 */
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.SDGSRank_dashboard_subtitle__FGPS6 {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.SDGSRank_chart_title__GVkSf {
  color: #0369a1; /* 更換為海藍色 */
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

/* 分頁樣式 */
.SDGSRank_pagination_container__oC\+HQ {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.SDGSRank_pagination_button__kg723 {
  padding: 0.375rem 0.75rem;
  margin: 0 0.25rem;
  background-color: #f1f5f9;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.SDGSRank_pagination_button__kg723:hover:not(:disabled) {
  background-color: #e2e8f0;
}

.SDGSRank_pagination_button__kg723:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.SDGSRank_pagination_text__sCJEr {
  margin: 0 0.5rem;
}

.SDGSRank_no_data__jh90N {
  text-align: center;
  padding: 1rem;
}

.SDGSRank_loading__OA79x {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 16rem;
} 
/* 最終調整的 CSS 樣式 */

.RankDashboard_dashboard__22vfC {
  padding: 1.5rem;
  background-color: #f8f9fa;
}

.RankDashboard_gridContainer__9XzzC {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .RankDashboard_gridContainer__9XzzC {
    grid-template-columns: 1fr 1fr;
  }
}

.RankDashboard_card__0SMt7 {
  background-color: white;
  padding: 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.RankDashboard_cardTitle__CEOdF {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}
.RankDashboard_cardSubtitle__vw5PM {
  color: #637185;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.RankDashboard_table__DmjG8 {
  width: 100%;
  border-collapse: collapse;
  border-radius: 4px;
  overflow: hidden;
  table-layout: fixed; /* 固定表格佈局 */
}

.RankDashboard_tableHeader__CUPYU {
  background-color: #f1f2f6;
}

.RankDashboard_tableHeaderCell__7usSe {
  padding: 0.5rem;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  white-space: nowrap; /* 防止表頭文字換行 */
}

.RankDashboard_tableRowEven__\+nO1g {
  background-color: white;
}

.RankDashboard_tableRowOdd__os7Rs {
  background-color: #f8f9fa;
}

.RankDashboard_tableCell__qtFGr {
  padding: 0.5rem;
  border-bottom: 1px solid #e0e0e0;
  color: #444;
}

.RankDashboard_rankCell__00TsU {
  font-weight: 600;
  text-align: center;
  min-width: 2.5em; /* 縮小排名欄位寬度 */
  width: 8%; /* 縮小百分比 */
  white-space: nowrap;
}

.RankDashboard_nameCell__jaB5g {
  min-width: 4em; /* 保持姓名欄位寬度不變 */
  width: 18%;
  white-space: nowrap;
}

.RankDashboard_schoolCell__0QZhJ {
  width: 60%; /* 增加學校欄位寬度 */
  min-width: 5em;
}

.RankDashboard_scoreCell__G0IVY {
  font-weight: 500;
  text-align: right;
  min-width: 3em; /* 縮小積分欄位寬度 */
  width: 14%; /* 縮小百分比 */
  white-space: nowrap;
}

/* 金銀銅牌樣式 */
.RankDashboard_goldMedal__omhDN {
  color: #fff;
  background-color: #ffc107;
  font-weight: 700;
}

.RankDashboard_silverMedal__tH6A2 {
  color: #fff;
  background-color: #6c757d;
  font-weight: 700;
}

.RankDashboard_bronzeMedal__mzusJ {
  color: #fff;
  background-color: #cd7f32;
  font-weight: 700;
}
/* src/components/DataInsight/Utility/RankDisplay.module.css */
.RankDisplay_container__Zc8Kw {
  font-family: sans-serif;
  padding: 20px;
  background-color: #f8f9fa; /* 淺灰色背景 */
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 800px; /* 限制最大寬度 */
  margin: 20px auto; /* 頁面居中 */
}

.RankDisplay_section__Is5ws {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #ffffff; /* 白色背景 */
  border: 1px solid #dee2e6; /* 淺灰色邊框 */
  border-radius: 4px;
}

.RankDisplay_searchForm__zwmP5 {
  display: flex;
  gap: 10px; /* 輸入框和按鈕間距 */
  margin-bottom: 15px;
  align-items: center;
}

.RankDisplay_input__YX1WB {
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  flex-grow: 1; /* 讓輸入框填滿可用空間 */
}

.RankDisplay_button__0nc0I {
  padding: 8px 15px;
  background-color: #007bff; /* 主題藍色 */
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.RankDisplay_button__0nc0I:hover {
  background-color: #0056b3; /* 深一點的藍色 */
}

.RankDisplay_clearButton__HJoIY {
  background-color: #6c757d; /* 灰色 */
}
.RankDisplay_clearButton__HJoIY:hover {
  background-color: #5a6268;
}

.RankDisplay_error__JxuDw {
  color: #dc3545; /* 紅色錯誤訊息 */
  font-weight: bold;
}

.RankDisplay_playerList__qOn9N {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.RankDisplay_playerItem__TeBsS {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid #eee; /* 分隔線 */
  background-color: #fff;
}

.RankDisplay_playerItem__TeBsS:last-child {
  border-bottom: none;
}

.RankDisplay_highlight__bVPlI {
  background-color: #fff3cd; /* 淡黃色高亮 */
  font-weight: bold;
  border-left: 3px solid #ffc107; /* 黃色邊框 */
}

.RankDisplay_divider__v4WCd {
  border: 0;
  height: 1px;
  background-color: #e0e0e0;
  margin: 25px 0;
}

.RankDisplay_rankContainer__aruUH {
  margin-bottom: 15px;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  overflow: hidden; /* 確保子元素圓角效果 */
}

.RankDisplay_rankHeader__RmNM6 {
  background-color: #e9ecef; /* 稍深的灰色 */
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}
.RankDisplay_rankHeader__RmNM6:hover {
  background-color: #ced4da;
}

.RankDisplay_rankHeader__RmNM6 h4 {
  margin: 0;
  font-size: 1.1em;
}

.RankDisplay_groupList__rNKYR {
  list-style: none;
  padding: 0 0 0 20px; /* 左側縮排 */
  margin: 0;
  background-color: #f8f9fa; /* 與容器背景色一致 */
}

.RankDisplay_groupItem__xyRQb {
  /* border-top: 1px solid #dee2e6; */ /* Group 之間的分隔 */
  padding: 0;
  margin: 0;
}

.RankDisplay_groupHeader__w9g\+1 {
  padding: 8px 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  border-top: 1px dashed #dee2e6; /* Group Header 上方虛線 */
  transition: background-color 0.2s ease;
}
.RankDisplay_groupHeader__w9g\+1:hover {
  background-color: #f1f3f5;
}

.RankDisplay_groupHeader__w9g\+1 span {
  font-size: 0.95em;
}

.RankDisplay_nestedPlayerList__7akzl {
  padding-left: 20px; /* 進一步縮排玩家列表 */
  border-left: 2px solid #dee2e6;
  margin-left: 15px; /* 與 Group Header 文字對齊 */
  padding-top: 5px;
  padding-bottom: 5px;
  background-color: #ffffff;
}

.RankDisplay_nestedPlayerList__7akzl .RankDisplay_playerItem__TeBsS {
  font-size: 0.9em;
  padding: 6px 10px;
}

.CreateQuest_container__5x2r- {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    padding: 50px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(162, 150, 255, 0.5) transparent;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}
/*手機*/
@media (min-width: 0px) and (max-width: 900px) {
    .CreateQuest_container__5x2r- {
        padding: 0;
    }
}
.CreateQuest_container__5x2r-::-webkit-scrollbar {
    width: 6px;
}

.CreateQuest_container__5x2r-::-webkit-scrollbar-track {
    background: transparent;
}

.CreateQuest_container__5x2r-::-webkit-scrollbar-thumb {
    background-color: rgba(162, 150, 255, 0.5);
    border-radius: 3px;
}
.CreateQuest_quest-item__4EyiB {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* .top {
    margin-bottom: 20px;
}

.top h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
} */

.CreateQuest_content__xGwND {
    padding: 15px 0;
}

.CreateQuest_formGroup__80LAc {
    margin-bottom: 20px;
}

.CreateQuest_formGroup__80LAc label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-tertiary);
}

.CreateQuest_textarea__WOtPX {
    min-height: 100px;
    resize: vertical;
}

.CreateQuest_submitButton__2HEAG {
    background-color: #4a90e2;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.CreateQuest_submitButton__2HEAG:hover {
    background-color: #357abd;
}

.CreateQuest_submitButton__2HEAG:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.CreateQuest_questContent__Zy7Kz {
    position: relative;
    width: var(--width-small);
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    background: rgba(35, 37, 49, 0.98);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.95);
}

.CreateQuest_header__1y2dO {
    flex-shrink: 0;
    padding: 1.5rem var(--gap-mobile) var(--gap-mobile);
}

.CreateQuest_header__1y2dO h2 {
    color: var(--color-main);
    font-size: var(--title-size);
    font-family: var(--font-family);
    font-weight: 500;
    display: flex;
    align-items: center;
    letter-spacing: 0.01em;
    background: var(--title-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.CreateQuest_header__1y2dO h2 .imrs-icon {
    margin-right: 8px;
}
.CreateQuest_header__1y2dO h2 .imrs-icon:before {
    width: 36px;
    height: 36px;
    background-color: var(--color-main);
}
.CreateQuest_form__Xw1g1 {
    flex: 1 1;

    display: flex;
    flex-direction: column;
    /* gap: 12px; */
    align-items: center;
    padding: var(--gap-mobile);
    box-sizing: border-box;
}

.CreateQuest_formGroup__80LAc {
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding-bottom: var(--gap-mobile);
}

.CreateQuest_formGroup__80LAc label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 1px;
}

.CreateQuest_input__FxLSQ,
.CreateQuest_textarea__WOtPX,
.CreateQuest_select__7IhIh {
    width: 100%;
    font-size: 1em;
    font-family: var(--font-family);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: calc(var(--rd-item) / 2);
    padding: 9px 12px;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(49, 52, 74, 0.95);
    box-sizing: border-box;
    transition: all 0.3s ease;
}
/* 覆寫 autofill 樣式 */
.CreateQuest_input__FxLSQ:-webkit-autofill,
.CreateQuest_input__FxLSQ:-webkit-autofill:hover,
.CreateQuest_input__FxLSQ:-webkit-autofill:focus,
.CreateQuest_input__FxLSQ:-webkit-autofill:active,
.CreateQuest_textarea__WOtPX:-webkit-autofill,
.CreateQuest_textarea__WOtPX:-webkit-autofill:hover,
.CreateQuest_textarea__WOtPX:-webkit-autofill:focus,
.CreateQuest_textarea__WOtPX:-webkit-autofill:active,
.CreateQuest_select__7IhIh:-webkit-autofill,
.CreateQuest_select__7IhIh:-webkit-autofill:hover,
.CreateQuest_select__7IhIh:-webkit-autofill:focus,
.CreateQuest_select__7IhIh:-webkit-autofill:active {
    background: #31344a !important; /* 維持背景色 */
    -webkit-box-shadow: 0 0 0 30px #31344a inset !important; /* 維持背景色 */
    -webkit-text-fill-color: var(--text-primary) !important; /* 維持文字顏色 */
    border: 1px solid var(--color-border) !important; /* 維持邊框顏色 */
}

/* 標準 autofill（未來兼容性） */
.CreateQuest_input__FxLSQ:-webkit-autofill, .CreateQuest_textarea__WOtPX:-webkit-autofill, .CreateQuest_select__7IhIh:-webkit-autofill {
    box-shadow: 0 0 0 30px #31344a inset !important; /* 維持背景色 */
    color: var(--text-primary) !important; /* 維持文字顏色 */
    border: 1px solid var(--color-border) !important; /* 維持邊框顏色 */
}
.CreateQuest_input__FxLSQ:autofill,
.CreateQuest_textarea__WOtPX:autofill,
.CreateQuest_select__7IhIh:autofill {
    box-shadow: 0 0 0 30px #31344a inset !important; /* 維持背景色 */
    color: var(--text-primary) !important; /* 維持文字顏色 */
    border: 1px solid var(--color-border) !important; /* 維持邊框顏色 */
}
.CreateQuest_textarea__WOtPX {
    min-height: 100px;
    resize: vertical;
}

.CreateQuest_input__FxLSQ:focus,
.CreateQuest_textarea__WOtPX:focus,
.CreateQuest_select__7IhIh:focus {
    outline: none;
    border-color: rgba(162, 150, 255, 0.6);
    background: rgba(55, 58, 83, 0.95);
    box-shadow: 0 0 8px rgba(162, 150, 255, 0.3);
}

.CreateQuest_buttonGroup__b0HxD {
    flex-shrink: 0;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.CreateQuest_formInfo__dCS5Z {
    width: 100%;
    margin-bottom: 24px;
    padding: 20px;
    border-radius: var(--rd-item);
    background: rgba(162, 150, 255, 0.15);
    border: 1px solid rgba(162, 150, 255, 0.3);
    box-shadow: 0 0 15px rgba(162, 150, 255, 0.1);
    font-size: 0.875em;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.CreateQuest_formInfo__dCS5Z h3 {
    color: #ffffff;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(162, 150, 255, 0.5);
    display: flex;
    align-items: center;
}
.CreateQuest_formInfo__dCS5Z h3 .imrs-icon {
    margin: -2px 5px 0 0;
}
.CreateQuest_formInfo__dCS5Z p {
    margin-bottom: 8px;
}

.CreateQuest_formInfo__dCS5Z p:last-child {
    margin-bottom: 0;
}

.CreateQuest_formInfo__dCS5Z ol li {
    list-style: decimal inside;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.95);
}
.CreateQuest_deleteButtonCustom__uadrD {
    background-color: #ff5733 !important;
    color: white !important;
    border: 1px solid #ff5733 !important;
}

.CreateQuest_deleteButtonCustom__uadrD:hover {
    background-color: #ff2400 !important;
    border: 1px solid #ff2400 !important;
}

@media (max-width: 700px) {
    .CreateQuest_questContent__Zy7Kz {
        width: 100%;
        padding: 20px 24px;
        margin: 0 16px;
        max-width: calc(100% - 32px);
    }

    .CreateQuest_gameImage__yqEZQ {
        max-height: 100px;
    }
}

.CreateQuest_hint__Bgnpc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

.CreateQuest_input__FxLSQ[type="date"] {
    /* 自定義日期選擇器的外觀 */
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2724%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27rgba%28255, 255, 255, 0.8%29%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%274%27 width=%2718%27 height=%2718%27 rx=%272%27 ry=%272%27%3E%3C/rect%3E%3Cline x1=%2716%27 y1=%272%27 x2=%2716%27 y2=%276%27%3E%3C/line%3E%3Cline x1=%278%27 y1=%272%27 x2=%278%27 y2=%276%27%3E%3C/line%3E%3Cline x1=%273%27 y1=%2710%27 x2=%2721%27 y2=%2710%27%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 20px;
    padding-right: 32px;

    /* 新增寬度限制 */
    width: 160px !important; /* 覆蓋原本的 width: 100% */
    align-self: flex-start; /* 讓日期輸入框靠左對齊 */
}

/* 調整日期輸入框的父容器 */
.CreateQuest_formGroup__80LAc:has(.CreateQuest_input__FxLSQ[type="date"]) {
    align-items: flex-start; /* 讓內容靠左對齊 */
}

/* 數字輸入框也可以調整寬度 */
.CreateQuest_input__FxLSQ[type="number"] {
    width: 120px !important;
    align-self: flex-start;
}

.CreateQuest_formGroup__80LAc:has(.CreateQuest_input__FxLSQ[type="number"]) {
    align-items: flex-start;
}

.CreateQuest_input__FxLSQ[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

/* 確保日期文字顏色正確 */
.CreateQuest_input__FxLSQ[type="date"]::-webkit-datetime-edit-text,
.CreateQuest_input__FxLSQ[type="date"]::-webkit-datetime-edit-month-field,
.CreateQuest_input__FxLSQ[type="date"]::-webkit-datetime-edit-day-field,
.CreateQuest_input__FxLSQ[type="date"]::-webkit-datetime-edit-year-field {
    color: rgba(255, 255, 255, 0.95);
}

.CreateQuest_error__eZUuD {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 4px;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.3);
}

.CreateQuest_gamePreview__\+K\+Cr {
    width: 100%;
    margin-top: calc(var(--gap-mobile) * -1);
    margin-bottom: calc(var(--gap-mobile) * 1.5);
}

.CreateQuest_gamePreview__\+K\+Cr h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 8px;
}

.CreateQuest_gameInfo__PA0D5 {
    display: flex;

    gap: var(--gap);
    padding: var(--gap);
    border: 1px solid var(--color-border);
    border-radius: var(--rd-item);
}

.CreateQuest_gameTitle__uckiE {
    color: var(--text-highlight);
    font-size: 1.125em;
    font-weight: 500;
    flex: 1 1;
    width: 60%;
}

.CreateQuest_img__tGZq3 {
    width: 100%;
    background-size: cover;
    border-radius: var(--rd-item);
    overflow: hidden;
    width: 40%;
    max-width: 200px;
}
.CreateQuest_img__tGZq3:before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 100%;
}

/* 新增 QuestDetail 樣式 */
.CreateQuest_questDetailArea__pmkO2 {
    position: relative;
    max-width: 800px;
    margin: 20px auto;
    padding: 0 16px;
}

.CreateQuest_questBody__r7hyS {
    background: rgba(0, 0, 0, 0.5);
    min-height: calc(100vh - 40px);
    border-radius: 12px;
    padding: 20px;
}

.CreateQuest_questCard__ZXvWE {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 0 auto;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.CreateQuest_cardHeader__wOPb7 {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.CreateQuest_questTitle__69D0Z {
    font-size: 1.5rem;
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.CreateQuest_cardContent__Q5m7- {
    padding: 16px;
}

.CreateQuest_closeButton__F9L-Q {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    font-size: 1.2rem;
    z-index: 10;
}

.CreateQuest_closeButton__F9L-Q:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.CreateQuest_questFooter__a2mPt {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.CreateQuest_actionButton__o2LJT {
    min-width: 120px;
    padding: 8px 24px;
    border-radius: 5px;
    font-size: 16px;
    background-color: #4caf50;
    color: white;
}

.CreateQuest_actionButton__o2LJT[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 保留原有的表單樣式，但進行調整 */
.CreateQuest_form__Xw1g1 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.CreateQuest_formGroup__80LAc {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.CreateQuest_formGroup__80LAc label {
    /* color: rgba(255, 255, 255, 0.9); */
    color: var(--text-highlight);
    font-size: 15px;
    letter-spacing: 0;
}

.CreateQuest_input__FxLSQ,
.CreateQuest_textarea__WOtPX,
.CreateQuest_select__7IhIh {
    background: rgba(255, 255, 255, 0.1);
    /* border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px; */
    /* padding: 8px 12px; */
    color: rgba(255, 255, 255, 0.95);
    width: 100%;
}

.CreateQuest_textarea__WOtPX {
    min-height: 100px;
    resize: vertical;
}

.CreateQuest_input__FxLSQ:focus,
.CreateQuest_textarea__WOtPX:focus,
.CreateQuest_select__7IhIh:focus {
    outline: none;
    border-color: rgba(162, 150, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 8px rgba(162, 150, 255, 0.3);
}

.CreateQuest_hint__Bgnpc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

.CreateQuest_error__eZUuD {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 4px;
}

.CreateQuest_gamePreview__\+K\+Cr {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px;
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.CreateQuest_gamePreview__\+K\+Cr h3 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.CreateQuest_gameInfo__PA0D5 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.CreateQuest_gameTitle__uckiE {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.CreateQuest_gameImage__yqEZQ {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

/* 特殊輸入框樣式 */
.CreateQuest_input__FxLSQ[type="date"] {
    color: rgba(255, 255, 255, 0.9);
}

.CreateQuest_input__FxLSQ[type="number"] {
    color: rgba(255, 255, 255, 0.9);
}

.CreateQuest_input__FxLSQ[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.6;
}

@media (max-width: 700px) {
    .CreateQuest_questDetailArea__pmkO2 {
        padding: 0 8px;
    }

    .CreateQuest_questBody__r7hyS {
        padding: 12px;
    }

    .CreateQuest_cardHeader__wOPb7 {
        padding: 12px;
    }

    .CreateQuest_cardContent__Q5m7- {
        padding: 12px;
    }

    .CreateQuest_questTitle__69D0Z {
        font-size: 1.2rem;
    }

    .CreateQuest_formGroup__80LAc label {
        font-size: 13px;
    }

    .CreateQuest_gameImage__yqEZQ {
        max-height: 100px;
    }

    .CreateQuest_closeButton__F9L-Q {
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* 已添加的遊戲列表樣式 */
.CreateQuest_gamesList__-JZg\+ {
    margin: 20px 0;
    padding: 15px;
    background: rgba(49, 52, 74, 0.95);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.CreateQuest_gamesList__-JZg\+ h3 {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 12px;
    font-size: 16px;
}

.CreateQuest_gameItem__0XGYO {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.CreateQuest_gameItem__0XGYO:last-child {
    border-bottom: none;
}

.CreateQuest_gameInputGroup__PW1qr {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.QuestDetail_questDetailArea__JqUCq {
    position: absolute;
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    margin: 0;
    padding: 0;
    /* background: rgba(255, 2550, 255, 0.5); */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 50px 20px 0;
    align-items: center;
    justify-content: flex-start;
    left: 0;
    top: 0;
    overflow: hidden;
}
.QuestDetail_questHeader__FlWKK {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    top: 0;
    z-index: 9;
    width: 100%;
}

.QuestDetail_questHeader__FlWKK:after {
    content: "";
    position: absolute;
    bottom: 0;
    display: block;

    transform: translateY(1px);
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
.QuestDetail_questBody__5xNkL {
    padding: 0;
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    overflow-y: auto;
    flex: 1 1;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(to bottom, rgba(58, 65, 69, 0.5), rgba(47, 51, 56, 0.5), rgba(10, 38, 59, 0.3));
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 60px rgba(89, 107, 177, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    scrollbar-color: #9fc3c682 transparent;
}
/* @media (min-width: 740px) {
    .questBody {
        border-radius: 0 0 12px 12px;
        background: linear-gradient(to bottom, rgba(37, 47, 56, 0.4), rgba(61, 75, 91, 0.3), rgba(10, 38, 59, 0.5));
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 60px rgba(89, 107, 177, 0.08);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
} */
.QuestDetail_questContainer__Wls5G,
.QuestDetail_rankContainer__4ejiT {
    position: relative;
    z-index: 1;
    width: 100%;
    /* max-width: var(--width-small); */
    margin: 0 auto;
    box-sizing: border-box;

    padding: 0 40px 60px;
    transition: height 0.3s ease-in-out;
}
.QuestDetail_rankContainer__4ejiT {
    padding: 0;
}
@media (min-width: 0) and (max-width: 739px) {
    .QuestDetail_rankContainer__4ejiT {
        padding: 0;
    }
    .QuestDetail_questContainer__Wls5G {
        padding: 0 40px 80px;
    }
}
@media (min-width: 740px) {
    .QuestDetail_questDetailArea__JqUCq {
        padding: 50px 0;
    }
    .QuestDetail_questHeader__FlWKK,
    .QuestDetail_questBody__5xNkL,
    .QuestDetail_questFooter__xP-s3 {
        width: clamp(600px, 60%, 900px);
    }
}
@media (min-width: 980px) {
    .QuestDetail_questHeader__FlWKK,
    .QuestDetail_questBody__5xNkL,
    .QuestDetail_questFooter__xP-s3 {
        width: clamp(700px, 60%, 900px);
    }
}

.QuestDetail_questCover__K0jLW {
    width: calc(100% - 10px);
    margin: 5px auto 0;
    border-radius: 36px 36px 0 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.QuestDetail_img__8HgC4 {
    background-size: cover;
    background-position: center;
    width: 100%;
}

.QuestDetail_img__8HgC4::before {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 56.25%;
}

.QuestDetail_cardHeader__17P83 {
    padding: 20px 40px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
}

.QuestDetail_cardHeader__17P83::before {
    content: "";
    display: block;
    background: linear-gradient(to bottom, #e0b36600 0%, #3c3665 50%, #282441 100%); /*線性*/
    width: 100%;
    height: 200%;
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: 0;
}

.QuestDetail_avatarSection__SjPq7 {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 12px;
}

.QuestDetail_decoTitle__zpgOU {
    margin-bottom: 15px;
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    color: rgba(176, 147, 255, 0.9);
    color: #fff;
}

.QuestDetail_decoTitle__zpgOU strong {
    padding: 2px 10px;
    border-radius: 20px;
    background-color: rgba(125, 78, 255, 0.9);
    color: #fff;
}

.QuestDetail_decoTitle__zpgOU::before,
.QuestDetail_decoTitle__zpgOU::after {
    content: "";
    flex: 1 1;
    height: 1px;
    background: linear-gradient(to left, #d2eaf5, transparent);
}

.QuestDetail_decoTitle__zpgOU::after {
    background: linear-gradient(to right, #d2eaf5, transparent);
}

.QuestDetail_gamePool__mhC1Q {
    padding: 10px 5%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: stretch;
}

.QuestDetail_avatar__I0j90 {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    margin: 5px auto;
    box-shadow: 0 0 20px rgba(89, 156, 255, 0.5);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.QuestDetail_creatorInfo__e5r2z {
    display: flex;
    flex-direction: column;
}

.QuestDetail_creatorName__fd-xh {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.QuestDetail_timestamp__uJpGg {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    display: block;
    width: 100%;
}

.QuestDetail_questTitle__bIfBw {
    margin: 10px 0;
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.QuestDetail_cardContent__C2Wd1 {
    flex: 1 1;
    padding: 20px;
    overflow-y: auto;
    position: relative;
}

.QuestDetail_cardContent__C2Wd1::-webkit-scrollbar {
    width: 6px;
}

.QuestDetail_cardContent__C2Wd1::-webkit-scrollbar-track {
    background: transparent;
}

.QuestDetail_cardContent__C2Wd1::-webkit-scrollbar-thumb {
    background-color: rgba(162, 150, 255, 0.5);
    border-radius: 3px;
}

.QuestDetail_descriptionSection__ANYYX {
    margin-bottom: 20px;
}

.QuestDetail_description__vLeig {
    white-space: pre-wrap;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

.QuestDetail_rewardSection__3vKg3 {
    margin-bottom: 20px;
}

.QuestDetail_rewardBadge__6-PWY {
    display: inline-flex;
    align-items: center;
    padding: 3px 20px;
    border-radius: 40px;
    border: 1px solid #a586d6;
    background: linear-gradient(to bottom, #7e5bb7 0%, #543093 50%, #2d1a51 50.1%, #543093 100%);
    color: #c9a9ff;
    box-shadow: 0 0 15px 5px rgba(84, 48, 147, 0.5);
    text-shadow: 0 0 5px rgba(201, 169, 255, 0.7);
    transition: all 0.3s ease;
}

.QuestDetail_rewardBadge__6-PWY:hover {
    box-shadow: 0 0 20px 8px rgba(84, 48, 147, 0.7);
}

.QuestDetail_rewardIcon__2aGuh {
    margin-right: 8px;
    font-size: 1.2rem;
    color: #d4baff;
}

.QuestDetail_rewardAmount__aMsdF {
    color: #f1e9ff;
    font-weight: 600;
}

.QuestDetail_gameCard__LVduP {
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.QuestDetail_gameCover__kS94a {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.QuestDetail_gameInfo__pzObF {
    padding: 16px;
}

.QuestDetail_gameTitle__aA2wn {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.QuestDetail_gameDescription__\+E4YW {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.4;
}

.QuestDetail_participantsSection__B\+rlC {
    margin-top: 20px;
}

.QuestDetail_sectionTitle__IcKf9 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.QuestDetail_participantsList__eLYSP {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.QuestDetail_participantItem__MIdfh {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    /* background: rgba(255, 255, 255, 0.1); */
    /* border-radius: 16px; */

    width: 100%;
    justify-content: space-between;
}

.QuestDetail_participantName__84sEW {
    color: rgba(255, 255, 255, 0.9);
}

.QuestDetail_statusBadge__6Odo5 {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.QuestDetail_statusBadge__6Odo5.QuestDetail_completed__8j5oq {
    background: rgba(30, 142, 62, 0.2);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.QuestDetail_statusBadge__6Odo5.QuestDetail_in_progress__q9SKw {
    background: rgba(249, 168, 37, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.QuestDetail_questFooter__xP-s3 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 16px;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 5;
    padding-bottom: 25px;
}
@media (min-width: 1500px) {
    .QuestDetail_questFooter__xP-s3 {
        gap: 30px;
    }
}
.QuestDetail_actionButton__cRmjr {
    min-width: 120px;
    padding: 12px 28px 10px;
    border-radius: 16px;
    height: 60px;
    font-weight: 600;
    text-align: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(0);
    transition: all 0.2s ease;
    background: linear-gradient(to bottom, #6e6e6e 0%, #5c5c5c 50%, #4a4a4a 100%);
    border: 1px solid #8a8a8a;
    box-shadow: 0 0 20px rgba(100, 100, 100, 0.6), 0 0 40px rgba(100, 100, 100, 0.3);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}

.QuestDetail_actionButton__cRmjr span {
    color: #eee;
    font-family: var(--font-default);
    font-size: 1.25em;
    letter-spacing: 0.5px;
}

.QuestDetail_actionButton__cRmjr:hover {
    color: #fff;
    transform: translateY(-2px);
}

.QuestDetail_actionButton__cRmjr:hover span {
    color: #fff;
}

@keyframes QuestDetail_pulse__HsdEv {
    0% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.4);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.3);
    }
}

.QuestDetail_actionButton__cRmjr.QuestDetail_animated__EGoWj {
    animation: QuestDetail_pulse__HsdEv 2s infinite;
}
/* 
.joinButtonCustom:hover {
    background: linear-gradient(to bottom, #ffe45c 0%, #ffd700 50%, #ffc100 100%);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.8), 0 0 50px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
    color: #222;
}

.joinButtonCustom:active {
    transform: translateY(1px);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    background: linear-gradient(to bottom, #ffc100 0%, #e6a800 50%, #cc9700 100%);
}

.joinButtonCustom {
    background: linear-gradient(to bottom, #ffd700 0%, #ffc100 50%, #e6a800 100%);
    border: 1px solid #ffe45c;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.3);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
    font-weight: bold;
}

.joinButtonCustom span {
    font-weight: bold;
    color: #222;
}

.joinButtonCustom:hover span {
    color: #222;
} */

.QuestDetail_leaveButtonCustom__NK8PA {
    background: linear-gradient(to bottom, #ff4d4d 0%, #e60000 50%, #b30000 100%);
    border: 1px solid #ff6666;
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.6), 0 0 40px rgba(255, 0, 0, 0.3);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.QuestDetail_leaveButtonCustom__NK8PA span {
    font-weight: bold;
    color: #fff;
}

.QuestDetail_leaveButtonCustom__NK8PA:hover {
    color: #fff;
    transform: translateY(-2px);
}

.QuestDetail_editButtonCustom__\+9uuL {
    background-color: #2196f3;
    color: white;
}

.QuestDetail_deleteButtonCustom__x0qsf {
    background-color: #d32f2f;
    color: white;
}

.QuestDetail_leaveButtonCustom__NK8PA:hover span {
    color: #fff;
}

.QuestDetail_actionButton__cRmjr[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.QuestDetail_modalContent__PrrTg {
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.QuestDetail_modalActions__pTEAR {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.QuestDetail_cancelButton__r9zMm {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.QuestDetail_confirmButton__Lr6qg {
    padding: 8px 16px;
    border: 1px solid #ff4d4f;
    border-radius: 4px;
    background: #ff4d4f;
    color: white;
    cursor: pointer;
}

.QuestDetail_cancelButton__r9zMm:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.QuestDetail_confirmButton__Lr6qg:hover {
    background: #ff7875;
    border-color: #ff7875;
}

.QuestDetail_userStatus__wXrJ1 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.QuestDetail_statusLabel__4RYHN {
    color: rgba(255, 255, 255, 0.7);
}

.QuestDetail_closeButton__WOUQJ {
    position: absolute;
    top: 70px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    font-size: 1.2rem;
    z-index: 10;
}

.QuestDetail_closeButton__WOUQJ:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 1);
}

.QuestDetail_completionDetails__9nscB {
    display: flex;
    align-items: center;
    gap: 8px;
}

.QuestDetail_completionScore__LjcpU {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25em;
    text-shadow: #cef 0px 0px 5px, #4d5b90 0px 0px 10px, #4778ab 0px 0px 15px, #9cdbf6 0px 0px 20px;
    font-size: 1.25em;
}

.QuestDetail_notFoundMessage__2GXlR {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.QuestDetail_notFoundMessage__2GXlR h2 {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.QuestDetail_notFoundMessage__2GXlR p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.QuestDetail_questEnd__L-QGD {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    padding: 12px 20px;
    border-radius: 12px;
    background: linear-gradient(to bottom, rgba(80, 80, 80, 0.3) 0%, rgba(60, 60, 60, 0.4) 50%, rgba(40, 40, 40, 0.5) 100%);
    border: 1px solid rgba(100, 100, 100, 0.3);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.QuestDetail_questEnd__L-QGD p {
    color: rgba(200, 200, 200, 0.7);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.QuestDetail_remainTime__ORSsu {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    padding: 12px 20px;
    border-radius: 12px;
    background: linear-gradient(to bottom, rgba(255, 184, 76, 0.3) 0%, rgba(255, 153, 0, 0.4) 50%, rgba(204, 122, 0, 0.5) 100%);
    border: 1px solid rgba(255, 184, 76, 0.4);
    box-shadow: 0 0 15px rgba(255, 153, 0, 0.4);
    font-family: "Quantico", sans-serif;
}

.QuestDetail_remainTime__ORSsu p {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.QuestDetail_remainLabel__0yh-n {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.QuestDetail_remainTime__ORSsu span.QuestDetail_remainTime__ORSsu {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    animation: QuestDetail_pulseText__1udbH 2s infinite;
}

.QuestDetail_remainTimeValue__cf2yl {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 20px rgba(255, 215, 0, 0.5);
    animation: QuestDetail_pulseText__1udbH 2s infinite;
}

@keyframes QuestDetail_pulseText__1udbH {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 15px rgba(255, 215, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.9), 0 0 25px rgba(255, 215, 0, 0.8);
    }
    100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 15px rgba(255, 215, 0, 0.5);
    }
}

.QuestDetail_shareButtonCustom__\+7u86 {
    min-width: 60px;
    padding: 12px 28px 10px;
    border-radius: 16px;
    height: 60px;
    font-weight: 600;
    text-align: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(0);
    transition: all 0.2s ease;
    background: linear-gradient(to bottom, #6e6e6e 0%, #5c5c5c 50%, #4a4a4a 100%);
    border: 1px solid #8a8a8a;
    box-shadow: 0 0 20px rgba(100, 100, 100, 0.6), 0 0 40px rgba(100, 100, 100, 0.3);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}

.QuestDetail_shareButtonCustom__\+7u86 .QuestDetail_shareIcon__LCLeJ {
}

.QuestDetail_shareButtonCustom__\+7u86 span {
    color: #eee;
    font-family: var(--font-default);
    font-size: 1.25em;
    font-weight: normal;
    letter-spacing: 0.5px;
    display: none;
}

.QuestDetail_shareButtonCustom__\+7u86:hover {
    color: #fff;
    transform: translateY(-2px);
}

.QuestDetail_shareButtonCustom__\+7u86:hover span {
    color: #fff;
}

/* Quest Ranking Styles */
.QuestDetail_questRankingContainer__k2ToU {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* .questContainer {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(10px);
} */

.QuestDetail_cardHeader__17P83 {
    margin-bottom: 30px;
    text-align: center;
}

.QuestDetail_questTitle__bIfBw {
    font-size: clamp(24px, 3.5vh, 48px);
    color: #ffffff;
    margin: 0;
    padding: 30px 0 10px;
    font-weight: 500;

    text-shadow: #cef 0px 0px 5px, #4d5b90 0px 0px 10px, #4778ab 0px 0px 15px, #9cdbf6 0px 0px 20px;
}

.QuestDetail_rankingHeader__kQFGW {
    text-align: center;

    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.QuestDetail_rankingHeader__kQFGW p {
    font-size: 18px;
    color: #ffffff;
    margin: 0;
}

.QuestDetail_rankingList__60YH9 {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-family: "Quantico", "Noto Sans TC", "PingFang", "PingFangTC", sans-serif;
}

.QuestDetail_rankingItem__Z7zGz {
    display: flex;
    background: linear-gradient(to bottom, rgba(8, 36, 38, 0.4) 0%, rgba(31, 66, 61, 0.5) 50%, rgba(2, 14, 15, 0.55) 100%);
    align-items: center;

    position: relative;
    padding: 0 15px;
}
@media (min-width: 740px) {
    .QuestDetail_rankingItem__Z7zGz {
        padding-left: 25px;
    }
}
@media (min-width: 740px) and (min-height: 800px) and (orientation: landscape) {
    .QuestDetail_rankingItem__Z7zGz {
        min-height: 50px;
    }
}
.QuestDetail_rankingItem__Z7zGz.QuestDetail_currentUser__JQZum {
    background: linear-gradient(to right, rgba(124, 98, 198, 0.4), rgba(147, 112, 219, 0.3));
    border: 2px solid rgba(147, 112, 219, 0.8);
    box-shadow: 0 0 20px rgba(124, 98, 198, 0.4), inset 0 0 10px rgba(147, 112, 219, 0.2);
    transform: scale(1.02);
    position: relative;
}

.QuestDetail_rankingItem__Z7zGz.QuestDetail_currentUser__JQZum::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 12px;
    background: linear-gradient(45deg, rgba(124, 98, 198, 0.5), rgba(147, 112, 219, 0.5), rgba(124, 98, 198, 0.5));
    z-index: -1;
    animation: QuestDetail_borderGlow__x2fMh 2s ease-in-out infinite;
}

@keyframes QuestDetail_borderGlow__x2fMh {
    0% {
        opacity: 0.5;
        box-shadow: 0 0 10px rgba(124, 98, 198, 0.3);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(147, 112, 219, 0.5);
    }
    100% {
        opacity: 0.5;
        box-shadow: 0 0 10px rgba(124, 98, 198, 0.3);
    }
}

.QuestDetail_rankingItem__Z7zGz:hover {
    background: rgba(255, 255, 255, 0.1);
}

.QuestDetail_rankingItem__Z7zGz.QuestDetail_currentUser__JQZum:hover {
    background: linear-gradient(to right, rgba(124, 98, 198, 0.5), rgba(147, 112, 219, 0.4));
    box-shadow: 0 0 25px rgba(124, 98, 198, 0.5), inset 0 0 15px rgba(147, 112, 219, 0.3);
}

.QuestDetail_rankNumber__2j9IP {
    font-size: 20px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 20px;
    min-width: 70px;
}

@media screen and (max-width: 739px) {
    .QuestDetail_rankingItem__Z7zGz:nth-of-type(1) .QuestDetail_rankNumber__2j9IP {
        background: linear-gradient(to bottom, rgba(249, 202, 17, 0.7) 0%, rgb(255, 231, 134) 50%, rgba(249, 202, 17, 0.7) 100%);
        color: rgb(82, 77, 59);
    }
    .QuestDetail_rankingItem__Z7zGz:nth-of-type(2) .QuestDetail_rankNumber__2j9IP {
        background: linear-gradient(to bottom, rgba(113, 121, 126, 0.9) 0%, rgba(192, 192, 192, 0.8) 50%, rgba(113, 121, 126, 0.9) 100%);
        color: rgb(68, 81, 89);
    }
    .QuestDetail_rankingItem__Z7zGz:nth-of-type(3) .QuestDetail_rankNumber__2j9IP {
        background: linear-gradient(to bottom, rgba(105, 64, 7, 0.8) 0%, rgba(227, 145, 62, 0.8) 50%, rgba(105, 64, 7, 0.8) 100%);
        color: rgb(81, 47, 0);
    }
}
@media screen and (min-width: 740px) {
    .QuestDetail_rankingItem__Z7zGz:nth-of-type(1)::before,
    .QuestDetail_rankingItem__Z7zGz:nth-of-type(2)::before,
    .QuestDetail_rankingItem__Z7zGz:nth-of-type(3)::before {
        content: "";
        display: block;
        position: absolute;
        width: 5px;
        height: 100%;
        left: 0;
        top: 0;
    }
    .QuestDetail_rankingItem__Z7zGz:nth-of-type(1) .QuestDetail_rankNumber__2j9IP {
        background: linear-gradient(to bottom, rgba(249, 202, 17, 1) 0%, rgb(255, 231, 134) 50%, rgba(249, 202, 17, 1) 100%);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        font-size: 26px;
    }
    .QuestDetail_rankingItem__Z7zGz:nth-of-type(1)::before {
        background: linear-gradient(to bottom, rgba(249, 202, 17, 0.7) 0%, rgb(255, 231, 134) 50%, rgba(249, 202, 17, 0.7) 100%);
    }
    .QuestDetail_rankingItem__Z7zGz:nth-of-type(2) .QuestDetail_rankNumber__2j9IP {
        background: linear-gradient(to bottom, rgba(175, 187, 195, 0.9) 0%, rgba(236, 236, 236, 0.8) 50%, rgb(156, 165, 170) 100%);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        font-size: 24px;
    }
    .QuestDetail_rankingItem__Z7zGz:nth-of-type(2)::before {
        background: linear-gradient(to bottom, rgba(113, 121, 126, 0.9) 0%, rgba(192, 192, 192, 0.8) 50%, rgba(113, 121, 126, 0.9) 100%);
    }
    .QuestDetail_rankingItem__Z7zGz:nth-of-type(3) .QuestDetail_rankNumber__2j9IP {
        background: linear-gradient(to bottom, rgba(132, 78, 23, 0.8) 0%, rgba(255, 173, 91, 0.8) 50%, rgba(166, 103, 40, 0.8) 100%);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        font-size: 22px;
    }
    .QuestDetail_rankingItem__Z7zGz:nth-of-type(3)::before {
        background: linear-gradient(to bottom, rgba(105, 64, 7, 0.8) 0%, rgba(227, 145, 62, 0.8) 50%, rgba(105, 64, 7, 0.8) 100%);
    }
}

/* 參與者項目樣式覆蓋 */
.QuestDetail_participantItem__MIdfh {
    display: flex;
    align-items: center;
    flex: 1 1;
    color: #ffffff;
}

.QuestDetail_participantName__84sEW {
    font-size: 16px;
    color: #ffffff;
    margin-right: 15px;
}

.QuestDetail_statusBadge__6Odo5 {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    margin: 0 10px;
}

.QuestDetail_statusBadge__6Odo5.QuestDetail_completed__8j5oq {
    background: rgba(46, 213, 115, 0.2);
    color: #2ed573;
}

.QuestDetail_statusBadge__6Odo5.QuestDetail_joined__8Quq0 {
    background: rgba(86, 128, 233, 0.2);
    color: #5680e9;
}

.QuestDetail_completionDetails__9nscB {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 學習歷程按鈕樣式 */
.QuestDetail_completionDetails__9nscB button {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.QuestDetail_completionDetails__9nscB button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* 查看排行榜按鈕樣式 */
.QuestDetail_viewRankingButton__k---o {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(74, 144, 226, 0.2);
    color: #ffffff;
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.QuestDetail_viewRankingButton__k---o:hover {
    background: rgba(74, 144, 226, 0.3);
    border-color: rgba(74, 144, 226, 0.4);
}

.QuestDetail_viewMoreSection__Rxk4J {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.QuestDetail_progressGrid__Zu6IR {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 10px 0;
}

.QuestDetail_progressHeader__D96DN {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    white-space: nowrap;
}

.QuestDetail_progressBoxes__lh2HH {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.QuestDetail_progressBox__hP9VE {
    /* width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px; */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;

    margin: 0 2px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 30px;
    border-radius: 8px;
    padding: 0;
    width: 40px;
    font-size: 0.875em;
    font-family: "apparat", sans-serif;
    line-height: 1;
    font-weight: normal;
}

.QuestDetail_progressBox__hP9VE::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.QuestDetail_progressBox__hP9VE:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: 125%;
}

.QuestDetail_progressBox__hP9VE.QuestDetail_completed__8j5oq {
    /* background: rgba(255, 215, 0, 0.3); */
    border-color: #2fc1fb;
}

.QuestDetail_progressBox__hP9VE.QuestDetail_current__Aq5rX {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.QuestDetail_progressBox__hP9VE:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 221, 255, 0.5);
}

.QuestDetail_progressBox__hP9VE.QuestDetail_completed__8j5oq:hover {
    background: #2fc1fb;
}

.QuestDetail_progressBox__hP9VE span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 0) and (max-width: 739px) {
    .QuestDetail_rankingItem__Z7zGz {
        position: relative;
        padding-left: 80px;
        overflow: hidden;
    }
    .QuestDetail_participantItem__MIdfh {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 10px;
        padding-bottom: 10px;
        position: relative;
    }
    .QuestDetail_progressGrid__Zu6IR {
        margin: 0;
    }
    .QuestDetail_completionScore__LjcpU {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.25em;
        text-shadow: #cef 0px 0px 5px, #4d5b90 0px 0px 10px, #4778ab 0px 0px 15px, #9cdbf6 0px 0px 20px;
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        display: flex;
        align-items: center;
    }
    .QuestDetail_rankNumber__2j9IP {
        position: absolute;
        width: 70px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        background: linear-gradient(to bottom, rgba(133, 194, 220, 0.5) 0%, rgba(175, 214, 224, 0.8) 50%, rgba(94, 192, 201, 0.3) 100%);
        left: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        color: #10303d;
        text-align: center;
        justify-content: center;
    }
}

.Sdgs_btnSystem__qvMGN {
    border: none;
    background: none;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    border-radius: 0;
    align-items: center;
    box-sizing: border-box;
    padding: 0;
    display: inline-flex;
    background: transparent;
    position: relative;
    overflow: visible;
    height: -webkit-max-content;
    height: max-content;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    width: -webkit-max-content;
    width: max-content;
    margin: 0;
    font-family: "Quantico", "Noto Sans TC", "PingFang", "PingFangTC", "Microsoft JhengHei", Helvetica, Arial, sans-serif;
    font-size: 1em;
    isolation: isolate;
    background-color: rgba(5, 22, 35, 0.2);
    transition-property: color, background-color;
    border: none;
    padding: 0;
    -webkit-backdrop-filter: blur(15px);
            backdrop-filter: blur(15px);
}
@media (min-width: 740px) and (min-height: 800px) and (orientation: landscape) {
    .Sdgs_btnSystem__qvMGN {
        font-size: 1.125em;
    }
}
.Sdgs_btnSystem__qvMGN .Sdgs_icon__gVVew {
    margin: -1px 4px 0;
}
.Sdgs_btnSystem__qvMGN .Sdgs_icon__gVVew:before {
    background-color: #b0f7ff;
    width: 20px;
    height: 20px;
}
@media (min-width: 740px) and (min-height: 800px) and (orientation: landscape) {
    .Sdgs_btnSystem__qvMGN .Sdgs_icon__gVVew:before {
        width: 24px;
        height: 24px;
    }
}
.Sdgs_btnSystem__qvMGN span {
    display: flex;
    padding: 0;
    box-sizing: border-box;
    color: #fff;
    line-height: 1.125em;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-property: color, background-color, text-shadow;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    z-index: 1;
    width: -webkit-max-content;
    width: max-content;
    height: 38px;
    letter-spacing: 1px;
    padding-left: 1em;
    padding-right: 1em;
    text-shadow: #cef 0px 0px 5px, #4d5b90 0px 0px 10px, #4778ab 0px 0px 15px, #9cdbf6 0px 0px 20px;
    position: relative;
    isolation: isolate;
    background: linear-gradient(to bottom, rgba(176, 247, 255, 0), rgba(176, 247, 255, 0.1), rgba(176, 247, 255, 0));
}
.Sdgs_btnSystem__qvMGN span:before,
.Sdgs_btnSystem__qvMGN span:after {
    content: "";
    display: block;
    width: calc(50% + 0.1px);
    height: 100%;
    background: linear-gradient(to bottom, rgba(176, 247, 255, 0.8), rgba(176, 247, 255, 0.2) 50%, rgba(176, 247, 255, 0.5) 100%);
    position: absolute;
    top: 0;
    box-sizing: border-box;
    transition: opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-clip-path 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), clip-path 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), clip-path 0.25s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-clip-path 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
    z-index: -1;
}
.Sdgs_btnSystem__qvMGN span:before {
    left: 0;
    -webkit-clip-path: inset(100% 0 0 0);
            clip-path: inset(100% 0 0 0);
}
.Sdgs_btnSystem__qvMGN span:after {
    right: 0;
    -webkit-clip-path: inset(0% 0% 100% 0%);
            clip-path: inset(0% 0% 100% 0%);
}
@media (min-width: 740px) and (min-height: 800px) and (orientation: landscape) {
    .Sdgs_btnSystem__qvMGN span {
        height: 48px;
        padding-left: 1.5em;
        padding-right: 1.5em;
    }
}
.Sdgs_btnSystem__qvMGN:before,
.Sdgs_btnSystem__qvMGN:after {
    content: "";
    display: block;
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 2;
    border: 2px solid rgba(176, 247, 255, 0.8);
    box-sizing: border-box;
    transition: all 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-property: transform, opacity, border-color, box-shadow, -webkit-clip-path;
    transition-property: transform, opacity, border-color, clip-path, box-shadow;
    transition-property: transform, opacity, border-color, clip-path, box-shadow, -webkit-clip-path;
}
.Sdgs_btnSystem__qvMGN:before {
    left: 0;
    border-right: none;
    transform-origin: left center;
    -webkit-clip-path: inset(0% calc(100% - 10px) 0% 0%);
            clip-path: inset(0% calc(100% - 10px) 0% 0%);
}
.Sdgs_btnSystem__qvMGN:after {
    right: 0;
    border-left: none;
    transform-origin: right center;
    -webkit-clip-path: inset(0% 0% 0% calc(100% - 10px));
            clip-path: inset(0% 0% 0% calc(100% - 10px));
}

@media (min-width: 740px) {
    .Sdgs_btnSystem__qvMGN.Sdgs_large__MjDAo {
        font-size: 1.125em;
    }
}
@media (min-width: 740px) and (min-height: 800px) and (orientation: landscape) {
    .Sdgs_btnSystem__qvMGN.Sdgs_large__MjDAo {
        font-size: 1.5em;
    }
}
@media (min-width: 740px) and (min-height: 800px) and (orientation: landscape) {
    .Sdgs_btnSystem__qvMGN.Sdgs_large__MjDAo .Sdgs_icon__gVVew:before {
        width: 30px;
        height: 30px;
    }
}
@media (min-width: 740px) {
    .Sdgs_btnSystem__qvMGN.Sdgs_large__MjDAo span {
        padding-left: 1.5em;
        padding-right: 1.5em;
        height: 48px;
    }
}
@media (min-width: 740px) and (min-height: 800px) and (orientation: landscape) {
    .Sdgs_btnSystem__qvMGN.Sdgs_large__MjDAo span {
        height: 60px;
    }
}
.Sdgs_btnSystem__qvMGN.Sdgs_--disabled__AWKz\+,
.Sdgs_btnSystem__qvMGN.Sdgs_--locked__IjbeN {
    cursor: not-allowed;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    filter: grayscale(1);
}
.Sdgs_btnSystem__qvMGN.Sdgs_--disabled__AWKz\+:before,
.Sdgs_btnSystem__qvMGN.Sdgs_--disabled__AWKz\+:after,
.Sdgs_btnSystem__qvMGN.Sdgs_--locked__IjbeN:before,
.Sdgs_btnSystem__qvMGN.Sdgs_--locked__IjbeN:after {
    border-color: #666;
    opacity: 0.6;
}
.Sdgs_btnSystem__qvMGN.Sdgs_--disabled__AWKz\+ span,
.Sdgs_btnSystem__qvMGN.Sdgs_--locked__IjbeN span {
    color: #999;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.6);
}
.Sdgs_btnSystem__qvMGN.Sdgs_--disabled__AWKz\+ span:before,
.Sdgs_btnSystem__qvMGN.Sdgs_--disabled__AWKz\+ span:after,
.Sdgs_btnSystem__qvMGN.Sdgs_--locked__IjbeN span:before,
.Sdgs_btnSystem__qvMGN.Sdgs_--locked__IjbeN span:after {
    opacity: 0.4;
}
.Sdgs_btnSystem__qvMGN:active {
    transform: translateY(2px);
}
@media (hover: hover) {
    .Sdgs_btnSystem__qvMGN:hover:before,
    .Sdgs_btnSystem__qvMGN:hover:after {
        -webkit-clip-path: inset(0 0 0 0);
                clip-path: inset(0 0 0 0);
        border-color: #b0f7ff;
        transform: none;
    }
    .Sdgs_btnSystem__qvMGN:hover .Sdgs_icon__gVVew:before {
        background-color: #fff;
    }
    .Sdgs_btnSystem__qvMGN:hover span {
        text-shadow: none;
        text-shadow: initial;
    }
    .Sdgs_btnSystem__qvMGN:hover span:before,
    .Sdgs_btnSystem__qvMGN:hover span:after {
        transition-delay: 0.25s;
        -webkit-clip-path: inset(0 0 0 0);
                clip-path: inset(0 0 0 0);
    }
}
@media (hover: none) {
    .Sdgs_btnSystem__qvMGN:active:before,
    .Sdgs_btnSystem__qvMGN:active:after {
        -webkit-clip-path: inset(0 0 0 0);
                clip-path: inset(0 0 0 0);
        border-color: #b0f7ff;
    }
    .Sdgs_btnSystem__qvMGN:active span {
        text-shadow: none;
        text-shadow: initial;
    }
    .Sdgs_btnSystem__qvMGN:active span:before,
    .Sdgs_btnSystem__qvMGN:active span:after {
        transition-delay: 0.25s;
        -webkit-clip-path: inset(0 0 0 0);
                clip-path: inset(0 0 0 0);
    }
}
/*警示*/
.Sdgs_btnSystem__qvMGN.Sdgs_leaveButtonCustom__XHdmp span {
    color: #fff;
    text-shadow: #fcc 0px 0px 5px, #904d4d 0px 0px 10px, #ab4747 0px 0px 15px, #f69c9c 0px 0px 20px;
    background: linear-gradient(to bottom, rgba(255, 176, 176, 0), rgba(255, 176, 176, 0.1), rgba(255, 176, 176, 0));
}
.Sdgs_btnSystem__qvMGN.Sdgs_leaveButtonCustom__XHdmp span:before,
.Sdgs_btnSystem__qvMGN.Sdgs_leaveButtonCustom__XHdmp span:after {
    background: linear-gradient(to bottom, rgba(255, 176, 176, 0.8), rgba(255, 176, 176, 0.2) 50%, rgba(255, 176, 176, 0.5) 100%);
}

.Sdgs_btnSystem__qvMGN.Sdgs_leaveButtonCustom__XHdmp:before,
.Sdgs_btnSystem__qvMGN.Sdgs_leaveButtonCustom__XHdmp:after {
    border-color: rgba(255, 149, 149, 0.841);
}
@media (hover: hover) {
    .Sdgs_btnSystem__qvMGN.Sdgs_leaveButtonCustom__XHdmp:hover:before,
    .Sdgs_btnSystem__qvMGN.Sdgs_leaveButtonCustom__XHdmp:hover:after {
        border-color: rgba(255, 149, 149, 0.9);
    }
    .Sdgs_btnSystem__qvMGN.Sdgs_leaveButtonCustom__XHdmp:hover .Sdgs_icon__gVVew:before {
        background-color: #fff;
    }
}
@media (hover: none) {
    .Sdgs_btnSystem__qvMGN.Sdgs_leaveButtonCustom__XHdmp:active:before,
    .Sdgs_btnSystem__qvMGN.Sdgs_leaveButtonCustom__XHdmp:active:after {
        border-color: rgba(255, 149, 149, 0.9);
    }
}
/*tab系統*/
.Sdgs_switchContainer__TxCAG {
    display: flex;
}
.Sdgs_switchContainer__TxCAG > button {
    border: none;
    background: none;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    border-radius: 0;

    font-size: clamp(18px, 3vh, 48px);
    color: #fff;
    flex: 1 1;
    font-family: "Quantico", sans-serif;
    padding: 10px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
    position: relative;
    transition: all 0.35s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-property: text-shadow, background-color, -webkit-backdrop-filter;
    transition-property: text-shadow, backdrop-filter, background-color;
    transition-property: text-shadow, backdrop-filter, background-color, -webkit-backdrop-filter;
    overflow: hidden;
    text-shadow: #0e151d 0px 0px 5px, #1c2839 0px 0px 10px;
}
.Sdgs_switchContainer__TxCAG > button:before {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    border-top: 3px solid #fff;
    position: absolute;
    left: 0;
    top: 0;
    transition: transform 0.35s cubic-bezier(0.215, 0.61, 0.355, 1);
    transform-origin: center center;
    transform: scaleX(0);
}
@media (hover: hover) {
    .Sdgs_switchContainer__TxCAG > button:hover {
        text-shadow: #cef 0px 0px 5px, #4d5b90 0px 0px 10px, #4778ab 0px 0px 15px, #9cdbf6 0px 0px 20px;
    }
}
.Sdgs_switchContainer__TxCAG > button.Sdgs_activeButton__-hR5A {
    background-color: rgba(37, 47, 56, 0.4);
    background: linear-gradient(to top, rgba(37, 47, 56, 0.4), rgba(92, 110, 126, 0.4));
    text-shadow: #cef 0px 0px 5px, #4d5b90 0px 0px 10px, #4778ab 0px 0px 15px, #9cdbf6 0px 0px 20px;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}
.Sdgs_switchContainer__TxCAG > button.Sdgs_activeButton__-hR5A:before {
    transform: none;
}

.Sdgs_titleSection__jlD1G {
    color: #fff;
    font-size: clamp(18px, 3vh, 48px);
    text-shadow: #cef 0px 0px 5px, #4d5b90 0px 0px 10px, #4778ab 0px 0px 15px, #9cdbf6 0px 0px 20px;
}

.Sdgs_titleSection__jlD1G .Sdgs_badge__ZRmQF {
    padding: 0 1em;
    height: 1em;
    background-color: rgba(0, 0, 0, 0.1);
    box-shadow: #cef 0px 0px 5px, #4d5b90 0px 0px 10px, #4778ab 0px 0px 15px, #9cdbf6 0px 0px 20px;
    color: #fff;
    font-family: "Quantico", sans-serif;
    border: 1px solid #fff;
    text-shadow: none;
    text-shadow: initial;
    font-weight: bold;
    border-radius: 1em;
    margin-left: 1em;
    font-size: 0.8125em;
}

.GameCard_gameCard__GWGN6 {
    display: flex;
    background: var(--color-bg-post);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin: 6px;
    width: calc(33.33% - 12px); /* 每行顯示三個卡片 */
    min-width: 280px;
    max-width: 400px; /* 限制最大寬度 */
    flex-direction: column;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}
.GameCard_gameCard__GWGN6:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.GameCard_coverHolder__jAAX2 {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}
.GameCard_coverHolder__jAAX2::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.5));
    pointer-events: none;
}
.GameCard_textHolder__rMb9b {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.GameCard_desc__4F4r0 {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    line-height: 1.375em;
    -webkit-box-orient: vertical;
    color: rgba(255, 255, 255, 0.9); /* 淺色文字 */
    font-size: 0.875em;
    margin-top: 4px;
}

.GameCard_title__30pPw {
    font-size: 1em;
    line-height: 1.25em;
    color: #ffffff; /* 白色標題 */
    padding-bottom: calc(var(--gap) / 2);
    display: block;
    cursor: pointer;
    transition: color 0.2s ease;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.GameCard_title__30pPw span {
    display: inline-flex;
    background-color: var(--color-highlight-third);
    color: var(--color-bg-main);
    font-size: 0.6875em;
    vertical-align: middle;
    border-radius: 4px;
    padding: 3px 5px 2px;
    margin: -3px 0 0 5px;
    line-height: 1.125em;
    font-weight: bold;
}
.GameCard_coverImage__\+4IFO {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    cursor: pointer;
}
.GameCard_coverImage__\+4IFO:before {
    display: none; /* 移除原有的寬高比限制 */
}
.GameCard_coverHolder__jAAX2:hover .GameCard_coverImage__\+4IFO {
    transform: scale(1.1);
}

.GameCard_labelContainer__A\+kzk {
    padding-top: calc(var(--gap) / 2);
    padding-bottom: calc(var(--gap));
}
.GameCard_label__t8TgZ {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    padding: 2px 6px 0;
    height: 18px;
    box-sizing: border-box;
    color: var(--color-highlight-second);
    position: relative;
    border: 1px solid var(--color-highlight-third);
    border-radius: var(--rd-item);
    cursor: pointer;
    margin-right: 3px;
}

.GameCard_labelContainer__A\+kzk .GameCard_label__t8TgZ:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-main);
    position: absolute;
    left: 0;
    top: 0;
    border-radius: var(--rd-item);
    opacity: 0.2;
}
.GameCard_labelContainer__A\+kzk .GameCard_label__t8TgZ:hover {
    opacity: 0.8;
}

.GameCard_coverHolder__jAAX2,
.GameCard_title__30pPw,
.GameCard_desc__4F4r0 {
    cursor: pointer;
}

.GameCard_coverHolder__jAAX2:hover,
.GameCard_title__30pPw:hover,
.GameCard_desc__4F4r0:hover {
    opacity: 0.9;
}
.GameCard_count__Jj-r4 {
    font-size: 0.75em;
    opacity: 0.5;
}
@media (min-width: 0px) and (max-width: 700px) and (orientation: portrait) {
    .GameCard_gameCard__GWGN6 {
        width: 100%;
        max-width: 100%;
        margin: 6px 0;
    }

    .GameCard_coverHolder__jAAX2 {
        height: 140px;
    }

    .GameCard_title__30pPw {
        font-size: 0.9em;
    }

    .GameCard_desc__4F4r0 {
        font-size: 0.8em;
    }
}
@media (min-width: 701px) and (max-width: 1024px) {
    .GameCard_gameCard__GWGN6 {
        width: calc(50% - 12px); /* 平板上每行顯示兩個卡片 */
    }
}
@media (min-width: 1600px) and (min-height: 800px) {
    /* .textHolder {
        padding: 40px;
    } */
}

.GameCard_gameCard__GWGN6.GameCard_collection__3exq9 .GameCard_coverHolder__jAAX2 {
    position: relative;
    isolation: isolate;
}
/* .gameCard.collection .coverHolder:after {
    content: "";
    display: block;
    position: absolute;
    border: 1px solid var(--color-highlight-third);
    box-sizing: border-box;
}
.gameCard.collection .coverHolder:after {
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    border-radius: calc(var(--rd-area) * 0.8);
    left: 6px;
    top: 6px;
} */
.GameCard_gameAttachment__Hfcci {
    background-color: rgba(0, 123, 255, 0.05);
    border: 1px solid rgba(0, 123, 255, 0.1);
}
.GameCard_questAttachment__b4Fy\+ {
    background-color: rgba(76, 175, 80, 0.05);
    border: 1px solid rgba(76, 175, 80, 0.1);
}
.GameCard_learningJourneyAttachment__ssZSy {
    background-color: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.1);
}
.GameCard_urlAttachment__\+CRvj {
    background-color: rgba(0, 123, 255, 0.05);
    border: 1px solid rgba(0, 123, 255, 0.1);
}
.GameCard_otherAttachment__fNTej {
    background-color: rgba(0, 123, 255, 0.05);
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.GameCard_disabled__YNroY {
    opacity: 0.4;
    filter: grayscale(100%);
    pointer-events: none;
    cursor: not-allowed;
}

.GameCard_disabled__YNroY:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.GameCard_disabled__YNroY .GameCard_coverHolder__jAAX2:hover .GameCard_coverImage__\+4IFO {
    transform: none;
}

.GameCard_disabled__YNroY .GameCard_coverHolder__jAAX2,
.GameCard_disabled__YNroY .GameCard_title__30pPw,
.GameCard_disabled__YNroY .GameCard_desc__4F4r0 {
    cursor: not-allowed;
}

.QuestMenu_container__QyWFx {
    padding: 60px 20px 20px 20px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    position: relative;
}

.QuestMenu_section__IJkXd {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}
@media screen and (min-width: 740px) {
    .QuestMenu_container__QyWFx {
        padding: 80px 10% 5vh;
    }
    .QuestMenu_section__IJkXd {
        padding: 20px 40px;
    }
}
.QuestMenu_sectionHeader__qcMnl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-top: 10px;
}

.QuestMenu_sectionTitle__2QYmz {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.375em;
    margin: 0;
    color: #fff;
}

.QuestMenu_icon__pmcQ\+ {
    display: flex;
    align-items: center;
}

.QuestMenu_badge__He103 {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    margin-left: 10px;
}

.QuestMenu_questsGrid__z4Nzh {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 20px;
    gap: 20px;
    margin-top: 20px;
}

.QuestMenu_createButton__xZTpu {
    background: linear-gradient(45deg, #4caf50, #45a049);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.QuestMenu_createButton__xZTpu:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.QuestMenu_emptyState__Rr2b2 {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.6);
}

.QuestMenu_scrollContainer__KgzsI {
    position: relative;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 12px;
    gap: 12px;
}

.QuestMenu_questsScrollable__ACT78 {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.QuestMenu_questsScrollable__ACT78::-webkit-scrollbar {
    display: none;
}
@media screen and (min-width: 900px) {
    .QuestMenu_scrollContainer__KgzsI {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}
@media screen and (min-width: 1200px) {
    .QuestMenu_scrollContainer__KgzsI {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}
@media screen and (min-width: 1500px) {
    .QuestMenu_scrollContainer__KgzsI {
        grid-template-columns: repeat(5, 1fr);
        gap: 25px;
    }
}
@media screen and (min-width: 1800px) {
    .QuestMenu_scrollContainer__KgzsI {
        grid-template-columns: repeat(6, 1fr);
        gap: 25px;
    }
}

.QuestBTN_taskCard__3uSAC {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    background: linear-gradient(135deg, #c6a353 0%, #b89444 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.QuestBTN_joinedCard__o8PXq {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
}

.QuestBTN_joinedCard__o8PXq::before {
    border-color: #a8d8ff;
}

.QuestBTN_joinedCard__o8PXq .QuestBTN_cardContent__30tav {
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0),
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.QuestBTN_joinedCard__o8PXq .QuestBTN_cardContent__30tav::before {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2) 0%, rgba(53, 122, 189, 0.1) 100%);
}

.QuestBTN_joinedCard__o8PXq .QuestBTN_participantsBar__4W-M6::before {
    background: linear-gradient(160deg, #2c5282 0%, #4a90e270 100%);
}

.QuestBTN_taskCard__3uSAC::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid #f8d687;
    border-radius: 6px;
    pointer-events: none; /* Makes sure clicks pass through to elements below */
    z-index: 3;
}

.QuestBTN_taskCard__3uSAC:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.QuestBTN_taskCard__3uSAC:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.QuestBTN_cardContent__30tav {
    flex: 1 1;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%), linear-gradient(315deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%);
    background-size: 100px 100px;
    position: relative;
    z-index: 2;
}

.QuestBTN_cardContent__30tav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(184, 134, 11, 0.1) 100%);
    z-index: 0;
    border-radius: 12px 12px 0 0;
}

.QuestBTN_title__l4bcb {
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #4b3800;
    z-index: 1;
    text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.4);
    max-height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.QuestBTN_joinedCard__o8PXq .QuestBTN_title__l4bcb {
    color: #133b6c;
}
.QuestBTN_joinedCard__o8PXq::before {
    border-color: rgb(119, 204, 226);
}
.QuestBTN_pointsBadge__8hUEc {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #794d1e 0%, #794d1e 50%, #2d1e07 50%, #603b1e 100%);
    color: #ecb636;
    border-radius: 20px;
    padding: 6px 18px;
    font-weight: bold;
    font-size: 20px;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 3px rgba(255, 255, 255, 0.1);
    display: none;
}

.QuestBTN_lightning__txBzc {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #eeba40;
    border-radius: 50%;
    margin-right: 8px;
    font-size: 14px;
    /* border: 1px solid rgba(255, 215, 0, 0.3); */
}

.QuestBTN_participantsBar__4W-M6 {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 10px 18px 10px;
    font-size: 16px;
    text-align: center;
    justify-content: center;
    z-index: 2;
    margin: 0 -8px -8px -8px;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.QuestBTN_participantsBar__4W-M6::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    height: 120%;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, #564727 0%, #8d754070 100%);
    z-index: -1;
    border-radius: 50%;
    width: 200%;
}

.QuestBTN_participantsCount__GhSUF {
    font-weight: 500;
    position: relative;
}
@media screen and (min-width: 740px) {
    .QuestBTN_taskCard__3uSAC {
        height: 18rem;
    }
    .QuestBTN_title__l4bcb {
        font-size: 20px;
    }
    .QuestBTN_taskCard__3uSAC::before {
        top: 8px;
        left: 8px;
        right: 8px;
        bottom: 8px;
        /* border-width: 2px; */
        border-radius: 8px;
    }
}

