/* AI Neo Lab — 벤토 그리드(시안 A, 회원님 선택 2026-09-24).
   모양 규칙: 누르는 것(칩·버튼)은 알약, 타일·판은 28px, 글 속 판(표·코드·콜아웃)은 14px. */
:root {
  --paper: #F2F1EE; --paper-2: #E8E6E1; --card: #FFFFFF;
  --ink: #141414; --ink-2: #4B4B50; --ink-3: #6E6E74; --rule: #DAD8D2;
  --accent: #3B5BFF; --accent-ink: #FFFFFF;
  --c-github: #D9F99D; --c-trend: #FED7AA; --c-guide: #C7D2FE; --c-prompt: #FBCFE8; --c-free: #BAE6FD;
  --l2: #16A34A; --c: var(--accent);
  --r: 14px; --tile: 28px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "D2Coding", Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #101012; --paper-2: #1B1B1F; --card: #19191D; --ink: #F1F0EC; --ink-2: #BDBCC3; --ink-3: #95949C; --rule: #2B2B31;
    --accent: #7C93FF; --accent-ink: #0B0B0D; --c-github: #BEF264; --c-trend: #FDBA74; --c-guide: #A5B4FC; --c-prompt: #F9A8D4; --c-free: #7DD3FC; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.7; letter-spacing: -0.01em;
  word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
::selection { background: color-mix(in oklab, var(--accent) 30%, transparent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
a { color: inherit; text-underline-offset: .2em; }
img, video { max-width: 100%; display: block; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 999px; z-index: 50; }
.skip:focus { left: 12px; }
.ico { width: 1.1em; height: 1.1em; flex: none; }

/* ── 머리띠 ── */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; height: 70px; padding: 0 clamp(16px, 3vw, 40px);
  background: color-mix(in oklab, var(--paper) 86%, transparent); backdrop-filter: saturate(1.5) blur(14px); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 12px; height: 12px; border-radius: 4px; background: var(--accent); flex: none; animation: spin 6s var(--ease-io) infinite; }
@keyframes spin { 0%, 70% { transform: rotate(0); } 100% { transform: rotate(180deg); } }
.nav { position: relative; display: flex; gap: 2px; padding: 4px; margin-left: auto; background: var(--card); border-radius: 999px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav-c { position: relative; z-index: 1; padding: 8px 15px; border-radius: 999px; font-weight: 650; font-size: 14.5px; text-decoration: none; color: var(--ink-2); white-space: nowrap; transition: color .25s var(--ease); }
.nav-c.on { color: var(--paper); }
.nav-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--ink); transition: transform .45s var(--ease); }
@media (hover: hover) and (pointer: fine) { .nav-c:not(.on):hover { color: var(--ink); } }

.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: var(--paper);
  text-decoration: none; font-weight: 750; font-size: 16.5px; white-space: nowrap; transition: transform .16s var(--ease); }
.btn:active, .nav-c:active { transform: scale(.97); }
.btn .ico { transition: transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn:hover .ico { transform: translateX(4px); } }
.btn.light { background: var(--paper); color: var(--ink); }
.chip { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--t); color: #141414; font-size: 12.5px; font-weight: 750; line-height: 1.4; }

/* ── 첫 화면: 낱말이 차례로 올라온다 ── */
.hero { padding: clamp(28px, 5vw, 64px) clamp(16px, 3vw, 40px) 10px; max-width: 1480px; margin: 0 auto; }
.kin { margin: 0; font-size: clamp(44px, 6.6vw, 104px); line-height: 1.02; letter-spacing: -.055em; font-weight: 900; text-wrap: balance; }
.kin .w { display: inline-block; }
.js .kin .w { opacity: 0; transform: translateY(.45em) rotate(2deg); animation: wup .9s var(--ease) forwards; }
.js .kin .w:nth-child(2) { animation-delay: .08s; } .js .kin .w:nth-child(3) { animation-delay: .16s; } .js .kin .w:nth-child(4) { animation-delay: .24s; }
.js .kin .w:nth-child(5) { animation-delay: .32s; } .js .kin .w:nth-child(6) { animation-delay: .4s; } .js .kin .w:nth-child(n+7) { animation-delay: .48s; }
@keyframes wup { to { opacity: 1; transform: none; } }
.hl { color: var(--accent); position: relative; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; border-radius: 99px; background: var(--accent); transform-origin: 0 50%; }
.js .hl::after { transform: scaleX(0); animation: sweep .8s var(--ease-io) .75s forwards; }
@keyframes sweep { to { transform: scaleX(1); } }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); margin: 22px 0 0; max-width: 44ch; line-height: 1.6; }
.counts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.count { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 18px 10px 14px; border-radius: 999px; background: var(--card); text-decoration: none; font-weight: 650; font-size: 15px; transition: background .3s var(--ease); }
.count strong { display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--t); color: #141414; font-size: 15px; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .count:hover { background: var(--t); color: #141414; } }

/* 흐르는 띠 */
.marq { overflow: hidden; white-space: nowrap; margin: 34px 0 0; padding: 14px 0; border-block: 1px solid var(--rule); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marq div { display: inline-block; animation: marq 48s linear infinite; font-weight: 750; font-size: 15px; }
.marq b { color: var(--accent); margin: 0 20px; }
.marq:hover div { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ── 벤토 그리드 ── */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; padding: 28px clamp(16px, 3vw, 40px) 20px; max-width: 1480px; margin: 0 auto; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.three .tile { grid-column: span 1; grid-row: span 1; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 24px 26px; border-radius: var(--tile);
  text-decoration: none; overflow: hidden; background: var(--card); color: var(--ink); isolation: isolate;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile.w { grid-column: span 2; }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile.full { grid-column: span 4; }
.tile.t1 { background: var(--t); color: #141414; } .tile.t2, .tile.t4 { background: var(--card); } .tile.t3 { background: color-mix(in oklab, var(--t) 70%, var(--card)); color: #141414; }
.tile.t5 { background: var(--card); }
.tile.dark { background: #141414; color: #F4F3EF; }
.tile h3 { margin: 10px 0 0; font-size: 21px; line-height: 1.28; letter-spacing: -.03em; font-weight: 800; }
.tile.big h3 { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.15; letter-spacing: -.045em; }
.tile.w h3 { font-size: 24px; }
.tile p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; opacity: .78; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile.big p { -webkit-line-clamp: 3; font-size: 15.5px; }
.tile .meta { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 700; opacity: .62; }
.tile .go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: currentColor; opacity: 0; transform: translateX(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.tile .go .ico { color: var(--card); }
.tile.dark .go .ico { color: #141414; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-120%); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { --ty: -6px; box-shadow: 0 30px 60px -32px rgba(20, 20, 20, .45); }
  .tile:hover .go { opacity: 1; transform: none; }
  .tile:hover::after { transform: translateX(120%); transition: transform .9s var(--ease); }
}
.tile:active { --ty: -2px; }

/* 큰 칸 그림: 위쪽 절반(.vis) 안에서만 돈다. 글자(.txt)는 아래 절반 — 서로 겹칠 수 없다. */
.tile.big { justify-content: flex-end; }
.tile.big .vis { position: absolute; left: 0; right: 0; top: 0; height: 46%; overflow: hidden; z-index: -1; }
.ring { position: absolute; right: 8%; top: 50%; border-radius: 50%; border: 2px solid rgba(255,255,255,.14); translate: 50% -50%; }
.r1 { width: 140px; height: 140px; border-color: color-mix(in oklab, var(--t) 70%, transparent); border-width: 3px; animation: rot 9s linear infinite; border-right-color: transparent; }
.r2 { width: 230px; height: 230px; animation: rot 16s linear infinite reverse; border-style: dashed; }
.r3 { width: 330px; height: 330px; animation: rot 24s linear infinite; }
@keyframes rot { to { rotate: 360deg; } }
.dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--t); }
.d1 { right: calc(8% + 64px); top: 30%; animation: bob 4s var(--ease-io) infinite; }
.d2 { right: calc(8% + 150px); top: 64%; width: 6px; height: 6px; background: var(--accent); animation: bob 5s var(--ease-io) .6s infinite; }
.d3 { right: calc(8% - 20px); top: 76%; width: 8px; height: 8px; background: #fff; opacity: .6; animation: bob 6s var(--ease-io) 1.2s infinite; }
@keyframes bob { 50% { transform: translateY(-14px); } }

.empty { max-width: 1480px; margin: 20px auto; padding: 0 clamp(16px, 3vw, 40px); color: var(--ink-3); }

/* 차례로 떠오르기 — PC(마우스)에서만.
   2026-10-06 회원님 "스크롤 내리면 뚝뚝 끊겨서 보질 못하겠어, 특히 모바일": 예전에는 카드·줄 38개가 투명하게 숨어 있다가 화면에
   들어온 뒤 0.8초(+순서 지연 최대 0.35초)에 걸쳐 떠올랐다. 빠르게 내리면 빈 화면이 먼저 보이고 글이 뒤늦게 나타나서 끊기는 것처럼 보였다.
   이제 폰·터치·좁은 화면에서는 처음부터 보이고, PC에서는 화면에 들어오기 240px 전에 0.35초로 나타난다(site.js). */
@media (hover: hover) and (pointer: fine) and (min-width: 821px) {
  .js [data-r] { opacity: 0; translate: 0 14px; transition: opacity .35s var(--ease) calc(var(--i, 0) * 30ms), translate .35s var(--ease) calc(var(--i, 0) * 30ms); }
  .js [data-r].in { opacity: 1; translate: 0 0; }
}

/* 스레디 영상 */
.made { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 20px; align-items: center; margin: 30px auto 0; max-width: calc(1480px - 2 * clamp(16px, 3vw, 40px)); width: calc(100% - 2 * clamp(16px, 3vw, 40px));
  padding: clamp(28px, 4vw, 52px); border-radius: var(--tile); background: #141414; color: #F4F3EF; overflow: hidden; }
.made h2 { margin: 0 0 14px; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -.045em; font-weight: 900; }
.made p { color: #BDBCC3; margin: 0 0 26px; max-width: 42ch; }
.made .btn { background: #F4F3EF; color: #141414; }
.made-vid { margin: 0; justify-self: center; width: min(300px, 100%); rotate: 3deg; transition: rotate .6s var(--ease); }
.made:hover .made-vid { rotate: 0deg; }
.made-vid video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }

/* ── 종류 페이지 머리 ── */
.line-head { position: relative; overflow: hidden; margin: 18px auto 0; max-width: calc(1480px - 2 * clamp(16px, 3vw, 40px)); width: calc(100% - 2 * clamp(16px, 3vw, 40px));
  padding: clamp(36px, 6vw, 80px) clamp(24px, 4vw, 56px); border-radius: var(--tile); background: var(--t); color: #141414; isolation: isolate; }
.line-head h1 { margin: 0; font-size: clamp(44px, 7vw, 104px); line-height: 1; letter-spacing: -.055em; font-weight: 900; }
.line-head p { margin: 14px 0 0; font-size: 19px; font-weight: 700; }
.line-head strong { font-variant-numeric: tabular-nums; }
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); }
.b1 { right: -60px; top: -70px; width: 260px; height: 260px; background: rgba(255,255,255,.45); animation: drift 12s var(--ease-io) infinite; }
.b2 { right: 18%; bottom: -90px; width: 180px; height: 180px; background: rgba(20,20,20,.08); animation: drift 15s var(--ease-io) 2s infinite reverse; }
@keyframes drift { 50% { transform: translate(-40px, 30px) scale(1.12); } }

/* ── 글 ── */
.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 30; height: 4px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) { .progress i { animation: prog linear both; animation-timeline: scroll(root); } }
@keyframes prog { to { transform: scaleX(1); } }
.post { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); --c: color-mix(in oklab, var(--t) 60%, var(--accent)); }
.post-h { position: relative; overflow: hidden; isolation: isolate; margin-top: 18px; padding: clamp(28px, 5vw, 60px) clamp(22px, 4vw, 52px); border-radius: var(--tile); background: var(--t); color: #141414; }
.post-chip .chip { background: #141414; color: #fff; }
.post-h .kin { margin-top: 18px; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.14; letter-spacing: -.045em; max-width: 22ch; }
.post-h .lede { color: #2E2E33; }
.post-meta { margin: 18px 0 0; font-size: 14.5px; font-weight: 650; color: #3B3B40; font-variant-numeric: tabular-nums; }
.post-grid { display: grid; grid-template-columns: minmax(0, 720px) 1fr; gap: 64px; padding-top: 44px; }
.post-grid:has(.toc) { grid-template-columns: minmax(0, 720px) 240px; }
.post-grid .toc { order: 2; }
.toc { position: sticky; top: 96px; align-self: start; font-size: 14.5px; padding: 18px; border-radius: 20px; background: var(--card); }
.toc p { margin: 0 0 10px; font-weight: 800; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.toc a { display: block; padding: 5px 10px; border-radius: 10px; text-decoration: none; color: var(--ink-3); line-height: 1.45; transition: background .25s var(--ease), color .25s var(--ease); }
.toc a.on { background: var(--t); color: #141414; font-weight: 700; }
.prose strong:not(.callout-t) { background: linear-gradient(transparent 60%, color-mix(in oklab, var(--t) 85%, transparent) 60%) !important; }
.post-end { max-width: 720px; padding: 64px 0 24px; }
.arrive { display: flex; align-items: center; gap: 16px; }
.arrive p { margin: 0; }
.arrive-stamp { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--t); color: #141414; transform: scale(.4) rotate(-20deg); opacity: 0; flex: none; }
.arrive-stamp .ico { width: 30px; height: 30px; stroke-width: 2.4; }
.post-end.in .arrive-stamp { animation: stamp .6s var(--ease) forwards; }
@keyframes stamp { 60% { transform: scale(1.15) rotate(6deg); opacity: 1; } 100% { transform: none; opacity: 1; } }
.post-next { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 34px 0; }
.nx { display: grid; gap: 4px; padding: 18px 20px; border-radius: 20px; background: var(--card); text-decoration: none; transition: transform .35s var(--ease); }
.nx small { color: var(--ink-3); font-weight: 700; font-size: 13px; }
.nx span { font-weight: 750; line-height: 1.4; }
.nx.next { text-align: right; }
@media (hover: hover) and (pointer: fine) { .nx:hover { transform: translateY(-3px); } }
.follow { padding: 28px; border-radius: var(--tile); background: #141414; color: #F4F3EF; }
.follow p { margin: 0 0 18px; color: #BDBCC3; }
.more { max-width: 1480px; margin: 40px auto 0; }
.more h2 { margin: 0; padding: 0 clamp(16px, 3vw, 40px); font-size: 26px; letter-spacing: -.035em; }

.about { max-width: 780px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) clamp(16px, 3vw, 40px); }
.foot { margin-top: 90px; }
.foot-in { max-width: 1480px; margin: 0 auto; padding: 36px clamp(16px, 3vw, 40px) 48px; color: var(--ink-3); font-size: 15px; border-top: 1px solid var(--rule); }
.foot p { margin: 4px 0; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 900; font-size: 17px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px !important; }
/* 사업자 정보 — 전자상거래법상 표시 의무. 작게, 하지만 읽히게 */
.foot-biz { margin-top: 18px !important; font-size: 13px; line-height: 1.7; color: var(--ink-3); word-break: keep-all; }
.foot-biz a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-weight: 650; font-size: 15px; z-index: 60; }
.js .toast:not([hidden]) { animation: toast .3s var(--ease); }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ── 홈 선반·종류 목록(회원님: "뒤죽박죽 말고 순서대로", 세부 분류) ── */
.tl-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; }
.tl-tag { font-size: 12.5px; font-weight: 700; opacity: .7; }
.sec-t, .shelf-h { max-width: 1480px; margin: 34px auto -14px; padding: 0 clamp(16px, 3vw, 40px); }
.sec-t { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.035em; font-weight: 850; }
.shelf { margin-top: 26px; }
.shelf-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.shelf-h h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.035em; font-weight: 850; }
.dot-t { width: 14px; height: 14px; border-radius: 50%; background: var(--t); box-shadow: 0 0 0 4px color-mix(in oklab, var(--t) 40%, transparent); }
.shelf-h a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; transition: background .25s var(--ease); }
.shelf-h a .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .shelf-h a:hover { background: var(--t); color: #141414; } .shelf-h a:hover .ico { transform: translateX(3px); } }

.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 1080px; margin: 22px auto 0; padding: 2px clamp(16px, 3vw, 40px) 4px; }
.filt { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; transition: background .25s var(--ease), color .25s var(--ease); }
.filt small { font-size: 12.5px; font-weight: 750; opacity: .55; font-variant-numeric: tabular-nums; }
.filt.on { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .filt:not(.on):hover { background: var(--t, var(--paper-2)); color: #141414; } }
.list { list-style: none; max-width: 1080px; margin: 18px auto 0; padding: 0 clamp(16px, 3vw, 40px); display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 22px; align-items: start; padding: 22px 24px; border-radius: 22px; background: var(--card); color: var(--ink); text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.row time { padding-top: 3px; color: var(--ink-3); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.row-tags { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 6px; font-size: 13px; font-weight: 750; color: var(--ink-2); }
.row h3 { margin: 0; font-size: 20px; line-height: 1.35; letter-spacing: -.03em; font-weight: 800; }
.row-sum { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-go { display: flex; align-items: center; gap: 10px; padding-top: 2px; color: var(--ink-3); font-size: 13px; font-weight: 700; white-space: nowrap; }
.row .go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--t); }
.row .go .ico { color: #141414; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .row:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); } .row:hover .go .ico { transform: translateX(3px); } }

/* 메인의 SNS — 위 메뉴 대신 여기(회원님 2026-09-25) */
.sns { max-width: 1480px; margin: 40px auto 0; padding: 0 clamp(16px, 3vw, 40px); }
.sns h2 { margin: 0 0 14px; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.035em; font-weight: 850; }
.sns-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sns-card { position: relative; display: grid; gap: 4px; padding: 26px 28px; border: 0; border-radius: var(--tile); background: var(--card); color: var(--ink); text-align: left; font: inherit; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease); }
.sns-card b { font-size: 24px; letter-spacing: -.03em; }
.sns-card span { color: var(--ink-2); font-weight: 650; }
.sns-card .ico { position: absolute; right: 26px; top: 50%; translate: 0 -50%; transition: transform .3s var(--ease); }
.sns-card.th { background: #141414; color: #F4F3EF; }
.sns-card.th span { color: #BDBCC3; }
.sns-card.ig span { color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) { .sns-card:hover { transform: translateY(-3px); } .sns-card.th:hover .ico { transform: translateX(4px); } }
/* 새 글 알림 안내 */
.sub-page .lede { margin: 0 0 22px; }
.sub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sub-card { display: grid; gap: 8px; align-content: start; padding: 26px 28px; border-radius: var(--tile); background: var(--card); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease); }
.sub-card small { font-size: 13px; font-weight: 750; color: var(--ink-3); }
.sub-card b { font-size: 26px; letter-spacing: -.03em; }
.sub-card span { color: var(--ink-2); line-height: 1.6; }
.sub-card .btn { justify-self: start; margin-top: 8px; font-style: normal; }
.sub-card.th { background: #141414; color: #F4F3EF; }
.sub-card.th small, .sub-card.th span { color: #BDBCC3; }
.sub-card.fd { background: color-mix(in oklab, var(--c-free) 55%, var(--card)); color: #141414; }
.sub-card.fd small, .sub-card.fd span { color: #2E2E33; }
.sub-rss { margin-top: 30px; }
@media (hover: hover) and (pointer: fine) { .sub-card:hover { transform: translateY(-3px); } }
@media (max-width: 760px) { .sub-grid { grid-template-columns: minmax(0, 1fr); } }

/* ── 내 상황에 맞는 AI 찾기(회원님 아이디어 2026-09-26) ── */
.nav-find { color: var(--accent) !important; }
.nav-find::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--accent); vertical-align: 2px; animation: pulse 2.4s var(--ease-io, ease-in-out) infinite; }
.nav-find.on { color: var(--paper) !important; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .45; } }

.finder { max-width: 1480px; margin: 34px auto 0; padding: 0 clamp(16px, 3vw, 40px); }
.finder-h { margin-bottom: 18px; }
.finder-k { margin: 0 0 8px; font-size: 14px; font-weight: 800; letter-spacing: .02em; color: var(--accent); }
.finder-h h1, .finder-h h2 { margin: 0; font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.045em; font-weight: 900; line-height: 1.1; }
.finder-h p { margin: 10px 0 0; color: var(--ink-2); font-size: 17px; }
.finder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.goal { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 16px; row-gap: 4px; align-items: center;
  padding: 20px 22px; border-radius: 22px; background: var(--card); color: var(--ink); text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.goal::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--t); transform: translateY(101%); transition: transform .45s var(--ease); }
.goal-ico { grid-row: 1 / span 3; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--t); color: #141414; transition: transform .35s var(--ease), background .35s var(--ease); }
.goal-ico .ico { width: 28px; height: 28px; }
.goal b { font-size: 20px; letter-spacing: -.03em; }
.goal-p { color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.goal-n { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--ink-3); }
.goal-n .ico { width: 15px; height: 15px; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .goal:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(0,0,0,.4); }
  .goal:hover::before { transform: translateY(0); }
  .goal:hover, .goal:hover .goal-p, .goal:hover .goal-n { color: #141414; }
  .goal:hover .goal-ico { background: #fff; transform: rotate(-6deg) scale(1.05); }
  .goal:hover .goal-n .ico { transform: translateX(4px); }
}
.goal:active { transform: scale(.985); }
.finder-note { max-width: 1080px; margin: 16px auto 0; padding: 0 clamp(16px, 3vw, 40px); color: var(--ink-3); font-size: 13px; }

/* 목적별 페이지 */
.fp { max-width: 1080px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.fp-h { position: relative; overflow: hidden; isolation: isolate; margin-top: 18px; padding: clamp(24px, 4vw, 48px) clamp(22px, 4vw, 48px); border-radius: var(--tile); background: var(--t); color: #141414; }
.fp-h .finder-k { color: #141414; opacity: .7; }
.fp-back { display: inline-block; margin-bottom: 14px; color: #2E2E33; font-size: 14px; font-weight: 700; text-decoration: none; }
.fp-back:hover { text-decoration: underline; }
.fp-h h1 { display: flex; align-items: center; gap: 14px; margin: 0; font-size: clamp(36px, 5.4vw, 72px); letter-spacing: -.05em; font-weight: 900; line-height: 1.05; }
.fp-ico { display: grid; place-items: center; width: clamp(48px, 5vw, 68px); height: clamp(48px, 5vw, 68px); border-radius: 20px; background: #fff; flex: none; }
.fp-ico .ico { width: 55%; height: 55%; }
.fp-h .lede { margin: 14px 0 0; color: #2E2E33; max-width: 46ch; }
.fp-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.fp-prog { margin: 0; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.7); font-weight: 750; font-size: 14px; font-variant-numeric: tabular-nums; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 750; font-size: 15px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch span { position: relative; width: 46px; height: 28px; border-radius: 999px; background: rgba(20,20,20,.25); transition: background .25s var(--ease); flex: none; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.switch input:checked + span { background: #141414; }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.pipe { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
.step-n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; transition: background .3s var(--ease), color .3s var(--ease); }
/* 단계 사이 연결선 — 화면에 들어오면 위에서 아래로 그어진다 */
.step:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: -14px; width: 2px; background: repeating-linear-gradient(180deg, var(--ink-3) 0 6px, transparent 6px 12px); transform-origin: top; transform: scaleY(0); transition: transform .9s var(--ease) calc(var(--i, 0) * 120ms + .25s); }
.step.in:not(:last-child)::after, :not(.js) .step::after { transform: scaleY(1); }
.step-b { padding: 20px 22px; border-radius: 22px; background: var(--card); }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.step-top h2 { margin: 0; font-size: 22px; letter-spacing: -.03em; font-weight: 850; }
.step-why { margin: 4px 0 14px; color: var(--ink-2); font-size: 15px; }
.done { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 750; color: var(--ink-3); cursor: pointer; white-space: nowrap; }
.done input { width: 18px; height: 18px; accent-color: var(--ink); cursor: pointer; }
.step.did .step-n { background: var(--t); color: #141414; }
.step.did .step-b { box-shadow: inset 0 0 0 2px var(--t); }
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tool { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 10px 14px; border-radius: 16px; background: var(--paper); color: var(--ink); text-decoration: none; font-size: 15px; transition: transform .25s var(--ease), background .25s var(--ease); }
.tool b { font-weight: 800; }
.tool small { flex-basis: 100%; color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.tool .ico { width: 15px; height: 15px; color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) { .tool:hover { transform: translateY(-2px); background: var(--t); color: #141414; } .tool:hover small, .tool:hover .ico { color: #2E2E33; } }
.fee { font-style: normal; font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.fee-free { background: #DCFCE7; color: #14532D; }
.fee-start { background: #DBEAFE; color: #1E3A8A; }
.fee-paid { background: #E5E5E5; color: #3F3F46; }
.step-none { display: none; margin: 0; color: var(--ink-3); font-size: 14px; }
.free-only .tool[data-free="paid"] { display: none; }
.free-only .step.none .step-none { display: block; }

.connect { margin-top: 30px; padding: clamp(24px, 4vw, 44px); border-radius: var(--tile); background: #141414; color: #F4F3EF; }
.connect h2 { margin: 0 0 18px; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.04em; font-weight: 900; }
.connect-how { margin: 0; padding: 0; list-style: none; counter-reset: c; display: grid; gap: 12px; }
.connect-how li { counter-increment: c; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; color: #D4D4D8; font-size: 16px; line-height: 1.6; }
.connect-how li::before { content: counter(c); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--t); color: #141414; font-weight: 900; font-size: 15px; }
.connect-how strong { color: #fff; }
.connect-prompt { margin-top: 24px; }
.connect-lab { color: #D4D4D8; font-size: 15px; }
.connect-lab strong { color: #fff; background: none; }
.connect-how li > span { min-width: 0; padding-top: 3px; }
.connect .finder-note { padding: 0; margin: 14px 0 0; color: #A1A1AA; }
.fp-rel { margin-top: 34px; }
.fp-rel h2, .fp-more p { margin: 0 0 12px; font-size: 24px; letter-spacing: -.035em; font-weight: 850; }
.fp-rel .list { padding: 0; margin: 0; }
.fp-rel .row { grid-template-columns: 80px minmax(0, 1fr) auto; }
.fp-ask { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-top: 30px; padding: 24px 28px; border-radius: var(--tile); background: var(--t); color: #141414; }
.fp-ask h2 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.fp-ask p { margin: 4px 0 0; color: #2E2E33; }
.fp-ask-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; }
.fp-more { margin: 34px 0 10px; }
.fp-more div { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-more a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; font-weight: 700; transition: background .25s var(--ease); }
.fp-more a .ico { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .fp-more a:hover { background: var(--t); color: #141414; } }

@media (max-width: 980px) { .finder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .finder-grid { grid-template-columns: minmax(0, 1fr); }
  .goal { padding: 16px 18px; }
  .step { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; }
  .step-n { width: 40px; height: 40px; font-size: 17px; }
  .step:not(:last-child)::after { left: 19px; top: 40px; }
  .step-b { padding: 16px; }
  .step-top { flex-wrap: wrap; }
  .fp-ask { grid-template-columns: minmax(0, 1fr); }
  .fp-rel .row { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-find::before { animation: none; }
  .step::after { transform: scaleY(1) !important; transition: none !important; }
  .goal::before { transition: none; }
}

@media (max-width: 980px) { .sns-row { grid-template-columns: minmax(0, 1fr); } }

/* 검색 · 새 글 알림 */
.nav-search { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink-2); background: var(--card); flex: none; transition: color .25s var(--ease), transform .2s var(--ease); }
.nav-search:hover, .nav-search.on { color: var(--ink); }
.nav-search:active { transform: scale(.94); }
.search-head { max-width: 1080px; margin: 28px auto 0; padding: 0 clamp(16px, 3vw, 40px); }
.search-head h1 { margin: 0 0 16px; font-size: clamp(34px, 5vw, 64px); letter-spacing: -.05em; font-weight: 900; }
.search-box { display: flex; gap: 10px; }
.search-box input { flex: 1; min-width: 0; padding: 14px 20px; border-radius: 999px; border: 2px solid var(--rule); background: var(--card); color: var(--ink); font: 600 17px var(--font); }
.search-box input:focus { outline: none; border-color: var(--accent); }
.search-hints { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.search-hints a { padding: 6px 12px; border-radius: 999px; background: var(--card); color: var(--ink-2); font-size: 14px; font-weight: 650; text-decoration: none; }
.search-hints a:hover { color: var(--ink); }
.search-count { max-width: 1080px; margin: 22px auto 0; padding: 0 clamp(16px, 3vw, 40px); color: var(--ink-3); font-weight: 700; }
.sns-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sns-card.rss { background: color-mix(in oklab, var(--c-free) 55%, var(--card)); color: #141414; }
.sns-card.rss span { color: #2E2E33; }

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .tile.full { grid-column: span 2; }
  .grid.three { grid-template-columns: minmax(0, 1fr); }
  .made { grid-template-columns: minmax(0, 1fr); }
  .post-grid, .post-grid:has(.toc) { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
}
@media (max-width: 640px) {
  .top { gap: 10px; height: 62px; }
  .brand span { display: none; }
  .grid { grid-auto-rows: auto; }
  .tile, .tile.w, .tile.big, .tile.full { grid-column: span 2; grid-row: auto; min-height: 170px; }
  .tile.big { min-height: 380px; }
  .post-next { grid-template-columns: minmax(0, 1fr); }
  .nx.next { text-align: left; }
  body { font-size: 16.5px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px 18px; }
  .row time { order: 2; padding: 0; font-size: 13px; }
  .row-txt { order: 1; }
  .row-go { order: 3; display: none; }
  .shelf-h a { padding: 7px 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .kin .w, .js [data-r] { opacity: 1 !important; transform: none !important; translate: none !important; scale: none !important; animation: none !important; }
  .js .hl::after { transform: none; animation: none; }
  .ring, .dot, .blob, .brand-mark, .marq div { animation: none !important; }
  .post-end.in .arrive-stamp { animation: none; opacity: 1; transform: none; }
  * { transition-duration: .01ms !important; }
}

/* 노션처럼 읽히는 본문 */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; line-height: 1.3; letter-spacing: -0.035em; font-weight: 800; margin: 2.2em 0 0.5em; }
.prose h3 { font-size: 21px; line-height: 1.4; letter-spacing: -0.025em; font-weight: 750; margin: 1.8em 0 0.4em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.5em; }
.prose p { margin-bottom: 0; }
.prose strong { font-weight: 750; background: linear-gradient(transparent 62%, color-mix(in oklab, var(--c) 28%, transparent) 62%); }
.prose code { font-family: var(--mono); font-size: 0.88em; background: var(--paper-2); padding: 0.12em 0.4em; border-radius: 6px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.35em; }
.prose li::marker { color: var(--ink-3); font-weight: 700; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 1px solid var(--ink); color: var(--ink-2); font-size: 18px; }
.prose hr { border: 0; height: 1px; background: var(--rule); margin: 2.4em 0; }

/* 1fr 이 아니라 minmax(0, 1fr) — 1fr 은 안의 가장 긴 낱말(주소·코드)만큼 넓어져서, 휴대폰에서 글 페이지 전체가 옆으로 밀렸다(2026-09-29 발견) */
.callout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 16px 18px; border-radius: var(--r); background: var(--paper-2); }
.callout > div { min-width: 0; overflow-wrap: anywhere; }
.callout .ico { width: 22px; height: 22px; margin-top: 3px; color: var(--c); }
.callout.warn .ico { color: #D9480F; }
.callout.done .ico { color: var(--l2); }
.callout p { margin: 0; }
.callout-t { display: block; margin-bottom: 2px; background: none !important; }

.code { position: relative; margin-left: 0; margin-right: 0; background: #16161A; color: #EDEDEA; border-radius: var(--r); overflow: hidden; }
.code figcaption { font-size: 13px; font-weight: 700; color: #A9A9B1; padding: 12px 16px 0; }
.code pre { margin: 0; padding: 14px 16px 16px; overflow-x: auto; scrollbar-color: #4A4A52 transparent; font: 14.5px/1.65 var(--mono); white-space: pre; tab-size: 2; }
.code pre code { background: none; padding: 0; font-size: inherit; color: inherit; }
.copy { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: #2A2A31; color: #EDEDEA; font: 600 13px var(--font); cursor: pointer; transition: background-color 160ms var(--ease), transform 160ms var(--ease); }
.copy:hover { background: #3A3A43; }
.copy:active { transform: scale(0.96); }
.copy.done { background: var(--l2); color: #0B2A17; }

.table { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--rule); }
.table table { border-collapse: collapse; width: 100%; font-size: 15.5px; line-height: 1.55; }
.table th, .table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table th { background: var(--paper-2); font-weight: 750; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table td { font-variant-numeric: tabular-nums; }

.toggle { border-radius: var(--r); background: var(--paper-2); padding: 2px 16px; }
.toggle summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; display: flex; gap: 10px; align-items: center; }
.toggle summary::-webkit-details-marker { display: none; }
.toggle summary::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; transition: transform 200ms var(--ease);
  /* Tabler Icons chevron-right (MIT) */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6l-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6l-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.toggle[open] summary::before { transform: rotate(90deg); }
.toggle > div { padding: 0 0 14px; }
.toggle > div > * + * { margin-top: 0.9em; }

.steps { list-style: none; padding: 0 !important; counter-reset: s; position: relative; }
.steps > li { position: relative; padding: 0 0 22px 56px; counter-increment: s; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--c); color: #16161A; display: grid; place-items: center; font-weight: 850; font-variant-numeric: tabular-nums; }
.steps > li::after { content: ""; position: absolute; left: 16px; top: 40px; bottom: 4px; width: 4px; border-radius: 2px; background: color-mix(in oklab, var(--c) 35%, transparent); }
.steps > li:last-child::after { display: none; }
.steps h4 { margin: 4px 0 6px; font-size: 19px; letter-spacing: -0.02em; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.steps .time { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.steps > li > * + * { margin-top: 0.7em; }

.img, .gallery, .video { margin-left: 0; margin-right: 0; }
.img img { border-radius: var(--r); width: 100%; }
figcaption { color: var(--ink-3); font-size: 14px; margin-top: 10px; }
.gallery .rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 340px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.gallery .rail img { scroll-snap-align: start; border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; background: var(--paper-2); }
.video video { width: 100%; border-radius: var(--r); background: var(--paper-2); }
.video.vertical video { width: min(360px, 100%); aspect-ratio: 9 / 16; object-fit: cover; }
.links { list-style: none; padding: 0 !important; display: grid; gap: 6px; }
.links a { font-weight: 600; text-decoration-color: var(--c); }
.todo { list-style: none; padding-left: 0 !important; }
.todo label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.todo input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--c); flex: none; }
.todo input:checked + span { color: var(--ink-3); text-decoration: line-through; }


/* ── 스레디 소개를 첫 화면 오른쪽 빈자리로 (회원님 2026-09-29 "우측에 아무것도 없잖아, 저기로 옮겨 줘") ──
   넓은 화면: 제목 | 스레디 카드. 좁은 화면(980px 아래): 제목 아래로 내려오고, 영상은 작게 옆에 둔다. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(20px, 3vw, 48px); align-items: center; }
.hero .kin { font-size: clamp(44px, 5.6vw, 92px); }
/* ── AI_Neo가 만든 것들 (회원님 2026-09-29 "여기에 AI_Neo가 만든 것들 하면서 좀 예쁘게") ──
   카드 두 장을 따로 쌓았더니 광고 두 개처럼 보였다. 이제 판 하나에 머리("MADE BY AI_NEO")를 달고,
   제품은 그 안의 칸 — 칸마다 자기 색(스레디 = 먹 + 주황 영상, 별사주 = 남보라 밤하늘 + 금색). 모양 규칙: 판 28px, 칸 20px. */
.makes { display: grid; gap: 10px; padding: 14px; border-radius: var(--tile); background: #141414; color: #F4F3EF;
  box-shadow: 0 30px 70px -40px rgba(0,0,0,.55); isolation: isolate; position: relative; overflow: hidden; }
.makes::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(59,91,255,.28), transparent 65%); pointer-events: none; }
.makes-head { padding: 10px 10px 6px; }
.makes-kick { display: inline-flex; align-items: center; gap: 8px; font: 800 11.5px/1 var(--mono); letter-spacing: .14em; color: #9D9CA6; }
.makes-head h2 { margin: 10px 0 6px; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.2; letter-spacing: -.04em; font-weight: 900; }
.makes-head p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #A9A8B0; }
.mk { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 16px 14px 14px;
  border-radius: 20px; text-decoration: none; color: inherit; background: #1E1E22; border: 1px solid rgba(255,255,255,.06);
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease); }
.mk-vis { width: 96px; margin: 0; }
.mk-vid video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 14px; background: #000;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.8); }
.mk-txt { display: grid; gap: 4px; min-width: 0; }
.mk-tag { font-size: 12px; font-weight: 700; letter-spacing: -.01em; color: var(--mk-c, #FF8A4C); }
.mk-name { font-size: 21px; font-weight: 900; letter-spacing: -.035em; line-height: 1.15; }
.mk-desc { font-size: 13px; line-height: 1.55; color: #B4B3BB; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mk-go { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--mk-c, #FF8A4C); color: #141414; flex: none;
  transition: transform .3s var(--ease); }
.mk-go .ico { width: 17px; height: 17px; }
.mk-thready { --mk-c: #FF8A4C; background: linear-gradient(135deg, rgba(255,138,76,.14), transparent 55%), #1E1E22; }
.mk-saju { --mk-c: #E9C46A; background: radial-gradient(120% 110% at 0% 0%, #2A1F4A 0%, transparent 62%), #15131F; }
@media (hover: hover) and (pointer: fine) {
  .mk:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--mk-c) 45%, transparent); }
  .mk:hover .mk-go { transform: translateX(3px); }
}
.mk:active { transform: scale(.985); }
.mk:focus-visible { outline: 3px solid var(--mk-c); outline-offset: 3px; }
/* 별사주 관측판 — 먹빛 + 금색 선 + 붉은 도장. 움직임은 transform 만 */
.sj-dial { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.sj-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(233, 196, 106, .45); }
.sj-ring.sj-a { border-style: dashed; animation: sjspin 26s linear infinite; }
.sj-ring.sj-b { inset: 16%; border-color: rgba(233, 196, 106, .3); animation: sjspin 14s linear infinite reverse; }
.sj-ring.sj-b::after { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #F7E2A6; box-shadow: 0 0 10px #E9C46A; }
.sj-ring.sj-c { inset: 32%; border-color: rgba(233, 196, 106, .2); }
.sj-dial b { position: relative; display: grid; place-items: center; width: 44%; aspect-ratio: 1; border-radius: 12px; background: #D94A2B; color: #FBE9DF; font: 900 22px "Batang", serif; rotate: -6deg; box-shadow: 0 10px 30px -8px rgba(217, 74, 43, .8); }
@keyframes sjspin { to { transform: rotate(360deg); } }
@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero .kin { font-size: clamp(40px, 9vw, 72px); }
  .makes { margin-top: 8px; }
}
@media (max-width: 420px) {
  .mk { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
  .mk-vis { width: 72px; }
  .mk-desc { -webkit-line-clamp: 1; }
}
@media (prefers-reduced-motion: reduce) { .sj-ring, .brand-mark { animation: none !important; } .mk, .mk-go { transition: none; } }

/* 휴대폰에서 글 페이지가 옆으로 밀리던 것(2026-09-29 전체 점검: 화면 373px인데 문서 폭 688~861px) —
   장식(가상 요소·떠다니는 원)이 화면 밖으로 삐져나간 것. clip 은 스크롤 상자를 만들지 않아 머리띠 고정(sticky)이 그대로 된다. */
html, body { overflow-x: clip; }

/* ── 폰·터치 화면 가볍게(2026-10-06 회원님 "아직도 모바일에서 뚝뚝 끊겨") ──
   스크롤하는 내내 폰이 따로 계산해야 하는 것들을 끈다: 머리띠 뒤 블러(스크롤마다 다시 흐림 계산), 끝없이 도는 장식(고리·덩어리·
   점·흐르는 띠·펄스), 흐르는 띠의 가장자리 마스크. 정보는 그대로고 장식만 멈춘다. 인앱 브라우저(스레드·인스타·카카오톡)가 특히 약하다. */
@media (max-width: 820px), (hover: none) {
  html { scroll-behavior: auto; }
  .top { backdrop-filter: none; background: var(--paper); }
  .marq { mask-image: none; }
  .ring, .dot, .blob, .brand-mark, .marq div, .sj-ring, .nav-find::before { animation: none !important; }
  .blob { filter: none; opacity: .5; }
  .tile, .row, .goal { transition: none; }
  /* 읽기 진행 막대(스크롤에 묶인 애니메이션)와 웹폰트(Pretendard 가변·조각 92개)는 폰에서 스크롤마다 일을 만든다 — 폰에 이미 있는 한글 글꼴을 쓴다.
     2026-10-06 회원님 폰 영상: 글 페이지에서 0.25초쯤 멈췄다가 화면이 흰색으로 비고 훌쩍 건너뜀 */
  :root { --font: system-ui, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", "Noto Sans CJK KR", "Malgun Gothic", sans-serif; }
  .progress { display: none; }
}
