/* 세포 키우기 — 화면 스타일 */
:root{--ce-bg:#f3f6fb;--ce-fg:#1c2433;--ce-box:#ffffff;--ce-line:#dfe6f1;--ce-h1:#1c64c8;--ce-h2:#2b4d7e;--ce-muted:#5b6b82;--ce-key:#c2410c;--ce-link:#1c64c8;--ce-td:#2a3446}
@media (prefers-color-scheme:dark){:root{--ce-bg:#070d18;--ce-fg:#e9f0fb;--ce-box:#101b2e;--ce-line:#1f3150;--ce-h1:#8fc7ff;--ce-h2:#a5d8ff;--ce-muted:#9fb2cc;--ce-key:#ffe066;--ce-link:#8fc7ff;--ce-td:#d5e1f2}}
.ce-page{margin:0;background:var(--ce-bg);color:var(--ce-fg);font-family:"Noto Sans KR",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;line-height:1.65;overflow-x:hidden}
html.ce-lock,html.ce-lock body{overflow:hidden;overscroll-behavior:none}
html.ce-lock #funsoft-fab,html.ce-lock #inq-float,html.ce-lock #fs-a2hs{opacity:0;pointer-events:none}
.ce-wrap,.ce-wrap *{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.ce-wrap{position:relative;width:100%;margin:0 auto;height:100vh;height:100svh;min-height:360px;overflow:hidden;background:#070d18;color:#eef4ff;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.ce-wrap canvas{display:block;position:absolute;left:0;top:0;width:100%;height:100%;touch-action:none;outline:none}
.ce-wrap.ce-playing{touch-action:none}
.ce-btns{position:absolute;top:8px;left:8px;display:flex;gap:6px;z-index:3}
.ce-ib{width:38px;height:38px;border:0;border-radius:12px;background:rgba(0,0,0,.45);color:#fff;font:900 16px/1 sans-serif;cursor:pointer;box-shadow:inset 0 0 0 2px rgba(255,255,255,.22);display:inline-flex;align-items:center;justify-content:center;padding:0;touch-action:manipulation}
.ce-ib:active{transform:translateY(1px)}
.ce-ui{position:absolute;inset:0;z-index:4;display:none;align-items:flex-start;justify-content:center;padding:54px 12px 16px;background:radial-gradient(ellipse at 50% 35%,rgba(12,28,56,.6),rgba(3,6,14,.9));overflow-y:auto;touch-action:pan-y;-webkit-overflow-scrolling:touch}
.ce-ui.on{display:flex}
.ce-card{width:100%;max-width:480px;margin:auto 0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;animation:ceIn .2s ease-out}
@keyframes ceIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.ce-card h2{margin:0;font-family:"Black Han Sans",sans-serif;font-weight:400;font-size:clamp(30px,8vw,42px);line-height:1.1;color:#ffe066;text-shadow:0 3px 0 rgba(0,0,0,.5)}
.ce-logo{display:flex;flex-direction:column;align-items:center;line-height:1;font-family:"Black Han Sans",sans-serif;text-shadow:0 4px 0 rgba(0,0,0,.45)}
.ce-logo span{font-size:clamp(16px,4.4vw,21px);color:#a5d8ff;letter-spacing:.1em}
.ce-logo b{font-weight:400;font-size:clamp(48px,13.5vw,70px);background:linear-gradient(180deg,#e7f5ff,#74c0fc 45%,#4263eb);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 4px 0 rgba(0,0,0,.45))}
.ce-sub{margin:0;font-size:14px;color:#dbe6f7}
.ce-tiny{margin:0;font-size:12px;color:#a9bbd6;line-height:1.6}
.ce-new{margin:0;font-weight:900;color:#69db7c}
.ce-big{font-weight:900;font-size:clamp(34px,10vw,48px);color:#fff;line-height:1.05}
.ce-big small{font-size:.42em;color:#c3d3ea;font-weight:700;margin-left:4px}
.ce-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.ce-btn{font:inherit;font-weight:900;font-size:16px;border:0;border-radius:14px;padding:11px 22px;cursor:pointer;color:#0b1f3a;background:linear-gradient(180deg,#d0ebff,#4dabf7);box-shadow:0 4px 0 #1864ab;min-height:44px}
.ce-btn:active{transform:translateY(3px);box-shadow:0 1px 0 #1864ab}
.ce-btn.go{font-size:20px;padding:13px 44px}
.ce-btn.g{background:rgba(255,255,255,.14);color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.35)}
.ce-btn:disabled{opacity:.6;cursor:default}
.ce-opt{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center;font-size:13px}
.ce-opt>span{color:#a9bbd6}
.ce-seg{display:inline-flex;border-radius:999px;background:rgba(0,0,0,.35);padding:3px;flex-wrap:wrap;justify-content:center}
.ce-seg button{font:inherit;font-size:13px;font-weight:800;border:0;border-radius:999px;padding:6px 12px;cursor:pointer;background:transparent;color:#dbe6f7;min-height:34px}
.ce-seg button.on{background:#74c0fc;color:#0b1f3a}
.ce-seg.ce-modes button{font-size:14px;padding:7px 14px;min-height:38px}
.ce-seg.sm button{font-size:12px;padding:3px 10px;min-height:28px}
.ce-name{display:flex;gap:6px;width:100%;max-width:340px}
.ce-name input,.ce-reg input{flex:1;min-width:0;font:inherit;font-size:16px;padding:9px 12px;border-radius:12px;border:0;text-align:center;color:#111;background:#fff}
.ce-skins{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;width:100%}
.ce-skin{font:inherit;border:0;border-radius:12px;padding:4px 2px 3px;cursor:pointer;background:rgba(255,255,255,.08);color:#fff;display:flex;flex-direction:column;align-items:center;gap:1px;min-height:44px}
.ce-wrap .ce-skin canvas{position:static;width:100%;max-width:46px;height:auto;aspect-ratio:1/1;display:block}
.ce-skin small{font-size:10px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.ce-skin.on{box-shadow:inset 0 0 0 2px #74c0fc;background:rgba(116,192,252,.18)}
.ce-skin.lock{opacity:.5;cursor:default}
.ce-skin.lock small{color:#ffd8a8}
.ce-stat{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;font-size:12px}
.ce-stat span{background:rgba(0,0,0,.35);padding:3px 10px;border-radius:999px}
.ce-stat b{color:#ffe066}
.ce-rkh{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;max-width:400px;font-size:13px;font-weight:800;color:#ffe066}
.ce-rk{width:100%;max-width:400px;font-size:13px;background:rgba(0,0,0,.3);border-radius:14px;padding:8px 10px;min-height:40px}
.ce-rk div{display:flex;justify-content:space-between;gap:8px;padding:3px 4px}
.ce-rk div:nth-child(odd){background:rgba(255,255,255,.05);border-radius:6px}
.ce-rk div span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ce-rk div span:last-child{white-space:nowrap}
.ce-muted{justify-content:center!important;color:#a9bbd6}
.ce-reg{display:flex;gap:6px;width:100%;max-width:380px}
.ce-reg .ce-btn{font-size:15px;padding:9px 14px}
.ce-unl{background:rgba(116,192,252,.16);border-radius:14px;padding:8px 14px;font-weight:800;color:#d0ebff;font-size:14px}
.ce-toast{position:absolute;left:50%;top:15%;transform:translateX(-50%);z-index:5;pointer-events:none;background:rgba(0,0,0,.62);color:#fff;font-weight:900;font-size:14px;padding:8px 16px;border-radius:999px;opacity:0;transition:opacity .25s;white-space:nowrap;max-width:94%;overflow:hidden;text-overflow:ellipsis}
.ce-toast.on{opacity:1}
/* 아래 글 */
.ce-below{max-width:760px;margin:0 auto;padding:16px 16px 40px}
.ce-box{background:var(--ce-box);border:1px solid var(--ce-line);border-radius:18px;padding:16px 18px;margin-bottom:14px}
.ce-box h1{font-size:1.25rem;margin:0 0 8px;color:var(--ce-h1);line-height:1.4}
.ce-box h2{font-size:1.08rem;margin:0 0 8px;color:var(--ce-h2)}
.ce-box ul{margin:0;padding-left:1.2em}
.ce-box li{margin:4px 0}
.ce-box p{margin:0}
.ce-box details{border-top:1px solid var(--ce-line);padding:8px 0}
.ce-box details:first-of-type{border-top:0}
.ce-box summary{cursor:pointer;font-weight:800}
.ce-box details p{margin-top:6px;color:var(--ce-td)}
.ce-crumb{font-size:.8rem;color:var(--ce-muted);margin:0 0 6px!important}
.ce-keys{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:.92rem}
.ce-keys>b{color:var(--ce-key);white-space:nowrap}
.ce-mt{width:100%;border-collapse:collapse;font-size:.92rem}
.ce-mt th{text-align:left;white-space:nowrap;padding:6px 10px 6px 0;color:var(--ce-key);vertical-align:top}
.ce-mt td{padding:6px 0;color:var(--ce-td)}
.ce-mt tr+tr th,.ce-mt tr+tr td{border-top:1px solid var(--ce-line)}
.ce-more{font-size:.85rem;color:var(--ce-muted)}
.ce-page a{color:var(--ce-link)}
@media (max-width:380px){.ce-skins{grid-template-columns:repeat(4,minmax(0,1fr))}}
