/* plugin.arapshow.net 공통 스타일. tools.arapshow.net/deskon·/kesilsu 소개 페이지와 같은 값 */
:root {
  --bg: #f6f6f8; --card: #ffffff; --ink: #1c1c1e; --sub: #6b6b72; --line: #e3e3e8;
  --violet: #4a4ad6; --violet-soft: #ecebfd;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Segoe UI", sans-serif; word-break: keep-all; }
a { color: inherit; }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }
.hero { text-align: center; padding: 72px 0 40px; }
.icon { width: 120px; height: 120px; }
h1 { margin: 22px 0 0; font-size: 40px; letter-spacing: -0.02em; line-height: 1.1; }
.ko { margin: 10px 0 0; font-size: 16px; color: var(--sub); }
.lead { margin: 22px 0 0; font-size: 28px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.35; }
.lead2 { margin: 8px 0 0; font-size: 20px; font-weight: 700; color: var(--violet); }
.en { margin: 8px 0 0; font-size: 15px; color: var(--sub); }
.nw { white-space: nowrap; }
.eng { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--sub); letter-spacing: 0; }
h2 .eng { font-size: 14px; margin-top: 4px; }
.download { text-align: center; margin-top: 32px; }
.btn { display: inline-block; padding: 14px 30px; border-radius: 999px; background: var(--violet); color: #fff; font-weight: 600; text-decoration: none; font-size: 17px; }
.file { margin: 12px 0 0; font-size: 14px; font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.req { margin-top: 6px; font-size: 14px; color: var(--sub); }
section { padding: 40px 0; border-top: 1px solid var(--line); }
h2 { margin: 0 0 18px; font-size: 22px; letter-spacing: -0.01em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; }
.step b { display: block; font-size: 13px; color: var(--violet); font-weight: 700; }
.step p { margin: 6px 0 0; font-size: 15px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 12px; }
.card h3 { margin: 0; font-size: 17px; }
.card h3 .eng { font-size: 13px; }
.card ul { margin: 10px 0 0; padding-left: 18px; font-size: 15px; }
.card li { margin: 4px 0; }
.intent { margin: 0 0 12px; font-size: 16px; }
kbd { font: 600 13px ui-monospace, Menlo, monospace; background: var(--violet-soft); border-radius: 5px; padding: 1px 6px; }
code { font: 13px ui-monospace, Menlo, monospace; background: #f0f0f4; border-radius: 5px; padding: 1px 5px; word-break: break-all; }
.note { margin: 14px 0 0; font-size: 14px; color: var(--sub); }
/* 목록 카드(첫 화면) */
.items { display: grid; gap: 12px; }
.item { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; text-decoration: none; }
.item img { width: 64px; height: 64px; flex: none; }
.item b { display: block; font-size: 17px; }
.item span { display: block; font-size: 14px; color: var(--sub); }
.item.soon { opacity: .55; }
.item.soon .badge { display: inline-block; margin-left: 6px; font-size: 12px; color: var(--violet); background: var(--violet-soft); border-radius: 999px; padding: 0 8px; vertical-align: 2px; }
/* 콜라주 장면 */
.scene { margin: 36px auto 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px 20px; text-align: center; }
.step-label { margin: 0 0 16px; min-height: 42px; font-size: 14px; font-weight: 600; color: var(--violet); }
.board { position: relative; width: min(100%, 420px); aspect-ratio: 4 / 3; margin: 0 auto; border: 1.5px dashed #b9b9c6; border-radius: 6px; }
.cell { position: absolute; border-radius: 4px; background: #d6d6de; transition: background .4s, opacity .4s; opacity: 0; }
.board.cells .cell { opacity: 1; }
.cell.filled { background-size: cover; }
.cell .num { position: absolute; left: 6px; top: 4px; font-size: 12px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px #0005; }
.caption { margin: 18px 0 0; font-size: 14px; color: var(--sub); }
footer { padding: 0; border-top: 1px solid var(--line); }
footer .t-foot { text-align: left; padding: 24px 0 20px; max-width: none; border-top: 0; --foot-ink: var(--ink); --foot-faint: var(--sub); --foot-line: var(--line); }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } h1 { font-size: 32px; } .lead { font-size: 24px; } }
/* 소개 애니메이션: 일러스트레이터 같은 작업 창(그림으로 흉내, 실제 화면 아님) */
.app-demo { position: relative; width: 100%; margin: 0 auto; }
.ad { position: absolute; left: 0; top: 0; transform-origin: 0 0; background: #2b2b2b; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 30px #0003; font: 12px -apple-system, "Apple SD Gothic Neo", sans-serif; color: #ddd; text-align: left; }
.ad-title { height: 26px; background: #3a3a3a; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.ad-title i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .ad-title i:nth-child(2) { background: #febc2e; } .ad-title i:nth-child(3) { background: #28c840; }
.ad-title span { margin-left: 14px; font-size: 11px; color: #aaa; }
.ad-menu { height: 24px; background: #323232; display: flex; gap: 16px; align-items: center; padding: 0 12px 0 70px; border-bottom: 1px solid #222; }
.ad-menu b, .ad-menu span { font-weight: 400; padding: 2px 6px; border-radius: 4px; }
.ad.file .ad-menu b { background: #4a6cf7; color: #fff; }
.ad-tools { position: absolute; left: 0; top: 50px; bottom: 0; width: 40px; background: #323232; padding: 8px 9px; display: flex; flex-direction: column; gap: 8px; }
.ad-tools u { display: block; width: 22px; height: 18px; border-radius: 3px; background: #4a4a4a; } .ad-tools u.on { background: #6a6a6a; }
.ad-canvas { position: absolute; left: 40px; right: 0; top: 50px; bottom: 0; background: #535353; }
.ad-board { position: absolute; left: 20px; top: 24px; width: 280px; height: 300px; background: #fff; }
.ad-rect { position: absolute; left: 30px; top: 40px; width: 220px; height: 0; opacity: 0; border: 1px solid #222; transition: height .6s ease, opacity .2s; }
.ad.drawn .ad-rect { height: 210px; opacity: 1; }
.ad.sel .ad-rect { outline: 1px solid #4a8cff; outline-offset: 2px; }
.ad.cells .ad-rect { border-color: transparent; }
.ad-cell { position: absolute; opacity: 0; background: #d0d0d6; transition: all .5s ease; outline: 3px solid #fff; outline-offset: -1.5px; }
.ad.cells .ad-cell { opacity: 1; }
.ad.done .ad-rect { outline: 1px solid #4a8cff; outline-offset: 2px; }
.ad-dd { position: absolute; background: #3c3c3c; border: 1px solid #222; border-radius: 6px; padding: 4px 0; min-width: 150px; box-shadow: 0 6px 18px #0006; opacity: 0; pointer-events: none; transition: opacity .15s; }
.ad-dd p { margin: 0; padding: 3px 14px; display: flex; justify-content: space-between; gap: 20px; } .ad-dd hr { border: 0; border-top: 1px solid #555; margin: 4px 0; }
.ad-dd em { font-style: normal; color: #999; }
.ad-file { left: 72px; top: 50px; } .ad.file .ad-file { opacity: 1; }
.ad.scripts .ad-file .sub { background: #4a6cf7; color: #fff; }
.ad-scripts { left: 223px; top: 152px; min-width: 190px; } .ad.scripts .ad-scripts { opacity: 1; }
.ad.scripts .ad-scripts .hl { background: #4a6cf7; color: #fff; }
.ad-dlg { position: absolute; left: 362px; top: 70px; width: 268px; height: 200px; background: #3c3c3c; border: 1px solid #222; border-radius: 8px; box-shadow: 0 10px 26px #0007; display: flex; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.ad.dlg .ad-dlg { opacity: 1; transform: none; }
.ad-dlg-t { position: absolute; left: 0; right: 0; top: 0; height: 22px; text-align: center; line-height: 22px; font-size: 11px; color: #bbb; background: #343434; border-radius: 8px 8px 0 0; }
.ad-dlg-l { position: absolute; left: 10px; top: 34px; width: 80px; display: flex; flex-direction: column; gap: 9px; }
.ad-dlg-l s { display: block; height: 14px; border-radius: 3px; background: #4d4d4d; } .ad-dlg-l s:nth-child(1), .ad-dlg-l s:nth-child(3) { width: 60%; background: #ffb840; opacity: .8; }
.ad-dlg-r { position: absolute; left: 100px; top: 30px; width: 158px; }
.ad-prev { position: relative; width: 156px; height: 117px; background: #1f1f1f; }
.ad-pcell { position: absolute; background: #6b6b6b; outline: 2px solid #1f1f1f; outline-offset: -1px; transition: all .5s ease; }
.ad-pcell.in { background: #3b73ad; }
.ad-btns { display: flex; gap: 8px; margin-top: 12px; }
.ad-btns { gap: 5px !important; } .ad-btns span { border: 1px solid #aaa; border-radius: 10px; padding: 1px 0; font-size: 10px; text-align: center; } .ad-btns .sh { width: 26px; } .ad-btns .all { width: 62px; } .ad-btns .ok { flex: 1; border-width: 2px; }
.ad-cursor { position: absolute; width: 14px; height: 20px; left: 330px; top: 330px; transition: left .5s ease, top .5s ease; z-index: 5;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 20'%3E%3Cpath d='M1 1v16l4-4 3 6 3-1.5-3-6h5z' fill='%23111' stroke='%23fff' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ad-cursor.click::after { content: ""; position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #4a8cff; animation: ad-click .3s ease-out; }
@keyframes ad-click { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
/* 설치 그림: 스크립트 폴더에 jsx 넣기 (그림으로 흉내) */
.inst { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inst figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.inst figcaption { margin-top: 10px; font-size: 14px; }
.win { border-radius: 8px; overflow: hidden; border: 1px solid #d5d5dc; font: 11px -apple-system, "Segoe UI", "Apple SD Gothic Neo", sans-serif; background: #fff; }
.win .bar { display: flex; align-items: center; gap: 5px; padding: 6px 8px; background: #ececf0; color: #555; }
.win .bar i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; } .win .bar i:nth-child(2) { background: #febc2e; } .win .bar i:nth-child(3) { background: #28c840; }
.win .path { padding: 6px 8px; border-bottom: 1px solid #e5e5ea; color: #333; word-break: break-all; }
.win .path b { color: var(--violet); }
.win .files { padding: 8px; display: grid; gap: 4px; }
.win .f { display: flex; align-items: center; gap: 6px; color: #888; } .win .f img { width: 16px; height: 16px; }
.win .f.new { color: var(--ink); font-weight: 700; background: var(--violet-soft); border-radius: 4px; padding: 2px 4px; }
.win .f .dot { width: 12px; height: 14px; border-radius: 2px; background: #d8d8de; }
.win.w10 .bar { background: #f3f3f3; justify-content: flex-end; } .win.w10 .bar i { border-radius: 0; width: 9px; height: 2px; background: #666; }
@media (max-width: 640px) { .inst { grid-template-columns: 1fr; } }
/* 설정 창 그림 */
.shot { margin: 0; text-align: center; }
.shot img { width: 100%; max-width: 640px; border-radius: 10px; box-shadow: 0 10px 28px #0002; }
.shot figcaption { margin-top: 10px; font-size: 14px; color: var(--sub); }
/* 할 수 있는 것: 짧은 네 칸 */
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feats p { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 10px; text-align: center; font-size: 15px; font-weight: 600; }
@media (max-width: 640px) { .feats p { padding: 14px 6px; } }
.feats .fi { display: block; width: 30px; height: 30px; margin: 0 auto 8px; fill: var(--violet-soft); stroke: var(--violet); stroke-width: 2; }
/* 시리즈 번호 No.1 */
.no { font-style: normal; font-size: 12px; font-weight: 700; color: var(--violet); background: var(--violet-soft); border-radius: 999px; padding: 1px 8px; margin-right: 8px; vertical-align: 2px; }
.no-big { margin: 18px 0 0; font-size: 14px; font-weight: 700; color: var(--violet); letter-spacing: .04em; }
.no-big + h1 { margin-top: 4px; }
