@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700&display=swap');

body {
    background-color: #ffffff;
    color: #31333F;
    font-family: 'Noto Sans TC', sans-serif;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* --- 核心：熱門問題佈局 (修改為垂直堆疊) --- */
#scroll-container {
    /* 重要修改：
       移除了 display: flex 和 overflow-x: auto
       現在佈局完全由 HTML 上的 class="grid grid-cols-1 sm:grid-cols-2" 控制
    */
    width: 100%;
}

.scroll-item {
    /* 重要修改：設定寬度 100%，讓它在手機版垂直排列時佔滿整行 */
    width: 100%;

    /* 內部排版維持彈性盒模型 (圖示在左，文字在右) */
    display: flex;
    align-items: center;

    padding: 20px;
    background: white;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.2s;

    /* 確保文字靠左對齊 */
    text-align: left;
}

/* Hover 效果 (使用系上藍綠色) */
.scroll-item:hover {
    border-color: #00A79D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 167, 157, 0.1);
}

/* 注意：原本這裡有一個 @media (min-width: 640px)
   我已經移除了，因為現在 HTML 的 Tailwind 設定會自動處理 RWD。
*/


/* --- 對話樣式 --- */
.bubble-user {
    background-color: #f0f2f6;
    border-radius: 18px 18px 2px 18px;
    padding: 12px 18px;
}

.bubble-ai {
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 18px 18px 18px 2px;
    padding: 20px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04);
}

.thought-section {
    border-left: 4px solid #00A79D;
    background-color: #f0fcfb; /* 淺藍綠色背景 */
    padding: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #7a7a7a;
}

/* --- 重點文字顏色 --- */
.prose strong, .prose b {
    color: #00A79D !important;
    font-weight: 700 !important;
}

/* --- 動畫 (Cookie視窗用) --- */
@keyframes wiggle {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-15px); }
    40% { transform: translateX(10px); }
}
.animate-wiggle { animation: wiggle 0.8s ease-in-out; }