/* 에셋 스토어(asset.gujo.ai) 화면 — core 에셋 도메인(resources/views/domains/asset-store).
   채택 시안 A(스토어형)를 따른다.
   core 는 gujo-ui 를 쓰지 않으므로 토큰을 여기 둔다. 값은 gujo-ui tokens.css 와 같다. */
:root {
  --as-text: #141414;
  --as-sub: #6e6e6e;
  --as-line: #e5e5e5;
  --as-surface: #f5f5f5;
  --as-brand: #0a6cff;
  --as-brand-dark: #084fbf;
  --as-brand-soft: #e6efff;
  --as-brand-tint: #f6f9ff;
  --as-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body.as-body { margin: 0; background: #fff; color: var(--as-text); font-family: var(--as-sans); font-size: 14px; line-height: 1.65; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; }
.as-body a { color: inherit; text-decoration: none; }
.as-body img { max-width: 100%; }
.as-body [hidden] { display: none !important; }
.as-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.as-main { min-height: 60vh; }
@media (max-width: 640px) { .as-container { padding: 0 20px; } }

/* 서비스 전환 */
.hd-switcher { position: relative; }
.hd-switcher summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 1px solid var(--hd-line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--hd-ink); cursor: pointer; white-space: nowrap; }
.hd-switcher summary::-webkit-details-marker { display: none; }
.hd-switcher summary::after { content: ""; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-top: 4px solid var(--hd-sub); }
.hd-switcher-panel { position: absolute; right: 0; top: 44px; z-index: 60; min-width: 160px; padding: 6px; display: grid; background: #fff; border: 1px solid var(--hd-line); border-radius: 12px; box-shadow: 0 16px 36px -14px rgba(20, 20, 20, .25); }
.site-header .hd-switcher-panel a { padding: 9px 12px; border-radius: 8px; font-size: 14px; }
.site-header .hd-switcher-panel a:hover { background: var(--hd-surface); }
.site-header .hd-switcher-panel a[aria-current="page"] { font-weight: 700; color: var(--hd-brand); }

/* 푸터 */
.as-footer { margin-top: 24px; background: #141414; color: #a3a3a3; font-size: 13.5px; }
.as-footer .as-container { padding-block: 40px 48px; }
.as-footer-cols { display: flex; flex-wrap: wrap; gap: 28px 64px; }
.as-footer-cols nav { display: grid; gap: 10px; align-content: start; }
.as-footer-cols h2 { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: #f2f2f2; }
.as-body .as-footer a { color: #a3a3a3; }
.as-body .as-footer a:hover { color: #f2f2f2; }
.as-footer-meta { margin-top: 32px; padding-top: 20px; border-top: 1px solid #2a2a2a; font-size: 12.5px; line-height: 1.7; }
.as-footer-meta dl { display: flex; flex-wrap: wrap; gap: 2px 18px; margin: 0; }
.as-footer-meta dl > div { display: flex; gap: 6px; }
.as-footer-meta dt { color: #737373; }
.as-footer-meta dd { margin: 0; }
.as-footer-meta p { margin: 12px 0 0; color: #737373; }

/* ======== store-header ======== */
/* 에셋 스토어 헤더 — app.gujo.ai 시안 A 헤더의 구조·크기·메가 메뉴를 따른다.
   색은 이 파일 맨 위의 --as-* 토큰에 잇는다. 채택 시안 A(스토어형) */
.site-header {
  --hd-h: 64px;
  --hd-ink: var(--as-text);
  --hd-sub: var(--as-sub);
  --hd-line: var(--as-line);
  --hd-line-soft: #efeff1;
  --hd-line-strong: #cfd3d9;
  --hd-hover: rgba(20, 20, 20, .06);
  --hd-surface: var(--as-surface);
  --hd-brand: var(--as-brand);
  --hd-brand-soft: var(--as-brand-soft);
  --hd-brand-tint: var(--as-brand-tint);
  --hd-ease: cubic-bezier(.4, 0, .2, 1);
  --hd-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hd-line-soft);
}
.site-header [hidden] { display: none !important; }
.site-header a, .site-header a:hover { color: inherit; text-decoration: none; }
.site-header ul { list-style: none; margin: 0; padding: 0; }
.site-header p { margin: 0; }
.site-header form { margin: 0; }
.site-header .header-inner { display: flex; align-items: center; gap: 28px; height: var(--hd-h); }
.site-header .brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-header .brand a { display: block; }
.site-header .brand img { display: block; height: 24px; width: auto; }
.site-header .badge-store {
  font-family: var(--hd-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 6px; border-radius: 4px; background: var(--hd-brand-soft); color: var(--hd-brand);
}
.site-header .mega-list { display: flex; gap: 2px; }
.site-header .mega-trigger, .site-header .mega-link {
  display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px;
  border: 0; border-radius: 8px; background: transparent; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 500; color: var(--hd-ink);
  transition: background .15s var(--hd-ease);
}
.site-header .mega-trigger:hover, .site-header .mega-link:hover, .site-header .mega-trigger[aria-expanded="true"] { background: var(--hd-hover); }
.site-header .mega-link[aria-current="page"], .site-header .mega-trigger[aria-current="page"] { font-weight: 700; }
.site-header .chev { width: 12px; height: 12px; fill: none; stroke: var(--hd-brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--hd-ease); }
.site-header .mega-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.site-header .header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.site-header .store-search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; width: 230px; background: #fff; border: 1px solid var(--hd-line); border-radius: 999px; transition: border-color .15s var(--hd-ease), box-shadow .15s var(--hd-ease); }
.site-header .store-search svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: var(--hd-sub); stroke-width: 1.8; stroke-linecap: round; }
.site-header .store-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--hd-ink); }
.site-header .store-search input::placeholder { color: var(--hd-sub); }
.site-header .store-search:focus-within { border-color: var(--hd-brand); box-shadow: 0 0 0 3px var(--hd-brand-soft); }
.site-header .btn-sm {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--hd-line); background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--hd-ink);
  white-space: nowrap; cursor: pointer; transition: border-color .2s var(--hd-ease);
}
.site-header .btn-sm:hover { border-color: var(--hd-line-strong); }
.site-header .btn-sm--primary, .site-header a.btn-sm--primary { background: var(--hd-ink); border-color: var(--hd-ink); color: #fff; }

/* 메가 메뉴: 열기 지연 120ms, 닫기 지연 180ms, 방향별 슬라이드, 높이 전환 */
.site-header .mega-stage { position: absolute; top: 100%; left: 0; right: 0; display: flex; justify-content: center; padding: 0 16px; perspective: 2000px; pointer-events: none; }
.site-header .mega-viewport {
  position: relative; width: 100%; max-width: 760px; margin-top: 6px; overflow: hidden; pointer-events: auto;
  background: #fff; border: 1px solid rgba(20, 20, 20, .08); border-radius: 18px;
  box-shadow: 0 24px 48px -16px rgba(20, 20, 20, .22), 0 4px 10px -6px rgba(20, 20, 20, .1);
  transform-origin: top center; transition: height .25s cubic-bezier(0, 0, .2, 1);
}
.site-header .mega-viewport[data-state="open"] { animation: as-nav-scale-in .2s cubic-bezier(0, 0, .2, 1); }
.site-header .mega-viewport[data-state="closed"] { animation: as-nav-scale-out .15s cubic-bezier(.4, 0, 1, 1) forwards; pointer-events: none; }
.site-header .mega-panel { position: absolute; top: 0; left: 0; width: 100%; }
.site-header .mega-panel[data-motion="from-end"] { animation: as-nav-enter-from-right .25s cubic-bezier(0, 0, .2, 1); }
.site-header .mega-panel[data-motion="from-start"] { animation: as-nav-enter-from-left .25s cubic-bezier(0, 0, .2, 1); }
.site-header .mega-panel[data-motion="to-end"] { animation: as-nav-exit-to-right .25s cubic-bezier(0, 0, .2, 1) forwards; }
.site-header .mega-panel[data-motion="to-start"] { animation: as-nav-exit-to-left .25s cubic-bezier(0, 0, .2, 1) forwards; }
@keyframes as-nav-scale-in { from { opacity: 0; transform: rotateX(-8deg) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes as-nav-scale-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: rotateX(-8deg) scale(.96); } }
@keyframes as-nav-enter-from-right { from { opacity: 0; transform: translateX(200px); } to { opacity: 1; transform: none; } }
@keyframes as-nav-enter-from-left { from { opacity: 0; transform: translateX(-200px); } to { opacity: 1; transform: none; } }
@keyframes as-nav-exit-to-right { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(200px); } }
@keyframes as-nav-exit-to-left { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-200px); } }

.site-header .mlabel { margin: 0 0 14px; font-size: 13px; font-weight: 700; color: var(--hd-brand); }
.site-header .mcols { display: grid; }
.site-header .mcol { padding: 26px 28px 28px; }
.site-header .mcol + .mcol { border-left: 1px solid var(--hd-line-soft); }
.site-header .panel-browse { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); }
.site-header .mini-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.site-header .mini-types a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border: 1px solid var(--hd-line-soft); border-radius: 12px; font-size: 12.5px; font-weight: 600; color: var(--hd-ink); text-align: center; transition: border-color .15s var(--hd-ease), background .15s var(--hd-ease); }
.site-header .mini-types a:hover { border-color: var(--hd-brand); background: var(--hd-brand-tint); }
.site-header .mini-types svg { width: 20px; height: 20px; fill: none; stroke: var(--hd-brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-header .mlist { display: grid; gap: 2px; }
.site-header .mlist a { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 -10px; padding: 9px 10px; border-radius: 10px; font-size: 15px; color: var(--hd-ink); transition: background .15s var(--hd-ease); }
.site-header .mlist a:hover { background: var(--hd-surface); }
.site-header .mlist a span { color: var(--hd-brand); }

.site-header .menu { display: none; position: relative; }
.site-header .menu summary { list-style: none; cursor: pointer; width: 40px; height: 36px; border: 1px solid var(--hd-line); border-radius: 999px; display: grid; place-items: center; background: #fff; }
.site-header .menu summary::-webkit-details-marker { display: none; }
.site-header .menu summary span, .site-header .menu summary span::before, .site-header .menu summary span::after { display: block; width: 16px; height: 1.5px; background: var(--hd-ink); position: relative; content: ""; }
.site-header .menu summary span::before { position: absolute; top: -5px; }
.site-header .menu summary span::after { position: absolute; top: 5px; }
.site-header .menu-panel { position: absolute; right: 0; top: 46px; width: 260px; padding: 8px; background: #fff; border: 1px solid var(--hd-line); border-radius: 16px; box-shadow: 0 16px 36px -14px rgba(20, 20, 20, .25); display: grid; }
.site-header .menu-panel a, .site-header .menu-panel button { display: block; width: 100%; padding: 11px 12px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 15px; text-align: left; color: var(--hd-ink); cursor: pointer; }
.site-header .menu-panel a:hover, .site-header .menu-panel button:hover { background: var(--hd-surface); }
.site-header .menu-panel .store-search { width: auto; margin: 4px 4px 8px; }

@media (max-width: 1080px) {
  .site-header .mega, .site-header .mega-stage { display: none; }
  .site-header .menu { display: block; }
  .site-header .header-actions > .store-search,
  .site-header .header-actions > .account { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .mega-viewport, .site-header .mega-panel { animation: none !important; }
  .site-header .mega-viewport { transition: none; }
}

/* ======== asset-cards ======== */
/* 에셋 카드·커버 — 홈 선반과 상세 "다른 에셋"이 함께 쓴다(partials/asset-tile.blade.php).
   커버는 에셋 값(종류)으로 그린다. 색은 이 파일 맨 위의 --as-* 토큰에 잇는다. */
:root {
  --as-ink: var(--as-text);
  --as-ink-2: #50565f;
  --as-ink-3: #868c96;
  --as-brand-soft: #e8f0ff;
  --as-brand-ink: #0a57cc;
  --as-ok: #05875f;
  --as-ok-soft: #e6f5ef;
  --as-art: #0d1420;
  --as-art-grid: #18212f;
  --as-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.as-cover {
  --c: #7fb2ff;
  position: relative; display: flex; align-items: flex-end; aspect-ratio: 16 / 10; max-width: 100%; padding: 12px; overflow: hidden; border-radius: 8px;
  background-color: var(--as-art);
  background-image: linear-gradient(var(--as-art-grid) 1px, transparent 1px), linear-gradient(90deg, var(--as-art-grid) 1px, transparent 1px);
  background-size: 14px 14px;
}
.as-cover[data-type="agent"] { --c: #6fd3c7; }
.as-cover[data-type="prompt"] { --c: #f2c86b; }
.as-cover[data-type="markdown"] { --c: #b8c2d0; }
.as-cover[data-type="generator"] { --c: #c9a3ff; }
.as-cover b { font-family: var(--as-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.as-cover span { position: absolute; right: 12px; top: 12px; width: 30%; aspect-ratio: 1; color: var(--c); opacity: .75; }
.as-cover svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.as-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.as-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; }
.as-chip--type { background: var(--as-brand-soft); color: var(--as-brand-ink); }
.as-chip--trust { background: var(--as-ok-soft); color: var(--as-ok); }

.as-card { display: grid; gap: 10px; align-content: start; color: var(--as-ink); text-decoration: none; }
.as-body a.as-card, .as-body a.as-card:hover { color: var(--as-ink); text-decoration: none; }
.as-card:hover h3 { text-decoration: underline; }
.as-card h3 { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.as-card p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--as-ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.as-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; color: var(--as-ink-3); }
.as-card-meta .as-dl { font-family: var(--as-mono); font-size: 12px; }
.as-price { font-size: 14px; font-weight: 700; color: var(--as-ink); font-variant-numeric: tabular-nums; }
.as-price--free { color: var(--as-ok); }

/* ======== asset-home ======== */
/* 스토어 홈 — 채택 시안 A · 스토어형.
   히어로(검색·종류별 수·가장 많이 받은 에셋), 종류 타일, 많이 받은 에셋, 스토어 규칙, 공식 에셋.
   모든 선택자는 .ah 안에만 걸린다. 카드·커버는 asset-cards.css. */
.ah {
  --ah-soft: #f4f6f9;
  --ah-ink: var(--as-text);
  --ah-ink-2: #50565f;
  --ah-ink-3: #868c96;
  --ah-line: #e3e6eb;
  --ah-line-strong: #cdd2d9;
  --ah-brand: var(--as-brand);
  --ah-brand-hover: var(--as-brand-dark);
  --ah-brand-soft: #e8f0ff;
  --ah-brand-ink: #0a57cc;
  --ah-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ah-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 28px -16px rgba(16, 24, 40, .22);
  color: var(--ah-ink);
  font-size: 14px;
  line-height: 1.65;
  word-break: keep-all;
}
.ah *, .ah *::before, .ah *::after { box-sizing: border-box; }
.ah h1, .ah h2, .ah h3 { margin: 0; text-wrap: balance; }
.ah p { margin: 0; }
.ah :focus-visible { outline: 2px solid var(--ah-brand); outline-offset: 2px; border-radius: 4px; }
.ah .ah-link { color: var(--ah-brand-ink); font-size: 14px; }
.ah .ah-link:hover { text-decoration: underline; }

/* ---------- 히어로 ---------- */
.ah-hero { background: var(--ah-soft); border-bottom: 1px solid var(--ah-line); }
.ah-hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-block: 56px; }
.ah-hero-inner--solo { grid-template-columns: minmax(0, 1fr); }
.ah-hero-copy { display: grid; gap: 18px; align-content: center; }
.ah-eyebrow { font-family: var(--ah-mono); font-size: 12px; letter-spacing: .14em; color: var(--ah-brand-ink); }
.ah-hero h1 { font-size: 40px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; }
.ah-lead { max-width: 56ch; font-size: 16px; line-height: 1.75; color: var(--ah-ink-2); }
.ah-search { display: flex; align-items: center; gap: 10px; max-width: 560px; height: 52px; margin: 0; padding: 0 8px 0 18px; background: #fff; border: 1px solid var(--ah-line-strong); border-radius: 999px; box-shadow: var(--ah-shadow); }
.ah-search:focus-within { border-color: var(--ah-brand); }
.ah-search svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--ah-ink-3); stroke-width: 1.8; stroke-linecap: round; }
.ah-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ah-ink); }
.ah-search input::placeholder { color: var(--ah-ink-3); }
.ah-search button { flex: none; height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ah-brand); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ah-search button:hover { background: var(--ah-brand-hover); }
.ah-type-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ah .ah-type-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--ah-line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: var(--ah-ink); }
.ah .ah-type-chips a:hover { border-color: var(--ah-ink-3); }
.ah-type-chips em { font-style: normal; font-family: var(--ah-mono); font-size: 11.5px; color: var(--ah-ink-3); }

.ah .ah-spot { display: grid; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--ah-line); border-radius: 14px; box-shadow: var(--ah-shadow); color: var(--ah-ink); }
.ah .ah-spot:hover { border-color: var(--ah-line-strong); }
.ah .ah-spot:hover h2 { text-decoration: underline; }
.ah-spot-label { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--ah-ink-3); }
.ah-spot-label b { font-family: var(--ah-mono); font-weight: 500; color: var(--ah-ink-2); }
.ah-spot .as-cover { aspect-ratio: 16 / 8; }
.ah-spot .as-cover span { width: 24%; }
.ah-spot-body { display: grid; gap: 8px; padding: 0 4px 4px; }
.ah-spot-body h2 { font-size: 21px; line-height: 1.3; font-weight: 800; letter-spacing: -.02em; }
.ah-spot-body p { color: var(--ah-ink-2); }
.ah-spot-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--ah-ink-3); }

/* ---------- 섹션 ---------- */
.ah-section { padding-block: 48px 8px; }
.ah-section:last-child { padding-bottom: 64px; }
.ah-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.ah-section-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.ah-section-head p { margin-top: 4px; font-size: 13.5px; color: var(--ah-ink-3); }

.ah-types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ah .ah-type { display: grid; gap: 8px; align-content: start; padding: 18px; border: 1px solid var(--ah-line); border-radius: 12px; background: #fff; color: var(--ah-ink); }
.ah .ah-type:hover { border-color: var(--ah-brand); background: #f6f9ff; }
.ah-type-top { display: flex; justify-content: space-between; align-items: center; }
.ah-type svg { width: 26px; height: 26px; fill: none; stroke: var(--ah-brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ah-type-top em { font-style: normal; font-family: var(--ah-mono); font-size: 12px; color: var(--ah-ink-3); }
.ah-type b { font-size: 15.5px; }
.ah-type p { font-size: 13px; line-height: 1.55; color: var(--ah-ink-2); }

.ah-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ah-cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ah-rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--ah-line); border-radius: 12px; background: var(--ah-soft); }
.ah-rule { display: grid; gap: 6px; align-content: start; padding: 22px 20px; }
.ah-rule + .ah-rule { border-left: 1px solid var(--ah-line); }
.ah-rule svg { width: 22px; height: 22px; fill: none; stroke: var(--ah-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ah-rule b { font-size: 15px; }
.ah-rule p { font-size: 13px; line-height: 1.6; color: var(--ah-ink-2); }

@media (max-width: 1080px) {
  .ah-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ah-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ah-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ah-rule:nth-child(3) { border-left: 0; }
  .ah-rule:nth-child(n + 3) { border-top: 1px solid var(--ah-line); }
}
@media (max-width: 860px) {
  .ah-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 40px; }
  .ah-hero h1 { font-size: 32px; }
  .ah-cards--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ah-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ah-cards, .ah-cards--three { grid-template-columns: minmax(0, 1fr); }
  .ah-rules { grid-template-columns: minmax(0, 1fr); }
  .ah-rule + .ah-rule { border-left: 0; border-top: 1px solid var(--ah-line); }
  .ah-hero h1 { font-size: 28px; }
}

/* ======== asset-detail ======== */
/* 에셋 상세 — 채택 시안 A · 스토어형.
   Unity Asset Store 상품 페이지 뼈대: 미리보기 갤러리 + 구매 상자, 탭, 사이드바, 다른 에셋.
   모든 선택자는 .ad 안에만 걸린다. 색은 이 파일 맨 위의 --as-* 토큰에 잇는다. */
.ad {
  --ad-bg: #fff;
  --ad-soft: #f4f6f9;
  --ad-sunk: #eceff3;
  --ad-ink: var(--as-text);
  --ad-ink-2: #50565f;
  --ad-ink-3: #868c96;
  --ad-line: #e3e6eb;
  --ad-line-strong: #cdd2d9;
  --ad-brand: var(--as-brand);
  --ad-brand-hover: var(--as-brand-dark);
  --ad-brand-soft: #e8f0ff;
  --ad-brand-ink: #0a57cc;
  --ad-ok: #05875f;
  --ad-ok-soft: #e6f5ef;
  --ad-warn: #b45309;
  --ad-warn-soft: #fdf3e2;
  --ad-bad: #b42318;
  --ad-bad-soft: #fdecea;
  --ad-art: #0d1420;
  --ad-art-grid: #18212f;
  --ad-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ad-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 28px -16px rgba(16, 24, 40, .22);
  color: var(--ad-ink);
  font-size: 14px;
  line-height: 1.65;
}
.ad *, .ad *::before, .ad *::after { box-sizing: border-box; }
.ad [hidden] { display: none !important; }
.ad h1, .ad h2, .ad h3 { margin: 0; text-wrap: balance; }
.ad p { margin: 0; }
.ad a { color: var(--ad-brand-ink); }
.ad a:hover { text-decoration: underline; }
.ad code { font-family: var(--ad-mono); }
.ad button { font: inherit; color: inherit; }
.ad :focus-visible { outline: 2px solid var(--ad-brand); outline-offset: 2px; border-radius: 4px; }

.ad-crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding-block: 18px 14px; font-size: 12.5px; color: var(--ad-ink-3); }
.ad .ad-crumbs a { color: var(--ad-ink-2); }
.ad-crumbs span[aria-hidden] { color: var(--ad-line-strong); }

/* ---------- 미리보기 + 구매 상자 ---------- */
.ad-hero { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 32px; align-items: start; }

.ad-stage { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 10px; overflow: hidden; background: var(--ad-sunk); container-type: inline-size; }
.ad-slide { position: absolute; inset: 0; }
.ad-nav { position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(10, 12, 16, .55); color: #fff; display: grid; place-items: center; cursor: pointer; }
.ad-nav:hover { background: rgba(10, 12, 16, .8); }
.ad-nav--prev { left: 12px; }
.ad-nav--next { right: 12px; }
.ad-counter, .ad-caption { position: absolute; bottom: 12px; font-size: 11.5px; color: #fff; background: rgba(10, 12, 16, .6); padding: 3px 10px; border-radius: 999px; }
.ad-counter { right: 12px; font-family: var(--ad-mono); }
.ad-caption { left: 12px; font-weight: 600; }

.ad-cover-art {
  --c: #7fb2ff;
  position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto; column-gap: 4cqw;
  padding: 7cqw 7cqw max(6cqw, 44px); background-color: var(--ad-art);
  background-image: linear-gradient(var(--ad-art-grid) 1px, transparent 1px), linear-gradient(90deg, var(--ad-art-grid) 1px, transparent 1px);
  background-size: 20px 20px; color: #fff;
}
.ad-cover-art[data-type="agent"] { --c: #6fd3c7; }
.ad-cover-art[data-type="prompt"] { --c: #f2c86b; }
.ad-cover-art[data-type="markdown"] { --c: #b8c2d0; }
.ad-cover-art[data-type="generator"] { --c: #c9a3ff; }
.ad-cover-eyebrow { grid-column: 1; font-family: var(--ad-mono); font-size: clamp(9px, 2cqw, 13px); letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
.ad-cover-name { grid-column: 1; align-self: start; margin-top: 2cqw; font-size: clamp(18px, 5.6cqw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ad-cover-meta { grid-column: 1; font-family: var(--ad-mono); font-size: clamp(9px, 1.9cqw, 12.5px); color: #93a1b4; }
.ad-cover-glyph { grid-column: 2; grid-row: 1 / 4; align-self: center; width: 26cqw; max-width: 100%; aspect-ratio: 1; color: var(--c); opacity: .85; }
.ad-cover-glyph svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

.ad-doc { position: absolute; inset: 0; background: var(--ad-soft); padding: 4cqw 5cqw; font-size: clamp(9px, 1.6cqw, 14px); line-height: 1.6; overflow: hidden; }
.ad-doc-sheet { height: 100%; overflow: auto; background: var(--ad-bg); border: 1px solid var(--ad-line); border-radius: 8px; padding: 3cqw 3.6cqw; box-shadow: var(--ad-shadow); }
.ad-doc-file { display: flex; gap: .6em; align-items: center; margin-bottom: 1.2em; font-family: var(--ad-mono); font-size: .85em; color: var(--ad-ink-3); }
.ad-doc-file span { border: 1px solid var(--ad-line); border-radius: 4px; padding: 0 .5em; }
.ad-md { color: var(--ad-ink-2); }
.ad-md h1, .ad-md h2, .ad-md h3, .ad-md h4 { color: var(--ad-ink); margin: 1em 0 .4em; line-height: 1.3; }
.ad-md h1 { font-size: 1.6em; margin-top: 0; }
.ad-md h2 { font-size: 1.3em; }
.ad-md h3, .ad-md h4 { font-size: 1.1em; }
.ad-md p, .ad-md ul, .ad-md ol, .ad-md pre { margin: 0 0 .8em; }
.ad-md ul, .ad-md ol { padding-left: 1.3em; }
.ad-md code { font-size: .92em; background: var(--ad-soft); border-radius: 4px; padding: 1px 5px; }
.ad-md pre { overflow-x: auto; background: var(--ad-soft); border-radius: 6px; padding: .8em 1em; }
.ad-md pre code { background: none; padding: 0; }
.ad-ftable-mini { width: 100%; border-collapse: collapse; font-size: .95em; }
.ad-ftable-mini th, .ad-ftable-mini td { padding: .55em .6em; border-bottom: 1px solid var(--ad-line); text-align: left; }
.ad-ftable-mini th { font-size: .85em; font-weight: 600; color: var(--ad-ink-3); }
.ad-ftable-mini td:last-child, .ad-ftable-mini th:last-child { text-align: right; font-variant-numeric: tabular-nums; }

.ad-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.ad-thumb { position: relative; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 6px; background: var(--ad-sunk); opacity: .72; cursor: pointer; transition: opacity .15s, border-color .15s; }
.ad-thumb:hover { opacity: 1; }
.ad-thumb[aria-current="true"] { border-color: var(--ad-brand); opacity: 1; }
.ad-thumb > span { position: absolute; left: 6px; bottom: 5px; font-size: 10.5px; font-weight: 600; color: #fff; background: rgba(10, 12, 16, .6); padding: 0 6px; border-radius: 4px; }
.ad-th-cover { position: absolute; inset: 0; background-color: var(--ad-art); background-image: linear-gradient(var(--ad-art-grid) 1px, transparent 1px), linear-gradient(90deg, var(--ad-art-grid) 1px, transparent 1px); background-size: 12px 12px; }
.ad-th-doc { position: absolute; inset: 0; display: grid; gap: 5px; align-content: start; padding: 14% 14% 0; background: var(--ad-soft); }
.ad-th-doc i { display: block; height: 3px; border-radius: 2px; background: var(--ad-line-strong); }
.ad-th-doc i:first-child { width: 50%; height: 5px; background: var(--ad-ink-3); }
.ad-th-doc i:nth-child(3) { width: 80%; }
.ad-th-doc i:nth-child(4) { width: 65%; }

.ad-buy { display: grid; gap: 18px; }
.ad-title { display: grid; gap: 8px; }
.ad-title h1 { font-size: 26px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
.ad-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ad-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.ad-chip--type { background: var(--ad-brand-soft); color: var(--ad-brand-ink); }
.ad-chip--trust { background: var(--ad-ok-soft); color: var(--ad-ok); }
.ad-by { font-size: 13.5px; color: var(--ad-ink-2); }
.ad .ad-by a { font-weight: 600; }
.ad-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--ad-ink-3); font-variant-numeric: tabular-nums; }
.ad-tagline { font-size: 14.5px; color: var(--ad-ink-2); }
.ad-pricebox { display: grid; gap: 14px; padding: 20px; border: 1px solid var(--ad-line); border-radius: 10px; background: var(--ad-bg); }
.ad-price-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.ad-price { font-size: 30px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ad-price small { margin-left: 2px; font-size: 18px; font-weight: 700; }
.ad-price--free { color: var(--ad-ok); }
.ad-price-note { font-size: 12px; color: var(--ad-ink-3); }
.ad-lic { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--ad-line); border-radius: 6px; font-size: 13px; }
.ad-lic span { font-size: 12px; color: var(--ad-ink-3); }
.ad-lic b { font-weight: 600; }
.ad-pricebox form { margin: 0; }
.ad-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px; border: 1px solid transparent; border-radius: 6px; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.ad .ad-btn:hover { text-decoration: none; }
.ad .ad-btn--primary { background: var(--ad-brand); color: #fff; }
.ad .ad-btn--primary:hover { background: var(--ad-brand-hover); }
.ad .ad-btn--ghost { height: 42px; background: var(--ad-bg); border-color: var(--ad-line-strong); color: var(--ad-ink); font-size: 14px; font-weight: 600; }
.ad .ad-btn--ghost:hover { border-color: var(--ad-ink-3); }
.ad-soon { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 6px; background: var(--ad-soft); color: var(--ad-ink-2); font-weight: 700; }
.ad-fine { font-size: 12px; line-height: 1.6; color: var(--ad-ink-3); }

/* ---------- 탭 + 본문 ---------- */
.ad-tabbar { position: sticky; top: 64px; z-index: 5; margin-top: 44px; background: var(--ad-bg); border-bottom: 1px solid var(--ad-line); scroll-margin-top: 64px; }
.ad-tabbar .as-container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ad-tab { flex: none; display: flex; align-items: center; gap: 6px; padding: 15px 14px; border: 0; border-bottom: 2px solid transparent; background: none; font-size: 14.5px; font-weight: 600; color: var(--ad-ink-3); cursor: pointer; }
.ad-tab:hover { color: var(--ad-ink); }
.ad-tab[aria-selected="true"] { color: var(--ad-ink); border-bottom-color: var(--ad-brand); }
.ad-tab .ad-n { padding: 0 7px; border-radius: 999px; background: var(--ad-sunk); font-family: var(--ad-mono); font-size: 11px; font-weight: 500; color: var(--ad-ink-2); }

.ad-details { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding-block: 32px 16px; }
.ad-panel { display: grid; gap: 18px; max-width: 720px; }
.ad-panel h2 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.ad-panel > p { font-size: 15px; line-height: 1.8; color: var(--ad-ink-2); white-space: pre-line; }
.ad-empty { color: var(--ad-ink-3); }
.ad-meta-line { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12.5px; color: var(--ad-ink-3); }
.ad-meta-line code { color: var(--ad-ink-2); }
.ad-tbl-scroll { overflow-x: auto; border: 1px solid var(--ad-line); border-radius: 8px; }
.ad-ftable { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 13.5px; }
.ad-ftable th, .ad-ftable td { padding: 11px 14px; border-bottom: 1px solid var(--ad-line); text-align: left; }
.ad-ftable th { background: var(--ad-soft); font-size: 12px; font-weight: 600; color: var(--ad-ink-3); }
.ad-ftable td:last-child, .ad-ftable th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.ad-ftable tbody tr:last-child td { border-bottom: 0; }
.ad-ftable tfoot td { border-top: 1px solid var(--ad-line); border-bottom: 0; background: var(--ad-soft); font-weight: 700; }
.ad-path { font-family: var(--ad-mono); font-size: 12.5px; overflow-wrap: anywhere; }
.ad-ext { padding: 1px 6px; border: 1px solid var(--ad-line); border-radius: 4px; font-family: var(--ad-mono); font-size: 11px; color: var(--ad-ink-2); }

.ad-releases { display: grid; margin: 0; padding: 0; list-style: none; border: 1px solid var(--ad-line); border-radius: 8px; }
.ad-releases li { display: grid; gap: 6px; padding: 16px 18px; border-bottom: 1px solid var(--ad-line); }
.ad-releases li:last-child { border-bottom: 0; }
.ad-rel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ad-rel-head b { font-family: var(--ad-mono); font-size: 15px; }
.ad-rel-head time { font-size: 12.5px; color: var(--ad-ink-3); }
.ad-pill { padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.ad-pill--latest { background: var(--ad-brand-soft); color: var(--ad-brand-ink); }
.ad-pill--deprecated { background: var(--ad-warn-soft); color: var(--ad-warn); }
.ad-pill--yanked { background: var(--ad-bad-soft); color: var(--ad-bad); }
.ad-releases p { font-size: 14px; color: var(--ad-ink-2); white-space: pre-line; }
.ad-hash { font-family: var(--ad-mono); font-size: 11.5px; color: var(--ad-ink-3); overflow-wrap: anywhere; }

.ad-author { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--ad-line); border-radius: 10px; }
.ad-avatar { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--ad-ink); color: #fff; font-size: 22px; font-weight: 800; }
.ad-author div { display: grid; gap: 2px; }
.ad-author b { font-size: 16px; }
.ad-author span { font-size: 13px; color: var(--ad-ink-3); }

.ad-side { display: grid; gap: 28px; }
.ad-side section { display: grid; gap: 10px; }
.ad-side h3 { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--ad-ink-3); }
.ad-compat { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ad-compat td { padding: 10px 12px; border: 1px solid var(--ad-line); }
.ad-compat td:last-child { width: 1%; text-align: right; font-weight: 700; color: var(--ad-ok); }
.ad-kv { display: grid; grid-template-columns: auto 1fr; margin: 0; border-top: 1px solid var(--ad-line); }
.ad-kv dt, .ad-kv dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--ad-line); font-size: 13.5px; }
.ad-kv dt { padding-right: 16px; color: var(--ad-ink-3); }
.ad-kv dd { min-width: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.ad-kv dd.ad-sha { display: flex; justify-content: flex-end; align-items: center; gap: 8px; font-family: var(--ad-mono); font-size: 12px; font-weight: 500; }
.ad-copy { padding: 1px 7px; border: 1px solid var(--ad-line); border-radius: 4px; background: var(--ad-bg); font-size: 11px; color: var(--ad-ink-2); cursor: pointer; }
.ad-copy:hover { border-color: var(--ad-ink-3); }
.ad-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ad .ad-tags a { padding: 4px 12px; border: 1px solid var(--ad-line); border-radius: 999px; font-size: 12.5px; color: var(--ad-ink-2); }
.ad .ad-tags a:hover { border-color: var(--ad-ink-3); color: var(--ad-ink); text-decoration: none; }
.ad-support { font-size: 13.5px; color: var(--ad-ink-2); }

.ad-related { margin-top: 40px; padding-block: 40px 56px; border-top: 1px solid var(--ad-line); }
.ad-related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ad-related-head h2 { font-size: 20px; font-weight: 800; }
.ad-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

@media (max-width: 980px) {
  .ad-hero, .ad-details { grid-template-columns: minmax(0, 1fr); }
  .ad-details { gap: 36px; }
  .ad-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 561px) {
  .ad-cover-art { padding-inline: max(7cqw, 64px); }
}
@media (max-width: 560px) {
  .ad-nav { display: none; }
  .ad-thumbs { gap: 6px; }
  .ad-title h1 { font-size: 22px; }
  .ad-cards { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ad * { transition: none !important; }
}

/* ---------- 카탈로그 목록(.ac) ---------- */
.ac { color: var(--as-text); padding-block: 8px 64px; }
.ac h1, .ac h2 { margin: 0; text-wrap: balance; }
.ac p { margin: 0; }
.ac-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding-block: 28px 20px; }
.ac-head h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.ac-head p { margin-top: 4px; font-size: 14px; color: #868c96; }
.ac-search { display: flex; align-items: center; gap: 8px; width: min(420px, 100%); height: 44px; margin: 0; padding: 0 6px 0 16px; background: #fff; border: 1px solid #cdd2d9; border-radius: 999px; }
.ac-search:focus-within { border-color: var(--as-brand); box-shadow: 0 0 0 3px var(--as-brand-soft); }
.ac-search svg { flex: none; width: 17px; height: 17px; fill: none; stroke: #868c96; stroke-width: 1.8; stroke-linecap: round; }
.ac-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14.5px; color: var(--as-text); }
.ac-search button { flex: none; height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--as-brand); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ac-search button:hover { background: var(--as-brand-dark); }
.ac-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: start; }
.ac-filters { display: grid; gap: 22px; position: sticky; top: 84px; }
.ac-filter h2 { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #868c96; }
.ac-filter ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.as-body .ac-filter a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; font-size: 14px; color: var(--as-text); }
.as-body .ac-filter a:hover { background: var(--as-surface); }
.as-body .ac-filter a[aria-current="true"] { background: var(--as-brand-soft); color: #0a57cc; font-weight: 700; }
.ac-filter em { font-style: normal; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11.5px; color: #868c96; }
.ac-results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 13.5px; color: #50565f; }
.ac-active { display: flex; flex-wrap: wrap; gap: 6px; }
.as-body .ac-active a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid #e3e6eb; border-radius: 999px; font-size: 12.5px; color: var(--as-text); }
.as-body .ac-active a:hover { border-color: #868c96; }
.ac-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; }
.ac-empty { padding: 56px 20px; border: 1px dashed #cdd2d9; border-radius: 12px; text-align: center; color: #50565f; }
.as-body .ac-empty a { color: #0a57cc; font-weight: 600; }
.ac-pages { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.as-body .ac-pages a, .ac-pages span { min-width: 36px; height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e3e6eb; border-radius: 999px; font-size: 13.5px; color: var(--as-text); }
.ac-pages span[aria-current="page"] { background: var(--as-text); border-color: var(--as-text); color: #fff; font-weight: 700; }
.ac-pages span[aria-disabled="true"] { color: #b5bac2; }
@media (max-width: 980px) {
  .ac-layout { grid-template-columns: minmax(0, 1fr); }
  .ac-filters { position: static; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .ac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ac-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 상세: core 전용(트랙·설치 명령·인라인 본문) ---------- */
.ad-chip--track { background: var(--ad-soft); color: var(--ad-ink-2); }
.ad-install { display: grid; gap: 8px; }
.ad-install-label { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--ad-ink-3); }
.ad-cmd { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 14px; border-radius: 8px; background: #0e1116; color: #d6dce4; font-family: var(--ad-mono); font-size: 12px; }
.ad-cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.ad-cmd code::before { content: "$ "; color: #7d8693; }
.ad-cmd-copy { flex: none; padding: 3px 10px; border: 1px solid #363b44; border-radius: 4px; background: transparent; color: #d6dce4; font-size: 11.5px; cursor: pointer; }
.ad-cmd-copy:hover { border-color: #5a616c; }
.ad-inline { display: grid; gap: 14px; padding: 18px 20px; border: 1px solid var(--ad-line); border-radius: 10px; background: var(--ad-bg); }
.ad-inline-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.ad-inline .ad-md { font-size: 14px; line-height: 1.75; }
.ad-lock { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px dashed var(--ad-line-strong); border-radius: 8px; background: var(--ad-soft); color: var(--ad-ink-2); }
.ad-lock svg { flex: none; }
.ad-lock p { font-size: 14px; }
