:root{--bg-page: #f3f6f9;--bg-surface: #ffffff;--bg-elevated: #f8fafc;--bg-subtle: #e9eff4;--bg-dark: #0f172a;--bg-dark-elevated: #1e293b;--ink-primary: #0f172a;--ink-secondary: #334155;--ink-muted: #64748b;--ink-inverse: #f8fafc;--border-hairline: #dde5ed;--border-strong: #cbd5e1;--accent-red: #c81e1e;--accent-red-hover: #a51616;--accent-red-soft: #fef2f2;--accent-teal: #0e7490;--accent-teal-bright: #06b6d4;--accent-teal-soft: #ecfeff;--accent-jade: #059669;--accent-jade-soft: #ecfdf5;--accent-rose: #e11d48;--accent-rose-soft: #fff1f2;--radius-sm: 6px;--radius-md: 10px;--radius-lg: 14px;--font-sans: "PingFang SC", "Microsoft YaHei UI", "Segoe UI", "Noto Sans SC", system-ui, -apple-system, sans-serif;--font-serif: "KaiTi", "STKaiti", "FangSong", "Noto Serif SC", serif;--font-mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;--shadow-card: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .04);--shadow-piece: 0 3px 8px rgba(15, 23, 42, .24), 0 1px 2px rgba(15, 23, 42, .16)}*{box-sizing:border-box}html,body,#root{margin:0;padding:0;height:100%;background:var(--bg-page);color:var(--ink-primary);font-family:var(--font-sans);-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:inherit}button{cursor:pointer}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.dc-desktop-shell{display:grid;grid-template-columns:224px minmax(420px,1fr) 380px;height:100vh;overflow:hidden;background:var(--bg-page)}@media(max-width:1180px){.dc-desktop-shell{grid-template-columns:74px minmax(360px,1fr) 336px}.dc-nav-label,.dc-brand-text,.dc-user-meta{display:none}}.dc-sidebar{background:var(--bg-dark);color:var(--ink-inverse);display:flex;flex-direction:column;justify-content:space-between;padding:16px 12px;border-right:1px solid #1e293b}.dc-brand{display:flex;align-items:center;gap:10px;padding:6px 8px 18px;border-bottom:1px solid rgba(148,163,184,.16);margin-bottom:12px}.dc-brand img{width:34px;height:34px;border-radius:8px;flex-shrink:0}.dc-brand-title{font-size:16px;font-weight:600;letter-spacing:-.01em}.dc-nav-list{display:flex;flex-direction:column;gap:4px}.dc-nav-btn{display:flex;align-items:center;gap:10px;width:100%;padding:11px 12px;border:0;border-radius:var(--radius-md);background:transparent;color:#cbd5e1;font-size:14px;font-weight:500;text-align:left;transition:background .14s ease,color .14s ease}.dc-nav-btn:hover{background:#ffffff14;color:#fff}.dc-nav-btn.is-active{background:var(--accent-red);color:#fff}.dc-sidebar-foot{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid rgba(148,163,184,.16)}.dc-arena{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px 24px;overflow:auto;position:relative}.dc-arena-top{width:100%;max-width:640px;display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;gap:12px}.dc-board-stage{display:flex;align-items:stretch;justify-content:center;gap:12px;max-width:100%}.dc-inspector{background:var(--bg-surface);border-left:1px solid var(--border-hairline);display:flex;flex-direction:column;height:100vh;overflow:hidden}.dc-inspector-scroll{flex:1;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:14px}.dc-card{background:var(--bg-surface);border:1px solid var(--border-hairline);border-radius:var(--radius-lg);padding:14px;box-shadow:var(--shadow-card)}.dc-card-subtle{background:var(--bg-elevated);border:1px solid var(--border-hairline);border-radius:var(--radius-md);padding:12px}.dc-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;padding:0 14px;border-radius:var(--radius-md);border:1px solid var(--border-strong);background:var(--bg-surface);color:var(--ink-primary);font-size:13px;font-weight:500;transition:transform .12s ease,background .12s ease,border-color .12s ease}.dc-btn:hover:not(:disabled){background:var(--bg-elevated);border-color:#94a3b8}.dc-btn:active:not(:disabled){transform:translateY(1px)}.dc-btn:disabled{opacity:.45;cursor:not-allowed}.dc-btn-primary{background:var(--accent-red);border-color:var(--accent-red);color:#fff}.dc-btn-primary:hover:not(:disabled){background:var(--accent-red-hover);border-color:var(--accent-red-hover)}.dc-btn-teal{background:var(--accent-teal);border-color:var(--accent-teal);color:#fff}.dc-btn-teal:hover:not(:disabled){background:#0c5f75;border-color:#0c5f75}.dc-pill-group{display:flex;flex-wrap:wrap;gap:6px}.dc-pill{padding:6px 11px;border-radius:999px;border:1px solid var(--border-hairline);background:var(--bg-elevated);color:var(--ink-secondary);font-size:12px;font-weight:500}.dc-pill.is-active{background:var(--bg-dark);border-color:var(--bg-dark);color:#fff}.dc-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:600}.dc-badge-red{background:var(--accent-red-soft);color:var(--accent-red)}.dc-badge-teal{background:var(--accent-teal-soft);color:var(--accent-teal)}.dc-badge-jade{background:var(--accent-jade-soft);color:var(--accent-jade)}.dc-badge-rose{background:var(--accent-rose-soft);color:var(--accent-rose)}.dc-mobile-shell{display:flex;flex-direction:column;height:100dvh;background:var(--bg-page);overflow:hidden}.dc-mobile-header{height:50px;padding:0 14px;background:var(--bg-dark);color:#fff;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.dc-mobile-main{flex:1;overflow-y:auto;padding:8px 10px 16px;display:flex;flex-direction:column;gap:10px}.dc-mobile-tabbar{height:calc(58px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--bg-surface);border-top:1px solid var(--border-hairline);display:grid;grid-template-columns:repeat(5,1fr);flex-shrink:0}.dc-mobile-tab{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;font-weight:500;color:var(--ink-muted)}.dc-mobile-tab.is-active{color:var(--accent-red);font-weight:600}.dc-piece-disc{transition:transform .14s cubic-bezier(.22,1,.36,1),filter .14s ease}.dc-piece-disc.is-selected{transform:scale(1.08);filter:drop-shadow(0 0 8px rgba(14,116,144,.65))}.dc-move-list{display:grid;grid-template-columns:36px 1fr 1fr;gap:4px;font-size:13px}.dc-move-cell{padding:5px 8px;border-radius:6px;border:0;background:transparent;text-align:left;color:var(--ink-primary);font-weight:500}.dc-move-cell:hover{background:var(--bg-subtle)}.dc-move-cell.is-active{background:var(--accent-teal-soft);color:var(--accent-teal);font-weight:600}
