*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  background: #07090c;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDGothic", meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

input {
  color: inherit;
  font-family: inherit;
}

canvas {
  display: block;
}

svg {
  display: block;
}

::-webkit-scrollbar {
  display: none;
}

.Logo {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 28px;
}
.Logo-Text {
  color: var(--color-font);
  font-family: "Rubik Iso", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDGothic", meiryo, sans-serif;
  font-size: 22px;
  line-height: 2;
  cursor: pointer;
  user-select: none;
}

.ApplicationMenu {
  position: fixed;
  top: 56px;
  left: 0;
  bottom: 0;
  z-index: 39;
  display: none;
  flex-direction: column;
  width: 280px;
  background: var(--color-panel-background);
  border-radius: 0 12px 0 0;
  overflow-y: scroll;
  overscroll-behavior-y: none;
  scrollbar-width: none;
}
.ApplicationMenu[data-open] {
  display: flex;
}
.ApplicationMenu-Section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0;
}
.ApplicationMenu-Section + .ApplicationMenu-Section {
  border-top: 1px solid var(--color-section-border);
}
.ApplicationMenu-Link {
  padding: 0 24px;
}
.ApplicationMenu-Link-Name {
  display: block;
  font-size: 15px;
  line-height: 23px;
  color: var(--color-font);
  text-decoration: none;
}
.ApplicationMenu-Link-Description {
  font-size: 12px;
  line-height: 20px;
  color: var(--color-muted);
}

.PanelControl {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 56px;
  padding: 0 32px;
}
.PanelControl-Item {
  display: flex;
  align-items: center;
  font-size: 13px;
  line-height: 21px;
  color: var(--color-muted);
  cursor: pointer;
  user-select: none;
}
.PanelControl-Item[data-open] {
  color: var(--color-font);
}

.PanelColumn {
  position: absolute;
  left: 0;
  top: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.Panel {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: max-content;
  background: var(--color-panel-background);
  border-radius: 12px 8px 8px 8px;
  overflow: hidden;
}
.Panel[data-panel]:not([data-open]) {
  display: none;
}
.Panel[data-float] {
  position: fixed;
}
.Panel[data-edge-left] {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.Panel[data-edge-right] {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.Panel[data-edge-top] {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.Panel[data-edge-bottom] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.Panel-Header {
  flex-shrink: 0;
  height: 32px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: grab;
  user-select: none;
}
.Panel-Header:active {
  cursor: grabbing;
}
.Panel-Title {
  display: flex;
  align-items: center;
  height: 32px;
  background: var(--color-panel-header-background);
  font-size: 11px;
  line-height: 1.5;
  color: var(--color-font);
  border-bottom-right-radius: 12px;
}
.Panel-Title[data-end] {
  padding: 0 16px;
}
.Panel-CloseIcon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-icon);
  cursor: pointer;
}
.Panel-CloseIcon svg {
  visibility: hidden;
}
.Panel-CloseIcon:hover svg {
  visibility: visible;
}
.Panel-Main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  overscroll-behavior-y: none;
  scrollbar-width: none;
}
.Panel[data-panel=drop] .AxisGrid {
  padding-bottom: 0;
}
.Panel-Handle {
  position: absolute;
  z-index: 1;
}
.Panel-Handle[data-direction=n] {
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  cursor: ns-resize;
}
.Panel-Handle[data-direction=s] {
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  cursor: ns-resize;
}
.Panel-Handle[data-direction=e] {
  top: 0;
  right: 0;
  bottom: 0;
  width: 6px;
  cursor: ew-resize;
}
.Panel-Handle[data-direction=w] {
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  cursor: ew-resize;
}
.Panel-Handle[data-direction=ne] {
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  cursor: nesw-resize;
  z-index: 2;
}
.Panel-Handle[data-direction=nw] {
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  cursor: nwse-resize;
  z-index: 2;
}
.Panel-Handle[data-direction=se] {
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  cursor: nwse-resize;
  z-index: 2;
}
.Panel-Handle[data-direction=sw] {
  bottom: 0;
  left: 0;
  width: 12px;
  height: 12px;
  cursor: nesw-resize;
  z-index: 2;
}

.Glass[data-fixed] .Panel {
  position: fixed;
  top: 56px;
  right: 0;
  left: auto;
}
.Glass[data-fixed] .Panel-Header {
  cursor: default;
}
.Glass[data-fixed] .Panel-Handle {
  display: none;
}

.AxisGrid {
  display: grid;
  grid-template-columns: max-content 1fr;
  align-content: start;
  gap: 20px;
  padding: 20px;
}
.AxisGrid-Row {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1/-1;
  align-items: center;
  gap: 20px;
}
.AxisGrid-Row[data-clickable] {
  cursor: pointer;
}
.AxisGrid-Row-Label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-font);
}

.NumberField {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 6px;
}
.NumberField-Unit {
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-muted);
  user-select: none;
}

.RoundNumberInput {
  display: flex;
  height: 24px;
  background: var(--color-input-background);
  border-radius: 12px;
  overflow: hidden;
}
.RoundNumberInput-Previous, .RoundNumberInput-Next {
  flex-shrink: 0;
  width: 12px;
  cursor: pointer;
}
.RoundNumberInput-Previous:hover, .RoundNumberInput-Next:hover {
  background: var(--color-item-hover);
}
.RoundNumberInput-Input {
  flex-shrink: 0;
  width: 52px;
  background: transparent;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-font);
  text-align: center;
}
.RoundNumberInput-Input:focus {
  outline: none;
}

.ColorInput {
  position: relative;
  justify-self: start;
  display: flex;
  align-items: center;
}
.ColorInput-Select {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 24px;
  border-radius: 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--color-font-white);
  cursor: pointer;
  user-select: none;
}
.ColorInput-Select[data-light] {
  color: var(--color-font-black);
}
.ColorInput-Picker {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.OptionInput {
  justify-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 12px;
  background: var(--color-input-background);
  border-radius: 2px;
  cursor: pointer;
  user-select: none;
}
.OptionInput[data-open] {
  border-radius: 2px 0 0 2px;
}
.OptionInput-Value {
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-font);
}
.OptionInput .ActionList {
  display: none;
}

.OptionModal {
  position: fixed;
  z-index: 40;
  display: none;
  width: max-content;
  background: var(--color-modal-background);
  border-radius: 0 2px 2px 2px;
  overflow-y: scroll;
  overscroll-behavior-y: none;
  scrollbar-width: none;
}
.OptionModal[data-open] {
  display: block;
}

.ActionList {
  display: flex;
  flex-direction: column;
  padding: 8px 6px;
}

.ActionItem {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 30px;
  padding: 0 12px;
  border-radius: 2px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-muted);
  cursor: pointer;
  user-select: none;
}
.ActionItem:hover {
  background: var(--color-item-hover);
}
.ActionItem[data-selected] {
  color: var(--color-font);
}

.CheckInput {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: 18px;
  height: 18px;
  background: var(--color-input-background);
  border-radius: 2px;
}
.CheckInput svg {
  visibility: hidden;
}
.CheckInput[data-checked] {
  background: var(--color-font);
  color: var(--color-panel-background);
}
.CheckInput[data-checked] svg {
  visibility: visible;
}

.Readout {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 0;
}
.Readout-Row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}
.Readout-Key {
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-muted);
}
.Readout-Value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-font);
}

.ButtonRow {
  display: flex;
  gap: 8px;
  padding: 20px 20px 0;
}
.ButtonRow-Item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 18px;
  background: var(--color-input-background);
  border-radius: 2px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-font);
  cursor: pointer;
  user-select: none;
}
.ButtonRow-Item:hover {
  background: var(--color-item-hover);
}

.PanelNote {
  padding: 12px 20px 20px;
  font-size: 11px;
  line-height: 18px;
  color: var(--color-muted);
}

.TextBlock {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 300px;
  padding: 16px 18px;
}
.TextBlock h1 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--color-font);
}
.TextBlock p {
  font-size: 13px;
  line-height: 21px;
  color: var(--color-muted);
}

.Glass {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 18%, #10141b 0%, #07090c 70%);
  --color-font: #e6eef8;
  --color-muted: #8fa0b5;
  --color-icon: #5c6b80;
  --color-font-white: #fcfcfc;
  --color-font-black: #10141b;
  --color-panel-background: #131923;
  --color-panel-header-background: #0f141c;
  --color-modal-background: #1a212c;
  --color-input-background: rgba(255, 255, 255, 0.06);
  --color-item-hover: rgba(255, 255, 255, 0.12);
  --color-section-border: rgba(255, 255, 255, 0.07);
  color: var(--color-font);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDGothic", meiryo, sans-serif;
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}
.Glass-Canvas {
  display: block;
  touch-action: none;
}