/* (c) 2026 Mahamad (aGsx). All Rights Reserved. */
@font-face{font-family:Iosevka;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/iosevka-400-DnzhOSIo.woff2) format("woff2")} @font-face{font-family:Iosevka;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/iosevka-500-C4FA_zML.woff2) format("woff2")} @font-face{font-family:Iosevka;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/iosevka-600-Dj5n5yBL.woff2) format("woff2")} @font-face{font-family:Iosevka;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/iosevka-700-BxdwZZnN.woff2) format("woff2")} @font-face{font-family:Iosevka;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/iosevka-800-Ctjohn3a.woff2) format("woff2")} @font-face{font-family:Iosevka;font-style:italic;font-display:swap;font-weight:800;src:url(/assets/iosevka-800-italic-D0Mo0HIB.woff2) format("woff2")} :root { --agsx-purple: #662D91; --agsx-purple-bright: #8a44bf; --agsx-purple-glow: rgba(102, 45, 145, 0.35); --k-on-amber: #0b2b86; --k-accent-00a86b: #00a86b; --k-accent-0a78f5: #0a78f5; --k-accent-0a7c88: #0a7c88; --k-accent-0b3aa8: #0b3aa8; --k-accent-0c8a58: #0c8a58; --k-accent-0e95a3: #0e95a3; --k-accent-12a56b: #12a56b; --k-accent-1f5fe0: #1f5fe0; --k-accent-1f6fe8: #1f6fe8; --k-accent-5d6f95: #5d6f95; --k-accent-7656e0: #662D91; --k-accent-8495b2: #8495b2; --k-accent-a26f00: #a26f00; --k-accent-a7b3cb: #a7b3cb; --k-accent-e19b00: #e19b00; --k-accent-f2ac0a: #f2ac0a; --k-accent-f8b900: #f8b900; --k-fill-003ca8: #003ca8; --k-fill-06a86c: #06a86c; --k-fill-0aa86b: #0aa86b; --k-fill-0b3aa8: #0b3aa8; --k-fill-0b8b98: #0b8b98; --k-fill-0d9b59: #0d9b59; --k-fill-0e95a3: #0e95a3; --k-fill-1166e3: #1166e3; --k-fill-2bbb78: #2bbb78; --k-fill-3a8bf5: #3a8bf5; --k-fill-3cc3cf: #3cc3cf; --k-fill-3f74d6: #3f74d6; --k-fill-546588: #546588; --k-fill-6383b9: #6383b9; --k-fill-6d4bdc: #662D91; --k-fill-8797b8: #8797b8; --k-fill-9a80f0: #9a6be0; --k-fill-9db1d9: #9db1d9; --k-fill-a9c4fa: #a9c4fa; --k-fill-d8f5e8: #d8f5e8; --k-fill-dce5f6: #dce5f6; --k-fill-e8eefc: #e8eefc; --k-fill-e9eef8: #e9eef8; --k-fill-eef3fc: #eef3fc; --k-fill-eef3fe: #eef3fe; --k-fill-effafa: #effafa; --k-fill-f1f5fd: #f1f5fd; --k-fill-f3f6fd: #f3f6fd; --k-fill-f4b305: #f4b305; --k-fill-f4f7fd: #f4f7fd; --k-fill-f5f8fe: #f5f8fe; --k-fill-f8b905: #f8b905; --k-fill-f8faff: #f8faff; --k-fill-fbfcff: #fbfcff; --k-fill-fdf0f0: #f7f0fa; --k-fill-fdf4dc: #fdf4dc; --k-fill-fdfdfe: #fdfdfe; --k-fill-fefeff: #fefeff; --k-fill-fefeff-a92: rgba(254, 254, 255, .92); --k-fill-ffcc3d: #ffcc3d; --k-fill-ffffff: #ffffff; --k-line-003ca8: #003ca8; --k-line-0a9a62: #0a9a62; --k-line-0aa86b: #0aa86b; --k-line-0b2b86: #0b2b86; --k-line-0b3aa8: #0b3aa8; --k-line-0b3aa8-a12: rgba(11, 58, 168, .12); --k-line-0e95a3: #0e95a3; --k-line-12a56b: #12a56b; --k-line-1747b5: #662D91; --k-line-1b3fae: #1b3fae; --k-line-1f5fe0-a12: rgba(31, 95, 224, .12); --k-line-1f5fe0-a35: rgba(31, 95, 224, .35); --k-line-5d6f95: #5d6f95; --k-line-6f94c9: #6f94c9; --k-line-9fb3db: #9fb3db; --k-line-b4c8e4: #b4c8e4; --k-line-b5c3de: #b5c3de; --k-line-b5c8e7: #b5c8e7; --k-line-b6c6e4: #b6c6e4; --k-line-bccae6: #bccae6; --k-line-c3d2ec: #c3d2ec; --k-line-c4d1ea: #c4d1ea; --k-line-c8d6ec: #c8d6ec; --k-line-c9d4ea: #c9d4ea; --k-line-c9d6ec: #c9d6ec; --k-line-c9d8f6: #c9d8f6; --k-line-d6404c: #d6404c; --k-line-dbe4f5: #dbe4f5; --k-line-dfe7f4: #dfe7f4; --k-line-e04b55: #662D91; --k-line-e09a00: #e09a00; --k-line-e2e9f5: #e2e9f5; --k-line-e3e9f3: #e3e9f3; --k-line-edf1f7: #edf1f7; --k-line-eef2f8: #eef2f8; --k-line-ffffff: #ffffff; --k-shadow-8d9ab3: #8d9ab3; --k-text-00238a: #00238a; --k-text-0032a0: #0032a0; --k-text-0a6f7a: #0a6f7a; --k-text-0a7c88: #0a7c88; --k-text-0a9a62: #0a9a62; --k-text-0b2b86: #0b2b86; --k-text-0b3aa8: #0b3aa8; --k-text-0c8a58: #0c8a58; --k-text-0f9a62: #0f9a62; --k-text-102a86: #102a86; --k-text-1d3e9a: #1d3e9a; --k-text-23458f: #23458f; --k-text-2a4c9e: #2a4c9e; --k-text-2f4d8e: #2f4d8e; --k-text-33509a: #33509a; --k-text-3a59a3: #3a59a3; --k-text-4a66a4: #4a66a4; --k-text-4d67a2: #4d67a2; --k-text-5a73a8: #5a73a8; --k-text-5d77ae: #5d77ae; --k-text-6982b8: #6982b8; --k-text-6d80a8: #6d80a8; --k-text-7c90bb: #7c90bb; --k-text-7d96c6: #7d96c6; --k-text-8a9cc4: #8a9cc4; --k-text-8aa0cc: #8aa0cc; --k-text-8fa2c9: #8fa2c9; --k-text-95a6c9: #95a6c9; --k-text-9aabcf: #9aabcf; --k-text-9fb3db: #9fb3db; --k-text-a07a12: #a07a12; --k-text-a26f00: #a26f00; --k-text-a7b3cb: #a7b3cb; --k-text-b9c6e1: #b9c6e1; --k-text-c3cde3: #c3cde3; --k-text-e5202f: #662D91; --k-text-ffffff: #ffffff; --ink: var(--k-text-0032a0); --ink-strong: var(--k-text-00238a); --ink-soft: var(--k-text-5a73a8); --ink-muted: var(--k-text-7d96c6); --line: var(--k-line-6f94c9); --line-soft: var(--k-line-e3e9f3); --line-mid: var(--k-line-c8d6ec); --bg: var(--k-fill-fdfdfe); --panel: var(--k-fill-fefeff); --active: var(--k-accent-1f5fe0); --tok-kw: #7b1fa2; --tok-str: #0a8458; --tok-num: #c25500; --tok-fn: #1256c4; --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-in: cubic-bezier(.5, 0, .75, 0); --relayout-time: .42s; --relayout-ease: cubic-bezier(.4, 0, .2, 1); font-family: Iosevka, 'Noto Sans Arabic', 'Segoe UI', Tahoma, system-ui, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; } :root[data-theme="dark"] { color-scheme: dark; --agsx-purple: #9a5fd1; --agsx-purple-bright: #b47ce8; --agsx-purple-glow: rgba(154, 95, 209, 0.45); --tok-kw: #d29bff; --tok-str: #44e2a1; --tok-num: #ffbe4d; --tok-fn: #6cb0ff; --k-accent-00a86b: #00ef98; --k-accent-0a78f5: #0a78f5; --k-accent-0a7c88: #0fb9cb; --k-accent-0b3aa8: #6f97f5; --k-accent-0c8a58: #12cc82; --k-accent-0e95a3: #14d1e5; --k-accent-12a56b: #19e595; --k-accent-1f5fe0: #3a7bff; --k-accent-1f6fe8: #3a8bf5; --k-accent-5d6f95: #7d92bd; --k-accent-7656e0: #9a5fd1; --k-accent-a26f00: #e9a000; --k-accent-e19b00: #e19b00; --k-accent-f2ac0a: #f2ac0a; --k-accent-f8b900: #f8b900; --k-fill-003ca8: #1955cb; --k-fill-06a86c: #07b775; --k-fill-0aa86b: #0bb674; --k-fill-0b3aa8: #1955cb; --k-fill-0e95a3: #0fa2b1; --k-fill-1166e3: #166dee; --k-fill-2bbb78: #2ec780; --k-fill-3a8bf5: #4994f6; --k-fill-3cc3cf: #48c7d2; --k-fill-3f74d6: #4c7dd9; --k-fill-546588: #818ca1; --k-fill-6383b9: #3c5380; --k-fill-6d4bdc: #7f46b3; --k-fill-8797b8: #515a6e; --k-fill-9a80f0: #a58ef2; --k-fill-9db1d9: #323e56; --k-fill-a9c4fa: #9bb8f6; --k-fill-d8f5e8: #18422f; --k-fill-dce5f6: #17243e; --k-fill-e8eefc: #15213a; --k-fill-e9eef8: #141e33; --k-fill-eef3fc: #111b2e; --k-fill-eef3fe: #10192c; --k-fill-effafa: #122e2e; --k-fill-f1f5fd: #10192b; --k-fill-f3f6fd: #141f36; --k-fill-f4f7fd: #121c31; --k-fill-f5f8fe: #111b2f; --k-fill-f8b905: #fabe12; --k-fill-f8faff: #0d1425; --k-fill-fbfcff: #0e1422; --k-fill-fdf0f0: #251735; --k-fill-fdf4dc: #3a3015; --k-fill-fdfdfe: #0b1020; --k-fill-fefeff: #0f1628; --k-fill-fefeff-a92: rgba(13, 18, 32, .92); --k-fill-ffffff: #131c33; --k-line-003ca8: #6c99ea; --k-line-0a9a62: #6deaba; --k-line-0aa86b: #6aeab8; --k-line-0b2b86: #7292eb; --k-line-0b3aa8: #6990ea; --k-line-0e95a3: #6adeea; --k-line-12a56b: #68e9b7; --k-line-1747b5: #9a5fd1; --k-line-1b3fae: #6585e7; --k-line-5d6f95: #8a98b6; --k-line-6f94c9: #2e4c7c; --k-line-9fb3db: #263b65; --k-line-b4c8e4: #223959; --k-line-b5c3de: #273757; --k-line-b5c8e7: #213657; --k-line-b6c6e4: #213458; --k-line-bccae6: #24385f; --k-line-c3d2ec: #1e3050; --k-line-c4d1ea: #1e2f50; --k-line-c8d6ec: #1d304e; --k-line-c9d4ea: #1e2e4d; --k-line-c9d6ec: #1d2f4d; --k-line-c9d8f6: #1c2b49; --k-line-dbe4f5: #192742; --k-line-dfe7f4: #192841; --k-line-e04b55: #9a5fd1; --k-line-e2e9f5: #182740; --k-line-e3e9f3: #1a283e; --k-line-edf1f7: #192538; --k-line-eef2f8: #172438; --k-line-ffffff: #212121; --k-shadow-8d9ab3: #000000; --k-text-00238a: #d2deff; --k-text-0032a0: #afc4f2; --k-text-0a6f7a: #b9eef4; --k-text-0a7c88: #b4edf3; --k-text-0a9a62: #aef2d7; --k-text-0b2b86: #b5c5f3; --k-text-0b3aa8: #8cb2ff; --k-text-0c8a58: #b3f3d9; --k-text-0f9a62: #acf1d6; --k-text-102a86: #b3c1f3; --k-text-1d3e9a: #a9bbef; --k-text-23458f: #aec2eb; --k-text-2a4c9e: #a8bbe8; --k-text-2f4d8e: #b0c1e5; --k-text-33509a: #abbbe3; --k-text-3a59a3: #a8b8e0; --k-text-4a66a4: #a9b7d8; --k-text-4d67a2: #aab7d6; --k-text-5a73a8: #acb8d3; --k-text-5d77ae: #a6b4d2; --k-text-6982b8: #99aacf; --k-text-6d80a8: #a6b2ca; --k-text-7c90bb: #91a2c6; --k-text-7d96c6: #859cc9; --k-text-8a9cc4: #8597c1; --k-text-8aa0cc: #7b93c5; --k-text-8fa2c9: #7e94c1; --k-text-95a6c9: #7d92bd; --k-text-9aabcf: #748cbd; --k-text-9fb3db: #6182c4; --k-text-a07a12: #f1dea9; --k-text-a26f00: #f2ddaf; --k-text-a7b3cb: #7a8cb1; --k-text-b9c6e1: #7a8cb1; --k-text-c3cde3: #5b6c92; --k-text-e5202f: #c38eff; } * { box-sizing: border-box; } html, body { margin: 0; height: 100%; background: var(--bg); overflow: hidden; } button, input { font: inherit; color: inherit; touch-action: manipulation; } button { background: none; border: 0; padding: 0; cursor: pointer; } h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; } ul, ol { list-style: none; } [hidden] { display: none !important; } .shell { width: 100%; height: 100vh; display: grid; grid-template-rows: 74px minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); padding: 0 14px 12px 18px; } .topbar { display: flex; align-items: center; gap: 0; padding-bottom: 2px; } .brand { display: flex; align-items: center; flex: none; } .logo-frame { position: relative; width: 58px; height: 48px; display: grid; place-items: center; color: var(--k-text-0b3aa8); } .logo-frame .corner { position: absolute; width: 9px; height: 9px; border: 0 solid var(--agsx-purple); } .corner.tl { left: 0; top: 0; border-width: 2px 0 0 2px; } .corner.tr { right: 0; top: 0; border-width: 2px 2px 0 0; } .corner.bl { left: 0; bottom: 0; border-width: 0 0 2px 2px; } .corner.br { right: 0; bottom: 0; border-width: 0 2px 2px 0; } .logo-cube { width: 34px; height: 34px; } .brand-text { margin-inline-start: 11px; } .brand-text h1 { font-size: 19px; line-height: 23px; font-weight: 800; letter-spacing: .06em; color: var(--ink); white-space: nowrap; } .brand-text h1 em:first-child { color: var(--agsx-purple); text-shadow: 0 0 14px var(--agsx-purple-glow); font-style: italic; } .brand-text h1 em:last-child { font-style: italic; color: var(--k-text-0b3aa8); } .brand-text p { font-size: 10.5px; line-height: 14px; font-weight: 500; letter-spacing: .1em; color: var(--ink-muted); white-space: nowrap; } .topbar-sep { width: 1px; height: 42px; margin: 0 12px; background: var(--k-fill-6383b9); opacity: .55; flex: none; } .now-label, .osi-label, .learning-label { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; color: var(--k-text-23458f); } .now { width: 178px; min-width: 140px; flex-shrink: 1; } .now-title { margin-top: 2px; font-size: 15px; line-height: 19px; font-weight: 800; letter-spacing: .04em; color: var(--ink-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .now-progress { display: flex; align-items: center; gap: 6px; margin-top: 4px; } .now-dots { display: flex; gap: 3px; } .now-dots i { position: relative; width: 14px; height: 5px; border-radius: 3px; background: var(--k-fill-dce5f6); overflow: hidden; } .now-dots i:after { content: ""; position: absolute; inset: 0; background: var(--k-fill-0aa86b); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); } .now-dots i.is-done:after { transform: none; } .now-dots i.is-active:after { transform: none; background: linear-gradient(90deg, var(--agsx-purple) 0 35%, var(--k-fill-a9c4fa) 50%, var(--agsx-purple) 65%) 0 0 / 300% 100%; animation: sheen 1.6s linear infinite; } @keyframes sheen { 0% { background-position: 100% 0; } to { background-position: 0 0; } } .now-step { font-size: 10.5px; font-weight: 600; color: var(--k-text-4d67a2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .osi { width: 218px; flex: none; } .osi-head { display: flex; justify-content: space-between; align-items: baseline; } .osi-name { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; color: var(--agsx-purple); } .osi-chips { position: relative; display: flex; gap: 3px; margin-top: 6px; } .osi-marker { position: absolute; top: 0; left: 0; width: 0; height: 22px; border-radius: 2px; background: var(--agsx-purple); transition: left .45s var(--ease-out), width .45s var(--ease-out); } .osi-chips span { position: relative; flex: 1; height: 22px; display: grid; place-items: center; border: 1px solid var(--k-line-c8d6ec); border-radius: 2px; font-size: 10px; font-weight: 700; color: var(--k-text-7d96c6); transition: color .25s, border-color .25s; } .osi-chips span.is-active { border-color: transparent; color: #fff; } .has-cx-tip, .col-cost-cell { cursor: help; } .osi-chips span.has-cx-tip { border-bottom: 2px solid color-mix(in srgb, var(--agsx-purple) 65%, transparent); } .osi-chips span.has-cx-tip:hover { border-color: var(--agsx-purple); box-shadow: 0 2px 8px var(--agsx-purple-glow); } .col-cost-cell:hover { color: var(--agsx-purple); text-decoration: underline dotted var(--agsx-purple); text-underline-offset: 3px; } .cx-floating-tip { position: fixed; z-index: 75; width: 295px; } .learning { width: 175px; flex: none; } .learning-head { display: flex; justify-content: space-between; align-items: baseline; } .learning-value { font-size: 16px; line-height: 18px; font-weight: 800; color: var(--ink-strong); } .learning-bars { display: flex; gap: 2px; height: 8px; margin-top: 5px; } .learning-seg { flex: 1; border-radius: 1.5px; background: var(--k-fill-dce5f6); overflow: hidden; } .learning-seg i { display: block; height: 100%; width: 0; background: var(--agsx-purple); transition: width .5s var(--ease-out); } .learning-sub { margin-top: 5px; font-size: 10.5px; font-weight: 600; color: var(--k-text-4d67a2); white-space: nowrap; } .learning-sub .dot { margin: 0 3px; color: var(--k-text-9fb3db); } .topbar-tools { display: flex; align-items: center; margin-inline-start: auto; gap: 5px; flex: none; } .search-btn { display: inline-flex; align-items: center; gap: 6px; width: 158px; height: 34px; padding: 0 7px; border: 1px solid var(--k-line-b5c8e7); border-radius: 2px; background: var(--panel); font-size: 11.5px; font-weight: 600; color: var(--k-text-4d67a2); } .lang-switch-btn { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 10px; border: 1px solid var(--agsx-purple); border-radius: 2px; background: var(--k-fill-fdf0f0); color: var(--agsx-purple); font-size: 11.5px; font-weight: 800; white-space: nowrap; transition: all .16s ease; } .lang-switch-btn:hover { background: var(--agsx-purple); color: #fff; } .exam-btn { border-color: var(--k-line-0b3aa8); background: var(--k-fill-f3f6fd); color: var(--k-text-0b2b86); } .exam-btn:hover { background: var(--k-fill-003ca8); border-color: var(--k-line-003ca8); color: #fff; } .ltr-text { direction: ltr; unicode-bidi: isolate; } .ltr-canvas { direction: ltr; text-align: left; } bdi { unicode-bidi: isolate; direction: ltr; } [lang="ckb"] .brand-text h1, [lang="ckb"] .brand-text p, [lang="ckb"] .now-title, [lang="ckb"] .step-title, [lang="ckb"] .proto-name, [lang="ckb"] .overview-name h3, [lang="ckb"] .explain-title, [lang="ckb"] .panel-title, [lang="ckb"] .dialog-title { letter-spacing: 0 !important; } .search-btn:hover { background: var(--k-fill-f3f6fd); border-color: var(--agsx-purple); } .search-text { flex: 1; text-align: start; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border: 1px solid var(--k-line-c9d6ec); border-bottom-width: 2px; border-radius: 2px; background: var(--panel); font-size: 11px; font-weight: 800; color: var(--k-text-23458f); } .view-tools { display: flex; align-items: center; gap: 5px; } .tool-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--k-line-b5c8e7); border-radius: 2px; color: var(--k-text-0b2b86); } .tool-btn:hover { background: var(--k-fill-f3f6fd); } .tool-btn[aria-pressed="true"] { border-color: var(--agsx-purple); background: var(--agsx-purple); color: #fff; } .list-col, .layout-split { transition: opacity .25s; } .list-btn[aria-expanded="false"] .list-col, .focus-btn[aria-pressed="true"] .layout-split { opacity: 0; } .swap-icon { display: inline-grid; place-items: center; } .swap-icon svg { grid-area: 1 / 1; transition: opacity .2s; } .icon-collapse, .fullscreen-btn[aria-pressed="true"] .icon-expand { opacity: 0; } .fullscreen-btn[aria-pressed="true"] .icon-collapse { opacity: 1; } [data-tip] { position: relative; } [data-tip]:after { content: attr(data-tip); position: absolute; top: calc(100% + 8px); left: 50%; z-index: 80; padding: 5px 8px; border-radius: 2px; background: var(--ink-strong); font-size: 11.5px; font-weight: 700; color: var(--panel); white-space: nowrap; opacity: 0; transform: translate(-50%, -3px); pointer-events: none; transition: opacity .15s, transform .15s; } [data-tip]:hover:after { opacity: 1; transform: translate(-50%); transition-delay: .25s; } .theme-toggle { display: flex; height: 36px; border: 1px solid var(--k-line-b5c8e7); border-radius: 2px; } .theme-toggle button { display: grid; place-items: center; width: 35px; color: var(--k-text-0b2b86); } .theme-toggle button + button { border-inline-start: 1px solid var(--k-line-b5c8e7); } .theme-toggle .is-active { background: var(--k-fill-003ca8); color: #fff; } .workspace { position: relative; --list-w: 352px; --details-w: 320px; --flow-h: 224px; --list-track: var(--list-w); --list-gap: 11px; --details-track: var(--details-w); --details-gap: 11px; --flow-track: var(--flow-h); --flow-gap: 12px; display: grid; grid-template-columns: var(--list-track) var(--list-gap) minmax(0, 1fr) var(--details-gap) var(--details-track); grid-template-rows: minmax(0, 1fr) var(--flow-gap) var(--flow-track); min-height: 0; transition: grid-template-columns var(--relayout-time) var(--relayout-ease), grid-template-rows var(--relayout-time) var(--relayout-ease); } .workspace > .sidebar { grid-column: 1; grid-row: 1 / 4; width: var(--list-w); justify-self: end; } .workspace > .simulation { grid-column: 3; grid-row: 1; } .workspace > .overview { grid-column: 5; grid-row: 1; width: var(--details-w); justify-self: start; } .workspace > .packets { grid-column: 3 / 6; grid-row: 3; height: var(--flow-h); align-self: start; } .shell.is-focus .workspace { --details-gap: 0px; --details-track: 0px; --flow-gap: 0px; --flow-track: 0px; } .shell.is-focus .workspace > :is(.overview, .packets) { visibility: hidden; } .shell.is-list-hidden .workspace { --list-track: 0px; --list-gap: 0px; } .shell.is-list-hidden .workspace > .sidebar { visibility: hidden; } .panel { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 2px; min-height: 0; overflow: hidden; } .panel-head { display: flex; justify-content: space-between; align-items: flex-start; } .panel-head.bar { height: 40px; align-items: center; padding: 0 14px 0 16px; border-bottom: 1px solid var(--k-line-b4c8e4); } .panel-title { font-size: 20px; line-height: 26px; font-weight: 800; letter-spacing: .07em; color: var(--ink); white-space: nowrap; } .panel-title.sm { font-size: 18px; line-height: 22px; letter-spacing: .06em; } .sidebar { display: flex; flex-direction: column; padding: 10px 12px 0 13px; } .sidebar .panel-head { align-items: center; } .tabs { position: relative; display: flex; height: 30px; margin-top: 10px; border: 1px solid var(--line-mid); border-radius: 2px; } .tab { position: relative; flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .03em; color: var(--k-text-0b2b86); border-inline-start: 1px solid var(--line-mid); } .tab:first-child { border-inline-start: 0; } .tab:hover { background: var(--k-fill-f5f8fe); } .tab.is-active { color: var(--agsx-purple); } .tab-indicator { position: absolute; bottom: -1px; left: 0; width: 0; height: 3px; background: var(--agsx-purple); transition: left .35s var(--ease-out), width .35s var(--ease-out); } .tab-count { min-width: 17px; padding: 0 4px; border-radius: 7px; background: var(--k-fill-e9eef8); font-size: 10px; line-height: 14px; font-weight: 700; color: var(--k-text-5d77ae); } .tab.is-active .tab-count { background: var(--agsx-purple); color: #fff; } .proto-list { flex: 1; min-height: 0; margin-block: 10px 0; margin-inline: 0 -10px; padding-block: 0 14px; padding-inline: 0 10px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--k-line-c3d2ec) transparent; } .proto { border-bottom: 1px solid var(--k-line-edf1f7); } .proto-row { display: flex; align-items: center; width: 100%; text-align: start; min-height: 46px; height: auto; padding-block: 7px; padding-inline: 12px 10px; border: 1.5px solid transparent; border-radius: 2px; cursor: pointer; transition: border-color .2s, background-color .2s; } .proto:not(.is-active) .proto-row:hover { background: var(--k-fill-f4f7fd); } .proto.is-active .proto-row { border-color: var(--agsx-purple); background: var(--k-fill-fdf0f0); } .proto.is-active .proto-chev { color: var(--agsx-purple); } .proto.is-open .proto-chev { transform: rotate(90deg); } .status-dot { width: 11px; height: 11px; border-radius: 50%; flex: none; } .status-dot.done { background: var(--k-fill-06a86c); } .status-dot.progress { background: var(--k-fill-f8b905); } .status-dot.new { background: var(--k-fill-ffffff); box-shadow: inset 0 0 0 2.2px var(--k-line-b5c3de); } .proto-text { display: flex; flex-direction: column; margin-inline-start: 13px; flex: 1; min-width: 0; } .proto-name { font-size: 13px; line-height: 1.35; font-weight: 800; color: var(--ink-strong); letter-spacing: .04em; } .proto-full { font-size: 11.5px; line-height: 1.35; margin-top: 1px; font-weight: 500; color: var(--k-text-6982b8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .proto-chev { color: var(--k-text-0b2b86); display: grid; place-items: center; transition: transform .3s var(--ease-out); } .steps-wrap { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .36s var(--ease-out), visibility 0s linear .36s; } .proto.is-open .steps-wrap { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .36s var(--ease-out), visibility 0s; } .steps-clip { min-height: 0; overflow: hidden; } .steps { padding-block: 10px 4px; padding-inline: 25px 6px; } .step { position: relative; padding-bottom: 10px; } .step:not(:last-child):before { content: ""; position: absolute; inset-inline-start: 9px; top: 23px; bottom: 3px; border-inline-start: 1.5px dashed var(--k-line-b6c6e4); } .step:not(:last-child):after { content: ""; position: absolute; inset-inline-start: 9px; top: 23px; bottom: 3px; border-inline-start: 1.5px solid var(--k-line-0aa86b); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease-out); } .step.is-done:not(:last-child):after { transform: none; } .step-btn { display: flex; align-items: flex-start; width: 100%; text-align: start; } .step-num { flex: none; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; background: var(--k-fill-9db1d9); color: #fff; font-size: 10.5px; font-weight: 700; position: relative; } .step-num svg { position: absolute; inset: 0; margin: auto; opacity: 0; } .step.is-done .step-num { background: var(--k-fill-0aa86b); } .step.is-done .step-num span { opacity: 0; } .step.is-done .step-num svg { opacity: 1; } .step.is-active .step-num { background: var(--agsx-purple); box-shadow: 0 0 0 3px rgba(102,45,145,.2); } .step.is-active .step-num:after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--agsx-purple); animation: spin .9s linear infinite; } @keyframes spin { to { rotate: 360deg; } } .step-text { display: flex; flex-direction: column; margin-inline-start: 11px; margin-top: -1px; } .step-title { font-size: 11.5px; line-height: 15px; font-weight: 800; letter-spacing: .04em; color: var(--k-text-33509a); } .step-desc { font-size: 11.5px; line-height: 14.5px; font-weight: 500; color: var(--k-text-6982b8); } .step.is-active .step-title, .step.is-done .step-title { color: var(--ink-strong); } .simulation { background-color: var(--panel); background-image: radial-gradient(var(--k-line-dbe4f5) 1.2px, transparent 1.2px); background-size: 20px 20px; } .view-switch { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 4; display: flex; padding: 3px; border: 1px solid var(--k-line-c9d6ec); border-radius: 3px; background: var(--k-fill-fefeff-a92); } .view-switch button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; color: var(--k-text-4d67a2); transition: color .25s; } .view-switch button.is-active { color: #fff; } .view-indicator { position: absolute; top: 3px; bottom: 3px; border-radius: 2px; background: var(--k-fill-0b3aa8); transition: left .35s var(--ease-out), width .35s var(--ease-out); } .stage-view { position: absolute; inset: 0; padding: 50px 0 52px; opacity: 0; visibility: hidden; transition: opacity .25s; } .shell.is-focus .stage-caption { bottom: 64px; } .stage-view.is-active { opacity: 1; visibility: visible; } .network { width: 100%; height: 100%; display: block; } .sequence { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; padding-top: 48px; background: var(--panel); opacity: 0; visibility: hidden; transition: opacity .25s; } .sequence.is-active { opacity: 1; visibility: visible; } .seq-head { position: relative; flex: none; height: 46px; border-bottom: 1px solid var(--k-line-dfe7f4); } .seq-head-track { position: relative; height: 100%; } .seq-who { position: absolute; top: 4px; transform: translate(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; } .seq-who b { font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--ink-strong); } .seq-who i { font-style: normal; font-size: 11px; font-weight: 500; color: var(--k-text-4d67a2); } .seq-scroll { flex: 1; min-height: 0; overflow: auto; scrollbar-width: thin; } .seq-svg { display: block; width: 100%; } .sandbox-view { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; padding: 50px 14px 12px; background: var(--panel); opacity: 0; visibility: hidden; transition: opacity .25s; } .sandbox-view.is-active { opacity: 1; visibility: visible; } .sb-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid var(--k-line-c9d6ec); border-radius: 2px; background: var(--k-fill-f8faff); margin-bottom: 10px; } .sb-input { width: 88px; height: 30px; padding: 0 8px; border: 1px solid var(--k-line-b5c8e7); border-radius: 2px; background: var(--panel); font-size: 12.5px; font-weight: 700; color: var(--ink-strong); outline: none; } .sb-input:focus { border-color: var(--agsx-purple); } .sb-split { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 10px; } .sb-canvas { border: 1px solid var(--k-line-c9d6ec); border-radius: 2px; background-color: var(--bg); background-image: radial-gradient(var(--k-line-dbe4f5) 1px, transparent 1px); background-size: 18px 18px; display: flex; align-items: center; justify-content: center; overflow: auto; padding: 12px; } .sb-code-pane { border: 1px solid var(--k-line-c9d6ec); border-radius: 2px; display: flex; flex-direction: column; min-height: 0; background: var(--k-fill-fbfcff); } .sb-code-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; border-bottom: 1px solid var(--k-line-dfe7f4); } .sb-lang-tabs { display: flex; gap: 4px; } .sb-lang-tabs button { padding: 3px 9px; border: 1px solid var(--k-line-b5c8e7); border-radius: 2px; font-size: 11px; font-weight: 800; color: var(--k-text-4d67a2); } .sb-lang-tabs button.is-active { background: var(--agsx-purple); border-color: var(--agsx-purple); color: #fff; } .sb-code-pre { margin: 0; padding: 10px 12px; flex: 1; overflow: auto; font-size: 12px; line-height: 1.5; color: var(--ink-strong); scrollbar-width: thin; } .stage-controls { display: none; } .shell.is-focus .stage-controls { position: absolute; bottom: 14px; inset-inline-end: 14px; z-index: 4; display: flex; align-items: center; gap: 5px; padding: 7px; border: 1px solid var(--k-line-c9d6ec); border-radius: 3px; background: var(--panel); box-shadow: 0 10px 28px color-mix(in srgb, var(--k-shadow-8d9ab3) 24%, transparent); } .overview { display: flex; flex-direction: column; } .back-btn { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border: 1px solid var(--k-line-b5c8e7); border-radius: 2px; font-size: 11px; font-weight: 800; letter-spacing: .05em; color: var(--k-text-0b2b86); } .back-btn:hover { background: var(--k-fill-f3f6fd); } .overview-body { flex: 1; min-height: 0; padding: 12px 14px; overflow-y: auto; scrollbar-width: thin; } .overview-name { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .overview-name h3 { font-size: 24px; line-height: 28px; font-weight: 800; letter-spacing: .05em; color: var(--ink); } .badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; background: var(--k-fill-d8f5e8); border-radius: 2px; font-size: 11px; font-weight: 700; letter-spacing: .05em; color: var(--k-text-0f9a62); flex: none; } .badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--k-fill-0aa86b); } .overview-full { margin-top: 3px; font-size: 13px; line-height: 17px; font-weight: 600; color: var(--k-text-2a4c9e); } .overview-desc { margin-top: 10px; font-size: 12.2px; line-height: 19px; font-weight: 500; color: var(--k-text-4a66a4); } .facts { display: grid; grid-template-columns: minmax(98px, min-content) minmax(0, 1fr); column-gap: 8px; margin-top: 10px; } .facts > div { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; min-height: 28px; border-top: 1px solid var(--line-soft); } .facts > div:last-child { border-bottom: 1px solid var(--line-soft); } .facts dt { padding: 4px 0; font-size: 11.5px; font-weight: 800; color: var(--k-text-102a86); } .facts dd { padding: 4px 0; font-size: 11.5px; font-weight: 500; color: var(--k-text-3a59a3); } .explain-label { font-size: 11px; font-weight: 800; letter-spacing: .07em; color: var(--agsx-purple); } .explain-title { margin-top: 4px; font-size: 19px; line-height: 24px; font-weight: 800; letter-spacing: .05em; color: var(--ink); } .explain-sub { margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--k-text-2a4c9e); } .explain-text { margin-top: 8px; font-size: 12.2px; line-height: 18px; color: var(--k-text-4a66a4); } .explain-packet-card { margin-top: 10px; padding: 9px 11px; border: 1px solid var(--k-line-dbe4f5); border-inline-start: 3px solid var(--agsx-purple); border-radius: 2px; background: var(--k-fill-f8faff); } .explain-packet-head { display: flex; align-items: center; gap: 8px; } .explain-packet-head b { padding: 1px 7px; border-radius: 2px; background: var(--agsx-purple); font-size: 10.5px; font-weight: 800; color: #fff; } .explain-packet-head span { font-size: 11px; font-weight: 700; color: var(--k-text-33509a); } .explain-payload { margin-top: 6px; font-size: 11.5px; line-height: 16px; font-weight: 600; color: var(--k-text-1d3e9a); white-space: pre-wrap; } .packets { display: flex; flex-direction: column; } .packets .panel-head.bar { padding-inline-end: 6px; } .packet-legend { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; margin: 0 12px; overflow: hidden; font-size: 11px; font-weight: 600; color: var(--k-text-3a59a3); } .legend-item { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; } .packet-actions { display: flex; align-items: center; gap: 5px; } .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 76px; padding: 0 8px; height: 29px; border: 1px solid var(--k-line-b5c8e7); border-radius: 2px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--k-text-0b2b86); } .btn:hover:not(:disabled) { background: var(--k-fill-f3f6fd); } .btn:disabled { opacity: .45; cursor: default; } .btn.primary { min-width: 88px; background: var(--k-fill-003ca8); border-color: var(--k-line-003ca8); color: #fff; } .btn.primary:hover:not(:disabled) { filter: brightness(1.08); background: var(--k-fill-003ca8); } .btn.purple { background: var(--agsx-purple); border-color: var(--agsx-purple); color: #fff; } .btn.purple:hover:not(:disabled) { background: var(--agsx-purple-bright); } .btn.icon { min-width: 30px; width: 30px; padding: 0; } .btn.speed { min-width: 60px; gap: 4px; } .toggle-icon { display: inline-grid; place-items: center; width: 14px; height: 14px; } .toggle-icon svg { grid-area: 1 / 1; } .icon-replay { opacity: 0; } .toggle.is-done .icon-replay { opacity: 1; } .toggle.is-done .icon-playpause { opacity: 0; } .pp-a { d: path("M1.5 1.2 L6.6 4.2 L6.6 9.8 L1.5 12.8 Z"); transition: d .25s; } .pp-b { d: path("M6.6 4.2 L11.4 7 L11.4 7 L6.6 9.8 Z"); transition: d .25s; } .toggle.is-playing .pp-a { d: path("M1.6 1.4 L4.6 1.4 L4.6 12.6 L1.6 12.6 Z"); } .toggle.is-playing .pp-b { d: path("M7.4 1.4 L10.4 1.4 L10.4 12.6 L7.4 12.6 Z"); } .speed-box { position: relative; } .speed-menu { position: absolute; bottom: calc(100% + 6px); inset-inline-start: 0; z-index: 70; display: flex; flex-direction: column; min-width: 148px; padding: 4px; border: 1px solid var(--k-line-b5c8e7); border-radius: 3px; background: var(--panel); box-shadow: 0 12px 32px color-mix(in srgb, var(--k-shadow-8d9ab3) 28%, transparent); } .speed-head { padding: 5px 8px; font-size: 10.5px; font-weight: 800; color: var(--k-text-7d96c6); } .speed-menu button { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 2px; font-size: 12.5px; font-weight: 700; color: var(--k-text-0b2b86); text-align: start; } .speed-menu button:hover { background: var(--k-fill-f3f6fd); } .speed-check { opacity: 0; width: 12px; } .speed-menu button[aria-checked="true"] { color: var(--agsx-purple); } .speed-menu button[aria-checked="true"] .speed-check { opacity: 1; } .packet-scroll { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; } .packet-table { width: calc(100% - 16px); margin-inline: 8px 0; border-collapse: collapse; table-layout: fixed; font-size: 12.5px; } .packet-table th { height: 22px; text-align: start; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--k-text-23458f); padding-inline: 10px 0; position: sticky; top: 0; z-index: 1; background: var(--panel); box-shadow: inset 0 -1px 0 var(--line-soft); } .packet-table td { height: 25px; padding-inline: 10px 0; font-weight: 500; color: var(--k-text-2f4d8e); border-bottom: 1px solid var(--k-line-eef2f8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .packet-table tr[data-row] { cursor: pointer; } .packet-table tr[data-row]:hover td { background: var(--k-fill-f4f7fd); } .packet-table tr.is-current td { background: var(--k-fill-eef3fe); } .packet-table tr.is-current td:first-child { box-shadow: inset 3px 0 0 var(--agsx-purple); } .packet-table tr.is-inspected td { background: var(--k-fill-e8eefc); } .packet-table tr.is-inspected td:first-child { box-shadow: inset 3px 0 0 var(--k-line-0e95a3); } .packet-table .packet-empty td { height: 42px; color: var(--k-text-8aa0cc); } .step-badge { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 700; vertical-align: middle; } .step-badge.blue { background: radial-gradient(circle at 35% 30%, var(--k-fill-3a8bf5), var(--k-fill-1166e3) 70%); } .step-badge.green { background: radial-gradient(circle at 35% 30%, var(--k-fill-2bbb78), var(--k-fill-0d9b59) 70%); } .step-badge.amber { background: radial-gradient(circle at 35% 30%, var(--k-fill-ffcc3d), var(--k-fill-f4b305) 70%); color: #0b2b86; } .step-badge.violet { background: radial-gradient(circle at 35% 30%, var(--k-fill-9a80f0), var(--k-fill-6d4bdc) 70%); } .step-badge.teal { background: radial-gradient(circle at 35% 30%, var(--k-fill-3cc3cf), var(--k-fill-0b8b98) 70%); } .inspector { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); } .ins-head { display: flex; align-items: center; gap: 12px; flex: none; height: 50px; padding: 0 14px; border-bottom: 1px solid var(--k-line-dfe7f4); } .ins-badge.step-badge { width: 26px; height: 26px; font-size: 12px; } .ins-title { display: flex; flex-direction: column; flex: 1; min-width: 0; } .ins-title b { font-size: 14.5px; font-weight: 800; color: var(--ink-strong); } .ins-title span { font-size: 11.5px; font-weight: 600; color: var(--k-text-4d67a2); } .ins-nav { display: flex; gap: 4px; } .ins-nav button { width: 30px; height: 30px; border: 1px solid var(--k-line-c9d6ec); border-radius: 2px; font-size: 16px; font-weight: 700; color: var(--k-text-0b2b86); } .ins-nav button:hover { background: var(--k-fill-f1f5fd); } .ins-where { padding: 7px 16px 0; font-size: 11.5px; font-weight: 600; color: var(--k-text-6982b8); } .ins-bar { display: flex; gap: 3px; margin: 8px 16px 0; } .ins-seg { display: flex; flex-direction: column; min-width: 0; cursor: pointer; } .ins-seg:before { content: ""; height: 8px; border-radius: 1.5px; background: var(--c); opacity: .88; } .ins-seg b { margin-top: 4px; font-size: 10.5px; font-weight: 800; color: var(--ink-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ins-seg i { font-style: normal; font-size: 10px; font-weight: 600; color: var(--k-text-6982b8); } .ins-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 446px; margin-top: 8px; border-top: 1px solid var(--k-line-dfe7f4); } .ins-tree, .ins-hex { min-height: 0; overflow-y: auto; scrollbar-width: thin; } .ins-tree { padding: 6px 14px 16px 16px; } .ins-hex { padding: 10px 14px; border-inline-start: 1px solid var(--k-line-dfe7f4); background: var(--k-fill-fbfcff); } .ins-foot { display: flex; gap: 22px; padding: 7px 16px; border-top: 1px solid var(--k-line-dfe7f4); font-size: 11px; color: var(--k-text-6982b8); } .ins-foot b { color: var(--k-text-9aabcf); } .c-blue { --c: var(--k-accent-1f6fe8); } .c-green { --c: var(--k-accent-12a56b); } .c-amber { --c: var(--k-accent-e19b00); } .c-violet { --c: var(--agsx-purple); } .c-teal { --c: var(--k-accent-0e95a3); } .ins-layer { margin-top: 10px; } .ins-layer h4 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 4px; padding: 5px 9px; border-inline-start: 3px solid var(--c); background: linear-gradient(90deg, color-mix(in srgb, var(--c) 10%, transparent), transparent 80%); } .ins-layer h4 span { font-size: 12px; font-weight: 800; color: var(--ink-strong); } .ins-layer h4 em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--k-text-4d67a2); } .ins-field { display: grid; grid-template-columns: 145px 1fr; column-gap: 10px; padding: 3px 10px; border-radius: 2px; cursor: default; } .ins-field:hover, .ins-field.is-lit { background: color-mix(in srgb, var(--c) 14%, transparent); } .ins-name { font-size: 11.5px; font-weight: 700; color: var(--k-text-102a86); } .ins-value { font-size: 11.5px; font-weight: 500; color: var(--k-text-3a59a3); } .ins-note { grid-column: 2; font-size: 10.5px; color: var(--k-text-7c90bb); } .hx-head { font-size: 11px; font-weight: 800; color: var(--k-text-23458f); margin-bottom: 6px; } .hx-row { display: flex; gap: 10px; font-size: 11px; line-height: 18px; white-space: nowrap; } .hx-at { color: var(--k-text-a7b3cb); font-weight: 600; } .hx-bytes { display: grid; grid-template-columns: repeat(16, 16px); } .hx { text-align: center; font-weight: 600; color: color-mix(in srgb, var(--c) 82%, var(--k-text-0b2b86)); border-radius: 2px; } .hx-text { display: grid; grid-template-columns: repeat(16, 7px); color: var(--k-text-4d67a2); } .hx.is-lit, .as.is-lit { background: color-mix(in srgb, var(--c) 30%, transparent); color: var(--k-text-00238a); font-weight: 800; } .dialog { max-width: calc(100vw - 32px); padding: 0; border: 1px solid var(--k-line-b5c8e7); border-radius: 3px; background: var(--panel); color: var(--ink); box-shadow: 0 24px 64px color-mix(in srgb, var(--k-shadow-8d9ab3) 38%, transparent); } .dialog::backdrop { background: #0814384d; backdrop-filter: blur(2px); } .dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); } .dialog-title { font-size: 18px; font-weight: 800; letter-spacing: .06em; color: var(--ink); } .dialog-close { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--k-line-b5c8e7); border-radius: 2px; color: var(--k-text-0b2b86); } .dialog-close:hover { background: var(--k-fill-f3f6fd); } .dialog-foot { padding: 10px 18px; font-size: 12px; color: var(--k-text-6d80a8); border-top: 1px solid var(--line-soft); } .shortcuts { width: 740px; } .shortcuts-body { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 10px 20px 16px; } .shortcut-group h3 { margin: 8px 0 4px; font-size: 11.5px; font-weight: 800; color: var(--k-text-7d96c6); } .shortcut-group dl > div { display: flex; align-items: center; gap: 12px; min-height: 34px; border-bottom: 1px solid var(--k-line-dfe7f4); } .shortcut-group dt { display: flex; align-items: center; gap: 4px; width: 122px; flex: none; } .shortcut-group dd { font-size: 12.5px; color: var(--k-text-3a59a3); } .palette { width: 640px; margin-top: 10vh; } .palette-field { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-bottom: 1px solid var(--line-soft); } .palette-input { flex: 1; height: 100%; border: 0; outline: 0; background: transparent; font-size: 15.5px; font-weight: 600; color: var(--ink); } .palette-list { max-height: 380px; padding: 6px; overflow-y: auto; } .pal-option { display: grid; grid-template-columns: 155px 1fr auto; align-items: center; gap: 12px; padding: 8px 12px; cursor: pointer; } .pal-option.is-active, .pal-option:hover { background: var(--k-fill-f3f6fd); box-shadow: inset 3px 0 0 var(--agsx-purple); } .pal-name { font-size: 13.5px; font-weight: 800; color: var(--ink); } .pal-sub { font-size: 12.5px; color: var(--k-text-6982b8); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pal-tag { font-size: 10.5px; font-weight: 800; color: var(--k-text-7d96c6); } .palette-foot { display: flex; gap: 18px; padding: 9px 16px; border-top: 1px solid var(--line-soft); font-size: 11.5px; color: var(--k-text-6d80a8); } .quiz-opt { text-align: left; padding: 10px 12px; border: 1px solid var(--k-line-b5c8e7); border-radius: 2px; font-size: 12.5px; font-weight: 600; color: var(--ink-strong); background: var(--k-fill-f8faff); } .quiz-opt:hover:not(:disabled) { border-color: var(--agsx-purple); background: var(--k-fill-f3f6fd); } .quiz-opt.correct { border-color: var(--k-line-0aa86b); background: var(--k-fill-d8f5e8); color: var(--k-text-0f9a62); } .quiz-opt.wrong { border-color: #d6404c; background: rgba(214,64,76,.14); } .bp-node-box { fill: var(--panel); stroke: var(--k-line-0b3aa8); stroke-width: 1.8; transition: fill .32s ease, stroke .32s ease, stroke-width .25s ease; } .bp-node-box.is-active { stroke: var(--agsx-purple); stroke-width: 2.8; fill: var(--k-fill-fdf0f0); } .bp-node-box.is-done { stroke: var(--k-line-0aa86b); fill: var(--k-fill-d8f5e8); } .bp-node-title { fill: var(--ink-strong); font-size: 13px; font-weight: 800; letter-spacing: .04em; } .bp-node-sub { fill: var(--k-text-4d67a2); font-size: 11px; font-weight: 600; } .bp-lane { stroke: var(--k-line-bccae6); stroke-width: 2; stroke-dasharray: 6 5; fill: none; transition: stroke .25s; } .bp-lane.is-active { stroke: var(--agsx-purple); stroke-width: 2.6; animation: flow 0.6s linear infinite; } @keyframes flow { to { stroke-dashoffset: -11; } } .bp-pulse-ring { fill: none; stroke: var(--agsx-purple); stroke-width: 2.6; transform-box: fill-box; transform-origin: center; animation: svgPulse 0.85s cubic-bezier(.16, 1, .3, 1) forwards; } @keyframes svgPulse { 0% { opacity: .95; transform: scale(.85); stroke-width: 3.4; } 100% { opacity: 0; transform: scale(1.65); stroke-width: 0.6; } } .bp-draw-arc { fill: none; stroke: var(--agsx-purple); stroke-width: 2.4; stroke-dasharray: 240; stroke-dashoffset: 240; animation: drawArc 0.65s cubic-bezier(.22, 1, .36, 1) forwards; } @keyframes drawArc { to { stroke-dashoffset: 0; } } .sb-item { transition: transform .42s cubic-bezier(.22, 1, .36, 1), border-color .25s, background-color .25s, box-shadow .25s; will-change: transform, opacity; } .sb-item.is-peek { animation: sbPeek .72s cubic-bezier(.22, 1, .36, 1); border-color: var(--agsx-purple) !important; box-shadow: 0 0 0 5px rgba(102, 45, 145, .22); } @keyframes sbPeek { 0% { transform: scale(1); } 40% { transform: scale(1.1); box-shadow: 0 0 0 9px rgba(102, 45, 145, .28); } 100% { transform: scale(1); } } .stage-caption { position: absolute; bottom: 10px; inset-inline: 12px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 7px 12px; border: 1px solid var(--k-line-b5c8e7); border-inline-start: 3.5px solid var(--agsx-purple); border-radius: 3px; background: var(--k-fill-fefeff-a92); backdrop-filter: blur(4px); box-shadow: 0 6px 20px color-mix(in srgb, var(--k-shadow-8d9ab3) 14%, transparent); pointer-events: none; } .cap-badge { flex: none; padding: 2px 8px; border-radius: 2px; background: var(--agsx-purple); color: #fff; font-size: 11px; font-weight: 800; white-space: nowrap; pointer-events: auto; cursor: help; } .cap-badge:hover { filter: brightness(1.15); box-shadow: 0 2px 10px var(--agsx-purple-glow); } .cap-text { font-size: 12.5px; font-weight: 600; line-height: 1.45; color: var(--ink-strong); } .guide-sec { margin-top: 9px; padding: 8px 10px; border: 1px solid var(--k-line-dbe4f5); border-inline-start: 3px solid var(--k-line-0b3aa8); border-radius: 2px; background: var(--k-fill-f8faff); } .guide-sec.is-purple { border-inline-start-color: var(--agsx-purple); } .guide-sec.is-green { border-inline-start-color: var(--k-line-0aa86b); } .guide-sec.is-amber { border-inline-start-color: var(--k-line-e09a00); } .guide-sec h4 { margin: 0 0 4px; font-size: 11.5px; font-weight: 800; color: var(--ink-strong); } .guide-sec p { font-size: 12px; line-height: 1.55; color: var(--k-text-4a66a4); } .step-code-box { margin-top: 10px; border: 1px solid var(--k-line-c9d6ec); border-radius: 2px; background: var(--k-fill-fbfcff); overflow: hidden; } .step-code-head { display: flex; align-items: center; justify-content: space-between; padding: 5px 10px; border-bottom: 1px solid var(--k-line-dfe7f4); font-size: 11px; font-weight: 800; color: var(--agsx-purple); } .step-code-pre { margin: 0; padding: 8px 10px; font-size: 11px; line-height: 1.48; color: var(--ink-strong); overflow-x: auto; direction: ltr; text-align: left; } .sb-useful-note { padding: 7px 10px; font-size: 11.5px; line-height: 1.45; color: var(--k-text-2a4c9e); border-bottom: 1px solid var(--k-line-dfe7f4); background: var(--k-fill-fdf0f0); } [lang="ckb"] .guide-sec h4, [lang="ckb"] .guide-sec p, [lang="ckb"] .overview-full, [lang="ckb"] .explain-title, [lang="ckb"] .explain-sub, [lang="ckb"] .step-code-tip, [lang="ckb"] .sb-useful-note, [lang="ckb"] .ins-where, [lang="ckb"] #quizQ, [lang="ckb"] #quizExp, [lang="ckb"] .quiz-opt { direction: rtl; text-align: right; } [lang="ckb"] .proto-name, [lang="ckb"] .proto-full, [lang="ckb"] .step-title, [lang="ckb"] .step-desc, [lang="ckb"] .col-info-cell, [lang="ckb"] #capText, [lang="ckb"] #nowName, [lang="ckb"] #nowStep, [lang="ckb"] .facts dt, [lang="ckb"] .facts dd { direction: rtl; text-align: left; } [lang="ckb"] .packet-empty td { direction: rtl; text-align: center; } [lang="ckb"] .palette-input { direction: rtl; text-align: right; } [lang="ckb"] .packet-table th:nth-child(6), [lang="ckb"] .step-code-head span:first-child, [lang="ckb"] .explain-label, [lang="ckb"] #flowLegend .legend-item { direction: rtl; unicode-bidi: isolate; } [lang="ckb"] .packet-table th:nth-child(6) { text-align: left; } .bp-arch-box, [data-shape-tip] { cursor: help; } .bp-arch-box .bp-node-box, [data-shape-tip] .bp-node-box { transition: fill .22s ease, stroke .22s ease, stroke-width .2s ease, filter .22s ease; } .bp-arch-box:hover .bp-node-box, [data-shape-tip]:hover .bp-node-box { stroke: var(--agsx-purple); stroke-width: 2.6; filter: drop-shadow(0 4px 10px rgba(102, 45, 145, 0.24)); } [data-shape-tip]:hover > text { fill: var(--agsx-purple); } .arch-tooltip { position: absolute; z-index: 8; width: 276px; max-width: calc(100% - 24px); padding: 9px 12px; border: 1.5px solid var(--agsx-purple); border-radius: 3px; background: var(--k-fill-fefeff-a92); backdrop-filter: blur(6px); box-shadow: 0 12px 28px color-mix(in srgb, var(--k-shadow-8d9ab3) 26%, transparent); pointer-events: none; opacity: 0; transform: translateY(-4px); transition: opacity .16s ease, transform .16s ease; } .arch-tooltip.is-visible { opacity: 1; transform: translateY(0); } .arch-tip-title { font-size: 11.5px; font-weight: 800; color: var(--agsx-purple); margin-bottom: 4px; } .arch-tip-body { font-size: 12px; font-weight: 500; line-height: 1.5; color: var(--ink-strong); } [lang="ckb"] .arch-tooltip { direction: rtl; text-align: right; } [lang="ckb"] .arch-tip-title { letter-spacing: 0 !important; } .code-lines-wrap { display: flex; flex-direction: column; direction: ltr; text-align: left; font-family: inherit; } .code-line { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: baseline; padding: 1.5px 8px 1.5px 4px; border-inline-start: 3px solid transparent; transition: background-color .18s ease, border-color .18s ease; white-space: pre-wrap; overflow-wrap: break-word; } .code-ln { user-select: none; font-size: 10px; color: var(--k-text-8aa0cc); text-align: right; padding-inline-end: 8px; } .code-line.is-active { background: color-mix(in srgb, var(--agsx-purple) 15%, transparent); border-inline-start-color: var(--agsx-purple); color: var(--ink-strong); font-weight: 700; } .code-line.is-active .code-ln { color: var(--agsx-purple); font-weight: 800; } .code-cmt { display: inline-block; white-space: normal; max-width: 100%; vertical-align: top; color: var(--k-text-0a7c88); font-style: italic; font-weight: 500; } .tok-kw { color: var(--tok-kw); font-weight: 700; } .tok-str { color: var(--tok-str); } .tok-num { color: var(--tok-num); font-weight: 600; } .tok-fn { color: var(--tok-fn); font-weight: 600; } [data-arch-tip], [data-shape-tip], [data-cx-tip], .has-cx-tip, .sb-bigo-row { touch-action: manipulation; -webkit-tap-highlight-color: transparent; } .sb-algo-tabs { display: flex; flex-wrap: wrap; gap: 4px; } .sb-algo-tabs button, .cmp-tabs button { padding: 4px 9px; border: 1px solid var(--k-line-b5c8e7); border-radius: 2px; font-size: 11px; font-weight: 800; color: var(--k-text-4d67a2); background: var(--panel); transition: background-color .18s, color .18s, border-color .18s; } .sb-algo-tabs button.is-active, .cmp-tabs button.is-active { background: var(--agsx-purple); border-color: var(--agsx-purple); color: #fff; } .sb-counters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin-bottom: 10px; } .sb-stat-pill { padding: 3px 9px; border-radius: 2px; border: 1px solid var(--k-line-c9d6ec); background: var(--k-fill-f8faff); font-size: 11px; font-weight: 800; color: var(--ink-strong); } .sb-stat-pill.is-accent { border-color: var(--agsx-purple); background: var(--k-fill-fdf0f0); color: var(--agsx-purple); } .sb-stat-pill.is-good { border-color: var(--k-line-0aa86b); background: var(--k-fill-d8f5e8); color: var(--k-text-0f9a62); } .sb-bars-wrap { display: flex; align-items: flex-end; justify-content: center; gap: 7px; min-height: 156px; padding: 8px 6px 4px; } .sb-sort-bar { width: 40px; border: 2px solid var(--agsx-purple); background: var(--panel); border-radius: 2px 2px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 5px; font-weight: 800; font-size: 12.5px; color: var(--ink-strong); transition: height .24s ease, border-color .18s, background-color .18s; } .sb-sort-bar.is-cmp { border-color: var(--k-accent-f2ac0a); background: var(--k-fill-fdf4dc); } .sb-sort-bar.is-pivot { border-color: var(--k-accent-0e95a3); background: var(--k-fill-effafa); } .sb-sort-bar.is-sorted { border-color: var(--k-line-0aa86b); background: var(--k-fill-d8f5e8); color: var(--k-text-0f9a62); } .sb-ht-list { width: 100%; display: flex; flex-direction: column; gap: 5px; } .sb-ht-row { display: flex; align-items: center; gap: 8px; padding: 3px 6px; border-radius: 2px; border: 1px solid transparent; } .sb-ht-row.is-hit { border-color: var(--agsx-purple); background: var(--k-fill-fdf0f0); } .sb-ht-idx { width: 46px; padding: 3px 0; border: 1px solid var(--line-mid); text-align: center; font-weight: 800; font-size: 11px; background: var(--panel); flex: none; } .sb-ht-pair { display: inline-flex; padding: 2px 7px; border: 1px solid var(--k-line-0e95a3); border-radius: 2px; background: var(--panel); font-size: 11px; font-weight: 700; } .sb-ht-pair.is-found { border-color: var(--k-line-0aa86b); background: var(--k-fill-d8f5e8); color: var(--k-text-0f9a62); } .sb-rec-stack { width: 230px; min-height: 158px; border: 2px solid var(--line); border-top: none; padding: 8px; display: flex; flex-direction: column-reverse; gap: 5px; background: var(--bg); } .sb-rec-frame { padding: 6px 10px; border: 1.5px solid var(--agsx-purple); border-radius: 2px; background: var(--panel); font-size: 11.5px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; } .sb-rec-frame.is-top { background: var(--k-fill-fdf0f0); border-width: 2px; } .sb-rec-frame.is-ret { border-color: var(--k-line-0aa86b); background: var(--k-fill-d8f5e8); color: var(--k-text-0f9a62); } .sb-order-strip { padding: 5px 10px; border: 1px solid var(--k-line-c9d6ec); border-radius: 2px; background: var(--k-fill-f8faff); font-size: 11.5px; font-weight: 800; color: var(--ink-strong); max-width: 100%; text-align: center; } .zoom-bar { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--k-line-c9d6ec); border-radius: 3px; background: var(--k-fill-fefeff-a92); } .zoom-bar button { width: 24px; height: 24px; border-radius: 2px; font-size: 13px; font-weight: 800; color: var(--ink-strong); display: grid; place-items: center; } .zoom-bar button:hover { background: var(--k-fill-eef3fc); } .zoom-bar span { min-width: 40px; text-align: center; font-size: 11px; font-weight: 800; color: var(--agsx-purple); } #visualSvg { transition: transform .2s var(--ease-out); transform-origin: center center; } .predict-bar { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); z-index: 8; width: min(460px, calc(100% - 24px)); padding: 10px 12px; border: 1.5px solid var(--agsx-purple); border-radius: 4px; background: var(--panel); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28); } .predict-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .predict-badge { padding: 2px 7px; border-radius: 2px; background: var(--agsx-purple); color: #fff; font-size: 10.5px; font-weight: 800; } .predict-q { margin: 7px 0; font-size: 12.5px; line-height: 1.45; font-weight: 700; color: var(--ink-strong); } [lang="ckb"] .predict-q { direction: rtl; text-align: right; } .predict-opts { display: flex; flex-wrap: wrap; gap: 6px; } .predict-opts button { flex: 1 1 120px; padding: 6px 9px; border: 1px solid var(--k-line-b5c8e7); border-radius: 2px; background: var(--k-fill-f8faff); color: var(--ink-strong); font-size: 11.5px; font-weight: 700; text-align: center; } .predict-opts button:hover { border-color: var(--agsx-purple); } .predict-opts button.is-ok { background: var(--k-fill-d8f5e8); border-color: var(--k-line-0aa86b); color: var(--k-text-0f9a62); } .predict-opts button.is-bad { background: rgba(214, 64, 76, 0.14); border-color: #d6404c; color: #d6404c; } .btn.is-predict-on { background: var(--k-fill-fdf0f0); border-color: var(--agsx-purple); color: var(--agsx-purple); } .sb-vars-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 5px 10px; border-bottom: 1px solid var(--k-line-dfe7f4); background: var(--k-fill-f8faff); font-size: 10.5px; } .sb-var-chip { padding: 1px 6px; border-radius: 2px; border: 1px solid var(--k-line-c9d6ec); background: var(--panel); color: var(--ink-strong); font-weight: 800; } .sb-var-chip i { font-style: normal; color: var(--agsx-purple); } .bigo-ref-dialog { width: min(860px, calc(100vw - 24px)); } .bigo-ref-wrap { padding: 12px 16px 16px; max-height: 70vh; overflow: auto; } .bigo-table { width: 100%; border-collapse: collapse; font-size: 12px; } .bigo-table th, .bigo-table td { padding: 8px 9px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: middle; } .bigo-table th { font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--k-text-4d67a2); background: var(--k-fill-f8faff); position: sticky; top: 0; } .bigo-pill { display: inline-block; padding: 2px 6px; border-radius: 2px; font-weight: 800; font-size: 11px; cursor: help; } .bigo-pill.g { background: var(--k-fill-d8f5e8); color: var(--k-text-0f9a62); } .bigo-pill.b { background: var(--k-fill-e8eefc); color: var(--k-accent-1f6fe8); } .bigo-pill.p { background: var(--k-fill-fdf0f0); color: var(--agsx-purple); } .bigo-pill.y { background: var(--k-fill-fdf4dc); color: var(--k-text-a07a12); } .bigo-pill.r { background: rgba(214,64,76,.14); color: #d6404c; } .bigo-tip-bar { margin-bottom: 10px; padding: 8px 11px; border: 1px solid color-mix(in srgb, var(--agsx-purple) 40%, transparent); border-inline-start: 3px solid var(--agsx-purple); border-radius: 2px; background: var(--k-fill-fdf0f0); font-size: 12px; line-height: 1.45; color: var(--ink-strong); } .bigo-tip-bar b { color: var(--agsx-purple); display: block; margin-bottom: 2px; font-size: 12px; } [lang="ckb"] .bigo-tip-bar { direction: rtl; text-align: right; } .compare-view { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; padding: 50px 14px 12px; background: var(--panel); opacity: 0; visibility: hidden; transition: opacity .25s; overflow-y: auto; } .compare-view.is-active { opacity: 1; visibility: visible; } .cmp-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid var(--k-line-c9d6ec); border-radius: 2px; background: var(--k-fill-f8faff); margin-bottom: 10px; } .cmp-tabs, .cmp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .cmp-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .cmp-card { border: 1px solid var(--k-line-c9d6ec); border-radius: 2px; background: var(--bg); display: flex; flex-direction: column; min-width: 0; overflow: hidden; } .cmp-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--k-line-dfe7f4); background: var(--k-fill-f8faff); } .cmp-card-head h3 { font-size: 13px; font-weight: 800; color: var(--ink-strong); margin: 0; } .cmp-card-body { flex: 1; padding: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; overflow: auto; background-image: radial-gradient(var(--k-line-dbe4f5) 1px, transparent 1px); background-size: 18px 18px; } .cmp-card-foot { padding: 6px 10px; border-top: 1px solid var(--line-soft); background: var(--k-fill-fbfcff); font-size: 11.5px; font-weight: 600; color: var(--k-text-4a66a4); } [lang="ckb"] .sb-note, [lang="ckb"] .cmp-card-foot, [lang="ckb"] .cmp-verdict { direction: rtl; } [lang="ckb"] .cmp-card-foot, [lang="ckb"] .cmp-verdict { text-align: right; } [lang="ckb"] .sb-note { text-align: center; } .cmp-verdict { margin-top: 10px; padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--agsx-purple) 35%, transparent); border-inline-start: 3px solid var(--agsx-purple); border-radius: 2px; background: var(--k-fill-fdf0f0); font-size: 12px; font-weight: 700; color: var(--ink-strong); } .sb-slider-row { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--ink-strong); } .sb-slider-row input[type="range"] { accent-color: var(--agsx-purple); width: 150px; cursor: pointer; } .sb-metrics { width: 100%; display: flex; flex-direction: column; gap: 7px; } .exam-dialog { width: min(660px, calc(100vw - 24px)); } .exam-prog { padding: 2px 9px; border-radius: 2px; background: var(--k-fill-fdf0f0); color: var(--agsx-purple); font-size: 11.5px; font-weight: 800; border: 1px solid var(--agsx-purple); } .exam-chap-pill { display: inline-block; padding: 2px 8px; border-radius: 2px; background: var(--k-fill-e8eefc); color: var(--k-text-0b2b86); font-size: 11px; font-weight: 800; } .exam-score-box { padding: 16px; border: 1.5px solid var(--agsx-purple); border-radius: 3px; background: var(--k-fill-fdf0f0); text-align: center; } .exam-score-num { font-size: 32px; font-weight: 800; color: var(--agsx-purple); line-height: 1.1; } .exam-score-sub { margin-top: 5px; font-size: 13px; font-weight: 700; color: var(--ink-strong); } .exam-weak-head { margin: 14px 0 4px; font-size: 13px; font-weight: 800; color: var(--k-text-23458f); } .exam-weak-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid var(--k-line-c9d6ec); border-radius: 2px; background: var(--k-fill-f8faff); } [lang="ckb"] #examQ, [lang="ckb"] #examExp, [lang="ckb"] .exam-score-sub, [lang="ckb"] .exam-weak-head { direction: rtl; text-align: right; } .shell.is-board { --list-w: 400px; --details-w: 380px; --flow-h: 256px; grid-template-rows: 84px minmax(0, 1fr); } .shell.is-board .brand-text h1 { font-size: 21px; } .shell.is-board .proto-name, .shell.is-board .cap-text, .shell.is-board .guide-sec p { font-size: 14px; line-height: 1.55; } .shell.is-board .btn, .shell.is-board .tool-btn, .shell.is-board .lang-switch-btn, .shell.is-board .theme-toggle { min-height: 42px; height: 42px; font-size: 13px; } .shell.is-board .tab { font-size: 12.5px; } .shell.is-board .view-switch button { height: 34px; font-size: 13px; } .shell.is-board .arch-tooltip { width: 340px; padding: 12px 14px; } .shell.is-board .arch-tip-title { font-size: 13px; } .shell.is-board .arch-tip-body { font-size: 13.5px; } .shell.is-board .cmp-card-head h3, .shell.is-board .cmp-verdict { font-size: 14px; } .shell.is-board .sb-stat-pill { font-size: 12.5px; } .shell.is-board .bigo-table { font-size: 13.5px; } .shell.is-board .sb-var-chip { font-size: 12px; } @media (min-width: 1850px) { .shell { --list-w: 395px; --details-w: 375px; --flow-h: 252px; grid-template-rows: 82px minmax(0, 1fr); } .proto-name, .guide-sec p, .cap-text { font-size: 13.5px; } .btn { height: 34px; font-size: 13px; } } @media (pointer: coarse) and (min-width: 980px) { .btn, .tool-btn, .lang-switch-btn, .drawer-btn { min-height: 42px; } .view-switch button { height: 34px; } .proto-row { min-height: 52px; } } .drawer-btn, .drawer-close, .scrim { display: none; } @media (max-width: 1620px) { .topbar-sep { margin: 0 8px; } .now { width: 152px; min-width: 120px; } .osi { width: 192px; } .learning { width: 154px; } .search-btn { width: 36px; justify-content: center; padding: 0; } .search-btn .search-text, .search-btn .search-kbd { display: none; } } @media (max-width: 1420px) { .topbar-sep { margin: 0 5px; } .brand-text h1 { font-size: 17px; } .now { width: 122px; min-width: 96px; } .osi { width: 168px; } .learning { width: 132px; } } @media (max-width: 1280px) { .osi, .learning, .topbar-sep:nth-of-type(3), .topbar-sep:nth-of-type(4) { display: none; } .workspace { --list-w: 310px; --details-w: 295px; } } @media (max-width: 1080px) { .now, .topbar-sep, .brand-text p, #btnShortcuts { display: none; } .drawer-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; margin-inline-end: 8px; border: 1px solid var(--k-line-b5c8e7); border-radius: 2px; background: var(--panel); font-size: 12px; font-weight: 800; color: var(--k-text-0b2b86); } .workspace { grid-template-columns: minmax(0, 1fr) var(--details-gap) var(--details-track); grid-template-rows: minmax(0, 1fr) var(--flow-gap) var(--flow-track); } .workspace > .simulation { grid-column: 1; grid-row: 1; } .workspace > .overview { grid-column: 3; grid-row: 1; width: var(--details-w); } .workspace > .packets { grid-column: 1 / 4; grid-row: 3; height: var(--flow-h); } .list-btn { display: none; } .drawer-close { display: inline-grid; place-items: center; } .workspace > .sidebar { position: fixed; z-index: 50; top: 0; bottom: 0; left: 0; width: min(350px, 88vw); transform: translateX(-105%); transition: transform .28s var(--ease-out); } .shell.is-drawer-open .workspace > .sidebar { transform: none; visibility: visible; } .shell.is-drawer-open .scrim { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.48); } } @media (max-width: 820px) { html, body { height: auto; min-height: 100%; overflow-y: auto; overflow-x: hidden; } .shell { height: auto; min-height: 100vh; grid-template-rows: auto auto; padding: 0 10px 16px; } .topbar { flex-wrap: wrap; gap: 8px; padding: 8px 0; } .drawer-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border: 1px solid var(--k-line-b5c8e7); border-radius: 2px; background: var(--panel); font-size: 12px; font-weight: 800; color: var(--k-text-0b2b86); } .now, .osi, .learning, .topbar-sep, #btnFocus, #btnShortcuts, #btnFullscreen { display: none !important; } .brand-text h1 { font-size: 15px; line-height: 19px; } .brand-text p { display: none; } .logo-frame { width: 40px; height: 36px; } .logo-cube { width: 24px; height: 24px; } .topbar-tools { gap: 4px; flex-wrap: wrap; } .lang-switch-btn, .tool-btn, .theme-toggle { height: 38px; } .view-switch { max-width: calc(100% - 16px); overflow-x: auto; scrollbar-width: none; } .zoom-bar { top: 52px; inset-inline-end: 8px; } .predict-bar { bottom: 52px; } .view-switch button { height: 30px; padding: 0 8px; font-size: 11px; white-space: nowrap; } .workspace { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 10px; } .workspace > .simulation, .workspace > .overview, .workspace > .packets { grid-column: 1 !important; grid-row: auto !important; width: 100% !important; justify-self: stretch !important; } .workspace > .simulation { height: 390px; } .workspace > .simulation:has(.compare-view.is-active) { height: auto; min-height: 440px; } .compare-view.is-active { position: relative; inset: auto; overflow: visible; } .cmp-card-body { min-height: 150px; } .workspace > .overview { height: auto; max-height: none; } .workspace > .packets { height: auto; min-height: 220px; max-height: 360px; } .sb-split { grid-template-columns: 1fr; grid-template-rows: 220px minmax(200px, 1fr); } .cmp-grid { grid-template-columns: 1fr; } .sandbox-view, .compare-view { padding-top: 50px; overflow-y: auto; } .panel-head.bar { height: auto; min-height: 40px; flex-wrap: wrap; padding: 6px 10px; gap: 6px; } .packet-legend { display: none; } .packet-actions { width: 100%; justify-content: space-between; flex-wrap: wrap; } .btn { min-height: 38px; flex: 1 1 auto; } .btn.icon { flex: 0 0 40px; } .packet-table { min-width: 620px; } .packet-scroll { overflow: auto; } .ins-body { grid-template-columns: 1fr; grid-template-rows: minmax(140px, 1fr) minmax(140px, auto); } .ins-hex { border-inline-start: 0; border-top: 1px solid var(--k-line-dfe7f4); } .shortcuts-body { grid-template-columns: 1fr; gap: 14px; } } @media (max-width: 480px) { .brand-text h1 { font-size: 13px; } .exam-btn span { font-size: 10.5px; } .lang-switch-btn { padding: 0 7px; font-size: 11px; } .view-switch button { padding: 0 6px; font-size: 10.5px; gap: 4px; } .view-switch button svg { display: none; } .workspace > .simulation { height: 340px; } }
