/* home-v2 (11/16 미리보기): 폰 첫 화면·목록 짜임. 맛도리 기존 색(먹색·종이색)을 그대로 쓰고 장식은 안 넣는다. */
:root{--hv2-ink:#1b1a17;--hv2-paper:#f6f3ee;--hv2-card:#fff;--hv2-mute:#6b655c;--hv2-line:#e6e0d6;--hv2-field:#1b1a17;--hv2-onfield:#fff;--hv2-accent:#b5471b}
@media (max-width:1023px){
  body.home-v2 #landing-intro{background:var(--hv2-paper)}
  body.home-v2 .landing-inner{justify-content:flex-start;gap:0;max-width:none;padding:0 0 calc(96px + env(safe-area-inset-bottom,0px))}
  body.home-v2 .landing-brand,body.home-v2 .landing-start,body.home-v2 .landing-grid,body.home-v2 .ez-big3,body.home-v2 .landing-examples,body.home-v2 .why-line-v16x,body.home-v2 .landing-map{display:none!important}
  .hv2{display:flex;flex-direction:column;gap:20px;padding:12px max(16px,env(safe-area-inset-left,0px)) 8px max(16px,env(safe-area-inset-right,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
  .hv2-top{display:flex;align-items:center;gap:10px}
  .hv2-mark{flex:none;width:40px;height:40px;border-radius:12px;background:var(--hv2-ink);color:#fff;display:grid;place-items:center;font-weight:800;font-size:20px}
  .hv2-search{flex:1;min-width:0}
  .hv2-search .landing-form{margin:0;gap:0}
  .hv2-search #landing-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .hv2-search .landing-search-row{display:flex;gap:0;height:48px;border-radius:999px;background:#fff;border:1.5px solid var(--hv2-ink);overflow:hidden}
  .hv2-search #landing-query{flex:1;min-width:0;border:0;background:transparent;padding:0 0 0 18px;font-size:16px;height:100%;box-shadow:none}
  .hv2-search .landing-submit{flex:none;border:0;border-radius:0;background:var(--hv2-ink);color:#fff;padding:0 16px;font-size:15px;font-weight:700;min-height:0;height:100%}
  .hv2-top .ez-menu-btn{flex:none;min-height:44px}
  .hv2-region{display:flex;align-items:center;justify-content:space-between;gap:12px}
  .hv2-where{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:20px;font-weight:800;color:var(--hv2-ink)}
  .hv2-where select{position:absolute;inset:0;opacity:0;width:100%;font-size:16px}
  .hv2-here{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 4px;border:0;background:none;color:var(--hv2-mute);font:inherit;font-size:15px}
  .hv2 h2{margin:0 0 12px;font-size:17px;font-weight:800;color:var(--hv2-ink)}
  .hv2-cards{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px;padding:0 16px;scrollbar-width:none}
  .hv2-cards::-webkit-scrollbar{display:none}
  .hv2-card{flex:0 0 86%;scroll-snap-align:start;position:relative;display:flex;flex-direction:column;gap:8px;min-height:208px;padding:22px 20px 18px;border-radius:18px;background:var(--hv2-field);color:var(--hv2-onfield);text-decoration:none}
  .hv2-score{font-size:15px;font-weight:700;color:#f0b48f}
  .hv2-card strong{font-size:26px;line-height:1.2;letter-spacing:-.02em}
  .hv2-line{font-size:16px;line-height:1.5;color:#e9e4dc;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .hv2-meta{margin-top:auto;font-size:13px;color:#b8b0a4}
  .hv2-count{position:absolute;right:16px;bottom:16px;font-size:13px;color:#b8b0a4;font-variant-numeric:tabular-nums}
  .hv2-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px 4px}
  .hv2-grid button{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:72px;padding:6px 0;border:0;background:none;color:var(--hv2-ink);font:inherit;font-size:13px;line-height:1.25;text-align:center;word-break:keep-all}
  .hv2-grid button svg{width:30px;height:30px}
  .hv2-grid button:active,.hv2-card:active,.hv2-here:active{transform:scale(.97)}
  body.home-v2 .home-reviews-1112{margin:28px max(16px,env(safe-area-inset-left,0px)) 0;padding:20px 0 0;background:none;border:0}
  /* 목록 화면: 필터 줄을 둥근 칩으로, 카드 사이를 넉넉히 */
  body.home-v2 .chips,body.home-v2 .quick-filters,body.home-v2 .discovery nav{gap:8px}
  body.home-v2 #sidebar .item{padding:20px 16px 18px;border:0;border-bottom:8px solid var(--hv2-paper);background:#fff}
  body.home-v2 #sidebar .item .item-name{font-size:18px;font-weight:800;letter-spacing:-.01em}
  body.home-v2 #sidebar .item .item-meta{font-size:13px;color:var(--hv2-mute)}
  body.home-v2 .hv2-verdict{margin:4px 0 2px;font-size:14px;font-weight:700;color:var(--hv2-accent)}
  body.home-v2 #sidebar .item .search-reason-fix8{margin-top:10px;font-size:15px;color:var(--hv2-ink)}
  body.home-v2 #sidebar .store-list-photo,body.home-v2 #sidebar .list-photo-scope{display:none!important}
}
@media (max-width:1023px){
  body.home-v2 #landing-intro{padding:0!important}
  body.home-v2 .landing-inner{padding-left:0!important;padding-right:0!important;padding-top:max(8px,env(safe-area-inset-top,0px))!important}
  .hv2-search .landing-form>:not(.landing-search-row):not(.landing-error):not(script){display:none!important}
  .hv2-search .landing-search-row{width:100%!important;max-width:none!important;padding:0!important;align-items:stretch}
  .hv2-search #landing-query{flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important;border-radius:0!important;margin:0!important}
  .hv2-search .lf-voice-v2{flex:none!important;width:40px!important;height:100%!important;min-height:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important}
  .hv2-search .landing-submit{width:auto!important;margin:0!important;border-radius:0!important}
  .hv2-top .ez-menu-btn{background:transparent!important;border:0!important;padding:0 4px!important;font-size:15px!important;color:var(--hv2-ink)!important}
}
@media (max-width:1023px){
  .hv2-search>:not(form){display:none!important}
  .hv2-search .landing-form{width:100%!important;max-width:none!important}
  .hv2-cards{scroll-padding-left:16px}
}
@media (max-width:1023px){
  body.home-v2 #landing-intro #landing-form .landing-examples,body.home-v2 #landing-intro #landing-form .ez-sub{display:none!important}
  body.home-v2 #landing-intro .hv2-top .report-btn-v16w.ez-menu-btn{background:transparent!important;border:0!important;padding:0 4px!important;font-size:15px!important;color:var(--hv2-ink)!important;align-self:center}
  .hv2-top{align-items:center}
}
@media (max-width:1023px){body.home-v2 #landing-intro .hv2-search .lf-voice-v2{display:none!important}}
@media (max-width:1023px){
  body.home-v2 #list .hv2-photo-link.in-list{display:flex;align-items:center;margin:0;padding:2px 16px 14px;line-height:1.4;position:relative;z-index:1;background:#fff;border-bottom:8px solid var(--hv2-paper);font-size:14px;color:var(--hv2-mute);text-decoration:underline;text-underline-offset:3px;min-height:32px}
  body.home-v2 #list .item:has(+ .hv2-photo-link){border-bottom:0!important}
  .hv2-photo-link.in-detail{display:flex;align-items:center;justify-content:center;min-height:44px;margin:10px 0 0;border-radius:12px;background:#f1ede6;color:var(--hv2-ink);font-size:15px;font-weight:600;text-decoration:none}
}
@media (max-width:1023px){
  body.home-v2 #sidebar .item .hv2-ph{display:block;margin:-20px -16px 0;width:calc(100% + 32px);aspect-ratio:4/3;max-height:240px;overflow:hidden;background:#ece7df}
  body.home-v2 #sidebar .item .hv2-ph img{width:100%;height:100%;object-fit:cover;display:block}
  body.home-v2 #sidebar .item .hv2-credit{display:block;margin:4px 0 10px;font-size:11px;color:#9a948a}
  .hv2-card.has-ph{padding-top:0;overflow:hidden}
  .hv2-card-ph{display:block;width:calc(100% + 40px);margin:0 -20px 6px;aspect-ratio:4/3;max-height:150px;object-fit:cover;background:#2a2824}
  .hv2-detail-ph{margin:0 0 12px;display:flex;flex-direction:column;gap:4px}
  .hv2-detail-ph img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:#ece7df}
  .hv2-detail-ph figcaption{font-size:11px;color:#9a948a}
  .hv2-detail-ph figcaption a{color:inherit}
}
@media (max-width:1023px){
  /* 상세: 출처 표시가 없는 예전 사진 줄은 숨기고, 출처를 단 대표 사진 한 장만 */
  body.home-v2 #detail-content .store-gallery,body.home-v2 #detail-content .owner-photo-credit,body.home-v2 #detail-content .photo-scope{display:none!important}
  body.home-v2 #detail-content figure:has(> .store-gallery){display:none!important}
/* 11/16 바이스: 한글 낱말 중간에서 줄이 꺾이지 않게(낱말 단위로만). 한 낱말이 줄보다 길 때만 그 안에서 꺾음. */
@media (max-width:1023px){
  body.home-v2 #landing-intro,body.home-v2 #landing-intro *,body.home-v2 #sidebar,body.home-v2 #sidebar *,body.home-v2 #detail-panel,body.home-v2 #detail-panel *,body.home-v2 #md-tabs *{word-break:keep-all;overflow-wrap:anywhere}
  .hv2-card strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
}

/* 11/19 가게 카드 사진 줄: 가게마다 한 장짜리 가로 띠(칸 240x180)를 칸마다 잘라 보여 준다(요청 한 번, 늦게 불러오기). */
body.home-v2 .hv2-row{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:3px;margin:10px 0 2px;border-radius:10px;overflow:hidden;max-width:100%}
body.home-v2 .hv2-row[style*="--n:1"]{grid-template-columns:minmax(0,1fr)}
body.home-v2 .hv2-tile{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:#ece7df;min-width:0}
body.home-v2 .hv2-row[style*="--n:1"] .hv2-tile{aspect-ratio:16/9}
body.home-v2 .hv2-tile img{position:absolute;top:0;height:100%;width:calc(var(--n) * 100%);max-width:none;object-fit:cover;display:block}
body.home-v2 .hv2-row + .hv2-credit{margin:2px 0 8px}
body.home-v2 .taste-list a.has-row{grid-template-columns:minmax(0,1fr);min-height:0}
body.home-v2 .taste-list .hv2-row{margin:4px 0 0}
body.home-v2 .taste-list .hv2-tile img{width:calc(var(--n) * 100%);height:100%;border-radius:0;background:none}
body.home-v2 .taste-list .hv2-credit{display:block;margin:2px 0 0;font-size:11px;font-style:normal;color:#9a948a}
