/* 11/09 대표: 제작자 '제안을 기다리는 의뢰' — 시안 8(탭·필터·마감 띠·3열) + 7(누르면 필터 접힘·오른쪽 자세히·빠른 제안) + 9·10(휴대폰 아래 판).
   색·유리는 glass2.css 토큰. 짝: scripts/page-requests.js */
.m-main.cr-page { max-width: 1232px; }
.cr-page .vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 위: 제목 + 찾기·정렬(휴대폰은 [필터] 단추) */
.cr-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cr-top .m-h1 { margin-bottom: 0; letter-spacing: -.03em; }
.cr-n { color: var(--c-point); }
.cr-page h1::before { display: none !important; } /* 첫 제목 위 장식 막대는 이 화면만 뺌(작은 글씨와 제목 사이에 끼어 보임) */
.cr-page .cr-q.m-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6E73' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4 4'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: 14px 50% !important; background-size: 18px !important; padding-left: 40px !important; }
.cr-top__tools { display: flex; align-items: center; gap: 8px; }
.cr-top__tools[hidden] { display: none; }
.cr-q.m-input { width: 280px; height: 44px; border-radius: 14px; padding-left: 40px; background: rgba(255,255,255,.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6E73' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4 4'/%3E%3C/svg%3E") 14px 50% / 18px no-repeat; }
.cr-sort.m-input { height: 44px; width: auto; border-radius: 999px; }
.cr-top__tools .us-btn { min-height: 44px; border-radius: 999px; }
.cr-fbtn { display: none; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border: 0; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 700; color: var(--c-main); background: var(--c-soft); cursor: pointer; }
.cr-fbtn svg, .cr-rail svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cr-fbtn__n, .cr-rail__n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--c-main); color: #fff; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.cr-fbtn__n[hidden], .cr-rail__n[hidden] { display: none; }

/* 탭: 유리 알약 안에서 짙은 틸 알약이 미끄러짐 */
.cr-tabs { position: relative; display: inline-flex; gap: 2px; margin: 20px 0 0; padding: 5px; border-radius: 999px;
  background: var(--glass-sheen), var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge), var(--glass-shadow); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.cr-tabs[hidden] { display: none; }
.cr-tabs__pill { position: absolute; left: 5px; top: 5px; bottom: 5px; width: 0; border-radius: 999px; background: var(--c-main); box-shadow: var(--btn-main-shadow); opacity: 0; transition: transform .35s cubic-bezier(.16, 1, .3, 1), width .35s cubic-bezier(.16, 1, .3, 1); }
.cr-tabs__pill.is-on { opacity: 1; }
.cr-tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 15px; font-weight: 600; color: #3d463f; white-space: nowrap; cursor: pointer; transition: color .25s; }
.cr-tab svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cr-tab[aria-selected="true"] { color: #fff; }
.cr-tab__n { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 12.5px; background: rgba(27,58,61,.08); color: var(--c-main); }
.cr-tab[aria-selected="true"] .cr-tab__n { background: rgba(255,255,255,.18); color: #fff; }
.cr-tab.has-new[aria-selected="false"] .cr-tab__n { background: var(--c-point); color: #fff; }
.cr-tab:focus-visible { outline: 2px solid var(--c-point); outline-offset: 2px; }

/* 판 배치: 필터 | 목록  →  누르면 막대 | 목록 2열 | 자세히 */
.cr-lay { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; margin-top: 18px; align-items: start; }
.cr-lay.is-open { grid-template-columns: 64px minmax(0, 1fr) 440px; }
.cr-gated .cr-lay { display: none; }

/* 필터 */
.cr-flt { position: sticky; top: 96px; border-radius: 24px; background: var(--glass-sheen), var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge), var(--glass-shadow); }
.cr-flt[hidden] { display: none; }
.cr-flt__in { padding: 20px; }
.cr-flt__head { display: flex; align-items: center; justify-content: space-between; }
.cr-flt__head h2 { margin: 0; font-size: 17px; font-weight: 700; }
.cr-flt__h { margin: 18px 0 10px; font-size: 14px; font-weight: 700; }
.cr-chips, .cr-inds { display: flex; flex-wrap: wrap; gap: 6px; }
.cr-chip { height: 36px; min-height: 36px; min-width: 0; padding: 0 13px; border: 0; border-radius: 999px; font: inherit; font-size: 13.5px; font-weight: 600; color: #3d463f; background: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px rgba(27,58,61,.1); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s, transform .15s; }
.cr-chip:hover { box-shadow: inset 0 0 0 1px rgba(32,136,136,.45); }
.cr-chip:active { transform: translateY(1px); }
.cr-chip[aria-checked="true"] { background: var(--c-main); color: #fff; box-shadow: var(--btn-main-shadow); }
.cr-chip:focus-visible { outline: 2px solid var(--c-point); outline-offset: 2px; }
.cr-can { display: flex; align-items: center; gap: 8px; margin-top: 20px; min-height: 44px; font-size: 14px; font-weight: 600; cursor: pointer; }
.cr-can input { width: 20px; height: 20px; accent-color: var(--c-main); }
.cr-link { border: 0; background: none; padding: 0; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--c-point); cursor: pointer; min-height: 32px; text-decoration: none; }
.cr-link:hover { text-decoration: underline; }
.cr-flt__go, .cr-sheet-hdl { display: none !important; }
/* 접힌 막대 */
.cr-rail { display: none; width: 100%; flex-direction: column; align-items: center; gap: 10px; padding: 16px 6px; border: 0; background: none; font: inherit; color: var(--c-main); cursor: pointer; border-radius: 24px; }
.cr-rail svg { width: 22px; height: 22px; padding: 9px; box-sizing: content-box; border-radius: 50%; background: var(--c-soft); }
.cr-rail__t { writing-mode: vertical-rl; font-size: 12.5px; font-weight: 600; color: var(--c-text-2); letter-spacing: .12em; }
.cr-rail:hover .cr-rail__t { color: var(--c-main); }
.cr-lay.is-open .cr-rail { display: flex; }
.cr-lay.is-open .cr-flt__in { display: none; }

/* 곧 마감 띠 */
.cr-sec { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 16px; font-weight: 700; }
.cr-sec svg { width: 18px; height: 18px; fill: none; stroke: var(--c-point); stroke-width: 2; stroke-linecap: round; }
.cr-sec__sub { font-weight: 600; color: var(--c-text-2); font-size: 14px; }
#cr-sec { margin-top: 22px; }
.cr-soon { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cr-lay.is-open .cr-soon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cr-lay.is-open .cr-soon > li:nth-child(n+3) { display: none; }
.cr-soon__it { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px; border: 0; border-radius: 20px; text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: var(--glass-sheen), var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge), var(--glass-shadow); transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s; }
.cr-soon__it:hover { transform: translateY(-3px); box-shadow: var(--glass-edge), 0 2px 4px rgba(16,40,40,.06), 0 20px 40px rgba(16,40,40,.14); }
.cr-soon__it:focus-visible { outline: 2px solid var(--c-point); outline-offset: 3px; }
.cr-soon__tx { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.cr-soon__tx b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-soon__m { font-size: 13.5px; color: var(--c-text-2); }
.cr-soon__d { margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--c-text-2); }
.cr-soon__d.is-hot { color: #B4532F; }
.cr-soon__k { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; opacity: .85; }
.cr-soon__k svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.cr-prog { display: block; height: 6px; margin-top: 7px; border-radius: 3px; background: rgba(27,58,61,.08); overflow: hidden; }
.cr-prog i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, var(--c-point), #2fb5b0); animation: cr-fill .9s .2s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes cr-fill { from { width: 0; } }
.cr-soon__it.is-priv { color: #fff; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 40%), var(--c-main); box-shadow: 0 14px 30px rgba(27,58,61,.28); }
.cr-soon__it.is-priv .cr-soon__m { color: #cfe3e2; }
.cr-soon__it.is-priv .cr-prog { background: rgba(255,255,255,.18); }
.cr-soon__it.is-priv .cr-prog i { background: #7fd6d2; }
.cr-soon__it.is-priv .cr-soon__d { color: #ffd3c2; }

/* 사진 칸(사진 없으면 업종 글자 + 영상 그림) */
.cr-th { position: relative; overflow: hidden; border-radius: 16px; background: var(--c-inner); aspect-ratio: 16 / 10; }
.cr-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transform-origin: 40% 35%; transition: transform .6s cubic-bezier(.16, 1, .3, 1); } /* 모서리 표시가 잘리게 살짝 확대 */
.cr-th.is-none { display: grid; place-content: center; justify-items: center; gap: 6px; background: radial-gradient(120% 90% at 85% 0%, rgba(32,136,136,.16), transparent 60%), linear-gradient(160deg, #EEF6F5, #E1EEED); color: var(--c-point); }
.cr-ph-ic { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.cr-ph-t { font-size: 13px; font-weight: 700; color: var(--c-main); opacity: .75; }
.cr-th--s { width: 58px; height: 58px; flex: none; aspect-ratio: auto; border-radius: 14px; }
.cr-th--s .cr-ph-ic { width: 22px; height: 22px; } .cr-th--s .cr-ph-t { display: none; }

/* 카드 3열(열리면 2열) */
.cr-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cr-lay.is-open .cr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cr-grid.is-in .cr-cell { animation: cr-up .55s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes cr-up { from { opacity: 0; transform: translateY(16px); } }
.cr-card { position: relative; height: 100%; padding: 10px; border-radius: 24px; background: var(--glass-sheen), var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), var(--glass-shadow); transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s; }
.cr-card:hover { transform: translateY(-6px); box-shadow: var(--glass-edge), 0 2px 4px rgba(16,40,40,.06), 0 26px 50px rgba(16,40,40,.16); }
.cr-card:hover .cr-th img { transform: scale(1.1); }
.cr-card:focus-within { box-shadow: var(--glass-edge), 0 0 0 3px rgba(32,136,136,.35), var(--glass-shadow); }
.cr-card.is-priv { box-shadow: inset 0 0 0 1.5px rgba(32,136,136,.55), 0 0 0 4px rgba(32,136,136,.1), var(--glass-shadow); animation: cr-breathe 3.2s ease-in-out infinite; }
@keyframes cr-breathe { 50% { box-shadow: inset 0 0 0 1.5px rgba(32,136,136,.7), 0 0 0 7px rgba(32,136,136,.07), var(--glass-shadow); } }
.cr-card.is-sel { animation: none; box-shadow: inset 0 0 0 2px var(--c-point), 0 0 0 5px rgba(32,136,136,.14), var(--glass-shadow); }
.cr-card.is-sel::after { content: ''; position: absolute; right: 14px; bottom: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--c-point) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: 0 0 0 3px #fff; }
.cr-pill { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--c-soft); color: var(--c-main); white-space: nowrap; }
.cr-pill svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.cr-pill--priv { background: var(--c-main); color: #fff; }
.cr-pill--on { background: rgba(255,255,255,.9); box-shadow: 0 0 0 1px rgba(27,58,61,.08); color: #3d463f; }
.cr-th > .cr-pill { position: absolute; left: 8px; top: 8px; z-index: 2; }
.cr-th > .cr-fav { position: absolute; right: 8px; top: 8px; z-index: 3; min-width: 40px; min-height: 40px; padding: 0; justify-content: center; border: 0; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cr-bd { padding: 12px 6px 6px; }
.cr-card__t { margin: 0; font-size: 16.5px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-card__t a { color: inherit; text-decoration: none; }
.cr-card__t a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 24px; } /* 카드 전체가 눌림 */
.cr-card__t a:focus-visible { outline: none; }
.cr-card__m { margin: 4px 0 0; font-size: 13.5px; color: var(--c-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-card__row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.cr-money { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.cr-money small { font-size: 13px; font-weight: 600; color: var(--c-text-2); margin-left: 2px; }
.cr-d { height: 28px; padding: 0 10px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,.9); box-shadow: inset 0 0 0 1px rgba(27,58,61,.1); color: #3d463f; }
.cr-d.is-hot { background: #FDEEE8; box-shadow: none; color: #B4532F; }
.cr-card__st { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.cr-st { font-size: 12.5px; font-weight: 600; color: var(--c-text-2); }
.cr-st--mine { color: var(--c-point); font-weight: 700; }
.cr-st--full { color: #B4532F; }
.cr-st--test { color: #8a6d00; }
.cr-card--skel { height: auto; }
.cr-card--skel .cr-th { margin: 0; height: auto; }
.cr-skl { display: block; height: 13px !important; margin: 10px 0 0 !important; width: 78%; border-radius: 7px !important; } .cr-skl.is-s { width: 46%; }
.cr-empty { padding: 48px 20px; border-radius: 24px; background: var(--glass-sheen), var(--glass-bg); box-shadow: var(--glass-edge), var(--glass-shadow); }
.cr-all { display: block; margin: 16px auto 0; font-size: 15px; min-height: 44px; }
.cr-more { margin-top: 18px; }

/* 자세히 판 */
.cr-det { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow: auto; overscroll-behavior: contain; padding: 20px; border-radius: 26px;
  background: var(--glass-sheen), rgba(255,255,255,.82); -webkit-backdrop-filter: var(--glass-float-blur); backdrop-filter: var(--glass-float-blur); box-shadow: var(--glass-edge), 0 2px 4px rgba(16,40,40,.08), 0 26px 56px rgba(16,40,40,.18); scrollbar-width: thin; }
.cr-det[hidden] { display: none; }
.m-main.cr-page aside.cr-det { padding: 20px; } /* member.css가 aside 좌우 안쪽 여백을 0으로 만듦 */
.cr-det:focus { outline: none; }
.cr-det.is-in { animation: cr-slide .42s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes cr-slide { from { opacity: 0; transform: translateX(24px); } }
/* 닫기: 맥 창 단추(왼쪽 위 점, 커서 올리면 ×). 보이는 점은 14px, 누름 칸은 44px */
.cr-x { position: absolute; left: 1px; top: 1px; z-index: 4; box-sizing: content-box; width: 14px; height: 14px; margin: 0; padding: 0; border: 15px solid transparent; border-radius: 50%; background: #208888 padding-box; cursor: pointer; transition: transform .15s; -webkit-tap-highlight-color: transparent; }
.cr-x::before, .cr-x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.6px; border-radius: 1px; background: #FAFAFA; opacity: 0; transition: opacity .15s; pointer-events: none; }
.cr-x::before { transform: translate(-50%, -50%) rotate(45deg); } .cr-x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.cr-x:hover::before, .cr-x:hover::after, .cr-x:focus-visible::before, .cr-x:focus-visible::after { opacity: 1; }
.cr-x:hover { transform: scale(1.1); }
.cr-x:focus-visible { outline: 2px solid var(--c-point); outline-offset: -12px; }
.cr-th--big { aspect-ratio: 16 / 10; }
.cr-shots { display: flex; gap: 8px; margin-top: 8px; }
.cr-shot { width: 56px; height: 56px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; opacity: .6; background: var(--c-inner); transition: opacity .2s, box-shadow .2s; }
.cr-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cr-shot.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--c-point); }
.cr-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cr-det__t { margin: 10px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.cr-det__t:focus { outline: none; }
.cr-det .adv-line { margin-top: 8px; }
.cr-det__body { margin: 10px 0 0; font-size: 14.5px; line-height: 1.65; color: #3a3a3c; white-space: pre-line; }
.cr-det__priv { margin: 10px 0 0; padding: 10px 12px; border-radius: 14px; background: var(--c-soft); font-size: 13.5px; color: var(--c-main); line-height: 1.5; }
.cr-kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; }
.cr-kv div { padding: 11px 12px; border-radius: 14px; background: var(--c-inner); }
.cr-kv dt { font-size: 12.5px; color: var(--c-text-2); }
.cr-kv dd { margin: 2px 0 0; font-size: 16.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-act { margin-top: 14px; }
.cr-note { padding: 14px; border-radius: 16px; background: var(--c-inner); }
.cr-note p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; }
.cr-wbtn { display: none !important; }
.cr-wbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cr-qf { padding: 14px; border-radius: 18px; background: var(--c-inner); }
.cr-qf__h { margin: 0 0 10px; font-size: 14px; font-weight: 700; }
.cr-qf__two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cr-qf__f { margin-top: 8px; } .cr-qf__two .cr-qf__f { margin-top: 0; }
.cr-qf__f label { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 600; color: var(--c-text-2); }
.cr-qf .m-input { width: 100%; background: #FAFAFA; border-radius: 12px; min-height: 44px; }
.cr-qf textarea.m-input { min-height: 72px; resize: vertical; }
.cr-qf__err { margin: 4px 0 0; font-size: 12.5px; color: #c2410c; }
.cr-qf .m-help { margin: 4px 0 0; font-size: 12.5px; }
.cr-qf__fail { margin: 10px 0 0; }
.cr-qf__go { margin-top: 12px; height: 50px; }
.cr-qf__more { display: block; margin: 8px auto 0; text-align: center; min-height: 40px; line-height: 40px; }
.cr-det__foot { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(27,58,61,.08); }
.cr-det__foot .fav { margin-right: auto; }
.cr-dim { display: none; }

/* 아이패드 가로~작은 노트북: 열리면 필터 막대 + 1열 */
@media (max-width: 1180px) and (min-width: 761px) {
  .cr-lay.is-open { grid-template-columns: 56px minmax(0, 1fr) 400px; }
  .cr-lay.is-open .cr-grid, .cr-lay.is-open .cr-soon { grid-template-columns: minmax(0, 1fr); }
  .cr-lay.is-open .cr-soon > li:nth-child(n+2) { display: none; }
  .cr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-soon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-q.m-input { width: 220px; }
}
@media (max-width: 960px) and (min-width: 761px) {
  .cr-lay { grid-template-columns: 220px minmax(0, 1fr); }
  .cr-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 휴대폰: 필터·자세히는 아래에서 올라오는 판, 카드는 한 줄씩(사진 왼쪽) */
@media (max-width: 760px) {
  .cr-top { align-items: stretch; }
  .cr-top > div:first-child { width: 100%; }
  .cr-top__tools { width: 100%; }
  .cr-q.m-input { flex: 1; width: auto; min-width: 0; }
  .cr-top__tools .us, .cr-top__tools .us-btn, .cr-sort { display: none !important; }
  .cr-fbtn { display: inline-flex; }
  .cr-tabs { display: flex; margin-top: 14px; }
  .cr-tab { padding: 0 12px; font-size: 14px; flex: none; }
  .cr-lay, .cr-lay.is-open { display: block; margin-top: 14px; }
  .cr-flt { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 310; max-height: 86vh; overflow: auto; border-radius: 28px 28px 0 0; background: #FCFEFE; -webkit-backdrop-filter: none; backdrop-filter: none;
    box-shadow: 0 -20px 60px rgba(16,40,40,.22); transform: translateY(105%); visibility: hidden; transition: transform .38s cubic-bezier(.16, 1, .3, 1), visibility 0s .38s; padding-bottom: env(safe-area-inset-bottom); }
  .cr-fopen .cr-flt { transform: none; visibility: visible; transition: transform .42s cubic-bezier(.2, 1.15, .4, 1), visibility 0s; }
  .cr-lay.is-open .cr-flt__in { display: block; }
  .cr-rail, .cr-lay.is-open .cr-rail { display: none; }
  .cr-flt__in { padding: 12px 18px 22px; }
  .cr-sheet-hdl { display: block !important; width: 40px; height: 5px; border-radius: 3px; background: #d5dcdc; margin: 0 auto 12px; }
  .cr-chip { height: 44px; min-height: 44px; padding: 0 15px; font-size: 14px; }
  .cr-flt__go { display: flex !important; margin-top: 18px; height: 52px; }
  .cr-soon, .cr-lay.is-open .cr-soon { display: flex; overflow-x: auto; gap: 10px; margin: 0 -16px; padding: 4px 16px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cr-lay.is-open .cr-soon > li:nth-child(n+2), .cr-lay.is-open .cr-soon > li:nth-child(n+3) { display: block; }
  .cr-soon > li { flex: none; width: 74%; max-width: 280px; scroll-snap-align: start; }
  .cr-grid, .cr-lay.is-open .cr-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cr-card { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 20px; }
  .cr-card:hover { transform: none; }
  .cr-card .cr-th { width: 96px; height: 96px; flex: none; aspect-ratio: auto; border-radius: 14px; }
  .cr-card .cr-th .cr-ph-t { display: none; }
  .cr-card .cr-th > .cr-pill { display: none; }
  .cr-card .cr-th > .cr-fav { right: 4px; top: 4px; min-width: 32px; min-height: 32px; width: 32px; height: 32px; }
  .cr-card .cr-th > .cr-fav svg { width: 16px; height: 16px; }
  .cr-bd { flex: 1; min-width: 0; padding: 0; }
  .cr-card.is-priv .cr-bd::before { content: '나에게 온 개인 의뢰'; display: inline-flex; height: 22px; padding: 0 9px; margin-bottom: 4px; border-radius: 999px; background: var(--c-main); color: #fff; font-size: 11.5px; font-weight: 700; align-items: center; }
  .cr-card__t { font-size: 15.5px; }
  .cr-money { font-size: 18px; }
  .cr-card.is-sel::after { display: none; }
  .cr-card__t a::after { border-radius: 20px; }
  .cr-dim { display: block; position: fixed; inset: 0; z-index: 300; background: rgba(20,40,42,.32); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: cr-dim .3s ease both; }
  .cr-dim[hidden] { display: none; }
  @keyframes cr-dim { from { opacity: 0; } }
  .m-main.cr-page aside.cr-det { padding: 12px 18px calc(22px + env(safe-area-inset-bottom)); }
  .cr-det { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 310; max-height: 88vh; border-radius: 28px 28px 0 0; padding: 12px 18px calc(22px + env(safe-area-inset-bottom)); background: #FCFEFE; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 -20px 60px rgba(16,40,40,.22); }
  .cr-det.is-in { animation: cr-rise .42s cubic-bezier(.2, 1.15, .4, 1) both; }
  @keyframes cr-rise { from { transform: translateY(100%); } }
  .cr-det .cr-sheet-hdl { display: block !important; width: 40px; height: 5px; border-radius: 3px; background: #d5dcdc; margin: 0 auto 12px; }
  .cr-x { left: 4px; top: 2px; }
  .cr-det:not(.is-write) .cr-qf { display: none; }
  .cr-det:not(.is-write) .cr-wbtn { display: flex !important; height: 52px; }
  .cr-det.is-write .cr-qf { animation: cr-up .4s cubic-bezier(.16, 1, .3, 1) both; }
  .cr-kv dd { font-size: 15px; }
  html.cr-lock, html.cr-lock body { overflow: hidden; }
  html.cr-lock .m-main.cr-page, html.cr-fopen .m-main.cr-page { z-index: 200; } /* 본문이 자기 층(isolation)이라, 판이 머리 메뉴 위로 오게 본문 층을 올림 */
  html.cr-fopen, html.cr-fopen body { overflow: hidden; }
  body:has(.cr-page) .iq-fab { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .cr-grid.is-in .cr-cell, .cr-card.is-priv, .cr-det.is-in, .cr-prog i, .cr-dim, .cr-det.is-write .cr-qf { animation: none !important; }
  .cr-card, .cr-soon__it, .cr-th img, .cr-tabs__pill, .cr-flt { transition: none !important; }
  .cr-card:hover, .cr-soon__it:hover { transform: none; }
}
.cr-qf__go:disabled { opacity: .45; cursor: not-allowed; box-shadow: none !important; }

/* 11/09 가상 고객 시험: 작은 휴대폰+글자 크게에서 예산이 '35,0…'로 잘림 → 좁으면 예산을 한 줄 통째로, 나머지 둘은 반씩 */
@media (max-width: 400px) {
  .cr-kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-kv div:first-child { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
  .cr-kv div:first-child dd { margin: 0; }
  .cr-kv dd { white-space: normal; overflow: visible; word-break: keep-all; }
}

/* 11/10 빠른 제안: 샘플 파일 바로 올리기 */
.cr-qf__lab { margin: 0 0 4px; font-size: 12.5px; font-weight: 600; color: var(--c-text-2); }
.cr-qf__sg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cr-qf__si { position: relative; margin: 0; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #e7efee; }
.cr-qf__si img, .cr-qf__si video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cr-qf__sv { position: absolute; left: 6px; bottom: 6px; padding: 1px 7px; border-radius: 99px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(27, 58, 61, .78); }
.cr-qf__sx { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border: 0; border-radius: 50%; font-size: 16px; line-height: 1; color: #fff; background: rgba(27, 58, 61, .78); cursor: pointer; }
.cr-qf__sx::after { content: ''; position: absolute; inset: -9px; }
.cr-qf__sadd { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 1.5px dashed rgba(27, 58, 61, .28); border-radius: 12px; background: #FAFAFA; color: var(--c-main, #1b3a3d); cursor: pointer; font: inherit; }
.cr-qf__sadd svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cr-qf__sadd b { font-size: 12.5px; } .cr-qf__sadd small { font-size: 11px; color: var(--c-text-2); }
.cr-qf__sadd:hover { border-color: var(--c-point, #208888); background: #e7efee; }
.cr-qf__sadd:focus-visible { outline: 2px solid #1b3a3d; outline-offset: 2px; }
.cr-qf__files.is-only .cr-qf__sg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cr-qf__files.is-only .cr-qf__sadd { aspect-ratio: auto; min-height: 88px; grid-column: 1 / -1; flex-direction: row; gap: 8px; }
.cr-qf__files.is-only .cr-qf__sadd:has(~ *) , .cr-qf__files.is-only .cr-qf__si ~ .cr-qf__sadd { grid-column: auto; aspect-ratio: 1; min-height: 0; flex-direction: column; gap: 2px; }
.cr-qf__sadd[hidden] { display: none; }
