:root { font-family: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif; color: #0c1a21; background-color: #f1f4f6; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; --bg: #f1f4f6; --card: #ffffff; --ink: #0c1a21; --muted: #5c6b73; --accent: #1f7a8c; --accent-strong: #0b4f5a; --shadow: 0 22px 60px rgba(12, 26, 33, 0.12); --border: rgba(12, 26, 33, 0.08); --gradient: radial-gradient(circle at top left, #e6f1f6 0%, #f7efe3 45%, #f1f4f6 100%); } * { box-sizing: border-box; } body { margin: 0; min-height: 100vh; background: var(--gradient); } #app { min-height: 100vh; } .app-shell { display: flex; flex-direction: column; min-height: 100vh; padding: 32px 40px 24px; gap: 24px; } .app-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; } .brand { display: flex; align-items: center; gap: 18px; } .brand-badge { background: #0b4f5a; color: #f1f6f8; padding: 12px 16px; border-radius: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; } .brand h1 { margin: 0; font-size: 26px; } .brand p { margin: 6px 0 0; color: var(--muted); font-size: 14px; } .header-actions { display: flex; gap: 12px; } .app-main { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr); gap: 20px; align-items: stretch; } .workspace-panel, .side-panel { background: var(--card); border-radius: 24px; box-shadow: var(--shadow); border: 1px solid var(--border); display: flex; flex-direction: column; overflow: hidden; } .panel-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--border); background: linear-gradient(135deg, rgba(31, 122, 140, 0.08), rgba(255, 255, 255, 0.8)); } .panel-head h2 { margin: 0; font-size: 18px; } .panel-head p { margin: 6px 0 0; color: var(--muted); font-size: 13px; } .workspace-stage { flex: 1; min-height: 640px; } .code-preview { flex: 1; margin: 0; padding: 20px; background: #0b1f24; color: #d3f5ff; font-family: "Source Code Pro", "JetBrains Mono", Menlo, monospace; font-size: 13px; line-height: 1.6; overflow: auto; } .status-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); background: #0f2a31; color: #c7dfe5; font-size: 12px; } .status-actions { display: flex; gap: 8px; } .output-label { padding: 10px 18px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); background: rgba(31, 122, 140, 0.06); } .output-preview { flex: 0 0 160px; background: #0a1519; color: #d7f1f6; border-top: 1px solid rgba(255, 255, 255, 0.06); } .btn { border: 0; border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; } .btn.primary { background: var(--accent); color: #fefefe; box-shadow: 0 12px 30px rgba(31, 122, 140, 0.25); } .btn.primary:hover { transform: translateY(-1px); } .btn.ghost { background: rgba(31, 122, 140, 0.1); color: var(--accent-strong); } .btn.subtle { background: rgba(255, 255, 255, 0.18); color: #e3f4f8; padding: 6px 12px; font-size: 12px; } .app-footer { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; padding: 0 4px; } .footer-pill { padding: 6px 12px; border-radius: 999px; background: rgba(31, 122, 140, 0.12); color: var(--accent-strong); font-weight: 600; } .blocklyToolboxCategory { height: 40px; line-height: 30px; } @media (max-width: 980px) { .app-shell { padding: 20px; } .app-header { flex-direction: column; align-items: flex-start; } .header-actions { flex-wrap: wrap; } .app-main { grid-template-columns: 1fr; } .workspace-stage { min-height: 520px; } .app-footer { flex-direction: column; align-items: flex-start; gap: 8px; } }