/* 11-22 '오늘 갈 곳 3곳'(사용자 "카드형 어렵다" → '좋아, 진행'). 카드 넘기기(today-deck-20261117.css) 대신 위아래 세 줄.
   사이트 공통 규칙이 p·a·span을 15px !important로 묶어서 글자 크기는 !important로 지정한다. 색·글자는 design-v2 토큰만. */
.today{display:flex;flex-direction:column;margin:var(--s2) 0 0}
.today.today-list>h2{margin:var(--s2) 0 2px!important;font-size:var(--t-title)!important;line-height:1.3!important;font-weight:800;letter-spacing:-.03em;color:var(--c-ink)}
.today .today-sub{margin:0 0 var(--s3);font-size:var(--t-meta)!important;line-height:1.45;color:var(--c-muted);word-break:keep-all}
.today-rows{list-style:none;margin:0;padding:0;display:grid;gap:var(--s2)}
.today-row{position:relative;display:grid;grid-template-columns:28px 1fr 44px;gap:0 var(--s2);align-items:start;padding:var(--s3) var(--s1) var(--s3) var(--s3);border-radius:16px;background:var(--c-paper);box-shadow:0 0 0 1px var(--c-line) inset}
.today-row[data-best]{background:var(--c-mint);box-shadow:0 0 0 2px var(--c-brand) inset}
.today-n{width:26px;height:26px;margin-top:1px;border-radius:50%;display:grid;place-items:center;background:var(--c-soft);font-size:var(--t-meta);font-weight:800;color:var(--c-ink)}
.today-row[data-best] .today-n{background:var(--c-brand);color:var(--c-paper)}
.today-body{min-width:0}
.today .today-row h3{margin:0 0 2px!important;font-size:var(--t-body)!important;line-height:1.35!important;font-weight:800;letter-spacing:-.03em;word-break:keep-all}
.today .today-row h3 a{color:var(--c-ink);text-decoration:none;font-size:inherit!important}
.today .today-row h3 a::after{content:"";position:absolute;inset:0;border-radius:16px}
.today .today-line{margin:0;font-size:var(--t-body)!important;line-height:1.45;font-weight:700;color:var(--c-ink);font-variant-numeric:tabular-nums;word-break:keep-all}
.today .today-line b{color:var(--c-brand);font-weight:800}
.today .today-why{margin:2px 0 0;font-size:var(--t-meta)!important;line-height:1.45;color:var(--c-muted);word-break:keep-all}
.today .today-limit{display:inline-block;margin:var(--s1) 0 0;padding:1px var(--s2);border-radius:6px;background:var(--c-hot-bg);font-size:var(--t-meta)!important;line-height:1.45;font-weight:700;color:var(--c-hot-ink);word-break:keep-all}
.today .today-limit::before{content:"! "}
.today-heart{position:relative;z-index:1;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:none;color:var(--c-muted);cursor:pointer}
.today-heart[aria-pressed=true]{color:var(--c-apricot)}.today-heart[aria-pressed=true] path{fill:currentColor}
.today .today-heart svg{width:22px;height:22px}
.today .today-none{margin:0;padding:var(--s3);border-radius:16px;background:var(--c-soft);font-size:var(--t-body)!important;color:var(--c-ink);word-break:keep-all}
.today-go{display:flex;align-items:center;justify-content:center;min-height:52px;margin:var(--s3) 0 var(--s4);border-radius:16px;background:var(--c-brand-deep);color:var(--c-paper);font-size:var(--t-title)!important;font-weight:700;text-decoration:none}
.today-go:active{transform:scale(.98)}
.today-go{gap:.3em;padding:0 var(--s4);white-space:nowrap}.today-go-name{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:inherit!important;font-weight:inherit}
.today .today-limit{text-wrap:balance}
/* 360px 이하: 세 줄이 첫 화면에 더 들어오게 추천 이유 줄과 거리 기준 안내는 접는다(제약 줄은 남긴다). */
@media (max-width:360px){.today .today-why,.today .today-sub-x{display:none}.today-row{padding:var(--s2) 0 var(--s2) var(--s2)}.today .today-limit{margin-top:2px}}
.today-first{display:grid;gap:var(--s4);padding:var(--s5) 0 var(--s6);text-align:center}
.today-first img{display:block;width:120px;height:102px;margin:0 auto;object-fit:contain}
.today.today-first h2{margin:0!important;font-size:var(--t-display)!important;line-height:1.3!important;letter-spacing:-.045em;text-wrap:balance;color:var(--c-ink)}
.today.today-first p{margin:0;font-size:var(--t-meta);color:var(--c-muted)}
.today-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--s2)}
.today-chips button{min-height:44px;padding:0 var(--s4);border:0;border-radius:22px;background:var(--c-paper);box-shadow:0 0 0 1px var(--c-line) inset;font:inherit;font-size:var(--t-body);font-weight:700;color:var(--c-ink);cursor:pointer}
.today-near{display:inline-flex;align-items:center;justify-content:center;gap:var(--s2);min-height:52px;border:0;border-radius:18px;background:var(--c-brand-deep);color:var(--c-paper);font:inherit;font-size:var(--t-body);font-weight:700;cursor:pointer}.today .today-near svg{width:18px;height:18px}
.today-chips button:active{transform:scale(.96)}
.today-more summary{display:inline-flex;align-items:center;min-height:44px;font-size:var(--t-meta);font-weight:700;color:var(--c-muted);cursor:pointer}
.today :focus-visible{outline:3px solid var(--c-brand);outline-offset:2px;border-radius:12px}
/* 11-19 똑닥 기준 묶음 2: 처음 온 화면은 할 일 하나(동네 고르기). 빈 '우리 아이'·'다섯 동네' 칩 줄은 동네를 고른 뒤에 보인다. */
.compact-discovery:has(.today-first) .home-picks{display:none}
.today-first>p:not([role]){--fs:var(--t-meta)}
/* 11-21 묶음 4(첫 화면 무게): 동네를 고르기 전 첫 화면은 동네 고르기 하나만. 위 메뉴도 숨기고(아래 탭과 같이 동네 화면부터),
   바닥글(소개·약관·개인정보)은 첫 화면 바로 아래로 민다. */
@media (max-width:719px){body:has(.today-first) .site-header-compact nav{display:none}}
.today-first{min-height:calc(100svh - 72px);box-sizing:border-box;align-content:start}

/* 11-23 밤 검수: 320에서 '가족 / 비용 입장 무료'로 끊겨 줄이 3줄이 됐다. 비용은 한 덩어리, 360 이하에서는 '가족 비용' 머리말을 숨긴다(읽기 프로그램은 그대로 읽음). */
.today .today-cost{display:inline;white-space:nowrap}
@media (max-width:360px){.today .today-cost-k{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
/* 11-26 320 두 줄(전: 이름·시각 거리·비용 세 줄): 비용을 다음 줄로 내리던 규칙을 빼고, 360 이하에서는 번호 동그라미를 이름 첫 줄 왼쪽에 얹어
   숫자 줄이 번호 칸 아래까지 쓰게 한다(본문 폭 192→228px). 요소·줄·칸은 그대로다. 200% 확대(300 이하)는 zoom-narrow 규칙 그대로. Google 지도·카카오맵 좁은 목록처럼 번호는 이름 앞, 정보 줄은 왼쪽 끝부터. */
@media (min-width:301px) and (max-width:360px){.today-row{grid-template-columns:1fr 44px}.today-n{position:absolute;left:var(--s2);top:7px;width:22px;height:22px;margin:0}.today .today-row h3{padding-left:30px}}

/* 11-23 경쟁 앱 비교(사용자 'ㄱㄱ', 홈 정리): 오늘 갈 곳 화면은 그 세 곳에서 끝난다. 테마 칩·목록 머리·정렬·필터·전체 목록·이 주의 추천·아래 링크는
   '다른 곳 보기'를 눌렀을 때(view=list)만. 동네 고르기 전 화면도 고르기 하나만. HTML에는 그대로 있어 검색·읽기 프로그램용 링크는 남는다. */
.compact-discovery[data-view=today] .situation-tiles,
.compact-discovery[data-view=today] .home-summary>.related-disclosure,
.compact-discovery[data-view=today] .kid-split,
.compact-discovery[data-view=today] #discovery-results,
.compact-discovery[data-view=today] .weekly-picks,
.compact-discovery[data-view=today] .discovery-more{display:none}
.compact-discovery[data-view=today] #home-summary-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.today-others{display:flex;width:100%;align-items:center;justify-content:center;gap:6px;min-height:48px;margin:0 0 var(--s4);border:1px solid var(--c-line);border-radius:16px;background:var(--c-paper);color:var(--c-ink);font:inherit;font-weight:600;cursor:pointer}
.today-others span{color:var(--c-muted);font-weight:600}
/* 11-25 덜어내기 셋째(Winnie·Citymapper: 처음 화면은 고르는 칸 한 곳 + 큰 버튼 하나): 동네를 고르기 전 처음 화면에서는 위 알약('동네 고르기 · 우리 아이 +')이
   아래 동네 고르기와 같은 말이라 숨긴다. 동네를 고르면 알약이 그대로 돌아온다(아이·이름 찾기는 그때). */
.compact-discovery:has(.today-first) .home-pill{display:none}

/* 11-26 회귀 T1(CLS): 학군 화면은 오늘 세 줄이 오기 전 자리(60vh=506px)를 잡았다가 실제 높이(390에서 약 427px)로 줄어 아래가 들썩였다(수지 0.127·목동 0.100).
   자리와 실제 칸을 같은 높이로 맞춘다: 제목·안내·한 줄짜리 세 줄·[갈래요]·[다른 곳 보기]를 잰 값(390 427px, 360 이하 447px). 줄이 길면 칸이 더 커질 뿐 줄지 않는다. */
/* 11-26 남은 CLS: 학군 화면은 이제 서버가 오늘 세 줄을 바로 그리고 하이드레이션도 같은 줄로 이어 가 빈 자리를 쓰지 않는다.
   그래서 실제 칸(.today-list)의 최소 높이를 풀어 320에서 두 줄이 된 줄 높이 그대로 둔다. 빈 자리는 다른 학군을 고른 뒤 받아 오는 동안(today-hold)만. */
.today-hold{min-height:427px;margin:var(--s2) 0 0}
@media (max-width:360px){.today-hold{min-height:375px}}
