/* 메타 광고 분석 — 11-20 레이아웃·색·질감 재구성
   기준: 상용 광고 리서치 SaaS 제품 화면(Foreplay 브랜드 분석·Motion 소재 리포트)
   + Anthropic frontend-design SKILL.md 슬롭 목록 대조(먹색+형광 강조·→ 링크·가운뎃점 메타·숫자 띠 히어로 제거)
   주제 세계: 메타 피드 광고 — 카드=피드 광고 모양(프로필 줄·문구·소재·CTA 띠), 회색=피드 회색 #F0F2F5
   대담한 요소 하나: 집행 기간 막대(초록 4단계: 0–6 / 7–29 / 30–89 / 90일+), 분포 그래프도 같은 척도. 나머지는 흰 바탕·잉크.
   폭: 1360(양옆 160×600 광고는 ≥1800px 에서만 — 좌우 여백 220px 안에 들어감) */
.al {
  --ink: #1C1E21; --ink-2: #44474C; --ink-3: #65676B; --ink-4: #A8ABB0;
  --line: #DADDE1; --line-2: #EBEDF0; --head: #F7F8FA; --media: #F0F2F5; --hover: #F7F8FA;
  --feed: #F0F2F5;
  --g-0: #C9E9DC; --g-1: #6FD0AA; --g-2: #00A87E; --g-3: #00664C; --g-ink-1: #0F8A64; --g-ink: #00664C;
  color: var(--ink); font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  font-size: 14px; line-height: 1.5; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; word-break: keep-all;
}
.al[data-lang="en"] { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Inter, Roboto, sans-serif; word-break: normal; }
body.dt-body { background: #FFFFFF; overflow-x: clip; }
.dt-nav .navbar-container { max-width: 1360px; padding: 0 24px; }
main.dt-bare { min-width: 0; max-width: 100%; }
.al a { color: inherit; text-decoration: none; }
.al-wrap { max-width: 1360px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.al-body { padding-top: 32px; }
.al-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ── 툴 바 + 머리(흰 바탕 · 선 하나로 본문과 구분) ── */
.al-bar { display: flex; align-items: center; gap: 36px; height: 58px; border-bottom: 1px solid var(--line); }
.al-wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 15.5px; font-weight: 800; letter-spacing: -.035em; white-space: nowrap; color: var(--ink); }
.al-wordmark i { width: 20px; height: 20px; border-radius: 6px; background: var(--g-3); position: relative; }
.al-wordmark i::after { content: ''; position: absolute; left: 4px; right: 4px; bottom: 5px; height: 3px; border-radius: 2px; background: #fff; box-shadow: 0 -5px 0 rgba(255, 255, 255, .55); }
.al-menu { display: flex; gap: 28px; flex: 1; min-width: 0; height: 100%; overflow-x: auto; scrollbar-width: none; }
.al-menu a { display: flex; align-items: center; height: 100%; font-size: 14.5px; font-weight: 500; color: var(--ink-3); white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; }
.al-menu a:hover { color: var(--ink); }
.al-menu a[aria-current="page"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--ink); }
.al-bar-r { display: flex; align-items: center; gap: 10px; }
.al-lang { font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.al-lang:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.al-search, .al-tb-q { position: relative; }
.al-search::before, .al-tb-q::before { content: ''; position: absolute; left: 12px; top: 50%; width: 15px; height: 15px; transform: translateY(-50%); pointer-events: none; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2365676B' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.al-search input, .al-tb-q input { width: 100%; box-sizing: border-box; height: 36px; border: 1px solid transparent; border-radius: 999px; padding: 0 14px 0 36px; font: inherit; font-size: 13.5px; color: var(--ink); background: var(--feed); }
.al-search input::placeholder, .al-tb-q input::placeholder { color: var(--ink-3); }
.al-search input:hover, .al-tb-q input:hover { background: #E8EAED; }
.al-search input:focus, .al-tb-q input:focus { outline: none; background: #fff; border-color: var(--ink); }
.al-search-sm { width: 260px; }
.al-search-xl { width: 100%; }
.al-search-xl::before { left: 18px; width: 18px; height: 18px; }
.al-search-xl input { height: 54px; font-size: 16px; padding-left: 48px; }
.al-sug { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); min-width: 280px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(28, 30, 33, .12); text-align: left; }
.al-sug a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 10px; border-radius: 6px; font-size: 14px; }
.al-sug a:hover, .al-sug a.is-on { background: var(--feed); }
.al-sug b { font-weight: 600; } .al-sug span { color: var(--ink-3); font-size: 12px; }

.al-crumb { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.al-crumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.al-crumb span { color: var(--ink-4); } .al-crumb b { font-weight: 500; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; }
.al-ph-t { display: flex; align-items: center; gap: 22px; margin-top: 16px; min-width: 0; }
.al-ph-t.is-top { margin-top: 34px; }
.al-ph-tx { min-width: 0; }
.al-ph h1 { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -.04em; }
.al-lede { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.al-ph-logo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: var(--feed); box-shadow: 0 0 0 1px var(--line); flex: 0 0 auto; display: block; }
/* 프로필 숫자: 숫자 굵게 + 이름(소셜 프로필 방식) */
.al-kpis { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 14px 0 0; }
.al-kpis div { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.al-kpis dd { margin: 0; order: 1; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.al-kpis dt { order: 2; font-size: 14px; color: var(--ink-2); }
.al-ph:not(:has(.al-subtabs)) { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.al-subtabs { display: flex; gap: 30px; margin-top: 30px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.al-subtabs a { padding: 0 0 13px; font-size: 15px; font-weight: 500; color: var(--ink-3); white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; }
.al-subtabs a:hover { color: var(--ink); }
.al-subtabs a[aria-current="page"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--ink); }

/* 홈 머리: 제목 왼쪽 | 검색 오른쪽, 아래 브랜드 줄 — 바로 광고 피드로 */
.al-home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 20px 56px; align-items: end; padding: 36px 0 0; }
.al-home h1 { font-size: 36px; letter-spacing: -.045em; line-height: 1.15; }
.al-quick { grid-column: 1 / -1; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.al-quick a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink); background: var(--feed); }
.al-quick a:hover { background: #E4E6EB; }
.al-quick-av { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: #fff; display: block; }

/* ── 섹션 ── */
.al-sec { margin: 0 0 52px; }
.al-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 14px; }
.al-sec-head h2 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -.03em; }
.al-sec-head a { font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; text-decoration: underline; text-decoration-color: var(--ink-4); text-underline-offset: 4px; }
.al-sec-head a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.al-note { margin: -6px 0 14px; font-size: 13px; color: var(--ink-3); }
.al-empty { margin: 0; color: var(--ink-3); font-size: 13px; }
.al-split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.al-split-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.al-split > .al-sec { display: flex; flex-direction: column; min-width: 0; }
.al-split > .al-sec > .al-tbl, .al-split > .al-sec > .al-panel-card { flex: 1; }
.al .dt-ad { margin: 0 0 52px; }

/* ── 광고 카드 = 메타 피드 광고 모양 + 집행 기간 막대 ── */
.al-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 16px; align-items: start; transition: opacity .15s; }
.al-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
.is-loading .al-grid { opacity: .4; }
.al-grid-empty { grid-column: 1 / -1; padding: 48px 0; text-align: center; }
.al-card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.al-card-head { display: flex; align-items: center; gap: 9px; padding: 11px 12px 0; min-width: 0; }
.al-logo, .al-av { border-radius: 50%; object-fit: cover; background: var(--feed); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); display: block; flex: 0 0 auto; }
.al-av { width: 32px; height: 32px; }
.al-card-id { display: grid; min-width: 0; line-height: 1.3; }
.al-card-brand { font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-card-brand:hover { text-decoration: underline; text-underline-offset: 2px; }
.al-card-date, .al-card-with { font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-card-date b { font-weight: 500; margin-right: 6px; color: var(--ink-2); }
.al-card-with a { color: var(--ink-2); font-weight: 600; } .al-card-with a:hover { text-decoration: underline; text-underline-offset: 2px; }
.al-card-copy { margin: 9px 12px 0; font-size: 13px; line-height: 1.5; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; min-height: 3em; }
.al-card-media { position: relative; display: block; margin-top: 10px; aspect-ratio: 4 / 5; background: var(--feed); overflow: hidden; }
.al-card-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.al-card-img.is-broken { visibility: hidden; }
.al-card.is-ended .al-card-img { filter: grayscale(.8); opacity: .7; }
.al-card-fmt, .al-card-tag { position: absolute; top: 8px; font-size: 11px; font-weight: 600; line-height: 1; padding: 5px 7px; border-radius: 4px; white-space: nowrap; }
.al-card-fmt { left: 8px; background: rgba(28, 30, 33, .72); color: #fff; max-width: calc(100% - 70px); overflow: hidden; text-overflow: ellipsis; }
.al-card-tag { right: 8px; background: #fff; color: var(--ink-2); }
/* 집행 기간 막대: 소재 아래 끝 — 길이=90일 기준, 색=단계 */
.al-life { position: absolute; left: 0; bottom: 0; height: 5px; width: var(--w); background: var(--g-0); }
.al-life.al-life-1 { background: var(--g-1); } .al-life.al-life-2 { background: var(--g-2); } .al-life.al-life-3 { background: var(--g-3); }
/* CTA 줄: 피드 광고 하단 띠 */
.al-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 7px 10px 7px 12px; box-sizing: border-box; background: var(--feed); font-size: 12px; min-width: 0; }
.al-card-run { font-weight: 700; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.al-run-1 { color: var(--g-ink-1); } .al-run-2, .al-run-3 { color: var(--g-ink); }
.al-card-cta { margin-left: auto; padding: 6px 10px; border-radius: 6px; background: #E2E5E9; font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.al-more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.al-more { height: 44px; padding: 0 28px; border: 0; background: var(--feed); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; border-radius: 8px; cursor: pointer; }
.al-more:hover { background: #E4E6EB; }

/* ── 분석 카드 ── */
.al-panel-card { border: 1px solid var(--line); border-radius: 12px; background: #fff; min-width: 0; }
.al-panel-card + .al-panel-card { margin-top: 16px; }
.al-col-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.al-col-h span { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.al-status { display: grid; grid-template-columns: 360px minmax(0, 1fr); }
.al-status-k { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-right: 1px solid var(--line); }
.al-status-k div { padding: 20px 22px; }
.al-status-k div:nth-child(odd) { border-right: 1px solid var(--line-2); } .al-status-k div:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
.al-status-k dt { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); }
.al-status-k dd { margin: 6px 0 0; font-size: 24px; font-weight: 700; letter-spacing: -.025em; }
.al-hist { padding: 20px 24px; }
.al-hist-bars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: end; height: 124px; }
.al-hist-c { display: grid; grid-template-rows: auto 1fr auto; height: 100%; text-align: center; gap: 5px; }
.al-hist-c b { font-size: 12px; font-weight: 600; } .al-hist-c span { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.al-hist-c i { align-self: end; display: block; min-height: 2px; background: #DCDFE3; border-radius: 3px 3px 0 0; }
.al-hist-c.al-life-0 i { background: var(--g-0); } .al-hist-c.al-life-1 i { background: var(--g-1); } .al-hist-c.al-life-2 i { background: var(--g-2); } .al-hist-c.al-life-3 i { background: var(--g-3); }
.al-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.al-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .al-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.al-col { padding: 18px 22px 16px; border-left: 1px solid var(--line); min-width: 0; }
.al-col:first-child { border-left: 0; }
.al-col-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ink); }
.al-col-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.al-rows { list-style: none; margin: 0; padding: 0; }
.al-rows li { display: grid; grid-template-columns: minmax(0, 1fr) 64px 40px; gap: 12px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line-2); font-size: 13px; }
.al-rows li:first-child { border-top: 0; }
.al-rk-l { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-rk-b { height: 4px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.al-rk-b i { display: block; height: 100%; background: #2B2E34; border-radius: 2px; }

.al-rk-v { text-align: right; font-weight: 600; }
.al-acct { list-style: none; margin: 0; padding: 0; }
.al-acct li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 13px; }
.al-acct li:first-child { border-top: 0; }
.al-acct span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); } .al-acct b { font-weight: 500; color: var(--ink-3); white-space: nowrap; font-size: 12.5px; }
.al-lands { list-style: none; margin: 0; padding: 0; }
.al-lands li + li { border-top: 1px solid var(--line-2); }
.al-lands a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 18px; }
.al-lands a:hover { background: var(--hover); }
.al-land-img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--media); display: block; }
.al-land-t { display: grid; min-width: 0; } .al-land-t b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-land-t small { font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-land-n { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }

/* ── 표(브랜드·업종) ── */
.al-tbl { display: grid; grid-template-rows: auto; grid-auto-rows: 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.al-tr { display: grid; align-items: center; gap: 16px; min-height: 54px; padding: 0 18px; border-top: 1px solid var(--line-2); font-size: 13.5px; }
.al-tr:first-child { border-top: 0; }
a.al-tr:hover { background: var(--hover); }
.al-th { min-height: 40px; background: var(--head); font-size: 12px; font-weight: 500; color: var(--ink-3); }
.al-tr .num { text-align: right; }
.al-btbl .al-tr { grid-template-columns: 24px minmax(0, 1fr) 110px 130px 130px 130px; }
.al-btbl.is-compact .al-tr { grid-template-columns: 24px minmax(0, 1fr) 100px 120px; }
.al-btbl.is-compact .al-c-x { display: none; }
.al-rk { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.al-bcell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.al-bcell > span { display: grid; min-width: 0; line-height: 1.35; }
.al-bcell b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-bcell small { font-size: 12px; color: var(--ink-3); }
.al-logo { width: 32px; height: 32px; }
.al-strong { font-weight: 600; }
.al-c-fmt { color: var(--ink-2); }
.al-itbl .al-tr { grid-template-columns: minmax(0, 1fr) 76px 92px; }
.al-itbl .al-it-line { text-align: right; }
.al-itbl.is-full .al-tr { grid-template-columns: 200px minmax(0, 1fr) 90px 110px; }
.al-itbl b { font-size: 14px; font-weight: 600; }
.al-it-line { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.al-it-top { font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 크리에이터 표 */
.al-table-wrap { overflow: auto; max-height: 720px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.al-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.al-table th { position: sticky; top: 0; z-index: 1; background: var(--head); text-align: left; font-size: 12px; font-weight: 500; color: var(--ink-3); padding: 12px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.al-table td { padding: 14px 18px; border-top: 1px solid var(--line-2); white-space: nowrap; vertical-align: top; color: var(--ink-2); }
.al-table tbody tr:first-child td { border-top: 0; }
.al-table tbody tr:hover td { background: var(--hover); }
.al-table .num { text-align: right; }
.al-cr-name { font-weight: 600; color: var(--ink) !important; } .al-cr-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.al-cr-brands { white-space: normal !important; color: var(--ink-3); }
.al-cr-brands a + a::before { content: ', '; color: var(--ink-3); }
.al-cr-brands a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── 탐색 도구 줄 ── */
.al-toolbar { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; }
.al-tb-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.al-tb-row2 { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.al-tb-q { flex: 1 1 300px; min-width: 0; }
.al-tb-q input { height: 40px; font-size: 14px; padding-left: 36px; }
.al-f { display: inline-flex; align-items: center; gap: 6px; height: 40px; box-sizing: border-box; padding-left: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; min-width: 0; }
.al-f:hover { border-color: var(--ink-4); }
.al-f:focus-within { border-color: var(--ink); }
.al-f > span { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.al-f select, .al-f input { height: 38px; border: 0; background: transparent; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink); min-width: 0; }
.al-f select { -webkit-appearance: none; appearance: none; padding: 0 30px 0 0; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%233F444C' stroke-width='1.5'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center; }
.al-f input { padding: 0 10px 0 0; font-weight: 500; }
.al-f select:focus, .al-f input:focus { outline: none; }
.al-tb-r { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.al-chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); white-space: nowrap; cursor: pointer; }
.al-chk input { width: 16px; height: 16px; accent-color: var(--ink); margin: 0; }
.al-presets { display: inline-flex; padding: 3px; background: var(--head); border: 1px solid var(--line); border-radius: 9px; }
.al-presets button { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink-3); padding: 0 12px; height: 32px; border-radius: 6px; cursor: pointer; white-space: nowrap; }
.al-presets button:hover { color: var(--ink); }
.al-presets button[aria-pressed="true"] { background: var(--ink); color: #fff; font-weight: 600; }
.al-ex-count { margin: 18px 0 14px; font-size: 13px; font-weight: 500; color: var(--ink-3); }

@media (max-width: 1280px) {
  .al-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .al-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .al-cols-4 .al-col:nth-child(3) { border-left: 0; } .al-cols-4 .al-col:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 1099px) {
  .al-grid, .al-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .al-home { grid-template-columns: minmax(0, 1fr); }
  .al-split, .al-split-even { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .al-status { grid-template-columns: minmax(0, 1fr); } .al-status-k { border-right: 0; border-bottom: 1px solid var(--line); }
  .al-cols { grid-template-columns: minmax(0, 1fr); }
  .al-cols .al-col { border-left: 0 !important; } .al-cols .al-col + .al-col { border-top: 1px solid var(--line); }
  .al-btbl .al-tr { grid-template-columns: 24px minmax(0, 1fr) 100px 120px; } .al-btbl .al-c-x { display: none; }
  .al-search-sm { width: 200px; }
  .al-tb-r { margin-left: 0; }
}
@media (max-width: 768px) {
  .al-wrap { padding: 0 16px; }
  .dt-nav .navbar-container { padding: 0 16px; }
  .al-bar { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; height: auto; padding-top: 12px; }
  .al-bar-r { grid-column: 2; grid-row: 1; }
  .al-menu { grid-column: 1 / -1; grid-row: 2; height: 46px; gap: 22px; margin-top: 4px; }
  .al-search-sm { display: none; }
  .al-ph h1 { font-size: 23px; } .al-lede { font-size: 14px; }
  .al-ph-t { gap: 14px; align-items: flex-start; } .al-ph-t.is-top { margin-top: 22px; }
  .al-ph-logo { width: 56px; height: 56px; }
  .al-kpis { gap: 4px 16px; margin-top: 10px; } .al-kpis dd { font-size: 15px; } .al-kpis dt { font-size: 13px; }
  .al-subtabs { margin-top: 22px; gap: 22px; }
  .al-home { padding-top: 24px; gap: 16px; } .al-home h1 { font-size: 27px; }
  .al-search-xl input { height: 48px; font-size: 15px; }
  .al-quick { margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .al-body { padding-top: 24px; }
  .al-sec { margin-bottom: 40px; } .al-sec-head h2 { font-size: 17px; }
  .al-grid, .al-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .al-card-head { padding: 9px 9px 0; gap: 7px; } .al-av { width: 26px; height: 26px; }
  .al-card-brand { font-size: 12.5px; } .al-card-date { font-size: 11px; }
  .al-card-copy { margin: 7px 9px 0; font-size: 12px; }
  .al-card-cta { display: none; } .al-card-foot { min-height: 36px; padding: 6px 9px; font-size: 11.5px; }
  .al-status-k div { padding: 14px 16px; } .al-status-k dd { font-size: 20px; }
  .al-hist { padding: 16px; } .al-hist-bars { gap: 6px; } .al-hist-c span { font-size: 10px; }
  .al-col { padding: 16px; }
  .al-tr { padding: 0 14px; gap: 10px; }
  .al-btbl .al-tr, .al-btbl.is-compact .al-tr { grid-template-columns: 20px minmax(0, 1fr) 72px; } .al-btbl .al-c-fmt { display: none; }
  .al-itbl.is-full .al-tr { grid-template-columns: minmax(0, 1fr) 70px 86px; } .al-it-top { display: none; }
  .al-toolbar { padding: 10px; }
  .al-tb-q { flex-basis: 100%; }
  .al-f { flex: 1 1 calc(50% - 4px); } .al-f select, .al-f input { flex: 1; width: 100%; }
  .al-presets { width: 100%; } .al-presets button { flex: 1; padding: 0 4px; font-size: 12px; }
  .al-tb-r { width: 100%; flex-wrap: wrap; gap: 8px 14px; }
  .al-tb-r .al-f { flex-basis: 100%; }
  .al-lands a { padding: 10px 14px; }
}

/* 11-20 대표님 지시: 머리에 진한 바 하나 — 화면 끝까지(내용은 1360 폭 정렬 그대로). 양옆 160×600 광고는 화면 세로 가운데라 겹치지 않음 */
.al-bar { background: var(--ink); box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax); border-bottom: 0; height: 56px; }
.al-wordmark { color: #fff; }
.al-wordmark i { background: var(--g-2); }
.al-menu a { color: #B0B3B8; }
.al-menu a:hover { color: #fff; }
.al-menu a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--g-2); }
.al-lang { color: #D4D6DA; }
.al-lang:hover { color: #fff; }
.al-search-sm::before { filter: brightness(1.6); }
.al-search-sm input { background: rgba(255, 255, 255, .1); color: #fff; }
.al-search-sm input::placeholder { color: #A0A3A8; }
.al-search-sm input:hover { background: rgba(255, 255, 255, .16); }
.al-search-sm input:focus { background: #fff; color: var(--ink); border-color: #fff; }
@media (max-width: 768px) { .al-bar { height: auto; padding-top: 10px; } .al-menu { height: 44px; } }
.al .al-wordmark { color: #fff; }
.al .al-lang { color: #D4D6DA; } .al .al-lang:hover { color: #fff; }

/* 11-20 대표님: 헤더 = 툴 바부터 제목·설명·검색·브랜드 칩(브랜드 페이지는 위치·로고·숫자·탭)까지 전부 — 화면 끝까지 진한 띠 하나 */
.al-ph { background: var(--ink); box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax); color: #fff; padding-bottom: 36px; }
.al-ph:has(.al-subtabs) { padding-bottom: 0; }
.al-ph:not(:has(.al-subtabs)) { border-bottom: 0; padding-bottom: 36px; }
.al-bar { box-shadow: none; clip-path: none; background: transparent; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.al-ph h1 { color: #fff; }
.al-ph .al-lede { color: #B9BCC1; }
.al-crumb { color: #9A9DA3; } .al-crumb a:hover { color: #fff; } .al-crumb span { color: rgba(255, 255, 255, .3); } .al-crumb b { color: #D4D6DA; }
.al-ph-logo { box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); background: #fff; }
.al-kpis dd { color: #fff; } .al-kpis dt { color: #B9BCC1; }
.al-subtabs { border-bottom: 0; }
.al-subtabs a { color: #9A9DA3; } .al-subtabs a:hover { color: #fff; }
.al-subtabs a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--g-2); }
.al-search-xl::before { filter: none; }
.al-search-xl input { background: #fff; color: var(--ink); }
.al-search-xl input:hover { background: #fff; }
.al-search-xl input:focus { border-color: var(--g-2); box-shadow: 0 0 0 3px rgba(0, 168, 126, .35); }
.al-quick a { background: rgba(255, 255, 255, .08); color: #E4E6EB; }
.al-quick a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.al-home { padding-top: 40px; }
.al-body { padding-top: 40px; }
@media (max-width: 768px) { .al-ph { padding-bottom: 24px; } .al-home { padding-top: 24px; } .al-body { padding-top: 28px; } }
/* 11-20 대표님: 이 툴은 디마툴즈 공통 상단바 숨김 — 진한 헤더가 맨 위 */
.dt-nav { display: none; }
.al-bar-r { gap: 18px; }
.al .al-all { padding: 0 12px; height: 32px; display: inline-flex; align-items: center; border: 1px solid rgba(255, 255, 255, .22); border-radius: 8px; }
.al .al-all:hover { border-color: #fff; text-decoration: none; }
@media (max-width: 768px) { .al-bar-r { gap: 10px; } .al .al-all { height: 28px; padding: 0 9px; font-size: 12px; } .al .al-lang { font-size: 12px; } }
