@charset "utf-8";
:root {
            --gold-active: #FFD700;
            --gold-glow: rgba(255, 215, 0, 0.4);
            --star-empty: #E0E0E0;
            --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* 換個深色優雅背景 */
            --card-bg: #ffffff;
            --gold: #FFD700;
            --coral: linear-gradient(180deg, #ffafbd 0%, #ffc3a0 100%); 
            --light-gray: #f0f0f0;
            --text-main: #2d3436;
        }

        body {
            font-family: -apple-system, "Noto Sans TC", sans-serif;
            background: #f4f7f6;
            margin: 0;
            padding: 20px 15px;
            display: flex;
            justify-content: center;
        }

        .card {
            background: #fff;
            width: 100%;
            max-width: 400px;
            padding: 30px 25px;
            border-radius: 25px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }

        h1 { text-align: center; margin: 0 0 5px 0; color: var(--text-main); }
        .subtitle { text-align: center; color: #a0a0a0; font-size: 14px; margin-bottom: 25px; }

        /* 星星評分 */
        .rating-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
        .label { font-weight: 600; color: #444; }
        .stars { display: flex; gap: 10px; }
        .stars svg { width: 24px; height: 24px; fill: #e0e0e0; transition: 0.2s; cursor: pointer; }
        .stars svg.active { fill: var(--gold); filter: drop-shadow(0 0 3px rgba(255,215,0,0.5)); }

        hr { border: 0; border-top: 1px solid #eee; margin: 20px 0; }

        .option-section { text-align: left; margin-bottom: 20px; }
        .section-name { font-size: 14px; font-weight: bold; color: #2d3436; margin-bottom: 10px; display: block; }
        
        .btn-group { display: flex; flex-wrap: wrap; gap: 8px; }
        .chip {
            padding: 7px 15px;
            border-radius: 50px;
            border: 1px solid #dfe6e9;
            background: #fff;
            font-size: 13px;
            color: #636e72;
            transition: 0.3s;
            cursor: pointer;
        }
        .chip.active {
            background:  var(--coral);
            color: #fff;
            border-color: linear-gradient(180deg, #ffafbd 0%, #ffc3a0 100%);
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        }
        /* --- 完美還原：照片相似度滑桿 --- */
        .slider-section { margin-top: 20px; margin-bottom: 20px; text-align: left; }
        .slider-title { font-size: 16px; font-weight: bold; color: linear-gradient(180deg, #ffafbd 0%, #ffc3a0 100%); margin-bottom: 15px; display: block; }
        
        .slider-container {
            display: flex;
            align-items: center;
            gap: 15px;
            position: relative;
        }

        .slider-val { 
            font-size: 16px; 
            font-weight: 800; 
            color: #000; 
            min-width: 45px; 
        }

        .btn-section { margin-top: 20px; text-align: center; }
        input[type="range"] {
            flex: 1;
            -webkit-appearance: none;
            height: 6px;
            background: var(--light-gray);
            border-radius: 10px;
            outline: none;
        }

        /* 滑塊樣式 (Chrome/Safari) */
        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 22px;
            height: 22px;
            background: var(--coral);
            border: 3px solid #fff;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(255, 127, 80, 0.4);
            transition: transform 0.1s;
        }

        input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.2); }
/* 針對 Chrome, Safari, Edge, Opera */
#similarity-range::-webkit-slider-thumb {
    -webkit-appearance: none; /* 必加：清除預設樣式 */
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--coral, linear-gradient(180deg, #ffafbd 0%, #ffc3a0 100%)); /* 隨主題變色，預設 */
    border-radius: 50%; /* 變成圓形 */
    cursor: pointer;
    border: 2px solid white; /* 加個白邊會更有質感，像您的 UI 風格 */
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* 針對 Firefox */
#similarity-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--coral, linear-gradient(180deg, #ffafbd 0%, #ffc3a0 100%));
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
}

/* 順便美化一下滑動條的軌道 (Track) */
#similarity-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #e0e0e0; /* 軌道顏色 */
    border-radius: 5px;
    outline: none;
}
        .max-label { font-size: 16px; font-weight: 800; color: #000; }
.slider-containers {
    width: 100%;
    max-width: 400px;
    margin-top: 10px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 14px;
}

input[type="range"] {
    width: 100%;
    margin: 0;
    cursor: pointer;
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    /* 關鍵：水平 padding 設為滑塊(Thumb)直徑的一半，通常是 8px ~ 12px */
    padding: 0 10px; 
    margin-top: 5px;
}

.slider-ticks span {
   font-size: 12px;
    color: #888;
    width: 30px; /* 固定寬度讓文字置中 */
    text-align: center;
    position: relative;
    /* 讓 span 的中心對準刻度 */
    margin-left: -15px; 
    margin-right: -15px;
}

/* 如果想加小垂直線，可以加這個 */
.slider-ticks span::before {
    content: "";
    display: block;
    width: 1px;
    height: 5px;
    background: #e0e0e0;
    margin: 0 auto 3px;
}
        /* 文本框與按鈕 */
        textarea {
            width: 100%; height: 80px; background: #f9f9f9; border: 1px solid #eee;
            border-radius: 12px; padding: 12px; box-sizing: border-box; margin-top: 10px;
        }

        /* 提交按鈕 */
        .fwd-btn {
            background: var(--coral);
            border: none;
            border-radius: 25px;
            color: white;
            padding: 10px 40px;
            font-size: 18px;
            font-weight: bold;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            cursor: pointer;
        }
		