/* 穿衣建議查詢：版面、字級、導覽列沿用楓葉查詢（experience.css 的 planner-*），這裡只放這頁特有的元件。
   頁面照使用順序排成三步：搜尋目的地 → 看懂 Weathernews 頁面 → 對照衣服圖示 */
.clothes-page{scroll-behavior:smooth}
.clothes-page .planner-heading{margin-bottom:10px}
.clothes-page .planner-heading h1{display:block;margin:0}

/* 每一步：灰色小字「第 1 步」＋段落標題，層級是 頁面標題 28px → 段落 20px → 項目 15px */
.clothes-step{padding:22px 0;border-top:1px solid var(--line);scroll-margin-top:16px}
.clothes-step-head{margin-bottom:12px}
.clothes-step-head h2{font-size:20px;font-weight:600;letter-spacing:-.02em;line-height:1.4;margin:0}
.clothes-step-head p:last-child{font-size:14px;color:var(--sub);margin:4px 0 0}

/* 1 搜尋 */
.clothes-label{display:block;font-size:13px;font-weight:500;margin-bottom:7px}
.clothes-input-wrap{height:48px;display:flex;align-items:center;gap:8px;padding:0 12px;background:#fff;border:1px solid #cfd4d8;border-radius:6px}
.clothes-input-wrap:hover{border-color:#959ea5}
.clothes-input-wrap:focus-within{outline:2px solid var(--focus);outline-offset:2px}
.clothes-input-wrap svg{width:18px;height:18px;color:var(--sub)}
#clothesSearch{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;font-size:15px}
.clothes-hint{font-size:12px;color:var(--sub);margin:7px 0 14px}
.clothes-status{font-size:13px;font-weight:500;color:var(--ink);margin:0 0 8px}
.clothes-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px;max-height:400px;overflow-y:auto;padding:2px}
.clothes-results:empty{display:none}
.clothes-results.is-rep{display:block;max-height:none;overflow:visible}
.clothes-results.is-rep .clothes-result{max-width:320px}
.clothes-more-btn{display:inline-block;margin:10px 0 0;padding:0;border:0;background:none;color:var(--accent);font:inherit;font-size:13px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.clothes-results+.clothes-more-btn{margin-top:10px}
.clothes-status+.clothes-more-btn{margin:0 0 10px}
.clothes-results>a:not(.clothes-result){padding:12px;font-size:13px;color:var(--accent)}
.clothes-result{display:flex;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:8px 12px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);text-decoration:none;transition:border-color .15s}
.clothes-result:hover,.clothes-result:focus-visible{border-color:var(--accent)}
.clothes-result>span:first-child{min-width:0}
.clothes-result strong{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.clothes-result small{display:block;font-size:12px;color:var(--sub)}
.clothes-result>span:last-child{flex:none;color:var(--accent);font-size:13px}
/* 還沒輸入時：熱門地點排成一顆顆按鈕 */
.clothes-results.is-popular{display:flex;flex-wrap:wrap;gap:8px;max-height:none;border:0;background:none}
.clothes-results.is-popular .clothes-result{padding:8px 14px;border:1px solid #cfd4d8;border-radius:999px;background:#fff}
.clothes-results.is-popular .clothes-result:hover,.clothes-results.is-popular .clothes-result:focus-visible{border-color:var(--accent);background:#fff}
.clothes-results.is-popular .clothes-result small{display:none}
.clothes-results.is-popular .clothes-result>span:last-child{font-size:12px}
@media(max-width:767px){.clothes-results{grid-template-columns:repeat(2,minmax(0,1fr));max-height:360px}}

/* 圖示說明：衣服圖示對照、白天早晚、天氣、雨傘合成一個盒子，左右兩欄，字和圖示都盡量小 */
.clothes-box{padding:18px 20px;border:1px solid var(--line);border-radius:8px;background:#fff;margin-top:24px}
.clothes-box h3{font-size:15px;font-weight:600;margin:0 0 12px}
.clothes-box-sub{font-size:12px;color:var(--sub);margin:-2px 0 8px}
.clothes-legend-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:0 32px;align-items:start}
.clothes-legend-grid h4{font-size:13px;font-weight:600;margin:0 0 8px;padding-bottom:5px;border-bottom:1px solid var(--line)}
.clothes-legend-grid>div>h4:not(:first-child){margin-top:18px}
.clothes-rules,.clothes-umbrella{list-style:none;margin:0;padding:0}
.clothes-rules li{display:flex;gap:10px;align-items:flex-start;padding:5px 0;font-size:12px;line-height:1.5;color:var(--sub)}
.clothes-rules li>img{flex:none;width:22px;height:22px}
.clothes-rules li>span{flex:none;padding:1px 6px;border-radius:4px;font-size:12px;font-weight:600;color:var(--ink)}
.clothes-rules .is-day>span{background:#fbf3d9}
.clothes-rules .is-night>span{background:#e6e8f2}
.clothes-rules b{display:block;font-size:13px;font-weight:600;color:var(--ink)}
.clothes-umbrella li{display:grid;grid-template-columns:28px 72px 1fr;grid-template-rows:auto auto;column-gap:8px;align-items:center;padding:6px 0;border-top:1px solid var(--line)}
.clothes-umbrella li:first-child{border-top:0;padding-top:0}
.clothes-umbrella img{grid-row:1/3;width:24px;height:24px}
.clothes-umbrella span{grid-row:1/3;font-size:12px;font-weight:600;color:var(--sub)}
.clothes-umbrella b{font-size:13px;font-weight:600}
.clothes-umbrella small{font-size:11px;color:var(--sub)}
.clothes-wx-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 6px}
.clothes-wx-list li{display:flex;flex-direction:column;align-items:center;text-align:center}
.clothes-wx-list img{width:48px;height:35px;border-radius:5px}
.clothes-wx-list b{font-size:12px;font-weight:600;margin-top:3px}
.clothes-wx-list small{font-size:10px;color:var(--sub)}
.clothes-legend-note{font-size:11px;color:var(--sub);margin:8px 0 0}
/* 衣服圖示：由熱到冷一直列，左邊一條冷熱色帶 */
.clothes-scale{display:flex;gap:10px}
.clothes-scale-bar{flex:none;display:flex;flex-direction:column;align-items:center;gap:4px;width:16px;font-size:11px;font-weight:600;color:var(--sub)}
.clothes-scale-bar i{flex:1;width:5px;border-radius:3px;background:linear-gradient(#e8871e,#e9b93c 30%,#9fb6c3 65%,#306680)}
.clothes-scale-items{flex:1;min-width:0;list-style:none;margin:0;padding:0}
.clothes-scale-items li{display:flex;align-items:center;gap:10px;padding:5px 0;border-top:1px solid var(--line)}
.clothes-scale-items li:first-child{border-top:0}
.clothes-scale-items img{flex:none;width:32px;height:32px;object-fit:contain}
.clothes-scale-items strong{font-size:13px;font-weight:600}
.clothes-scale-items small{margin-left:6px;font-size:11px;color:var(--sub)}
.clothes-scale-items p{margin:0;font-size:12px;line-height:1.4;color:var(--sub)}
.clothes-note{font-size:11px;color:var(--sub);margin:14px 0 0}
@media(max-width:767px){.clothes-legend-grid{grid-template-columns:minmax(0,1fr)}.clothes-legend-grid>div+div{margin-top:20px}}

.clothes-follow{margin-top:8px}
.clothes-page .planner-footer a{color:var(--sub)}

@media(max-width:767px){
  .clothes-step{padding:18px 0}
  .clothes-step-head h2{font-size:18px}
}

