
.page-cn { background: var(--deep); }
.cn, .cp { position: relative; z-index: 1; margin: 0 auto; padding: 0 var(--pad) 96px; }
.cn, .cp { max-width: 1240px; }

.cn-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cn-tag { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--text); background: rgba(255,255,255,.08); box-shadow: var(--glass-edge); }
.cn-tag.draft { background: #f2b78c; color: var(--ink); box-shadow: none; }
.cn-go { display: inline-flex; align-items: center; gap: 4px; }
.cn-go svg, .cn-back svg, .cn-btn svg, .mat-dl svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.cn-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; font-size: 14px; color: var(--muted); transition: color .2s; }
.cn-back svg { transform: rotate(180deg); }
.cn-back:hover { color: var(--text); }
.cn-back:hover svg { transform: rotate(180deg) translateX(3px); }
.cn-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 12px; font-size: 15px; font-weight: 700;
  background: var(--lime); color: var(--ink); box-shadow: 0 4px 18px rgba(133,234,4,.3); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.cn-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(133,234,4,.42); }
.cn-btn.ghost { background: rgba(255,255,255,.06); color: var(--text); box-shadow: var(--glass-edge); }
.cn-btn.ghost:hover { background: rgba(255,255,255,.12); }
.glass { background: linear-gradient(170deg, rgba(255,255,255,.08), rgba(255,255,255,.02) 40%, rgba(10,11,10,.5)); }

.page-hub .page-bg { height: 100vh; }
.cn-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 4vw, 64px); padding-top: 128px; }
.cn-hero h1 { font-size: clamp(36px, 4vw, 60px); line-height: 1.1; white-space: nowrap; letter-spacing: .02em; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cn-lead { margin-top: 22px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; line-height: 1.4; }
.cn-intro { margin-top: 14px; font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 30em; }
.cn-filter { margin-top: 44px; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(22,25,22,.5);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--glass-edge); }
.cn-filter button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: 10px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; line-height: 1; color: var(--muted); background: none; transition: color .15s, background .15s; }
.cn-filter button span { font-size: 12px; opacity: .7; font-variant-numeric: tabular-nums; }
.cn-filter button:hover { color: var(--text); }
.cn-filter button.on { color: var(--ink); background: var(--lime); }

.cn-feat { position: relative; height: 400px; border-radius: 26px; overflow: hidden; background: rgba(18,20,18,.8);
  box-shadow: var(--glass-edge), 0 30px 80px rgba(0,0,0,.35); }
.cn-slide { position: absolute; inset: 0; display: grid; background: #121412; grid-template-rows: minmax(0, 1fr) auto; opacity: 0; transform: translateX(8%); pointer-events: none;
  transition: opacity .6s var(--ease), transform .7s var(--ease); }
.cn-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.cn-slide.out { transform: translateX(-8%); }
.cn-cover.cn-slide-cover { aspect-ratio: auto; height: 100%; }
.cn-slide-body { display: flex; align-items: center; gap: 20px; padding: 18px 26px 20px; }
.cn-slide-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cn-slide h2 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; font-weight: 800; }
.cn-slide-text p { font-size: 15px; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cn-slide .cn-go { flex: none; font-size: 14px; font-weight: 700; color: var(--lime); }
.cn-slide:hover .cn-go svg, .cn-card:hover .cn-go svg { transform: translateX(3px); }
.cn-slide:hover .cn-cover img { transform: scale(1.03); }
.cn-dots { position: absolute; right: 20px; top: 18px; z-index: 2; display: flex; gap: 8px; padding: 6px 8px; border-radius: 999px; background: rgba(10,11,10,.5); }
.cn-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer; background: rgba(255,255,255,.35); transition: width .3s var(--ease), background .3s; }
.cn-dots button.on { width: 24px; background: var(--lime); }

.cn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.cn-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: rgba(18,20,18,.78);
  backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); box-shadow: var(--glass-edge); transition: transform .35s var(--ease), background .25s, box-shadow .25s; }
.cn-card:hover { transform: translateY(-3px); background: rgba(26,29,26,.82); box-shadow: var(--glass-edge), 0 24px 60px rgba(0,0,0,.45); }
.cn-cover { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; aspect-ratio: 2 / 1; background: #0c0d0c; overflow: hidden; }
.cn-cover span { overflow: hidden; }
.cn-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cn-cover.n1 { grid-template-columns: 1fr; }
.cn-cover.n3 span:first-child { grid-row: span 2; }
.cn-card:hover .cn-cover img { transform: scale(1.04); }
.cn-cover.ball img { transform: scale(1.6); }
.cn-card:hover .cn-cover.ball img, .cn-slide:hover .cn-cover.ball img { transform: scale(1.68); }
.cn-card-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 16px 20px 16px; }
.cn-card h2 { font-size: 20px; line-height: 1.3; font-weight: 800; }
.cn-sum { font-size: 14px; line-height: 1.6; color: var(--muted); }
.cn-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--muted);
  border-top: 1px solid rgba(243,244,238,.08); }
.cn-card:hover .cn-go { color: var(--lime); }
.cn-free { margin-right: 10px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--lime); background: rgba(133,234,4,.12); }
.cn-text .cn-card-body { padding-top: 26px; }
.cn-text h2 { font-size: 26px; }
.cn-empty { margin-top: 40px; color: var(--muted); }
.cn-card.off, .cn-card.later { display: none; }
.cn-more { display: flex; margin: 28px auto 0; }

.cn-pin { position: relative; box-shadow: var(--glass-edge), inset 0 0 0 1px rgba(133,234,4,.16); }
.cn-cover.strip { grid-template-columns: repeat(4, 1fr); }
.cn-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--lime); }
.cn-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: cn-live 2.2s ease-out infinite; }
.cn-pin > .cn-live { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 4px 11px 4px 9px; border-radius: 999px;
  background: rgba(10,11,10,.66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--glass-edge); }
@keyframes cn-live { 0% { box-shadow: 0 0 0 0 rgba(133,234,4,.55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(133,234,4,0); } }
@media (prefers-reduced-motion: reduce) { .cn-live::before { animation: none; } }

.page-cp { background: radial-gradient(1200px 600px at 80% -10%, rgba(133,234,4,.07), transparent 60%), var(--deep); }
.cp-head { padding: 112px 0 40px; max-width: 760px; }
.cp-head h1 { margin-top: 16px; font-size: clamp(44px, 5.6vw, 80px); line-height: 1.08; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cp-lead { margin-top: 16px; font-size: 18px; color: var(--muted); }
.cp-article .cp-head { max-width: 920px; }
.cp-article .cp-head h1 { font-family: var(--body); font-weight: 500; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.3; letter-spacing: .01em;
  background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--text); }
.cp-article .prose strong { color: #fff; font-weight: 700;
  text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 5px; }

.mat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.mat-grid.wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mat { position: relative; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.035); box-shadow: var(--glass-edge); }
.mat > img { width: 100%; height: auto; display: block; background: #0c0d0c; }
.mat-text { flex: 1; padding: 10px 12px 12px; }
.mat-text h3 { font-size: 12.5px; font-weight: 700; font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: -.01em; word-break: break-all; }
.mat-text p { margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mat-dl { position: absolute; right: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; border-radius: 8px;
  font-size: 11.5px; font-weight: 700; color: var(--text); background: rgba(10,11,10,.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--glass-edge); transition: background .15s, color .15s; white-space: nowrap; }
.mat-dl svg { width: 13px; height: 13px; }
.mat-dl:hover { background: var(--lime); color: var(--ink); }

.cb { margin-top: 56px; }
.cb-text { margin-top: 0; }
.cb + .cb-text { margin-top: 56px; }
.cb-text, .cb-usage { max-width: 760px; }
.cb-title { margin-bottom: 18px; font-size: 20px; color: var(--lime); }
.cb-lead { margin-bottom: 16px; font-size: 15px; color: var(--muted); }
.cb-actions { margin: 20px 0 24px; }
.cb-actions + .mat-grid { margin-top: 0; }
.cn-todo { padding: 18px 20px; border-radius: 14px; border: 1px dashed rgba(133,234,4,.5); background: rgba(133,234,4,.05); font-size: 14px; color: var(--lime); }

.prose { font-size: 16px; line-height: 1.9; color: rgba(243,244,238,.86); }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; font-size: 20px; color: #fff; }
.prose h3 { margin-top: 1.4em; font-size: 17px; color: #fff; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .3em; }
.prose hr { border: 0; height: 1px; margin: 2.4em auto; width: 48px; background: var(--lime); opacity: .55; }
.prose ol { list-style: none; counter-reset: step; padding: 0; }
.prose ol li { position: relative; counter-increment: step; padding-left: 44px; }
.prose ol li + li { margin-top: .9em; }
.prose ol li::before { content: counter(step); position: absolute; left: 0; top: .2em; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; font-weight: 800; line-height: 1; color: var(--ink); background: var(--lime); }
.prose strong { color: #fff; }
.prose a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,.07); color: var(--text); }
.prose figure { margin: 1.4em 0; }
.prose img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--glass-edge); }
.prose video, .cb-player { display: block; width: 100%; height: auto; border-radius: 14px; background: #0c0d0c; box-shadow: var(--glass-edge); }
.cb-video { max-width: 960px; }
.prose figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }

.cb-credit { max-width: 860px; }
.cr-list { display: grid; gap: 14px; }
.cr { position: relative; overflow: hidden; padding: 34px 36px 28px; border-radius: 24px;
  background: radial-gradient(420px 220px at 100% 0%, rgba(133,234,4,.09), transparent 70%), linear-gradient(170deg, rgba(255,255,255,.07), rgba(255,255,255,.015) 45%, rgba(10,11,10,.4));
  box-shadow: var(--glass-edge); }
.cr-head { font-size: 30px; line-height: 1.2; }
.cr-head.has-logo { padding-bottom: 24px; border-bottom: 1px solid rgba(243,244,238,.08); }
.cr-head a { display: inline-block; transition: opacity .2s, transform .3s var(--ease); }
.cr-head a:hover { transform: translateY(-1px); filter: drop-shadow(0 0 18px rgba(255,255,255,.18)); }
.cr-logo { display: block; height: 52px; width: auto; max-width: 100%; }
.cr-intro { margin-top: 22px; font-size: 15px; line-height: 1.85; color: rgba(243,244,238,.78); }
.cb-author { max-width: 860px; }
.cr-author .cr-head { display: flex; align-items: center; gap: 16px; }
.cr-avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; font-weight: 700;
  color: var(--ink); background: linear-gradient(140deg, #c6ff6b, var(--lime)); box-shadow: 0 0 0 2px rgba(133,234,4,.55), 0 0 24px rgba(133,234,4,.22); }
img.cr-avatar { object-fit: cover; background: #f3eedf; }
.cr-author .cr-head small { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--muted); }
.cr-foot { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; }
.cr-go { height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 12px;
  font-size: 14px; font-weight: 700; white-space: nowrap; color: var(--text);
  background: linear-gradient(rgba(255,255,255,.06), rgba(255,255,255,.06)) padding-box, linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.1)) border-box;
  transition: box-shadow .25s var(--ease), color .2s; }
.cr-go small { font-size: 12px; font-weight: 500; color: var(--muted); }
.cr-go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.cr-go:hover { color: #d9ff8a;
  background: linear-gradient(rgba(24,28,22,.92), rgba(24,28,22,.92)) padding-box, linear-gradient(110deg, rgba(133,234,4,.12), #c6ff5e 50%, rgba(133,234,4,.12)) border-box;
  background-size: 100% 100%, 160px 100%; animation: nav-cn-flow 2.4s linear infinite;
  box-shadow: 0 0 20px rgba(133,234,4,.32), inset 0 0 14px rgba(133,234,4,.12); }
.cr-go:hover svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .cr-go:hover { animation: none; } }
.cn-meta a { transition: color .15s; }
.cn-meta a:hover { color: var(--text); }

.cb-prompts { margin-top: 0; }
.pr-grid { --cols: 4; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 36px 20px; align-items: start; }
.pr-grid.masonry { display: flex; align-items: flex-start; gap: 20px; }
.pr-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.pr { margin: 0; }
.pr-img { display: block; border-radius: 14px; overflow: hidden; background: #0c0d0c; box-shadow: var(--glass-edge); cursor: zoom-in; }
.pr-img img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.pr-img:hover img { transform: scale(1.025); }
.pr figcaption { padding: 12px 2px 0; }
.pr-text { font-size: 12.5px; line-height: 1.65; color: rgba(243,244,238,.6); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pr-date { margin-top: 8px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

html:has(.pr-box[open]) { overflow: hidden; }
.pr-box { width: min(1200px, calc(100vw - 48px)); height: min(880px, calc(100vh - 48px)); max-width: none; max-height: none; margin: auto; padding: 0; border: 0;
  border-radius: 24px; overflow: hidden; color: var(--text); background: #121412; box-shadow: var(--glass-edge), 0 40px 120px rgba(0,0,0,.6); }
.pr-box::backdrop { background: rgba(6,7,6,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pr-box-in { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 380px; }
.pr-box-img { margin: 0; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 28px 72px; background: #0a0b0a; }
.pr-box-img img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 10px; }
.pr-box-side { min-height: 0; display: flex; flex-direction: column; gap: 18px; padding: 64px 28px 28px; border-left: 1px solid rgba(243,244,238,.06); }
.pr-box-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.pr-box-label { margin-bottom: -8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.pr-box-text { flex: 1; min-height: 0; overflow: auto; padding-right: 6px; font-size: 14px; line-height: 1.8; color: rgba(243,244,238,.84); }
.pr-box-note { padding-top: 16px; border-top: 1px solid rgba(243,244,238,.06); font-size: 13px; line-height: 1.7; color: var(--muted); }
.pr-close, .pr-nav { position: absolute; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; color: var(--text);
  background: rgba(255,255,255,.07); box-shadow: var(--glass-edge); transition: background .15s, color .15s; }
.pr-close:hover, .pr-nav:hover { background: var(--lime); color: var(--ink); }
.pr-close svg, .pr-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pr-close { top: 16px; right: 16px; width: 38px; height: 38px; }
.pr-nav { top: 50%; width: 44px; height: 44px; margin-top: -22px; }
.pr-nav.prev { left: 16px; }
.pr-nav.prev svg { transform: rotate(180deg); }
.pr-nav.next { right: calc(380px + 16px); }

.ar-end { margin-top: 72px; max-width: 760px; padding: 32px; border-radius: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  background: linear-gradient(170deg, rgba(255,255,255,.08), rgba(255,255,255,.02) 40%, rgba(10,11,10,.5)); box-shadow: var(--glass-edge); }
.ar-end p { flex: 1 1 100%; font-size: 16px; color: var(--muted); }

@media (max-width: 1080px) {
  .cn-top { grid-template-columns: minmax(0, 1fr); padding-top: 112px; }
  .cn-feat { height: 380px; }
  .cn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mat-grid.wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cn-grid > .cn-card:first-child { order: -2; }
  .cn-grid > .cn-pin { order: -1; }
  .pr-grid { --cols: 3; }
  .pr-box-in { grid-template-columns: minmax(0, 1fr) 320px; }
  .pr-box-img { padding: 24px 68px; }
  .pr-nav.next { right: calc(320px + 14px); }
}
@media (max-width: 760px) {
  .cn-grid { grid-template-columns: minmax(0, 1fr); }
  .pr-grid { --cols: 2; gap: 28px 12px; }
  .pr-grid.masonry { gap: 12px; }
  .pr-col { gap: 28px; }
  .pr-text { font-size: 12px; -webkit-line-clamp: 2; }
  .pr-box { width: 100vw; height: 100dvh; border-radius: 0; }
  .pr-box-in { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 58%) minmax(0, 1fr); }
  .pr-box-img { padding: 56px 16px 12px; }
  .pr-box-side { padding: 18px 18px 20px; border-left: 0; border-top: 1px solid rgba(243,244,238,.06); }
  .pr-nav { top: 31%; }
  .pr-nav.prev { left: 10px; }
  .pr-nav.next { right: 10px; }
  .cn-feat { height: 320px; }
  .cn-slide-body { padding: 14px 18px 16px; }
  .mat-grid, .mat-grid.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr { padding: 24px 20px 22px; }
  .cr-logo { height: 38px; }
}
