/* LFAI 폰 화면 공용 — 베젤(.bz) · 화면(.scr) · 터미널 · 대화 · 설정 토글. learn/ 과 랜딩이 같이 쓴다 */
:root{--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.scr .link{display:inline-block;margin-top:6px;background:var(--ink);color:#fff;text-decoration:none;font-weight:700;font-size:14px;border-radius:10px;padding:8px 13px}
.bz{min-width:0;position:relative;padding:7px;border-radius:34px;background:linear-gradient(145deg,#3a3f3c 0%,#151816 18%,#0b0d0c 50%,#1a1d1b 82%,#3a3f3c 100%);box-shadow:0 0 0 1.5px #565d59 inset,0 24px 40px -26px rgba(6,26,19,.6)}
.bz::before{content:"";position:absolute;z-index:3;top:14px;left:50%;transform:translateX(-50%);width:60px;height:17px;border-radius:12px;background:#000}
.scr{position:relative;aspect-ratio:9/16;min-width:0;border-radius:27px;overflow:hidden;font:11.5px/1.5 Pretendard,system-ui,sans-serif;display:flex;flex-direction:column}
.scr.lt{background:#f6f7f8;color:#1b1f1d}.scr.dk{background:#0f1714;color:#e6ece8}.scr.tm,.scr.pc{background:#000;color:#d7e3dc}
.scr .sb{display:flex;justify-content:space-between;padding:12px 18px 4px;font:700 10px var(--mono)}.scr.lt .sb{color:#333}
.scr .url{margin:6px 10px;background:#e7e9ec;border-radius:9px;padding:5px 9px;font:10.5px var(--mono);color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scr .ab{padding:8px 14px;font-weight:800;font-size:13px;border-bottom:1px solid rgba(127,127,127,.2)}
.scr .pg{flex:1;padding:12px 14px;display:flex;flex-direction:column;gap:8px;position:relative}
.scr .logo{font-weight:800;font-size:15px;color:#3b5bdb;margin-top:30px}.scr .mut{margin:0;color:#7a817d;font-size:11px}.scr .h{font-weight:800;font-size:16px}
.scr .btn{position:relative;display:block;text-align:center;border-radius:10px;padding:8px;background:#e7ebe9;font-weight:700}.scr .btn.hot{background:#3b5bdb;color:#fff}.scr .btn.g{background:#fff;border:1px solid #d5d9d7}.scr .btn.ghost{background:none;border:1px solid #cfd5d2}
.scr.dk .btn.hot,.scr.dk .btn.sm.hot{background:#7fd3a8;color:#0d2a21}
.scr .btn.sm{display:inline-block;padding:5px 9px;font-size:10.5px;font-style:normal}
.scr .in{background:#fff;border:1px solid #d5d9d7;border-radius:9px;padding:7px 9px;color:#8a918d}.scr .or{text-align:center;font-size:10px;color:#9aa19d}
.scr .chips{display:flex;gap:6px}.scr .chips span{flex:1;text-align:center;border:1px solid #cfd5d2;border-radius:9px;padding:7px 0;font-weight:700}.scr .chips .on{border-color:#3b5bdb;color:#3b5bdb;background:#eef2ff}
.scr .row{border:1px dashed #cfd5d2;border-radius:9px;padding:10px;text-align:center;color:#9aa19d}
.scr .pop{position:relative;background:#fff;border-radius:14px;padding:12px;box-shadow:0 10px 30px -10px rgba(0,0,0,.4);display:flex;flex-direction:column;gap:8px;margin-top:6px;border:1px solid #e3e6e4}
.scr .key{font:11px var(--mono);background:#f1f3f2;border-radius:8px;padding:7px}.scr .warn{margin:0;color:#b0412f;font-size:10.5px;font-weight:700}
.scr .li{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e3e6e4;border-radius:12px;padding:8px}.scr.dk .li{background:#16221d;border-color:#24352d}
.scr .li div{flex:1}.scr .li b{display:block;font-size:12px}.scr .li span{font-size:10.5px;color:#7a817d}.scr .li em{font-style:normal}
.scr .ic{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;font:800 11px var(--mono);font-style:normal;color:#fff}.scr .ic.t{background:#000}.scr .ic.w{background:#1f7a55}
.scr .tb{padding:4px 14px 6px;font:700 11px var(--mono);color:#7fd3a8;border-bottom:1px solid #1b2a23}
.scr .tx{flex:1;position:relative;padding:10px 12px;font:10.5px/1.6 var(--mono);white-space:pre-wrap;word-break:break-all}
.scr .tx .g{color:#7fd3a8}.scr .tx .y{color:#f2c94c}.scr .tx .o{color:#6fd3a4}.scr .tx .d{color:#7f8b85}
.scr .caret{display:inline-block;width:6px;height:12px;background:#d7e3dc;vertical-align:-2px;animation:bl 1s steps(1) infinite}.scr 50%{opacity:0}
.scr .xk{display:grid;grid-template-columns:repeat(6,1fr);border-top:1px solid #1b2a23;font:700 8.5px var(--mono);color:#cfd8d3;text-align:center;padding:7px 4px 14px}
.scr .menu{position:absolute;left:30px;top:30px;display:flex;background:#2b2f2d;border-radius:8px;overflow:hidden;font:600 11px Pretendard,system-ui;box-shadow:0 6px 20px rgba(0,0,0,.6)}.scr .menu span{position:relative;padding:7px 10px;color:#eee}.scr .menu .on{background:#3d4a44}
.scr.pc{border-radius:27px}.scr .wt{display:flex;justify-content:space-between;background:#1f2a44;color:#dfe6f5;padding:26px 12px 6px;font:600 10.5px Pretendard,system-ui}.scr .wt i{font-style:normal;color:#8b96ad}
.scr .home{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:30px 14px 0}.scr .home i{aspect-ratio:1;border-radius:14px;background:linear-gradient(135deg,#2c4a3e,#1a2c25)}
.scr .pop.sm{flex-direction:row;justify-content:space-around;margin-top:auto;margin-bottom:24px;background:#1f2b26;border-color:#2e4038;color:#dfe8e2;padding:10px 6px;font-weight:700;font-size:11px}.scr .pop.sm span{position:relative;padding:4px 6px;border-radius:7px}.scr .pop.sm .on{background:#7fd3a8;color:#0d2a21}
.scr .wg{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}.scr .wg div{position:relative;border-radius:10px;background:#e9efec;padding:12px 6px;text-align:center;font-weight:700;font-size:10.5px}.scr .wg .on{background:#0d2a21;color:#fff}
.scr .m{max-width:88%;border-radius:12px;padding:7px 9px;font-size:11px;white-space:pre-wrap}.scr .m.me{align-self:flex-end;background:#7fd3a8;color:#0d2a21;border-bottom-right-radius:4px}.scr .m.ai{align-self:flex-start;background:#1c2a24;border:1px solid #2a3d34;border-bottom-left-radius:4px}.scr .m.sys{align-self:center;background:#3a2f12;color:#f2d38a;font-weight:700;font-size:10.5px}
.scr .m pre{margin:5px 0;font:10px/1.5 var(--mono);color:#7fd3a8;white-space:pre-wrap}
.scr .orb{position:relative;height:130px}.scr .orb i{position:absolute;border-radius:50%;background:#56645d}.scr .orb .c{width:26px;height:26px;left:calc(50% - 13px);top:52px;background:#d9c39c;box-shadow:0 0 18px #d9c39c}
.scr .orb .a{width:10px;height:10px;left:20%;top:20px;background:#8fb8ff}.scr .orb .b{width:10px;height:10px;right:18%;top:28px;background:#f2b632}.scr .orb .d{width:10px;height:10px;left:24%;bottom:12px;background:#f58bb6}.scr .orb .e{width:13px;height:13px;right:24%;bottom:18px;background:#8fb8ff;box-shadow:0 0 0 5px rgba(111,211,164,.25)}
.scr .card{background:#16221d;border:1px solid #2e4038;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px}.scr .card b{font-size:15px}.scr .card span{font-size:10.5px;color:#9fb3a7}.scr .card .live{color:#6fd3a4;font-weight:700}.scr .card em{align-self:flex-start;position:relative}
.scr .tap{position:absolute;right:12%;bottom:-6px;width:22px;height:22px;border-radius:50%;background:rgba(255,200,60,.55);box-shadow:0 0 0 0 rgba(255,200,60,.6);animation:tap 1.6s infinite;pointer-events:none}
@keyframes tap{0%{transform:scale(.6);box-shadow:0 0 0 0 rgba(255,200,60,.6)}70%{transform:scale(1);box-shadow:0 0 0 12px rgba(255,200,60,0)}100%{transform:scale(.6)}}
.scr .set{position:relative;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e3e6e4;border-radius:12px;padding:10px 12px}.scr .set>div{flex:1}.scr .set b{display:block;font-size:12px}.scr .set span{font-size:10.5px;color:#7a817d;line-height:1.4;display:block}
.scr .tg{flex:none;width:34px;height:20px;border-radius:99px;background:#c9cfcc;position:relative}.scr .tg::after{content:"";position:absolute;left:2px;top:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:.2s}.scr .tg.on{background:#3b5bdb}.scr .tg.on::after{left:16px}
.scr .set .tap{right:auto;left:70%;bottom:-8px}
.scr .toast{align-self:center;margin-top:auto;margin-bottom:10px;background:#333;color:#fff;border-radius:99px;padding:7px 12px;font-size:11px}
