.sr{display:flex;align-items:flex-start;gap:24px;min-height:0;max-width:1360px;width:auto;margin:0 auto;padding:24px 24px 64px}
.lst{flex:1 1 50%;min-width:0}
.mapw{flex:1 1 50%;min-width:0;position:sticky;top:16px}
.mapbox{position:relative;height:calc(100vh - 80px);min-height:480px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#F5F5F7}
#map{position:absolute;inset:0}
.mchk{position:absolute;top:12px;left:12px;z-index:500;display:flex;flex-direction:row;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25);cursor:pointer}
.mz{position:absolute;top:12px;right:12px;z-index:500;display:flex;flex-direction:column;gap:6px}
.mz button{width:44px;height:44px;border:1px solid var(--ctl);border-radius:10px;background:#fff;font-size:22px;line-height:1;cursor:pointer}
.mnote{margin:8px 0 0;color:var(--muted)}
@media(max-width:900px){.mapw{display:none}}
.sbar2{display:flex;align-items:stretch;border:1px solid var(--ctl);border-radius:16px;background:#fff;position:relative}
.seg{position:relative;flex:1 1 0;min-width:0;display:flex;align-items:center;padding:0 4px}
.seg+.seg::before{content:"";position:absolute;left:0;top:18%;bottom:18%;border-left:1px solid var(--line)}
.seg-w{flex:1.5 1 0;flex-wrap:wrap;padding:8px 30px 8px 14px;cursor:text}
.seg-w label{display:block;width:100%;margin:0}
.seg-w input{width:100%;border:0;outline:0;background:transparent;font-size:16px;font-weight:700;padding:0;height:26px}
.seg-w .x{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:0;background:none;cursor:pointer;font-size:15px;color:var(--muted)}
.sl{display:block;font-size:15px;color:var(--muted);line-height:1.4;font-weight:400}
.sb{flex:1;text-align:left;background:none;border:0;padding:8px 14px;cursor:pointer;display:flex;flex-direction:column;min-width:0;font:inherit}
.sv{font-size:16px;font-weight:700;color:#8A8A8A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sv.on{color:var(--ink)}
.seg.open{background:#F7F8F7;border-radius:14px}
.go{flex:none;margin:8px;border:0;border-radius:12px;background:var(--orange);color:#fff;font-weight:700;font-size:16px;padding:0 26px;cursor:pointer}
.pop{position:absolute;top:calc(100% + 8px);left:0;z-index:30;min-width:280px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 28px rgba(0,0,0,.16);padding:14px;display:flex;flex-direction:column;gap:10px;text-align:left}
.pop[hidden]{display:none}
#pw{min-width:max(100%,460px);width:max-content;max-width:92vw;padding:6px 0;box-sizing:border-box}#pw .opt{white-space:nowrap}#pw .opt span{white-space:nowrap}
.opt{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;width:100%;border:0;background:none;padding:10px 14px;cursor:pointer;text-align:left;font:inherit;font-size:15px}
.opt:hover{background:#F7F8F7}.opt span,.opt small{color:var(--muted)}
.pl{display:flex;flex-direction:column;gap:4px;font-size:15px;font-weight:700;text-align:left}
.pl input{height:42px;border:1px solid var(--ctl);border-radius:10px;padding:0 10px;font-size:15px;font-weight:400}
.pl2{font-size:15px;font-weight:700}
.prow{display:flex;align-items:flex-end;gap:8px}.prow .pl{flex:1}
.chipsr{display:flex;flex-wrap:wrap;gap:8px}
.ch{display:inline-flex;flex-direction:row;margin:0;cursor:pointer;position:relative}.ch input{position:absolute;opacity:0;width:0;height:0}
.ch span,.ch2{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border:1px solid var(--ctl);border-radius:999px;background:#fff;font-size:15px;cursor:pointer}
.ch input:checked+span{background:var(--orange);border-color:var(--orange);color:#fff}
.ch input:focus-visible+span{outline:2px solid var(--orange);outline-offset:2px}
.pa{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:4px}
.lnk{background:none;border:0;text-decoration:underline;color:var(--muted);cursor:pointer;font-size:15px}
.wbtn.sm{min-height:38px;padding:0 18px;background:var(--orange);border-color:var(--orange);color:#fff}
.moreRow{display:flex;margin:10px 0 14px}.moreSeg{flex:none;padding:0}.moreSeg::before{display:none}.pm{min-width:300px}
.fn{background:var(--orange);color:#fff;border-radius:999px;font-size:15px;padding:0 8px;margin-left:6px}
@media(max-width:760px){.sbar2{flex-direction:column;border-radius:14px}.seg{flex:none;padding:0}.seg+.seg::before{left:14px;right:14px;top:0;bottom:auto;border-left:0;border-top:1px solid var(--line)}.go{margin:8px 12px 12px;min-height:46px}.pop{position:static;box-shadow:none;margin:0 12px 12px;min-width:0}}
.shead{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.mut{color:var(--muted);font-size:15px;margin:0}
.sortl{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:15px;text-align:left}
.sortl select{height:40px;border:1px solid var(--ctl);border-radius:10px;padding:0 10px;background:#fff;font-size:15px}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media(max-width:560px){.grid2{grid-template-columns:1fr}}
.lc{display:flex;flex-direction:column;border:1px solid var(--ctl);border-radius:16px;overflow:hidden;background:#fff;color:inherit;text-decoration:none}
.lc:hover{box-shadow:0 4px 14px rgba(0,0,0,.1)}
.lc .cimg{position:relative;aspect-ratio:4/3;background:#F1F9F6 center/cover no-repeat}
.lc .cdate{position:absolute;top:6px;left:6px;padding:2px 8px;border-radius:4px;background:#fff;font-size:15px;font-weight:700}
.lc .cbody{padding:10px 12px 12px;display:flex;flex-direction:column;gap:4px}
.lc .crow{display:flex;gap:6px;align-items:center;font-size:15px}
.lc .ctag{padding:0 6px;border-radius:4px;border:1px solid var(--orange);color:var(--orange);font-weight:700}
.lc .ctitle{font-size:16px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lc .cspec{font-size:15px;color:var(--muted)}
.lc .cprice{font-size:17px;font-weight:700;color:var(--orange)}
.empty{padding:48px;text-align:center;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:16px}
.more{display:flex;justify-content:center;margin-top:24px}
@media(max-width:600px){.sr{padding:16px}.sbar .btn{padding:0 18px}}


.seg-w{display:block;flex-wrap:nowrap;padding:8px 32px 8px 14px}
.seg-w label{display:block;margin:0;padding:0;gap:0}
.seg-w input{display:block;margin:0;padding:0;border:0;height:26px}
.ch span,.ch2{white-space:nowrap}
.chipsr .ch{gap:0}
#moreBtn{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border:1px solid var(--ctl);border-radius:12px;background:#fff;font-size:15px;font-weight:700;cursor:pointer;font-family:inherit}
.moreSeg.open{background:none}
.wbtn.sm{display:inline-flex;align-items:center;border:1px solid var(--orange);border-radius:10px;cursor:pointer;font-size:15px;font-weight:700}
.chipsr .ch{flex:none;width:auto;padding:0;margin:0}.chipsr{justify-content:flex-start}
/* header-embedded compact bar */
header .sbar2{flex:1 1 auto;max-width:880px;margin:0 12px;border-radius:999px}
header .seg-w{padding:4px 28px 4px 18px}
header .seg-w input{height:20px;font-size:15px}
header .sl{font-size:15px;line-height:1.2}
header .sb{padding:4px 12px}
header .sv{font-size:15px}
header .go{margin:5px;padding:0 20px;border-radius:999px;font-size:15px}
header .moreSeg{flex:none}
header #moreBtn{border:0;min-height:0;height:100%;background:none;font-size:15px;padding:0 12px}
header .seg.open{border-radius:999px}
header .pm{left:auto;right:0}
header .bar{flex-wrap:nowrap}
@media(max-width:900px){header .bar{flex-wrap:wrap;padding-top:8px;padding-bottom:8px}header .sbar2{order:3;flex:1 1 100%;max-width:none;margin:4px 0 0;border-radius:14px}header .seg-w{padding:8px 32px 8px 14px}header .sb{padding:8px 14px}header .go{border-radius:12px}header #moreBtn{padding:10px 14px;text-align:left;width:100%}}
header .brand,header .hnav{flex:none;white-space:nowrap}
header .sbar2{min-width:0}
header .seg{min-width:0}
header .sbar2 .seg-w{flex:1.3 1 0}
@media(min-width:901px){header .sbar2{height:54px;align-self:center}header .seg-w{display:flex;flex-direction:column;justify-content:center;padding:0 30px 0 18px}header .sb{justify-content:center;height:100%}header .go{height:44px;align-self:center}}
.lc .crow,.lc .ctitle,.lc .cspec,.lc .cprice,.lc .ctag{font-size:16px;line-height:1.4}
.lc .crow{gap:8px}.lc .ctag{padding:0 8px}
.lc .cbody{gap:6px}
.lc .cdate{font-size:15px;padding:3px 10px}
/* larger, clearer text in the search bar */
.sl{font-size:16px;line-height:1.3;color:var(--orange);font-weight:700}
.sv{font-size:16px;color:#5B524B}.sv.on{color:var(--ink)}
.seg-w input{font-size:16px;height:24px}
.seg-w input::placeholder{color:#5B524B;opacity:1;font-weight:400}
header .sl{font-size:16px;line-height:1.3}
header .sv,header .seg-w input{font-size:16px}
header .seg-w input{height:22px}
header #moreBtn,header .go{font-size:16px}
@media(min-width:901px){header .sbar2{height:64px}header .go{height:48px}}
.sl,.sv,.seg-w input{font-size:15px}
header .sl,header .sv,header .seg-w input,header #moreBtn,header .go{font-size:15px}
header .sl{line-height:1.2}header .seg-w input{height:20px}
@media(min-width:901px){header .sbar2{height:54px}header .go{height:42px}}
.lc .crow svg{width:17.6px;height:17.6px;flex:none}

/* "更多篩選" right drawer (per design sketch) */
.moreSeg{flex:none;display:flex;align-items:center}
#moreBtn{border:0;background:none;cursor:pointer;font-family:inherit;font-weight:700;font-size:15px;padding:0 12px;height:100%;white-space:nowrap}
.dov{position:fixed;inset:0;z-index:80;background:rgba(0,0,0,.4)}
.drw{position:fixed;top:0;right:0;bottom:auto;max-height:100vh;max-height:100dvh;border-bottom-left-radius:16px;z-index:81;width:400px;max-width:100%;background:#fff;box-shadow:-8px 0 32px rgba(42,36,32,.2);display:flex;flex-direction:column}
.dov[hidden],.drw[hidden]{display:none}
.drwh{display:flex;align-items:center;justify-content:space-between;padding:12px 8px 12px 20px;border-bottom:1px solid #D3D9D6}
.drwh h2{margin:0;font-size:18px;font-weight:700}
.drwh button{width:44px;height:44px;border:0;background:none;font-size:24px;cursor:pointer;color:var(--ink)}
.drwb{flex:1 1 auto;overflow-y:auto;padding:8px 20px 16px}
.tk{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:48px;font-size:16px;cursor:pointer;text-align:left}
.tk input,.ck input{width:22px;height:22px;accent-color:var(--orange);margin:0;flex:none}
.ck{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:40px;font-size:15px;cursor:pointer;text-align:left}.ck input{width:18px;height:18px}
.sec{width:100%;display:flex;align-items:center;justify-content:space-between;min-height:56px;margin-top:8px;padding:0;border:0;border-top:1px solid #D3D9D6;background:none;font-size:16px;font-weight:700;cursor:pointer;font-family:inherit;color:var(--ink)}
.secb{display:flex;flex-direction:column;gap:6px;padding-bottom:12px}
.secb .chipsr{margin-bottom:4px}
.amg{display:grid;grid-template-columns:1fr 1fr;gap:0 8px}
.ch2{border:1px solid #CCC;background:#fff;color:var(--ink);cursor:pointer;font-family:inherit}
.ch2.on{background:var(--orange);border-color:var(--orange);color:#fff}
.drwf{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-top:1px solid #D3D9D6}
.go2{min-height:48px;padding:0 22px;border:0;border-radius:12px;background:var(--orange);color:#fff;font-size:16px;font-weight:700;cursor:pointer;font-family:inherit}
@media(max-width:900px){#moreBtn{padding:10px 14px;text-align:left;width:100%}}

/* 頁首：精選中長租、回主站、標語（依草圖）。第一列品牌＋選單，第二列標語，第三列搜尋列 */
header .bar{flex-wrap:wrap;row-gap:10px;padding-top:12px;padding-bottom:16px}
header .bar .brand{order:1}
header .bar .hnav{order:2;margin-left:auto;gap:8px}
header .bar .hero{order:3;flex:1 1 100%;margin:0;padding:0}
header .bar .sbar2{order:4;flex:1 1 100%;max-width:none}
.hnav .stayl{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border-radius:999px;background:#045137;color:#fff;text-decoration:none;font-size:15px;font-weight:700;border-bottom:0;white-space:nowrap}
.hnav .stayl span{font-weight:400;color:#E4F4EF}
.hnav .mainl{padding:10px 8px;color:var(--muted);text-decoration:none;font-weight:400;border-bottom:0;white-space:nowrap}
.hero{display:flex;flex-direction:column;gap:6px;align-items:flex-start;text-align:left}
.hero h1{margin:0;font-family:'Noto Serif TC',serif;font-weight:600;font-size:28px;line-height:1.35}
.hero p{margin:0;font-size:15px;line-height:1.6;color:var(--muted)}
@media(max-width:900px){.hnav .stayl span,.hnav .mainl{display:none}.hero h1{font-size:22px}}

/* result card per sketch */
.lc.hot{box-shadow:0 4px 14px rgba(0,0,0,.18)}
.lc .slides,.lc .sl{position:absolute;inset:0}
.lc .sl{display:none;background:#F1F9F6 center/cover no-repeat}.lc .sl.on{display:block}
.lc .car{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.88);font-size:22px;line-height:1;cursor:pointer;color:var(--ink)}
.lc .car.pv{left:8px}.lc .car.nx{right:8px}
.lc .ccount{position:absolute;right:8px;bottom:8px;padding:2px 8px;border-radius:999px;background:rgba(0,0,0,.6);color:#fff}
.lc .ctitle{color:inherit;text-decoration:none}.lc .ctitle:hover{text-decoration:underline}
.lc .cdesc{margin:0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lc .amrow{display:flex;flex-wrap:wrap;gap:6px}
.lc .ami{width:26px;height:26px;border-radius:12px;background:#F1F9F6;color:#C0560B;display:inline-flex;align-items:center;justify-content:center}
.lc .ami svg{width:16px;height:16px}
.lc .cfoot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px}
.lc .more2{color:var(--orange);font-weight:700;text-decoration:none}.lc .more2:hover{text-decoration:underline}
.lc .acts{display:flex;gap:6px;align-items:center}
.lc .ib{width:40px;height:40px;border:1px solid var(--orange);border-radius:50%;background:#fff;color:var(--orange);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.lc .ib svg{fill:none}.lc .fv.on{background:var(--orange);color:#fff}.lc .fv.on svg{fill:currentColor}
.lc .ctw{position:relative}
.lc .ctpop{position:absolute;right:0;bottom:48px;z-index:20;width:260px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 6px 20px rgba(0,0,0,.18);display:flex;flex-direction:column;gap:8px}
.lc .ctpop[hidden]{display:none}
.lc .ctrow{display:flex;justify-content:space-between;gap:8px}.lc .ctrow span{color:var(--muted)}.lc .ctrow b{font-weight:700;word-break:break-all;text-align:right}
.lc .ctbtn2{display:block;text-align:center;padding:8px 12px;border-radius:8px;background:var(--orange);color:#fff;font-weight:700;text-decoration:none}
.lc .ctnote{margin:0;color:var(--muted)}
.lc{overflow:visible}.lc .cimg{border-radius:16px 16px 0 0;overflow:hidden}
.sr.favp{max-width:1100px}.sr.favp h1{margin:0 0 4px}
.sr.favp .empty{text-align:center;margin:48px 0}

/* mobile: list / map toggle (per sketch) */
.vtog{display:none}
.mcard{position:absolute;left:12px;right:12px;bottom:84px;z-index:500;background:#fff;border-radius:16px;box-shadow:0 4px 16px rgba(0,0,0,.16);padding:10px}
.mcard[hidden]{display:none}
.mcl{display:flex;gap:12px;color:inherit;text-decoration:none}
.mci{flex:0 0 96px;height:80px;border-radius:12px;background:#F1F9F6 center/cover no-repeat}
.mcb{display:flex;flex-direction:column;gap:2px;min-width:0}.mcb .crow{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.mct{font-weight:700;line-height:1.35}.mcd{padding:0 6px;border-radius:4px;background:#F1F9F6}
@media(max-width:900px){
  .sr{display:block;padding:16px 16px 96px}
  .vtog{display:flex;position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:600;align-items:center;gap:8px;min-height:48px;padding:0 22px;border:0;border-radius:999px;background:var(--orange);color:#fff;font:inherit;font-weight:500;box-shadow:0 4px 14px rgba(0,0,0,.22);cursor:pointer}
  body.mv .lst{display:none}
  body.mv .mapw{display:block;position:static}
  body.mv .mapbox{height:calc(100vh - 150px);min-height:420px}
  body.mv .sr{padding-bottom:96px}
  .mchk{top:12px;left:12px}
  .mnote{margin:8px 0 0}
}

/* inquiry modal (same look as the detail page) */
.ov{position:fixed;inset:0;z-index:700;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;padding:16px}.ov[hidden]{display:none}
.inq{background:#fff;border-radius:16px;padding:24px;max-width:460px;width:100%;max-height:92vh;overflow:auto;display:block}
.inq h2{margin:0 0 12px;font-size:20px}
.inq label{display:flex;flex-direction:column;gap:6px;margin-bottom:12px;font-weight:700;text-align:left}
.inq input,.inq select,.inq textarea{border:1px solid var(--ctl);border-radius:10px;padding:10px 12px;font:inherit;font-weight:400;width:100%;box-sizing:border-box}
.inq input,.inq select{height:44px;padding:0 12px}
.inq small{font-weight:400}.inq .mut{color:var(--muted);margin:0 0 12px}
.ierr{color:#B3261E;margin:0 0 12px}
.irow{display:flex;gap:10px;justify-content:flex-end}
.irow .cbtn{min-height:44px;padding:0 24px;border:0;border-radius:12px;background:var(--orange);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.irow .wbtn2{min-height:44px;padding:0 20px;border:1px solid var(--ctl);border-radius:12px;background:#fff;font:inherit;cursor:pointer}
.lc .ctbtn2{border:0;font:inherit;font-weight:700;cursor:pointer;width:100%}
.hnav .postl{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--orange);color:var(--orange);background:#fff;text-decoration:none;font-weight:700;white-space:nowrap}
.lc .cimg{cursor:pointer}

/* mobile: 社群租屋 under Dwell & Cozy */
@media(max-width:600px){header .bar .brand{flex-direction:column;align-items:flex-start;gap:0}header .bar .brand b{font-size:20px;line-height:1.2}header .bar .brand span{padding-left:0;border-left:0;font-size:16px;line-height:1.3}}

.mm{display:none;position:relative}
.mm>button{width:44px;height:44px;border:1px solid var(--ctl);border-radius:999px;background:#fff;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;-webkit-appearance:none;appearance:none;padding:0}
@media(max-width:600px){.mm{display:inline-block}header .bar .postl,header .bar #guestNav{display:none!important}header .bar .hnav{gap:8px;align-items:center}header .bar .brand{align-self:center}}
@media(max-width:600px){header .bar #nmBtn{padding:4px;gap:0;min-height:44px}header .bar #nmBtn>svg,header .bar #nmBtn>.ico{display:none}header .bar .hnav .stayl{padding:0 12px;font-size:14px}}
@media(max-width:600px){header .bar .hnav .stayl svg{display:none}header .bar .brand b{font-size:18px}.mm>button{width:40px;height:40px}header .bar #nmBtn{min-height:40px}header .bar .hnav{gap:6px}}

.areaBtn{position:absolute;top:12px;left:50%;transform:translateX(-50%);z-index:500;min-height:40px;padding:0 18px;border:0;border-radius:999px;background:var(--orange);color:#fff;font-weight:700;font-size:15px;box-shadow:0 2px 8px rgba(0,0,0,.3);cursor:pointer;font-family:inherit;-webkit-appearance:none;appearance:none}
.areaBtn[hidden],.areaChip[hidden]{display:none}
.areaChip{display:inline-flex;align-items:center;gap:8px;margin:6px 0 0;padding:4px 6px 4px 12px;border-radius:999px;background:#FBF3EC;border:1px solid var(--orange);font-size:15px;color:var(--ink)}
.areaChip button{border:0;background:none;color:var(--orange);font-weight:700;text-decoration:underline;cursor:pointer;font-size:15px;font-family:inherit;min-height:32px}
@media(max-width:900px){.mchk{display:none}}
@media(min-width:901px){.areaBtn,.areaChip{display:none!important}}
@media(max-width:600px){.hero h1{font-size:min(22px,calc((100vw - 32px)/21.6));white-space:nowrap;letter-spacing:0}}
