:root{--ink: #0b0b0d;--ink-pressed: #26262a;--ink-2: #6b6b70;--ink-3: #a3a3a8;--on-ink: #ffffff;--surface: #ffffff;--sunken: #f7f7f8;--bubble-in: #f1f1f3;--hairline: #ececee;--hairline-strong: #dcdce0;--learn: #00a06a;--learn-soft: #e6f6ef;--hint: #c0396b;--hint-soft: #fdecf2;--caution: #a66a00;--caution-soft: #fdf3e2;--danger: #d93b3b;--danger-soft: #fdeded;--badge: #ff3b30;--on-badge: #ffffff;--key-face: #ffffff;--key-face-alt: #c9cbd1;--key-bed: #d3d5da;--gutter: 16px;--bubble-gap: 2px;--run-gap: 14px;--r-xs: 4px;--r-sm: 6px;--r-md: 8px;--r-lg: 12px;--r-xl: 16px;--r-bubble: 16px;--r-notch: 4px;--r-key: 6px;--r-full: 9999px;--font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;--shell: 420px;color-scheme:light}.t-display{font-size:27px;font-weight:800;line-height:1.2;letter-spacing:-.035em}.t-headline-lg{font-size:20px;font-weight:700;line-height:1.3;letter-spacing:-.03em}.t-headline-md{font-size:17px;font-weight:700;line-height:1.35;letter-spacing:-.025em}.t-title-md{font-size:15px;font-weight:600;line-height:1.35;letter-spacing:-.022em}.t-body-lg{font-size:15px;font-weight:420;line-height:1.45;letter-spacing:-.014em}.t-body-md{font-size:14px;font-weight:400;line-height:1.6;letter-spacing:-.012em}.t-body-sm{font-size:12.5px;font-weight:400;line-height:1.5;letter-spacing:-.01em}.t-label-md{font-size:12.5px;font-weight:600;line-height:1;letter-spacing:-.01em}.t-label-sm{font-size:10.5px;font-weight:600;line-height:1}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{height:100%}body{margin:0;font-family:var(--font);color:var(--ink);background:#e4e4e7;-webkit-font-smoothing:antialiased;font-synthesis-weight:none}button{font:inherit;color:inherit;border:none;background:none;cursor:pointer;padding:0}input{font:inherit;color:inherit}img{display:block;max-width:100%}.shell{position:relative;height:100dvh;max-width:var(--shell);margin:0 auto;display:flex;flex-direction:column;background:var(--surface);overflow:hidden}@media(min-width:520px){.shell{height:min(900px,calc(100dvh - 32px));margin:16px auto;border-radius:18px;box-shadow:0 18px 50px -20px #0b0b0d59}}.screen{flex:1;min-height:0;display:flex;flex-direction:column;background:var(--surface)}.scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.appbar{flex:none;padding:10px var(--gutter) 0;background:var(--surface)}.appbar-top{display:flex;align-items:center;justify-content:space-between;min-height:38px}.appbar h1{margin:0}.icon-btn{width:34px;height:34px;display:grid;place-items:center;border-radius:var(--r-md);color:var(--ink);transition:background .14s}.icon-btn:active{background:var(--sunken)}.icon-btn svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.chips{display:flex;gap:6px;padding:10px 0 12px;overflow-x:auto;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{flex:none;display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 12px;border-radius:var(--r-full);background:var(--sunken);color:var(--ink-2);transition:background .14s,color .14s}.chip[aria-pressed=true]{background:var(--ink);color:var(--on-ink)}.chip .n{display:inline-grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border-radius:var(--r-full);background:var(--badge);color:var(--on-badge);font-size:10px;font-weight:700}.searchbar{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:0 11px;height:36px;border-radius:var(--r-md);background:var(--sunken);color:var(--ink-3)}.searchbar svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round}.searchbar input{flex:1;border:none;background:none;outline:none;color:var(--ink);font-size:14px}.searchbar input::placeholder{color:var(--ink-3)}.row{position:relative;width:100%;display:flex;gap:12px;align-items:center;padding:11px var(--gutter);text-align:left;background:var(--surface);transition:background .12s}.row:not(.locked):active{background:var(--sunken)}.row+.row:before{content:"";position:absolute;top:0;left:74px;right:var(--gutter);height:1px;background:var(--hairline)}.row.locked{opacity:.4;cursor:default}.row.dim .pfp,.row.dim .row-body{opacity:.55}.pfp{flex:none;width:46px;height:46px;border-radius:var(--r-full);object-fit:cover;background:var(--sunken)}.row-body{flex:1;min-width:0}.row-name{display:flex;align-items:baseline;gap:5px}.row-name .ko{color:var(--ink-3);font-size:12px;font-weight:500}.row-sub{margin-top:3px;color:var(--ink-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-meta{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:6px}.row-meta time,.row-meta .muted{color:var(--ink-3);font-size:10.5px;font-weight:500}.badge{display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:var(--r-full);background:var(--badge);color:var(--on-badge);font-size:10.5px;font-weight:700}.section-head{padding:20px var(--gutter) 7px;color:var(--ink-3)}.empty{padding:52px 32px;text-align:center;color:var(--ink-3);font-size:13px;line-height:1.8}.tabbar{flex:none;display:grid;grid-template-columns:repeat(3,1fr);background:var(--surface);border-top:1px solid var(--hairline);padding-bottom:env(safe-area-inset-bottom)}.tabbar button{height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--ink-3);position:relative}.tabbar button[aria-current=true]{color:var(--ink)}.tabbar svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.tabbar .dot{position:absolute;top:10px;left:calc(50% + 6px);width:6px;height:6px;border-radius:var(--r-full);background:var(--badge);border:1.5px solid var(--surface)}.thread{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;background:var(--surface)}.thread-head{flex:none;display:flex;align-items:center;gap:9px;padding:7px 8px 7px 2px;background:var(--surface);border-bottom:1px solid var(--hairline);z-index:3}.thread-head .pfp{width:32px;height:32px}.thread-head .who{flex:1;min-width:0}.thread-head .who small{display:block;margin-top:1px;color:var(--ink-3);font-size:11px;font-weight:500}.log-wrap{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.log{min-height:100%;padding:12px var(--gutter) 8px;display:flex;flex-direction:column;justify-content:flex-end;gap:var(--run-gap)}.datemark{align-self:center;margin-bottom:4px;padding:4px 11px;border-radius:var(--r-full);background:var(--sunken);color:var(--ink-2);font-size:11px;font-weight:600}.run{display:flex;gap:8px;animation:rise .24s cubic-bezier(.2,.9,.3,1) both}@keyframes rise{0%{opacity:0;transform:translateY(5px)}}.run.me{justify-content:flex-end}.run .stack{display:flex;flex-direction:column;gap:var(--bubble-gap);max-width:76%}.run.me .stack{align-items:flex-end}.run .sender{margin:0 0 4px 2px;color:var(--ink-2);font-size:11.5px;font-weight:600}.run .pfp{width:34px;height:34px;align-self:flex-start}.bubble-line{display:flex;align-items:flex-end;gap:5px}.run.me .bubble-line{flex-direction:row-reverse}.bubble{text-align:left;padding:8px 12px 9px;border-radius:var(--r-bubble);word-break:break-word;transition:opacity .12s}.bubble:active{opacity:.7}.bubble.in{background:var(--bubble-in);color:var(--ink)}.bubble.in.first{border-top-left-radius:var(--r-notch)}.bubble.out{background:var(--ink);color:var(--on-ink)}.bubble.out.first{border-top-right-radius:var(--r-notch)}.stamp{flex:none;color:var(--ink-3);font-size:10px;font-weight:500;padding-bottom:2px;white-space:nowrap}.typing-bubble{display:inline-flex;gap:4px;align-items:center;padding:13px 14px}.typing-bubble i{width:6px;height:6px;border-radius:50%;background:var(--ink-3);animation:blink 1.1s infinite}.typing-bubble i:nth-child(2){animation-delay:.15s}.typing-bubble i:nth-child(3){animation-delay:.3s}@keyframes blink{0%,60%,to{opacity:.3}30%{opacity:1}}.system-note{align-self:center;max-width:84%;text-align:center;padding:6px 13px;border-radius:var(--r-full);background:var(--sunken);color:var(--ink-2);font-size:11.5px;font-weight:500;line-height:1.55}.composer{flex:none;background:var(--surface);border-top:1px solid var(--hairline)}.bar{display:flex;align-items:center;gap:8px;padding:8px 10px calc(8px + env(safe-area-inset-bottom))}.bar .field{flex:1;min-width:0;display:flex;align-items:center;min-height:38px;padding:0 14px;border-radius:var(--r-full);background:var(--sunken);color:var(--ink-3);font-size:14.5px;text-align:left}.bar .field.composing{display:block;padding:9px 14px;border-radius:var(--r-xl);color:var(--ink);font-size:16px;font-weight:450;line-height:1.7;letter-spacing:-.014em;white-space:pre-wrap;cursor:text;animation:draftin .32s cubic-bezier(.2,.9,.3,1) both}@keyframes draftin{0%{opacity:0;transform:translateY(5px)}}.bar .round{flex:none;width:34px;height:34px;display:grid;place-items:center;border-radius:var(--r-full);color:var(--ink-2)}.bar .round svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.send-btn{flex:none;width:36px;height:36px;display:grid;place-items:center;border-radius:var(--r-full);background:var(--ink);color:var(--on-ink);align-self:flex-end;transition:background .15s}.send-btn svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.send-btn[disabled]{background:var(--hairline);color:var(--ink-3);cursor:default}.panel{padding:10px var(--gutter) 12px;animation:slideup .22s cubic-bezier(.2,.9,.3,1) both}@keyframes slideup{0%{opacity:0;transform:translateY(8px)}}.panel-head{display:flex;align-items:center;gap:8px;margin-bottom:9px;color:var(--ink-3)}.options{display:flex;flex-direction:column;gap:6px}.option{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:12px 13px;border-radius:var(--r-lg);background:var(--sunken);transition:background .13s}.option:active{background:var(--hairline)}.option .flavor{flex:none;padding:4px 7px;border-radius:var(--r-xs);background:var(--surface);color:var(--ink-2);font-size:10.5px;font-weight:600}.option .chev{flex:none;color:var(--ink-3);display:grid;place-items:center}.option .chev svg{stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.panel{padding-bottom:4px}.prompt{display:flex;align-items:center;gap:8px;font-size:14.5px;font-weight:500;line-height:1.55;letter-spacing:-.015em;color:var(--ink-2)}.prompt-ko{flex:1;min-width:0}.prompt-actions{flex:none;display:flex;gap:2px}.icon-sq{width:32px;height:32px;display:grid;place-items:center;border-radius:var(--r-md);color:var(--ink-3);transition:background .14s,color .14s}.icon-sq:active,.icon-sq:hover{background:var(--sunken);color:var(--ink)}.icon-sq.on{background:var(--ink);color:var(--on-ink)}.icon-sq svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.prompt mark{background:none;color:var(--learn);font-weight:700}.blank-wrap{margin:0 2px}.wbox{position:relative;display:inline-block;vertical-align:baseline;padding:1px 8px;border-radius:8px;background:var(--surface);box-shadow:inset 0 0 0 1px #0b0b0d17;transition:box-shadow .16s,background .22s ease}.wbox+.wbox{margin-left:4px}.wbox.bare{min-width:34px}.wbox.on{box-shadow:inset 0 0 0 1.5px var(--learn)}.wbox.settled{background:var(--learn-soft);box-shadow:none}.wsizer,.wfield{font:inherit;font-weight:600;letter-spacing:inherit;word-spacing:inherit;white-space:pre}.wsizer{display:inline-grid;visibility:hidden;pointer-events:none}.wsizer>span{grid-area:1 / 1;white-space:pre}.wfield{position:absolute;inset:1px 8px;width:auto;min-width:0;padding:0;border:none;outline:none;background:transparent;color:var(--ink);caret-color:var(--learn);text-align:left;transition:color .16s}.wbox.settled .wfield{color:var(--learn)}.wbox.settled.revealed .wfield{color:var(--ink-2)}.wblur{position:absolute;inset:8px;border-radius:5px;background:linear-gradient(100deg,#0b0b0d1f,#0b0b0d4d,#0b0b0d1f);background-size:220% 100%;filter:blur(2.2px);animation:drift 2.6s ease-in-out infinite;pointer-events:none}@keyframes drift{0%,to{background-position:0% 0}50%{background-position:100% 0}}@media(prefers-reduced-motion:reduce){.wblur{animation:none}}.shown-chunk{display:inline-block;padding:1px 5px;border-radius:var(--r-xs);background:var(--caution-soft);color:#7d5000;font-weight:600}.strip{display:flex;gap:8px;margin-bottom:10px;padding:10px 12px;border-radius:var(--r-lg);font-size:12.5px;line-height:1.6;animation:rise .2s ease both}.strip .ic{flex:none;width:15px;text-align:center;font-size:13px;font-weight:700;line-height:1.5}.strip b em{font-style:normal;font-weight:600;opacity:.65}.strip b{display:block;font-size:12px;font-weight:700}.strip b:not(:only-child){margin-bottom:2px}.strip .sub{display:block;margin-top:5px;opacity:.85;font-size:12px}.strip.hint{background:var(--hint-soft);color:var(--hint)}.strip.good{background:var(--learn-soft);color:var(--learn)}.strip.warn{background:var(--caution-soft);color:#7d5000}.strip.bad{background:var(--danger-soft);color:var(--danger)}.drill-tools{display:flex;align-items:center;gap:6px;margin-top:10px}.tool{padding:8px 11px;border-radius:var(--r-md);background:var(--sunken);color:var(--ink-2);font-size:12.5px;font-weight:600}.tool:active{background:var(--hairline)}.tool.on{background:var(--ink);color:var(--on-ink)}.tool.send{flex:1;padding:13px;background:var(--ink);color:var(--on-ink);font-size:15px;text-align:center}.tool-panel{margin-top:9px;padding:11px 12px;border-radius:var(--r-lg);background:var(--sunken);color:var(--ink-2);font-size:12.5px;line-height:1.65;animation:rise .18s ease both}.tool-panel ul{margin:0;padding-left:15px}.tool-panel li{color:var(--ink);font-weight:600}.kb{background:var(--key-bed);padding:6px 3px calc(6px + env(safe-area-inset-bottom));-webkit-user-select:none;user-select:none}.kb-row{display:flex;gap:5px;padding:0 3px 6px;justify-content:center}.key{flex:1;height:42px;display:grid;place-items:center;border-radius:var(--r-key);background:var(--key-face);color:var(--ink);font-size:17px;font-weight:400;box-shadow:0 1px #0b0b0d47;transition:background .06s}.key:active{background:var(--key-face-alt)}.key.alt{background:var(--key-face-alt);font-size:13px;font-weight:600}.key.wide{flex:2.4}.key.space{flex:5;font-size:13px;font-weight:600;color:var(--ink-2)}.key.confirm{flex:2.4;background:var(--ink);color:var(--on-ink);font-size:13.5px;font-weight:700}.key.confirm[disabled]{background:var(--key-face-alt);color:var(--surface);box-shadow:none}.key svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sheet-backdrop{position:absolute;inset:0;z-index:20;background:#0b0b0d59;animation:fade .16s ease both}@keyframes fade{0%{opacity:0}}.sheet{position:absolute;left:0;right:0;bottom:0;z-index:21;max-height:82%;display:flex;flex-direction:column;background:var(--surface);border-radius:var(--r-xl) var(--r-xl) 0 0;box-shadow:0 -10px 30px -14px #0b0b0d47;animation:sheetin .24s cubic-bezier(.2,.9,.3,1) both}@keyframes sheetin{0%{transform:translateY(100%)}}.grip{flex:none;width:34px;height:4px;border-radius:var(--r-full);background:var(--hairline-strong);margin:8px auto 0}.sheet-body{overflow-y:auto;padding:16px var(--gutter) calc(24px + env(safe-area-inset-bottom))}.sheet-en{font-size:19px;font-weight:600;line-height:1.45;letter-spacing:-.02em}.sheet-ko{margin:7px 0 14px;color:var(--ink-2)}.gloss{padding:12px 0}.gloss+.gloss{border-top:1px solid var(--hairline)}.gloss-head{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.gloss-term{font-size:15px;font-weight:700;letter-spacing:-.015em}.gloss-ko{color:var(--ink-2);font-size:13px}.gloss-note{margin-top:7px;color:var(--ink-2);font-size:12.5px;line-height:1.65}.sect{border-top:1px solid var(--hairline)}.sect-head{display:flex;align-items:center;gap:7px;width:100%;padding:13px 0;color:var(--ink)}.sect-n{min-width:17px;height:17px;padding:0 5px;display:grid;place-items:center;border-radius:var(--r-full);background:var(--sunken);color:var(--ink-3);font-size:10.5px;font-weight:700}.sect-chev{display:grid;place-items:center;color:var(--ink-3);transition:transform .18s ease}.sect-chev svg{stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.sect-chev.open{transform:rotate(90deg)}.sect-body{padding-bottom:6px;animation:rise .16s ease both}.sect .gloss:first-child{padding-top:0}.pattern{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:9px}.pattern .p{padding:6px 9px;border-radius:var(--r-sm);background:var(--sunken);color:var(--ink-2);font-size:12.5px;font-weight:600}.pattern .p.slot{background:var(--learn-soft);color:var(--learn)}.pattern .plus{color:var(--ink-3);font-size:11px}.contrast{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin-top:10px}.contrast .side{padding:10px;border-radius:var(--r-md);text-align:center;font-size:13.5px;font-weight:600}.contrast .bad{background:var(--danger-soft);color:var(--danger);text-decoration:line-through;text-decoration-thickness:1.5px}.contrast .good{background:var(--learn-soft);color:var(--learn)}.contrast .arrow{color:var(--ink-3);font-size:13px}.contrast-note{margin-top:7px;color:var(--ink-2);font-size:12.5px;line-height:1.6;text-align:center}.meta-line{display:flex;gap:9px;margin-top:12px;padding:11px 12px;border-radius:var(--r-lg);background:var(--sunken);color:var(--ink-2);font-size:12.5px;line-height:1.65}.meta-line .k{flex:none;color:var(--ink-3);font-weight:700;font-size:11px;padding-top:2px;white-space:nowrap}.profile-hero{padding:20px var(--gutter) 16px;display:flex;gap:14px;align-items:center}.profile-hero .pfp{width:68px;height:68px}.profile-meta{margin-top:4px;color:var(--ink-3);font-size:12.5px}.tags{display:flex;flex-wrap:wrap;gap:5px;padding:0 var(--gutter)}.tag{padding:5px 10px;border-radius:var(--r-full);background:var(--sunken);color:var(--ink-2);font-size:11.5px;font-weight:500}.block{padding:16px var(--gutter)}.block p{margin:0;color:var(--ink-2)}.block h4{margin:0 0 6px;font-size:11.5px;font-weight:700;color:var(--ink-3)}.scenario-row{display:flex;align-items:center;gap:12px;width:100%;padding:13px var(--gutter);text-align:left;background:var(--surface);border-top:1px solid var(--hairline)}.scenario-row:active{background:var(--sunken)}.scenario-row .n{flex:none;width:26px;height:26px;display:grid;place-items:center;border-radius:var(--r-full);background:var(--sunken);color:var(--ink-2);font-size:11.5px;font-weight:700}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:14px;border-radius:var(--r-lg);font-size:15px;font-weight:600;letter-spacing:-.02em;background:var(--ink);color:var(--on-ink);transition:background .13s}.btn:active{background:var(--ink-pressed)}.btn.secondary{background:var(--sunken);color:var(--ink)}.stats{display:flex;border-bottom:1px solid var(--hairline)}.stat{flex:1;padding:16px 8px 18px;text-align:center}.stat+.stat{border-left:1px solid var(--hairline)}.stat b{display:block;font-size:24px;font-weight:800;letter-spacing:-.04em}.stat.ok b{color:var(--learn)}.stat span{display:block;margin-top:5px;color:var(--ink-2);font-size:11px;font-weight:500}.unit-row{position:relative;display:flex;align-items:center;gap:12px;padding:12px var(--gutter)}.unit-row+.unit-row:before{content:"";position:absolute;top:0;left:var(--gutter);right:var(--gutter);height:1px;background:var(--hairline)}.unit-row .grow{flex:1;min-width:0}.unit-row .sub{margin-top:3px;color:var(--ink-3);font-size:11px}.pill{flex:none;padding:5px 9px;border-radius:var(--r-full);font-size:10.5px;font-weight:700}.pill.independent{background:var(--learn-soft);color:var(--learn)}.pill.supported{background:var(--caution-soft);color:#7d5000}.pill.recognized{background:var(--sunken);color:var(--ink-2)}.onboard{height:100%;display:flex;flex-direction:column;justify-content:center;gap:20px;padding:40px 26px;background:var(--surface)}.onboard .logo{width:50px;height:50px;border-radius:var(--r-lg);background:var(--ink);color:var(--on-ink);display:grid;place-items:center;font-size:22px;font-weight:800;letter-spacing:-.05em}.onboard p{margin:0;color:var(--ink-2)}.field-label{display:block;margin-bottom:7px;color:var(--ink-2);font-size:12px;font-weight:600}.text-input{width:100%;padding:14px 13px;border:1px solid var(--hairline-strong);border-radius:var(--r-lg);background:var(--surface);font-size:16px;font-weight:500;outline:none;transition:border-color .14s}.text-input:focus{border-color:var(--ink)}.text-input::placeholder{color:var(--ink-3);font-weight:400}
