* { box-sizing: border-box; } :root { color-scheme: light dark; font: 13px/1.4 system-ui, "Microsoft YaHei UI", sans-serif; } body { margin: 0; background: Canvas; color: CanvasText; } header { height: 102px; background: light-dark(#f0f5f2,#1e2924); } .tabs, #tabs, form { display: flex; align-items: center; gap: 5px; min-width: 0; } .tabs { padding: 5px 8px 0; height: 34px; } #tabs { overflow-x: auto; scrollbar-width: thin; } .tab { display: flex; align-items: center; border-radius: 6px; background: light-dark(#e2ebe5,#293d33); } .tab.active { background: light-dark(#cde4d6,#3f6050); } .tab button:first-child { max-width: 140px; overflow: hidden; text-overflow: ellipsis; } button, input { font: inherit; color: inherit; border: 1px solid light-dark(#cbd8d0,#4a6154); border-radius: 6px; background: Canvas; padding: 4px 7px; } button { cursor: pointer; white-space: nowrap; } button:disabled { opacity: .5; cursor: default; } .tab button { border: 0; background: transparent; } form { padding: 6px 8px 2px; } input { flex: 1; min-width: 0; } #status { padding: 0 10px; color: light-dark(#943f42,#ffb3b9); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } #mode { margin-left: auto; white-space: nowrap; } #library { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding: 18px; } #library[hidden] { display: none; } #library h1 { font-size: 18px; margin: 0 0 10px; } #library ul { list-style: none; margin: 0; padding: 0; } #library li { display: flex; gap: 6px; align-items: start; margin-bottom: 6px; } #library li button:first-child { display: grid; flex: 1; text-align: left; white-space: normal; overflow-wrap: anywhere; } #library li span { font-size: 11px; opacity: .78; } @media (max-width: 750px) { form [data-action="zoomIn"], form [data-action="zoomOut"] { display: none; } }