:root{color-scheme:light;--ink:#202c3b;--muted:#778395;--blue:#356ce9;--line:#e6ebf1;--bg:#f5f7fa;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}button,textarea{font:inherit}button{cursor:pointer}button:focus-visible,textarea:focus-visible,.text-button:focus-visible{outline:3px solid #85a8ff;outline-offset:2px}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100vw - 1380px)/2));gap:18px}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:17px;font-weight:750;text-decoration:none;white-space:nowrap}.brand small{display:block;color:#93a0b0;font-size:11px;font-weight:500;margin-top:3px;letter-spacing:.07em}.brand-mark{width:39px;height:39px;display:grid;place-content:center;background:var(--blue);border-radius:12px;color:white;font-size:18px}.brand-mark span{font-size:10px}.save-status{font-size:12px;color:#8190a1;white-space:nowrap}.save-status:before{content:"";display:inline-block;width:7px;height:7px;background:#58bb8c;border-radius:50%;margin-right:7px}.workspace{max-width:1380px;margin:auto;padding:42px 28px 32px}.intro{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px}.intro h1{font-size:29px;letter-spacing:-.05em;margin:0 0 8px}.intro p,.examples p{color:var(--muted);margin:0;font-size:14px}.language{color:#6b7e98;background:#e8edf5;border-radius:7px;font:600 12px ui-monospace,SFMono-Regular,Consolas,monospace;padding:7px 10px}.layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,0.85fr);gap:20px;align-items:stretch}.code-area,.panel{background:white;border:1px solid var(--line);border-radius:13px;box-shadow:0 7px 24px rgba(33,48,71,.035);overflow:hidden}.editor-header{display:flex;align-items:center;justify-content:space-between;padding:17px 20px}.file-title{display:flex;gap:10px;align-items:center}.file-icon{font-weight:800;font-size:14px;color:#4a73d5;background:#edf3ff;width:36px;height:36px;border-radius:8px;display:grid;place-content:center}.file-icon span{font-size:8px}.file-title strong{display:block;font-size:14px}.file-title small{display:block;color:#9da8b5;font-size:11px;margin-top:3px}.editor-actions{display:flex;gap:7px;align-items:center}.text-button,.subtle{border:0;background:transparent;color:#758399;padding:8px;font-size:13px;cursor:pointer;border-radius:6px}.text-button:hover,.subtle:hover{color:#356ce9;background:#f1f5ff}.editor-wrap{height:390px;background:#202a38;position:relative;display:flex;overflow:hidden}.editor-wrap textarea{flex:1;resize:none;background:transparent;color:#edf2f8;border:0;outline:0;white-space:pre;overflow:auto;padding:20px 20px 20px 7px;line-height:1.72;font:14px/1.72 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;tab-size:4;caret-color:#82adff}.lines{padding:20px 12px 20px 19px;text-align:right;color:#718094;font:14px/1.72 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;min-width:40px;user-select:none;overflow:hidden;white-space:pre}.symbol-row{display:flex;gap:12px;align-items:center;padding:12px 16px;border-bottom:1px solid #eef1f5}.symbol-row>span{font-size:11px;color:#a0aab7;white-space:nowrap}.symbols{display:flex;gap:5px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.symbols button{background:#f2f5f9;border:1px solid #edf0f4;border-radius:6px;color:#53647a;min-width:38px;height:32px;font:600 12px ui-monospace,SFMono-Regular,Consolas,monospace}.editor-bottom{padding:16px 20px;display:flex;align-items:center;gap:15px}.run{background:var(--blue);border:0;color:white;font-weight:700;font-size:14px;padding:12px 19px;border-radius:8px;min-width:126px}.run:hover{background:#285cce}.run span{font-size:10px;margin-right:5px}.hint{font-size:12px;color:#a0aab7}.side{display:grid;grid-template-rows:1fr 1fr;gap:20px}.panel{padding:21px;min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:center}.eyebrow{font-size:10px;letter-spacing:.1em;font-weight:700;color:#9ba9bc}.panel h2{font-size:16px;margin:5px 0 0}.panel p{font-size:12px;line-height:1.6;color:#8896a6;margin:14px 0}.panel code{color:#556b8b;background:#f0f3f7;border-radius:4px;padding:2px 4px}.panel textarea,.panel pre{display:block;width:100%;background:#f6f8fb;border:1px solid #edf1f5;border-radius:8px;color:#334459;padding:13px;font:13px/1.7 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.panel textarea{resize:vertical;min-height:100px}.panel pre{min-height:100px;max-height:230px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.panel small{font-size:11px;color:#a1acb9;display:block;margin-top:9px}.examples{padding:30px 0;display:flex;align-items:center;justify-content:space-between;gap:22px}.examples h2{font-size:16px;margin:0 0 7px}.example-buttons{display:flex;gap:9px;flex-wrap:wrap}.example-buttons button{background:#fff;color:#516174;border:1px solid #e7ebf1;border-radius:8px;font-size:13px;padding:11px 14px}.example-buttons button:hover{border-color:#a9bdf2;color:var(--blue)}.example-buttons span{color:#a6b5c9;margin-left:15px}footer{border-top:1px solid #e5eaf0;padding:18px 0 10px;color:#9aa6b4;font-size:11px;line-height:1.6}footer p{margin:3px 0}@media(max-width:900px){.layout{grid-template-columns:1fr}.side{grid-template-columns:1fr 1fr;grid-template-rows:auto}.editor-wrap{height:350px}.examples{align-items:flex-start;flex-direction:column}.workspace{padding-top:30px}}@media(max-width:580px){.topbar{height:65px;padding:0 16px}.brand{font-size:15px}.brand-mark{width:36px;height:36px}.save-status{font-size:11px}.workspace{padding:26px 14px 25px}.intro h1{font-size:24px}.intro p{font-size:12px}.intro{margin-bottom:18px}.editor-header{padding:13px 14px}.editor-wrap{height:310px}.editor-wrap textarea,.lines{font-size:14px}.symbol-row{padding:10px}.symbol-row>span{display:none}.editor-bottom{padding:13px 14px}.hint{font-size:11px}.side{grid-template-columns:1fr;gap:12px}.layout{gap:12px}.panel{padding:17px}.panel textarea,.panel pre{min-height:85px}.examples{padding:24px 0;gap:14px}.example-buttons{gap:7px}.example-buttons button{padding:10px}.example-buttons span{margin-left:5px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
