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

/* 主容器設定 - 控制整體佈局和捲動 */
.Intro_gameIntroArea__7H8EH {
    position: relative;
    z-index: 1;
    padding: 50px;
    max-width: 100vw;
    height: 100svh;
    max-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: transparent;
    box-sizing: border-box;
    overflow: hidden;
}

/* 背景層 */
.Intro_backgroundLayer__mIJX2 {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.5)); /*圓形*/
    /* background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%); */
    /* clip-path: polygon(0 0, 50% 0, 40% 100%, 0% 100%); */
    z-index: 0;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

/* 內容層 */
.Intro_contentLayer__dRGCt {
    position: relative;
    z-index: 1;
    width: clamp(840px, 70vw, 1300px);
    display: flex;

    height: 100%;
    height: -webkit-max-content;
    height: max-content;
    box-sizing: border-box;
    /* padding: clamp(8px, 1vw, 12px); */
    padding: 12px;
    border-radius: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    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%);
    /* 加入藍色邊緣發光效果 */
    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);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6), inset 0 0 60px rgba(89, 107, 177, 0.08);
}

.Intro_contentLayer__dRGCt: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);
}

.Intro_infoHolder__WzqRT {
    padding: 20px;
}

.Intro_textHolder__rCq8V {
    /* margin-bottom: 25px; */
    color: #fff;
    color: var(--bg-primary);
    text-align: left;
    font-family: var(--font-default);
    font-size: 1em;
    line-height: 1.5em;
    text-align: center;
}

.Intro_textHolder__rCq8V p {
    /* font-family: var(--font-default); */
    width: 100%;
    font-size: 0.9375em;
    line-height: 1.5em;
    color: #fff;
    opacity: 0.8;

    margin: 10px auto;
}

/* .btn {
    composes: btn from btnStyles;
} */
.Intro_imgHolder__qNui\+ {
    flex: 1 1;
}
.Intro_imgHolder__qNui\+ .Intro_img__3OgQu {
    background-size: cover;
    border-radius: 30px;
    /* border: 1px solid var(--bg-primary); */
    border-top: none;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.Intro_imgHolder__qNui\+ .Intro_img__3OgQu:before {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 56.5%;
    /* padding-bottom: 75%; */
}
.Intro_subheading__5V8tz h3 {
    color: #a296ff;
    font-size: clamp(17px, 2.2vh, 22px);
    margin-bottom: 12px;
    /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); */
    letter-spacing: 0.01em;
    background: linear-gradient(to bottom, #a296ff 0%, #f1efff 50%, #a296ff 50%, #cac3ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.Intro_subtitle__wP7Nu {
    margin-bottom: 25px;
    /* font-family: "Nunito", sans-serif; */
    font-weight: bold;
    line-height: 1em;
    /* font-size: clamp(24px, 4.75vh, 80px); */
    font-size: clamp(24px, 3.75vh, 64px);
    color: #ffffff;
    text-shadow: 0 0 10px rgba(162, 150, 255, 0.5), 0 0 15px rgba(162, 150, 255, 0.3), 0 0 20px rgba(162, 150, 255, 0.1);
}

/* 分隔線 */
.Intro_subtitle__wP7Nu::after {
    content: "";
    display: block;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(241, 236, 255, 0.5), transparent);
    margin-top: 20px;
}

.Intro_btnHolder__rvbnk {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    z-index: 10;
}

/* 學習統計容器 - 控制統計資訊的外觀 */
.Intro_learningStatsContainer__9CH0G {
    /* width: clamp(320px, 70%, 420px); */
    width: 100%;
    /* backdrop-filter: blur(8px); */
    /* background: rgba(99, 99, 99, 0.08); */
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    margin-top: auto;
    border-radius: 12px;
    /* padding: 10px; */

    margin: 0 auto 25px;
    box-sizing: border-box;
}
/* 統計網格 - 控制統計項目的排列 */
.Intro_statsGrid__VepNJ {
    display: grid;
    grid-template-columns: repeat(3, 0.8fr); /* 3列等寬排列 */
    margin-bottom: 2px;
    grid-gap: 6px;
    gap: 6px; /* 如需調整格線間距，修改 gap 值 */
}
/* 統計項目 - 控制單個統計項目的外觀 */
.Intro_statItem__ZZRHL {
    text-align: center;
    padding: 5px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column-reverse;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
/* 統計項目懸停效果 - 控制懸停時的樣式 */
.Intro_statItem__ZZRHL:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.08);
}

.Intro_statValue__36uC5 {
    font-size: 20px;
    font-family: var(--font-default);
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
    line-height: 1em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.Intro_statLabel__fllNA {
    color: #a296ff;
    font-size: 12px;
}

.Intro_learningProgress__xMeW- {
    padding-top: 8px;
    margin-top: 4px;
}

.Intro_progressTitle__hygwc {
    color: #a296ffd1;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 6px;
}

.Intro_progressContent__VugGF {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    line-height: 1.4;
    white-space: pre-wrap;
}

@media (min-width: 701px) {
    .Intro_gameIntroArea__7H8EH {
        padding: 10vh 25px;
    }
}
@media (min-width: 701px) and (orientation: landscape) {
    .Intro_textHolder__rCq8V {
        text-align: left;
    }
    .Intro_statItem__ZZRHL {
        /* text-align: center;
        padding: 5px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 6px;
        transition: all 0.2s ease;
        display: flex; */
        justify-content: space-between;
        align-items: center;
        flex-direction: row-reverse;
        padding: 6px 10px;
    }
    .Intro_imgHolder__qNui\+ .Intro_img__3OgQu:before {
        padding-bottom: 75%;
    }
    .Intro_infoHolder__WzqRT {
        flex: 1 1;
        padding-left: clamp(30px, 2vw, 50px);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}
@media (min-width: 701px) and (max-width: 1200px) and (orientation: portrait) {
    .Intro_infoHolder__WzqRT {
        padding-bottom: 20px;
    }
    .Intro_imgHolder__qNui\+ {
        margin-bottom: 25px;
    }
    .Intro_gameIntroArea__7H8EH {
        padding: 50px;
    }
    .Intro_contentLayer__dRGCt {
        width: 70%;
        padding: clamp(8px, 1vh, 15px);
        flex-direction: column;
    }
    .Intro_subtitle__wP7Nu {
        font-size: 2em;
    }
    .Intro_btnHolder__rvbnk {
        justify-content: center;
    }
}
@media (max-width: 700px) {
    .Intro_infoHolder__WzqRT {
        padding: 0 10px 10px;
    }
    .Intro_imgHolder__qNui\+ {
        margin-bottom: 25px;
    }
    .Intro_gameIntroArea__7H8EH {
        padding: 60px 25px 72px;
        /* position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      background: transparent; */
    }
    .Intro_subtitle__wP7Nu {
        font-size: 1.5em;
        margin-bottom: 10px;
    }
    .Intro_subtitle__wP7Nu::after {
        margin-top: 10px;
    }

    .Intro_backgroundLayer__mIJX2 {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .Intro_contentLayer__dRGCt {
        flex-direction: column;
        width: 100%;
        padding: clamp(3px, 2vh, 8px);
        border-radius: 30px;
    }
    .Intro_learningProgress__xMeW- {
        display: none;
    }
    .Intro_textHolder__rCq8V {
        margin-bottom: clamp(20px, 4vh, 60px);
    }

    .Intro_textHolder__rCq8V p {
        font-size: 0.8125em;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        line-height: 1.25em;
        -webkit-box-orient: vertical;
    }
    .Intro_btnHolder__rvbnk {
        justify-content: center;
    }

    .Intro_statsGrid__VepNJ {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .Intro_statValue__36uC5 {
        font-size: 16px;
    }

    .Intro_statLabel__fllNA {
        font-size: 10px;
    }
    .Intro_subheading__5V8tz h3 {
        margin-bottom: 3px;
    }
}

.GameNavLink_btn__HG9TJ {
    border: none;
    background: none;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
            appearance: none;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    background-color: rgba(236, 241, 244, 0.6);
    font-size: 1.25em;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    font-family: var(--font-default);
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(15px);
            backdrop-filter: blur(15px);
    color: var(--text-btn--primary);
}
@media (min-width: 1600px) and (min-height: 800px) {
    .GameNavLink_btn__HG9TJ {
        font-size: 1.5em;
    }
}
.GameNavLink_btn__HG9TJ::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%);
}

@media (hover: hover) {
    .GameNavLink_btn__HG9TJ:hover {
        background-color: rgba(238, 236, 244, 0.9);
        border-color: #fff;
        transform: scale(1.1);
        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: var(--text-btn-hover--primary);
    }
}
@media (hover: none) {
    .GameNavLink_btn__HG9TJ: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;
    }
}

.CharacterImage_container__lt0ZA {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.CharacterImage_video__vnhpX {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.CharacterImage_avatar__bCxnj {
  /* border: 2px solid #FFD700; */
  overflow: hidden;
}

.CharacterImage_contain__dfjFK {
  background-size: contain !important;
  background-position: center !important;
}

.CharacterImage_contain__dfjFK .CharacterImage_video__vnhpX {
  object-fit: contain !important;
}

.ShareGameButton_shareButton__jxITA {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: #4a90e2;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.ShareGameButton_shareIcon__lbOGc {
  width: 16px;
  height: 16px;
}

/* System 變體樣式 - 類似 SystemButton */
.ShareGameButton_system__mVBgj {
  border-radius: 6px;
  background-color: #74747c;
  color: #252734;
  padding: 0 1.25em;
  height: 40px;
  font-size: 1rem;
  line-height: 1;
  transition: background-color 0.35s cubic-bezier(0.215, 0.61, 0.355, 1);
  font-family: "Noto Sans TC", "PingFang", "PingFangTC", "Microsoft JhengHei",
    Helvetica, Arial;
  margin-left: 10px;
}

.ShareGameButton_system__mVBgj span {
  font-size: 1rem;
  font-family: "Noto Sans TC", "PingFang", "PingFangTC", "Microsoft JhengHei",
    Helvetica, Arial;
  color: #d0e1ed;
  transition: color 0.35s cubic-bezier(0.215, 0.61, 0.355, 1);
  line-height: 20px;
  font-weight: normal;
}

.ShareGameButton_system__mVBgj .ShareGameButton_shareIcon__lbOGc {
  color: #d0e1ed;
}

.ShareGameButton_system__mVBgj:hover {
  background-color: #fff;
}

.ShareGameButton_system__mVBgj:hover span,
.ShareGameButton_system__mVBgj:hover .ShareGameButton_shareIcon__lbOGc {
  color: #4741ff;
}

/* Quest 變體樣式 - 為任務頁面特別設計 */
.ShareGameButton_quest__IW3qF {
  border-radius: 6px;
  background-color: #5a67d8;
  color: white;
  padding: 0 1.25em;
  height: 40px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  margin-left: 10px;
}

.ShareGameButton_quest__IW3qF span {
  color: white;
}

.ShareGameButton_quest__IW3qF:hover {
  background-color: #4c51bf;
}

.ShareGameButton_tooltip__4ycIn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  animation: ShareGameButton_fadeInOut__FXW4H 2s ease-in-out forwards;
  z-index: 1000;
}

@keyframes ShareGameButton_fadeInOut__FXW4H {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* 主容器 */
.LearningJourney_container__IqIhW {
  background-color: #f5f5f5;
  padding: 24px;
  height: 100%;
  overflow-y: auto;
}

.LearningJourney_wrapper__SB0Wf {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 24px;
}

/* 頁面標題區 */
.LearningJourney_header__OQady {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.LearningJourney_headerIcon__eMRC1 {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  color: #4f46e5;
}

.LearningJourney_headerTitle__hDHrc {
  font-size: 28px;
  font-weight: bold;
  color: #111827;
}

/* Tab 區域 */
.LearningJourney_tabs__dAIWq {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: visible;
}

.LearningJourney_tabsList__Vmr8o {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
}

.LearningJourney_tab__5H6h2 {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  border: none;
  background: none;
}

.LearningJourney_tabActive__sMm1e {
  background-color: #4f46e5;
  color: white;
}

.LearningJourney_tab__5H6h2:not(.LearningJourney_tabActive__sMm1e) {
  color: #6b7280;
}

.LearningJourney_tabDelete__Vf6VZ {
  color: #ef4444;
}

.LearningJourney_tabDelete__Vf6VZ.LearningJourney_tabActive__sMm1e {
  background-color: #ef4444;
  color: white;
}

.LearningJourney_tabIcon__SQKjv {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.LearningJourney_tabContent__HU0SQ {
  padding: 16px;
  overflow: visible;
}

/* 面板樣式 */
.LearningJourney_panel__5ktol {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.LearningJourney_panelSection__Jzztj {
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.LearningJourney_panelHeader__plysZ {
  margin-bottom: 16px;
}

.LearningJourney_panelTitle__TyqLA {
  font-size: 18px;
  font-weight: 500;
  color: #374151;
}

.LearningJourney_panelDescription__1clyG {
  font-size: 14px;
  color: #6b7280;
  margin-top: 4px;
}

/* 搜尋表單 */
.LearningJourney_searchForm__V66eP {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  width: 100%;
}

.LearningJourney_searchField__dxeEg {
  flex: 1 1;
  min-width: 200px;
  display: flex;
  gap: 16px;
}

.LearningJourney_searchInput__fu46p {
  flex: 1 1;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  min-width: 200px;
  max-width: 400px;
}

.LearningJourney_searchButton__4BnhZ {
  padding: 8px 24px;
  background-color: #4f46e5;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.LearningJourney_searchButton__4BnhZ:hover {
  background-color: #4338ca;
}

/* 搜尋結果 */
.LearningJourney_searchFilter__c0g\+I {
  margin-bottom: 16px;
}

.LearningJourney_filterInput__1\+Y0t {
  flex: 1 1;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  min-width: 200px;
  max-width: 300px;
}

.LearningJourney_resultItem__-XTTe {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.LearningJourney_resultHeader__kPZFL {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  cursor: pointer;
  background-color: #f9fafb;
}

.LearningJourney_resultTitle__VWUAp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.LearningJourney_expandIcon__jWw8v {
  color: #6b7280;
  font-size: 12px;
}

.LearningJourney_resultMeta__GMSXo {
  display: flex;
  gap: 16px;
  color: #6b7280;
  font-size: 14px;
}

.LearningJourney_resultContent__-sojj {
  padding: 16px;
  border-top: 1px solid #e5e7eb;
}

.LearningJourney_resultDetail__9XmOx {
  font-size: 14px;
  line-height: 1.5;
}

.LearningJourney_learningResult__QAGkt {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.LearningJourney_learningResult__QAGkt h4 {
  font-weight: 500;
  margin-bottom: 8px;
  color: #374151;
}

.LearningJourney_errorMessage__46oYc {
  color: #ef4444;
  margin-top: 8px;
  font-size: 14px;
}

.LearningJourney_searchButton__4BnhZ:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

.LearningJourney_filterTag__a54DV {
  display: inline-block;
  margin-left: 10px;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
}

.LearningJourney_tagBox__MgzCP {
  padding: 6px 16px;
  border-radius: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  font-size: 14px;
  transition: all 0.2s ease;
  color: #666;
  white-space: nowrap;
  display: inline-block;
}

.LearningJourney_tagBox__MgzCP:hover {
  background-color: #e8e8e8;
}

.LearningJourney_tagBox__MgzCP.LearningJourney_active__pSoQG {
  background-color: #1890ff;
  color: white;
  border-color: #1890ff;
  box-shadow: 0 2px 4px rgba(24, 144, 255, 0.2);
}

.LearningJourney_tagBox__MgzCP.LearningJourney_active__pSoQG:hover {
  background-color: #40a9ff;
}

.LearningJourney_filterHeader__rYNJw {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.LearningJourney_filterControls__9rmXO {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.LearningJourney_resultCount__s2tCV {
  font-size: 14px;
  color: #666;
}

.LearningJourney_dateRangeControls__4sYGo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.LearningJourney_dateInput__5ap2E {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.LearningJourney_quickDateButtons__Hb8bm {
  display: flex;
  gap: 8px;
}

.LearningJourney_quickDateButtons__Hb8bm button {
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f5f5f5;
  cursor: pointer;
}

.LearningJourney_quickDateButtons__Hb8bm button:hover {
  background-color: #e0e0e0;
}

.LearningJourney_searchTypeButtons__zYWkl {
  display: flex;
  gap: 8px;
  margin-right: 16px;
}

.LearningJourney_searchTypeButton__rAvON {
  padding: 6px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
}

.LearningJourney_searchTypeButton__rAvON:hover {
  background-color: #f0f0f0;
}

.LearningJourney_searchTypeButton__rAvON.LearningJourney_active__pSoQG {
  background-color: #1890ff;
  color: white;
  border-color: #1890ff;
}

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

.LearningJourney_copyButton__hG9oy {
  padding: 5px 10px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.LearningJourney_copyButton__hG9oy:hover {
  background-color: #e0e0e0;
}

/* 主容器 */
.StorageManagementPage_container__oB8s\+ {
  background-color: #f5f5f5;
  padding: 24px;
  height: 100%;
  overflow-y: auto;
}

.StorageManagementPage_wrapper__hqPV1 {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 24px;
}

/* 頁面標題區 */
.StorageManagementPage_header__JgF6t {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.StorageManagementPage_headerIcon__MeTVj {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  color: #4f46e5;
}

.StorageManagementPage_headerTitle__Mmza0 {
  font-size: 28px;
  font-weight: bold;
  color: #111827;
}

/* 資料類型選擇區 */
.StorageManagementPage_typeSelector__D2XaJ {
  background: white;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.StorageManagementPage_typeSelectorTitle__6FZpR {
  font-size: 18px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 16px;
}

.StorageManagementPage_typeSelectorGrid__fjVUS {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 16px;
  gap: 16px;
}

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

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

.StorageManagementPage_typeSelectorLabel__KiQ9E {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 4px;
}

.StorageManagementPage_typeSelectorSelect__dh1UL,
.StorageManagementPage_typeSelectorInput__Gahmp {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}

.StorageManagementPage_typeSelectorSelect__dh1UL:focus,
.StorageManagementPage_typeSelectorInput__Gahmp:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

/* Tab 區域 */
.StorageManagementPage_tabs__QQWVf {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: visible;
}

.StorageManagementPage_tabsList__sWfMU {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
}

.StorageManagementPage_tab__jKqZ8 {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  border: none;
  background: none;
}

.StorageManagementPage_tabActive__V0Cnc {
  background-color: #4f46e5;
  color: white;
}

.StorageManagementPage_tab__jKqZ8:not(.StorageManagementPage_tabActive__V0Cnc) {
  color: #6b7280;
}

.StorageManagementPage_tab__jKqZ8:hover:not(.StorageManagementPage_tabActive__V0Cnc) {
  background-color: #f3f4f6;
  color: #374151;
}

.StorageManagementPage_tabIcon__hisXy {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.StorageManagementPage_tabContent__dvx27 {
  padding: 16px;
  overflow: visible;
}

/* 刪除操作的 Tab */
.StorageManagementPage_tabDelete__YlFjM {
  color: #ef4444;
}

.StorageManagementPage_tabDelete__YlFjM.StorageManagementPage_tabActive__V0Cnc {
  background-color: #ef4444;
  color: white;
}

/* 搜尋結果區域 */
.StorageManagementPage_searchResult__B4EmG {
  margin-top: 16px;
}

.StorageManagementPage_searchResultItem__SGC3E {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.StorageManagementPage_searchResultHeader__AAZwx {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.StorageManagementPage_searchResultHeader__AAZwx:hover {
  background-color: #f9fafb;
}

.StorageManagementPage_searchResultTitle__2B4f7 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #374151;
}

.StorageManagementPage_searchResultExpandIcon__F5NMS {
  color: #6b7280;
  font-size: 12px;
  width: 16px;
}

.StorageManagementPage_searchResultContent__CUzyJ {
  padding: 10px;
  background-color: #f5f5f5;
  border-radius: 4px;
  white-space: pre-wrap;
  word-break: break-all;
  font-family: monospace;
  font-size: 14px;
  color: #2c3e50;
  line-height: 1.5;
  border: 1px solid #e0e0e0;
}

.StorageManagementPage_searchResultActions__TmR-W {
  display: flex;
  gap: 8px;
}

/* 按鈕樣式 */
.StorageManagementPage_btn__1Kx9x {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
}

.StorageManagementPage_btnEdit__nn8Bi {
  background-color: #4f46e5;
  color: white;
}

.StorageManagementPage_btnEdit__nn8Bi:hover {
  background-color: #4338ca;
}

.StorageManagementPage_btnDelete__CHi-0 {
  background-color: #ef4444;
  color: white;
}

.StorageManagementPage_btnDelete__CHi-0:hover {
  background-color: #dc2626;
}

.StorageManagementPage_btnCopy__lvZeg {
  background-color: #4caf50;
  margin-right: 8px;
}

.StorageManagementPage_btnCopy__lvZeg:hover {
  background-color: #45a049;
}

/* 編輯彈窗 */
.StorageManagementPage_editModal__0eQuq {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.StorageManagementPage_editModalContent__Cllpb {
  background: white;
  border-radius: 8px;
  padding: 24px;
  width: 90%;
  max-width: 800px;
  height: 90vh;
  display: flex;
  flex-direction: column;
}

.StorageManagementPage_editModalHeader__j0eBP {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.StorageManagementPage_editModalTitleContainer__ughoD {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.StorageManagementPage_editModalTitle__AR9WS {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.StorageManagementPage_tabContainer__eBIJR {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e0e0e0;
  width: 100%;
}

.StorageManagementPage_tabButton__Y\+37D {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  color: #666;
  min-width: 140px;
}

.StorageManagementPage_tabButton__Y\+37D:hover {
  color: #1a73e8;
  background-color: #f8f9fa;
}

.StorageManagementPage_activeTab__37Gob {
  color: #1a73e8;
  font-weight: 600;
}

.StorageManagementPage_activeTab__37Gob::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #1a73e8;
}

/* 修改編輯器容器的樣式 */
.StorageManagementPage_editModalEditor__fIupb {
  flex: 1 1;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
  min-height: 0; /* 重要：讓 flex 子元素可以正確縮放 */
}

.StorageManagementPage_editModalActions__OxLHW {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: auto;
}

.StorageManagementPage_editModalBtnCancel__A1XWc {
  background-color: #9ca3af;
  color: white;
}

.StorageManagementPage_editModalBtnCancel__A1XWc:hover {
  background-color: #6b7280;
}

.StorageManagementPage_editModalBtnSave__Z9hMj {
  background-color: #4f46e5;
  color: white;
}

.StorageManagementPage_editModalBtnSave__Z9hMj:hover {
  background-color: #4338ca;
}

/* 搜尋面板區域 */
.StorageManagementPage_storagePanel__ZK81d {
  position: relative;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.StorageManagementPage_storagePanelContent__GSFMi {
  flex: 1 1;
  overflow-y: auto;
  padding-bottom: 80px; /* 為底部按鈕預留空間 */
}

.StorageManagementPage_storagePanelSection__Kdv9L {
  margin-bottom: 2rem;
}

.StorageManagementPage_storagePanelHeader__Heyyx {
  margin-bottom: 1.5rem;
}

.StorageManagementPage_storagePanelTitle__YeW8s {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.StorageManagementPage_storagePanelDescription__NyvLl {
  color: #666;
}

.StorageManagementPage_createPanelWrapper__7JZea {
  position: relative;
  padding-bottom: 60px; /* 為底部按鈕預留空間 */
}

/* 浮動按鈕容器 */
.StorageManagementPage_floatingButtonsContainer__alBiY {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 搜尋表單 */
.StorageManagementPage_storageForm__d8c-z {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
}

.StorageManagementPage_storageFormField__-Ds9d {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.StorageManagementPage_storageFormInput__0-cor {
  width: 300px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}

@media (max-width: 640px) {
  .StorageManagementPage_storageFormField__-Ds9d {
    flex-direction: column;
  }

  .StorageManagementPage_storageFormInput__0-cor {
    width: 100%;
  }
}

.StorageManagementPage_storageFormButton__5CPJU {
  background-color: #4f46e5;
  color: white;
}

.StorageManagementPage_storageFormButton__5CPJU:hover {
  background-color: #4338ca;
}

.StorageManagementPage_storageFormButtonDanger__NFWKr {
  background-color: #ef4444;
}

.StorageManagementPage_storageFormButtonDanger__NFWKr:hover {
  background-color: #dc2626;
}

.StorageManagementPage_storageFormButtonDangerAll__3RXep {
  margin-top: 16px;
  width: 300px;
}

@media (max-width: 640px) {
  .StorageManagementPage_storageFormButtonDangerAll__3RXep {
    width: 100%;
  }
}

/* 新增面板 */
.StorageManagementPage_createPanel__rus9J {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.StorageManagementPage_createPanelEditor__46ANB {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
}

.StorageManagementPage_createPanelActions__2dRxV {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.StorageManagementPage_createPanelBtnSave__vocrl {
  background-color: #4f46e5;
  color: white;
}

.StorageManagementPage_createPanelBtnSave__vocrl:hover {
  background-color: #4338ca;
}

/* 搜尋過濾器 */
.StorageManagementPage_searchResultFilter__LGDBe {
  margin-bottom: 16px;
  max-width: 300px;
}

.StorageManagementPage_searchResultFilterInput__5A7nO {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  color: #374151;
  background-color: white;
  transition: all 0.2s;
}

.StorageManagementPage_searchResultFilterInput__5A7nO:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.StorageManagementPage_searchResultFilterInput__5A7nO::placeholder {
  color: #9ca3af;
}

/* 確保編輯區域有正確的高度和滾動行為 */
.StorageManagementPage_editPanel__k8OtW {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.StorageManagementPage_editArea__qNPDq {
  flex: 1 1;
  overflow: hidden;
  position: relative;
}

.Editors_editorForm__IprhK {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  overflow-y: auto;
  padding: 1rem;
  padding-bottom: 2rem;
  position: relative;
  padding-bottom: 60px;
}

.Editors_formGroup__dvfFa {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 1rem;
}

.Editors_formGroup__dvfFa:last-child {
  margin-bottom: 2rem;
}

.Editors_formGroup__dvfFa label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #374151;
}

.Editors_formGroup__dvfFa input[type="text"],
.Editors_formGroup__dvfFa input[type="number"],
.Editors_formGroup__dvfFa textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background-color: #fff;
  color: #1f2937;
}

.Editors_formGroup__dvfFa input[type="text"]:focus,
.Editors_formGroup__dvfFa input[type="number"]:focus,
.Editors_formGroup__dvfFa textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.Editors_formGroup__dvfFa input::placeholder,
.Editors_formGroup__dvfFa textarea::placeholder {
  color: #9ca3af;
}

.Editors_checkboxGroup__UBmY8 {
  display: flex;
  gap: 20px;
}

.Editors_checkboxGroup__UBmY8 label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
}

.Editors_questionTypeGroup__FK0iM {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.Editors_questionTypeOption__vETOD {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: normal;
}

.Editors_imagePreview__-\+mXj {
  margin-top: 10px;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 4px;
  background: #f9f9f9;
}

.Editors_imagePreview__-\+mXj img {
  max-width: 100%;
  height: auto;
}

.Editors_contentHeader__X08fa {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.Editors_addContentBtn__J3Rxk {
  padding: 6px 12px;
  background-color: #4f46e5;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}

.Editors_addContentBtn__J3Rxk:hover {
  background-color: #4338ca;
}

.Editors_contentList__xDtMY {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.Editors_contentItem__bIA5y input {
  flex: 1 1;
}

.Editors_removeContentBtn__MnLsu {
  padding: 6px 12px;
  background-color: #ef4444;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}

.Editors_removeContentBtn__MnLsu:hover {
  background-color: #dc2626;
}

.Editors_storyPointContainer__ghUHu {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  background-color: #f9f9f9;
}

.Editors_storyPointContainer__ghUHu h4 {
  margin: 0 0 15px 0;
  color: #333;
}

.Editors_addButton__I2A9K {
  background-color: #4caf50;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 15px;
}

.Editors_removeButton__QcFqH {
  padding: 6px 12px;
  background-color: #ef4444;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
  margin-top: 0;
}

.Editors_addButton__I2A9K:hover {
  background-color: #45a049;
}

.Editors_removeButton__QcFqH:hover {
  background-color: #dc2626;
}

.Editors_sceneHeader__UlYlH {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: background-color 0.2s;
}

.Editors_sceneHeader__UlYlH:hover {
  background-color: #e9ecef;
}

.Editors_sceneTitle__wCss5 {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
}

.Editors_sceneTitle__wCss5 h4 {
  margin: 0;
  font-size: 1rem;
  color: #111827;
  font-weight: 600;
}

.Editors_expandIcon__9SITN {
  font-size: 0.8em;
  color: #666;
  width: 20px;
  display: inline-block;
}

.Editors_scenePreview__V\+baM {
  color: #4b5563;
  font-size: 0.9em;
  margin-left: 8px;
}

.Editors_scenePreviewEmpty__2sXUs {
  color: #dc2626;
  font-style: italic;
}

.Editors_sceneActions__GP0dC {
  display: flex;
  gap: 8px;
}

.Editors_sceneContent__WqlYI {
  padding: 20px;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  margin-top: -4px;
  margin-bottom: 16px;
  background-color: #fff;
}

.Editors_storyPointContainer__ghUHu {
  margin-bottom: 16px;
}

.Editors_sceneDuration__ECXOq {
  color: #4b5563;
  font-size: 0.9em;
  margin-left: auto;
  padding-right: 16px;
  white-space: nowrap;
}

.Editors_mediaGroup__saX0z,
.Editors_dialogGroup__MMcDg {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.Editors_mediaGroup__saX0z .Editors_formGroup__dvfFa,
.Editors_dialogGroup__MMcDg .Editors_formGroup__dvfFa {
  margin-bottom: 16px;
}

.Editors_darkLabel__f-YER {
  color: #333;
  font-weight: 500;
  margin-bottom: 8px;
}

.Editors_darkInput__OXf-9 {
  color: #333;
  background-color: #f3f4f6;
  border: 1px solid #d1d5db;
  padding: 8px;
  border-radius: 4px;
  width: 100%;
}

.Editors_darkInput__OXf-9::placeholder {
  color: #666;
}

.Editors_darkText__ItPud {
  color: #333;
  margin: 8px 0;
}

.Editors_darkPreview__a\+uuS {
  background-color: #f5f5f5;
  padding: 12px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.Editors_attachmentPreview__PMZaP {
  margin-top: 8px;
}

.Editors_tabContainer__K3ZcN {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 600px;
}

.Editors_tabList__oms3K {
  display: flex;
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
}

.Editors_tabButton__3e-6H {
  padding: 10px 20px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  color: #666;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.Editors_tabButton__3e-6H:hover {
  color: #333;
}

.Editors_tabButton__3e-6H.Editors_active__bUIu3 {
  color: #1890ff;
  border-bottom-color: #1890ff;
}

.Editors_tabContent__oP24m {
  flex: 1 1;
  padding: 20px;
}

.Editors_tabPanel__R2w76 {
  height: 100%;
}

.Editors_fullHeightTextarea__luebv {
  min-height: 300px;
  width: 100%;
  font-family: monospace;
  padding: 10px;
  line-height: 1.5;
  resize: vertical;
}

/* 編輯器按鈕樣式 */
.Editors_editorBtn__ywGlN {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.Editors_editorBtnPrimary__NFNvg {
  background-color: #4f46e5;
  color: white;
}

.Editors_editorBtnPrimary__NFNvg:hover {
  background-color: #4338ca;
}

.Editors_editorBtnPrimary__NFNvg:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

.Editors_editorBtnContainer__-tQRH {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.Editors_learningDomainGroup__ruGi\+ {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.Editors_learningDomainGroup__ruGi\+ select {
  min-width: 150px;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background-color: #fff;
  color: #1f2937;
}

.Editors_learningDomainGroup__ruGi\+ select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.Editors_customDomainInput__j8bVP {
  flex: 1 1;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background-color: #fff;
  color: #1f2937;
}

.Editors_customDomainInput__j8bVP:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 聊天容器相關樣式 */
.Editors_chatContainer__ai8L9 {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 600px);
  min-height: 400px;
  gap: 1rem;
  background-color: #f9fafb;
  border-radius: 8px;
  padding: 1rem;
}

.Editors_chatHistory__Bcviw {
  flex: 1 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.Editors_chatMessage__2-3jB {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  max-width: 80%;
  word-wrap: break-word;
}

.Editors_userMessage__-2ebz {
  align-self: flex-end;
  background-color: #3b82f6;
  color: white;
}

.Editors_assistantMessage__NQQAi {
  align-self: flex-start;
  background-color: #e5e7eb;
  color: #1f2937;
}

.Editors_chatControls__p31N3 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.Editors_chatInput__4IW\+2 {
  display: flex;
  gap: 0.5rem;
}

.Editors_chatInput__4IW\+2 input {
  flex: 1 1;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}

.Editors_chatInput__4IW\+2 button {
  padding: 0.75rem 1.5rem;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.Editors_chatInput__4IW\+2 button:hover {
  background-color: #2563eb;
}

.Editors_chatButtons__\+Kpd0 {
  display: flex;
  gap: 0.5rem;
}

.Editors_chatButtons__\+Kpd0 button {
  flex: 1 1;
  padding: 0.75rem;
  background-color: #4b5563;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.Editors_chatButtons__\+Kpd0 button:hover {
  background-color: #374151;
}

.Editors_ttsButtonContainer__5C1UN {
  margin-top: 1rem;
  padding: 10px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  display: inline-block;
}

.Editors_hint__CB2i4 {
  display: block;
  margin-top: 4px;
  font-size: 0.875rem;
  color: #666;
}

.Editors_voiceGenerateContainer__S6VJo {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.Editors_voiceGenerateContainer__S6VJo select {
  flex: 1 1;
}

.Editors_editorBtnSecondary__UOF6z {
  padding: 0.5rem 1rem;
  background-color: #4a5568;
  color: white;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.Editors_editorBtnSecondary__UOF6z:hover {
  background-color: #2d3748;
}

.Editors_editorBtnSecondary__UOF6z:disabled {
  background-color: #718096;
  cursor: not-allowed;
}

.ImageGenerateField_chatItem__M\+VMx {
    flex: 1 1;
    align-items: center;
    display: flex;
    margin-bottom: 1vh;
}

/* 故事模式的主容器樣式 */
.ImageGenerateField_storyMode__rdfme {
    width: 100%; /* 佔滿容器寬度 */
    display: flex; /* 使用 flex 布局 */
    flex-direction: row; /* 水平排列 */
    position: relative; /* 為內部絕對定位元素提供參考點 */
    align-items: center; /* 垂直置中對齊 */
    gap: 5px; /* 子元素之間的間距 */
}

/* 故事模式的分隔發光線條 */
.ImageGenerateField_storyMode__rdfme:after {
    content: ""; /* 偽元素必需的內容 */
    display: block; /* 區塊顯示 */
    width: 100%; /* 寬度佔滿 */
    height: 4px; /* 線條高度 */
    position: absolute; /* 絕對定位 */
    bottom: -4px; /* 位於容器底部下方 */
    left: 0%; /* 左對齊 */
    background: linear-gradient(
        /* 漸層背景 */ 90deg,
        rgba(255, 166, 0, 0) 0%,
        /* 兩端透明 */ rgba(255, 166, 0, 0.3) 20%,
        rgba(255, 166, 0, 1) 50%,
        /* 中間最亮 */ rgba(255, 166, 0, 0.3) 80%,
        rgba(255, 166, 0, 0) 100%
    );
    z-index: 1; /* 確保層級正確 */
    box-shadow: 0 -2px 4px rgba(255, 166, 0, 0.3), /* 多層發光效果 */ 0 2px 4px rgba(255, 166, 0, 0.3), 0 0 20px rgba(255, 166, 0, 0.8),
        0 0 40px rgba(255, 166, 0, 0.6), 0 0 60px rgba(255, 166, 0, 0.4);
    animation: ImageGenerateField_glowLine__gObTX 2s ease-in-out infinite; /* 呼吸發光動畫 */
}

/* 頭像容器樣式 */
.ImageGenerateField_storyMode__rdfme .ImageGenerateField_avatar__i3K-S {
    width: 250px;
    flex-shrink: 0;
    position: relative;
    margin: 0;
    z-index: 2;
}

/* 共用的基本樣式 */
.ImageGenerateField_storyMode__rdfme .ImageGenerateField_avatarImage__dWvs0 {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 背景圖片版本的樣式 */
.ImageGenerateField_storyMode__rdfme div.ImageGenerateField_avatarImage__dWvs0 {
    background-size: cover;
    background-position: center;
}

/* 影片版本的樣式 */
.ImageGenerateField_storyMode__rdfme video.ImageGenerateField_avatarImage__dWvs0 {
    width: 250px;
    height: 250px;
}

/* 角色名稱樣式 */
.ImageGenerateField_storyMode__rdfme .ImageGenerateField_avatarName__HOsWf {
    position: absolute; /* 絕對定位 */
    left: 50%; /* 水平置中 */
    transform: translateX(-50%); /* 水平置中微調 */
    bottom: -35px; /* 位於頭像下方 */
    width: auto; /* 自適應寬度 */
    min-width: 250px; /* 最小寬度與頭像同寬 */
    text-align: center; /* 文字置中 */
    background: linear-gradient(/* 文字漸層效果 */ 90deg, rgb(239, 234, 219) 0%, rgb(244, 206, 136) 50%, rgb(183, 145, 39) 100%);
    -webkit-background-clip: text; /* 文字填充漸層 */
    background-clip: text;
    color: transparent; /* 使文字透明以顯示背景 */
    padding: 8px; /* 內部間距 */
    font-size: 20px; /* 字體大小 */
    font-weight: bold; /* 粗體 */
    z-index: 3; /* 確保在最上層 */
}

/* 內容區域樣式 */
.ImageGenerateField_storyMode__rdfme .ImageGenerateField_content__oDYzz {
    flex: 1 1; /* 佔滿剩餘空間 */
    padding: 0 25px; /* 水平內間距 */
    font-size: 18px; /* 字體大小 */
    line-height: 1.5; /* 行高 */
    color: #ffffff; /* 文字顏色 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* 文字陰影 */
    z-index: 2; /* 層級 */
    display: flex; /* 使用 flex 布局 */
    align-items: center; /* 垂直置中 */
    justify-content: center; /* 水平置中 */
    min-height: 250px; /* 最小高度與頭像高 */
}

/* 發光線條動畫 */
@keyframes ImageGenerateField_glowLine__gObTX {
    0%,
    100% {
        /* 動畫起始和結束狀態 */
        opacity: 0.8;
        box-shadow: 0 -2px 4px rgba(255, 166, 0, 0.3), 0 2px 4px rgba(255, 166, 0, 0.3), 0 0 20px rgba(255, 166, 0, 0.8),
            0 0 40px rgba(255, 166, 0, 0.6), 0 0 60px rgba(255, 166, 0, 0.4);
    }
    50% {
        /* 動畫中間狀態 */
        opacity: 1;
        box-shadow: 0 -3px 6px rgba(255, 166, 0, 0.4), 0 3px 6px rgba(255, 166, 0, 0.4), 0 0 30px rgba(255, 166, 0, 1),
            0 0 60px rgba(255, 166, 0, 0.8), 0 0 90px rgba(255, 166, 0, 0.6);
    }
}

/* 手機版響應式調整 */
@media (max-width: 739px) {
    .ImageGenerateField_storyMode__rdfme {
        flex-direction: column;
        padding: 15px;
        gap: 1px;
        align-items: flex-start;
        margin-top: 60px;
    }

    .ImageGenerateField_storyMode__rdfme:after {
        top: 140px;
    }

    .ImageGenerateField_storyMode__rdfme .ImageGenerateField_avatar__i3K-S {
        width: 200px;
        margin: auto; /* 水平置中, 高度往下移 */
    }

    .ImageGenerateField_storyMode__rdfme .ImageGenerateField_avatarName__HOsWf {
        min-width: 200px;
        top: 100px;
    }

    .ImageGenerateField_storyMode__rdfme .ImageGenerateField_content__oDYzz {
        width: 100%;
        font-size: 16px;
        min-height: auto;
        margin: 0 auto; /* 置中 */
    }
}

.ImageGenerateField_chatItemContainer__YvKxs {
    width: 100%;
    display: flex;
    position: relative;
    align-items: flex-start;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ImageGenerateField_avatar__i3K-S {
    position: relative;
    width: 150px;
    flex-shrink: 0;
    margin: 0;
}

.ImageGenerateField_avatarImage__dWvs0 {
    position: relative;
    width: 100%;
    padding-bottom: 112.5%;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
}

.ImageGenerateField_avatarName__HOsWf {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    font-size: clamp(14px, 1.75vh, 32px);
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0px 0px 12px rgba(0, 0, 0, 0.7);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3) 80%);
    padding: 3px 10px 5px;
    border-radius: 3px;
    letter-spacing: 1px;
    white-space: nowrap;
    z-index: 3;
    display: none;
}

.ImageGenerateField_content__oDYzz {
    flex: 1 1;
    padding: 25px 10px 0;
    position: relative;
}

/* 手機版立時的樣式 */
@media (max-width: 739px) {
    .ImageGenerateField_chatItemContainer__YvKxs {
        flex-direction: column;
        padding-top: 100px;
    }

    .ImageGenerateField_avatar__i3K-S {
        width: 180px;
        position: absolute;
        top: -100px;
        left: 20px;
        z-index: 2;
    }

    .ImageGenerateField_content__oDYzz {
        width: 100%;
        padding: 10px 15px 0;
    }
}

/* 平板以上的樣式 */
@media (min-width: 740px) {
    .ImageGenerateField_avatar__i3K-S {
        width: 200px;
        margin: 0 2.2% 0 0;
    }

    .ImageGenerateField_avatarName__HOsWf {
        display: block;
    }

    .ImageGenerateField_content__oDYzz {
        padding: 25px 10px 0;
        min-height: 100%;
        align-self: stretch;
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 980px) {
    .ImageGenerateField_avatar__i3K-S {
        width: clamp(200px, 22vh, 360px);
    }

    .ImageGenerateField_content__oDYzz {
        padding: 28px 15px 0;
    }
}

@media (min-width: 1380px) {
    .ImageGenerateField_avatar__i3K-S {
        width: 27vh;
    }

    .ImageGenerateField_content__oDYzz {
        padding: 30px 20px 0;
    }
}

@media (min-width: 1700px) {
    .ImageGenerateField_content__oDYzz {
        padding: 32px 25px 0;
    }
}

.Html5AudioPlayer_audioPlayerContainer__LrUaP {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0;
}

.Html5AudioPlayer_voiceInput__WSz-c {
  width: 70px;
  height: 70px;
  box-shadow: none;
  border-radius: 50%;
  background: linear-gradient(to bottom, #848484, #575757);
  background: linear-gradient(to bottom, #136731, #199b47);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  font-family: var(--font-default);
}

.Html5AudioPlayer_voiceInput__WSz-c .imrs-icon::before {
  width: 28px;
  height: 28px;
  background-color: #fff;
}

@media (min-width: 1600px) and (min-height: 800px) {
  .Html5AudioPlayer_voiceInput__WSz-c {
    width: 80px;
    height: 80px;
  }
  .Html5AudioPlayer_voiceInput__WSz-c .imrs-icon::before {
    width: 32px;
    height: 32px;
  }
}

.Html5AudioPlayer_voiceInput__WSz-c .icon:before {
  width: 30px;
  height: 30px;
  background-color: #fff;
}

.Html5AudioPlayer_voiceInput__WSz-c.Html5AudioPlayer_active__pEqAt {
  background: linear-gradient(to bottom, #136731, #199b47);
}

.Html5AudioPlayer_voiceInput__WSz-c.Html5AudioPlayer_activePause__hqsqk {
  background: linear-gradient(to bottom, #910f0f, #ad2222);
}

.Html5AudioPlayer_voiceInput__WSz-c.Html5AudioPlayer_activePause__hqsqk .imrs-icon::before {
  -webkit-mask-position: 30.43% 0;
}

.Html5AudioPlayer_voiceInput__WSz-c.Html5AudioPlayer_disabled__Y6QT0 {
  cursor: not-allowed;
  opacity: 0.5;
  background: linear-gradient(
    to bottom,
    rgba(150, 150, 150, 0.1),
    rgba(150, 150, 150, 0.2)
  );
  background: linear-gradient(to bottom, #848484, #575757);
  box-shadow: none;
}

.Html5AudioPlayer_voiceInput__WSz-c.Html5AudioPlayer_disabled__Y6QT0 .imrs-icon::before {
  background-color: #969696;
}

/* 小型按鈕樣式 */
.Html5AudioPlayer_voiceInput__WSz-c.Html5AudioPlayer_small__CS7Jt {
  width: 30px;
  height: 30px;
}

.Html5AudioPlayer_voiceInput__WSz-c.Html5AudioPlayer_small__CS7Jt .imrs-icon::before {
  width: 12px;
  height: 12px;
}

@media (min-width: 1600px) and (min-height: 800px) {
  .Html5AudioPlayer_voiceInput__WSz-c.Html5AudioPlayer_small__CS7Jt {
    width: 30px;
    height: 30px;
  }
  .Html5AudioPlayer_voiceInput__WSz-c.Html5AudioPlayer_small__CS7Jt .imrs-icon::before {
    width: 12px;
    height: 12px;
  }
}

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

.CameoLogin_container__qkLeD {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  font-family: "Noto Sans TC", sans-serif;
  position: relative;
  overflow: hidden;
}

.CameoLogin_container__qkLeD::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  animation: CameoLogin_rotate__HCa\+2 30s linear infinite;
  z-index: 1;
}

@keyframes CameoLogin_rotate__HCa\+2 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.CameoLogin_formContainer__rJkpu {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 450px;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: CameoLogin_fadeIn__Mrhf9 0.8s ease-out;
}

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

.CameoLogin_logo__MLwyf {
  text-align: center;
  margin-bottom: 2rem;
}

.CameoLogin_title__5vQ5\+ {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.CameoLogin_subtitle__9osii {
  font-size: 1.1rem;
  color: #666;
  margin: 0.5rem 0 0;
}

.CameoLogin_description__gEIjD {
  text-align: center;
  color: #777;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.CameoLogin_formGroup__16Vj2 {
  margin-bottom: 1.5rem;
  position: relative;
}

.CameoLogin_input__nnuVG {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: none;
  border-radius: 8px;
  background-color: #f5f5f5;
  font-size: 1rem;
  color: #333;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.CameoLogin_input__nnuVG:focus {
  outline: none;
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(110, 142, 251, 0.3);
}

.CameoLogin_input__nnuVG::placeholder {
  color: #aaa;
}

.CameoLogin_icon__C2lQU {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #a777e3;
  font-size: 1.2rem;
}

.CameoLogin_button__wvBxq {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(110, 142, 251, 0.4);
}

.CameoLogin_button__wvBxq:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(110, 142, 251, 0.6);
}

.CameoLogin_button__wvBxq:active {
  transform: translateY(1px);
}

.CameoLogin_buttonIcon__M90gZ {
  font-size: 1.2rem;
}

/* 響應式設計 */
@media (max-width: 768px) {
  .CameoLogin_formContainer__rJkpu {
    max-width: 90%;
    padding: 2rem;
  }

  .CameoLogin_title__5vQ5\+ {
    font-size: 2rem;
  }
}

/* 動畫背景元素 */
.CameoLogin_animatedBg__bazZO {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.CameoLogin_circle__VJnCI {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: CameoLogin_float__j-XBi 15s infinite ease-in-out;
}

.CameoLogin_circle__VJnCI:nth-child(1) {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -150px;
  animation-delay: 0s;
}

.CameoLogin_circle__VJnCI:nth-child(2) {
  width: 200px;
  height: 200px;
  top: 50%;
  right: -100px;
  animation-delay: 2s;
}

.CameoLogin_circle__VJnCI:nth-child(3) {
  width: 150px;
  height: 150px;
  bottom: -75px;
  right: 10%;
  animation-delay: 4s;
}

@keyframes CameoLogin_float__j-XBi {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

.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: 700px) {
    .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: 0 var(--gap-mobile) var(--gap-mobile);
}

.CreateQuest_header__1y2dO h2 {
    color: var(--color-main);
    font-size: clamp(20px, 2.75vh, 36px);
    font-family: var(--font-family);
    font-weight: 500;
    display: flex;
    align-items: center;
    letter-spacing: 0.01em;
    background: linear-gradient(to bottom, #a296ff 0%, #f1efff 50%, #a296ff 50%, #cac3ff 100%);
    -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;
}

.SystemButton_btnSystem__FyApb {
    border: none;
    background: none;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    border-radius: 6px;
    background-color: #74747c;
    color: #252734;
    display: flex;
    align-items: center;
    padding: 0 1.25em;
    height: 40px;
    font-size: 1rem;
    line-height: 1;
    transition: background-color 0.35s cubic-bezier(0.215, 0.61, 0.355, 1);
    font-family: "Noto Sans TC", "PingFang", "PingFangTC", "Microsoft JhengHei", Helvetica, Arial;
}

.SystemButton_btnSystem__FyApb span {
    font-size: 1rem;
    font-family: "Noto Sans TC", "PingFang", "PingFangTC", "Microsoft JhengHei", Helvetica, Arial;
    color: #d0e1ed;
    transition: color 0.35s cubic-bezier(0.215, 0.61, 0.355, 1);
    line-height: 20px;
    font-weight: normal;
    display: flex;
    align-items: center;
}

@media (hover: hover) {
    .SystemButton_btnSystem__FyApb:hover {
        background-color: #fff;
    }

    .SystemButton_btnSystem__FyApb:hover span {
        color: #4741ff;
    }
}

.SystemButton_large__7u6Dm {
    font-size: 1.125em;
}

.SystemButton_large__7u6Dm span {
    padding-left: 1.5em;
    padding-right: 1.5em;
    height: 48px;
}

@media (min-width: 740px) and (min-height: 800px) and (orientation: landscape) {
    .SystemButton_large__7u6Dm {
        font-size: 1.5em;
        margin: 10px 20px;
    }

    .SystemButton_large__7u6Dm .SystemButton_icon__TOJxH:before {
        width: 30px;
        height: 30px;
    }

    .SystemButton_large__7u6Dm span {
        height: 60px;
    }
}

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

.Overlay_loading__-5sAT {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  background: radial-gradient(circle, rgba(32, 32, 32, 0.3) 20%, #000 90%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.Overlay_active__ClIjd {
  opacity: 1;
  pointer-events: auto;
}

.Overlay_dialogueContainer__GpVGH {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.Overlay_loadingContainer__pwg6Q {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

.Overlay_loadingText__pJilJ {
  display: flex;
  align-items: center;
  justify-content: center;
}

.Overlay_loadingText__pJilJ i {
  display: block;
  text-transform: uppercase;
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(14px, 2vh, 20px);
  text-align: center;
  text-shadow: #fff 0px 0px 5px, #5b4d2c 0px 0px 10px, #8d7847 0px 0px 15px,
    #f6db9c 0px 0px 20px, #f6db9c 0px 0px 30px, #bca46a 0px 0px 40px,
    #a28540 0px 0px 50px, #9d8752 0px 0px 75px;
  color: #d2c29c;
  animation: Overlay_blink__U87zM 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  margin: 0 0.5em;
}

@media (min-width: 980px) {
  .Overlay_loadingText__pJilJ i {
    font-size: clamp(16px, 3vh, 64px);
  }
}

.Overlay_loadingText__pJilJ i:nth-of-type(1) {
  animation-delay: 0s;
}
.Overlay_loadingText__pJilJ i:nth-of-type(2) {
  animation-delay: 0.2s;
}
.Overlay_loadingText__pJilJ i:nth-of-type(3) {
  animation-delay: 0.4s;
}
.Overlay_loadingText__pJilJ i:nth-of-type(4) {
  animation-delay: 0.6s;
}
.Overlay_loadingText__pJilJ i:nth-of-type(5) {
  animation-delay: 0.8s;
}
.Overlay_loadingText__pJilJ i:nth-of-type(6) {
  animation-delay: 1s;
}
.Overlay_loadingText__pJilJ i:nth-of-type(7) {
  animation-delay: 1.2s;
}

.Overlay_smallText__utW8Z {
  display: block;
  margin-top: 1em;
  font-size: 14px;
  opacity: 0.8;
  letter-spacing: 5px;
  font-weight: lighter;
  text-shadow: 1px 1px 2px #000000be;
  font-weight: normal;
  color: #bca46a;
}

@keyframes Overlay_blink__U87zM {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.3;
  }
}

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

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

.QuestMenu_sectionTitle__2QYmz {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5em;
    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;
    }
}

